Earlier quoted context omitted.
I much prefer seeing tokens used for silly fun stuff, rather than sad get-rich-quick attempts like filling YouTube and Spotify with LLM crap.
Filling GitHub with LLM crap isn't on your list... I wonder why
Ratty – A terminal emulator with inline 3D graphics
161–170 of 262 posts
Re: Ratty – A terminal emulator with inline 3D graphics
#162Re: Ratty – A terminal emulator with inline 3D graphics
#163Re: Ratty – A terminal emulator with inline 3D graphics
#164Can anyone explain why this is novel? It seems pretty basic?
2. 3D rat: +100 points.
3. Outdated 80s UI paradigm: +100 points.
4. Uses Rust: +100 points.
Re: Ratty – A terminal emulator with inline 3D graphics
#165Earlier quoted context omitted.
I did that with Sixels, no Rust needed, no 3D crap, no ad-hoc addons, just old vt340 support in XTerm. That's how I read images under a remote pubnix with tut using a Mastodon account over plain SSH. Chafa and XTerm. It works.
I would like to subscribe to your newsletter.
- Compile tut, it just requires Go, it will run on any modern OS.
- Login with tut
- Set a 'tview' shell (sh) script as
#/bin/sh
chafa -f sixel --fit-width "$@" | less -r"
reset
- Configure tut, set program=tview in the [media.image] section.
- Then launch XTerm as 'xterm -ti 340'. Edit ~/.Xresources so you have nice fonts:
xterm*background: black
xterm*foreground: white
xterm*loginShell: true
xterm*faceName: Monospace
xterm*faceSize: 10
xterm*geometry: 100x32
xterm*metaSendsEscape: true
xterm*decTerminalID: vt340
xterm*numColorRegisters: 256
xterm*sixelScrolling: 1
xterm*sixelScrollsRight: 1
Done. Edit the facesize value to a bigger font if you have a big resolution. Run "xrdb ~/.Xdefaults" to get the changes.Also, you can run chafa locally with images such as "chafa -f sixel --fit-with foo.img', no need to login into a VPS, of course, it just was a proof of concept that you could see images over SSH. This can be really useful for instance to read graph/plots with Gnuplot or similar tools.
If any, subscribe to T3X's news letter and get some books, as these small tools will pay a lot in near future. No AI crap, small enough to run on some sets, from Statistics to semi-advanced math (even Zenlisp being crap can do complex numbers, and you can adapt the code for instance for S9 so that interpreter Scheme understand complex numbers and a much faster speed).
Yeah, Python+SAGEMATH, CUDA with number crunching and the like. How much are the GPU's, CPU's and SSD's going nowadays in dollars?
Re: Ratty – A terminal emulator with inline 3D graphics
#166Terminal is slowly becoming a full featured web browser.
Re: Ratty – A terminal emulator with inline 3D graphics
#167The question is - why do we still need the terminal abstraction at all?
The terminal is keystroke-driven. It's character-selectable. It's reliable in a way that the GUI is not. When I drop frames, I can still enter the commands to rescue myself with some assurance they'll be interpreted, eventually. I agree, a REPL isn't Unixy in the streams of text kind of way... or is it?
It's a bit more abstract and useful than "character-selectable" when viewed at the byte-level abstraction.
The ability to chain together utilities with no complicated data structures is extremely flexible. One of my favorite current use-cases is using FFmpeg to process RTSP streams that send output (e.g. high quality stream for recording, low quality low FPS for processing, max quality low FPS for stills, etc) to separate file descriptors. FFmpeg doesn't care whats on the other end (e.g. redirect to file, read via Python, etc) due to these lovely abstractions.
Reliability translates directly to scriptability. Yes, you can create monsters, but through the use of sub-shells and pipes I think it's the fastest, cheapest, most concise way to pull off some really cool multiprocessing tricks.
Re: Ratty – A terminal emulator with inline 3D graphics
#168So anyway, being that guy, I immediately installed it.
Re: Ratty – A terminal emulator with inline 3D graphics
#169Re: Ratty – A terminal emulator with inline 3D graphics
#170Earlier quoted context omitted.
Terry A Davis already did this. It was as crazy then as it is now
Obligatory Temple OS unhinged video. https://www.youtube.com/watch?v=o48KzPa42_o Joking apart, the whole thing was both an exercise in madness and genius. Sometimes I wonder what he would have done if he had not gone crazy. We will never know...