Hacker Newsnew | past | comments | ask | show | jobs | submit | silasdb's commentslogin

Wonderful! Thanks!

I see you don't use termcap/ncurses anymore. Do you perform terminal handling yourself directly?

Thanks again!


Chawan never really used ncurses, only termcap. (ncurses just happens to implement termcap too.)

I started with termcap because I was already familiar with it through w3m. But termcap is an obsolete interface, and cannot describe the only useful attribute for modern terminals (true color). Its only benefit was "maybe it accidentally works on a hardware terminal from the 80s", which is cool but not really worth the extra failure mode.

So instead of migrating to terminfo, I ditched it completely in favor of terminal queries (which were already necessary for other reasons). There is still a built-in terminal database, to detect known TERM values with XTerm incompatibilities. But a terminal that correctly responds to queries will work out of the box, even if its TERM value is unknown.


> I started with termcap because I was already familiar with it through w3m. But termcap is an obsolete interface, and cannot describe the only useful attribute for modern terminals (true color). Its only benefit was "maybe it accidentally works on a hardware terminal from the 80s", which is cool but not really worth the extra failure mode.

Priorities, I guess. As long as I'm in a terminal, I'd rather have support for hardware terminals from the 80s than truecolor. But my only hardware terminal is a VT-420, so probably works for more or less anything that supports base XTerm (monochrome).


This is a great website—it reminds me of To Scale: The Solar System [1], a mini-documentary where people attempt to build a true-to-scale model of the Solar System. It makes me feel like a tiny speck of dust, floating in the vastness of nowhere...

[1] https://www.youtube.com/watch?v=zR3Igc3Rhfg



Any suggestions about the history of navigation? I have always been amazed by caravels and ~1500 advances on ships and navigation technology, but never dived into the subject.


For an alternative implementation that aims to be compatible with POSIX (not necessarily compatible with GNU coreutils), see: https://github.com/GrayJack/coreutils


Hi. Thanks for the great work and great write up!

At a first glance, I only see advantages with this approach. What would be the caveats of using Austral instead of Rust (disregarding the ecosystem and toolchain factors)?


Matrix Docker Ansible Deploy [1] allows me to unify all chat networks that I use under one single server (and, therefore, one single client), avoiding switching windows. I do believe it saved me hundred of hours...

[1] https://github.com/spantaleev/matrix-docker-ansible-deploy


Can you provide the link to Mike's podcast?


Some of his best work was with TuxRadar, now on Archive.org: https://archive.org/details/tuxradar-podcasts-mp3

He also did a podcast with Linux Voice magazine and, more recently, as a guest on various other podcasts in his role as Community and Marketing coordinator at The Document Foundation.


Others have said that, but I'd like to put emphasis on getting everything in source control. If other developers don't know about source control (!) they will love it. I'd spawn my own local source control solution for my own control and after a few changes, show them the advantages.

Second: making a change without tests is like walking in the dark without a flashlight. Having tests is a very important thing.

Read Working Effectively With Legacy Code", by "Michael Feathers, one of the best books I've read that really can help in situations like that. In summary, it boils down to having tests to aid your changes you need to make.


Is it somehow comparable to Haxe? (https://haxe.org/)


I think that, if you put heaps (https://heaps.io) on top of Haxe (which already is) it is somewhat comparable


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: