tl;dr compression.zstd is the fastest Python Zstandard bindings with Python 3.15. Changes to code managing output buffers has led to a 25-30% performance uplift for Zstandard decompression and a 10-15% performance uplift for zlib for data at least 1 MiB in size. This has broad implications for …
Among my friends I have a reputation for causing stumbling across esoteric error messages. Whether that is SSL read: I/O error: Success (caused by a layered SSH connection hangup on Windows), or that time I tried installing NixOS on my laptop and os-prober failed to start (this was several …
Background Well, I've succumbed to the ever-present urge to completely change one's blog setup. It all started when I wanted to add my blog to the Awesome PyLadies' blogs repo . As part of the configuration you can add your blog's RSS feed (structured information about a blog's contents). But the …
I'm really excited for the opportunity to introduce my true self. A while back I began exploring my gender expression, and today marks an important step in my journey. So let me re-introduce myself, the real me this time. Hi! 👋 I'm Emma, a trans woman. I use she/her pronouns …
I've just published a new crate someone may find interesting. I recently had a take-home assessment where I used the Servo project's html5ever HTML parser crate. html5ever is the main crate that servo uses to parse HTML content on the web. This crate is very customizable, and you have to …
Note from the author: this is a pseudo TIL, but I hadn't seen it written down anywhere, hopefully someone finds it useful! Jump to "Solution" below if you don't care about the background. Background Generating Data I recently started working on a reinforcement learning project, and I needed to generate …
tl;dr Go to http://apt.cli.rs and follow the instructions to add the apt repo I guess its only fair to start my new blogging kick by catching up on a project I'd worked on several months ago which is pretty much "done." I really like several Rust …
Well, I've decided I want to blog a bit more, in part thanks to Simon Willison's post suggesting keeping a blog is a good idea. I've changed the UI a bit and I am now publishing via a Github action (I now just need to write a markdown file and …
A while back, a friend of mine was working on a coding challenge for some internship. The prompt said to create a dictionary with string keys and string values in your favorite programming language, without using the built in dictionary type. This got me thinking of how I would solve …
The video of the panel at PyBay 2017 I was on was posted! It was a pleasure to be a part of the panel, and a great experience to go to PyBay 2017. The SF Python community was kind and welcoming. I hope to go to their regular meetings if …
EDIT: This project stalled and is no longer being worked on. You can find the sources on my github . The original blog is below. Note: This blog post assumes basic familiarity with typing I am a collaborator on the mypy project, which implements a static type checker for Python. Static …