Jan Stamer

Blog

08/2022 Go Integration Tests using Testcontainers

Your application uses a database like PostgreSQL? So how do you test your persistence layer to ensure it’s working properly with a real PostgreSQL database? Right, you need to test against a real PostgreSQL. Since that test requires external infrastructure it’s an integration test. You’ll learn now how easy it is to write integration tests for external infrastructure using Testcontainers and Docker. Integration Test Setup Our application stores users in a PostgreSQL database.

02/2021 Local Dev Setup with automatic HTTPS + WebSockets in 1 Line

Let’s set up a local web server for development that supports automatic HTTPs and WebSockets in just 1 line of code. No problem thanks to the awesome Caddyserver. Preparations Set up the local hostname For automatic HTTPs you need to set up a local hostname first. We will use remast.local. To make your local development machine available at that hostname you need to add the hostname to your local hosts file.

03/2020 Using SonarCloud with Github Actions and Maven

In this post you will will learn how to analyse your Java Maven project with SonarCloud using Github Actions. Starting point is a simple Java project with a Maven build. First we’ll use SonarCloud to analyze our source code from our local dev environment. Then we’ll use Github Actions to run the Maven build. So finally we have a fully functional ci pipeline which builds and analyzes our code using Github Actions.

11/2019 Go for SonarCloud with Github Actions

Learn the basics of analyzing a Go project with SonarQube in my post Go for SonarQube. In this post I’ll show you how to use Github Actions to analyze your Go project with SonarCloud. SonarCloud offers SonarQube as a service. {% link remast/go-for-sonarqube-4iho %} Metrics like lines of code or test coverage are great to track and improve the quality of your source code. SonarQube can calculate these metrics for your project and track how they evolve over time.

10/2019 The Coders Bucket List

A bucket list is a list of things you ought to do before you kick the bucket and die. Here’s a bucket list for every coder out there. Check it out and tackle them one at a time! Compile your own Linux Kernel The linux kernel is the heart of the Linux operating system and is open source. Compile your own linux kernel to get a deeper understanding of how linux, open source software and the kernel itself work.

09/2019 Go for the REST

The Go programming language is a great fit for RESTful web applications. Picking the right Go web framework to start with is not an easy task. Lucky enough it is a task solved already. Pick the Go web framework buffalo and off you go. Not convinced yet? Learn how to build a RESTful web application with buffalo. Buffalo is a whole ecosystem to develop web applications in Go. Buffalo combines routing, templating and testing to build web applications based on the famous model-view-controller pattern.

08/2019 Soft Coder / 3x3 des Daily Standup

Egal ob Kanban oder Scrum, täglich grüßt das Daily Standup. Das Team hat 15 Minuten, um die wichtigsten Informationen von gestern und heute auszutauschen. Du hast 30 Sekunden. Nutze sie. Das folgende 3x3 des Daily Standup hilft Dir dabei. Mit 9 Tipps zum wichtigsten Meeting der agilen Entwicklung. Bereite Dich vor Vorbereitung ist alles, auch beim Daily Standup. Also bereite Dich vor. Diese 3 Dinge helfen Dir dabei: #1 Komme pünktlich Komme pünktlich.

08/2019 My Top Software Architecture Books and Resources

Here are my top books and resources on software architecture. All of these are really great sources of knowledge for anyone who’s dealing with software architecture. And that should be anyone who develops software. Since software architecture is a team responsibility and should be a team effort. Software Architecture for Developers “Software Architecture for Developers” by Simon Brown is a great introduction for agile software architecture. Volume 1 is a guide to lightweight software architecture and technical leadership

09/2017 Wir schreiben Code

Wir Software Entwickler lesen und schreiben viel. Aber unser Genre ist nicht Belletristik und nicht Liebesromane. Wir lesen Code. In vielen Sprachen. Wir lesen und schreiben XML, SQL, Java oder JavaScript. Der eine bevorzugt Java, die andere PHP. Wenn wir schreiben sind wir genau und präzise, das müssen wir. Jedes Wort ist wichtig. Auch einzelne Zeichen können entscheiden über Gewinn oder Verlust, manchmal auch über Tod oder Leben. Deswegen müssen wir genau sein, genau schreiben ohne Missverständnisse oder Kompromisse zuzulassen.

02/2017 Go for SonarQube

Static code analysis is a great and easy way to discover bugs, race conditions, code smells or to check whether code matches the coding conventions. I will motivate why it’s useful to use SonarQube for static analysis of Go code and show you how it’s done. Go Vet Go already ships with the tool vet which does static code analysis of Go code. To use vet just run go vet source/directory/*.