Write a guessing game in ncurses on Linux
In my last article, I gave a brief introduction to using the ncurses library to write text-mode interactive applications in C. With ncurses, we can control where and how text gets displayed on the terminal. read more Powered by...
Position text on your screen in Linux with ncurses
Most Linux utilities just scroll text from the bottom of the screen. But what if you wanted to position text on the screen, such as for a game or a data display? That’s where ncurses comes in. read more Powered by...
Parse command-line options in Groovy
A recent article provided an introduction to parsing command-line options in Java. Because I really like Groovy, and because Groovy is well suited for scripting, and because it’s fun to compare Java and Groovy solutions, I decided to paraphrase Seth’s article, but using Groovy. read more Powered by...
Calculate date and time ranges in Groovy
Every so often, I need to do some calculations related to dates. A few days ago, a colleague asked me to set up a new project definition in our (open source, of course!) project management system. This project is to start on the 1st of August and finish on the 31st of December. The service to be provided is budgeted at 10 hours per week. So, yeah, I had to figure out how many weeks between 2021-08-01 and 2021-12-31 inclusive. This is...
Linux kernel modules we can’t live without
The Linux kernel is turning 30 this year! If you’re like us, that’s a big deal and we are celebrating Linux this week with a couple of special posts. Today we start with a roundup of responses from around the community answering “What Linux kernel module can you not live without? And, why?” Let’s hear what these 10 enthusiasts have to say. I guess some kernel developers will run away screaming when they...
30 things you didn’t know about the Linux kernel
The Linux kernel is turning 30 this year. That’s three decades of pioneering open source software, enabling users to run free software, to learn from the applications they’re running, and to share what they’ve learned with friends. It’s argued that without the Linux kernel, the luxuries of open culture and free software we enjoy today may not have surfaced when they have. It’s highly improbable that the...