8,522 karma · joined November 11, 2014
Border wall: https://www.aclu.org/news/aclu-trumps-border-and-sanctuary-c...
One of dozens of articles on the refugee EO: https://www.aclu.org/blog/speak-freely/trump-begins-his-unco...
|> Implying that Asian CEOs can't be part of civic society.
SELECT AVG(score) AS avg_score, COUNT(* ) AS num, REGEXP_EXTRACT(url, r'//([^/]*)/') AS domain FROM [fh-bigquery:hackernews.full_201510] WHERE score IS NOT NULL AND url <> '' GROUP BY domain HAVING num > 10 ORDER BY avg_score DESC
which returns a list of domains with more than ten submissions sorted by average score. This turns out to be a list of some of the most successful tech blogs on the internet, as well as various YCombinator related materials. Out of the domains with over 100 submissions, daemonology.net has the 9th highest average score per submission. I manually visited all the domains with more than about 30 submissions, found the appropriate xml feeds, and saved them. I added a few websites like eff.org whose messages I think everyone should read anyways.
Then I jumped into python and started trying to figure out how to post to Hacker News. It was a little more complicated than I anticipated [3], but an open source HN app for Android helped me figure it out.
I set up a cron job on my $5 Digital Ocean that runs the script every few minutes (pseudocode):
If you can reach http://news.ycombinator.com, Check all feeds for new entries, Post a new entry to hn, Sleep for an hour before posting another
[1] https://bigquery.cloud.google.com/dataset/bigquery-public-da...
[2] The only difference on Reddit is the subreddit system.
[3] After you send a POST request to send to the login screen, Hacker News gives you a url with a unique "fnid" parameter, and you send another POST request to another url with the appropriate "fnid".
I haven't looked into how they make everything efficient, but the source code for their flash viewer is here http://lightfield.stanford.edu/aperture.html
Also, maybe the goal is to change the expectation that research universities lack good teachers? Public colleges educate many times more students than private ones, let alone small liberal arts schools.