Machine learning ideas: Anomaly detection

Machine Learning ideas: Anomaly detection using K-Means

From time to time I come across Machine Learning ideas. As I come across them I like to explain them to you my reader and encourage you to try them out. In this post you will learn a method to detect abnormal transactions. I will show you how you can find weird transactions on your own bank account.

Read More

5 Tips to improve your machine learning solution

Last week I teached a group of colleagues about machine learning. The goal for the training was to remove the black box and learn more about what you can do with machine learning. We also covered some discussions that arise when you start to use machine learning.

There’s a lot of things you need to think about when you start to apply machine learning. Although it’s not impossibly hard, there’s still a lot of stuff you need to think about.

In this post I will discuss 5 tips that can help to improve your machine learning solution.

Read More

So you are a technical evangelist, what does it even mean?

When I started developing software at thirteen I dreamed of architecting big software systems. I really wanted to build cool stuff with my computer, although I could only program a little bit of QBasic back then.

18 years later I am building big systems, but I haven’t exactly reached my goal. Of course I design my fair share of big pieces of architectures, but I’m not an architect.

Here’s why. Quickly after I discovered programming I also discovered my love for doing new things. I have a bad habit of stopping right before something becomes mainstream. The sort of thing you don’t want in an architect to be honest.

This property of finding out new stuff and stopping before it becomes mainstream is a useful property if you know how to apply it though.

Instead of worrying about it, I made sure to use this property to my advantage by becoming a technical evangelist. Yes, it’s a thing and you may be wondering what that is, so let me explain what I do.

Read More

TypeScript: Internal vs External Modules

Last week we started to build our first component in Typescript. We have done Javascript development for quite a few years and we are quite proficient at it as a team. Still there is room for improvement. We really dislike the syntax of the revealing module pattern and we love strongly typed languages for the compile time checks it provides.

Typescript feels as a language that can offers quite a few things. There is however one thing that I had a hard time with: Modules.

It looks simple at first, but when you look carefully you will see that it is easy to get wrong.

In this post I will show you what I mean and give a few tips on how to use Typescript modules correctly in your own applications.

Read More

Make your Spring Boot application multi-tenant aware in 2 steps

Building a micro service using Spring Boot is quite a lot better than building everything by hand. But when you want to do something different it’s a bit like eating mcDonalds. It’s fast and easy, but not very good for you :-)

I ran into this kind of situation when I tried to add multi-tenant support to my micro service that was build in Spring Boot.

Multi-tenant support is important to me. Our team runs knowNow a knowledge management system that is a SaaS solution that allows companies to simplify the way they share knowledge among colleagues. We offer a subscription service so that the customer doesn’t have to worry about configuring servers, backing up databases etc.

This means we have to run a configuration that is as simple as possible. We don’t want to roll out a service per customer as it is too expensive and too complex to manage. Instead we allow all customers to access the same number of service instances so that we only have to worry about load balancing to ensure that everything stays up.

In this post I will show you how I managed to configure a typical microservice with a database into a multi-tenant version of the same service.

Read More