Barcodes That Aged Like Milk
Background
I've always wanted to take some old software and figure out how it works, and update it to work in the modern day with modern protocols and formats. I had wanted to before make a consulting company that would try to bid on software renovation projects to fix things like 40 year old COBOL unemployment systems. However I realized that these things are massive undertakings with not so great budgets, and very little eagerness on the part of younger programmers. And most importantly usually the call for bids makes it clear that the project would be to modernize rather than a full over-haul and remake due to cost considerations. Ultimately I would want to do some kind of retrofit project and get some old code working again, and so that leads to the premise of today's blog post.
I found the perfect crux of issues in a project on milk.com, which is owned by Dan Bornstein who was instrumental in the early days of Android for creating the Dalvik VM. There's a UPC/EAN barcode generator he made back in 1994 and when you try to run it you get the infamous broken image icon. He acknowledges that this occurs because it outputs using the XBM format, which no modern browser supports but is a very efficient B/W image encoding that is easy to output as a text stream. He includes the source code on his website, with a permissive license that just requires attribution back to his website and no commercial uses unless otherwise negotiated. He politely requested that people send him an email were they to do something cool with his code.