Skip Navigation
User banner
Eager Eagle
Posts 13
Comments 1.6K
I wonder why people litter in the USA?
  • 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.

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

  • Brazilian's impression on Europe(i have never been there and this is based on nothing)
  • it's easier to piss of a Brazilian, but it's easier to piss off a German

  • Before and after programming
  • 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.

  • Before and after programming
  • 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.

  • Creak creak
  • 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.

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

  • Before and after programming
  • 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.

  • Creak creak
  • and yet I don't feel like doing anything at all

    my brain is sabotaging my body

  • constraint vs requirement. What's the difference?
  • and despite those differences, uv is essentially cargo for Python, showing it is possible.

  • Pro tip: it's much easier to lose 100k than it is to earn it
  • It's for ads. A wasteful beacon of light pollution for ads.

  • constraint vs requirement. What's the difference?
  • 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.

  • constraint vs requirement. What's the difference?
  • 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.

  • YouTube's war on adblockers still continue
  • 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%.

  • constraint vs requirement. What's the difference?
  • Ah true, I had the wrong idea about this constraints file. What's your use case?

  • constraint vs requirement. What's the difference?
  • my personal preference is a pyproject.toml over that mess

  • Half of Young Norwegians Say Online Piracy Is an Acceptable Way to Save Money * TorrentFreak
  • 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.

  • Is Python Really That Slow?
  • There are dozens of us. Dozens!

  • Python's pathlib module
  • that's already in the cheatsheet

  • Python's pathlib module
  • Nice, mypath.open() is a more semantic alternative to open(my path)

  • VS Code Release 1.94

    code.visualstudio.com Visual Studio Code September 2024

    Learn what is new in the Visual Studio Code September 2024 Release (1.94)

    Visual Studio Code September 2024
    • 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.
    2

    VS Code Release 1.94

    code.visualstudio.com Visual Studio Code September 2024

    Learn what is new in the Visual Studio Code September 2024 Release (1.94)

    Visual Studio Code September 2024
    • 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.
    0
    matduggan.com GitHub Copilot Workspace Review

    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.

    4
    www.theguardian.com ‘It’s the perfect place’: London Underground hosts tests for ‘quantum compass’ that could replace GPS

    Subatomic instrument will be able to accurately pinpoint locations under ground and under water where satellite signals cannot reach

    ‘It’s the perfect place’: London Underground hosts tests for ‘quantum compass’ that could replace GPS
    24

    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)

    6

    1000 capacity!

    2

    VS Code | January 2024 Release | 1.86

    code.visualstudio.com Visual Studio Code January 2024

    Learn what is new in the Visual Studio Code January 2024 Release (1.86)

    Visual Studio Code January 2024
    7

    VS Code | January 2024 Release | 1.86

    code.visualstudio.com Visual Studio Code January 2024

    Learn what is new in the Visual Studio Code January 2024 Release (1.86)

    Visual Studio Code January 2024
    4
    www.theregister.com ICANN proposes creating .INTERNAL domain

    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

    ICANN proposes creating .INTERNAL domain
    50
    arstechnica.com SSH protects the world’s most sensitive networks. It just got a lot weaker

    Novel Terrapin attack uses prefix truncation to downgrade the security of SSH channels.

    SSH protects the world’s most sensitive networks. It just got a lot weaker
    26

    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?

    11

    "Slack’s biggest redesign ever tries to tame the chaos of your workday"

    www.theverge.com 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.

    Slack’s biggest redesign ever tries to tame the chaos of your workday
    22

    why does the domino's website suck so bad? wrong answers only

    15