TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

I found one of my first programs (Java, 2011) on the Wayback Machine and it runs

210 pointsby khinerabout 1 year ago

42 comments

n9about 1 year ago
The first major piece of code that I ever wrote was a publishing workflow management system for a major newspaper. It routed page images to presses and generated pdfs of each page in each edition of the newspaper and made pdfs of each day&#x27;s newspaper editions and published them to a static website where they were archived.<p>I was only allowed to use perl 4 to write this software and I wasn&#x27;t allowed to use a database, even though the datastructure for a day&#x27;s publishing batch had tens of thousands of keys and values and required RDBMs style queries. It also features a configurable postscript parser that extracts all kinds of data from completed newspaper pages that informs the publishing system. When I wrote it I was told that it would run for a few months only while we figured out how to get a $5M commercial product to handle the work.<p>The whole thing was written in perl 4 style OO Perl and came in at about 16k lines of code in the end -- most of the code was for the postscript processor and tons of cruft that I had to write to made a relational DBMS in memory because I wasn&#x27;t allowed to use mysql. It took me four months to write it. I launched it in January of 2002 and it runs to this day. I know this because I got a call about it last month where my replacement&#x27;s replacement&#x27;s replacement asked me a few questions about what OO Perl is because he wanted to make a few changes. Good luck! It still runs and is responsbile for about 80% of what it was originally built to do. It is used by hundreds of people daily, who by all reports absolutely hate it. There are people working at the newspaper today that use it regularly that were not born when I wrote it. I am twice as old as I was when I wrote it.<p>They have apparently tried to replace it several times over the last 22 years and have failed to do so... this is likely due to the blockheadedness of my old boss (who is still there) as much as the radically insane obscurity of my code, which is exactly how you&#x27;d expect 16k lines of 22 year old OO Perl 4 would be.
评论 #40194076 未加载
评论 #40194826 未加载
评论 #40194964 未加载
评论 #40193537 未加载
评论 #40194041 未加载
评论 #40193848 未加载
评论 #40196598 未加载
评论 #40198112 未加载
评论 #40215516 未加载
评论 #40202113 未加载
评论 #40194703 未加载
评论 #40194173 未加载
aabhayabout 1 year ago
The wayback machine is pure nostalgia. Every time I go there I’m truly amazed at what it’s like to have a society wide memory that automatically captures these different moments of our lives.<p>Old pictures I never thought I’d ever see again. Landing pages for old companies I’ve built and only a handful of my closest friends remember. Blog posts from long deleted places, times, and mental caverns.<p>Just incredible.
评论 #40194028 未加载
评论 #40194177 未加载
评论 #40195090 未加载
khinerabout 1 year ago
One of the first programs I ever wrote - a program to find valid English crossword fills given a grid pattern with optional partial completions.<p>This project came to mind recently and I looked around on the Wayback Machine. Turns out I posted the jar on MediaFire and linked to it on an old blog on Jan 2, 2011. Luckily, there was [_one capture_ of the jar on MediaFire](<a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20240123154949&#x2F;https:&#x2F;&#x2F;download1655.mediafire.com&#x2F;lbbcl7ez7adgib9-IUIf0OotUQ4kI4yMugl-Z7a2t57Sf6zL1ibXfzI6OpKsYixWErxnSa_xXvfW7VUqBTZMquQnFAxdKdhgMHDW7saQ3hopgoAbW0-Qae5nX9nbIjSjlrs595R8mCsxTh5KCv0ls3-Pizdj5ZDuPJ0Inlg2CUKDws4&#x2F;rwpl49xusm55s2a&#x2F;WordFillVer2.jar" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20240123154949&#x2F;https:&#x2F;&#x2F;download1...</a>) from oddly recently (Jan 23 2024). I downloaded and opened it on my 2023 MacBook Air, and it ran! Since it&#x27;s Java, I&#x27;m guessing it runs on other computers, too :)<p>It was a delight to find it still working. Anyone else ever find an old program you thought you lost and get it running again?
评论 #40194977 未加载
评论 #40195310 未加载
xandriusabout 1 year ago
Not to be snarky but 2011 is yesterday for programming, no major shift. I&#x27;d imagine <i>almost</i> all code written there would be able to run today.
评论 #40195650 未加载
评论 #40201254 未加载
评论 #40199374 未加载
评论 #40195620 未加载
squigzabout 1 year ago
The Internet Archive is (IMO) one of the most important endeavours of our time.<p>Consider donating: <a href="https:&#x2F;&#x2F;archive.org&#x2F;donate" rel="nofollow">https:&#x2F;&#x2F;archive.org&#x2F;donate</a>
评论 #40203056 未加载
noufalibrahimabout 1 year ago
My earliest &quot;large&quot; program which I can remember was a drawing program I wrote in GW BASIC. You could draw figures, change brushes, I think it had a crude filling function and a few other things. In my innocence, I backed it up onto 5.25&quot; floppy disks, labelled them neatly and put them in a box. This was in the late 1980s.<p>Fast forward to 2024, I still have the disks but no drive to read them. On the other hand, the notebooks where I wrote out some of the routines for the programs are still with me and I can read them. Says a lot about &quot;digital archiving&quot;.
评论 #40195330 未加载
评论 #40196019 未加载
评论 #40197117 未加载
bandramiabout 1 year ago
One of my first jobs was writing a Perl script in 1996 that did an incredibly mundane set of checks on some routers in a datacenter (using this really cool new technology &quot;BGP&quot;) and offered essentially a public REST API (though we didn&#x27;t call it that back then) you could periodically poll to see their status. Every so often I check to see if it&#x27;s still there, and it always has been. I really hope it makes it to 30 years.
brabelabout 1 year ago
You can download the old Java build system, Apache Ant, from 2003 and it still runs without issue:<p><a href="https:&#x2F;&#x2F;archive.apache.org&#x2F;dist&#x2F;ant&#x2F;binaries&#x2F;" rel="nofollow">https:&#x2F;&#x2F;archive.apache.org&#x2F;dist&#x2F;ant&#x2F;binaries&#x2F;</a><p>Download the bin.zip distribution, unzip it, then run this comand:<p><pre><code> java -cp &quot;lib&#x2F;*&quot; org.apache.tools.ant.Main </code></pre> It runs on Java 21 without issues :D.<p>Java is like Windows: it can run stuff written for it forever.
jraphabout 1 year ago
If you are so inclined, a decompiler might be able to &quot;recreate&quot; a big part of the source code. IntelliJ IDEA&#x27;s one (Fernflower) works well, its fork Vineflower seems like an interesting option too. Both are released under Apache 2.<p>Fernflower works so well I don&#x27;t always immediately notice I&#x27;m debugging decompiled code.
评论 #40194295 未加载
评论 #40195010 未加载
DrBazzaabout 1 year ago
One of my first pieces of code from my first job in 1997 still exists and runs according to a long suffering colleague that <i>still</i> works at the same place. That also means the code has gone from SCCS -&gt; CVS -&gt; Clearcase -&gt; Perforce -&gt; SVN -&gt; Git. That&#x27;s enterprise development for you.
gedyabout 1 year ago
Mine was from 1984, I recovered basic program from a Commodore 64 disk using a USB to 1541 controller. A character sheet creator for a &quot;homicidal maniacs&quot; role playing game my school friends and I created :-).
linker3000about 1 year ago
I found some old Turbo Pascal code I wrote in the late 1980s - early 1990s and managed to compile and run it under a DOS emulator a few years back.<p>The code is a map editor for the Rockford (&#x27;Boulderdash&#x27;) PC game. Unfortunately, the versions of Rockford in the wild, for download and online play, seem to be based on a later game engine and the map format has changed so the editor no longer works.<p>The code was designed to produce registered and un-registered versions, but I never released it into the wild.<p>If anyone has a copy of the original Rockford game version I&#x27;d love to know about it.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;linker3000&#x2F;Historic-code-PC-Pascal-and-ASM-&#x2F;blob&#x2F;master&#x2F;ROCKED~1.PAS">https:&#x2F;&#x2F;github.com&#x2F;linker3000&#x2F;Historic-code-PC-Pascal-and-AS...</a>
dolmenabout 1 year ago
I found mine too, archived in 2001, but my browser can&#x27;t run Java applets anymore.<p><a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20010407081008&#x2F;http:&#x2F;&#x2F;www.multimania.com&#x2F;dolmen&#x2F;barcode&#x2F;index.shtml" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20010407081008&#x2F;http:&#x2F;&#x2F;www.multim...</a><p>In fact I noticed 10 years after the publishing when I tried to run the applet that it didn&#x27;t even run because the compiler of that time had generated invalid byte code (not caught by the JVM) or that the source code itself was invalid and that had not been caught by the compiler. &quot;Compile Once, Run Everywhere&quot;, they said.
评论 #40200969 未加载
Takennicknameabout 1 year ago
What a strong ad for Java
评论 #40194610 未加载
评论 #40194447 未加载
评论 #40194508 未加载
评论 #40194915 未加载
评论 #40194966 未加载
评论 #40195173 未加载
nikolajanabout 1 year ago
My first piece of code (substantive) was an ecommerce platform (frontend and backend). Complete overkill, and the startup was dead a year later, but the project itself was fun.<p>Likely 15k+ lines of code, not a single unit test; simpler times :)
haolezabout 1 year ago
On a slightly related note, old Emacs modes (elisp) run incredibly well to this day. There might be working code there that spans over 3 decades.
评论 #40194716 未加载
tmoertelabout 1 year ago
The oldest thing I&#x27;ve written that I can still find on the Internet — the original disks are long gone — is a microbe simulator I wrote about 35 years ago. Apparently, at least two people archived a copy:<p><a href="https:&#x2F;&#x2F;www.macintoshrepository.org&#x2F;11521-microbe-swarm" rel="nofollow">https:&#x2F;&#x2F;www.macintoshrepository.org&#x2F;11521-microbe-swarm</a><p>I suspect that it would run as is on a 68k Macintosh emulator.
guessbestabout 1 year ago
I have Objective-C software for iOS that was built for iOS 3 that still runs on the latest version of iOS and people still pay for it. Strange how language stability is an achievable goal.
评论 #40195213 未加载
fragmedeabout 1 year ago
Damn, that makes me want to see if I can dig up the asm code I wrote for the TI-83 and run in on an emulator on modern hardware. Really happy for you that you were able to find that jar!
booleanbetrayalabout 1 year ago
Wayback machine lead me to rediscover a Doom 2 level I made awhile back [1]. What a treasure of a resource!<p>[1] <a href="https:&#x2F;&#x2F;www.doomworld.com&#x2F;idgames&#x2F;levels&#x2F;doom2&#x2F;p-r&#x2F;rurqta" rel="nofollow">https:&#x2F;&#x2F;www.doomworld.com&#x2F;idgames&#x2F;levels&#x2F;doom2&#x2F;p-r&#x2F;rurqta</a>
urbandw311erabout 1 year ago
I also found mine! The first program I wrote (aged 13) was in 1991 - it was “RADBench” a program for the Commodore Amiga that created a slimmed-down workbench that lived on a RAD disk (like RAM but survived a soft reboot). Meant you could use your computer without having to reinsert the disk containing the main OS binaries whenever you wanted to do anything.<p>I distributed it via public domain shareware listings - back then you had to send them off to a distributor and they would advertise their apps in the major computer magazines.<p>I used to get royalty cheques in the post! Which I think I spent on sweets.<p>Turns out most of the shareware from back then has been archived online so I was able to get it running again on an Amiga emulator and read all the immature embarrassing stuff that a 13 year old kid thinks belongs in a ReadMe… ;-)
oefrhaabout 1 year ago
My first &quot;major&quot; program was a ASCII art based Super Mario Bros clone in Turbo Pascal from 2005. I don&#x27;t have it anymore, but since Turbo Pascal hasn&#x27;t changed and text terminals haven&#x27;t changed, I&#x27;m pretty sure it still works.
Brajeshwarabout 1 year ago
This is cool. I went there to check if I can find some of mine and found the page that links to some of my public downloads, unfortunately, none of the Zip files were archived.<p>And the Ruffle Flash Emulator still do not work with most interactive Flash Applications!
评论 #40198939 未加载
Suppaflyabout 1 year ago
My son found some of my old java code from 20 years ago and managed to get a couple of the programs to run, with some very minor modifications. The java applets not so much, because no browser has had support for applets for a decade or so.
评论 #40194530 未加载
calvinmorrisonabout 1 year ago
Here&#x27;s the oldest i could find, still hosted by sourceforge all these years later... © Calvin Morrison 2009<p><a href="https:&#x2F;&#x2F;mocicon.sourceforge.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mocicon.sourceforge.net&#x2F;</a>
daeminabout 1 year ago
I&#x27;ve recently dug up some of my first &quot;larger&quot; scale projects that I implemented in the early 2000&#x27;s, including compiled executables, which managed to run unmodified on modern Windows.<p>That is an achievement in compatibility.<p>It was 2 demos of my game engine project, one compiled in late 2001 and the other in 2002 based on the exe file timestamps. They used Win32 and OpenGL, and surprisingly work faster on my laptop with integrated graphics than on my beast desktop PC.
thrdbndndnabout 1 year ago
&gt;on the Wayback Machine<p>I mean, the original MF link literally still works (I intentionally break the link in case HN filters it)[1].<p>&gt; Luckily, there was [archived] from oddly recently (Jan 23 2024)<p>You can see archiving reason on WB&#x27;s index page [2].<p>In this case, it was archived due to &quot;why: archiveteam, archiveteam_mediafire&quot;.<p>[1] http s:&#x2F;&#x2F; www. mediafire .com&#x2F;file&#x2F;rwpl49xusm55s2a&#x2F;WordFillVer2.jar<p>[2] <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20240000000000*&#x2F;https:&#x2F;&#x2F;download1655.mediafire.com&#x2F;lbbcl7ez7adgib9-IUIf0OotUQ4kI4yMugl-Z7a2t57Sf6zL1ibXfzI6OpKsYixWErxnSa_xXvfW7VUqBTZMquQnFAxdKdhgMHDW7saQ3hopgoAbW0-Qae5nX9nbIjSjlrs595R8mCsxTh5KCv0ls3-Pizdj5ZDuPJ0Inlg2CUKDws4&#x2F;rwpl49xusm55s2a&#x2F;WordFillVer2.jar" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20240000000000*&#x2F;https:&#x2F;&#x2F;download...</a>
评论 #40194746 未加载
self_awarenessabout 1 year ago
I&#x27;ve found some of my old .jar&#x27;s (some small games) written on Windows in the 2000&#x27;s. They still run on Linux 20 years later. That&#x27;s why I like the JRE.
INTPenisabout 1 year ago
I recently realized how much data the wayback machine is archiving when I found my old webpage with dozens of videos and photos of my puppies being born and they all worked.
NovemberWhiskeyabout 1 year ago
I promise you that there are major businesses still running on Java 6 code from 2011.
评论 #40197219 未加载
评论 #40197904 未加载
winternewtabout 1 year ago
The first Java code I wrote was in 1996 (IIRC) and it is still out there, but it doesn&#x27;t work anymore because it is a Java applet.
评论 #40196662 未加载
jdeisenbergabout 1 year ago
Plain old JavaScript (without frameworks) holds up rather well. My simplified blackjack game from 1998 (modified in 2003) and a calendar program from 2001 (probably written before then) still work in a modern browser.<p>The calendar program uses document.write(), which is very embarrassing nowadays, but then again, that was what people did back in 2001.
lnxg33k1about 1 year ago
My first program was a mIRC script :D
评论 #40194975 未加载
amouatabout 1 year ago
I wrote a similar program once. To get it to be efficient I had to use a bunch of heuristics including scrabble scoring words, so it would prefer words with low scrabble scores which were more likely to fit in with other words.
fslothabout 1 year ago
So I’ve turned into an old man screaming at the sky. 2011 is not that long ago! Lot’s of production code from that time can be still considered fairly ”fresh”.
Repulsion9513about 1 year ago
&gt; Luckily, there was one capture of the jar on MediaFire from oddly recently (Jan 23 2024).<p>Why is that lucky? The MediaFire link is still live anyway.
评论 #40194938 未加载
smusamashahabout 1 year ago
To author, if you use IntelliJ, you can very easily get the source back by dragging&#x2F;opening compiled .class files in IntelliJ
sandosabout 1 year ago
Wow, I did some work in summer 1996 in java, web applets! Would be awesome to find that again, but I think the chances are less than slim for that happening.<p>Actually I did some somewhat impressive graphical x86 assembly programs around 1994-95 which I would have really liked to see today, but I saw no value in those once I had done them. :&#x2F;
brlcadabout 1 year ago
Boggles my mind when coders don&#x27;t save everything they&#x27;ve ever written. It&#x27;s easy to be a digital pack-rat without much consequence.<p>That said, my first Java 1.02 programs from the 90&#x27;s still compile and the old jars run surprisingly well too. Color me impressed!
评论 #40194249 未加载
评论 #40196082 未加载
eurekinabout 1 year ago
&gt; Download the jar file &gt; <a href="https:&#x2F;&#x2F;github.com&#x2F;khiner&#x2F;CrosswordFiller&#x2F;WordFillVer2.jar">https:&#x2F;&#x2F;github.com&#x2F;khiner&#x2F;CrosswordFiller&#x2F;WordFillVer2.jar</a><p>Returns:<p>&gt; Not Found<p>currently
评论 #40196006 未加载
评论 #40199016 未加载
jandreseabout 1 year ago
I wrote some Hypercard stacks back in the 90s and uploaded them to AOL. A couple of years ago I found it again on archive.org complete with emulator.
alhsnabout 1 year ago
I suggest that you reverse engineer (decompile) the jar file and check the java code too. If you didn&#x27;t know, it is very easy to do.