Data Structures

Good knowledge of common data structures is needed in computer science. This article describes common data structures, and present cost and benefits. Lists A List is an abstract data type representing a finite collection of ordered elements. Typically, a List is allocated dynamically depending on the implementation. For example, Array-based Read more…

Maven multi-module in Eclipse

You use maven in Eclipse, and need to work with multi-module (hierarchical) projects? This page shows how to create and work with maven multi-module projects in Eclipse. For this article, I am using eclipse-jee-2019-06, which already supports maven. If you use a different version of eclipse, make sure the m2e Read more…

Maven basic examples in Eclipse

Here are three examples covering maven basics in Eclipse such as: convert a java project to maven nature, create a project with an archetype selection, and refresh/update projects and understand files and structure. For the article, I use eclipse-jee-2019-06, which already provides maven support. If you use a different version Read more…

Java 8 streams

Notes on practical usage of Java 8 stream filtering. Stream Filtering A Stream<T> references a sequence of T values, and exposes a set of aggregate operations we can use to manipulate data in a pipeline. As an example, we can find the name of any people older than 20. In java, you can loop Read more…

Parsing XML with Java

Here are some notes on parsing XML file with java to extract information Simple Example Assume we have an XML file and we want to extract specific attributes. A sample file could be: With XMLStreamReder Here is the code to quickly scan the XML file and get the values for Read more…

Passwords and Hashing

This page presents a few examples of using Java for passwords and hashing. Generate Password A Java example to generate a random password containing only alphanumeric characters. Java Code to ComputeSHA-512 digest other.. linux get sha-512/

About Algorithms

Knowledge of algorithms and data structures is important for Software Engineers. To be good at solving problems you need practice. Here is some resource to make practice, and suggestions. Posts about Algorithms Below, you see the list of my posts about algorithms [catlist name=”algorithms”] Sites Sites to practice and learn Read more…

About me

I’m Patrik, a Senior Software Engineer with over 15 years of experience working across major tech hubs in Europe. My journey has taken me through Bologna (Italy), Den Haag (Netherlands), Zürich (Switzerland), and Stuttgart (Germany), where I’ve contributed to significant projects in banking, energy, automotive, enterprise software, and open-source development. Read more…