Magic is problematic

I deal with computers, hence I want things to work the most boring and reliable way possible, with automation, procedures, scripts, not through magic.

Hence, while I love tools such as Atuin, I've a problem with their slogan "Making your shell magical" and generally speaking with any product using such selling argument, especially AI LLM-based products.

For this reason, I'm usually against any kind of black box and one-for-everything tools and platforms that want to ease our lives by hiding the complexities. I think that the only result we get out of those abstractions is complexity, pain, and a culture of incompetence and dependability. I mean, if you want to deal with technology, at least you should understand it.

In the end, it's not all magic [1] [2], but it can feel magic for sure once we lack understanding. Magic feels shiny and appealing after all, its antonyms say it all.

Let encourage everyday users to look inside the box and understand what is happening, even if not everyone is going to switch to Linux, even if debugging is not easy.

At work, there exist an onboarding procedure targeted towards new developers in the team, and this procedure relies on scripts which were left untouched for way too long. The bad things : the procedure is broken but nobody dares to fix it, instead the old timers in the team share dirty hacks and workarounds with the newcomers.

Once you face such problem, the only solution is to address the root causes, not the symptoms. I choose to take a look at the procedure, run it again and again after each attempted improvement, cut it piece by piece, shred or rewrite what seems unreliable and suspicious.

Magic exists, but I’ve never seen any in software. Problems are logical. Nothing is impossible. You can solve this problem.1

As a software engineer, please don't fix symptoms. Don't get too used to deal with crap and unsolved problems. Don't be lazy, don't accept the status quo, make the hard work to understand and solve the problems. Set your focus on understanding things deeper. Enhance your and everyone's knowledge. Be a firefighter against ignorance, and help educate your peers to be better at understanding why things work or doesn't.

Thank you.

HN Comments.

  1. https://catskull.net/thoughts-on-debugging.html β†©οΈŽ

Hunts

Sometimes, especially at night, I can't help but I feel the need to hunt down a topic and explore any link in my way til I reach an answer or a dead end.

Sometimes I publish those findings in Shaarli.

This time it was about researching a minimalist tool for blogging, something like bashblog or mkws.

It's not always a victory. Maybe next time. After a good rest.

Minifux scraper rules

I'm following Joy of Tech comic via RSS in Miniflux but the image was never loading.

I found half a solution on this blog post of Jan-Lukas Else, unfortunately the proposed solution fails probably as a consequence of some changes in the format of Joy of Tech pages.

The fix is quite simple actually. Edit the feed settings, set the scraper rules to the following:

p.Maintext > img[src$=".png"]

And of course enable "Fetch original content" in the feed options.

And voilΓ , simple and beautiful.

Reading RSS in peace with a few Miniflux Hacks

I'm avid of content curation using RSS feeds. Let me share some of my tips here and some code. This is a living document so please come back for new tips πŸ™‚ and explore my other articles on this topic.

Some of those tips rely on Userscripts which are snippets of code executed automatically on web pages, and usually it's very handy to customize your navigation. I'm using the Custom JavaScript block in Miniflux Settings. But some scripts won't work because of reliance on external resources, and in that case I'm using Tampermonkey for special cases that require loading external resources (think CSP & co).

Filter categories (remove empty ones) using Custom JavaScript block

There is by default no distinction between categories with or without content, and it can be annoying. I made a user script to remove categories with no content to read.

Source

https://gitea.zoemp.be/sansguidon/snippets/raw/branch/main/miniflux_scripts/filter_categories.js

Demo

Before applying the script, we have some categories, including one with (0) unread entries.

After

The category with (0) unread entries is hidden.


Feed organizer - using Tampermonkey

This one is for grouping together all feed entries by feed/author in the main on unread, read, and starred pages. I needed this one because by default, in unread tab, the feed entries are mixed all together and I often wanna consume content per feed/author and not in chronological order.

Source

https://gitea.zoemp.be/sansguidon/snippets/raw/branch/main/miniflux_scripts/feed_organizer.js

Demo


Distinct boring from interesting feeds thanks to objective ranking - with Custom JavaScript in global settings

When opening the "Show all entries" view of a feed, this trick will show you if you shall keep this feed or not. The classification is based on the ratio of starred entries vs total. In this case, clearly, my assistant tells me it's quite πŸ₯± boring. Other values are: Thinking πŸ’­ (in case we lack data), Interesting 😍 (we star a lot of items), Thinking πŸ€” (in case we stared at least some entries). Feel free to make it yours and customize the behavior!

Source

https://gitea.zoemp.be/sansguidon/snippets/raw/branch/main/miniflux_scripts/feed_classifier.js

Demo


Fetch original content - Per feed settings

This is a trick that works well with the majority of feeds so you can fetch the whole article content in your reader instead of just the excerpt.


Filter feed entries by title / content

I've customize the feed settings to exclude specific keywords, and on top of this I've also global rules which apply to all feeds, for excluding feed entries when keywords are found in their content or title. This makes it easy to exclude clickbait uninteresting or depressing content πŸ™‚

My current setting is here as an example https://gitea.zoemp.be/sansguidon/snippets/raw/branch/main/miniflux/block.rules (RSS)

