Live data from Hacker News

Ask HN: Oldest code you have written that is still in use?

news.ycombinator.com

311–320 of 363 posts

Re: Ask HN: Oldest code you have written that is still in use?

#311
Hmmm... back in around 1997 I rewrote the Synaptics TouchPad driver for Windows NT, and most of that code is still in the drivers today...

So I bet I win the number of copies still being used by nearly 20 year old code among the comments here... probably something between a quarter to half a billion of those laptops still in use...

Re: Ask HN: Oldest code you have written that is still in use?

#312
post #44

The embedded systems code that I wrote for an Opthalmic Ultrasound in 1989 is still running. Once code becomes FDA approved, you don't change it.

> Once code becomes FDA approved, you don't change it.

And that's why medical software is so buggy.

Re: Ask HN: Oldest code you have written that is still in use?

#313
post #91

I wrote a data recovery POSIX compliant command line app in C in 2003 that runs under OS X, Windows, and linux. It's still selling well, and has been all these years. Over time it's generated millions in revenue as it's been used by several different competing apps, and I have only recompiled it about twice in the last 15 years, each time only making a (very) minor change. It went a good decade without a recompile an…

This is great, I hope you retained 100% rights and are the one raking in that $? Considering the rise of SSD's, what's your prediction of how quickly your revenue will decline?

I did retain all the rights, but other companies published it under their branding. I ended up getting somewhere between 20-30% all up. I'm not rich, I still have to work for a living. They burnt through all the revenue. The main company that was publishing it moved to San Francisco, hired offices and staff, and burnt through all the capital almost instantly. I just banked mine and used it for travel (for a decade).

Re: Ask HN: Oldest code you have written that is still in use?

#314
post #131
post #91

I wrote a data recovery POSIX compliant command line app in C in 2003 that runs under OS X, Windows, and linux. It's still selling well, and has been all these years. Over time it's generated millions in revenue as it's been used by several different competing apps, and I have only recompiled it about twice in the last 15 years, each time only making a (very) minor change. It went a good decade without a recompile an…

Cool stuff. You are the same person that built a OS X file access filtering app but didn't publish it, right? I think you were considering open sourcing it, any news on that?

I did publish it, but it didn't sell well, because our marketing sucked. I'd give you the source code if you asked for it I think. I don't think it's really worth open sourcing at this point, I doubt there's much interest in it.

Re: Ask HN: Oldest code you have written that is still in use?

#315
post #279
post #270

Earlier quoted context omitted.

This is a great illustration of why, once you've got a user base of any size, backwards-compatibility needs to be one of your touchstones. (eg. if you add {macro}, continue to support !macro as well) Sometimes you do find that you've painted yourself into a corner, though.

Certainly, backward compatibility is critical and has always been a weakness of mine. I've always been an idealist there. But in xkas' case, this was code from before I really learned how to program; let alone design a proper parser. This would be like asking for strict compatibility between Linux 0.01 and Linux 3.0. I understand how SMWC became trapped in a cycle of using xkas v06, but any new projects really have n…

I wasn't trying to comment directly on the specifics of xkas - I just think this is a perfect illustration of how backwards-incompatibilities that means users can't just upgrade and keep working introduce friction against upgrading, and once you get too much friction significant portions of your userbase will stop upgrading at all. I think this lesson is really valuable in a wider context than xkas.

Since you mention Linux, this is why Linus has the "no regressions" policy - if something works on kernel N then it should also work on kernel N+1, so that people can upgrade their kernel and not worry about something breaking in userspace. (I think there is actually a very good chance that an a.out binary compiled for Linux 0.01 would still work today.)

Re: Ask HN: Oldest code you have written that is still in use?

#316

I am the original author of LatexMk[1], a Perl script that runs Latex the correct number of times to ensure all cross-references and such were resolved. It can also run continuously with a previewer and several other goodies. I wrote it around 1993 to scratch my own itch, adapting it from a little script called “Go” by David J. Musliner. At the time I was using a literate programming tool that generated Latex from C…

I signed up for an account on this site just to thank you for Latexmk. I cannot tell you how useful I've found it for writing all of my honours work. The nonstop mode especially is fantastic.

Re: Ask HN: Oldest code you have written that is still in use?

#317

Earlier quoted context omitted.

We had a guy who wrote the other 14900 loc in a similar situation and made the whole thing really crappy. He used to say we cannot blame him because he inherited the crappy 100 loc in the first place.

After a few hundred new lines ones would think a rewrite might have been more appropriate.

There is no single point in time where a rewrite is "more appropriate" than adding this one line of code. At least not when you have a deadline.

Re: Ask HN: Oldest code you have written that is still in use?

#318
post #147

From 1994-2001 I worked (in a small team) on a C++/Paradox school administration system; it's still in use today in hundreds of public schools in South Australia. I think they've tried to replace it via tender at least once, but haven't found an affordable / suitable replacement. It was quite amusing to get invoices from my daughter's (born in 1996) school produced by this program on a format I had laid out. There's…

I'd be curious to know how many of these programs/scripts/etc. have easter eggs hidden in them. It seems like you're the only one to mention it so far.

Have you played the pinball game in Word 97? Or the flight simulator in Excel 97?

Re: Ask HN: Oldest code you have written that is still in use?

#320

I wrote an in-MUD game for a Wheel of Time-themed MUD around 2005; I stopped in last year to see how things were going and was pleasantly surprised to see that not only were my game and helpfile still in the MUD, but that there was an ongoing game as I logged in. Satisfying to know that something I made over ten years ago is still being enjoyed.

Mind explaining the in-MUD game? Was it an adaptation of Foxes and Snakes?

It was an adaptation of the Mafia/Werewolf game called The Darkfriend Hunt. You'd have a Darkfriend, Aes Sedai, Warder, and I think a few other jobs; the goal was for the players to find the Darkfriend(s) before the Darkfriends killed everyone.
Post reply on HN