Boss keys[1] should be standard for every website. The March Madness[2] one for example. There are some good ones developed for Reddit to look like Outlook[3], shell [4], etc.
And also - I think that building HN utilities / clients is like the modern nerd FizzBuzz (in a good way). Is it strictly necessary? No, but it’s a great intellectual exercise, it’s something many of us have thought about, and because there’s a common API underlying, it gives folks a chance to learn about lots of creative ways to attack the same fundamental problem space.
I've thought about building an API that integrates Twillo with the HN API. Lots of planes/airlines have free messaging wifi, but not free wifi. But, if you could text a number and get the top n stories, then read the comments and perhaps the text of the stories (?) would be pretty nice way to pass some time. Alas I haven't done it yet...
I guess one of the benefits of HN using such simplistic styling is that its easy to make a TUI that basically resembles the site 100%. This looks awesome!
I tried just now and it seems the answer is "no" on comment indentation. I don't see any indentation at all, everything is a flat list, left justified.
Edit: tried with elinks as well, same (more or less) thing. :-(
Looks like HN actually uses JavaScript to indent, based on a <td indent="n"> attribute where n is the level of indentation. So it’s more a progressive enhancement than something built into the underlying HTML.
(Edit: I think my initial take above was wrong. Please see below.)
42 comments
[ 3.2 ms ] story [ 89.4 ms ] threadNot anymore:
> Coworker who sees me looking at something in a browser: "Glad you're not busy; I need you to do this, this, this..."
> Coworker who sees me staring intently at a command prompt: Backs away, slowly...
Well played.
Noted
[1] https://en.wikipedia.org/wiki/Boss_key
[2] https://www.ncaa.com/march-madness-live/boss
[3] http://pcottle.github.io/MSOutlookit//
[4] https://redditshell.com/
I'll leave games open and an idea full screen on the Central monitor. What am I doing? Even I don't know
Here are my versions for elixir: https://github.com/nichochar/CLHN and golang https://github.com/nichochar/clhn-go
(they are much more lightweight than the presented one, but work well)
And also - I think that building HN utilities / clients is like the modern nerd FizzBuzz (in a good way). Is it strictly necessary? No, but it’s a great intellectual exercise, it’s something many of us have thought about, and because there’s a common API underlying, it gives folks a chance to learn about lots of creative ways to attack the same fundamental problem space.
Keep it up everyone!
It keeps me from mindlessly flipping to a HN tab to check for new posts, just glance over occasionally to see if anything looks interesting.
1. https://www.ecliptik.com/Pocket-CHIP-Terminal-Dashboard/
Browse Hacker News Like a Haxor - https://news.ycombinator.com/item?id=11518596 - April 2016 (61 comments)
0. https://ranger.github.io
1. https://github.com/stefandtw/feedranger
Edit: Nevermind, I see. Its actually a very cool interface!
[1]: https://github.com/aome510/hackernews-TUI
[2]: https://github.com/aome510/hackernews-TUI/releases/tag/v0.9....
Still, this looks really cool! Great job!
I read medium once a while and wish there is a full text version of that eye-candy site.
Edit: tried with elinks as well, same (more or less) thing. :-(
(Edit: I think my initial take above was wrong. Please see below.)
I’m not an anti-JS person, but why? CSS seems so much more sensible for that.
The indentation appears to be handled separately by invisible GIFs: