Live data from Hacker News

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

news.ycombinator.com

111–120 of 363 posts

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

#111
post #106

There's an entire community of video game hackers (smwcentral.net) using a cross-assembler I wrote in 2001 named xkas. I added a few minor patches and by early 2004 I had released the final version, v06. I never really intended for anyone to use it seriously. I made it for myself, but went ahead and posted it online anyway. It is a 1500-line single-file, nearly-commentless, nearly-spaceless abomination of code with n…

thanks for writing this up for us. This is great.

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

#112

Roughly a decade. The VB6 program that I wrote to test a prototype of a measurement instrument, is still used in the factory, supporting manufacturing of the released product. It's a couple thousand lines, and nobody wants to touch it with a ten foot pole, but it also has no known bugs, and will live for the remaining lifetime of the product.

>no known bugs I don't think I have ever heard that phrase. Every non-trivial piece of software I have ever worked on has a collection of bugs that just get carried forward indefinitely ie hard to fix, only affects a small number of people and there is an easy work around so just ignore it. The idea of having zero open bugs is... foreign.

Space shuttle software was purported to be bug-free

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

#113
post #106

There's an entire community of video game hackers (smwcentral.net) using a cross-assembler I wrote in 2001 named xkas. I added a few minor patches and by early 2004 I had released the final version, v06. I never really intended for anyone to use it seriously. I made it for myself, but went ahead and posted it online anyway. It is a 1500-line single-file, nearly-commentless, nearly-spaceless abomination of code with n…

>(one user proved it was Turing complete and wrote a Brainfuck parser in it.)

Okay. That is hilarious.

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

#114
Umix, a program for adjusting soundcard volumes and other features in soundcard mixers. Wrote during 2000 - 2003.

Surprised to see it's still being downloaded actively, supposedly by Linux distributions that include it still for some reason.

Was tired of Aumix back then being buggy, so I wrote my own replacement. I think my biggest wtf moment was this being included in the FreeBSD project (at least 4.0), and many Linux distributions also, so it's now out there forever.

http://umix.sourceforge.net/

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

#115
post #79

1985, a printer driver for c.itoh matrix printer (assembler), still working. p.s. I was a 10 years old boy. (:

You wrote a printer driver when you were 10!? Jesus ... about all I managed at that age was lasting through a few waves of Space Invaders.

Yeap, I didn't have access to "normal game computers" like Yamaha MSX, Spectrum, Atari, etc but I had access to IBM PC/XT(well also to IBM System/360:). There were no toys in those days, so we(my friend and I) wrote a lot of clones of tetrises, snakes, arkanoids, space invaders using a text mode. The 8086 assembler was pretty easy and fun. Any program at this age it was like a new adventure. All this was much more interesting than any of the games.

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

#116
post #106

There's an entire community of video game hackers (smwcentral.net) using a cross-assembler I wrote in 2001 named xkas. I added a few minor patches and by early 2004 I had released the final version, v06. I never really intended for anyone to use it seriously. I made it for myself, but went ahead and posted it online anyway. It is a 1500-line single-file, nearly-commentless, nearly-spaceless abomination of code with n…

>(one user proved it was Turing complete and wrote a Brainfuck parser in it.) Okay. That is hilarious.

I couldn't find said example (sorry), but I did find one of his other examples of abusing the assembler:

http://bin.smwcentral.net/u/1686/boredom.asm

You won't believe me unless you try it for yourself, but ... download xkas v06 here:

http://www.romhacking.net/utilities/269/

Then download the above boredom.asm. And now run the following on the command-line:

    touch boredom.sfc
    xkas boredom.asm boredom.sfc
Note again that this is a cross-assembler to produce code for the Super Nintendo. Yet you will be greeted by a fully-playable game of Snake in the terminal window. No, I am not kidding. (The black hats here can probably guess what's going on.) For those who won't/can't try it out: http://i.imgur.com/LTSAHw1.png

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

#117
post #60

Earlier quoted context omitted.

I feel like I have stockholm syndrome after using Notes from several years. I hated notes, but I really miss the 'Copy to New' function from creating new emails from already sent items. Anyone know of a client that supports this other than Notes? (sorry for the hijack)

I just use "forward" for that in outlook/gmail and delete the first few lines that get injected. Is that what you mean?

Not quite. I have to edit the subject, then add recipients, then edit the body...

Copy to New just gave the identical email, recipients and all, in a new email window. For sending things like monthly reports to a list of people, this was fantastic. 'copy to new, delete attachment, drag+drop new attachment, send'

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

#118

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'm using latexmk right now. Thank you!

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

#119
Oldest surviving code dates back to 2006. It's a simple PHP script, that generates an Excel file(without the help of any libraries. I was really into not-invented-here then) containing information about banners shown for a week. If it works, don't touch it, right?

Second one dates back to 2008. It's a webapp written in Django for real estate agents. Full of bugs, requiring careful input of data in order not to mess up the listing. I went on a 3 day hackaton somewhere back in 2011 to fix all the bugs for free and got some very angry calls, because things weren't working like they used to before. Turns out people were aware of these bugs and made their own workarounds. I was forced to roll back all my changes and backport just a single change - the ability to reorder images by using drag and drop.

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

#120

A section of macro assembler written in 1983/84 that I wrote that validated the MICR encoding on the bottom of a cheque ran as far as I know every day without error until at least 2007 processing 30-40% of the daily cheques in a European country It may still be running but all the guys I knew are gone! I'm the reason banks have technical debt. They'd track me down every 10 years or so when a major change was required…

What is investment banking if not gambling?!
Post reply on HN