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
20082026
-
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…
comment by h4ch1 · 2026-03-02 · in Ask HN: What sources like HN do you consume? -
…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...
comment by rob · 2025-10-27 · in Tags to make HTML work like you expect -
▲ 3
Hacker News web site source code mirrorstory by jcbhmr · 2024-11-27 · 0 comments
-
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.
comment by theGeatZhopa · 2024-11-20 · in Why HN always has the most pompous, snobbish posts appearing on the front page? -
…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
comment by Zak · 2024-08-10 · in Building a highly-available web service without a database -
…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 -
…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…
comment by sillysaurusx · 2024-01-20 · in Ask HN: Can the black border atop the HN mourning header link to who died? -
this might help a little: https://github.com/wting/hackernews
comment by h2odragon · 2023-12-01 · in Can anyone tech me how to make a forum like this one -
…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
comment by nfriedly · 2023-06-24 · in Ask HN: How is it possible to shop on Walmart.com? Everything is out of stock -
https://github.com/wting/hackernews
comment by allanrbo · 2023-06-17 · in Reddit 1.0 was written in Lisp -
…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 -
…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 -
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.
comment by mattl · 2023-04-24 · in Ask HN: Is there an open-source HN forum clone? -
…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.)
comment by dpifke · 2022-12-22 · in Linux's strcmp() for the m68k has always been broken -
…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
comment by asdfasgasdgasdg · 2022-09-17 · in U.S. appeals court rejects big tech’s right to regulate online speech -
…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? -
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)
comment by binarynate · 2022-02-26 · in Ask HN: Why are you programming your hobby projects in a niche language? -
…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 -
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…
comment by eesmith · 2021-11-09 · in Ask HN: What is the Hacker News database structure? Does it use tables or NoSQL? -
80 char title limit https://github.com/wting/hackernews/blob/master/news.arc#L14...
comment by lordgrenville · 2021-10-20 · in Google, Mozilla Close to Finalizing Sanitizer API for Chrome and Firefox Browse -
Here’s the original: https://github.com/wting/hackernews
comment by simon_acca · 2021-10-11 · in Ask HN: Is there a Hacker News back end open source alternative? -
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? -
…do to get things done? Or does the ARC language predate the HN implementation? I am not sure. [1] https://github.com/wting/hackernews
comment by heinrichhartman · 2021-09-10 · in Ask HN: What’s the server architecture of Hacker News? -
https://github.com/wting/hackernews
comment by tjhill · 2021-08-12 · in Ask HN: Is the Hacker News source code public? -
▲ 119
Original Hacker News Source Code (2009)story by Maksadbek · 2021-06-09 · 34 comments
-
…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 -
How about this... https://github.com/wting/hackernews
comment by 0x445442 · 2020-11-22 · in COBOL underpins the entire financial system -
…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 -
…easy to implement an alternative HN client. Related Question: Is this the source code for HN? https://github.com/wting/hackernews
comment by gitgud · 2020-04-06 · in Show HN: Export HN Favorites to a CSV File -
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? -
An earlier version was open source. https://github.com/wting/hackernews https://github.com/arclanguage/anarki/tree/5409fc74fdd6a0502...
comment by jrimbault · 2019-08-10 · in Telegram introduces feature to prevent users from texting too often in a group -
…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
comment by jf- · 2018-12-12 · in Show HN: Strength News – An HN-inspired website for sport and gym enthusiasts -
https://github.com/wting/hackernews/blob/master/news.arc
comment by wmf · 2018-11-20 · in Ask HN: Why isn't Hacker News open source? -
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…
comment by Jach · 2018-09-11 · in A micro manual for Lisp – Not the whole truth (1978) [pdf] -
…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…
comment by christianbryant · 2018-07-15 · in Anarki – Community-managed fork of the Arc dialect of Lisp -
…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 -
https://github.com/wting/hackernews Sure.
comment by zeth___ · 2018-04-29 · in Show HN: Web Audio DSP Playground -
…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 -
…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 -
…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 -
…There's an old (~5yo) source code dump on github if you're interested. https://github.com/wting/hackernews
comment by grzm · 2017-08-24 · in Ask HN: Does anybody know a company use Lisp other than Clojure in production -
…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? -
https://github.com/wting/hackernews
comment by steanne · 2017-08-08 · in Software question -
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.
comment by steeleduncan · 2017-06-22 · in Twist – the communication app for teams (by Todoist) -
…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
comment by Kaizyn · 2017-05-18 · in Ask HN: Is Hackernews still using the file system as database? -
> 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...
comment by elvinyung · 2017-03-16 · in Ask HN: Is there a bug in the HN comment upvoting system? -
https://github.com/wting/hackernews/blob/master/news.arc#L26...
comment by amk_ · 2017-02-13 · in The Fastest Blog in the World (2015) -
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? -
…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