Author Archives: keramida

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 , , ,

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 , , ,

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 , , , , , ,

Mostly Spam After A Few Months

Just a quick note, since I haven’t posted a lot of stuff lately. I noticed that the “comments” added to old posts in this blog are almost exclusively spam, so I enabled the WordPress option that blocks all comments for … Continue reading

Posted in Weblog | 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