Microservices with NodeJS, Express.js and RabbitMQ Part 1

This is the first part of a microservices development series. The service will consist of the bellow architecture, where we will expose an image optimizer service that will forward the request to a RabbitMQ queue and answer with the bytecode of the optimized image. It shouldn't be a long series …

read more ...

Connecting to a database through SSH

If someday, for some reason, you need to establish a connection with a database which is behind a firewall and you only have SSH access on that server (and you don't want to use a CLI) you can do an SSH tunnel. It's pretty simple, bellow has a sample of …

read more ...

Now posting on Grepora

A few weeks ago I started posting at Grepora blog. If you like or are looking for some Oracle related stuff, Grepora it's a good place to go and spend a time reading :). From time to time I'll be posting there, it doesn't mean that this blog will be closed …

read more ...

Scaffolding a React app with Parcel and Yeoman

Since Parcel JS arrived, I've been using it a lot as an awesome alternative for WebPack. Webpack isn't bad but IMO it's too complex for the job and parcel do the same (at least the basic) with almost zero configuration. But if you need to create many apps (like a …

read more ...

Could not open connection with MySQL and Hibernate

Last day I decided to deploy a MySQL Docker image to work with my Java application. I've been using PostgreSQL instead and have no problems at all, but after I moved to MySQL, the app didn't connect anymore with the database and throw some "Could not open connection" at my …

read more ...


Change display settings on linux with Disper

From time to time, I change the Linux distro on my laptop or just do a fresh install on it. And once in a while, have random problems with external displays. It can be something really "simple" like don't detecting the external monitor or something crazy like the image below …

read more ...

Java - Files.readAllBytes throws OutOfMemory

When you need to interact with files, there's the possibility to read all bytes from the file with Files.readAllBytes. But be aware of the kinds of files your application will deal with because the Java API files have a limit for the buffer that is defined as Integer.MAX_VALUE …

read more ...

Menu dinâmico com as apps do django

Digamos que sua empresa trabalha com Django desenvolvendo aplicações cujas apps são plugaveis e reutilizáveis. Por que não se aproveitar de um certo padrão de desenvolvimento para desenvolver menus que se modificam de acordo com as apps que estão no projeto? Como o objetivo aqui não é desenvolver uma app …

read more ...