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.
=> More informations about this toot | View the thread
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"
=> More informations about this toot | View the thread
You know the drill, it's time for the monthly Python wrap up!
https://www.bitecode.dev/p/whats-up-python-a-new-windows-installer
=> More informations about this toot | View the thread
Thanks to the buggy Ubuntu lock screen, I typed my password in an email to a client today, and was one Ctrl hold to send it by mistake.
Sometimes I wish we could start a bounty on Ubuntu bugs as a user, adding money to some kind of escrow until a ticket is closed.
=> More informations about this toot | View the thread
TIL I learned about , , and HTML elements
HTML have everything these days. We got good semantic markup, and probably nobody cares anymore because all indexers ignore it and use some kind of AI to make sense of it since it was all a blob for years
=> More informations about this toot | View the thread
Today we are adding braces to replace indentation in Python, and nothing can stop us!
https://www.bitecode.dev/p/change-pythons-syntax-with-the-coding
=> More informations about this toot | View the thread
Welp, I did it again. I wrote a shitty article.
And I pondered about wether to publish it or not, because it's always annoying to throw away something you worked on.
But no, I just can't do it.
It's bad. It's not worth your time.
So delete it is.
=> More informations about this toot | View the thread
Yes, you should use a Python venv in a container like docker.
And here is why:
https://www.bitecode.dev/p/yes-you-should-use-a-python-venv
=> More informations about this toot | View the thread
We went from c is wasteful compared to assembly, to scripting languages are too slow, to why do you embed a full browser just to render your app...
The greybeards that will witness the unfolding of "everything is an AI API" call are going to have a heart attack.
=> More informations about this toot | View the thread
What if you could zip your entire Python project into one big file, copy that to a server and it would run?
That's what today's article is about!
"All your Python project in one file with shiv"
https://www.bitecode.dev/p/all-your-python-project-in-one-file
=> More informations about this toot | View the thread
Also:
len("TIL about ts_sms, an LLM based compression system for short text messages (like tweets).".encode('ascii'))
88
len("夋鷦네樇䶙邁㟪䤣䎧随捋㜁駊".encode('utf8'))
39
=> More informations about this toot | View the thread
In case you are wondering:
=> More informations about this toot | View the thread
TIL about ts_sms, an LLM-based compression system for short text messages (like tweets).
https://bellard.org/ts_sms/
As with most Fabrice Bellar projects, there is a WoW factor:
=> More informations about this toot | View the thread
Definitely deleted alias w="pew workon" from my .bashrc, and I think you can guess why.
=> More informations about this toot | View the thread
And if you like it, post it on hacker news (https://news.ycombinator.com/), this is by far the most visibility the blog can get barring being quoted by CNN or a Tik Tok influencer.
=> More informations about this toot | View the thread
What's up Python?
Well this December, we get a load of MOAR uv, a nice flask-like Django XP, and the dream of debugging live processes taking shape...
https://www.bitecode.dev/p/whats-up-python-moar-uv-flask-like
=> More informations about this toot | View the thread
The number of sites I encounter that don't work with Firefox is increasing.
It doesn't bode well for the open web.
Because the first thing it means is that the dev community is now getting more and more filled with people that don't care about those sorts of things.
=> More informations about this toot | View the thread
Google's Search Results are Infested, and Open AI is Using Google's Playbook from the 2000s https://chuckwnelson.com/blog/google-search-results-infested-open-ai-using-google-playbook
It's funny how much Google seemed to be unbeatable two decades ago, and now it seems that they just can't slow down their own obsolescence.
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
Getting in touch with young students again, I see they are obsessed with deadlines, as I was.
It's such a weird distortion from school. In the real world, hard deadlines are very few.
Apart from some contractual or celestial businesses, even the taxes understand you may be late
=> More informations about this toot | View the thread
=> This profile with reblog | Go to bitecode@framapiaf.org account This content has been proxied by September (3851b).Proxy Information
text/gemini