Lurker News
Given the very interesting comments on the "Ask HN: What is the most impactful thing you've built?", I was wondering about something similar: Things you regret based on ethical implications, bad technical decisions you made convinced you were right but regret/cringe about later, failures on miscalculations on budgets that provoked a bad outcome in the company etc whatever.

Thanks in advance.

Comments (520) 118 threads

Show all comments

Showing thread 22 of 118

haolez3 replies#
I've coded the firmware for a CAN-based communication bus for a medical device with lots of different boards talking to each other. This same company had a war industry department and they used this code in a missile project. It left a weird taste in my mouth.

Btw, they got an early version that had a memory leak, and when I went to warn them, they just said: "It's okay! It's just going to run for about 20 seconds!"

pests#
The ultimate garbage collection.
CyberDildonics1 reply#
A missile needing to dynamically allocate memory is already a ridiculous idea.
haolez1 reply#
There was computer vision stuff in the missile's head (for target tracking), which is where the code was used.
CyberDildonics1 reply#
That is a good reason to need a non trivial amount of memory, but I don't think it means there needs to be dynamically allocated memory. That basically implies that there is something unknown ahead of time, but specs, limitations, resolution fps, etc. should all be static.
haolez#
I think it was a slab allocator made in house. It was a long time ago.
nikeee2 replies#
Did you post about this previously? I feel like I've read that part with the memory leak before.
haolez#
Can't remember, so if I did, it was a long time ago. This story happened around 2010.
chrisallenlane1 reply#
I favorited this post some time ago:

https://news.ycombinator.com/item?id=14233542
The Google Groups page is currently in a redirect loop, but if that gets sorted out, you may find the story that you're remembering.