eager_eagle

joined 1 year ago
[–] [email protected] 4 points 1 day ago

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!

[–] [email protected] 67 points 3 days ago (1 children)

it's never seeing the kitchen that makes me go to the restaurant again

[–] [email protected] 3 points 3 days ago* (last edited 3 days ago)

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.

[–] [email protected] 33 points 4 days ago (1 children)

could have invented another weekend day instead, that's some corporate lobbying right there

[–] [email protected] 3 points 4 days ago

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.

[–] [email protected] 3 points 5 days ago* (last edited 5 days ago) (3 children)

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.

[–] [email protected] 4 points 5 days ago

it's more effort and care compared to a throwaway script, not necessarily compared to other languages

[–] [email protected] 14 points 5 days ago

it's easier to piss of a Brazilian, but it's easier to piss off a German

[–] [email protected] 4 points 5 days ago* (last edited 5 days ago)

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.

[–] [email protected] 7 points 5 days ago (2 children)

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.

[–] [email protected] 4 points 5 days ago (1 children)

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.

[–] [email protected] 5 points 5 days ago* (last edited 5 days ago)

Exactly! I've wasted more time hunting missing semicolons in languages that use them, than fixing wrong indentation in Python.

4
VS Code Release 1.94 (code.visualstudio.com)
submitted 2 months ago by [email protected] to c/vscode
 
  • 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.
 

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.

9
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 

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)
17
1000 capacity! (www.youtube.com)
26
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/programming
15
submitted 10 months ago by [email protected] to c/vscode
20
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]
 

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?

view more: next ›