We are going to create a simple multi-stage Docker build setup for Go applications. It might sound daunting at first, but it’s actually really easy.
A multi-stage Docker build serves a few purposes. First, the final image size is smaller than traditional images, second, it’s more secure.
Using dockers layering, we can abstract the building processes into multiple stages. And only copy the output that we need for the next stage. For example, the binary that gets created we’re running
go build -o main.
The goal here is to end up with a docker image that only contains and runs…
Create an easy workflow to publish Markdown Articles to DEV.to via a GO script, We are going to create a program that allows us to post draft articles from Markdown to DEV.to with ease.
We are going to need the following tooling so make sure it is installed on your machine.
1. Scaffolding the project
First, let’s set up the project structure so have a base to work on.
mkdir devAutomation && cd devAutomation
go mod init devAutomation
echo "# Hello…
This year I want to set a list of topics that I want to learn for this year. At the end of the year, I will reflect on how much of the lists I have achieved.
A simple gist of Functional Programming is all about functions for immutable variables. In contrast to Object-Oriented languages, which are more about a fixed set of functions and modifying or adding new variables.
A year ago I had my first go at it when I worked with Elixir but now that I don’t use it anymore, it has faded a bit. And because Functional…
You’re reading this because Junior, Medior, or Senior is in your job title.
Let’s start with some background information. From what I have seen, between 1–3 years experience is a Junior, between 3–5 years a Medior and it’s possible to be a Senior Developer from 5 or more years of experience. But this can vary from company to company, and whom you talk to, this is my view on those titles.
Those levels can be limiting your abilities and it also puts you in a box. It doesn’t add value to the work you are doing.
Titles only set expectations…
Your GitHub profile Readme has come a long way, but it’s missing something: your latest Medium article, of course. In this tutorial, I’m going to walk you through how to set this up using a Go script.
You will need Go version 1.x installed on your machine. If you don’t have any Go knowledge, I would recommend checking out this article from Bryan Dijkhuizen to get a better understanding of the basics.
We are going to create a script that fetches our latest Medium articles and writes them out to a markdown file. First up, we need to get a…
If you watch a day in the life of a software engineer of one of the FAANG companies. These videos will show you that you can start today at 10:30, have a lunch in a restaurant, have a meeting, code between those obligations, and be done with the day at 7 and that’s it.
This is only true for the coding and meeting part.
I watched the YouTube video of Morgan codes and her video actually shows a true representation of a day in the life of a software engineer. …
We as developers always need to stay up to date with new frameworks, tools, and new languages.
So having a strategy that you can use to get to know a new language, framework or tool is beneficial in the long run.
Since I started with programming I have been writing scripts. All kinds of scripts, from simple utils scripts to web scrapers and command-line tools.
Because of this I use writing scripts as a strategy to learn a new programming language. Over the years I added APIs and web-apps to my learning strategy.
For example, when I wanted to learn…
It’s been a few months since we were all confined to our homes because of the raging virus outside, and I’m really lucky to work at the office again at the time of writing this.
Here in the Netherlands, it’s still not fully under control. And there are areas in the City where it’s mandatory to wear masks.
But now I’m want to reflect on the first couple of weeks of March where I really struggled with work and keeping focus and keeping my attention to work.
Here are a few of the things that helped me stay focused and…
I spend a lot of time behind the computer working as a Software Engineer, When I’m not working I will edit photos, write, or code on my side projects. So looking at a screen for periods of time is very normal for me.
Over the years I have found and tried a myriad of things to help me reduce sore eyes, battle RSI(Repetitive strain injury), learned to sit with a better posture at my desk and more.
Here are my 6 Tips.
Don’t put your screen’s brightness on full blast, this is bad for your eyes. I put all my…
This is a follow up article on Setting up powershell for development.
So you have a Profile setup for Powershell that’s great, it a good practice to save this Profile in a repository so your setup saved up in the cloud.
A popular place to store and manage your configurations is in a dotfiles directory. The name dotfiles come from the fact that most configurations are saved in a file that starts with a
. If you look at
.bashrc or a
.vimrc you can see a pattern.
Let’s get started
Open up an Administrator PowerShell window and let’s make…