News for hackers. Stuff that matters.
Re:Ask HN: Total karmic wealth of all HN? by S4M on Thursday April 16, 2015 @08:05AM (#9387315)

    select sum(karma) from user_data;
If the HN server uses an SQL database and has a table users containing the user names and their karma - and they must have something like that since the karmas are displayed on the profiles.
Re:Ask HN: Total karmic wealth of all HN? by krapp on Thursday April 16, 2015 @11:22AM (#9388562)
Flat files and Lisp macros, with everything stored as closures in RAM, AFAIK. HN doesn't use a relational database at all[0], unless they added one recently.

[0] http://arclanguage.org/