Category: Code

For all that is related to development

First Steps with Guice

First steps with Guice

A majority of Java developers came to embrace and love Spring’s Inversion of Control (IoC) to inject dependencies. However not all projects are Spring-based! One may want to consider alternatives for taking care of dependency injection… And one of those options is the Guice framework.

Questions you should ask during an interview

Questions you should ask during an interview

You decided to apply for that position or mission and nailed the technical interview. They want you on board! That sounds great, but… before saying “yes” there might be a few questions you should ask and a few things to clarify.

Expressing intent using fluent code

Book with its story items coming alive

As professional developers, we constantly try to make our code readable for all to understand. We use the term “fluent code” to describe that line of thought. But beginners may find that a bit of an abstract notion… In this post I propose you to examine a concrete case I have recently encountered, and one solution for turning that bit of code into something I am proud(er) of.

Strong random number generation hangs on Linux machines

Dices making a random number

You’re working on a new project, which uses a framework requiring strong random number generation. Typically, this could be Spring Security’s BCryptPasswordEncoder. You run your application on a Linux machine: your local Linux Mint for development or some Ubuntu Server instance, for example. And then… nothing happens. The application seems to be hanging! What gives?

OpenPGP: no, it’s not broken yet

A picture of a digital lock

You may have noticed: encryption has received some bad rap lately. I’m talking about Efail and SigSpoof of course, two flaws that impacted OpenPGP-based applications such as GnuPG, Enigmail, etc. Does it mean that OpenPGP is broken?