Hacker GitHub

← All repos

wting/hackernews

View on GitHub ↗ ★ 656 Arc

Hacker News web site source code mirror.

99 mentions on Hacker News by 90 people: 3 stories, 96 comments · first 2013-01-04 · latest 2026-03-02

Mentions per year 99 mentions · busiest year 2013 (16)
20082026
  1. https://github.com/wting/hackernews Or use this, rebrand it; but I don't know if people in other fields would be turned off by the aesthetic and simplicity (?) I remember seeing some green themed website that used Arc as a forum but I…
  2. …At quick glance, it looks like they're still using the same CSS that was made public ~13 years ago: https://github.com/wting/hackernews/blob/5a3296417d23d1ecc90...
  3. ▲ 3
    Hacker News web site source code mirror
    story by jcbhmr · 2024-11-27 · 0 comments
  4. https://github.com/wting/hackernews Here you can look up the algorithm. But I think it's what gets the clicks and upvotes, that gets promoted. So. It's a community thing, I guess.
  5. …of an old version; note uses of `diskvar` and `disktable`. A "table" here is just a hashtable. https://github.com/wting/hackernews/blob/master/news.arc
  6. …a Discord using a Matrix or IRC bridge. [1] https://f-droid.org/docs/Anti-Features/#NonFreeNet [2] https://github.com/wting/hackernews
    comment by jraph · 2024-02-07 · in The Ladybird browser project
  7. …as straightforward as just setting a title attribute. Here's precisely how the black bar works: https://github.com/wting/hackernews/blob/5a3296417d23d1ecc90... ; (tr (tdcolor black (vspace 5))) They uncomment that line of code by removing…
  8. this might help a little: https://github.com/wting/hackernews
  9. …I'm not sure if this is the most up-to-date mirror, but the site doesn't change that often: https://github.com/wting/hackernews
  10. https://github.com/wting/hackernews
    comment by allanrbo · 2023-06-17 · in Reddit 1.0 was written in Lisp
  11. …AFAIK this is the latest public copy of the HN code, but it is significantly outdated: https://github.com/wting/hackernews/blob/master/news.arc
    comment by robocat · 2023-06-09 · in Sync will shut down on June 30
  12. …but the original Reddit and HackerNews codebases: - https://github.com/reddit-archive/reddit1.0 - https://github.com/wting/hackernews
    comment by fathyb · 2023-06-05 · in Why Lisp Syntax Works
  13. https://github.com/wting/hackernews/blob/master/news.arc Out of date, but you can read the ARC code as HN was 11 years ago.
    comment by robocat · 2023-05-08 · in Why Lisp?
  14. There's also this https://github.com/wting/hackernews -- which is a version of the source code to the site from sometime in the past.
  15. …is no longer open source, but at one time, this is how it processed titles on initial submission: https://github.com/wting/hackernews/blob/master/news.arc#L15... (This function does add capitals as well as remove them.)
  16. …enough to demonstrate this, but in my understanding yet more judgment has been applied since then. https://github.com/wting/hackernews/blob/master/news.arc
  17. …I saw/heard, HN was built in Arc, a Lisp dialect, and use(s/d) a variant of this (mirrored) code: https://github.com/wting/hackernews Check out around this area of the code to see how simple it is. All just files and directories:…
    comment by petercooper · 2022-06-21 · in Ask HN: How does HN manage to be always online?
  18. Re: niche languages—Hacker News is written in a dialect of Lisp called Arc: - https://github.com/wting/hackernews - https://en.wikipedia.org/wiki/Arc_(programming_language)
  19. …a few places [2]. It is also used on this very page [3]. [1]: https://hn.algolia.com/?q=s.gif [2]: https://github.com/wting/hackernews/search?q=hspace [3]: I hope the Missouri governor won't prosecute me for clicking on view source, so…
    comment by finite_jest · 2021-11-21 · in news.ycombinator.com/s.gif
  20. The old version in arc, mirrored at https://github.com/wting/hackernews/blob/5a3296417d23d1ecc90... , uses the file system as a database. https://github.com/wting/hackernews/blob/5a3296417d23d1ecc90... shows the monotonically increasing…
  21. 80 char title limit https://github.com/wting/hackernews/blob/master/news.arc#L14...
  22. Here’s the original: https://github.com/wting/hackernews
  23. HN is actually a great example. Look at the old source of it and admire it's simplicity. https://github.com/wting/hackernews
    comment by NicoJuicy · 2021-09-20 · in Ask HN: Go-To Web Stack Today?
  24. …do to get things done? Or does the ARC language predate the HN implementation? I am not sure. [1] https://github.com/wting/hackernews
  25. https://github.com/wting/hackernews
  26. ▲ 119
    Original Hacker News Source Code (2009)
    story by Maksadbek · 2021-06-09 · 34 comments
  27. …as a real-world use of scheme/homoiconicity? I believe it runs on Arc, which runs on Racket. https://github.com/wting/hackernews
    comment by jcl · 2021-01-24 · in DrScheme in Space
  28. How about this... https://github.com/wting/hackernews
  29. …Hacker news is written in Arc, which is a dialect of Lisp. There's an old copy of code base here: https://github.com/wting/hackernews
    comment by gitgud · 2020-08-17 · in LFE: Lisp Flavored Erlang
  30. …easy to implement an alternative HN client. Related Question: Is this the source code for HN? https://github.com/wting/hackernews
  31. It used to be, maybe it still is https://github.com/wting/hackernews (7 years ago) Iirc they didn't want to publish details of the ranking algorithm at some point, to prevent "hacking" of submissions. Maybe they stopped publishing the code…
    comment by nf8nnfufuu · 2019-08-25 · in Ask HN: How to be less argumentative online?
  32. An earlier version was open source. https://github.com/wting/hackernews https://github.com/arclanguage/anarki/tree/5409fc74fdd6a0502...
  33. …like HN, why not use it? This purports to be a mirror of the source (I don’t see an original repo): https://github.com/wting/hackernews
  34. https://github.com/wting/hackernews/blob/master/news.arc
  35. At least with HN, there's an old mirror. https://github.com/wting/hackernews There's quite a bit of old code floating around out there (even for Zork iirc), of course there's newer code being written all the time (as you know :)). Besides…
  36. …this as it is possibly the most widely-used and familiar application to most here written in Arc. https://github.com/wting/hackernews This is a great place to start with understanding Arc, as the jump to Anarki (an Arc fork) will make more…
  37. …rather than "since the post was created", but unless they changed it in the past years, it does: https://github.com/wting/hackernews/blob/master/news.arc#L26...
    comment by icebraining · 2018-05-01 · in Reconsidering the Hardware Kindle Interface
  38. https://github.com/wting/hackernews Sure.
    comment by zeth___ · 2018-04-29 · in Show HN: Web Audio DSP Playground
  39. …it being typical... given the zeal that lispers seem to have for s-expressions, yes probably. [0] https://github.com/wting/hackernews/blob/master/news.arc#L38...
    comment by krapp · 2018-03-30 · in Reddit 1.0 source code
  40. …is based upon "gravity" which is some kind of calculation on the number of upvotes per hour. https://github.com/wting/hackernews/blob/master/news.arc I also have no idea if that codebase is the one used here. It says it is a copy, but…
    comment by cabaalis · 2018-01-11 · in React setState() cheat sheet
  41. …used is different, and agruably much more powerful . Few sons can resist this kind of force. [0] https://github.com/wting/hackernews/blob/master/news.arc#L15...
    comment by ue_ · 2017-09-17 · in Quiet Hacker News
  42. …There's an old (~5yo) source code dump on github if you're interested. https://github.com/wting/hackernews
  43. …comment goes down to its rightful place. Or maybe I'm wrong again. Need to read the source code: https://github.com/wting/hackernews . And I didn't know about the rare bird known as the vouch button. The best part about the article is that…
    comment by combatentropy · 2017-08-17 · in Hacker News: How's that work?
  44. https://github.com/wting/hackernews
    comment by steanne · 2017-08-08 · in Software question
  45. I'm not sure how it works these days, but I imagine it still has some relation to the arc sources https://github.com/wting/hackernews/blob/master/news.arc#L26... It is essentially what you suggested, but raising the bottom line to a power.
  46. …forum as HN is written in arc. The closest thing to a source repo is this from many years ago: https://github.com/wting/hackernews
  47. > it doesn't seem like the code for the upvoting system is publicly available Sure it is.[1] 1: https://github.com/wting/hackernews/blob/5a3296417d23d1ecc90...
  48. https://github.com/wting/hackernews/blob/master/news.arc#L26...
    comment by amk_ · 2017-02-13 · in The Fastest Blog in the World (2015)
  49. The language is called Arc and runs on top of Scheme. The function mentioned above is here: https://github.com/wting/hackernews/blob/master/news.arc
    comment by lispm · 2017-02-10 · in Ask HN: How do Ask HN rankings work?
  50. …in Arc, a Lisp/Scheme variant. HN source (news.arc) is actually distributed with the language: https://github.com/wting/hackernews/blob/master/news.arc Lisps tend to blur the distinction between application code, library code, and…
    comment by webmaven · 2016-11-30 · in Why I’m thankful for JavaScript fatigue