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.
That's a proficiency matter. Python is the language I can get something done the fastest today, but 6 years ago that would be Java or even JS for me.
I was never into any sport and after a few attempts of going to the gym and lasting a few months at best, I doubt I'll ever like it. Walking is fine, but it's not an option for most of the winter and it's not enough on its own for me.
Exactly! I've wasted more time hunting missing semicolons in languages that use them, than fixing wrong indentation in Python.
You can totally write heavy duty things if you know what you're doing: use type hints, static checkers, tests, etc. It just takes a bit more effort and care.
and yet I don't feel like doing anything at all
my brain is sabotaging my body
and despite those differences, uv is essentially cargo for Python, showing it is possible.
It's for ads. A wasteful beacon of light pollution for ads.
The Python env has been trying this multiple tools approach for decades and consistently delivering a worse experience than languages that pack most things in one tool.
Rust is a bliss to use, largely thanks to cargo that takes care of build, dependencies, locking, tests, publishing etc. You say do one thing and do it well. In my experience they often do one thing in a mediocre way, while forcing users to understand which and how to combine dozens of possible tools in a development environment that keeps changing. It's messy, slow, error prone, and requires constant developer attention.
are you really asking why use 1 tool instead of 5?
venvs and dependency management are such interconnected concepts, I don't even know how you could sustainably handle them separately.
Prefer Patreon or other means. YT takes 30% of that money, and including bs like processing fees that's more like 36%. Patreon's share is 12%.
Ah true, I had the wrong idea about this constraints file. What's your use case?
my personal preference is a pyproject.toml over that mess
He gets it. No wonder why I pay for every game I play, but I refuse to sign up to streaming services again.
If I can get better quality in almost every aspect for free, your service is really crappy.
Nice, mypath.open() is a more semantic alternative to open(my path)
VS Code Release 1.94
Learn what is new in the Visual Studio Code September 2024 Release (1.94)
- Find in Explorer - Quickly find files in the Explorer view with the improved Find control.
- Source Control Graph - More filtering options and interactivity in the Source Control Graph.
- Python test coverage - Run Python tests with coverage and get rich results in the editor.
- ESM - Faster VS Code startup thanks to the migration to ESM.
- Account preference - Specify which account to use for an extension.
- Copilot in Native REPL - Get code completions and Inline Chat in the Native REPL.
- Improved chat context - Drag & drop files or use IntelliSense for more relevant chat context.
- Test environment setup - Get help with setting up a test framework for your workspace.
VS Code Release 1.94
Learn what is new in the Visual Studio Code September 2024 Release (1.94)
- Find in Explorer - Quickly find files in the Explorer view with the improved Find control.
- Source Control Graph - More filtering options and interactivity in the Source Control Graph.
- Python test coverage - Run Python tests with coverage and get rich results in the editor.
- ESM - Faster VS Code startup thanks to the migration to ESM.
- Account preference - Specify which account to use for an extension.
- Copilot in Native REPL - Get code completions and Inline Chat in the Native REPL.
- Improved chat context - Drag & drop files or use IntelliSense for more relevant chat context.
- Test environment setup - Get help with setting up a test framework for your workspace.
I review Github Copilot Workspaces and it doesn't go well.
> GitHub Copilot Workspace didn't work on a super simple task regardless of how easy I made the task. I wouldn't use something like this for free, much less pay for it. It sort of failed in every way it could at every step.
Subatomic instrument will be able to accurately pinpoint locations under ground and under water where satellite signals cannot reach
Plasma 6 Wayland + NVIDIA
I've just upgraded to Plasma 6 on EndeavourOS and X11 works, but booting on Wayland via SDDM gives me a blank screen. The display enters power saving mode and switching to a TTY doesn't wake it up.
Anyone else having this problem, or with a workaround suggestion?
NVIDIA Driver 550.54.14-4 Operating System: EndeavourOS KDE Plasma Version: 6.0.1 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.7.8-arch1-1 (64-bit)
VS Code | January 2024 Release | 1.86
Learn what is new in the Visual Studio Code January 2024 Release (1.86)
VS Code | January 2024 Release | 1.86
Learn what is new in the Visual Studio Code January 2024 Release (1.86)
The plan is to keep the world at bay by never recording it in the DNS root – like many already do with a subdomain for an intranet
Novel Terrapin attack uses prefix truncation to downgrade the security of SSH channels.
Uplay games on Linux
I'd like to try the new Assassin's Creed and Avatar, but they're not on Steam - which is how I play almost every other game on Linux. I know I might be able to install Uplay games using Lutris, but I'm not sure if the experience is as smooth as Steam + Proton.
Do you have any experience with Ubisoft + Lutris? Is there an equivalent to ProtonDB to have an idea how well a game runs?
"Slack’s biggest redesign ever tries to tame the chaos of your workday"
It’s trying to be a better messaging app — but also lots of other things.