This page intentionally left blank.
- 0 Posts
- 44 Comments
Doesn’t do much if the process is in uninterruptible I/o. Kill can’t do much against syscalls that aren’t returning, you’ll be rebooting. You can try this https://github.com/mitchty/nix/blob/shenanigans/src/evilkill.sh but it’s not guaranteed to work. It’s just trying to force the process to exit(), but it doesn’t always work and can’t. All that script amounts to is attaching a debugger and executing assembly to mimic exit. I’ll say 60% of the time it works 100% of the time when kill doesn’t.
mitchty@lemmy.sdf.orgto
Programming@programming.dev•Memory is running out, and so are excuses for software bloat
1·6 months agoMemory leaks are more than possible in rust. Rust type system prevents things like free being called on an already free resource. It very much also allows not calling free even when nothing references things. It also makes things like arena allocation a fun endeavor compared to other systems languages. It’s not impossible just trickier. Rust isn’t a panacea, you would need something more like idris with its type system to programmatically enforce resources are freed at runtime during the compilation phase. But a fully dependent type system is very much a bleeding edge thing.
As a nixos user I guess so. It is like -5 here though so today it’s more heated blanket.
I use shenanigans, more fitting and descriptive.
mitchty@lemmy.sdf.orgto
memes@lemmy.world•Only one generation knows how to fix tech...
4·10 months agoIf you all didn’t want to be the New Zealand of generations you would’ve had your mom give birth earlier or later duh.
Just like New Zealand should push itself closer to a continent if it wants to be on maps.
Also as a dum millennial I am always amused when my brethren ask me about social media etc and say I don’t know about tech cause I don’t got an ig account or watever. Bitch please, I have worked in kernel dev I know all the lies we present as a file. I get angy when people that can’t read x86 assembly tell me I’m not technical.
mitchty@lemmy.sdf.orgto
Programmer Humor@programming.dev•What do you call your production branch?
2·10 months agoI’m using shenanigans now, fits the best methinks.
I mean it’s kinda both, I just thought the idea a bit preposterous but as time goes on that book gets closer to reality.
Yep its not hard to keep around. How are people losing em just put it in the right place after you’re done using it.
You’re not my Mutter, so nein.
Im only slightly older, I got to experience life in the dotcom kaboom. My entire adult life’s been: this is a once in a lifetime thing every 5 years. I’m guessing this is what the 1870s were like with all the finance stuff and overall turmoil. Bit numb to it by now.
mitchty@lemmy.sdf.orgto
linuxmemes@lemmy.world•"When does <insert package name> get update ?" moment.
2·1 year agoThat would only solve it for python, not for say c shared libraries. For that you’re in nix land or guix or if you hate yourself containers.
I’m in nix land so I just write nix derivations so not a big deal having many versions of the same thing at once.
If you’ve never read it Vernon Vinge a fire upon the deep had a type of programmers in the future known as programmer archaeologists. The tldr is nobody wrote new code just dug up old code and bolted it together. I used to think that was silly, after llms lately and dealing with interns I no longer think of it as fiction.
You misspelled curl. The keys are right next to each other so it’s understandable.
mitchty@lemmy.sdf.orgto
Programmer Humor@programming.dev•TIL that "nginx" is pronounced "engine-x", and not "n-jinx"
2·1 year agoI pronounce gif like zyhfe to annoy both jif and gif pronouncers equally. I also advocate for the initial array index to be .5 to be equally annoying to programmers and mathematicians alike.
mitchty@lemmy.sdf.orgto
Memes@lemmy.ml•Incomprehensible irregardless of whether you speak Dutch or not
1·1 year agoSteve only or are Steven’s ok? What about the heathen Stephen’s? Does the council of Steve’s approve and certify the Steve’s?
If the camera adds ten pounds he looks like he added enough cameras to his torso to record the matrix bullet time effect.
You can use the warhammer 40k nomenclature of abominable intelligence. I’m not a gaming nerd but find it fitting for fancy statistics in a trench coat.
I’m curious how you could make that work as it’s a basic contradiction. For 6+6 to equal 10 6 couldn’t equal itself which makes the entire premise invalid.
If you want more single digit numbers hexadecimal aka base 16 is even better than 12. But I can’t see how 10 can be evenly divided by all of 2,3,4,6 without being a multiple of the set.
What iteration time sacrifice? I use bevy but I can just hot reload libraries if I need to. But honestly even debug rebuild times aren’t that bad. Methinks thou doth protest too much.