New blog. Or, more exactly, new blog software.
I moved this blog from Serendipity to Hugo.
New blog. Or, more exactly, new blog software.
I moved this blog from Serendipity to Hugo.
A while ago we bought new Pulse 15 laptops from Tuxedo Computers.
Installed Ubuntu on them, and for a while the sleep mode was nagging me, it does not really work. Today I found time to investigate this issue.
On my Mac, one of the annoying “features” is when the Mac screensaver comes on, the device eventually goes to sleep, and it disconnects the network. Which in turn timeouts services like Slack or Google, because these services keep a network connection open at all times. When waking up the device, I often have to login again into all the services, even though the device is just sitting in my working room on the desk all day and night. Very annoying.
I suppose it’s one of these things where Apple thinks they know better how users want their device to behave.
With people moving away from Twitter, mostly to Mastodon, discovering the new accounts became a problem.
For people in the PostgreSQL community I created a website which lists different social media accounts. This website is part of the “PostgreSQL Person of the Week” interview project, however the data source is dynamic, and stored in a different repository. This allows me to keep the repository for the website private, but publish the data for the social media links - this data is public anyway. The interview repository is private, because who wants to see upcoming interviews anyway? ;-)
If you use GitHub Actions to run Workflows and tests, you might have spotted this warning recently:
If you use GitHub Actions to run Workflows and tests, you might have spotted this warning recently:
For the “PostgreSQL Person of the Week” interviews I’m using Hugo as static blogging engine. Part of every interview is the list of tags, which links this interview to other similar interviews. However until recently no one really knew if a tag is popular or just used in this interview. I wanted to change this, and add the tag count behind every tag.
While writing and stress-testing a Python script which uses the multiprocessing library, I ran into the problem that occasionally the script hangs at the end. Literally runs past the last line of code and then hangs.
In this script I’m using Queues and Events, so I made sure that I properly close the queues in the forked/spawned (tried both) processes and also clean out all queues in the parent. Nevertheless occasionally - like seldom, but it happens - the script hangs. Checked the process list, checked remaining threads, checked the queues, all fine. Still …
When I make changes in OpenStreetMap, I often need to extract the object colour from a picture or a video, as example for a building, bench or a roof. This collides with a feature in KDE which I really like: Dim Inactive Windows.
The setting is in the KDE settings, under Desktop Effects -> Dim Inactive. As the name implies, it dims (makes them a bit more dark) all non-active windows - which makes it visually clear which window is currently active. Quite useful.
For picking a colour from a picture/video I’m using KColorChooser
, which provides the colour in Hex code - exactly what I need in OSM.
However when KColorChooser
is the active window, and all other windows are dimmed, it extracts the wrong colour from the picture/video - the colour which is already dimmed. Not what I need. Therefore when I do OSM edits, I temporarily disable this feature.
Shortcodes in Hugo are a neat and poweful system to avoid repating the same piece of text over and over again. Let’s say I have the following text: