Admiral Patrick

I’m surprisingly level-headed for being a walking knot of anxiety.

Ask me anything.

Special skills include: Knowing all the “na na na nah nah nah na” parts of the Three’s Company theme.

I also develop Tesseract UI for Lemmy/Sublinks

Avatar by @SatyrSack@feddit.org

  • 117 Posts
  • 1.45K Comments
Joined 2 years ago
cake
Cake day: June 6th, 2023

help-circle
  • I suspect zram’s swap device only consumes RAM when it actually contains swapped pages, but I don’t know for sure. Can anyone link an authoritative statement on this?

    I’m wondering the same. I haven’t read anything authoritative, but it definitely seems like it only consumes the RAM it’s using. Otherwise, it wouldn’t be able to create block devices that exceed the physical memory. I started to wonder when I had it set to 50% (4 GB) and gave it a stress test. The 4 GB it allocated filled up but was compressed to just about 1 GB, so I thought “surely this isn’t wasting 3 GB of RAM to hold 1 GB of pages.”

    The guidelines I’ve read seem like there’s some guesswork involved in the planning. Basically you can make the zram device as large as you want so long as the compressed data is less than the physical RAM (not all pages compress equally as you mentioned).

    I’ve since bumped it to 200% of system ram (16 GB), and I think that’s probably good enough for my use cases. I’m seeing about a 4:1 average compress ratio, so I could go higher, but 8 GB has been plenty usable up until now. :shrug: I also left the original swap file in place with a lower priority as a spillover (I’m not really missing the 4 GB of disk space that uses, so might as well keep it).





  • Process was pretty easy. Basically you have to:

    1. Fill out the recall form (linked in post).
    2. Provide info for the unit:
      • Model number
      • Serial number
    3. It will check to see if that exact unit is part of the recall. If it is, you’ll also need to provide:
      • Where it was purchased
      • The order number associated with the purchase
    4. Let them know if you want a replacement unit shipped to you or a non-expiring gift card for Anker.com
      • I selected “replacement unit” and had to provide my shipping address. Not sure if gift card needs that or not, but would assume so.
    5. You have to submit two photos of the unit:
      • Write the current date and the word RECALL on a piece of paper.
      • Upload a photo of the back with the serial number visible with the paper in the shot
      • Upload another photo of the front with the paper in the shot. Also, you have to write RECALL on the device itself in Sharpie (not sure if they’ll be able to see it in mine since the case is black and you can’t see the marker at all)
    6. It said the turnaround time is approx. 5 days.
    7. It advises to send the unit for recycling after you submit the form, but I’m holding onto mine for now because I’m not sure if they’re gonna complain about the Sharpie not being visible in the second photo.



  • Good. May other retailers and grocery chains follow.

    I hate those things - they treat you like a thief by default. I rarely use them and prefer to wait in line for the 1-2 cashiers, but I did the other day because I only had a few bottles of water to check out, and it was unsurprisingly horrible.

    Scanned and bagged all my stuff. More slowly than I’d have liked, but otherwise uneventfully. I unpocket my wallet to get my shopper’s card and debit card out. “Oh no, you didn’t!” the machine said as it called for backup. Cue waiting 3-4 minutes for the attendant to get to me.

    The machine asked the attendant if I was stealing and showed a replay of what it assumed must be me trying some Ocean’s 11 level of grand larceny. In the video? It was me getting my wallet out to pay.

    Absolutely no time was saved. Nothing was more convenient, and to top it off, I was once again accused of stealing by a bathroom scale with delusions of grandeur.




  • Maybe dubvee? That’s kind of the exact vibe we’re fostering.

    Site info: https://dubvee.org/site

    I’m looking for a instance with…

    • the fewest trolls (they’re site-banned upon discovery)
    • [the fewest] bots (see rule 2: “No fscking bots”). Some bots are allowed, but only ones that are just a human queuing up things to post on a schedule.
    • and anyone that likes to take things to the extremes (See Rule 8)

    Cons are that a lot of accounts are banned (rule 8) and we don’t federate with some instances: .ml, grad, hexbear, lemdroid (too much spam originates there). We’re kind-of the opposite of lemm.ee in a lot of ways, so it might be a bit jarring if that’s where you’re coming from.