avatar

Andres Jaimes

Inspirational videos

This article contains a series of curated inspirational videos from different users.

“It will make you rich”. What poor people don’t know about making money

Videos from UKspreadbetting

This article contains a series of inspirational videos from user UKspreadbetting which I consider very important.

Why trading forex is so difficult

Is trading the road to great rewards and richness?

Trade entries and exits …

Recommended libraries for Java

This article lists a curated list of Java libraries that I have used over the years for different projects. They are all well documented, and for most of them, plenty of examples can be found on the web.

Apache Commons Email

Commons Email

Commons …

Check multiple option values in Scala

Two main approaches for doing this, the second one being for me the most appropriate.

Check values using regular if conditions:

1if (opt1.isDefined && opt2.isDefined && opt3.isDefined) // do something

Check values using match:

1(opt1, …

Creating and validating JWT JSON web tokens

This article goes through the process of creating and validating JWT’s (JSON web tokens) using Scala.

Our implementation uses the awesome io.jsonwebtoken library, and can be added to a sbt project like this:

1libraryDependencies ++= Seq( …

Make a request to a remote service

This article shows how to make remote requests to services using Scala and the Play-Framework. It documents some recommended features that can improve the reliability of the request.

Setup

Make sure you add the following dependency to build.sbt …

Migrating from WordPress to Hugo

The idea behind migrating to hugo is to avoid having to deal with server and certificate updates, backups and so on. Plus moving a site to a global network, like Netlify’s, comes with the added benefits of quick download speeds and an easy to …

Who pays wages?

It is not the employer who pays the wages. Employers only handle the money. It is the customer who pays the wages. - Henry Ford