object keyword in Kotlin creates singleton in a very convenient way. It can be used for example as a state of an operation. Spock Framework is one of the most expressive Read more
Brand new Spring Boot 2.0 has just been released and TouKs couldn’t wait to try it in the production. One of the newly added features that we investigated Read more
What is MapStruct?
According to MapStruct website:
MapStruct is a code generator that greatly simplifies the implementation of mappings between Java bean types based
Kotlin takes Type-Inference to the next level (at least in comparison to Java) which is great, but there’re scenarios, in which it can backfire on us. Read more
By deafault, Apache Karaf keeps configuration for bundles in the
etc directory as flat properties files. We can override configuration for the storing Read more
In this article, we continue where we left off and focus solely on error detection for Hamming codes.
Hamming Error Correction with Kotlin – part 1
Hamming code is one of the Computer Science/Telecommunication classics.
In this article, we’ll revisit the topic and implement a stateless Hamming(7,4) encoder Read more
Handling checked exceptions in lambda expressions is often frustrating. Luckily, there is a type inference rule that we can exploit… Read more
In this short article, we will have a look at how we can bypass Kotlin’s native null-safety with sun.misc.Unsafe, and see why it can be dangerous even if we are not Read more
The tricky thing about working with PriorityQueues is that, ironically, they don’t always behave according to the PriorityQueue semantics. Read more