JWT and OAuth2 explained in 10 minutes.

Photo by Helena Lopes on Unsplash.

Authorization is the function of specifying access rights/privileges to resources, which is related to general information security and computer security, and to access control in particular.”

Authentication is the act of proving an assertion, such as the identity of a computer system user.”

This is important to understand because it implies that whatever authorization technology you use you’ll need to use another technology for authentication supplementary to authorization.

Authentication is not part of this blog post. However as a reference for further reading there is e.g. the authentication technology OpenID Connect. OpenID Connect can be used with JWT as well…


The open standard for machine learning interoperability

In the majority of use cases ONNX will be the machine learning interoperability for you. Of course it’s evolving, but there is a lot of support for training frameworks, support for algorithms and inference hardware acceleration already.

Why should I care about ONNX?

When you are working with artificial intelligence you’ll learn that there a lot of different frameworks to train models, runtimes to execute models, potentially compilers to improve runtime of interences and other tooling. When it comes to inference runtime optimization (including optimization of potentially very costly pre-processing) the hardware architectures the models may be deployed onto can make a significant difference.

Training framework and deployment configuration visualization.


Customizing the end user accessible website and CMS admin UI.

Photo by Chris Lawton on Unsplash

In this post we’ll build upon a website which uses Gatsby for the end user facing part of the website and NetlifyCMS for the admin user facing part of the website. If you’ve not setup a website yet you’ll find some help in one of my other posts How to Setup a Powerful and Free JAMstack Website about how to setup a website with GitLab for hosting the code.

Getting the big picture of static sites

It’s important to understand that Gatsby Netlify CMS websites are static sites. In a traditional CMS like e.g. WordPress data (text, images, etc.) is stored on a database and needs to…


An introduction into generic design patterns to solve common problems when deploying trained ML models in production.

Photo by SELİM ARDA ERYILMAZ on Unsplash

Ideally you should care about ML model deployment patterns before you deploy machine learning models into a production data pipeline. You can refactor design decisions afterwards but w.r.t. some patterns it might get very hard to fix a sub-optimal design afterwards. I’ll not deep dive into this but to give some short hint… it relates to model life cycle management in a lot of cases.

What are machine learning model deployment patterns?

This term consists o two parts:


Cross-platform web apps made easy and maintainable!

Ionic Framework

I’ve developed several small websites in my spare time before. I’ve primarily used static site generators and JAMstack setups. However I’m still primarily a system and backend developer. I’ ve never planned to and I’ll never create such amazing interactive websites like the one shown below. You’ll see that Ionic is not suitable for such use cases anyway later.

A reaction of a web dev to website bruno-simon.com

Nevertheless in 2020 I had the pleasure to design a MVP for an industrial IoT application. Beeing a one (developer) man show at that time in an early stage startup one requirement…


The probably most usuable linux distribution for home users.

I’m using Linux operating systems since I’m a teenager. During my studies I’ve become a full-time Linux user. The majority of software we needed was running on desktop or server Linux distributions. For some software we had to use Windows machines in the lab. Later beeing an embedded software developer I worked with Linux again. In my private life I’v never spend a single cent for Windows or MacOS since then. But it’s time to stop the boring blabla.

Home user Linux distributions

I’ve used a lot of desktop Linux distributions over time: Debian, Linux Mint, Ubuntu Desktop (various Ubuntu flavours, means desktop designs)…


…in a nutshell

Photo by Pablo Heimplatz on Unsplash

The Event Sourcing Pattern is an extremly important design pattern for desiging microservice architecture based applications.

This post does not go into detail what the advantages of event sourcing over the old school approach for state persisting by mapping class instances to database table rows via object relational mapping (ORM) frameworks has. Either you beliefe me or you’ve to read Microservices Patterns, chapter 6 Developing business logic with event sourcing. To give a short preview:

  • Object-Relational impedance mismatch.


GitLab + NetlifyCMS + Gatsby + Starter = Free, Easy, Powerful

https://www.netlifycms.org

The JAMstack is a modern, lightweight approach for building websites with static content or a comparably little frequency of content changes over time. For additional reasons why you might want to build a website using the JAMstack head over to the advantages listed here.

J stands for a JavaScript frontend, A stands for APIs, M stands for markup. The frontend is usually build using a static site generator like one listed here. The backend usually consists of a version control system + headless CMS like one of the ones listed here.

The JAMstack combo of choice

I usually need a setup for small, private website…


in a nutshell

Photo by C Drying on Unsplash

In 2019 I was working for tribe29 GmbH. The company develops a well-known IT monitoring tool called CheckMK. The software uses Python plugins called checks to implement monitoring functionality. I already knew about functional programming and it’s benefits of potentially improving performance and memory consumption significantly. However Python does not support the functional programming paradigm natively. Python focusses on supporting the imperative and object-oriented programming paradigm. Nevertheless I wanter to learn more about how one can apply functional programming concepts in Python and read the book Functional Python Programming by Steven F. Lott.

Not much later I profited from what…


… in a nutshell

Photo by Romina Farías on Unsplash

This book is a must read for every Pythonista! If I had to choose one single book to recommend for people dealing with Python I’d choose Python Tricks: The book — A Buffet of Awesome Python Features by Dan Bader. I highly recommend to read this book as early as possible. In 300 pages one learns about essential functionality in an higly interesting, pedagogically impeccably prepared easy to read book with a lot of real-life examples and easy to look up key takeaways.

My personal approach to the topic

I’ve met Dan Bader in person at the PyCon Munich 2016. He is a very smart and…

Florian Kromer

Software Developer for rapid prototype or high quality software with interest in distributed systems and high performance on premise server applications.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store