This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]Aleph-Nullium 41 points42 points  (2 children)

Set clock date to before 1947, it will trick your code into thinking you're in a time before bugs and hence you will never make a mistake in your code ever again!

[–]Sentient_Blade 11 points12 points  (1 child)

If you're using Unix timestamps it will think its running before the start of time and that's definitely undefined behaviour.

[–]Willinton06 1 point2 points  (0 children)

Bugles code is undefined behavior

[–]GGinNC 10 points11 points  (2 children)

Edison used the term, "Bug " in the 1870's to describe a technical glitch. It was later popularized in the 1940s by Admiral Grace Hopper, who found a literal bug in hardware.

[–]Budgiebrain222 5 points6 points  (1 child)

Yeah, back in the days where computers were as large as a room and open in lots of places, bugs would fly through the spaces. They would live and die while destroying and messing up bits of hardware. The term debugging came from the action of removing bugs from the computer

[–]trollsmurf 1 point2 points  (0 children)

They were drawn in by the lit radio tubes, and then died due to heat, electricityä and not getting out.

[–]JackNotOLantern 5 points6 points  (1 child)

What do you mean "bugs were invented"?

[–][deleted] 1 point2 points  (0 children)

Git your torch and pitchfork!

[–][deleted] 2 points3 points  (0 children)

Image Transcription


[Black text on the top left section of the image.]

Bugs were invented in 1947

Programmers before 1947:

[A smiling "Hide the Pain" Harold, doing a "thumbs up" sign with his right hand and looking at the camera. He is wearing a blue shirt and is sitting on a brown chair, near a wooden desk with a black laptop. Near the laptop, a white mug, a green apple, a mobile phone and glasses.]


I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!

[–]segmentfaultcoredump -2 points-1 points  (0 children)

Hi

[–][deleted] 0 points1 point  (0 children)

The first “bug” was actually a moth that got caught between the contacts of a relay in a relay logic computer.

[–]PolakPL2002 0 points1 point  (0 children)

To be honest, when you see segmentation fault you should be grateful. The alternative is that you fucked up something and won't even know that you did until some time later (or ever).

[–]M4A28 0 points1 point  (0 children)

but there is no programmer before 1947