OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Sep 26, 2017 12:16 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: What have you wasted most time on?
PostPosted: Mon Sep 18, 2017 10:04 am 
Offline
Member
Member

Joined: Fri Jan 04, 2013 6:56 pm
Posts: 98
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).


Top
 Profile  
 
 Post subject: Re: What have you wasted most time on?
PostPosted: Mon Sep 18, 2017 10:47 am 
Offline
Member
Member

Joined: Mon Jul 05, 2010 4:15 pm
Posts: 488
ACPI


Top
 Profile  
 
 Post subject: Re: What have you wasted most time on?
PostPosted: Thu Sep 21, 2017 1:38 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7127
Location: Germany
The most time-wasting bug I've ever had in a project of my own was in the printf() code for PDCLib. I stared at it, I tried to trace it, I step-debugged it, and this cockroach just avoided "being seen". In the end it turned out that I was adding to the wrong variable, leading to not-all-the-time off-by-one errors in space padding.

Funny enough, I found the bugger during the Breakpoint 2006 demo party (hence the dedication in the source comment). Couldn't find it sober for weeks. But after three days of beer and junk food, in a packed and noisy and smelly coder party hall, it jumped at me and said "here I am, you twerp".

#-o

As for time-wasting projects... as I don't consider PDCLib a wasted effort in the least, I don't count the hours spend on it. I am not so sure about one other non-computing project. I re-edited the rules for Rolemaster 2nd Ed. and translated them to German. For copyright reasons, I will never be able to distribute this work to any extend -- "fair use" allows me to pass out copies of it to my players, but that's it.

588 pages of table-rich 10pt two-column roleplaying goodnees, layed out in LaTeX glory. Took me about five years, working on it basically all my spare time.

The former C.E.O. of Iron Crown Enterprises, Coleman Charlton, called me "a little nuts" for doing this. :P

I have yet to actually start a group, because "life happened" between completion of the tome and now. But things are looking better these days.

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re: What have you wasted most time on?
PostPosted: Mon Sep 25, 2017 11:54 am 
Offline
User avatar

Joined: Fri Oct 14, 2016 7:37 pm
Posts: 15
Location: Canada
OSwhatever wrote:
ACPI

ACPI yeah

_________________
"Strive for progress, not perfection." - Anonymous
LiquiDOS: My weird OSDev project.
~Kevin aka TheCool1James on some parts of the web.


Top
 Profile  
 
 Post subject: Re: What have you wasted most time on?
PostPosted: Mon Sep 25, 2017 12:41 pm 
Offline
Member
Member

Joined: Wed Nov 18, 2015 3:04 pm
Posts: 269
Location: San Jose San Francisco Bay Area
open source linux builds, python libraries. all waste of time and energy.

_________________
key takeaway after spending yrs on sw industry: big issue small because everyone jumps on it and fixes it. small issue is big since everyone ignores and it causes catastrophy later. #devilisinthedetails


Top
 Profile  
 
 Post subject: Re: What have you wasted most time on?
PostPosted: Tue Sep 26, 2017 12:58 am 
Offline
Member
Member

Joined: Thu May 17, 2007 1:27 pm
Posts: 318
TheCool1Kevin wrote:
ACPI yeah

Did you guys write your own AML interpreters?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group