Development

Fault Tolerance in Quarkus

Posted on by  
Justus Brugman

Yet another short post using Quarkus. Quarkus is a full-stack, Kubernetes-native Java framework, but for this short post I’m using Kotlin for a change. The goal of this post is to show you how easy it is to use the circuit-breaker pattern to build fault tolerant services. For this we use the smallrye-fault-tolerance library, an implementation of the Eclipse MicroProfile Fault Tolerance.

Continue reading →

Integration testing in Quarkus

Posted on by  
Justus Brugman

For one of our clients we use the Quarkus framework. Quarkus is a full-stack, Kubernetes-native Java framework, designed to work with popular Java standards, frameworks and libraries. It is possible to get into details about Quarkus, but that’s not what this post is about! This blog will tell you how to set up a simple database driven application with a full end-to-end test, using Quarkus and testcontainers.

To be able to follow this how-to you’ll need the following:

  • An IDE (like IntelliJ IDEA)

  • JDK 11+

  • Maven 3.8.1+

  • Gradle 7.2

  • Have Docker installed on your machine

Continue reading →

Create a Docker image running Robot Framework

Posted on by  
Justus Brugman

Robot Framework is easy enough to set up. When you have Python installed on your system, it can be as easy as running pip install robotframework && pip install robotframework-appiumlibrary. This is not how I want to do it. For this intro, I want to run the Robot Framework in a Docker image.

Robot Framework is a generic open source automation framework. It can be used for robotic process automation (RPA), and also for acceptance level testing and acceptance test-driven development (ATDD). In this blog I want to focus on the first steps to start working with it.

Continue reading →

Videoconferencing Part III

Posted on by  
Justus Brugman

As explained in part two of this series, OBS is a tool that makes it possible to create your ‘virtual camera’. We can use this camera in conferencing tools like Zoom, Slack, Microsoft Teams, Google meet, Signal, and so on. OBS is available for Windows, Mac and Linux, so it will probably work on your system as well. In this part I’m going to explain how to get and install OBS, then we’re going to use it together with the chromakey screen. I’ll focus on the virtual camera support, but the OBS suite can do a lot more. It is free and open source software for video recording and live streaming. It allows you to apply filters, supports NFI (via a plug-in) and much more.

OBS can be found on the OBS project website. Here you’ll find a support forum as well, there is an active community helping you out on problems you might face. For now let’s download the software. Select your operating system en press ‘Download Installer’. When you’re using Linux, it’s a bit harder. If your distribution does not offer OBS Studio as a package, you’ll have to build it yourself. Luckily the build instructions are not that hard to follow. On the Mac or on Windows, the process is straight-forward. After downloading the installer, just run it, and follow the given steps. As it gives you the question for what it should be optimised for, I did choose 'streaming'. You are able to change this later on in the 'Profile menu', when you select 'New'.

Continue reading →

Videoconferencing Part II

Posted on by  
Justus Brugman

In the first part of the small series about videoconferencing, I talked about the hardware. As promised, this time it’s all about the software, and you don’t have to spend any money on it!

All the software we’re going to use here is open source. This means it’s free to download, install and use! Best of all, you are able to contribute to the projects as well, perhaps you’re a gifted developer that can improve the program. Then give your improvements back to the community! For now, let’s have a look at the programs you might want to download.

Continue reading →

Videoconferencing Part I

Posted on by  
Justus Brugman

Since most of us are more or less forced to work from home, we’re using Zoom, Google meet, Microsoft Teams, Slack or other videoconferencing programs to keep in touch with each other. Even though most programs allow you to blur your background or replace it with a nice image, it isn’t ideal and the quality isn’t that good. On the other hand, you don’t want to be in a situation that you’re in the middle of an important meeting, and find out that you forgot to clean up that pile of laundry or other private goods that you rather don’t show to the outer world.

This is why I thought it would be nice to create a short series that helps you to professionalize your video conferencing setup. The focus is to keep a tight budget, let’s say about 150 Euro of hardware. We only will use open source programs to create your virtual environment you want to be in. This isn’t only a thing that is just fun to do, but I’ll show other possibilities as well. For example: You are able to place yourself in front of your PowerPoint presentation. In the end, you’ll be able to create an end-result like this:

Note:

For this short demo I used free video footage available on videezy and vidveo. If you want to use their free available products, remember to link to them and give the proper credits to them as well.

Continue reading →

iTerm2

Posted on by  
Justus Brugman

Since I’ve been working on a Mac, I replaced the default terminal with iTerm2. It provides some nice features like searching, autocomplete, or allowing to see images in the terminal. But this one is my favorite one, the undo close tab / session.

Don’t you just hate it when you have multiple terminal tabs open, and accidentally close one? Just that one where you had an important process running, or tailing an error log? I do! :) This is just a short blogpost how iTerm2 helps me having more fun using my terminal. Actually it’s not much of a blogpost, this provides some screenshots. Sometimes an image says more than words.

Continue reading →

Introduction to OData

Posted on by  
Justus Brugman

As developer, you probably have to work with APIs. Either you consume them, or perhaps you build them. Most of the time an API provides some sort of JSON response or perhaps XML. When the implementation is complete, it provides documentation as well, using the OpenAPI specification. This however is not what this blog is about.

The goal is to get you started exploring OData. OData is an OASIS Standard that defines the best practice for creating and using RESTful APIs. So in short, it is a web-based protocol for querying and updating data.

Continue reading →

shadow-left