Reading Reading. Reading books. Reading books was our first way of travel. For both my wife and me reading started at a very early age. The public library was the main source of our travel experiences. We would pick up the maximum # of books each week and read them. Read them fast. All the […]
Integrating the AWS Parameter Store with Spring Cloud
I’ll tell you all my secrets (but I lie about my past)— Tom Waits – Tango till they’re sore tl;dr We’ve integrated the AWS Parameter Store with Spring Cloud so that it can be used as a secure configuration backend for services deployed to EC2, including ECS. This code has recently been merged in Spring Cloud […]
Exposing asynchronous communication through a synchronous REST API with Spring 5
On my current project, we opted not to use REST for the communication between our services. Instead we make use of AxonIQ’s AxonHub, which acts as a specialized message broker. Messages can be of three types: Command – You want to change something Event – You want to inform others of something that happened Query […]
Refactoring from Elasticsearch version 1 with Java Transport client to version 6 with High Level REST client
Every long running project accrues technical debt. It may be that the requirements today have evolved in a different direction from what was foreseen when the project was designed, or it may be that difficult infrastructure tasks have been put off in favor of new functionality. From time to time, you need to refactor your […]
Deep Learning for Natural Language Processing – Part II
Author – Wilder Rodrigues Wilder continues his series about NLP. This time he would like to bring you to the Deep Learning realm, exploring Deep Neural Networks for sentiment analysis. If you are already familiar with those types of network and know why certain choices are made, you can skip the first section and go […]
Deep Learning for Natural Language Processing – Part I
Author – Wilder Rodrigues Nowadays, the task of natural language processing has been made easy with the advancements in neural networks. In the past 30 years, after the last AI Winter, amongst the many papers have been published, some have been in the area of NLP, focusing on a distributed word to vector representations. The […]
How to manage Database Migrations with Flyway?
Joris Kuipers, CTO at Trifork, presented a webinar on some usage patterns for Flyway. You can find the recording on our Trifork YouTube channel. Tools like Flyway address a common concern for many people, which quickly leads to questions on how to pick a tool and then apply it in the best manner for one’s particular […]
Using Axon with PostgreSQL without TOAST
The client I work for at this time is leveraging Axon 3. The events are stored in a PostgreSQL database. PostgreSQL uses a thing called TOAST (The Oversized-Attribute Storage Technique) to store large values. From the PostgreSQL documentation: “PostgreSQL uses a fixed page size (commonly 8 kB), and does not allow tuples to span multiple […]
Kibana Histogram on Day of Week
I keep track of my daily commutes to and from the office. One thing I want to know is how the different days of the week are affecting my travel duration. But when indexing all my commutes into Elasticsearch, I can not (out-of-the-box) create a histogram on the day of the week. My first visualization […]
Smart energy consumption insights with Elasticsearch and Machine Learning
At home we have a Youless device which can be used to measure energy consumption. You have to mount it to your energy meter so it can monitor energy consumption. The device then provides energy consumption data via a RESTful api. We can use this api to index energy consumption data into Elasticsearch every minute […]