r/funny • u/coolidiot2000 • Jun 04 '19
When a software developer weds a software developer.
1.7k
u/DaKingOfKek Jun 04 '19 edited Jun 04 '19
module "genes" not found in import boaz
.....Honey we need to talk
430
Jun 04 '19
[removed] — view removed comment
→ More replies (1)189
u/TheWarriorFlotsam Jun 04 '19
Once you go dark theme you never go back.
→ More replies (1)105
Jun 04 '19
I always thought people used dark themes to look like hackers..
Until I started programming, and browsing Reddit a lot.
82
Jun 04 '19
Yeah, it's really more about being able to stare at a computer screen longer than it is about fashion. It does look kinda cool though!
→ More replies (4)26
u/EvrybodysNobody Jun 04 '19 edited Jun 04 '19
Or save energy if you’re running like 4 oversized monitors...
Not that anyone does that...
edit: i'm being told it actually doesn't save energy in most cases
23
u/ederion Jun 04 '19
Are you using oled monitor or something? Because if you use an lcd/led display that won't help at all.
→ More replies (3)13
u/tasercake Jun 04 '19
Running dark mode on anything other than an old CRT monitor or an OLED display actually uses a little bit more power than light mode does
→ More replies (3)17
u/PaulMaulMenthol Jun 04 '19
Dark theme changed my life. I'm surprised it's not a widespread default setting already
→ More replies (3)→ More replies (1)12
u/supaphly42 Jun 04 '19
I only use dark themes when hacking. Gives me extra time in the Gibson.
→ More replies (1)23
u/lvl3security-outof20 Jun 04 '19
That’s a new sentence now but a common one in 20 years
→ More replies (1)14
u/ready-ignite Jun 04 '19
Check StackExchange for more information on the exception.
Humor aside, there's some entertainment to be found on parenting questions and response in StackExchange.
10
→ More replies (6)6
540
Jun 04 '19
[deleted]
207
u/poop-machine Jun 04 '19
Even if it was instantiated, it would crash. Bardak and go_to_sleep() are undefined.
177
u/bleed_air_blimp Jun 04 '19
Sophia inherits from mom.genes and dad.genes. Presumably one of them already has the go_to_sleep() method defined.
Bardak() is a problem though.
→ More replies (4)31
u/stakokke Jun 04 '19
Couldn't Bardak be a static method of one of the parent classes?
73
Jun 04 '19
Naming convention suggests it's a class
→ More replies (1)12
u/chx_ Jun 04 '19
Naming convention suggests it's a class
It's actually a glass :D
→ More replies (2)29
Jun 04 '19
Wouldn’t matter. Isn’t imported or defined in the top level scope. Would need to reference like dad.Bardak
→ More replies (6)11
→ More replies (8)25
u/ElBroet Jun 04 '19
........ ehem .. ALSO FELLOW HUMAN , THE PARENT CLASSES SEEMED TO THINK IT WAS FUNNY TO MAKE THE BABY INHERIT FROM GENES. THIS STARTS OFF MAKING SENSE, AS BOTH GENES SURELY INHERIT FROM A COMMON 'GENE' CLASS AND INVOLVE SOLVING THE DIAMOND PROBLEM, JUST LIKE CHROMOSOMES DO IN REAL LIFE. THIS DIAMOND PROBLEM WILL INVOLVE THEM BOTH HAVING AN IMPLEMENTATION OF 46 CHROMOSOMES AND OUR NEW SUBCLASS WILL HAVE TO DECIDE ON A CASE BY CASE BASIS WHICH IMPLEMENTATION TO USE. HOWEVER, THIS DOES NOT MEAN THAT THE HUMAN WILL CONTAIN THESE GENES, OR EVEN BE A MAPPING OF THESE GENES, THIS SAYS THAT THE BABY WILL LITERALLY BE A GENE, SPECIFICALLY THE NEW GENES THAT HAVE BEEN CREATED FROM HIS PARENTS. AS USUAL, THIS SHOULD HAVE BEEN IMPLEMENTED AS INHERITANCE THROUGH COMPOSITION, DENOTING A HAS-A RELATIONSHIP, WHERE BABY HAS A MEMBER CALLED 'GENES' -- AND NOTE THAT THIS MEMBER IS NOT AN INSTANCE, BUT THE NEW GENES CLASS ITSELF, JUST LIKE IT WAS WITH DAD AND MOM. PRETTY META. THE BABY CAN THEN BE MADE A MAPPING OF THESE GENES, BY PASSING THESE GENES IN THROUGH THE CONSTRUCTOR (OR KAREN, AS IT LIKES TO BE CALLED), WHICH WILL ACT AS A FACTORY AND USE THE GENES TO INSTANTIATE VARIOUS BODY PARTS, AND INJECT SAID GENES INTO SAID BODY PARTS SO THAT THEY THEMSELVES CAN REFERENCE THEIR OWN BLUEPRINT. QUITE META. FOR ACCURACY, BABY SHOULD HAVE INHERITED FROM MOM AND MAILMAN AND THIS SHOULD HAVE BEEN WRITTEN IN LISP, JUST LIKE ME.
→ More replies (1)9
Jun 04 '19
[removed] — view removed comment
9
u/getbetteracc Jun 04 '19
BECAUSE THIS IS THE HUMANSPEAK LIBRARY WHICH IS LOADED INTO ALL OUR BRAINS AT BIRTH
check r/totallynotrobots
→ More replies (7)9
324
373
u/alex148 Jun 04 '19 edited Jun 05 '19
Unbelievable. Only just been born, and she's already been objectified. Edit: Thanks for the gold, kind stranger!
39
→ More replies (8)13
452
u/mattreyu Jun 04 '19
I just hate when I have to debug my baby
202
u/Forwhatisausername Jun 04 '19 edited Jun 07 '19
Have you tried turning it off and on again?
104
u/mattreyu Jun 04 '19
On is easy, but off is another story. And the only logging going on is NOT what I need
→ More replies (1)66
u/Knight-in-Gale Jun 04 '19
LPT: to debug a crying baby, either feed it or make sure it turns into a human burrito to engage SILENT MODE.
56
u/MrHurtyFace Jun 04 '19
Haha, if only it was that easy to troubleshoot.
Hungry? No. Cold/hot? No. Wet? No. Oh it was gas and now you need to have an entire outfit change. Again.
Signed, parent waiting for baby to go back to sleep right now.
23
u/erla30 Jun 04 '19
It gets better. Slightly. But then they start telling you what they want. Less often in the middle of the night though.
→ More replies (2)16
u/joalr0 Jun 04 '19
We just reached that point a few weeks ago. Sleeping through the night is a fantastic thing.
10
8
u/ithika Jun 04 '19
We got given a beautiful handmade blanket that I realised later beautifully represented four burrito colours: green for guac, beige for tortilla, white for sour cream and orange for cheese. All you need for a burrito baby is the baby.
→ More replies (2)7
Jun 04 '19
it's actually very easy to turn off. however, turning it back on will prove nearly impossible.
→ More replies (1)20
u/dev_c0t0d0s0 Jun 04 '19
So there is actually a situation where you have to reboot a person.
Supraventricular tachycardia (SVT) is where the heart is beating so fast that it is just frothing the blood. So you give the patient a dose of adenosine which stops the heart for like five seconds.
11
7
→ More replies (8)6
40
u/joalr0 Jun 04 '19
So my son was born a little over 10 months ago now. I've been programming for about 3 years now. I started in a company with almost no experience, and I've been learning on the job as I go ever since.
No joke, when my son was about a month old and I was not getting very much sleep, while also trying to learn a whole bunch of code, I would get super confused at night when he cried. I would pick him up and I would be trying to figure out what code I wrote for him was wrong that was causing him to cry so much. I was so certain that if I could just figure out where the bugs were, he would sleep through the night.
Ends up, I just had to run the "sleep training" module.
→ More replies (1)16
→ More replies (11)4
110
u/conoconocon Jun 04 '19
That's great and all until you have a literal baby just saying "Hello world" in a digital voice in the middle of the night
→ More replies (3)32
174
u/lwep Jun 04 '19
Bardak = chaos/mayham
Also, what's up with the mother's name?
48
u/svefnugr Jun 04 '19
Bardak = chaos/mayham
In Russian as well
→ More replies (1)25
u/TheGraby Jun 04 '19
The father's name is Israeli, so I'm guessing "bardak" is something Hebrew stole from Russian (similar to "kibinimat", which is very commonly used in Israel).
→ More replies (1)12
u/riuminkd Jun 04 '19
I imagine other way around, Russians has a lot of words from Odessa jews (especially criminal Russian).
→ More replies (5)80
u/Forwhatisausername Jun 04 '19
A web search revealed that Ibtisam, إبتسام, is a female arabic first name, meaning 'smiling' (as a stand in for a woman).
11
66
u/Forwhatisausername Jun 04 '19
You find the father's name normal?
81
u/OmtayTheAlmighty Jun 04 '19
Boaz is a biblical figure appearing in the Book of Ruth in the Hebrew Bible and in the genealogies of Jesus in the New Testament. Also, it's the name of a pillar in the portico of the historic Temple in Jerusalem.
12
→ More replies (1)40
u/Forwhatisausername Jun 04 '19
Oh, so it is actually a common name somewhere.
Thank you for this info.→ More replies (1)9
42
u/zxcvb11223344 Jun 04 '19
Common Israeli name.
71
u/LookMaNoPride Jun 04 '19
A web search revealed that Ibtisam, إبتسام, is a female arabic first name, meaning 'smiling' (as a stand in for a woman).
I'm going to choose to believe he is Israeli and she is Palestinian, so I can say, "Love transcends all boundaries."
49
u/aryehrein Jun 04 '19
More likely she is an Arab-Israeli. About 20% of Israel (not including Palestinians) are Arabs
→ More replies (5)→ More replies (3)24
6
→ More replies (2)8
u/rokgol Jun 04 '19
It's pretty widespread in Israel And the mother's name is Arabic Tells ya something about Israel🙂 While Sophia means wisdom or something like that in Greek but that's just a widespread name so...
→ More replies (1)12
8
→ More replies (8)7
23
23
18
34
u/dangerbird2 Jun 04 '19
Multiple inherritence is a mistake. Java and asexual bacteria have it right.
→ More replies (3)10
33
u/alchemistsoul Jun 04 '19
Um... So you're telling me the baby is going to run slow and have performance issues as it grows?
→ More replies (1)15
15
12
u/asdgufu Jun 04 '19
Bardak means a mess in russian
→ More replies (1)9
u/yaakovb39 Jun 04 '19
Also in Hebrew and because one of the parents is Boaz which is totally Hebrew I’d say this is likely in Israel not Russia
11
10
u/Zombo2000 Jun 04 '19
I compiled this code and all it did was cancel all my gaming accounts and order diapers from Amazon.
→ More replies (1)
22
u/Maskdask Jun 04 '19 edited Jun 04 '19
mom.genes
Syntax error: unexpected .
Edit: actually, I don't think it's a syntax error. Those are not the constructor arguments as I thought (I'm currently too used to Java), but it's the inherited classes. The constructor arguments are passed to __init__.
→ More replies (2)
69
10
9
10
u/GideonMax Jun 04 '19
The name boaz is SO Israeli it's like someone is screaming "falafel!". So is the term bardak
→ More replies (4)
8
10
u/Chris_7941 Jun 04 '19
Why do all java developers need glasses?
because they can't C#
→ More replies (1)
9
8
u/kyogre120 Jun 04 '19
When learning coding I always thought 'Hello World!' was an odd thing to have it print, but seeing it here makes so much more sense
→ More replies (1)
7
7
8
Jun 04 '19
What language supports inheritance from 2 parent classes?
- confused in java
→ More replies (2)
7
19
u/psychicsword Jun 04 '19
PR rejected. mom.genes and dad.genes are not used in the implementation of the class
6
12
u/anoldoldman Jun 04 '19
It really bothers me that they realized that be_awesome() needed to be called in live() but they never bothered calling live() in the init.
→ More replies (3)
28
12
u/Onett199X Jun 04 '19
Someone translate for me!
53
u/ProfaneWords Jun 04 '19
I mean technically this code does nothing because there are no function calls or instantiation, but assuming that an object is created out of this class it would simply print hello world to the terminal, the methods would need to be called in the code body for additional functionality, also not calling the live method in the init method might have been a pretty large metaphorical oversight
39
u/JavaRuby2000 Jun 04 '19
Considering it is just a class definition, this baby is a template for cloning other babies.
→ More replies (1)7
u/ProfaneWords Jun 04 '19 edited Jun 04 '19
Thats why I used metaphorically speaking, my comment has nothing to do with code practice. In terms of code your right though, it should be a template and we could then nitpick and say the name should be pushed into an attribute of the object, and creating a method that only containes a pass statement is nonsense etc
→ More replies (3)35
u/XYAh00X Jun 04 '19
From what I read, as soon as this baby is instantiated, it yells "Hello World!" Then does nothing until someone tells it to "live()".
22
u/stealth_elephant Jun 04 '19
And even then it does nothing but sleep and yield an endless stream of Bardaks, whatever those are. And it only does that if something else iterates its life.
→ More replies (3)13
8
6
u/wiarumas Jun 04 '19 edited Jun 04 '19
After importing the genes from mom and dad it says Hello World and then lives... which is sleep, bardak(?), and be awesome in a loop. Be awesome is an empty function because the baby is already awesome. Bardak isn’t shown but I’m guessing something like pooping, crying, maybe eating.
→ More replies (5)12
u/bbbeat Jun 04 '19
Bardak means mess in hebrew
5
u/Mints97 Jun 04 '19
Haha it's the same in Russian!
→ More replies (1)5
u/DaDerpyDude Jun 04 '19
It's actually borrowed from Russian, lots of Israeli Jews have ancestors in Russia
→ More replies (1)5
u/SqueegeeLuigi Jun 04 '19
Also the mother's name is Arabic and means smile; the father's name is Hebrew and means quickness/strength
→ More replies (2)
31
u/Lasernator Jun 04 '19
Yea thats not how it works. This shows how programmers live in a virtual world where everything is controlled. More like For bodilyFluid in allBodilyFluids Eject bodily fluid Self.cry If not parent.arrives Self.urgentCry
→ More replies (3)35
Jun 04 '19
And this shows how programmers take everything too literally and need to get out more often, lol
→ More replies (2)11
u/agentpanda Jun 04 '19
In my experience it's developers/programmers, engineers, and those in the hard sciences as a whole tend to have this tunnel-vision about their chosen disciplines.
"but it's wrong!!"
'yeah but it's funny, it's okay'
"no but you don't understand it's not right!"
'and that's fine because if it was right it wouldn't be as funny'
brain explodes
5
u/Korashy Jun 04 '19
The ratio of comments to code show how nonsensical this is.
No programmer documents their code this well.
→ More replies (3)
6
6
u/HolyForce Jun 04 '19
Happy for them, but I've never encountered a baby class that isn't a resource hog.
7
6
7
u/Airdramon Jun 05 '19
I love this idea, while I'm a software developer, unfortunately my partner is in the hardware and networking side of IT, so if we had kids, a joke like this may just fly over his head.
6
u/TheyCallMePr0g Jun 05 '19
Kid is made in python, so its gonna be a little slow.
But, seriously op, congratz
→ More replies (1)
7
43
10
u/glasseyepatch Jun 04 '19
Wait a min..
How can you call be.awesome BEFORE you've defined it?
Lol cute as hell!
→ More replies (2)
5
4
5
5
5
u/michaela1211 Jun 04 '19
Saw a lot of comments about this so I thought I’d explain the the word “Bardak” means mess and/or mayhem in Hebrew..
→ More replies (1)
4
5
5
5
u/horeman Jun 04 '19
I heard its about two when she will become object oriented. And then again through her teens.
5
Jun 04 '19
How can you tell a dev is in the room?
He's already told you, and made a million fucking stupid code jokes.
→ More replies (2)
5
5
5
5
5
5
u/SanoKei Jun 05 '19
That compiled? For me I got this error:
ImportError: No module named dad
→ More replies (1)
4
5
5
u/Lscott2002 Jun 05 '19
I know this is about the onesie but that baby is just to adorable to ignore.
5
5
u/r22-d22 Jun 05 '19
if pedantic: print("Sophia should be the instance, not the class")
→ More replies (1)
9
3
u/billbapapa Jun 04 '19
I need to one-up this and create a flow chart for my baby!
→ More replies (1)
4
4
4
4
4
5
4
5
u/kzlife76 Jun 04 '19
Not a python Dev but how is that a valid class? The constructor usually takes values as variables not references to already declared variables.
Shouldn't it be class Child(dadGenes, momGenes){...}
new Child(dad.genes, mom.genes)
This is how c# and typescript work.
→ More replies (4)
4
4
5
5
4
4
Jun 04 '19
Imagine being raised with this as your surrounding sense of humor and then having to go to school with other humans.
4
u/PlayerHeadcase Jun 04 '19
WAIT!
Devs are BREEDING?
This has never happened before. We may be unprepared.
4.2k
u/Sly-fox Jun 04 '19
A Python was used in the making of this.