bleistift2

joined 6 months ago
[–] bleistift2@sopuli.xyz 3 points 43 minutes ago

No-one said anything about sending the comment

13
ich🐵iel (sopuli.xyz)
submitted 45 minutes ago* (last edited 44 minutes ago) by bleistift2@sopuli.xyz to c/ich_iel@feddit.org
 
[–] bleistift2@sopuli.xyz 2 points 1 hour ago

Irgendwas machst du falsch. Ich drücke jeden Morgen Zement aus mir raus.

[–] bleistift2@sopuli.xyz 1 points 2 hours ago

show you a GUI saying “you’re running low on memory, here are your running programs and how much they are using”

Good luck with this approach on a server.

If by ‘suspend’ you mean that the process will just halt, then: Which processes? All of them? Good luck displaying a message then. The last one that made a memory request? That might not be the true offender. The highest-consuming process? Same logic applies.

If by ‘suspend’ you mean moving the memory to disk, then a single misbehaving process, may end up eating all of memory and all remaining disk space.

[–] bleistift2@sopuli.xyz 2 points 2 hours ago

The map even includes the oil spill in the Gulf of Mexico! I’ll take it.

[–] bleistift2@sopuli.xyz 5 points 2 hours ago

Wait till you’re German and hear that name.

[–] bleistift2@sopuli.xyz 0 points 2 hours ago

The customer knew the item would be defective and purchased anyway because they know they could refund it at no cost of their own. But as pointed out in our sibling thread, there are costs produced by refunds, which someone has to pay. Therefore the buyer made the choice to hurt these other parties. That’s where the moral comes in.

[–] bleistift2@sopuli.xyz 2 points 17 hours ago (1 children)

I did try to catch all of these signals:

                | "SIGABRT"
                | "SIGALRM"
                | "SIGBUS"
                | "SIGCHLD"
                | "SIGCONT"
                | "SIGFPE"
                | "SIGHUP"
                | "SIGILL"
                | "SIGINT"
                | "SIGIO"
                | "SIGIOT"
                | "SIGKILL"
                | "SIGPIPE"
                | "SIGPOLL"
                | "SIGPROF"
                | "SIGPWR"
                | "SIGQUIT"
                | "SIGSEGV"
                | "SIGSTKFLT"
                | "SIGSTOP"
                | "SIGSYS"
                | "SIGTERM"
                | "SIGTRAP"
                | "SIGTSTP"
                | "SIGTTIN"
                | "SIGTTOU"
                | "SIGUNUSED"
                | "SIGURG"
                | "SIGUSR1"
                | "SIGUSR2"
                | "SIGVTALRM"
                | "SIGWINCH"
                | "SIGXCPU"
                | "SIGXFSZ"
                | "SIGBREAK"
                | "SIGLOST"
                | "SIGINFO";
[–] bleistift2@sopuli.xyz 8 points 18 hours ago

Sehr gerne, du Edwin.

[–] bleistift2@sopuli.xyz 2 points 19 hours ago* (last edited 19 hours ago) (1 children)

You can’t know that from my issue description, but throwing a database at that problem really is ridiculous overkill.

Still thanks for the suggestion

[–] bleistift2@sopuli.xyz 3 points 19 hours ago

When I run the script myself and kill it, it gets the signal and acts correctly. Only when I poweroff the system, this doesn’t work.

I also tried prepending exec, but no dice.

 
 

Michmich-Transkription [Yubaba aus Chihiros Reise ins Zauberland schreit Chihiro an, die verängstigt zurückweicht:]

Punkt der Sicht: Die Kundin vor dir fragt auf dem Wochenmarkt, ob sie mit Karte zahlen kann.

 
255
submitted 1 day ago* (last edited 1 day ago) by bleistift2@sopuli.xyz to c/programmer_humor@programming.dev
 
 

Verwendete Memes: Soyjak & Angry Spongebob

 
 
 

Image transcription: A lengthy source code comment. The details are irrelevant. Github Copilot autocompletes: “This is a bit of a hack, but it works.”

 

Image transcription: A lengthy source code comment. The details are irrelevant. Github Copilot autocompletes: “This is a bit of a hack, but it works.”

 
view more: next ›