by rollcat · 3y ago · 0 comments
Looks like a perfect display for outdoors, very long trips (battery time?), long writing sessions, etc. I'd love to build a "DIY laptop" like that, but at these prices I'm likely better off with a Macbook Air...
I'm already experimenting with using a heavily desaturated/monochromatic color scheme for coding (it's working surprisingly well - e.g. using bold text to differentiate keywords).
I think most CLI apps are abusing color for little gain. Reading the output of some programs feels like wading through a room filled with fruit salad - the JS ecosystem is particularly bad in this regard. I'm using red in my prompt to indicate a root shell and/or an SSH session, and I think that's as far as it should go.
Inevitably, they get run in CI, and then my web browser window / text editor is full of control characters and other bullshit.
If your stdout is not a terminal, and you're sending out escape codes, you're just spewing useless garbage.
That is just not the case, as the previous poster already said.
"prog | grep foo" outputs to the terminal. From prog's perspective it doesn't, but it does. Do you want escape sequences in there? Sometimes you do, sometimes you don't.
Even "prog | less" outputs to the terminal, indirectly, and less can interpret escape sequences.
"Always unconditionally output escape sequences" is wrong, but "always unconditionally disable them with isatty()" is also wrong. What a reasonable default is depends on the type of application and how it's likely to be used.
If you do that, add a command line switch to forcefully enable or disable the control.
I mean, termcap/terminfo was invented just for this. It's a solved problem.
Is there any indication that will happen? I’ve been impressed by the occasional E-ink hack too but displays larger than e-reader sizes seem to not drop in price.
This project caught my eye 2 or 3 years ago but it looks like the display used hasn’t come down in price at all:
I feel the same way. I still want colour on the CLI, but tend to configure my most commonly used tools and par back the colour almost completely, then use it very selectively for things that I want to stand out.
I think the only case it really makes sense to have colour salad is syntax highlighting, there's a lot of different types of things going on and the colour really does help to differentiate more easily.
I also find sticking to 16 ANSI colours really helps to manage the chaos and enforces consistency.
It's technically dual screen, e-ink and OLED that rotate, but even better, you can choose the best one for the job.
I'm certainly excited to see reviews for that Lenovo laptop when it comes out.
The one they linked to does not have OLED or rotate, even though they claimed otherwise. Clearly they meant to link to the new version.
https://github.com/rollcat/dotfiles/blob/0d44759/.emacs.d/th...
There's also a dark variant, and a "base" variant to convince Emacs not to touch colors when running in a terminal. There's also support for matching the system theme in Emacs & Terminal.app on macOS: https://github.com/rollcat/dotfiles/commit/b3e49ad
> There seems to be a lot of form-over-function going on over there, I
> wonder what characteristic of JavaScript developers...
It seems to be the combination of a low barrier to entry with the ADHD-Is-Fashionable trend.