RSSAmplifier

Blog

Emma's Blog

emmatyping.devRSS feed ↗12 posts

Latest posts

Decompression is up to 30% faster in CPython 3.15

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 …

Finding a miscompilation in Rust/LLVM

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 …

Revamping my blog... again

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 …

Introducing the real me!

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 …

New Rust crate: generational-arena-dom

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 …

Using multiprocessing and sqlite3 together

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 …

Rust CLI tools apt repo

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 …

Revamping my blog

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 …

PyBay 2019!

I will be tabling at PyBay 2019 on August 18th! Hope to see you there :)

Stupid solutions for stupid problems

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 …

PyBay 2017

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 …

Typycal - Generate type stubs from runtime type information

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 …