Category Archives: Programming

Libraries #golang : Inter Planetary File System client

By | October 29, 2019

In all this talk of distributed systems the Interplanetary File System is a fun practical subject. Obviously golang should be part of that. According to Wikipedia: The InterPlanetary File System (IPFS) is a protocol and peer-to-peer network for storing and sharing data in a distributed file system. IPFS uses content-addressing to uniquely identify each file… Read More: Libraries #golang : Inter Planetary File System client »

#Healthcheck for #golang #microservices

By | July 14, 2019

One of the important paradigm change in moving away from monolith application to a cloud of micro-services is how to keep all that interconnected could functioning. A monolith enterprise application usually runs in an application container so a lot of time you are using the container monitoring features to make assumptions about the heath of… Read More: #Healthcheck for #golang #microservices »

Libraries #golang : A PDF document generator with high level support for text, drawing and images

By | July 14, 2019

The best golang library for generating pdfs. It has so many features and you can control so well the layout of the pdf that I can compare it to LateX level. Package gofpdf implements a PDF document generator with high level support for text, drawing and images. You can find the library at https://github.com/jung-kurt/gofpdf And… Read More: Libraries #golang : A PDF document generator with high level… »

Libraries #golang : Callgraph analysis and visualization for Go

By | July 14, 2019

This is a wonderful small library that lets you do an analysis and visualization for Go packages. It may be very useful to detect unwanted code and is a very good tool to run on your code base before and after doing a refactoring. I wish I have something this simple for Java 🙂 See… Read More: Libraries #golang : Callgraph analysis and visualization for Go »

Convert text label files to UTF-8 encoding

By | March 28, 2019

In a lot of multi-language enterprise applications where you have to support labels in different languages the text files with the different labels for each language are scattered across your source code. In my case I all the labels are kept in Java property files with “.properties” file extension. Then for each language I have… Read More: Convert text label files to UTF-8 encoding »

Allow the use of a transacted session in a #Servlet with #JMS broker #Artemis

By | March 21, 2019

The open-source application server WildFly from which the RedHat owned JBoss application server is derived is one of the most used Java application server lately. This is caused by the strong market consolidation that is happening that caused the Java application server environment to become very restricted. Basically the only open-source enterprise grade Java application… Read More: Allow the use of a transacted session in a #Servlet… »

Learning GO: Concurrently execute expensive validations on several items and return the list of validation errors with #golang

By | May 24, 2018

Most of the time software for real use cases from financial industry is just validating inputs. When I say validating inputs I refer to business validation that actually checks against standard formats or generates complex validation against business rule sets. Usually this step is very important because it is the step that gets hammered with… Read More: Learning GO: Concurrently execute expensive validations on several items and… »