ModelMapper for simple mapping of objects

Today we will see how to implement a ModelMapper that allows us, for example, to transform an object with many properties into a smaller object with fewer properties. This transformation can be useful when we need leaner objects, perhaps in a list, or when we want to expose only some […]

Read More…

ES6 Javascript Arrow functions

ES6 Arrow functions

Arrow functions are a new ES6 Javascript feature to write more readable and shorter code, with the same results. It came with another new feature like the “let/const” renaming from the ES5 “var”. It may seem very similar to the anonymous functions of ES5 but with some small differences. A […]

Read More…

Bootstrap 5 coming soon

Bootstrap 5 is coming soon

It is finally about to arrive. I’ve been waiting for it almost always. I’m talking about the new version of the bootstrap graphics library (Bootstrap 5). One of my favorites is definitely the first. Removed JQuery The improvements of this new version will be aimed at making it “future-proof”, especially […]

Read More…

Fix the HTTPD “Name or service not known” problem

Resolve error name or service not known

Once you have set up a new domain you will be faced with this error when starting the apache web server: All this even if the domain you have configured is apparently correct. The solution is located under one of the server configurations: In it, the new domain created to […]

Read More…

Java Streams

Java 8 streams

Java streams are sequences of data elements that can be processed with operations. Streams consist of 3 parts: a source, zero or more intermediate operations, and a terminal operation.In the meanwhile there is a data in pipe, another data is waiting its turn. For instance, for a data in terminal […]

Read More…