320
Long trek home (lemmy.sdf.org)
submitted 4 months ago by pmjv to c/programmerhumor@lemmy.ml
top 14 comments
sorted by: hot top controversial new old
[-] whaleross@lemmy.world 51 points 4 months ago

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 16 points 4 months ago

that is kind of the premise of the techno-mage's story 🤔 !unix_surrealism@lemmy.sdf.org

[-] renedescartes@literature.cafe 5 points 4 months ago

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 2 months ago

Wait 'til you learn what tracing is

[-] caoimhinr@lemmy.world 42 points 4 months 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 19 points 4 months ago
[-] pmjv 17 points 4 months ago

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

[-] scrion@lemmy.world 4 points 4 months ago

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

[-] pmjv 1 points 4 months ago

sure, the CEO-president of the GovCorp.

[-] LeFrog@discuss.tchncs.de 6 points 4 months ago

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

[-] _lilith@lemmy.world 32 points 4 months ago* (last edited 4 months ago)

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 4 months ago

Thx, got it :D

[-] troyunrau@lemmy.ca 6 points 4 months ago

Your a wizard Harry

[-] TerminalEncounter@hexbear.net 2 points 4 months ago

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

this post was submitted on 06 Mar 2024
320 points (93.0% liked)

Programmer Humor

31314 readers
26 users here now

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

Rules:

founded 4 years ago
MODERATORS