Retrofit: My new HTTP client of choice

There’s no shortage of options for Java developers when dealing with HTTP connections client-side. Java itself brings facilities to work with HTTP, but they are very low level and inconvenient as is Apache’s HttpClient. I’ve been using some more high-level implementations in the past, Spring’s RestTemplate is often a good fit, the same goes for …

The Transformation Priority Premise

For the first time since I moved to Nuremberg I made it to the local monthly Softwerkskammer meeting yesterday. Softwerkskammer is a german community format focusing on software crafting and it’s a great way for software developers to improve their skills. This month’s topic was The Transformation Priority Premise (TPP), an approach to writing code …

Relaunch of pamoroth.de

I have been maintaining the website of a journalist friend of mine for a number of years now. It was a homegrown blog-like webpage that worked well, but lacked a number of features. As often is the case with custom software, adding new features over time becomes more difficult, and so finally, a few weeks …

Moving to a new domain

Maybe you noticed that the domain name of this page changed: the old donneo.de has been replaced by reinhard.codes, which I also use as the title of my blog. I have had this domain for a while and it did redirect to donneo.de previously. The reason for this was that my old TLS certificate didn’t …

High CPU usage with Apache2 and WordPress

Today I noticed that the performance of my blog was very bad, it took ages to load a page. Looking at the process list on my server I saw that the apache2 process ran with 99% cpu usage. With more requests coming in, multiple processes would exhaust the servers CPU resources. Restarting the webserver didn’t …

Lombok’s @Builder annotation and inheritance

I’ve written about Project Lombok’s @Builder annotation before (see here and here). We’ve started using it in our project some time ago in favour of the code generation library PojoBuilder. One thing has bugged me though during that time: Lombok’s @Builder annotation won’t generate code for inherited fields. It turns out, there is a solution to …

Disabling Bluetooth in Ubuntu

Since I don’t use Bluetooth I’ve been wondering for some time how to permanently disable it in Ubuntu. There’s a menu item that allows to quickly disable it, but this setting doesn’t survive a restart. Despite some time spent searching around I have not found a reasonable solution to shut down Bluetooth. The only thing …