this post was submitted on 06 Mar 2024
291 points (93.2% liked)

Programmer Humor

32410 readers
1 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
top 14 comments
sorted by: hot top controversial new old
[โ€“] whaleross@lemmy.world 44 points 1 year ago (3 children)

Some time ago I had a fever dream confusing reality thing and when I woke up I had reason with myself that "no, I can't run a program in my brain". I couldn't decide if it was a disappointment or a relief.

[โ€“] pmjv@lemmy.sdf.org 16 points 1 year ago

that is kind of the premise of the techno-mage's story ๐Ÿค” !unix_surrealism@lemmy.sdf.org

How do we know that the thoughts which occur in dreaming are false rather than those others which we experience when awake, since the former are often not less vivid and distinct than the latter?

[โ€“] CCF_100@sh.itjust.works 1 points 1 year ago

Wait 'til you learn what tracing is

[โ€“] caoimhinr@lemmy.world 38 points 1 year ago

Should've at least added some output to the loop, now the brain can just optimize and jump straight to the end.

[โ€“] ryannathans@aussie.zone 17 points 1 year ago (1 children)
[โ€“] pmjv@lemmy.sdf.org 14 points 1 year ago (1 children)

it's the techno-mage of the open clan and his student

[โ€“] scrion@lemmy.world 4 points 1 year ago (1 children)

Is anyone in this reality content to be alive? Happy even?

[โ€“] pmjv@lemmy.sdf.org 1 points 1 year ago

sure, the CEO-president of the GovCorp.

[โ€“] troyunrau@lemmy.ca 5 points 1 year ago

Your a wizard Harry

[โ€“] LeFrog@discuss.tchncs.de 5 points 1 year ago (1 children)

I have no idea what any of this means. Plz hlp

[โ€“] _lilith@lemmy.world 26 points 1 year ago* (last edited 1 year ago) (1 children)

The actual joke is that they were trying to play dumb/fun nerd computer games. The cool fish basically just told them to count to 1000 instead

for that little bit of program there x is set to 1 and x++ is just another way to say "add one to this number". The loop runs until x is 1000 thus all the x values when they are "running" the program manually

[โ€“] LeFrog@discuss.tchncs.de 3 points 1 year ago

Thx, got it :D

Couldve flipped the sign every operation to make it even longer, just make sure you're not off by one or change it while x <= 1000