15 points

B-b-but it clearly says right there in the todo, that’s good enough, r-r-right?!

permalink
report
reply
17 points

I mean, my IDE highlights all the TODO’s in yellow. I don’t know how we could possibly make it any less error prone.

permalink
report
parent
reply
3 points

Yeah, gVim is pretty great, isn’t it? :-P

permalink
report
parent
reply
3 points

Personally I prefer Neovide

permalink
report
parent
reply
8 points

That requires someone to look at that section in the IDE. If it doesn’t block the merge, it doesn’t do shit.

permalink
report
parent
reply
4 points

Thank you for explaining the joke.

permalink
report
parent
reply
18 points

Dude looks like Hank and Dale had a baby.

permalink
report
reply
5 points

He does, nothing but propain conspiracies all day long, and a too hot wife

permalink
report
parent
reply
10 points

Dank Grill

permalink
report
parent
reply
1 point

Other dude looks like the angry teacher from Daria

permalink
report
parent
reply
78 points

I feel like modern compilers would turn their nose up at that shit. “Dead code? Ewww! No way I’m letting that into my syntax tree!”

permalink
report
reply
72 points

A lot of IDEs would probably throw a warning about unreachable code.

permalink
report
parent
reply
13 points

implying that any developer actually reads warnings

permalink
report
parent
reply
14 points
*

most of my (rust) projects have zero (or maybe 1-2) warnings, unless I’m in the middle of working on a feature

permalink
report
parent
reply
25 points

Golang won’t even compile with dead code. Unfortunately that’s too strict, you just end up commenting out the whole block instead. At least the commented out code is obvious in review, and some automated checks catch it if you have them.

permalink
report
parent
reply
3 points

commenting out the whole block

var foo is declared but not used is such a pain in my asshole when doing this.

permalink
report
parent
reply
12 points

Guess what? Flight Software usually uses ancient proprietary compilers for specialized hardware running an RTOS, rip 😢

permalink
report
parent
reply
6 points

Woah woah WOAH WOAH.

So you’re saying software for the Artemis landers aren’t being built with the latest TypeScript compiler and running on a canary version of v8?!

permalink
report
parent
reply
2 points

Lol

permalink
report
parent
reply
1 point

SpaceX actually did use some kind of TS/JS chrome browser thing for their docking controls lol…

permalink
report
parent
reply
274 points
*

They did it once by mixing meters and feets, and crashed the Mars lander.

Edit: looked it up, wasn’t actually meters vs feet, but newton-seconds vs some American eagles per gun unit for force

permalink
report
reply
30 points

it happened again with the Intuitive Machines lander that landed on the moon last week

permalink
report
parent
reply
53 points

The Intuitive Machines lander issue was that no one disarmed the safety switch on the laser guidance system. (No, really!) Luckily NASA had a backup system installed that ended up working better anyway.

permalink
report
parent
reply
27 points
*

Pretty much the hardware version of && false

permalink
report
parent
reply
13 points

that ended up working better anyway

Not sure if it ended up working better, as it landed with nonzero horizontal velocity. Though I suppose we’ll never know how well the original system would have performed…

permalink
report
parent
reply
15 points

Hopefully, the transition to metric is soon and I can stop reading this same joke every week.

permalink
report
parent
reply
1 point

Technically the US measurement system is metric since the Mendenhall Order of 1893 reestablished all customary units as conversion factors of metric units. In 1933 the ASA redefined the inch to be exactly 25.4mm, following the lead of the British Standards Institution in 1930 (precision was increasingly important for manufacturing, and the previous value of 25.40005mm had become impractical). The international yard and pound were officially adopted by the US National Bereau of Standards (now NIST) in 1959, the Metric Conversion Act was passed in 1975, and finally EO 12770 (1991) required all agencies of the executive branch to transition to metric units.

So, from one point of view we’ve been transitioning to metric since 1893 and it’s still not done. From another, the inch is just a metric unit as its length is officially defined in millimeters (all customary units are now based on SI units), therefore the conversion is complete.

permalink
report
parent
reply
76 points

It’s guns per eagle, get it right. What would eagles per gun even be?

permalink
report
parent
reply
14 points

Step clap step step clap

permalink
report
parent
reply
27 points

A gun that shoots eagles, obviously

permalink
report
parent
reply
3 points

We don’t shoot eagles in America, we shoot turkeys. Just as Benjamin Franklin intended.

permalink
report
parent
reply
21 points

Pound-seconds, I believe. Good ol’ LM giving imperial numbers to NASA.

permalink
report
parent
reply
3 points
Deleted by creator
permalink
report
parent
reply
13 points

it’s an orbiter not a lander

permalink
report
parent
reply
38 points

It was intended to be an orbiter.

permalink
report
parent
reply
12 points

Ended up a missile

permalink
report
parent
reply
3 points

rods from god

permalink
report
parent
reply
16 points

Isn’t this pretty much what happened with the LIDAR on the most recent commercial moon lander?

permalink
report
reply
10 points

Yes but it was a physical switch

permalink
report
parent
reply
1 point

Final flight checks:

“It’s off, so I turn it on and … WALK AWAY!”

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 3.7K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments