Random snippets of all sorts of code, mixed with a selection of help and advice.
Brew can't find python dependency
20 May 2026 @ 7:07 am
Trying to install qemu on mac, which requires a python dependency "tomli". I've not been able to install it such that it's accessible to brew.
If installing via pip3, there's an error saying that this is an externally managed environment.
If I configure the external environment and install tomli there, it's not recognized by brew.
Generally, I seem not able to make brew use a different python installation. It always shows:
python determined to be '/usr/bin/python3'
I've tried editing the formula brew edit qemu, adding the environment's python first to PATH, installing tomli on brew's own python installation, but it just keeps using /usr/bin/python3 and the dependency is not there.
How to solve this? all I want is just brew install qemu to work.
AI Content SEO?
20 May 2026 @ 6:54 am
How is AI-generated content impacting SEO rankings after Google’s latest updates? Are websites seeing better results with AI-assisted content, or is human-edited, experience-based content still performing better in search rankings?
How to disable ClearType/smoothing in VsCodium?
20 May 2026 @ 6:48 am
The following picture shows side to side VS 2026 18.6.0 (left) and VSCodium 1.116 (right), with the same font (CaskaydiaMono NF Regular), with ClearType disabled at the system level (Win 11 Pro 25H2).
[Edit] Zooming is with Windows built-in zoom, activated by keys LWin and +; the windows are one over the other, the zoom window covers both of them.
How do I disable font smoothing in VSCodium and make it look like Visual Studio?
Maybe it seems unusual, but for my bad sight the blocky/sharpier fonts are less tiring.
Note that VS 2026 can be set to avoid smoothing even with ClearType enabled, but VSCodium seems to enforce(?) it anyways.
VsCode 1.120 has the same behavior of VSCodium.
I tried the settings from https://stackoverflow.com/a/71114869/10000855 to no avail.
Maybe there's a key to help in "settings.json"
Pushbutton GPIO Interrupt Never Triggers on Zynq UltraScale+ Despite Successful Initialization
20 May 2026 @ 6:44 am
I am working on an AUP-ZU3 development board based on the Zynq UltraScale+ MPSoC.
My application has two different functionalities:
In the main loop, the board switches control their corresponding LEDs directly. This part works correctly.
A pushbutton should trigger a GPIO interrupt that turns ON all LEDs simultaneously.
The issue is that the interrupt is never triggered when pressing the pushbutton.
I already verified the following:
The switches and LEDs work correctly in polling mode.
The pushbuttons also work correctly when tested without interrupts.
The interrupt initialization completes successfully and returns XST_SUCCESS.
The ISR is connected and enabled without errors.
The hardware was first designed in Vivado:
AXI GPIO 0 controls the board switches and LEDs.
AX
Why is every new AI IDE forcing a minimalist, "chat-first" UI on us?
20 May 2026 @ 6:32 am
Is anyone else frustrated by the UI trend in new AI IDEs like Cursor, Windsurf, Trae, and Antigravity?
Antigravity 2.0
It seems every tool is moving toward an ultra-minimalist, chat-first screen. They give you a giant prompt bar but completely hide the file tree and editor by default.
With a traditional IDE, I can easily see my file structure and use the Git tab to compare exactly what code changed. These new "agentic" layouts feel like coding blind. The UI assumes that because the AI is doing the work, I don't need to see the codebase. But not seeing exactly what files are being manipulated under the hood is terrifying.
Why are designers so obsessed with hiding the actual code editor? Are you guys actually liking this "magic box" workflow, or are you immediately forcing the file explorer back open like I am?
Would love to hear your thoughts.
Lighthouse CI failing when running 2nd test due to Eperm issues
20 May 2026 @ 6:25 am
I am using Lighthouse CI in Node to scan my site and write some reports.
Whenever I run Lighthouse consecutively, eg with multiple runs or against multiple URLs, I get an EPERM error:
Runtime error encountered: EPERM, Permission denied: \\?\C:\Users\me\AppData\Local\Temp\lighthouse.75127486 '\\?\C:\Users\me\AppData\Local\Temp\lighthouse.75127486'
Error: EPERM, Permission denied: \\?\C:\Users\me\AppData\Local\Temp\lighthouse.75127486 '\\?\C:\Users\me\AppData\Local\Temp\lighthouse.75127486'
at rmSync (node:fs:1206:18)
I'm guessing this is because node/LHCI is having trouble removing the temporary files whilst they're still being used by Chrome.
I've tried running the tests using execSync but with no luck - same results.
I've also tried setting a different temp folder with the setting
chromeFlags: "--user-data-di
I cannot hide the Google Places Autocomplete (new) clear button
20 May 2026 @ 5:54 am
I am using the Autocomplete (new) maps component in a GWT app, so i have java wrappers around it.
https://developers.google.com/maps/documentation/places/web-service/place-autocomplete
I works fine, but the clear (X) button doesn't hide properly when i hide the map sometimes, the clear button stays even if the contents of the text field is cleared etc.
So, i thought i'd just hide it, should be easy enough. But i can't find any styling, there are nothing in the documentation, and working with the CSS seems to do nothing.
I'm not great at js, so i was wondering if anyone knows whether there's a way to do this?
currently using 3.63. Pointers much appreciated.
Best approach for handling real-time leaderboard updates in a fantasy sports app?
20 May 2026 @ 5:27 am
I’m building a fantasy sports application where contest leaderboards need to update in near real time based on live match events.
Currently, I’m testing two approaches:
Polling leaderboard data every few seconds
Using WebSockets for pushing score updates
The concern is scalability when a large number of users are connected to the same contest during live matches.
Example stack:
Node.js backend
MongoDB
Redis for caching
My main questions are:
Is WebSocket generally the better approach for DFS-style live score updates?
How do large-scale apps usually reduce database load for leaderboard refreshes?
Would Redis pub/sub be a good option here?
I’d appreciate guidance from anyone who has handled similar real-time systems.
Which Django version are developers mostly using in 2026?
20 May 2026 @ 4:32 am
Which Django version are developers mostly using in 2026?
I want to know which version of Django is currently most popular among developers for production projects in 2026.
Also, why are you using that version — stability, new features, compatibility, or company requirements?
libcurl fails to read cert file in one project and succeeds in another
20 May 2026 @ 4:04 am
I have two versions of a c project in the same folder. (They were initially in different folders, moved them for debugging purposes).
I have set both of them to verbose output and the results are the following.
Not Working:
* Host example.com:443 was resolved.
* IPv6: 2606:4700:10::ac42:93f3, 2606:4700:10::6814:179a
* IPv4: 172.66.147.243, 104.20.23.154
* Trying [2606:4700:10::ac42:93f3]:443...
* Immediate connect fail for 2606:4700:10::ac42:93f3: Network is unreachable
* Trying [2606:4700:10::6814:179a]:443...
* Immediate connect fail for 2606:4700:10::6814:179a: Network is unreachable
* Trying 172.66.147.243:443...
* GnuTLS priority: NORMAL:-ARCFOUR-128:-CTYPE-ALL:+CTYPE-X509:-VERS-SSL3.0
* ALPN: curl offers h2,http/1.1
* error reading ca cert file /etc/ssl/certs/ca-certificates.crt (ASN1 parser: Element was not found.)
* error reading ca cert file /etc/ssl/certs/ca-certificates.crt (ASN1 parser: Element was