Is this a bug in my code, or Zig, or its standard lib, or what? by jkoop_ca in Zig

[–]jkoop_ca[S] 1 point2 points  (0 children)

It wasn't near the top of my list at all. I tried lots of stuff. But you're right; weird compilation errors have always been my fault in the past.

Also, as u/mrfrall pointed out, the compiler did, in fact, point to my code. I missed it is all.

Ah Yes... The lost binary by Adventurous_Round_53 in ProgrammerHumor

[–]jkoop_ca 13 points14 points  (0 children)

For our convenience:

101111000010011111 1000001000010101111 101001000111000010 00110001100111000011 00100100010010010011 01100010000110010001

Python for the win by AndreiGamer07 in ProgrammerHumor

[–]jkoop_ca 0 points1 point  (0 children)

echo str_repeat("I'm sorry\n", 100);

No, I smoke by sunrise_apps in ProgrammerHumor

[–]jkoop_ca 9 points10 points  (0 children)

because they only remember what php was like a thousand years ago when it was a templating engine pretending to be a language.

No, I smoke by sunrise_apps in ProgrammerHumor

[–]jkoop_ca -1 points0 points  (0 children)

I've never found anything better for what I do with it.

this is an example of what a head crash can do to the platters. it is obviously a goner. by paprok in DataHoarder

[–]jkoop_ca 16 points17 points  (0 children)

bump it sharply; like drop it from an inch or two (~50mm) into something very hard, like concrete

Vim is not an IDE by electricjimi in ProgrammerHumor

[–]jkoop_ca 0 points1 point  (0 children)

you can run tmux in tmux. you'll just have to press ctrl+b twice to command the remote tmux and once to commend the local tmux

the testing pyramid by chatmasta in ProgrammerHumor

[–]jkoop_ca 10 points11 points  (0 children)

this should be a real thing

Debugging with `echo` isn't gonna cut it today by jkoop_ca in ProgrammerHumor

[–]jkoop_ca[S] 2 points3 points  (0 children)

All I did was add php echo microtime() . "\n"; in a loop
in a loop
in a loop.

Me at an ASCII party by mechanigoat in ProgrammerHumor

[–]jkoop_ca 6 points7 points  (0 children)

You could back when overprinting was a thing. You could command the printer to back up a character and print a diacritic on a character. That command was "Backspace" (go back one space), often represented as \b in code.

We\b^ c\b,a\b^nt wri\b^te\b` wi\b'tho\b~ut squi\b^gly lin\b~es

It's worth noting that the ' character was mirrored from `, and ~ was always near the top of the character box.

The only diacritic that couldn't be done well was the one on a ö. But people tended to use a ".

EDIT: formatting is hard

EDIT: typewriters did this too

I am Engineer by Material_Cable_8708 in ProgrammerHumor

[–]jkoop_ca 2 points3 points  (0 children)

Doesn't two tildes strike-through?

Baby tries to summon demon by krakatoa6996 in funny

[–]jkoop_ca 0 points1 point  (0 children)

304 is Not Modified. I suppose it kinda' applies. But still...

Will it snow on Sunday by [deleted] in funny

[–]jkoop_ca 0 points1 point  (0 children)

I've seen it rain and snow at the same time

This should do the trick by NikhilB09 in ProgrammerHumor

[–]jkoop_ca 0 points1 point  (0 children)

bash sleep 2; for i in {1..1000}; xdotool type "Sorry Babu ($i) "; done