- 1 Post
- 14 Comments
mrbn@lemmy.cato Technology@lemmy.world•Insurance giant Aflac says a cybercrime group breached its systems and may have stolen dataEnglish61·1 month agoWell, I hope they have insurance.
Thanks, I’ll see myself out.
If you are looking to do something like Github’s Personal Access Tokens (PAT) then it is easiest to just think about it like a password:
- Create a high entropy (secure) string
- Store the hash of the string in a database table
- Store the permissions and other metadata with the PAT’s hash
- Validate the PAT (permissions, revoke status, etc) on each request to the server
Storing the hash of the token, like you do with passwords, is a good practice in case your db is ever compromised as it wont leave the tokens accessible and reusable without a lot of effort.
mrbn@lemmy.cato Programming@programming.dev•Has anyone here had success with upgrading a Xamarin project to use Maui?4·3 months agoYeah, unfortunately that stuff is almost impossible to estimate. Inform your client that fixing the build will be a game of whack-a-mole where you’ll fix one thing and 5 new errors will show up. I would give yourself lots of time since you’ve never worked on Maui (? You didn’t say that in your post but if you’ve never heard of xamarin, i’ll assume maui is new).
I would break your work down into two milestones: a) compile and run, b) fix all the busted views. It should come to no surprise that a) will be hard to estimate so give yourself lots of time, and b) will be easier to estimate because you’ll be able to review each View and determine what kind of fixes you need to make.
Good luck
mrbn@lemmy.cato Programming@programming.dev•Has anyone here had success with upgrading a Xamarin project to use Maui?6·3 months agoYes. The transition from Xamarin to Maui has been similar to transition from .net framework to .net core.
A few things you will run into:
- namespaces have changed
- certain things will be deprecated but still currently work (ie FillAndExpand)
- platform specific setup has changed (you’ll need to convert to the new way, but code will likely remain the same)
- upgrade your nuget packages to the Maui equivalents (the ones we used had Maui versions so we didn’t have to change any of them)
- certain ways of doing things have change slightly, like how to run things on the main UI thread (you’ll see warnings)
- your xaml code will remain mostly unchanged but your layout may need to be fixed (especially if your dependencies changed their interfaces)
That’s all I can think of right now. There’s no easy way to do it and it’s going to suck. Focus on getting it to build with all your dependencies upgraded and then go from there.
“Copilot I’m losing this match, aim for me”
mrbn@lemmy.cato Programming@programming.dev•Copilot exposes private GitHub pages, some removed by Microsoft1517·5 months agoKind of a nothing burger.
These repositories, belonging to more than 16,000 organizations, were originally posted to GitHub as public, but were later set to private, often after the developers responsible realized they contained authentication credentials allowing unauthorized access or other types of confidential data. Even months later, however, the private pages remain available in their entirety through Copilot.
The repo was listed as public and archived. It’s not clear from the article but I suspect that the “private” information is just a copy of what was made public and not the information added after it was made private.
mrbn@lemmy.cato TenForward: Where Every Vulcan Knows Your Name@lemmy.world•What have you done for the glory of The Empire?29·5 months agoI read and upvoted this meme for the glory of the empire!
Tux Guitar comes to mind but some things like chord diagrams isn’t done as well as guitar pro (imo).
For chord diagrams (like at the top of GP), there’s hundreds of websites out there which show those and its probably quicker to just use those. I’ll usually just search “C chord <instrument>”.
mrbn@lemmy.cato Technology@lemmy.ml•Valve removes arbitration from its Steam agreements — here’s what that means for you23·10 months agoSo why would Valve do this? It may be a response to several law firms’ attempt to file “mass arbitrations,” wherein “hundreds or thousands of consumers bringing individual arbitration claims against the same company at the same time and over the same issue,” according to ClassAction.org. It’s essentially a loophole for class action waivers and arbitration clauses, though it still won’t end up in court.
Hit em right in the pocket book.
mrbn@lemmy.cato Privacy@lemmy.ml•What's up with financial sites refusing to delete your account?10·11 months agoThe answer depends on the country. In the US, review the Bank Secrecy Act and anti-money laundering (AML) regulations. In Canada, there is the Proceeds of Crime (Money Laundering) and Terrorist Financing Act (PCMLTFA) regulations and also the CRA requiring the individuals and businesses retain their records for up to six years.
if there’s some sort of way around this either with a lawyer or federal form or something.
Very unlikely.
mrbn@lemmy.cato Programmer Humor@programming.dev•Explaining software development methods by flying to MarsEnglish1·1 year agoIt’s a feature, not a bug
mrbn@lemmy.cato Risa@startrek.website•Describe an episode in the worst possible wayEnglish9·1 year agoMan visits childhood home to reconcile with himself after being forced to harm coworkers.
Good one, let me try!
Knock knock
Who’s there?
Race Condition
No, warn is, by definition (see 1.c), an accurate term to use.