Loading...
Hot Topic

SMEs, Steer Clear of Microservices!

Architecture
April 15, 2024
Read article

Latest Posts

Jenkins Declarative Pipeline throws Method Code Too Large Exception

I use the declarative Jenkins pipeline in my current project, but after 2 years of development we hit a barrier I wasn’t aware of. Jenkins puts the whole declarative pipeline into a single method and at a certain size the JVM fails with java.lang.RuntimeException: Method code too large!. Digging deeper it turns out that no method is allowed to exceed 64k . So I needed to find a solution for this problem.


Clean Code April 29, 2019

Distinguish Between Optional and Mandatory Parameters in the Builder Pattern

After reading through Designing Bulletproof Code by Otavio Santana I stumbled upon its example of using a builder pattern. While this was not the focus of the article itself I also realized that I saw the issue in the past a lot and I ran in it as well. The widely spread understanding of the builder pattern (as described in Effective Java by Joshua Bloch) does not differentiate between optional and mandatory parameters and that makes their usage not easier but harder.


Other April 27, 2019

Code-Held Goes Open Source

Today I have an awesome Message. Since I also post about technologies I use on this page I decided to put the whole page open source on gitlab . Feel free to discover how I developed this blog and which technologies I use. I had the project in a private repository before but after many considerations I decided to not transform it directly into public space, because I used to have my nginx config in there as well and at some point unmasked ssh keys (I exchanged them of course but you never know…).


Other April 26, 2019

Transparent Gradient Effect on Background Image

I built a new neat feature on my blog posts detail page that displays check constraints in the constructor instead of bean validation as a background image in the top of the rendered page. The trick to get the transparent fading effect via css is using a linear-gradient on top of the actual image. It’s important to state that the linear-gradient effect is applied to the whole size of the block.


Other April 23, 2019

Build With Jekylls' Docker Image and Gitlab CI

Since I don’t want to install and manage a compatible version of Ruby for my Jekyll version and all dependencies of my website I decided to use Jekylls’ Docker image to develop this page. For my build pipeline in Gitlab CI I wanted to make use of these already existing definitions. I created a simple docker-compose.yml file that loads my source files as a volume, like explained in the documentation of Jekyll’s Docker Image :


Top