Some middle-aged guy on the Internet. Seen a lot of it, occasionally regurgitating it, trying to be amusing and informative.

Lurked Digg until v4. Commented on Reddit (same username) until it went full Musk.

Was on kbin.social (dying/dead) and kbin.run (mysteriously vanished). Now here on fedia.io.

Really hoping he hasn’t brought the jinx with him.

Other Adjectives: Neurodivergent; Nerd; Broken; British; Ally; Leftish

  • 0 Posts
  • 142 Comments
Joined 3 months ago
cake
Cake day: August 13th, 2024

help-circle

  • Right now, I’m leaning towards “no” on account of them allegedly being awash with money.

    In the vein of alternative places to donate, consider your Fediverse instance(s). If you’re a Linux user, a few pennies towards your distro of choice wouldn’t go amiss either. (I’d also say archive.org, but someone else suggested that already.)

    You may already be donating to these places, but this comment is also for the handful of other people who might see it, and like one of those arcade coin waterfalls, might trickle down into the conscience of someone who has cash to donate.
















    • Partial tip: There’s often the suggestion of concentrating on breathing, usually with some kind of regular pattern. This is an alternative to try.

    You’ll need to have been in bed for a while, mind racing. Take how extreme that racing is and then taking a similarly extreme, almost uncomfortably deep breath to match it. This requires having been in bed for a while.

    Hold it for a bit. Don’t count seconds - avoid numbers. As soon as you get the vaguest hint from your body that you need to let it out and breathe normally again, do so. Try to relax as much of yourself as possible as you do that. This is not a “hold your breath till you pass out” thing. You want to go back to breathing normally.

    If the breath was too deep and that freaked you out a bit, try going a bit more shallow on the next one.

    This has sometimes worked for me, especially if I’ve been asleep already and can’t get back to sleep.

    Sometimes I’ve tried a regular breathing exercise after that.

    Other times I have got out of bed and done something mindless for a while until I felt tired again. No doomscrolling.

    • More traditional tip: No caffeinated beverages for at least 6 hours before you go to bed. Yes, six. Nine’s even better.

  • Find yourself a language that allows negative indices to count back from the end of an array.

    In those languages, index 0 is usually the first element, but if you’re particularly perverse and negate your indexing, you can start at 1, or rather -1, at the other end and work backwards.

    0-indexing originally comes from needing to add to the array’s base memory address to locate elements. If you have an array at memory address 1234, you might expect to find the first element at that address, which would be 1234+0, and the next at 1234+1, etc.

    1-indexing started as either a deliberate abstraction from that idea, and/or else there’s something else stored at 1234 that the array data type needs and the real elements start at 1234+1.

    All that said, there’s at least one language that insists the indices of an array be of a subtype of some Integer type that must have a limited range. Then you can start and end wherever you like, and the whole 1 vs 0 business is meaningless (except to whoever writes the compilers for that language anyway).