Studying the various locale mismatch scenarios in Windows clipboard text format synthesis
If they don't match, then the 8-bit strings are basically broken already.
The post Studying the various locale mismatch scenarios in Windows clipboard text format synthesis appeared first on The Old New Thing....
Take me to this post.
December 11, 2025
Elasticsearch memory usage
I have a virtual server, run by Digital Ocean, that runs my various side projects including this blog that you're reading right now. Of all the things running, Elasticsearch uses up over 60% of the total RAM memory.
Here is the raw report:
==================================== MEMORY ====================================
1 54.9 (61.8%) /usr/share/elasticsearch/jdk/bin/java (697 records)
2 3.7 (4.2%) /var/lib/django/django-peterbecom/.venv/bin/python /var/lib/django/django-peterbecom/.venv/bi...
Take me to this post.
December 11, 2025
ThinkPad Laptops with Linux Guide (2026)
ThinkPad laptops have become synonymous with reliability and innovation in the tech world. As a Linux enthusiast, you understand the importance of selecting the right laptop for your projects, work, and other professional tasks.
Continue reading......
Take me to this post.
December 11, 2025
CodeSOD: Tis the Season(al Release)
We recently asked for some of your holiday horror stories. We'll definitely take more, if you've got them, but we're going to start off with Jessica, who brings us not so much a horror as an omen.
Jessica writes:
I work for a company in the UK which writes legal software for law firms.
This raises the question what illegal software for law firms might look like, but I understand her meaning.
In the UK, there is a system called "Legal aid", where law firms can give free legal services to people...
Take me to this post.
December 11, 2025
How To Type Function Mocha Context With Cypress Aliases
In Cypress you can save values under aliases which is pretty handy. You can get the aliased value...
Take me to this post.
December 11, 2025
🤖 Trying Out GLM with Claude Code
My friend Trey Hunner showed me the GLM set of models before Thanksgiving. While traveling to see family, I somehow messed up my Claude Code setup because of a wrapper I have with mise-en-place. I couldn’t use it for a while, and that made me realize I really need a backup for Claude Code.
Why GLM?
Z.AI’s GLM model is better than Gemini but not quite as good as Claude Code. It’s really fast (about twice as fast as Claude Code), seems like 90+ percent as good, and it’s really cheap. You can get a...
Take me to this post.
December 11, 2025
How I implemented relative imports with Pyodide
I was recently playing with Pyodide, the WebAssembly Python runtime. I wanted to have my main code import a utility file. Something like this:
# in main code
import util
print(util.triple(5))
# in util.py
def triple(n):
return n * 3
This took me awhile to figure out! I’m not convinced I have the best solution, but here’s what I did:
Fetch util.py with fetch.
Save it to Pyodide’s virtual file system.
Run the main code!
Here’s what my JavaScript loader code looked like:
// Fetch `util.py` s...
Take me to this post.
December 11, 2025