Skip to content

Instantly share code, notes, and snippets.

@probonopd
probonopd / spur1.md
Last active February 13, 2024 21:25

Märklin Spur 1 digitalisieren

Update 2024: Hier hat es jemand gemacht (mit Fotos): https://www.stummiforum.de/t160883f47-Digitalisierung-M-rklin-BR-aus-Startpackung.html (ESU 51965 + Decoder in Märklin BR 80 aus Startpackung 5500)

Mit Märklin-Bordmitteln sind die Preise für das Unterfangen, 3 Spur 1 Loks aus dem 80ern zu digitalisieren und digital zu fahren, im Jahr 2024 prohibitiv (in Summe wohl ca. 2.000 EUR). Mit Open Source und Fremdhardware ginge es wohl locker für ein Fünftel(!) davon. Wenn das jemand von Märklin liest: Da habt ihr noch eine Marktlücke (Stichwort: 5A Anschlussbox für die Spur 1 und erschwingliche Nachrüstsätze inkl. Permantentmagneten und Lokdecodern für die Spur 1). Ist diese Marktlücke nicht groß genug um lukrativ zu sein?

Lokomotiven

Aus den 80ern:

ESP32-S2 CircuitPython on S2 Mini board

On helloSystem, get CircuitPython from https://circuitpython.org/board/lolin_s2_mini/ and flash with:

python3 -m esptool  --after hard_reset write_flash  0x00000  '/tmp/user/_home_user_Downloads_tinyuf2-lolin_s2_mini-*.zip/combined.bin'

Replug the device, a S2MINIBOOT disk drive will be mounted on the desktop.

F-Droid for old Android versions

It would be nice to be able to use F-Droid and other open source software on an Android 4 based device to prolong its lifetime beyond what commercial vendors support (even if it means to use older versions of apps). I am sick and tired of perfectly fine hardware being unable to run applications just because "app stores" don't care about them anymore.

https://gitlab.com/fdroid/fdroidclient/-/issues/2510

D-Bus, I have some questions

Every couple of months I am trying to wrap my head around D-Bus. Every time I give up, thinking it is way overcomplicated.

Maybe it is just because no one explained it in simple terms. Or maybe it is really overcomplicated.

I mean, things like MQTT are quite easy to grasp for me. But D-Bus... not.

So here are my questions.

@probonopd
probonopd / shorts.txt
Last active April 15, 2023 22:15
This can be loaded into Falkon but apparently it doesn't work. Why? (Based on https://letsblock.it/filters/youtube-shorts.)
[Adblock Plus 2.0]
! Version: 202210181525
! Title: YouTube Shorts
!
! -----------------------YouTube Shorts blocking filters-----------------------!
www.youtube.com##ytd-guide-renderer a.yt-simple-endpoint[title="Shorts"]:upward(ytd-guide-entry-renderer)
www.youtube.com##ytd-mini-guide-renderer a.yt-simple-endpoint[title="Shorts"]:upward(ytd-mini-guide-entry-renderer)
www.youtube.com##ytd-browse #dismissible ytd-rich-grid-slim-media[is-short]:upward(ytd-rich-section-renderer)
www.youtube.com##ytd-browse ytd-grid-video-renderer:has(span.ytd-thumbnail-overlay-time-status-renderer:has-text(/\s(0:\d\d|1:0\d)\s/))
www.youtube.com##ytd-browse ytd-rich-item-renderer:has(span.ytd-thumbnail-overlay-time-status-renderer:has-text(/\s(0:\d\d|1:0\d)\s/))

FDM 3D Printing Design Rules for Snap Fit Cases

caseinside

Turn on the sound to hear those satisfying clicks 💯

3dprintedcase.mp4

image

Moto G6 Play "N/A" screen lock out fix

Posting here in case someone has the same issue and comes across this through a web search. Feel free to comment below.

While using the Motorola Moto G6 Play, it suddenly rebooted and showed "N/A" on an otherwise black boot screen. It proceeded to boot to the Android lock screen (the one with black background, before the rest of Android is started), but refused to accept the CORRECT Android PIN anymore on the lock screen. After having tried for a while, I got a warning saying that I had only less than 10 tries left until all data would be wiped from the device.

I contacted a professional data recovery service company in one of the major German cities and described the issue. They quoted me "from €499,00" for data recovery. So it seems like from the error description, they were positive that they could recover the data.

Googling showed that the "N/A" on an otherwise black boot screen normally has to do with unlocked bootloaders, but the bootloader on this device nev

A honest Xiaomi Redmi 10C review focusing on what matters

A honest review focusing on what really matters in smartphones: Affordable price, reasonable performance and battery life, good software, no bloatware, ease of unlocking the bootloader, data protection and privacy. Most reviews on the net focus on superficial, unimportant stuff like an extra megapixel here or the form of the display notch there.

image

tl;dr: It is like Xiaomi is making it intentionally hard to get rid of their spyware-ridden, bloated firmware (requiring a SIM card, Mi account, Windows software, and a full week of waiting time). DO NOT BUY XIAOMI PHONES!

Looking at the sub-150 EUR mid range category, comparing with the Moto G31 and G22. The Xiaomi Redmi 10C has been for sale at ALDI in Germany for 139 EUR as of August 2022. (Actually, the Lenovo-owned company MEDION is distributing this phone to ALDI, what an irony that the

Learnings from the FUSE 3 breakage

Major Linux distributions as of today are unpredictable as targets for independent software vendors trying to publish applications because they are lacking guarantees regarding what software is part of the software stack supported by the operating system vendor.

Reasonably policies would be needed to improve the situation and give outside software developers targeting Linux distributions enough lead time to anticipate changes.

Example

https://github.com/libfuse/libfuse/releases/tag/fuse-3.0.0 was released in December 2016. Now, 5 years later, we are seeing this new major version as a problem, which goes like this: