Bite Code! (@bitecode_dev) 's Twitter Profile
Bite Code!

@bitecode_dev

Quality and to-the-point bites about the Python world.

And other tech stuff.

ID: 1184006071620440064

linkhttps://www.bitecode.dev/ calendar_today15-10-2019 07:20:36

9,9K Tweet

827 Followers

337 Following

Bite Code! (@bitecode_dev) 's Twitter Profile Photo

uv just added "uvx [-p x.y] python", which means I can get rid of my clunky: py() { if [ -n "${VIRTUAL_ENV:-}" ]; then python "$@" else "$(preferred_python_version)" "$@" fi } And replace it with just "alias py=uvx python"

Bite Code! (@bitecode_dev) 's Twitter Profile Photo

Just migrated a project from hatch to uv. Took a few minutes. In two weeks, I'll write something like "One year of uv: should you use it?" listing all the good and bad things about it in the various tests I made with my clients over the years.

Bite Code! (@bitecode_dev) 's Twitter Profile Photo

Interesting concept. I just met it randomly and though it was a standard internet troll, and had to read the name to realize it was an AI. But most people in the thread didn't, which means it's not harmless, unfortunately, especially given its take.

Simon Willison (@simonw) 's Twitter Profile Photo

Tiny TIL: I just figured out how to run pytest with a different Python version against my pyproject.toml/setup.py projects using uv run uv run --python 3.12 --with '.[test]' pytest til.simonwillison.net/pytest/pytest-…

Bite Code! (@bitecode_dev) 's Twitter Profile Photo

I thought type checking would be added to ruff because it's developed in the ruff repo, but I just compiled it this morning (2 minutes on my machine), and for now, they have a separate red-knot executable. This is confirmed by Waygood: bsky.app/profile/alexwa…

Bite Code! (@bitecode_dev) 's Twitter Profile Photo

People are figuring out that they have been behaving with LLM like customers have been behaving with them all along and that they have to spend time explaining things correctly. How the tables have turned.

Bite Code! (@bitecode_dev) 's Twitter Profile Photo

Mystic Quest will never be as good as Silicon Valley, but it's a decent methadone for my empty soul. It has fun characters, situations I've seen play out for real, and everyone gets to be at the bottom of the joke, not just one tribe.

Bite Code! (@bitecode_dev) 's Twitter Profile Photo

Started to write the article on "One year with uv" tonight. It was getting a bit long, so I searched "Is 4000 words a lot" and found a /r/writing post asking if 4000 words is a reasonable goal... for a week. Woops.

Bite Code! (@bitecode_dev) 's Twitter Profile Photo

Good designers can do more than UI. Then can make the doc beautiful, the website nice, and even assist the marketing team. Don't make them redo the UI 10 times, it's terrible for the user. I have when Ubuntu is changing UI stuff once again, but sleep is still unsolved.