Toots for bitecode@framapiaf.org account

Written by Bite Code! on 2025-02-03 at 08:27

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

Written by Bite Code! on 2025-02-03 at 08:14

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

Written by Bite Code! on 2025-02-01 at 14:21

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

=> View attached media

=> More informations about this toot | View the thread

Written by Bite Code! on 2025-01-29 at 09:58

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

Written by Bite Code! on 2025-01-25 at 20:43

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

Written by Bite Code! on 2025-01-25 at 16:11

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

=> View attached media

=> More informations about this toot | View the thread

Written by Bite Code! on 2025-01-19 at 23:23

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

Written by Bite Code! on 2025-01-11 at 15:33

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

Written by Bite Code! on 2025-01-07 at 15:45

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

Written by Bite Code! on 2025-01-02 at 16:18

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

=> View attached media

=> More informations about this toot | View the thread

Written by Bite Code! on 2024-12-30 at 12:36

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

Written by Bite Code! on 2024-12-30 at 12:31

In case you are wondering:

=> View attached media

=> More informations about this toot | View the thread

Written by Bite Code! on 2024-12-30 at 12:31

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:

=> View attached media

=> More informations about this toot | View the thread

Written by Bite Code! on 2024-12-29 at 13:51

Definitely deleted alias w="pew workon" from my .bashrc, and I think you can guess why.

=> More informations about this toot | View the thread

Written by Bite Code! on 2024-12-29 at 12:08

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

Written by Bite Code! on 2024-12-29 at 12:06

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

=> View attached media

=> More informations about this toot | View the thread

Written by Bite Code! on 2024-12-28 at 18:01

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

Written by Bite Code! on 2024-12-28 at 17:58

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

Written by Bite Code! on 2024-12-28 at 12:04

=> View attached media

=> More informations about this toot | View the thread

Written by Bite Code! on 2024-12-28 at 11:46

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

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/253387
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
304.951653 milliseconds
Gemini-to-HTML Time
12.771975 milliseconds

This content has been proxied by September (3851b).