After 5 years or suffering I found out how to make Linux not grind to screeching halt every time a write is being performed to Raspberry Pi SD card:

Put
#!/bin/bash
echo 128 > /sys/block/mmcblk0/queue/max_sectors_kb
echo bfq > /sys/block/mmcblk0/queue/scheduler

into /usr/local/bin/set_scheds.sh . Put

[Unit]
Description=Set Schedulers
After=sysinit.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/set_scheds.sh
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target

into /etc/systemd/system/set_scheds.service . Do:
chmod a+x /usr/local/bin/set_scheds.sh
sudo systemctl daemon-reload
sudo systemctl enable set_scheds.service
sudo systemctl start set_scheds.service

I asked a friend full time employed as Linux kernel developer. He didn't know. He didn't know the max_sectors_kb is actually a parameter of the I/O scheduler. I discovered it accidentally. The doc is bad.

IMO horrible UX.

#linux #badux #ux #unusable #raspberrypi #rpi #frustrating #friction #complexity #complicated

@HankB @sutaio My cell phone has failed several time(battery 2x,screen 3x,charging connector 1x),plus it regularly fails by discharging quickly,the battery is weak. How do I export my Obsidian notes from my phone to some other place after the phone fails completely so that it cannot be booted up and used at all, not even for entering the data transfer command?

My paper notebooks have suffered:
0 battery
0 screen
0 charging connector failures

The Khmer lady running snack stall business and rental house used a basket full of paper notebooks for her accounting. It worked. She was uneducated, wrote worse Khmer ortography that me,a foreigner.Never seen her experience a software upgrade failure, dependency hell or an error on paper notebooks.Issued valid handwritten receipts on backs of used calendar pages.

#resilience #robustness #simplicity #complexity #bureaucracy #paper #analog #digital #writing #biro #ballpointpen #handwriting #opticalstorage #digitaldivide #righttoanalog

@HankB @sutaio I see a problem that these notes often contain information how to recover from hard disk failure, kernel failure or PC hardware failure.

I assume Markdown, Mkdocs and a Forgejo Git server don't work when PC fails to boot up, hard disk fails or the PCI bus fails (which happened to me twice due to corrosion of the RPi motherboard which I successfully solved by copious washing in vinegar, tap water and many hours drying in front of a fan). I fixed several hard disk failures successfully by overwriting the area with faulty recording with fresh signal, but for this the writes have to be properly aligned and manually entered.

I doubt they will be able to do changes into Markdown, Mkdocs and a Forgejo Git server so that they would work even when the PCI bus or hard disk fails or the PC fails to boot, so I will stay with a biro and paper notebooks. They are more robust, resilient and reliable.

#complexity #unreliability #failure #robustness #resilient #resiliency #durability

Alberta government using class size and complexity funding to pay for 1,400 more teachers next year
The Alberta government will spend $200 million to pay for 1,400 more teaching positions next year, the premier and education minister announced Wednesday.
https://www.cbc.ca/news/canada/edmonton/class-size-grant-funding-alberta-teachers-students-9.7198991?cmp=rss
An introductory systems thinking toolkit for civil servants

GOV.UK

The "#AI" code generators are demonstrating very well that the idea of "building blocks" does not really apply to #software implementation; merely on a conceptual level, if at all.

Software is still not as simple as some MBA folks would like you to believe. What is sometimes called "technical debt" may as well be accepted to be natural #complexity.

So in other words:
You will not nearly reach perfection, period.
Real world software #engineering means understanding and dealing with tradeoffs. 👩‍💻

The Trevisan Award and the Decimal Digits of Powers of 2

https://fed.brid.gy/r/https://scottaaronson.blog/?p=9732

The Trevisan Award and the Decimal Digits of Powers of 2

WHOA … I’ve won the inaugural Luca Trevisan Award for Expository Work in Theoretical Computer Science! This has a particular meaning for me as someone who knew Luca Trevisan as well as I did …

Shtetl-Optimized
In a world where tech buzzwords collide with baffling logic, this article bravely declares that #idempotency is simple... until it isn't 🤦‍♂️. With more #contradictions than a politician's promises, it offers an unforgettable checklist to ensure your first request is your last. Move over rocket science, there's a new #complexity in town! 🚀
https://blog.dochia.dev/blog/idempotency/ #techbuzzwords #softwaredevelopment #HackerNews #ngated
Idempotency Is Easy Until the Second Request Is Different | Dochia CLI Blog

Idempotency is not just an HTTP header or a key lookup. This article covers the failure cases that bite real APIs: different requests with the same key, concurrent retries, partial success, downstream uncertainty, response replay, expiry, and duplicate message handling.

Julia Doubly Mapped

A while ago I made a fractal that consisted of basically generating a Julia set and using Fractal Trace to map it to the Mandelbrot set. In this one I took the same image and mapped it again, so there's more complexity to the shapes and colors.

#Fractal #Fractals #FractalArt #FridayFractals #Abstract #AbstractArt #Math #Maths #Mathematical #MathArt #MathsArt #MathematicalArt #Geometric #GeometricArt #GIMP #Complexity #DigitalArt #Art #Artwork #MastoArt #ArtistOnMastodon

Oh, the joys of "Dithering with CSS" 🙄! Because who doesn't love over-engineering a problem that image editors solved decades ago? 🤦‍♂️ Just grab your noise seeds and arithmetic blend modes, and prepare for a psychedelic trip through unnecessary complexity! 🎨🚀
https://ikesau.co/blog/dithering-with-css/ #Dithering #CSS #OverEngineering #GraphicDesign #Complexity #HackerNews #ngated
dithering with css | ikesau.co

The website of Ike Saunders