Toots for ruuda@fosstodon.org account

Written by Ruud van Asseldonk on 2025-01-02 at 21:56

The javascript ecosystem is such a shitshow. I search how to check if an element is visible in the viewport. The first result is an article that includes incorrect logic for testing if a rectangle overlaps a different rectangle. The second result is a Stack Overflow answer where the article likely copied the function from, as it’s identical. It has 1718 upvotes. There is a note in the comments saying it’s incorrect, with 110 upvotes.

=> More informations about this toot | View the thread

Written by Ruud van Asseldonk on 2024-12-26 at 16:03

Turning on my external disk enclosure at runtime and trying to mount the btrfs filesystem on it triggers a kernel null pointer dereference bug about 2/3 of the time. This is on 6.12.4, but it’s been happening for a few weeks now.

=> More informations about this toot | View the thread

Written by Ruud van Asseldonk on 2024-11-02 at 18:52

Unplugging the external sound card and plugging it in again has fixed this issue. I am now even more puzzled.

=> More informations about this toot | View the thread

Written by Ruud van Asseldonk on 2024-11-02 at 18:37

Ugh, Alsa again … Linux versions after 5.10.94 have this regression that changing the sample rate with snd_pcm_hw_params returns "invalid argument" if you call it a second time, and I could finally no longer delay updating my kernel, so I worked around it by re-opening the device if I need to change the sample format.

That is everything I changed. And somehow, now playback sounds super noisy and as if there is overdrive in the high frequencies?

=> More informations about this toot | View the thread

Written by Ruud van Asseldonk on 2024-08-06 at 20:47

(Running speed.cloudflare.com in the background, it didn’t even get to the packet loss part.)

What else changed since last weekend? I plugged in this Samsung T9 external SSD into one of the USB-C ports. Let me try to unmount and unplug it.

Suddenly wifi works normally again.

WAT?!

=> More informations about this toot | View the thread

Written by Ruud van Asseldonk on 2024-08-06 at 20:40

Hmm, downgrade did not fix it. None of the other updated packages look suspicious. Is it a hardware problem then?

=> More informations about this toot | View the thread

Written by Ruud van Asseldonk on 2024-08-06 at 20:28

The wifi on my laptop is really slow since the past few days. The problem is with this machine because my work laptop is fine. The dmesg is full of messages from iwlwifi about stuck queues and microcode SW errors. Could it be the 6.10.1 → 6.10.2 kernel update I did last weekend? Let’s pull those tags and look at the Git log if there was a change related to iwlwifi. But, how to pull with bad wifi?

Receiving objects: 0% (5792/1829986), 3.40 MiB | 2.00 KiB/s

=> More informations about this toot | View the thread

Written by Ruud van Asseldonk on 2024-08-03 at 22:08

Btop is super nice, but you can tell it's written in a segfault-oriented language; it crashed like 3 times already today during normal usage, when I was resizing the window just yet.

=> More informations about this toot | View the thread

=> This profile with reblog | Go to ruuda@fosstodon.org account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109643613718700087
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
278.239533 milliseconds
Gemini-to-HTML Time
1.182197 milliseconds

This content has been proxied by September (ba2dc).