Skip to content
  • Mastodon
  • Github
  • Feed
  • E-mail
  • Blag
  • Chafa

Et tu, Cthulhu

Personal blag of Hans Petter Jansson: Fun with computers edition

Category: Technical

Balance of Power: A rematch served cold

On November 1, 2022 By Hans Petter Jansson In Computing, Technical

A happy reunion with Chris Crawford's hit geopolitics simulator Balance of Power (1985), with gameplay and code analysis.

Continue reading

Let it snow '21

On December 21, 2021 By Hans Petter Jansson In Computing, Life, Technical

Amidst the holidays that perhaps aren't turning out exactly as hoped, one can take comfort in small tokens of continuity – like the fact that xsnow is still being actively maintained.

Continue reading

Chafa 1.8: Terminal graphics with a side of everything

On September 16, 2021 By Hans Petter Jansson In Computing, Technical

The Chafa changelog was growing long again, owing to about half a year's worth of slow accretion. Hence, a release. Here's some stuff that happened.

Continue reading

Chafa 1.6.0: Wider

On January 18, 2021 By Hans Petter Jansson In Computing, Technical

Here's another one from the terminal graphics extravaganza dept: Chafa 1.6.0 brings fullwidth character support, so in addition to the usual block elements and ASCII art, you now get some mean CJK art too. Or grab as many fonts as you can and combine all of the Unicode into one big glorious mess.

Continue reading

Chafa 1.4.0: Now with sixels

On April 1, 2020 By Hans Petter Jansson In Computing, Technical

April 1st seems like as good a time as any for a new Chafa release — though note that Chafa is no joke. At least not anymore, what with the extremely enterprise-ready sixel pipeline and all. As usual, you can …

Continue reading

Chafa 1.2.0: Faster than ever, now with 75% more grit

On August 5, 2019 By Hans Petter Jansson In Computing, Technical

For all you terminal graphics connoisseurs out there (there must be dozens of us!), I released Chafa 1.2.0 this weekend. Thanks to embedded copies of some parallel image scaling code and the quite excellent libnsgif, it's faster and better in …

Continue reading

desktop-file-utils 0.24 released

On July 26, 2019 By Hans Petter Jansson In Computing, GNOME, Technical

One thing one can do in this amazing summer heat, is cut the 0.24 release of desktop-file-utils. It's rather a small thing, but since the last few releases have been happening at roughly three-year intervals I felt it merited a …

Continue reading

Battle of the Bilerps: Image Scaling on the CPU

On July 8, 2019 By Hans Petter Jansson In Computing, GNOME, Technical

I've been on a quest for better bilerps lately. "Bilerp" is, of course, a contraction of "bilinear interpolation", and it's how you scale pictures when you're in a hurry. The GNOME Image Viewer (née Eye of GNOME) and ImageMagick have …

Continue reading

The worst ANSI art renderer, except for all the others

On January 7, 2019 By Hans Petter Jansson In Computing, Technical

Chafa (github) started out as a small piece of supporting code for an obscure personal project I may announce at some indefinite point in the future. Then I decided to release it as a tongue-in-cheek thing for the VT100 anniversary …

Continue reading

What ails GHashTable?

On August 29, 2018 By Hans Petter Jansson In Computing, GNOME, Technical

I promised a closer look at GHashTable and ways to improve it; here's that look and another batch of benchmarks to boot. This time around I've dropped most of the other tables from the plots, keeping only khash and adding …

Continue reading

Posts pagination

1 2 Next Posts»

© Hans Petter Jansson

Feel free to leave a comment. I can also be reached by e-mail (hpj@hpjansson.org), on Mastodon, or on GitHub. A convenient way to follow this blag is by adding its feed to an RSS reader (there are many; I use NewsBlur).