this post was submitted on 18 Aug 2023
716 points (95.3% liked)

Programmer Humor

19544 readers
540 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Oh, I see. Yes, the context here was that we assume all possible chain lengths. If it's infinite the death-minimising strategy is obviously to pull it, and if your switch is the only one you obviously don't. The question was where it changes from one to the other.

I'll edit a clarification in.

[โ€“] [email protected] 2 points 1 year ago

Makes me wonder what happens when the number of people tied to the tracks exceeds rhe number of people currently alive. Should be around the 33rd lever.