• 0 Posts
  • 35 Comments
Joined 1 year ago
cake
Cake day: May 14th, 2024

help-circle





  • Is it more for situations that need to be compatible with most *nix systems and you might not necessarily have access to a higher level scripting language?

    Yes, and also because integrating Python one-liners into shell pipelines is awkward in general. I’m more likely to write my entire script in Python than to use it just for text processing, and a lot of the time that’s just a pain. Python isn’t really designed for one-liners or for use as a shell. You can twist it into working in those use cases, but then I’d ask the reverse question: why would you do that when you could “just” use awk?

    On macOS, Python is not installed by default. So if you are writing scripts that you want to be portable across platforms, or for general Mac administration, using Python is a burden.

    This is also true when working with some embedded devices. IIRC I can ssh into my router and use awk (thanks to it being included in Busybox), but I’m definitely not going to install an entire Python environment there. I’m not sure there’d even be enough storage space for that.


  • After working for many years in a “fast pace environment” I can’t help but notice that I have increasing difficulties to do simple tasks.

    How many years are we talking?

    A lot of what you describe sounds like you’re starting to have “senior moments”. If you’re past 50, that’s pretty normal. Which is not to say it’s good. “Normal” does not mean good. It just means common. I don’t think you should look for anything exotic if the mundane explanation fits your observations.

    Low-tech suggestion: Keep a notepad in your pocket. Make to-do lists. Cross items off it when you’re done. Maybe put the time in when you cross it off.

    • Put water on stove
    • Turn off stove
    • Make tea
    • Drink tea


  • Yep. On a Blu-ray disk, you have 25-100GB of space to work with. The Blu-ray standard allows up to 40mbps for 1080p video (not counting audio). Way more for 4K.

    Netflix recommends a 5mbps internet connection for 1080p, and 15mbps for 4K. Reportedly they cut down their 4K streams to 8mbps last year, though I haven’t confirmed. That’s a fraction of what Blu-ray uses for 1080p, never mind 4K.

    I have some 4K/UHD Blu-rays, and for comparison they’re about 80mbps for video.

    They use similar codecs, too, so the bitrates are fairly comparable. UHD Blu-rays use H.265, which is still a good video codec. Some streaming sites use AV1 (at least on some supported devices) now, which is a bit more efficient, but nowhere near enough to close that kind of gap in bitrate.



  • In theory, the only difference between an electric heater and your computer, as far as actual heat goes, is the dispersal pattern. They will generate exactly the same heat: 1W of heat per 1W of electricity used. That’s thermodynamics for you!

    You said:

    The flat was kept not quite as warm as previous years

    So I don’t think it makes sense to assign any of the savings to using your PC vs your usual electric heaters. It’s because you kept your place a little cooler, which makes an absolutely huge difference. When heating in winter, every additional degree of air temperature is more costly than the last, since heat loss is relative to the temperature differential between indoors and outdoors (i.e. a warmer room will lose more heat to the outdoors than a cooler room, so you need to generate more heat to maintain it).

    This sounds to me a lot like dieting. Most of the time, the success of a diet has less to do with the actual diet and more to do with the fact that dieting has made you more mindful and changed your behavior in other ways.

    The two biggest things you can do to save money on heating in winter are:

    1. Keep your place cooler. Wear warm socks, long sleeves, etc. instead.
    2. Improve insulation. Plastic window insulation kits are cheap and easy to install/remove. For doorways, you can get adhesive insulating foam to fill side gaps and a slide-on door sweep to cover any bottom gaps.

  • What this expression refers to is a pervasive false equivalence: the idea that anything that isn’t perfect isn’t worth bothering with, or that doing something small somehow hampers a greater task (even if when it actually contributes to that greater task). It is a statement against apathy and binary thinking.

    This comes up in politics and activism all the fucking time. Like “Why should I care about car emissions when freight ships produce more emissions than all the cars in the world?” The answer is simple: because you can. Do what you can, even if it’s small. That doesn’t mean forgetting about the big polluters.

    some sort of labor movement, a geopolitical shock, a massive strike, etc

    If anybody is avoiding Amazon as an alternative to those things, then I agree that they need a kick in the pants. But I doubt there’s anyone out there thinking to themselves “I don’t need to take part in the revolution because I bought my cat food at CVS instead of Amazon”.



  • Lots of recent (meaning past 20 years or so) research shows that our gut bacteria play quite a large role in our mental functions, too.

    The concept of “the self” as a single, indivisible, unchanging thing is simply not compatible with observed reality. To be alive is to be in a constant state of flux.

    Is there such a thing as an eternal soul? Uh, maybe…but if there is, it’s not going to be responsible for the things we typically associate with individual living people. It’s not going to have your sense of humor, or your memories, or your opinions, or your math skills. We know enough about all of those things to confidently say they are not eternal.


  • If someone was uninformed and misinformed enough to think voting for Trump was even remotely in their own self-interest in the first place, then there is almost no disaster Trump can cause that will not be instantly reframed as “just imagine how much worse it would be under Dems!”

    Dying of COVID? Well at least you’re not dying from forced vaccination!

    Layoffs due to tariffs? LOL what’s a tariff?

    Can’t get benefits you need to survive? Well clearly the Welfare Queens left him no choice! It’s their fault!

    It’s no coincidence that Trump in particular and Republicans in general relentlessly attack education and free information. They’ve already brainwashed enough of the population to win elections, and they want to make sure the general population has no way out of that hole. This is why they’re attacking Wikipedia and Internet Archive. This is why Project 2025’s first order of business is to eliminate the Department of Education. This is why Musk bought fucking Twitter in the first place, most likely. This is why they’re now trying to repeal Section 230 (with the help of some Judas Dems), so they can bully any web site into taking down any information they don’t like.

    The information apocalypse is upon us.




  • I’ve noticed an uptick as well. This isn’t the first time it’s happened over the years, though. Spam is a cat-and-mouse game. Every now and then spammers learn how to break through, and it takes some time for Google to adapt.

    I’ve been surprised by the latest wave, because it’s so obviously spam. Mostly phishing attempts full of misspellings and even numbers in place of letters, like F1del1ty instead of Fidelity. Should be pretty easy to filter.