What have you wasted most time on?
Posted: Mon Sep 18, 2017 10:04 am
I think most people here have had one or more bugs that they have spent multiple days of work on without getting anywhere.
It's even worse to spend countless hours on something that you ultimately lose interest in and ditch.
What did you waste an incredible amount of time on (both in your OS, and in other programs)?
I never got beyond the point of a kernel that echoes the input of a PS/2 keyboard. Even then, I had a weird printf bug that kept me busy for days. Eventually I made a topic about it (which you can find somewhere here, but I won't link to it because I'm always slightly embarrassed when I see older posts by myself) and of course, someone saw fairly quickly that I didn't respect the ABI.
More recently, I worked in a high-level synthesis language that is an extension of Java, and I made the famous 'comparing objects with ==' error. Which is not too bad once you figure out the problem, but unfortunately for me this was an environment without a debugger (since the Java-ish code was only to generate (V)HDL code, the developers just assumed that you'd never need something so complicated that it would need debugging), and the resulting error was quite hard to spot.
Both cases made me lose my mind because they were in a place that I thought that the error could not possibly be (having wrong assumptions seems to be of the most difficult things to fix - so I try to work on this: If something seems off, check your assumptions).
It's even worse to spend countless hours on something that you ultimately lose interest in and ditch.
What did you waste an incredible amount of time on (both in your OS, and in other programs)?
I never got beyond the point of a kernel that echoes the input of a PS/2 keyboard. Even then, I had a weird printf bug that kept me busy for days. Eventually I made a topic about it (which you can find somewhere here, but I won't link to it because I'm always slightly embarrassed when I see older posts by myself) and of course, someone saw fairly quickly that I didn't respect the ABI.
More recently, I worked in a high-level synthesis language that is an extension of Java, and I made the famous 'comparing objects with ==' error. Which is not too bad once you figure out the problem, but unfortunately for me this was an environment without a debugger (since the Java-ish code was only to generate (V)HDL code, the developers just assumed that you'd never need something so complicated that it would need debugging), and the resulting error was quite hard to spot.
Both cases made me lose my mind because they were in a place that I thought that the error could not possibly be (having wrong assumptions seems to be of the most difficult things to fix - so I try to work on this: If something seems off, check your assumptions).