Skip Navigation
User banner
NostraDavid
Posts 1
Comments 369
Copying error messages just got easier - Visual Studio Blog
  • Fuck. I thought this was about vscode for a second. I'm happy for the VS2022 users though! Lets hope vscode learns from this. Their peek debug window is doodoo and a PITA.

  • Forget "gif" vs "jif" debate. How does one pronounce "Forgejo"?
  • It’s 2024, there’s no reason we should be afraid of non-ASCII characters.

    I use an American layout and don't have a numpad :(

  • What languages are you guys thinking this year?
  • Hm. Want to try to use the Relational Model, but am starting to hate SQL. Anyone know of any decent alternatives?

  • Pim Tool is a moron
  • Sorry, you've been sharing a skin colour with Stalin, Hitler and Leopold II since before you were born.

    We're going to need 1 whipping per year of your life, for atonement.

  • An average of 140 women and girls were killed by a partner or relative per day in 2023, the UN says
  • Here is the actual report.

    An estimated 80 per cent of all homicide victims in 2023 were men while 20 per cent were women, but lethal violence within the family takes a much higher toll on women than men, with almost 60 per cent of all women who were intentionally killed in 2023 being victims of intimate partner/family member homicide.

    Taking this 60%, that would mean that about 92.4 men were killed.

  • An average of 140 women and girls were killed by a partner or relative per day in 2023, the UN says
  • Domestic violence is a huge issue, and women are more likely to suffer from it!

    Yes and yes.

    and scientifically literate readers won’t dismiss your credibility along with your cause.

    No. If you care about women's lives, you'll focus on cancer instead.

    Homocide per 100k capita of women (summed the separate numbers on page 9, worldwide): 7.4

    Deaths per 100k capita of women just in the USA (listed under "Sex and Race/Ethnicity"): 126

    Here's your headline: Women are 1602.70% more likely to die of cancer, than of homicide at home!!!

    Now... Homicide bad. very bad. Homicide very bad (self-defence does obviously not count). But compared to some other numbers that are also bad, maybe homicide relatively not that bad.

  • It's a cruel system
  • You are paid according to your responsibilities, not your skills. Well, partially for your skills, but it's not the be-all end-all of your salary.

    Sadly, after a certain point, people become so rich that they can skirt their responsibilities, which is problematic, but that's a separate thread.

  • Anon tries watching nu-Trek
  • I fucking loathe the series for introducing "Frieza" (the half mecha character), and IMMEDIATELY killing her off. Finally a somewhat interesting character, and they get fucking rid of her. Pisses me the fuck off

  • Does someone know an alternative to Mozilla MDN ?
  • https://html.spec.whatwg.org/

    This is where they (WHATWG) specify HTML. MDN may have been crucial some day in the past, but that had been way past.

  • Pim Tool is a moron
  • Replace "trump people" with "white people", and you're getting closer to how people on the right feel.

  • GIMP - GIMP 3.0 RC1 Released
  • I really like those new icons - Yeah, they're kinda flat, but they actually have colour.

    They've basically taken peak 2005 icons, and improved on them.

    Very nice.

  • Is Python's tooling incredibly difficult, or am I just stupid?
  • especially when doing data science

    500MB for Ray, another 500MB for Polars (though that was a bug IIRC), a few more megs for whatever binaries to read out those weird weather files (NetCDF and Grib2).

  • Is Python's tooling incredibly difficult, or am I just stupid?
  • Downside: "^1.2.3" as default versioning for libraries. You just pinned a version? Oh great, now I can't upgrade another library because you had to pin something in yours...

    That non-standard syntax has been a PITA for the last few years. That being said: They created that syntax for regular applications (and not for libs) in a time when the pyproject.toml syntax was not anywhere near finalization.

  • Is Python's tooling incredibly difficult, or am I just stupid?
  • I bet it’s darn amazing,

    It is. In this older article (by Anna-Lena Popkes) uv is still not in the middle, but I would claim it's the new King of Project Management, when it comes to Python.

    uv init --name <some name> --package --app and you're off to the races.

    Are you cloning a repo that's uv-enabled? Just uv sync and you're done!

    Heck, you can now add dependencies to a script and just uv run --script script.py (IIRC) and you don't need to install anything - uv will take care of it all, including a needed Python version.

    Only downside is that it's not 1.0 yet, so the API can change at any update. That is the last hurdle for me.

  • Is Python's tooling incredibly difficult, or am I just stupid?
    1. let pyproject.toml track the dependencies and dev-dependencies you actually care about
    • dependencies are what you need to run your application
    • dev-dependencies are not necessary to run your app, but to develop it (formatting, linting, utilities, etc)
    1. it can track exactly what's needed ot run the application via the uv.lock file that contains each and every lib that's needed.
    2. uv will install the needed Python version for you, completely separate from what your system is running.
    3. uv sync and uv run <application> is pretty much all you need to get going
    4. it's blazingly fast in everything
  • Is Python's tooling incredibly difficult, or am I just stupid?
  • pip3 freeze > requirements.txt

    I hate this. Because now I have a list of your dependencies, but also the dependencies of the dependencies, and I now have regular dependencies and dev-dependencies mixed up. If I'm new to Python I would have NO idea which libraries would be the important ones because it's a jumbled mess.

    I've come to love uv (coming from poetry, coming from pip with a requirements/base.txt and requirements/dev.txt - gotta keep regular dependencies and dev-dependencies separate).

    uv sync

    uv run <application>

    That's it. I don't even need to install a compatible Python version, as uv takes care of that for me. It'll automatically create a local .venv/, and it's blazingly fast.

  • Is Python's tooling incredibly difficult, or am I just stupid?
  • Python’s tooling is a mess.

    Not only that. It's a historic mess. Over the years, growing a better and better toolset left a lot of projects in a very messy state. So many answers on Stack Overflow that mention easy_install - I still don't know what it is, but I guess it was some kind of proto uv.

  • ...
  • Didn't Obama also kick out more illegal immigrants than a bunch of presidents before him? Maybe I'm misremembering, but I do remember nobody giving a shit about illegal immigrants being kicked out. Then Trump came and people freaked out, as if it didn't happen under Obama as well.

    Shit was weird.

  • [Acerola] tried making a particle system
  • It's why John Carmack (created Wolfenstein, Doom, Rage, and made the engine that drives Half Life, Call of Duty and many more) is so revered. He's straight up a tech wizard.

  • "Ladybird announcement" by Andreas Kling (from SerenityOS)

    Ladybird, the browser from SerentityOS, now has a non-profit behind it! The guy in the video is not Andreas, but Chris Wanstrath (former CEO from Github), and he's pumping some financial backing into this non-profit.

    I for one am happy we're getting an alternative to the Chrome/Firefox duality we're stuck with.

    https://ladybird.org/

    10