In this case I follow news with heavy metal album releases and I'm excluding specific genre like Death Metal. I'm also abusing the feature to avoid being spammed with recurrent news like Olympic games (Paris 2024). Finally there are already many reasons for me to be anxious, and I do not need more. The last rule saves me from the useless negative news. I keep fine tuning the list and I could improve this by including terms from public blacklists, like this.


Startup options

You can override Miniflux behavior with some environment variables. See https://miniflux.app/docs/configuration.html for more configuration options.

Those are mine and make Miniflux more indulgent to unstable RSS feeds.

export HTTP_CLIENT_TIMEOUT=60
export POLLING_PARSING_ERROR_LIMIT=6

Last updated: Sept 5, 2024 around 9:51 AM CEST in πŸ—ΊοΈ Brussels, Belgium.

Best spots in Brussels Centrum for Headbangers to buy Heavy Metal CD and Vinyls Records

Yesterday (Aug 4, 2024), on a Sunday, I went on a trip in my loved Brussels, to complete my CD collection. Here are the spots I have explored and what you can expect about them. Disclaimer : I'm trying to get most value for money I'm often looking for second hands records πŸ™‚ and also I don't buy only Heavy Metal... but I get a lot of energy from listening to Thrash Metal 🀘🏻 !

Let's start the tour πŸ™‚

Places where I got lucky

Caroline Music

πŸ—ΊοΈ Go to: Bd Anspach 101, 1000 Bruxelles - https://maps.app.goo.gl/WyRSa8svEJH5nEWPA

πŸ“ Notes

  • This is a must-visit one, with lot of brand new CD and Vinyls records. Not a lot of Heavy Metal among the CDs. Difficult to find second hand CDs. Most of the CD records cost average 18-20 Eur, vs 11 for oldies and promoted items. There is more on 2nd floor, including a section for second hand CD records with some Rock/Heavy Metal titles. But it's very difficult to see them because they are packed so tight together.

πŸ”— Site: http://www.carolinemusic-bxl.be/

Purchases

I've almost bought Led Zeppelin (Led Zeppelin, 1969) but it was pricey compared to Discogs, so I refrained myself. I've expanded my collection with XX (The XX, 2009) and Psycho Tropical Berlin (La Femme, 2013).

Pele Mele

A list of must-visit addresses in Brussels Centrum for Headbangers to buy CD and Vinyles Records.

πŸ—ΊοΈ Go to: Bd Maurice Lemonnier 59, 1000 Bruxelles - https://maps.app.goo.gl/juEnX4gQPjScHtPB9

πŸ“ Notes

  • This is a popular second hand store for everything related to books, comics, music, toys, video game consoles, board games...

πŸ”— Site: https://pele-mele.be/bruxelles/

Purchases

Thanks to the profusion of choices and the low prices, I've expanded my collection with Led Zeppelin (Led Zeppelin, 1969), Master of Puppets (Metallica, 1986), also Souljacker (Eels, 2001), and Bohemian Rhapsody (Queen, 2018) which is a compilation made of the Movie original Soundtrack. They also buy your CDs except on Sunday. So I'll go there and try to get some money and make room in my closet πŸ™‚ ... until I buy more πŸ˜…...

Some other places I've explored

Lot of the addresses are close from each other πŸ™‚ , around Rue du Midi !

72 Records

πŸ—ΊοΈ Go to: Rue du Midi 72, 1000 Bruxelles - https://maps.app.goo.gl/3CYu4bAETqx5e1Yt5

πŸ“ Note: Awesome for Vinyls. Not a single CD unfortunately.

πŸ”— Site: https://www.facebook.com/72-Records-444396545598944/

Hors-sΓ©rie

πŸ—ΊοΈ Go to: Rue du Midi 67, 1000 Bruxelles - https://maps.app.goo.gl/Qor7aYYQszDyvmTg8

πŸ“ Note: Not so many CD, but they have Vinyls and many other items, very cool for collectors.

πŸ”— Site: https://www.facebook.com/horsserieshop/

Veals and Geeks

πŸ—ΊοΈ Go to: Rue des Grands Carmes 8A, 1000 Bruxelles - https://maps.app.goo.gl/CPeq7rbwKbnngTar7

πŸ“ Note: Some nice CDs, but their Heavy Metal section is very tight and they have some Metal titles mixed within the Pop & Rock section. They have lot of Vinyls which makes sense.

πŸ”— Site: http://vealsandgeeks.com/

Evasions

πŸ—ΊοΈGo to: Rue du Midi 89, 1000 Bruxelles - https://maps.app.goo.gl/xwPtYLoYdDDe8si48

πŸ“ Note: A general second hand store, awesome for books and collectors, with CDs and Vinyls on 2nd floor.

Arlequin

πŸ—ΊοΈ Go to: Rue du ChΓͺne 7, 1000 Bruxelles - https://maps.app.goo.gl/ExjDCWQBpJMg3wAz6

πŸ“ Notes

  • There is an obvious Heavy Metal just right after the entrance, with lot of cool stuff. I almost bought some Fear Factory and Voivod records.
  • I couldn't bare with the ambient music in the store, which was mostly RnB.... πŸ˜… not my taste.

Elektrocution

πŸ—ΊοΈ Go to: 1000, Rue des Pierres 37, 1000 Bruxelles - https://maps.app.goo.gl/Ef7NiWpX4d1RoaHo7

πŸ“ Note: This place has been recommended by the guy from Hors-sΓ©rie but it was closed.