Async call DynamoDB from Vert.x using Kotlin coroutines

Vert.x When writing Vert.x verticles, everything is about non-blocking asynchronous operations, of course. Therefore if we want to have Amazon DynamoDB as our database, we want to also call it asynchronously. In this example I assume you already created the DynamoDB table.

Read more

My takeaways from Joy of Coding 2017

Joy of Coding Last week I attended the Joy of Coding conference for the second time. Joy of Coding is an event that “celebrates the art, craft, science and joy of software development” and was organised this year for the 5th time in Rotterdam.

Read more

Setting up a Docker Swarm cluster with Vagrant and Ansible

Docker Swarm For a Docker Swarm cluster I will use in this example: 1 manager node and 2 worker nodes. They will be launched by Vagrant with VirtualBox using the Ubuntu 16.04 image.

Read more

OAuth 2.0 server with Facebook login in Spring Boot and Kotlin

Spring Boot For my side project Powerline, I’m building a REST API and I needed some authentication. I thought: users of this app will probably not want to be bothered with creating an account, so why not allow them to sign in with their Facebook account.

Read more

Kotlin binary search example

Needle and haystack While Kotlin already provides a binary search implementation for lists, it’s always fun to occasionally implement it yourself just for learning purposes.

Read more

Correct usage of Optional in Java 8

Java beans With the introduction of Java 8 we also got a new class to our disposal: java.util.Optional. The correct usage of this class, especially together with streams, can result in much cleaner code. But not always does it have benefits.

Read more

Waarom ik Kotlin te gek vind

Kotlin Kotlin is een relatief nieuwe programmeertaal ontwikkeld door JetBrains, het bedrijf achter de bekende ontwikkelomgeving IntelliJ IDEA.

Read more

Unit testing in Kotlin met Spek

Jenga Voor deze blog post gebruik ik een side project als basis: een implementatie van het populaire bordspel Hoogspanning (PowerGrid) geschreven in Kotlin.

Read more

Lazy properties in Kotlin

Kotlin Soms heb je een alleen-lezen property in een class waarvan de waarde gecalculeerd wordt. Als het calculeren dan complex is en traag, dan wil je dit wellicht alleen doen wanneer de property daadwerkelijk wordt uitgelezen en ook slecht één keer.

Read more
Back to top