Live data from Hacker News

Ratty – A terminal emulator with inline 3D graphics

ratty-term.org

251–260 of 262 posts

Re: Ratty – A terminal emulator with inline 3D graphics

#251
post #91

I like this. No reason the terminal should only support text. Data science notebooks show one way the terminal can evolve. Lots of interesting stuff happening in this space, with Kitty probably being the most aggressive innovator here [1]. I'm not sure there is an overall vision, though. [1]: https://sw.kovidgoyal.net/kitty/protocol-extensions/

No evolution necessary! With my project, euporie [1], you can have use your data science notebooks with graphical image outputs, HTML, LaTeX, etc, all in the terminal. [1] https://github.com/joouha/euporie

that looks awesome (btw: a demo video would be nice, i could not find any), but it's not solving the problem terminals are generally used for.

i want something like jupyter but for unix shells, not for programming languages. and, i don't want it in the terminal, i want it to be the terminal, that is, i want to get rid of terminal escape codes that you currently need to make this work.

think about it like this: in jupyter you have pieces of code and their output. you change the code, it changes the output.

a unix shell version of this would be a commandline, and its output which would be text or an image or whatever the commandline produced. every output box would be itself a terminal if the output is text. but that's only necessary to support programs that produce terminal output. new programs could produce structured data that this jupyter for shells could interpret and display directly.

Re: Ratty – A terminal emulator with inline 3D graphics

#252
post #225
post #215

Earlier quoted context omitted.

incredible work!! You mention using this over ssh. Is there any way to get this working in tmux or anything similar by any chance? Or is the idea that euporie itself is acting like a multiplexer?

You can absolutely run euporie in tmux. It's useful to do so when using long running notebooks over SSH, so you can disconnect and reconnect later.

How does that work with all the kitty terminal protocol image stuff if I have plots to display?

Re: Ratty – A terminal emulator with inline 3D graphics

#253

Earlier quoted context omitted.

It's also from 2013

But that's not what was relevant to their comment. "Here's this new thing that can Ⓧ!" "Pfft, Y could do X years ago." Well, Ⓧ ≠ X. Come on now, we're programmers here.

Just noting how every single part of that was wrong.

Re: Ratty – A terminal emulator with inline 3D graphics

#254

Earlier quoted context omitted.

> Sometimes I wonder what he would have done if he had not gone crazy. At what point do you consider he had "gone crazy" relative to the development of TempleOS? Only when he committed suicide? Shortly before then? Last ____ years of his life? Without trying to sound insensitive, I'd personally argue the entire OS was the byproduct of a "crazy" individual.

The inspiration may have been all "crazy" but the implementation was still really neat, and it takes a lot of effort and skill to get to the point he did before his death. The thing about people who lose touch with reality is that their efforts to create or express something often make no sense to the rest of us. TempleOS, however, works. Terry create an OS from scratch, an entire new language (or variant of a langua…

> TempleOS, however, works

But only in 640*480, without networking or usb. Oh and virtual memory is a government conspiracy so expect crashes. He also said the n word a lot

Re: Ratty – A terminal emulator with inline 3D graphics

#255

Earlier quoted context omitted.

People joke about templeos a lot, but it had some really neat ideas (holy-c is a pretty nice language)

I've dug around the TempleOS codebase a bit, and while it certainly is impressive for a single guy's work, I think there's been an overcorrection where people act like Terry was some hyper genius instead of "a pretty smart guy". I kind of got the impression that whenever Terry didn't know how to do something, he would just convince himself that that's not what God wanted anyway and stop doing it.

I don't think most people actually believe he was one of the smartest people of all time or anything. He was obviously a seriously talented programmer, and impressively so: when you consider the number of humans that can program at all on earth, and then the number that can write a compiler, and a complete operating system/desktop environment/shell/games, while suffering from severe mental illness no less—you end up with a vanishingly small group.

Re: Ratty – A terminal emulator with inline 3D graphics

#256
post #252
post #225

Earlier quoted context omitted.

You can absolutely run euporie in tmux. It's useful to do so when using long running notebooks over SSH, so you can disconnect and reconnect later.

How does that work with all the kitty terminal protocol image stuff if I have plots to display?

tmux now supports sixel graphics, so you can use that instead if running euporie in tmux

Re: Ratty – A terminal emulator with inline 3D graphics

#257
post #165
post #93

Earlier quoted context omitted.

I would like to subscribe to your newsletter.

I don't have any newsletter, but for Mastodon: - 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…

"I would like to subscribe to your newsletter" is an old neck-beard way of saying 'I really like what you're doing there' from the before time. The humor probably got lost over the years. But seriously, thanks for sketching that out. I will definitely give it a spin.

Re: Ratty – A terminal emulator with inline 3D graphics

#258

Earlier quoted context omitted.

The inspiration may have been all "crazy" but the implementation was still really neat, and it takes a lot of effort and skill to get to the point he did before his death. The thing about people who lose touch with reality is that their efforts to create or express something often make no sense to the rest of us. TempleOS, however, works. Terry create an OS from scratch, an entire new language (or variant of a langua…

> TempleOS, however, works But only in 640*480, without networking or usb. Oh and virtual memory is a government conspiracy so expect crashes. He also said the n word a lot

I'm aware. None of that has any bearing on whether or not his grasp on reality was firm enough to create TempleOS.

Re: Ratty – A terminal emulator with inline 3D graphics

#259

Earlier quoted context omitted.

But that's not what was relevant to their comment. "Here's this new thing that can Ⓧ!" "Pfft, Y could do X years ago." Well, Ⓧ ≠ X. Come on now, we're programmers here.

Just noting how every single part of that was wrong.

I'm actually not sure what you're saying. Are you implying inline 2d graphics are the same as inline 3d graphics? That's what the subtitle of Ratty was about. And that's not what was shown in original comment's video. Why does it matter if it was from 2013? It wasn't showing off the same thing as Ratty.

Re: Ratty – A terminal emulator with inline 3D graphics

#260

Earlier quoted context omitted.

Just noting how every single part of that was wrong.

I'm actually not sure what you're saying. Are you implying inline 2d graphics are the same as inline 3d graphics? That's what the subtitle of Ratty was about. And that's not what was shown in original comment's video. Why does it matter if it was from 2013? It wasn't showing off the same thing as Ratty.

He was responding to "Inline graphics from 1981"
Post reply on HN