today's howtos
-
The wonderful tee(1) command
In today’s installment of things you already know, unless you don’t, I’m visiting the stupendously useful tee(1) command. I use it daily, yet I see plenty of scripts that brute force alternatives to it. It’s one of the most common superfluous uses of cat(1) I see.
-
How to integrate and monitor Kubernetes with New Relic
New Relic might be best known as a DevOps monitoring tool, but it can also help improve observability into your Kubernetes clusters. Follow this tutorial to get started.
-
How to Install Notepad++ on Manjaro - Linux Nightly
While there are alternatives to Notepad++ on Linux, such as gedit, Sublime Text, GNU Emacs, and others, it isn’t easy to replace the many benefits Notepad++ has. Notepad++ possesses valuable features such as syntax highlighting, macro recording, full support for many programming languages including HTML, text autocompletion, and much more.
-
Why does my image look desaturated when I upload it online?
Ultimately, this issue arises when your image is improperly converted from one color space to another; in my case, Adobe RGB is usually the culprit. Most decent photo editing tools (like Photoshop) will include the appropriate ICC color profile in the saved image, so everything will appear normal at first. The mangling occurs when you upload that image to a site that's not equipped to deal with non-sRGB images, which proceeds to directly dump those Adobe RGB values into a new file, now devoid of color profile metadata, all while neglecting to perform a proper conversion between color spaces.
-
How To Install Grafana on Rocky Linux 9 - idroot
In this tutorial, we will show you how to install Grafana on Rocky Linux 9. For those of you who didn’t know, Grafana is a great open-source data visualization and monitoring tool. It supports multiple data sources like Prometheus, Graphite, InfluxDB, Elasticsearc, MySQL, PostgreSQL, Zabbix, etc.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the Grafana analytics and visualization tools on Rocky Linux. 9.
-
When Promtail seems to make position checkpoints (as of v2.6.1)
Promtail is the normal log-shipping client for the Grafana Loki log aggregation system. Like all log shipping programs, Promtail needs to keep track of what logs it has and hasn't sent to Loki, which it does by keeping track of its positions in each log file or log source. In order to handle being stopped and restarted, and also system crashes (or Promtail crashes), it normally saves these positions in a file. Exactly what a position is depends on the specific log source that Promtail is using. When the log source is a file, Promtail only uses and saves a byte offset, but when Promtail is reading from the systemd journal, it uses the journal cursor. Every entry in the systemd journal has a unique identifier, the cursor, and so if the journal hasn't been truncated you can always resume reading from that entry by using its cursor.
-
YANUB: yet another (nearly) useless blog: Tutorial: analysis of multiwavelength fast kinetics data
The purpose of this post is to demonstrate a first approach to the analysis of multiwavelength kinetic data, like those obtained using stopped-flow data. To practice, we will use data that were acquired during the stopped flow practicals of the MetBio summer school from the FrenchBIC. During the practicals, the student monitored the reaction of myoglobin (in its Fe(III) state) with azide, which yields a fast and strong change in the absorbance spectrum of the protein, which was monitored using a diode array. The data is publicly available on zenodo.
-
Ryzen 7000 amdgpu boot hang
So you decided to build a brand new system using all the latest and coolest tech, so you buy a Ryzen 7000 series Zen 4 CPU, like the Ryzen 7700X that I picked, with a new mother board and DDR5 memory and all that jazz. But for now, you don't yet have a fitting GPU for that system (as the new ones will only come out in November), so you are booting a Debian system using the new build-in video card of the new CPUs (Zen 4 generation has a simple AMD GPU build-in into every CPU now - great stuff for debugging and mostly-headless systems) and you get ... nothing on the screen.