Category Archives: Linux

In-memory database for testing

I have written about using an embedded database like HSQLDB or H2 for testing Java applications. This can still be useful (although JavaEE is not so popular any longer). But even though H2 claims to emulate PostgreSQL and several other … Continue reading

Posted in database, Docker, Linux | Comments Off on In-memory database for testing

Alpine rather than distroless

I have been using the distroless Docker base images to package my applications, mainly since I want slim and simple image without unnecessary cruft. However, they are based on Debian, and Debian is unfortunately not so diligent to fix serious … Continue reading

Posted in Docker, Linux, security | Comments Off on Alpine rather than distroless

How to enable multi-platform Docker builds on Ubuntu 22.04

Docker’s official documentation on how to enable multi-platform Docker builds is a bit intimidating, suggesting you to run the Docker image tonistiigi/binfmt in privileged mode on your machine. I searched for alternatives on Ubuntu, and found this very detailed description. … Continue reading

Posted in Docker, Linux, Ubuntu | Comments Off on How to enable multi-platform Docker builds on Ubuntu 22.04

Typesafe’s Reactive Straw man

In their quest to promote Reactive, Typesafe is beating up a straw man by portraying blocking I/O in a particularly stupid way which is rarely (if ever) done in practice. In a recent webinar, I found this slide which suggests … Continue reading

Posted in Java, Linux, reactive | 1 Comment

Leafpad > gedit

I want a simple, fast and lightweight text editor for my Linux desktop. I don’t want to learn a lot of new arcane key bindings, so not Vim or Emacs. I want a real GUI desktop application, not a console … Continue reading

Posted in Linux, Ubuntu | 5 Comments

How to fix keyboard layout in Ubuntu 14.04

I regularly use Swedish keyboard layout, but I keep the English layout around in case I would like to temporary switch to it. Ubuntu 14.04 sometimes mess this up and I suddenly get English layout when I log in. I … Continue reading

Posted in Linux, Ubuntu | Comments Off on How to fix keyboard layout in Ubuntu 14.04

Running Adobe Lightroom 4.4 in Ubuntu 14.04

I use Adobe Lightroom 4.4 for photo editing. There is one very annoying aspect of this program, it is not available for Linux (only for Windows and Max OS X). In order to run Lightroom on my computer, I had … Continue reading

Posted in Linux, Ubuntu, wine | 4 Comments

Running Jetty as a service in Ubuntu Linix

Jetty is a popular open source Java application server. In order to run it as a service on a Linux server, they recommend using a horribly overcomplicated and quite fragile script. In Ubuntu server, there is a better way. Leverage … Continue reading

Posted in Java, Linux, Ubuntu | Comments Off on Running Jetty as a service in Ubuntu Linix

Running Adobe Lightroom 4.4 in Linux

I use Adobe Lightroom 4.4 for photo editing. There is one very annoying aspect of this program, it is not available for Linux (only for Windows and Max OS X). In order to run Lightroom on my computer, I had … Continue reading

Posted in Linux, Ubuntu | 16 Comments

GIMP 2.8 in Ubuntu 12.04

This is no longer relevant, since the PPA have updated to GIMP 2.8.10, which has fixed the bug. If you use Ubuntu 12.04 LTS, you only have access to the old GIMP 2.6 in the standard repositories. This is unfortunate … Continue reading

Posted in Linux, Ubuntu | Tagged | 2 Comments