In this article we’ll look at a Kotlin springboot project using a generated API from a “swagger file”. As usual, find the code in GitHub at sylhare/Petshop 🐶🛒. Code generation Using the petstore.yml example. We are going to use openapi-generator...
Jupyter notebook is a tool to interactively develop with python. When working with datascience, it integrates all you need smoothly in one place. It is thanks to the possibility of having different blocks of code, text or rich content in one file....
Simple Blockchain overview In a nutshell Let’s not go into too many details here, just a simplified version of how a blockchain generally work. There are a lot of information out there. A blockchain is not only for cryptocurrencies, it is a lik...
Ktor is a framework for building asynchronous (with coroutine) servers and clients in Kotlin. It’s made by the same people that made Kotlin. If you would rather not use a framework, you can check this article on How to use Kotlin for TCP with jav...
Java’s functional interface is available since v1.8. It allows you to leverage lambda function’s possibilities. We already talked about parametrized java function where we were also utilizing the lambdas. So to add a twist, we’re going to add som...
Since Jekyll has so many possibilities, and I have been blogging with it for years now, I wanted to get some stats 📊 out of this blog. Inspired by Raymond Camden, I decided to give it a try and build my own stat page. Implementation This stat...
One of the most frustrating source of errors with Python is a result of environment mismanagement. So let’s review some pain points, and how to correctly set up Python on macOS, and use virtual environments. Examples Mixing Python version One c...
Some context before getting into it… SQL is a domain specific language used to manage data held in relational database management system (RDBMS). It is excellent for structured data. Not to confuse with “noSQL Database” which refers to a non-rela...
Context Let’s say you have two accounts (or more) in a git hosted service: A public GitHub account 👨💻 Another private account 🕵️️ (could be GitHub, Gitlab, BitBucket, …) Also, you want to have a separate SSH key for each of your account...
Optional is available since Java 8 in java.util. An optional is like a wrapper for an object with some extra methods to execute based on the existence of the value. It is close looking to the ? elvis operator in Kotlin but in a more verbose way. ...