News for hackers. Stuff that matters.
Re:Absolute truths I unlearned as junior developer by beat on Friday June 07, 2019 @03:08PM (#20127677)
I actually found an OS bug in AIX on my first real I-designed-this code project. Worse, the bug was discovered only when the code went into production - it behaved differently on the test servers than on the production servers! The bug caused mmap() system calls to randomly overwrite certain pages in memory with NULLs. Yeah, that was fun. And it was caused by the order in which patches had been applied, which was why it behaved differently in production than in dev/test.

If some second year programmer told me that nonsense, I'd make them go back and either find their bug, or write a test program that exercised the bug in isolation (which was what I did).

Re:Absolute truths I unlearned as junior developer by ironmagma on Friday June 07, 2019 @09:50PM (#20130112)
Were you finally believed?
Re:Absolute truths I unlearned as junior developer by beat on Sunday June 09, 2019 @09:48PM (#20143220)
Eventually. I had to write a test program, as small and neat as possible, that demonstrated the problem on both test and prod systems. Then I got permission to send it to IBM (with my binary, my source code, and my logs). They eventually determined it was caused by the order patches had been applied on the servers - they had the same patches, just applied in a different order.