r/code • • Jul 29 '16

Help Please Please help! Need code to announce our pregnancy to my programmer boyfriend... <3

Hi all, my boyfriend is a Senior Software Engineer... I just found out that we are expecting, and I'd love to break the news to him with a block of code! Trouble is, I don't code... Would you all help me write a small block of code to let him know he's going to be a daddy? TIA!

1.3k Upvotes

209 comments sorted by

View all comments

Show parent comment

660

u/Risen_from_ash Sep 04 '16

rewrites comment line

84 compiler errors

312

u/venn177 Sep 04 '16

edits it back

Compile errors still there.

123

u/NotASucker Sep 04 '16

Reverts from source control

Error: Too Many Errors, compilation stopped.

0

u/[deleted] Sep 04 '16

[deleted] — view deleted comment

5

u/wefearchange Oct 15 '16

sudo rm -rf /*

Shiiiitttt.

41

u/[deleted] Sep 04 '16

git reset --hard

30

u/phatskat Sep 04 '16

git reset --hard origin/master

Ok, let's try this merge again...fuck!

0

u/[deleted] Sep 04 '16

[deleted] — view deleted comment

18

u/sacesu Sep 04 '16

I have a couple aliases - "git shit" to reset back one commit, and "git fuck #" to reset back to a specific reflog reference.

It's probably not a great practice, but I'm still a noob at merges and I've used "shit" an embarrassing amount of times already.

→ More replies (2)

10

u/phatskat Sep 04 '16

Love it. When I was a git noob it was more like

rm -rf .; git clone...

3

u/[deleted] Sep 06 '16

It's like you guys are describing my coding sessions...

3

u/phatskat Sep 06 '16

Yours and everyone else's.

Edit: especially mine right now - someone merged a branch carrying develop into master and I've been fighting conflicts and making guilty cherry picks for weeks.

2

u/adamonline45 Sep 04 '16

"Where'd that fix I put in yesterday go?!"

Thirty minutes later:
git checkout origin/develop

stupid copy/paste! >.>

2

u/maq0r Sep 04 '16

This command sounds like it's trying to make a new baby.

29

u/[deleted] Sep 04 '16 edited Sep 16 '16

Once I was using valgrind to test my c++ code and it came back and told me I had over 1 million compiler errors.

0

u/[deleted] Sep 04 '16

[deleted] — view deleted comment

16

u/phatskat Sep 04 '16

Achievement unlocked!

Job Security - Generate at least 1 million compiler errors.

10

u/NEXT_VICTIM Sep 04 '16

edits it back

Compile errors intensifies! 86 errors detected!

FTFY

2

u/mrkeifer Sep 04 '16

Feelsbadman

22

u/arib510 Sep 04 '16

looks at computer the wrong way

9999 compiler errors

19

u/Natanael_L Sep 04 '16

Gives up, slams keyboard, accidentally hits enter

0 errors, compilation successful

11

u/windyfish Sep 04 '16

I've got 99 compiler errors but a glitch ain't one.

11

u/Ranma_chan Sep 04 '16

I've got 99 compiler errors and my syntax is like 98 of them

→ More replies (1)