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 …

Protecting your privacy by blocking online trackers

You don’t need to be particularly interested in technology or privacy to know that a lot of companies are following you around as you browse the web. There’s a huge market for personal information which is mostly used to serve targeted ads. Lots of information is available online that goes into great detail on how …

Project Lombok’s @Builder annotation and generics

Some time ago I’ve written about Project Lombok’s @Builder annotation. When used, it will automatically create a builder for your Java POJOs. Lately, I’ve had some trouble using it on generic classes. Initially I thought that Lombok might need some improvements in this area, but it turned out that I was just using it wrong. …

Disabling the ThinkPad TrackPoint in Ubuntu

One thing that has annoyed me since I switched to Ubuntu as my main operating system is the little red TrackPoint of my Thinkpad, situated in the middle of the keyboard. Often, when I’m typing something, I will hit it and the focus suddenly is on a different UI element. Today I finally found how …

Importing calendar data to an Owncloud calendar

After reinstalling Owncloud using Chef (see this post) I had to spend some time figuring out how to import existing calendar data into an Owncloud calendar. Initially I wanted to subscribe to a remote calendar (bank holiday data) in the Owncloud web interface, but I didn’t find a way to do this. Instead, I created …

Reinstalling and configuring a server with Chef

For the last few years, all the projects I’ve been working on have made extensive use of a configuration management tool called Chef. It helps you define the configuration of the servers that you manage and enables you to rebuild a server easily. If you’re using Chef, you don’t change server configuration manually, everything gets …

Project Lombok's @Builder annotation

We’ve been using Project Lombok for a long time to reduce boilerplate code in our Java projects – it provides you with a number of annotations (@NoArgsConstructor, @AllArgsConstructor, @Getter, etc.) that will be used to generate code for you. If you don’t know it yet, I recommend you take a look and adopt its usage. …

Setting up samba shares in Ubuntu

One step of moving over from Mac OS X to Ubuntu was setting up my file shares that I’m using for serving media content to Openelec. For OS X I’ve used SMBUp to configure the folder sharing. Ubuntu supposedly makes it easy to share a folder, you just right click the candidate and choose “Share …