Welcome

I'm Lukas, and I write about programming and similar things that may be vaguely interesting.

Below are some of my recent posts.

Non-linear notes with Org

:: emacs, org

For all that I rave about org mode, I generally prefer taking notes by hand. Org wins out when my notes are certain kinds of technical or reference notes, including code snippets, links to resources, etc. In those cases, embedded code blocks, inline images, links, and more make org mode a perfect medium. Luckily, a large portion of the notes I take fall into those categories. But for the kind of notes that I take while trying to understand something, or build a high level idea of a lecture or book, handwritten notes are far superior in my opinion. This kind of note taking is also often more rewarding.

It would be great if org mode could handle these kinds of notes as well. Why can’t it?

Fuzzy-searching notes with fzf

:: emacs, org

I have a lot of plain text notes, from years of using org mode for nearly everything. Finding specific pieces of information in that sea of information can be difficult; I am unwilling and unable to remember where exactly I wrote something down. Of course, since it’s all plain text, grep/ag and friends seem ideally suited to the task – except that requires remembering exactly how the information was worded. Also too much. What about fuzzy search?

Experimenting with testing syntax and composition

:: racket, testing

Rackunit is Racket’s unit testing library, and it has a pretty cool set of features. It aims to support testing at every stage of development, from simple inline checks to large, programmatically manipulated test suites. Unfortunately, despite the many features rackunit provides to support this goal, I have many-a-time found myself struggling against rackunit’s model for defining new checks. Last weekend, I finally got around to writing a testing library that provides a simpler interface to write flexible, composable test predicates and macros.

Org Export Processing

:: emacs, org

Org’s export system is a fantastic tool for writing various documents quickly and easily within org mode. The only thing it lacks is simple tools for user-defined content generation during export. It’s pretty easy to implement, though.

Scripting Emacs

:: emacs

I recently realized how easy it is to make emacs automatically do even more repetitive things I used to do manually.

Setting up a home cloud server with Nextcloud

:: linux, networking

This weekend, I set up a home server for my parents running Nextcloud so that they can have their own, (almost) free cloud storage. The process was surprisingly simple and fun, though there are a number of steps involved, so I’m documenting it here for the sake of reproducibility.