Category Archives: Software

Profiling is Our Friend

I recently wrote a tiny demo program to demonstrate to co-workers how one can build a cache with age-based expiration of its entries, using purely immutable Scala collections. The core of the cache was something like 25-30 lines of Scala … Continue reading

Posted in Computers, Programming, Scala, Software | Tagged , , , | 3 Comments

Using SBT To Experiment With New Scala Libraries

Library dependency tracking is a complicated thing. Using a new library to experiment with it, write a few bits of exploratory code, or even small self-contained bits of software which uses the new library is often an exercise in frustration. … Continue reading

Posted in Computers, Programming, Scala, Software | Tagged , , , | Leave a comment

Reading book: “Akka Essentials”

I have recently gotten myself a copy of “Akka Essentials” and started going through the code, but writing the same examples in Scala (instead of Java, which the original book uses). This is turning out to be a fairly good … Continue reading

Posted in Computers, Programming, Scala, Software | Tagged , , , | Leave a comment

Gnus: Saving Outgoing Messages To Multiple Gmail Folders

Everything is possible, if you a have an extensible email-reading application, written in one of the most powerful languages of the world:

Posted in Computers, Emacs, Free software, Gnus, Lisp, Programming, Software | Tagged , , , , , ,

Factory Objects in Scala Code

When programming with an object-oriented language like Scala it’s often necessary to create a different type of object, depending on the value of a configuration flag, the current state of the program, or other conditions. At this point your first … Continue reading

Posted in Computers, Programming, Scala, Software | Tagged , , ,

Powerful Regular Expressions Combined with Lisp in Emacs

Regular expressions are a powerful text transformation tool. Any UNIX geek will tell you that. It’s so deeply ingrained into our culture, that we even make jokes about it. Another thing that we also love is having a powerful extension … Continue reading

Posted in Computers, Emacs, Free software, FreeBSD, GNU/Linux, Lisp, Open source, Programming, Software | Tagged , , , , , , , , | 1 Comment

Speeding Up Emacs and Parsing Emacs Lisp from Emacs Lisp

I recently spent a bit of time to clean up all the cruft that my ~/.emacs file and my ~/elisp directory had accumulated. I have been using a multi-file setup to configure my Emacs sessions, since at least 2008. This … Continue reading

Posted in Computers, Emacs, Free software, GNU/Linux, Linux, Lisp, Open source, Programming, Software | Tagged , , , , , , , , | 9 Comments

Saving Space in Rsnapshot Archives with Hardlinks

The hardlink package is quite handy on Linux systems. It appears to do a nice job saving disk space in my local rsnapshot archives (25 GB reported as “saved” after today’s run on a week of daily snapshots). The stress … Continue reading

Posted in Backup, Computers, Free software, GNU/Linux, laptop, Linux, Open source, Software, Ubuntu | Tagged , , , , , , , ,

Saving & Restoring Mate Terminal’s Color-Profile Information

Terminal palettes come in infinite variations. Almost everyone has a “favorite” palette, and if you are like me, you probably hate losing all your finely tuned terminal colors, because you wanted to experiment with this new color scheme and forgot … Continue reading

Posted in Computers, Free software, GNOME, MATE desktop, Open source, Programming, Software | Tagged , , , , , , | 7 Comments

Fixing Shifted-Arrow Keys in 256-Color Terminals on Linux

The terminfo entry for “xterm-256color” that ships by default as part of ncurses-base on Debian Linux and its derivatives is a bit annoying. In particular, shifted up-arrow key presses work fine in some programs, but fail in others. It’s a … Continue reading

Posted in Computers, Emacs, Free software, FreeBSD, GNU/Linux, Linux, Open source, Software | Tagged , , , , , , , | 3 Comments