- 1 Post
- 50 Comments
Flipper@feddit.orgto linuxmemes@lemmy.world•"When does <insert package name> get update ?" moment.3·13 days agoI don’t think the aur can switch the delivered script whether you are piping it into sh or not.
Yes, writing safe code is a skill. But for most skills you need someone to teach you. My suggestion is, think about it differently:
The compiler isn’t training wheels, but rather a senior dev, that quickly looks over your shoulder and tells you, hey you might have missed something here. You can at any point tell them, trust me bro for this part. They need at some points a comment in the form of lifetime annotations. They are pretty good, but not perfect.
To pick up your example. They don’t tell you, you need a new wheel. They tell you, you’re bike has disc brakes, but your new wheel is missing the disk. When you later hit a wall, because you couldn’t break, you can check where you just said trust me.
The difference is, you put up a sign “here be dragons” with unsafe. Certain operations break the garanties of rust, like pointer operations and Cells. So now you need to write a wrapper which upholds checks that they are not violated. If it breaks, you just need to check your unsafe code, instead of everything. Now only one person needs to deal with unsafe for everyone in a team to benefit.
Memory safety isn’t a skill issue. There is a reason they happen in all big projects like android or chrome and only reduced when introducing safe languages.
I’d rather have a compiler that tells me why my code was refused than a compiler which prints 100 lines of templates. Or a compiler, which tells me a pointer/reference is null instead of a compiler that knows, but it’s UB-NDR so it isn’t snitching. If the compiler tells me, hey here you could have a race condition, it’s one less bug I have to find with a debugger. A compiler that complains about uninitiated variables, instead of a compiler that gives me potluck as content.
There also IDEs that start instantly.
They don’t ship a whole browser though.
Flipper@feddit.orgto Programmer Humor@programming.dev•DOGE Plans to Rebuild SSA Codebase in Months8·20 days agoAlso a good pen is the report, we need three months for this, only to be told each week something else is more important. After the three month the question came is it finished now.
And so 2 Years turned to 6.
Flipper@feddit.orgto linuxmemes@lemmy.world•Almost as annoying as the windows evangelists2·22 days agoFor a program at work the scripting language is Delphi and the Documentation is not available. If you want to know something call the support. CLI is not an option.
It’d be really useful to have a CI run, but that is never going to happen.
This is an xy Problem. Voting to close.
We don’t know what value X has. If it isn’t initialised it could have any value including the maximum. Then it would overflow.
But let’s be honest, that is unlikely.
Fun and games till x overflows.
Flipper@feddit.orgto Technology@lemmy.world•“Awful”: Roku tests autoplaying ads loading before the home screenEnglish6·1 month agoLineagos can be flashed on some android TV sticks
I had a OoM with 16 GB and a Quad-Core while linking yesterday.
Flipper@feddit.orgto Europe@feddit.org•German army struggles to get Gen Z recruits ‘ready for war’English11·1 month agoIt was true. It was the longest continuous peace in Europe ever.
Flipper@feddit.orgto Technology@lemmy.world•Firefox deletes promise to never sell personal data, asks users not to panic | Mozilla says it deleted promise because "sale of data" is defined broadlyEnglish51·2 months agoThere are different kinds of free. Free beer, free speech and free weekend are three different kinds of free that software can have, but not necessarily at the same time.
Flipper@feddit.orgto Technology@lemmy.world•NVIDIA GeForce RTX 5090 Spotted with Missing ROPs, Performance Loss Confirmed, Multiple Vendors AffectedEnglish40·2 months agoJust imagine spending 4k€ on a graphics card only to find it’s partially defect.
Flipper@feddit.orgto BuyFromEU@feddit.org•Cloud storage from Hetzner (5€ for 1TB)English1·2 months agoAbout the mitm. I couldn’t find in the text a report of how the mitm attack was done. How was the network reconfigured. If Russia got the password for example and used that hetzner and linode aren’t at fault.
The version with Linux, we call “GNU/Linux.” It is OK to call it “GNU” when you want to be really short, but it is better to call it “GNU/Linux” so as to give Torvalds some credit.
I suggest we call it Linux for short. Good thing you can use Linux without GNU.
Flipper@feddit.orgto linuxmemes@lemmy.world•cringe Arch btw femboys VS Real gentoo femcels51·3 months agoWith nix it’s easy to revert, if you keep your previous config. Version it with git and it’s really easy.
Take another look, you’re already standing on the top track.
What should I call it, when there isn’t anything GNU installed? Uutils? Llvm?