Tyler Coles

@javadocmd.bsky.social

Crafter of fine digital fripperies.

Maybe I’m weird but it’s ridiculously fun to get to show off a poster and I’m grateful that I got to do that at #PyConUS this year! Thanks for all the fun conversation and let’s keep that going. Open Source, Python, Science, Public Health: great things are possible with a great community.

Bild

Python Tip #91 (of 365): Use re.VERBOSE to make your regular expressions more readable 🧵 Regexes are extremely dense: one character is often a whole expression, and they're usually written without whitespace or comments: match = re.‍search(r"^\d{5}(-\d{4})?$", zip_code) #Python #DailyPythonTip

For my friends who are still using UV and might be a little weary about recent compromises to PyPi packages, stick this in your pyproject.toml. You can let all of those pip users find and report the compromises...

Bild

I've been working on a post on LLM-assisted coding, and I guess I've built up a bunch of writer's debt, because it turns out there's a bunch of tangents I wanted to write up first. One really concrete thing that came up is try/except usage -- so, here's the post. honnibal.dev/blog/try-exc...

Exception handlers are not general-purpose conditionals · honnibal.dev

Matthew Honnibal is a computational linguist from Sydney based in Berlin, Germany. He's the author of the spaCy Natural Language Processing library and the co-founder of Explosion.

honnibal.dev

Rather than spend 10 minutes manually exporting a bunch of Audacity clips to wav files, I asked AI if I could script that. “Of course!” 5 hours later, round about 2:00 AM, it was working flawlessly. Plus now I have a neat collection of 6 Audacity versions across 3 installation methods. Win-win!

Today, we’re announcing the preview release of ty, an extremely fast type checker and language server for Python, written in Rust. In early testing, it's 10x, 50x, even 100x faster than existing type checkers. (We've seen >600x speed-ups over Mypy in some real-world projects.)

Bild