add it as a pre-commit hook, so no one has to remember to run it
add it as a pre-commit hook, so no one has to remember to run it
and just like that you now have a 10^100-year commitment
that’s not the sun
Recent astrophysical models suggest that red dwarfs of 0.1 M☉ may stay on the main sequence for some six to twelve trillion years, […]
And they fuck it up so badly that somehow it ties with windows
don’t forget to compensate gravity
and you can speedup your upload by switching the fan direction
yeah, I remember it like that too
It’s as intuitive as moving the paper under the pen to draw something
sory ofcifer, I was druk wen I rote it
any rewards for not finding it?
ok, but why this personal attack
it’s never seeing the kitchen that makes me go to the restaurant again
could have invented another weekend day instead, that’s some corporate lobbying right there
I’m not even talking about walking. If the average person spent 5 minutes in a car instead of 20+, the traffic would be vastly better.
Yup, same logic with traffic / transportation. So much money wasted on roads instead of regulations that stimulate mixed use neighborhoods, which would reduce the need for moving around and solve the issue at the root.
it’s more effort and care compared to a throwaway script, not necessarily compared to other languages
it’s easier to piss of a Brazilian, but it’s easier to piss off a German
yeah, all that setup sucks even after being writing python for years.
Nowadays I’ve been running every project with uv
and it’s a much better and faster experience, usually in 3 steps: 1. initialize, 2. add dependencies, 3. run project:
# if the project doesn't already have a pyproject.toml with dependencies, initialize it
# uv will also install the right interpreter if not present:
uv init --python 3.13
# anything you would install with pip, use uv add:
uv add dep1 dep2
# run the project / script
uv run main.py
Then in future runs (as long as you have the pyproject.toml), you can just do uv run main.py
(shorthand to uv run python main.py
), even when there’s no venv created. No more activating virtual envs. No more long interpreter installations. No more accidentally messing with system’s packages or the PATH variable. With the uv.lock
that’s also a lot more reliable to reproduce than requirements.txt
and similar.
Imagine his level of clarity after 8h