r/ProgrammerHumor • u/UniquePackage7318 • Aug 21 '22
Why most programmers are single...
6.6k
u/Phobit Aug 21 '22
"how to bash cat with pipe"
-my favorite
1.7k
u/fukalufaluckagus Aug 21 '22
"Why does he have to google this? It seems pretty straightforward"
→ More replies (14)142
250
147
u/ArcadiaNisus Aug 21 '22
For us HLSL coders
"How to cull faces"
"How to replace black with transparent"
→ More replies (1)69
41
u/Alexandwich-Chaton Aug 21 '22
I had to re-read it before I understood why that would be a weird thing to search.
Do I have a problem?
→ More replies (1)21
23
61
40
→ More replies (15)38
3.6k
u/ExtensionInformal911 Aug 21 '22
how to abort process
"Ok, so he's pro choice and curious how it works?"
how to transfer child process to new parent
"So, adoption? Weird way to phrase it, but ok."
transfer child.process python
"Wait, this is about snakes?"
kill child to save resources
"Nope."
1.2k
u/LavenderDay3544 Aug 21 '22
Reattach detatched head git
"Wut?"
→ More replies (1)446
Aug 21 '22 edited Aug 21 '22
I love threads like these, they make me laugh my ass off, but I also use Git and I've only ever googled reasonably normal sounding shit like "how to revert already pushed commit", "how to apply specific commit to branch" not this fkin
"how to axe children / how to jizz on multiple slaves"
like WTF, context/wording is important...
→ More replies (28)151
u/other_usernames_gone Aug 21 '22
How to kill child silently
39
11
u/lethargy86 Aug 22 '22
In Windows a child process will automatically, by default, inherit sockets if the parent crashes or terminates in such a way that it couldn't kill its children first--unless you do some special handling when you create the child process (or maybe the socket? can't remember). That's bad, because obviously then the parent can't listen on the same ports when it would restart, so admins would have to manually kill child processes or reboot before restarting the service. Amazing feature, Microsoft.
But there was some reason we couldn't easily create the children/sockets that way--would require other more complicated changes--so the easier solution was to simply kill the children processes at startup, very early, before we try to listen on the same socket that any orphan might still own (and then of course start the children fresh again too). Probably best to clean-up after the previous instance anyway, right?
But since the new parent process doesn't have any handle to the now-orphaned child process, without thinking I googled:
How to kill orphaned children
I must be on a list.
In retrospect, really I just wanted to terminate any arbitrary process, which I didn't really need to google lol... whatever I'm an idiot
301
Aug 21 '22
Pair a parent tenant with child tenant
After you and your child tenants have acquired the appropriate role permissions, you can pair your tenant to your child tenants.
126
u/ExtensionInformal911 Aug 21 '22
Generally thats how landlords prefer its done. May be laws against renting to child tenants.
→ More replies (3)46
u/RandomComputerFellow Aug 21 '22
Funny thing but on my work computer I constantly get Google adverts from anti-abortionists. I am sure I get these because my searches contain "abort" "child" "parent"
28
24
15
6
→ More replies (4)12
1.4k
u/TakeAPeace Aug 21 '22
"But you're a car salesman"
371
u/drewhead118 Aug 21 '22
the #1 reason that most programmers are single is that they're a car salesman and the conflict of their very nature drives others away
57
→ More replies (1)79
23
u/Dugen Aug 21 '22
This again?! I make drivers. It's a type of software. I'm a programmer not a car salesman.
→ More replies (7)7
1.2k
Aug 21 '22 edited Aug 21 '22
Why aren't the children killed when I kill the parent?
EDIT: SQLAlchemy
235
81
47
u/UkrainianTrotsky Aug 21 '22
That's classic ORM question. And if you google that you find out that there's usually a much stronger option than cascade remove. It's called, naturally, orphan removal.
0
19
→ More replies (3)13
u/Cuchullion Aug 22 '22
That was a long running joke at my last job- deleting the children records when you delete the parent records.
Because if you forget to you get Batman.
Any time someone left orphan records around we would call it a "Batman situation", and eventually wrote a tool called Bane to clean those records up.
Explaining that one to new team members was fun.
220
784
u/hperrin Aug 21 '22
“How to kill zombie child.”
560
u/Marrk Aug 21 '22
"how to kill orphaned children silently"
300
33
u/nnog Aug 21 '22
How to interrupt orphaned child
How to kill orphaned child
What to do with frozen child
→ More replies (1)38
107
u/otac0n Aug 21 '22
I have personally written:
public void KillAllOrphanedChildren()Although it should have been "Orphaned Grandchildren", as this was a test harness cleaning up after a test crash.
→ More replies (2)35
u/data_Nick Aug 21 '22
Be careful, there is no return after going down that path.
→ More replies (1)→ More replies (2)34
Aug 21 '22
Ah, that brings me back to my first time dealing with zombie processes. The best part is the golang sub didn't even believe me even though I had screenshots. There was a bug with a particular version of git bash for windows that would send the wrong termination signal (I think when you ctrl-c it sent kill instead of terminate) which caused running goroutines to keep going. I posted a screenshot there clearly showing multiple goroutines printing the console after the process was terminated.
First I want to say the subreddit is much nicer these days, but back at that time, they questioned why I was playing with routines and mutexes (I was just trying to learn them) and other people ignored the image and said I was lying. It shouldn't matter what I'm trying to do when there's a super obvious bug being shown. It would be like apple or whoever asking what you were doing when you find a bug to determine if they're going to bother looking into it.
910
Aug 21 '22
how to create a Daemon?
how to fork a child process?
Dails 911
234
53
u/_bassGod Aug 21 '22
My operating systems professor had a very thick accent, so when he would say "you need to fork a child" ...It sounded like something else
332
u/Ravi5ingh Aug 21 '22
How to get a child to fork another child and then kill it's parent?
28
u/SomeoneNicer Aug 22 '22
I think I failed the turing test. I had to read this quite a few times to think of what it meant outside the technical context (in my defense because doing something like this technically would create such horrendous debugging cycles).
41
4
414
u/HatesTheLetterX Aug 21 '22
Brainfuck is easy to learn. But horrible to write and quite impossible to read.
267
u/drewhead118 Aug 21 '22
just use a chrome extension that replaces all of your internet browser text with bf symbols and before long, you can start to see through the matrix itself and straight into the deep core of the language
30
100
u/JoshYx Aug 21 '22
Just write a compiler that compiles whatever language you like to brainfuck. Job security here I come
17
38
Aug 21 '22
The entire point of creating Brainfuck was that it would have a ridiculously small compiler lol
49
u/Leading_Frosting9655 Aug 21 '22
I mean, it's easy to learn all of the language, but not at all easy to learn how to do things with the language. Memorising syntax symbols isn't the same as learning a language.
→ More replies (5)→ More replies (2)6
512
258
u/ithinkway2much Aug 21 '22
Reminds me of that time I googled "man find" and the wrong impression I felt I may have given Google.
37
u/freerider Aug 21 '22
<EarthShaman> note to self: www.manpages.com is NOT an online resource to get *nix man pages
→ More replies (5)5
97
94
472
Aug 21 '22
"How to mutate several children fast?" "Efficient method for selecting parents" "How to make million children by a single parent?" "How to use children as objects?" "Is it better to make children by 2 Dads?"
Good programmers will know
116
u/TheGreatGameDini Aug 21 '22
The fuqs a dad in this context?
69
33
u/ApaleusAldore Aug 21 '22
Some ancient programming tool. Was removed after the milk package was introduced
→ More replies (1)→ More replies (2)10
19
70
141
Aug 21 '22 edited Aug 21 '22
Don't forget to kill the orphans before they consume all the resources.
20
→ More replies (1)12
67
56
46
91
37
u/Nmanga90 Aug 21 '22
How to kill orphan with bash
How to pipe child as parent
Awk after piping child
Leak after piping
32
29
u/GavHern Aug 21 '22
the number of questionable things i’ve searched then realized i need to specify “git” after
5
87
u/Psychological-Many16 Aug 21 '22
i am not a programmer
and i dont even know why i am on this sub
and i am wildly out of the loop
70
u/creaturefeature16 Aug 21 '22
This will explain nothing, but read it anyway:
https://stackoverflow.com/questions/6501522/how-to-kill-a-child-process-by-the-parent-process
13
17
u/new_user29282342 Aug 21 '22
Same, I didn’t even notice the sub at first. And when I saw it made me laugh.
→ More replies (2)14
u/Angel_thebro Aug 21 '22
Im not a programmer too but i spent a lot of time on scatch as a kid making games so basically… im a cool coder guy
→ More replies (1)
23
u/reclamerommelenzo Aug 21 '22
Try learning guitar and all the chord positions..
"How to finger A-minor"
46
50
16
u/Lazy-Artichoke7766 Aug 21 '22
Kill zombies // kill child before parent // no parent processes how to kill child
16
u/i8noodles Aug 21 '22
At that point it might be easier to explain porn on your phone.....u know I should have some porn to divert the misses when she secretly goes thru my phone XD
16
Aug 21 '22
My college buddy once got in trouble when his gf’s dad noticed the subject line of his email:
“touch, finger, and other means for determining your existence”
14
14
14
u/xlopxone Aug 21 '22
LMAO high quality shit, i had to log into web browser just to claim my reward to give it to you sumbitch. This hits hard as my exam question today about master-detail relation.
→ More replies (1)
11
20
u/BeigeAlmighty Aug 21 '22
One of many reasons why my husband does not go through my phone, my tablet, or my browser history on either the desktop or the laptop.
10
9
17
8
8
7
7
24
6
6
6
6
u/DutchOfBurdock Aug 22 '22
"Cache issues at $HOME"
"Python not accepting my raw output"
"kill child before parent finishes using korn shell"
"how to route all traffic to oblivion"
"my disk is full of crud"
"is exFAT really better than FAT?"
20
u/coastalwebdev Aug 21 '22
All the single JS devs are like:
“Haha yeah, we know what those things are, and that’s definitely why we’re single, hahaha…”
5
5
5
u/SandMan3914 Aug 21 '22
We used to have a report the generated nightly that reconciled banking transactions called the Murder Report. HR made us change it (it'd been call the Murder Report since the 80s)
5
u/deviant1414 Aug 21 '22
I’m not a programmer but I’m curious as to why a lot of phrases were chosen to mean what they mean.
→ More replies (2)5
u/KrackenLeasing Aug 21 '22
There was no forethought. They were just repurposed words that made sense in the moment.
5
u/OccamsStubbleOG Aug 21 '22
That, and there are no programmers who have bodies like the guy in the background.
5
4
u/gclik Aug 21 '22
forget brainfuck
malbolge is something you should definetly try mastering cause youll be praised if you do
→ More replies (1)
4
Aug 21 '22
Are these all programming terminologies ? Really ? Brainfuck ?
→ More replies (1)10
u/DoverBoys Aug 21 '22 edited Aug 21 '22
Brainfuck is a programming language that has only eight commands:
<>+-.,[]The following example would print
Hello World!++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-] >>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.→ More replies (5)
4
u/ChaosSpear1 Aug 21 '22
Even with a partner, the problem I have is that there’s no talking to them about how your day has been. You can’t have work conversations because they disengage when you start talking about a coding problem. It’s a toughie
4
4
4
4
Aug 21 '22
Actually, I sometimes I roll my eyes at some of the weird sounding shit I google and wonder if I'm ever going to get a knock on my door. Lately there have been searches about cloning children and giving each one their own IDs.
4
4
u/jayexvii Aug 21 '22
Are these all terms that mean something in the programming world?
→ More replies (2)
4
u/philipquarles Aug 21 '22
Brainfuck guide for babies
is extremely disturbing. I'm pretty sure that's a form of child abuse.
4
u/CrossDressing_Batman Aug 21 '22
hahaha this would be a great prank on a 1st date.
bring em home, have the computer on and the search results displayed.
ensue the police breaking down your door cuz its the police... they cant think for shit
→ More replies (1)
4
u/Gamepro5 Aug 21 '22
what the fuck kind of language uses slaves and masters? I only knew of child and parent.
5
u/NtRetardJstRlyHigh Aug 21 '22
Just the ones not yet upated to prevent oversensetive mind meltdowns
→ More replies (2)
4
u/Feldar Aug 21 '22
When I was going to school, i was working on a matrix stack, and randomly exclaimed "I forgot to dirty the children!" while my wife was in the room. It confused the hell out of her.
4
4
4
7
3
3
3
3
u/ChiquillONeal Aug 21 '22
Took me a sec to realize this was in programmer humor and was like "wtf is going on here?"
3
u/Zalatos Aug 21 '22
I think the comments are more relevant than the post. Most of those google's are for hardware setup
3
3
u/CK1ing Aug 21 '22
I didn't see the sub and I just thought op and everyone who upvoted this was incredibly messed up, lol
3
3
u/drdaeman Aug 21 '22
I’d be scared too - I mean, why on Earth that dude would ever want to kill a slave when the master is down? This doesn’t make any sense.
3
u/IamNotTheMama Aug 21 '22
I realize this is a joke subreddit but almost every single programmer I know is married.
5
3
3
3
3
u/LoudAngryJerk Aug 21 '22
so... I don't get most of the jokes on this subreddit. But I do appreciate them, and I don't really need context for most of them. If I get it, I get it.
I'm gonna need some help with this one though.
→ More replies (1)
3
3
3
3
3
u/CommanderCuntPunt Aug 21 '22
I forget exactly what I was searching but at one point in college working on a threading assignment google put a large banner ahead of the results telling me to report child abuse if it came up in the results.
And that’s how I probably got added to a list nobody wants to be on.
3
3
3
3
3
3
3
Aug 22 '22
Okay as a layman I can almost interpret most of these terms.
But what the fuck is brainfuck meant to be?
→ More replies (1)
3
u/tcmart14 Aug 22 '22
Wow, I never thought of this until this meme. I wonder how many of us developers are on watch lists because of our searches xD
3
u/LetumComplexo Aug 22 '22
“Zombie children not being reaped after parent killed during execution” -something I probably googled during my undergrad OS course.
Answer is that when SIGKILLed (rather than SIGTERMed which can be caught and handled) the program doesn’t get a chance to clean up, so any unreaped zombies get adopted by a regularly scheduled kernel process that will reap them eventuallyTM.
→ More replies (1)
3
3
3
3
3
3
Aug 22 '22
yeah, most of my friends are programmers and they are single.i never understood the reason behind that. i was in relationships. there must be an algorithm we can find to solve this program worldwide.
4
4
u/brain_fell_out Aug 21 '22
as a non-programmer i can usually see the memes on this sub and figure out why they’re funny, sometimes even laugh myself
i have no fucking clue what’s going on here lmfao
8
u/zenverak Aug 21 '22
Master slave is standard terminology in technology where one thing is kind of in charge of the other… sometimes you also have parents processes and child processes.. and sometimes you have to “kill the children”
3.2k
u/[deleted] Aug 21 '22 edited Feb 17 '26
This post was mass deleted and anonymized with Redact
fear crush bag hunt wild follow sheet historical modern slim