Archive for the Category: Open Source

Java Method to Output a Byte Array in HEX Dump Format

On StackOverflow, I posted code to output a byte array in a HEX dump format. I thought I should post the code here as a complete working sample. You can download the source code from here. You can copy the 2 methods (dumpBuffer & formatHex) to your general purpose toolkit and use them in any […]

Also posted in HPE NonStop, IBM i (OS/400), Java, JMS, Linux, macOS (Mac OS X), Programming, Raspberry Pi, Unix, Windows 2 Comments

Free ‘Intro to Linux’ Course Surpasses One Million Enrollments

The Linux Foundation has announced its ‘Introduction to Linux’ training course on the edX platform has surpassed one million enrollments. So, if you are working from home, or even in the office, and want to learn a new skill for free then you should sign up and take the free ‘Introduction to Linux‘ training course. […]

Also posted in Education, Linux, Operating Systems, Programming Comments Off on Free ‘Intro to Linux’ Course Surpasses One Million Enrollments

AdoptOpenJDK to join the Eclipse Foundation

AdoptOpenJDK project is moving to the Eclipse Foundation. https://blog.adoptopenjdk.net/2020/06/adoptopenjdk-to-join-the-eclipse-foundation/ The new Eclipse project name will be Eclipse Adoptium. Regards, Roger Lacroix Capitalware Inc.

Also posted in Java, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows 3 Comments

Simple Monitoring of the Current Queue Depth

On StackOverflow, someone asked a question about determining when a queue’s current depth is the same as maximum depth. They were trying to do it from a script. While this is probably possible (I’m not a sed and/or awk guy), it seemed to me that they are trying to squeeze a fully blown up balloon […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, Linux, macOS (Mac OS X), PCF, Programming, Raspberry Pi, Unix, Windows, z/OS Comments Off on Simple Monitoring of the Current Queue Depth

OpenBSD v6.7 Released

Theo de Raadt has just released OpenBSD v6.7. http://www.openbsd.org/67.html The OpenBSD project produces a FREE, multi-platform 4.4BSD-based UNIX-like operating system. Our efforts emphasize portability, standardization, correctness, proactive security and integrated cryptography. Regards, Roger Lacroix Capitalware Inc.

Also posted in Operating Systems Comments Off on OpenBSD v6.7 Released

Ubuntu 20.04 Released

Canonical has just released Ubuntu v20.04. http://releases.ubuntu.com/20.04/ Super-fast, easy to use and free, the Ubuntu operating system powers millions of desktops, netbooks and servers around the world. Ubuntu does everything you need it to. It’ll work with your existing PC files, printers, cameras and MP3 players. And it comes with thousands of free apps. Regards, […]

Also posted in Linux, Operating Systems Comments Off on Ubuntu 20.04 Released

Working from Home – Open Source Software

The other day I wrote about working from home, since I recently upgraded both my desktop and laptop to Windows 10 64-bit, I thought I should review/list the open source software I use to get the job done. You don’t need to go broke setting up your PC/laptop with software. Here is a list of […]

Also posted in .NET, C, C#, C++, Capitalware, Java, JMS, Programming, Rexx, Windows Comments Off on Working from Home – Open Source Software

memmem() Function for a C Program

Last week, I needed a function for a C program that would search a string not null terminated for a string not null terminated. Hence, I could not use strstr() function because it requires the strings to be null terminated. So, I checked my trusty C Runtime Library Reference and found nothing that matched. Now […]

Also posted in C, HPE NonStop, IBM i (OS/400), Linux, macOS (Mac OS X), Programming, Unix, Windows, z/OS Comments Off on memmem() Function for a C Program

Java’s Missing Byte Array Class

After 25 years, it is still surprising that Java doesn’t have a proper byte array class. There can be many reasons that the data a Java program needs to work with is in a byte array. It could be the contents of a file or MQTT message or IBM MQ message, etc. Since there is […]

Also posted in HPE NonStop, IBM i (OS/400), Java, JMS, Linux, macOS (Mac OS X), Programming, Raspberry Pi, Unix, Windows, z/OS 3 Comments

Inhibit/Allow the Get & Put Actions of a Queue

On StackOverflow, someone asked a question about inhibiting get actions against a queue. Here is a simple Java/MQ program that will set inhibit or allow for the GET and PUT attributes of a queue. You can download the source code from here. Regards, Roger Lacroix Capitalware Inc.

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, Linux, macOS (Mac OS X), Programming, Raspberry Pi, Unix, Windows, z/OS Comments Off on Inhibit/Allow the Get & Put Actions of a Queue