News for hackers. Stuff that matters.
Re:Three programmers got fired, including me, due to a singl... by miscaccount on Sunday July 11, 2021 @04:24PM (#27804294)
i feel also with time, you get better from recovering from these stupid mistakes faster and also come up with better solutions/fixes faster.

This will have taken your younger self , twice or more to understand the problem and come up with solution

Re:Three programmers got fired, including me, due to a singl... by devoutsalsa on Sunday July 11, 2021 @04:43PM (#27804409)
You also getting better at owning mistakes without making them sound like a big deal. You just say stuff like “that’s an interesting edge you’d only learn by querying a table with millions of rows” instead of anxiously shitting your pants in shame.

Last Friday learned that Postgres (and apparently MySQL) will effectively ignore an index in a column when combining “ORDER BY … LIMIT …” and “WHERE some_column IN some_array”. I had introduced a query that timed out on a critical prod table , fixed it by removing the limit, and turned it into a teaching moment to others who could have made the same mistake: https://stackoverflow.com/questions/8909163/avoid-full-table...