by qsantos on 2/25/24, 6:44 AM with 57 comments
by surprisetalk on 2/26/24, 12:59 PM
curl -s 'https://news.ycombinator.com/from?site=youtube.com' \
| egrep -o 'https?://www.youtube.com[^"]+' \
| mpv --playlist=- \
--speed=1.5 \
--ytdl-format='bestvideo[height<=?720]+bestaudio/best'
[1] https://taylor.town/hntvby HL33tibCe7 on 2/26/24, 12:06 PM
by gloosx on 2/26/24, 1:09 PM
by whackx on 2/26/24, 3:36 PM
by throwaway_08932 on 2/26/24, 6:00 PM
Wow, I used Ratpoison around 20 years ago. SunOS labs in school used some window manager I couldn't stand (don't remember which) and I saw a classmate with basically no window chrome on their display, and was intrigued.
They helped me compile it (no small feat given our resource constraints) and off I went, until my hand started to cramp a year later from hitting ctrl-t so much. I switched to ion for awhile, and then ended up scavenging a linux box to do assignments from home.
I'm happy to see some folks still holding firm on the "no-pointer" front.
by k3vinw on 2/26/24, 1:39 PM
by doix on 2/26/24, 12:44 PM
There's some weird scroll into view code as well, holding j to just scroll down buffers up a bunch of scrolls and then scrolls all at once. I'm guessing it's a side effect of smooth scrolling or something.
To avoid being a typical grumpy HN commentator, nice work :).
by komali2 on 2/26/24, 2:51 PM
We're paying thousands of dollars for machines with high resolution displays, why don't people use the whole display???
by 0x008 on 2/26/24, 1:04 PM
by qsantos on 2/25/24, 7:16 AM
[1] https://github.com/qsantos/ViHN/
[2] https://addons.mozilla.org/fr/firefox/addon/vihn/
[3] https://chromewebstore.google.com/detail/vihn/cfmccoefeojndm...
by Ringz on 2/26/24, 4:56 PM
by arnorhs on 2/26/24, 8:25 PM
One way to do this by simply storing the latest comment's timestamp, and then you know that all the comments with a greater timestamp are newer
by anthk on 2/26/24, 8:36 PM
lynx -vikeys gopher://hngopher.com
by projektfu on 2/26/24, 1:31 PM
by igorguerrero on 2/26/24, 9:53 PM
by fp64 on 2/26/24, 12:29 PM
Switching to my browser, navigating to HN, and checking the first page (and going back if nothing interests me) already does not require me to touch my mouse and can be done with very few keystrokes. Typically, I visit HN when I'm waiting for something to complete or similar, though, in which case I anyways happily move my hand to the mouse, as I'll be _browsing_ for a bit