ExecutorService, AutoCloseable, and Try-With-Resources In Java

This post demonstrates how to use try-with with ExecutorService in Java.

How To Validate XML String against XSD Without Writing To A File

This post shows how to validate XML string data against XSD files in Java. Most of the time, we work directly with XML files instead of string format. We point

Java 8 Convert Stream Values to Map Entries Examples

This post demonstrates how to convert a stream of objects to a Map object using Collectors.toMap(…) methods.

Java Lambda Expression Parameter and Return Types

This post demonstrates the type of arguments we can pass to and return from a Lambda expression based on the functional interface abstract method definition.

List Settings In postgresql.conf and postgresql.auto.conf

SQL statements to list settings defined in postgresql.conf and overriden by postgresql.auto.conf.


This post shows an example of the MySQL INSERT IGNORE statement in the PostgreSQL version. There are good reasons why you should use PostgreSQL at the onset or migrate to

Spring MVC – How To Test For View Name

This post briefly demonstrates how to test for a view name in Spring MVC.

Python 3 Print Exception Message With Examples

This post shows how to display the message and details on an Exception in Python 3.

Python 3 Split and Join String With Examples

This post shows how split and join strings in Python 3.

Python 3 Write Text to File Example – Open And Close Files Too

This post shows how to write texts to a file in Python 3.