Skip to content

jworks.io

Agile Software Development

  • Home

Author: Erik Pragt

group of people watching concert

Datafaker 1.1.0 Released

Programming February 1, 2022

While a 1.1.0 release vs a 1.0.0 release might seem like a small feature update, for us, it was a huge milestone. For those unfamiliar with Datafaker, Datafaker is a JVM library to generate fake data for Java, Scala and Kotlin applications. Datafaker started as a fork of Javafaker, but over time has fewer bugs, …

Continue reading "Datafaker 1.1.0 Released"

The Faker.js Saga Continues

Programming January 9, 2022January 10, 2022

Just days after my publication of Datafaker.net, an Open Source library to generate fake data for the JVM, on of the libraries by which Datafaker got inspired, Faker.js, decides to pull the plug. The owner of the library, Marak, published a new version of Faker.js with the significant 666 version number, and proceeds to remove …

Continue reading "The Faker.js Saga Continues"

Datafaker, an alternative to Production Data

Programming January 4, 2022January 4, 2022 One Comment

A few days ago, we've released our first 1.x version of Datafaker. Datafaker, a modern and more up to date port of Javafaker, is a library to generate fake random data which looks like real data. What is Datafaker Datafaker is a Java/Kotlin library. It's has been created because the original project, Javafaker, was stuck …

Continue reading "Datafaker, an alternative to Production Data"

System.out.println vs Loggers

Programming October 19, 2021November 2, 2021

As a programmer, it’s often important to know what your program is doing, and debug statements can help a lot in understanding error conditions and thee actual behaviour of a program. However, to create such information, there are a couple of possible solutions available. For example, we can use System.out.println statements in our program to …

Continue reading "System.out.println vs Loggers"

Better logging with TinyLog 2

Programming October 19, 2021October 20, 2021

Most, if not all, Java and Android developers have come across logging requirements in their application. Most commonly known Java logging frameworks are Log4j2, Logback, and JUL (Java Util Logging), and most people have probably used SLF4J, the abstraction on top of these logging frameworks. A lesser know logging framework is TinyLog 2. This blog …

Continue reading "Better logging with TinyLog 2"

Phone Number Validation using custom Hibernate Validators

Programming October 19, 2021October 20, 2021

I’m sure most developers have been there: you have to develop a seemingly simple piece of work. You build it, you test it, you bring it to production, and a few weeks later you run into a bug. This is what happened to us, in a seemingly straightforward piece of code: accepting phone numbers in …

Continue reading "Phone Number Validation using custom Hibernate Validators"

Loops in Kotlin

Programming October 19, 2021October 20, 2021

There’s a common way in Java to do loops. One of the most well-known ways to iterate on a range is to use the traditional for loop. A more modern approach would be something like using a Java 8 IntStream. Examples of either can be seen below: // Traditional for loop for (int i = …

Continue reading "Loops in Kotlin"

EasyRandom 4.0 Released

Programming October 19, 2021October 20, 2021

EasyRandom 4.0, the library to easily create test data, has been released. In this blogpost, I’ll walk you through some of the new features, most notably the three strategy classes to easily change the internal behaviour of the randomisation process. What’s new in EasyRandom 4.0 With the EasyRandom 4.0 release, several things have been changed. …

Continue reading "EasyRandom 4.0 Released"

IntelliJ Postfix Completion

Programming October 19, 2021October 20, 2021

Recently I wrote about which Essential IntelliJ Shortcuts our team is using the most. Shortcuts like the ones listed help you keep into the flow of programming without the need to jump around your code. To help you even further, a helpful but often overlooked feature is IntelliJ’s postfix completion, a feature which has been …

Continue reading "IntelliJ Postfix Completion"

Essential IntelliJ shortcuts

Programming October 19, 2021October 20, 2021

A good craftsman knows their tools. Being a software developer is no exception. So, while programming and to stay in the flow of coding, it might be worthwhile to know some keyboard shortcuts and to not be distracted by clicking on menu items. In this blogpost, I’ll focus on IntelliJ. While IntelliJ has almost a …

Continue reading "Essential IntelliJ shortcuts"

1 2 3 Next