4 ms·
Browsing Hacker News in the Terminal
- omoikane 2y agoI wish help popup is bound to '?' instead of 'h', which would free up h/l to be used for left/right, completing the h+j+k+l vi experience.
- sooheon 2y agoYeah bit of a missed opportunity since comments are trees, so just having up/down is tedious when ideally you want parent/child and sibling traversal.
- jackthetab 2y agoAgreed. I like the idea but the key mappings are "off" by just enough to be jarring ("Don't make me think"), turning me off of using it.
- tazu 2y agoThe keypress latency is infuriatingly noticable for me with Chrome + Sonoma. It's beautiful though!
- YZF 2y agoI think you're supposed to actually run this in your terminal... The browser bit is just a demo... Presumably compiled to web assembly.
- ilaksh 2y agoGerganov is the guy who makes llama.cpp in case anyone wasn't aware. I have been expecting WASM to take over as a common platform and eventually put browsers out of business for awhile now. I feel like browsers are bloated and monopolized.
- saagarjha 2y agoWebAssembly is a virtual machine; it doesn't really have the APIs to make it a general-purpose application platform (yet?).
- ranger_danger 2y agohttps://github.com/bytecodealliance/wasm-micro-runtime https://github.com/bytecodealliance/wasm-micro-runtime
- saagarjha 2y agoI don’t think this actually provides what I’m talking about?
- bijant 2y agoConsidering how much of the whole local LLM ecosystem relies on llama.cpp, very much like the Open Source Video Ecosystem and FFmpeg, Computer Scientists and Hackers should look towards Physicists of the past Century who managed to make their Einsteins known to a general public. With Fabrice and Georgi and others we still have a ways to go before the value of their contributions is widely known. Ok for Georgi (and Aaron whose Reddit enabled much of their training datasets)our future AI Overlords might take care of erecting (virtual) monuments to celebrate them ;-)
- larodi 2y agoInterestingly it's really physicists. Met the dean of the faculty where Georgi graduated the other day (according to his linkedin), and tried to make a joke that "faculty of math is all the hype, but math of physics seems where all the range was" and he answered: "it is a very logical consequence", and that was all he said. IMHO cause only 0.1% of conventional devs can get anywhere near to what llama.cpp is in terms of complexity and this... percieved easy which physicists munch tensor flows.
- saagarjha 2y agoWhile I agree that there are a lot of people doing excellent work who ought to be recognized for it, I really wish people stopped looking for individuals to idolize. The physics of today is a heavily collaborative activity, so while you can argue about whether there is an Einstein alive today or not it's unlikely that someone sitting by themselves working alone is likely to revolutionize the field like he did. The same is true for software engineering. And, I would posit, that the field is new enough that the amount of effort required to reach the forefront in any given area is actually less than one might think. We should celebrate the accomplishments of those who are working at that edge but to put them on a pedestal seems inappropriate.
- bookofjoe 2y ago>...it's unlikely that someone sitting by themselves working alone is likely to revolutionize the field like he did. Satoshi Nakamoto
- 2y ago
- dcreater 2y ago[flagged]
- lexoj 2y agoRelated for those who want an easy to use a hjkl-based HN terminal client: https://github.com/piqoni/hn-text https://github.com/piqoni/hn-text Disclosure: author here
- snickerbockers 2y agoUhhhh....... It's cute and all but I was expecting something that actually browses hackernews from a terminal?? This is just more webshit.
- pierreyoda 2y agoNice project! I've been working on something similar [0] also running in the terminal as a TUI. It's made in Rust with a quite novel architecture described in my blog [1]. There's still a performance issue with posts having a large amount of comments but it's quite there yet. [0] https://github.com/pierreyoda/hncli https://github.com/pierreyoda/hncli [1] https://www.newstackwhodis.com/blog/hncli-2-architecture https://www.newstackwhodis.com/blog/hncli-2-architecture
- kristianp 2y agoThis is gold, although I found scrolling through stories didn't show all the comments. Is this going to cause a spate of terminal apps ported to enscripten? This is (very probably) the terminal app: https://github.com/ggerganov/hnterm https://github.com/ggerganov/hnterm
- openrisk 2y agoThere is something intriguing and (maybe telling) in the longevity of the terminal mode. It was invented out of pure necessity when various resources (compute, screen, network etc) were really scarce. So it is extremely information dense. No superfluous eye candy, just the Word. In a sense the terminal is now the most respecting of our own limitations when parsing the firehose of information that is drenching every screen. What is missing though (after all those decades) are any widely adopted conventions for how to structure anything more complex than a simple top-to-bottom text flow. Once you move past the static page paradigm the possibilities are endless and that is not always helpful. But for a range of typical current use cases that involve information firehoses (a mailbox, an rss reader, a social media app, a wiki etc) it would be fantastic to develop common TUI design principles.
- amelius 2y agoI personally want terminals to look more like fast Jupyter notebooks.
- nurettin 2y agoYou mean like Org Mode?
- openrisk 2y agoI am rooting more for the htop aesthetic
- ykonstant 2y agoOne day; one day some enlightened soul will write a Command Line Application (as opposed to a terminal emulator) allowing all the goodies of the DOS command line and its frame buffer with none of the downsides; then we will not need curses/ncurses/etc anymore but a simple and sane drawing context unchained from the terminal protocols. We can then easily write beautiful TUIs for the command line, with easy and ergonomic random screen access and all the nice things, and leave the terminal for actual terminal operations.
- ranger_danger 2y agoSimilar applications: https://github.com/wtheisen/TerminusBrowser https://github.com/wtheisen/TerminusBrowser https://github.com/bensadeh/circumflex https://github.com/bensadeh/circumflex https://github.com/pierreyoda/hncli https://github.com/pierreyoda/hncli https://github.com/piqoni/hn-text https://github.com/piqoni/hn-text https://github.com/luke8086/retronews https://github.com/luke8086/retronews
- deleted 2y ago[deleted]
- 1vuio0pswjnm7 2y ago"Browsing Hacker News" arguably means browsing the websites that are submitted to Hacker News, unless all one plans to do is read HN comments. Thus any "HN client" should be able to handle all those sites, in the terminal, not just JSON from the "Hacker News API". The author uses "libcurl" to make HTTP requests. I prefer netcat, tcpclient and similar TCP clients, coupled with a TLS forward proxy. More flexible.
- binary132 2y agoSilly kids, that’s what Emacs is for.
- FerretFred 2y agoVery useful, thank you! It compiled "straight out of the box" on my Android 13 Termux environment.
- jmclnx 2y agoThere is also this, usable via lynx(1): gopher://hngopher.com/ But this site also renders nicely in emacs eww and is usuable in lynx(1) too.
- aayala 2y agolynx https://hnterm.ggerganov.com/ https://hnterm.ggerganov.com/ mmm ...