any rewards for not finding it?
uv can do much more though
random kid vs Hitler...
Tough choice
you can also enable this rule set to remind you https://docs.astral.sh/ruff/rules/#flake8-use-pathlib-pth
I read that building a metro in Rome is a logistical nightmare because of the amount of archeological sites and artifacts discovered when digging. I imagine it's also the case for Greece, so congrats!
it's never seeing the kitchen that makes me go to the restaurant again
That's like saying you ride your car 29 days for free because it was paid off for this month on the first day.
Eventually you'll change cars. It has a daily cost, you're just amortizing it.
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.
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
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
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)
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.
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?
It’s trying to be a better messaging app — but also lots of other things.