this post was submitted on 06 Jan 2024
927 points (98.3% liked)

Programmer Humor

33584 readers
17 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

The lost meme in question was like this: A post on r/notinteresting saying "I don't know anything about programming, ask me anything." A comment asked "How to kill the child process?" Then replied to himself: Who reported me πŸ’€

top 50 comments
sorted by: hot top controversial new old
[–] lseif@sopuli.xyz 121 points 1 year ago (1 children)

how to automatically kill orphans.

[–] lseif@sopuli.xyz 45 points 1 year ago (1 children)

i actually have a script that kills all unattached tmux sessions, named kill-orphans, because its funny (even if the name may be technically wrong idk)

[–] averagedrunk@lemmy.ml 29 points 1 year ago (1 children)

I prefer funny over accurate.

load more comments (1 replies)
[–] SpaceNoodle@lemmy.world 114 points 1 year ago (5 children)
[–] cjf@feddit.uk 28 points 1 year ago (1 children)

What happened afterwards? Did you go off on a self searching quest and come to learn the real you?

[–] SpaceNoodle@lemmy.world 21 points 1 year ago

I learned that my employer did not filter or monitor network traffic.

[–] LetterboxPancake@sh.itjust.works 22 points 1 year ago (1 children)
[–] tslnox@reddthat.com 9 points 1 year ago (1 children)

In Czech we have a joke /dev/ka

DΔ›vka means hooker in Czech.

I had some friends/colleagues from Slovakia and I quickly realized that it's extremely important to mainly utilize curse words while debugging.

[–] ozymandias117@lemmy.world 11 points 1 year ago

I tried to find a manual page for special permissions (s-perm) as well…

[–] gogosempai@programming.dev 9 points 1 year ago (1 children)

The ads Google must have personalised for you based on that would have been interesting. But everyone on Lemmy uses ad blockers so you prolly wouldn't even have noticed xD

[–] SpaceNoodle@lemmy.world 5 points 1 year ago (1 children)

Not as good as the month I kept getting thicc girl underwear ads

[–] MNByChoice@midwest.social 95 points 1 year ago (5 children)

For my FBI agents, I always add "linux" or the programming language name to the start. Except for "Go", which I still search as "golang".

As an aside, fuck everyone that names things without thinking about the search results. "R" is especially terrible. "Go" is saved by "golang". "Python" with programming. "R" is not saved by anything.

[–] mindbleach@sh.itjust.works 38 points 1 year ago (2 children)

Google's become shitty enough that it barely matters. "We didn't find many results for the thing you typed, so here's something else."

I've googled exact phrases I know took me to the results I was looking for just a few years ago and gotten exactly nothing.

It's just so sad to see the business majors win yet another front in their war against humanity. At least Google Scholar still works. For now.

[–] flambonkscious@sh.itjust.works 5 points 1 year ago (1 children)

Is it actually Google, or the vile SEO scum or both?

[–] mindbleach@sh.itjust.works 21 points 1 year ago (1 children)

Vile SEO scum aren't why "open watcom" returns "did you mean: wacom tablets?"

[–] flambonkscious@sh.itjust.works 12 points 1 year ago (1 children)

Yes, you're right - I forgot about all the fuzzy logic they've incorporated!

[–] mindbleach@sh.itjust.works 12 points 1 year ago (1 children)

Fuzzy is not the first f-word I'd choose.

[–] intensely_human@lemm.ee 4 points 1 year ago (1 children)
[–] mindbleach@sh.itjust.works 3 points 1 year ago

Show me that dictionary.

[–] NeatNit@discuss.tchncs.de 8 points 1 year ago

And C really should have predicted this problem :P

[–] SubArcticTundra@lemmy.ml 62 points 1 year ago (2 children)

And you haven't even mentioned Master and Slave

[–] ReCursing@kbin.social 6 points 1 year ago

not Cable Select

[–] Ardyssian@sh.itjust.works 4 points 1 year ago

"Leaders and Followers"

[–] lurch@sh.itjust.works 62 points 1 year ago* (last edited 1 year ago) (4 children)

Googling and binging programming stuff really shows how much the instant answers, AI stuff and other "optimizatioms" have degraded search results. Every time I have to skip all that bullshit on the top to the actual results. Often, I even have to switch on verbatim mode. And even then it says "There don't appear to be a lot of good results..." or whatever, but the good result is right there, after I had to dance around all their hoops.

The search giants just don't understand that often there is just one good source for an information and it doesn't get repeated all the time, because it perfectly explains it, is brand new or just not something the kids on youtube or reddit would enjoy. They think people want to find things the web is plastered with. So weird.

[–] kubica@kbin.social 40 points 1 year ago

The other day I was reading an highlighted result at the top of the page.

The highlight was something like "Use this."

But reading the full text the meaning was totally different, it was sort of... If you don't mind not having [thing I was searching] use this.

It's almost always the same feeling with anything AI related for me.

[–] sunbytes@lemmy.world 14 points 1 year ago

I'm trying out a paid Google called Kagi for a month.

It's pretty good so far and very fast.

And no ads or SEO prioritisation, which is the key part.

Or tracking/data-retention, so they say (it's not open source so we only have their word for it).

[–] Lev_Astov@lemmy.world 7 points 1 year ago

Speaking of degrading search results, people have begun phrasing questions like they would search queries so much that now when you search "how to X" it seems more likely to find a person posting a question worded "how to X" than it is to find actual answers.

[–] Gentoo1337@sh.itjust.works 3 points 1 year ago

Yeah. This is why I just search 'x documentation' and just go from there

[–] starman@programming.dev 44 points 1 year ago* (last edited 1 year ago) (6 children)

How to bash cat with pipe? It doesn't make sense

[–] mub@lemmy.ml 64 points 1 year ago (2 children)

When you Google a technical thing you could use the whole sentence like "in a bash session how would you pipe the output from cat to something else?" But that is long winded and can be constraining for the search engine so you boil it down to just the essential words". Start with "how to" then add "bash Cat pipe", and insert "with" because that is the desired adjective.

I've just woken up and I'm wondering if I missed an implied /s. Anyway.

load more comments (2 replies)
[–] Octopus1348@lemy.lol 18 points 1 year ago

Yes, but it's funny. A better search would be "how to pipe cat output in bash"

[–] thorbot@lemmy.world 5 points 1 year ago

Bro you don’t have to pick apart every bit of a meme. Oh right it’s Lemmy that’s required

load more comments (2 replies)
[–] hank_and_deans@lemmy.ca 32 points 1 year ago

Here is an excerpt of the table of contents for the book "Linux Application Development":

  • Process Primitives
    • Having Children
    • Watching Your Children Die
    • Running New Programs
    • A Bit of History: vfork()
    • Killing Yourself
    • Killing Others
    • Dumping Core
  • Simple Children
    • Running and Waiting with system()
    • Reading or Writing from a Process

It's actually quite a good book.

[–] ndru@lemmy.world 32 points 1 year ago (1 children)

Terminate all running children

[–] fubbernuckin@lemmy.world 9 points 1 year ago

They're getting away

[–] bermuda@beehaw.org 7 points 1 year ago

Similar for looking up how to play Crusader Kings.

[–] corsicanguppy@lemmy.ca 7 points 1 year ago

Parse error at comma splice.

load more comments
view more: next β€Ί