How to do logging in java using log4j api, best practices and tips

2020-09-13 23:09:22 - No Comments

We talk about logging in general and the different levels used in java and then we talk about the log4j logging API and how to set it up for writing files, logging to console, or doing a custom setup. We also talk about different frameworks and best practices.

Read more →

Linux by example – System configuration

2020-09-11 23:09:15 - No Comments

The linux environment is now fully build, all tools and programs are created and we will do the final configuration of the system.

Read more →

Using rust jni to call an external rust library in java

2020-09-06 23:09:09 - No Comments

In this video we setup rust jni to call a rust function from java using jni. Java native interface is a great way to enable quick calls to native code built in other languages like Rust. This approach can be used for other languages as well.

Read more →

Linux by example – util-linux, e2fsprogs, sysklogd, sysvinit, eudev

2020-09-04 23:09:20 - No Comments

We are in our new Linux environment and create some more packages. util-linux – Linux utils e2fsprogs – file system programs sysklogd – logger framework sysvinit – handler to handle init run levels

Read more →

My journey to gracefully shut down a docker image in Kubernetes

2020-08-30 23:08:21 - No Comments

In this video I talk about the different iterations I went through the last weeks in order to shut down a docker image in Kubernetes with workloads without missing any jobs.

Read more →

Linux by example – tar, vim, texinfo and procps

2020-08-28 23:08:14 - No Comments

We are in our new Linux environment and create some more packages. tar – create file packages vim – editor with a lot of functionality procps – check and manipulate processes texinfo – text manipulation used for documentation

Read more →

How to gracefully shutdown java application

2020-08-23 23:08:13 - No Comments

Shutting down a java application gracefully is required to handle java scaling in kubernetes. Shutdown is handled via a hook in java and I’m doing an live coding example where I add code to wait until process is done.

Read more →

Linux by example – Less, gzip, iproute, make and patch

2020-08-21 23:08:17 - No Comments

We are in our new linux environment and create some more packages. Less – read files gzip – for compression iproute – to change network device configuration make – a build system libpipeline – to give piping functionallity man-db – the manual database.

Read more →

Linux by example – Check, Gawk, Findutils and GRUB

2020-08-17 15:08:29 - No Comments

We are in our new Linux environment and create some more packages. Check – To test C builds Gawk – To manipulate text diffutils – To check for changes findutils – To find files and directories GRUB – The boot manager

Read more →

Quick way to build rest api in python (Swagger / OpenAPI)

2020-08-16 23:08:26 - No Comments

We look at how we can build rest API in python quickly. This quick guide is using FastAPI in order to create a quick API using python and SQL Alchemy. Rest API showing in OpenAPI and even redoc format is a really nice way to document your code.

Read more →

How to create 3d moving pictures using neural network

2020-08-09 23:08:12 - No Comments

We create a moving 3d image from pictures using a neural network. This new machine-learning algorithm uses mannequin videos to create pictures for the network to train on and create a depth map to rotate pictures in 3d.

Read more →

Linux by example – Coreutils, python and build tools

2020-08-07 23:08:22 - No Comments

We are in our new linux environment and create coreutils, python, ninja and meson. Talking about their usages and the importance of the utils in the core of linux.

Read more →