Monthly Archives: July 2022

Adding Logging to your Java application

Recently I had the “pleasure” to add logging to a Java application. It was the most difficult thing to do in the whole program. There is so much documentation available and no two web pages are alike. Which is correct … Continue reading

Posted in Computers, programming, Software | Tagged , , , | Leave a comment

Verifying binaries downloaded from the internet

Frequently we download binaries from the internet. How do we know they are genuine and not been tampered with? (Genuine as in genuine auto parts). This post illustrates the process using the JMeter library as example and downloading to MacOS. … Continue reading

Posted in Computers, programming, Software | Tagged , | Leave a comment

The right way to implement producer consumer pattern in Java

The producer consumer pattern can be “easily” implemented in Java using one of the BlockingQueue classes. The producer puts work into the queue and consumer takes work from the queue. We start two separate threads for the producer and consumer. … Continue reading

Posted in Computers, programming, Software | Tagged , , , | Leave a comment

Using WSL – Windows Subsystem for Linux

I keep forgetting it so it deserves a post of its own. To access the Ubuntu directory from Windows Explorer type: Also run: to create a directory on c:\ from where you can access the WSL filesystem refer this. How … Continue reading

Posted in Computers, programming | Tagged | Leave a comment

How to process data in Google BigQuery?

In this post we discuss some of the ways the data in BigQuery can be processed. First, for those unfamiliar with it, what is BigQuery? BigQuery is Google’s OLAP (Online Analytics Processing) database. In my previous company, we used Hive … Continue reading

Posted in Computers, programming, Software | Tagged , | Leave a comment