Original Hacker News Source Code (2009)

4 years ago (github.com)

Is there a particular reason the current HN source code isn't public? Is it security-related (people might find and exploit bugs), privacy/secrecy-related (YC-internal features that aren't publicly disclosed), or just tradition?

  • More privacy than security related, in the way you're using those terms. There are a lot of anti-abuse features, for example, that need to stay secret (yes we know, 'security by obscurity' etc., but nobody knows how to secure an internet forum from abuse, so we do what we know how to do). It would be a lot of work to disentangle those features from the backbone of the code. Actually pg used to use a clever 'hooks' design to keep those things separate, but inevitably they bleed into each other.

I always loved working in LISP, it was just so concise and really made you focus on code structure and hierachy. Need to get back into it again sometime.

  • Agreed, there's something special about LISPs I can't quite put my finger on. Which is kind of funny, because I've never used any lisp professionally and I don't think there are very many use cases I'd use one for.

    Maybe SICP is just an unreasonably excellent book?

    • To me, the specialness of LISPs comes from the uniformity of the syntax (which in turn makes code easier to understand and reason about). This is probably highly subjective!

      That said, SICP is unreasonably excellent :)

      7 replies →

It's worth noting that this is a very old distribution of it; Arc now runs on Racket.

what about the current source?

  • The current source of Hacker News is proprietary, because this forum is attached to a billion-dollar startup incubator and there's apparently real money to be had for wantrepreneurs trying to game the algorithm, and plenty of "business logic" they would have to remove and whatnot.

    The current source of Arc Lisp is at https://arclanguage.org. It isn't open source in that there is any way to contribute or make pull requests that I'm aware of (I may simply be too much of a pleb to know,) rather now and then new versions simply descend from the Lisp gods and are posted. So it's more 'source available.'

    The current public fork of Arc Lisp is Anarki at https://github.com/arclanguage/anarki. It has deviated a great deal from Arc and its version of the forum is not in any way in feature parity with Hacker News. But anyone is welcome to make a PR and contribute.

    The Arc language forum is at https://arclanguage.org/forum.

Maybe this should read "Original Hacker News Source Code" as this doesn't look like it's been updated since 2015.

  • Yes, I've added that and added the date now- I assume it's from 2009 since that's the last announcement I could find.