news
today's howtos
-
University of Toronto ☛ Our too many paths to 'quiet' Prometheus alerts
One of the things our Prometheus environment has is a notion of different sorts of alerts, and in particular of less important alerts that should go to a subset of people (ie, me). There are various reasons for this, including that the alert is in testing, or it concerns a subsystem that only I should have to care about, or that it fires too often for other people (for example, a reboot notification for a machine we routinely reboot).
-
Matthew J Ernisse ☛ Triggering a Pipeline on File Change
I've been working on a couple outstanding TODO list items while I have been off work in celebration of Labor Day. On the one hand I have been adding more XSLT stylesheets to the various RSS and OPML feeds I provide all over the website. I posted a Thought about the first batch but it turns out that I needed a little more complex data pipeline to automate the list of Podcast subscriptions.
-
Andreas ☛ Why sudo hung on my Linux machine
When fully qualified domain name (FQDN) resolution is enabled on your system, i.e. when Defaults fqdn is set in /etc/sudoers, sudo resolves the hostname to its canonical FQDN before executing a command. This is mainly done for logging (to record the FQDN in logs) and for matching host-specific rules in /etc/sudoers.
What’s surprising is that on some Debian-based systems (like Ubuntu), sudo performs FQDN resolution by default, even if there’s no Defaults fqdn line in /etc/sudoers. That’s because it’s compiled with the --with-fqdn flag, which hard-codes this behavior into the binary. You can verify this on your system by running: [...]
-
How to Install and Uninstall VLC Player on Linux
Unlock the full potential of media playback on Linux by installing VLC, the versatile media player that handles virtually any file you throw at it.
-
Building Temperature Sensors with Raspberry Pi 5 & Yocto Project: A Complete Tutorial
In Part 1 and Part 2 of this series we used the Linux image creation tools provided by the Yocto Project to create custom embedded Linux images that targeted Raspberry Pi 5 and Raspberry Pi Compute Module 5 hardware. Our custom Yocto Project-based Raspberry Pi 5 embedded Linux images provide various features including SSH, a built-in text editor, wired Ethernet, WiFi, Raspberry Pi 5 GPIO manipulation, and an I2C portal.
This installment will focus on putting the Raspberry Pi 5 I2C portal to work. We will reuse a piece of hardware described in a previous article (A Better Way to Connect a Raspberry Pi 5 to Custom Circuitry) to provide a physical and electrical interface between our Raspberry Pi 5 and a Mikroe Thermo 3 Click Module. Our Raspberry Pi 5 hosting a “reused” Raspberry Pi 5 Click Adapter loaded with a Thermo 3 Click Module is shown in Photo 1 above.