584
Trolley problem (sh.itjust.works)
submitted 5 months ago by [email protected] to c/[email protected]
top 50 comments
sorted by: hot top new old
[-] [email protected] 229 points 5 months ago

Option 3 means that the Javascript standards team dies either way, right? Number 3. No hesitation.

[-] [email protected] 67 points 5 months ago

the c++ team is a sacrifice I'm willing to make. can we just shoot Brendan Eich in the head if he's not in there too?

[-] [email protected] 40 points 5 months ago

Push him onto the pressure pad. Make it his fault.

[-] [email protected] 12 points 5 months ago

I feel like all C++ does these days is badly and very slowly copy other languages. It wouldn't be a huge loss.

load more comments (16 replies)
load more comments (1 replies)
[-] [email protected] 81 points 5 months ago

Javascript Standards Team is such an Oxymoron.

load more comments (5 replies)
[-] [email protected] 62 points 5 months ago
[-] [email protected] 19 points 5 months ago
load more comments (1 replies)
[-] [email protected] 48 points 5 months ago

“You and your entire family” means “All life on Earth”.

That should make the decision somewhat easier.

[-] [email protected] 11 points 5 months ago

By my definition, family is who you treat like family.

[-] [email protected] 6 points 5 months ago

I try to treat everyone I meet like family

[-] [email protected] 11 points 5 months ago

If you make it "all human live" it starts to look quite attractive again

load more comments (1 replies)
[-] [email protected] 29 points 5 months ago

there might be an argument that JavaScript kills more than a nuclear bomb

[-] [email protected] 28 points 5 months ago

Ok so this one just isn't fair.

Two possibilities end up with me dead, two end up with millions dead, and one ends up with me being unemployed.

Sorry not sorry Team A and B, sacrifices must be made.

load more comments (4 replies)
[-] [email protected] 25 points 5 months ago

I'd take my odds with the bottom track.

load more comments (5 replies)
[-] [email protected] 20 points 5 months ago

I've played enough X-COM to know that 50/50 is actually 100%, I just don't know which way. Better trigger it!!

[-] [email protected] 9 points 5 months ago

30%? Let me deliver that shot with crit across the map to your teammate hunkered down behind full cover for you!

[-] [email protected] 20 points 5 months ago
[-] [email protected] 17 points 5 months ago* (last edited 5 months ago)

Assuming it is in the US, at 4.5 million it can only be San Francisco/Oakland/Berkeley.

[-] [email protected] 33 points 5 months ago* (last edited 5 months ago)

would the bomb also kill javascript and C++ or would I have to keep throwing trolleys at it until I get both silicon valley and the JS/C++ devs?

[-] [email protected] 19 points 5 months ago

At that distance it also kills you, so it sounds like a good deal. No regrets.

[-] [email protected] 7 points 5 months ago

win win win

load more comments (1 replies)
[-] [email protected] 19 points 5 months ago

A Mark VI only has a 18 to 160 kiloton yield.

Can we replace it with a B83?

[-] [email protected] 19 points 5 months ago* (last edited 5 months ago)

Well, you can take yourself out of the equation because you're not tied down and can just move after flipping the switch.

chooses bottom track

"C'mon...c'mon!"

trolley heads towards committe members

"Dammit!"

runs over and jumps on the nuclear bomb pressure pad

[-] [email protected] 14 points 5 months ago

I'll take the 50/50 because those are some damn good odds!

load more comments (1 replies)
[-] [email protected] 8 points 5 months ago

Am I in the Metropolitan area?

[-] [email protected] 19 points 5 months ago

You are on track A and the bomb is within sight. If you get the shit end of the 50/50, everyone in the diagram would be vaporized instantly

[-] [email protected] 16 points 5 months ago

So you're saying there's a 100% chance the comitees get vaporized by choosing the bottom track.

[-] [email protected] 7 points 5 months ago

Well, no.

In scenario A they are instantly vaporized. In scenario B they are brutally sliced into multiple pieces and crushed to death, rather painfully depending on the speed of the trolley.

[-] [email protected] 8 points 5 months ago

You need to study up on your trolleys. That's clearly a Vaporizer Trolleynator 3000.

load more comments (1 replies)
[-] [email protected] 8 points 5 months ago

Are we in the blast zone of the nuke?

[-] [email protected] 13 points 5 months ago

Maybe we could use Javascript to direct a simple robot to set the lever while we remain at a safe distance?

Maybe the real solution to this diagram is to nuke it from orbit.

[-] [email protected] 7 points 5 months ago

But the robot has to run windows vista

[-] [email protected] 6 points 5 months ago

And have a valid Apple developer account?

[-] [email protected] 6 points 5 months ago

sudo rm train.sh

problem solved 👍

[-] [email protected] 5 points 5 months ago

Fuck the metro I guess.

[-] [email protected] 5 points 5 months ago

Middle track. Then I have plenty of time to hotwire the nuke with my handy dandy mallet

[-] [email protected] 5 points 5 months ago

There is at least one user here in the superposition of being on two tracks at once.

[-] [email protected] 5 points 5 months ago

I like those odds

[-] [email protected] 5 points 5 months ago

Now how do I get it to drift over everything but teams a and b?

load more comments (2 replies)
load more comments
view more: next ›
this post was submitted on 27 Jan 2025
584 points (96.1% liked)

Programmer Humor

25009 readers
1388 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 2 years ago
MODERATORS