Live data from Hacker News

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

github.com

31–40 of 193 posts

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

#31

What a strong ad for Java

Java's maintained almost perfect backward compatibility. If you want code you wrote today to run in 10 more years, Java is probably the best choice. Most other languages have too much of a history of breaking changes, or if you pick C/C++, you'll have issues linking against an old UI library.

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

#34

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.

Use appletviewer. I have something from 1998 which still runs using that.

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

#35
post #29

Earlier quoted context omitted.

I try donating every few months. Maybe $5-$10 each time. Like yourself, I think it's an incredible resource and don't mind pitching in( when I can) to help keep it running.

Same here, I have them set as my charity through Amazon smile and humble bundle

Amazon Smile was shut down, unfortunately: https://www.aboutamazon.com/news/company-news/amazon-closing...

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

#36

What a strong ad for Java

2011 for Java is nothing. I've used JDBC driver written for Java 1.4 (2002) in Java 17 and I absolutely sure that it'll work with Java 21 just as well.

Java backwards compatibility is real and it works absolutely fine unless you do bad things.

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

#37
My earliest "large" 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" floppy disks, labelled them neatly and put them in a box. This was in the late 1980s.

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 "digital archiving".

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

#38
post #4

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's newspaper editions and published them to a static website where they were archived. I was only allowed to use perl 4 to write this software and I wasn't allowed to use a database,…

Ah ah Perl, the king of all WORN languages: Write Once, Read Never. Because It is so powerful that you get burned if you come too close.

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

#39
post #15

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.

Lisps that support macros are pretty much infinitely backwards compatible. Even across dialects. I wrote a set of macros to be able to program in a subset of Scheme and Hylang, and run that code on either :)

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

#40

>on the Wayback Machine I mean, the original MF link literally still works (I intentionally break the link in case HN filters it)[1]. > Luckily, there was [archived] from oddly recently (Jan 23 2024) You can see archiving reason on WB's index page [2]. In this case, it was archived due to "why: archiveteam, archiveteam_mediafire". [1] http s:// www. mediafire .com/file/rwpl49xusm55s2a/WordFillVer2.jar [2] https://web…

Good catch! I didn’t realize the original link still worked. Also didn’t know about the “why” notes on WB index. Thanks!
Post reply on HN