u/lukmly013 💾 (lemmy.sdf.org)

I like computers, trains, space, radio-related everything and a bunch of other tech related stuff. User of GNU+Linux.
I am also dumb and worthless.
My laptop is HP 255 G7 running Manjaro and Linux Mint.
I own RTL-SDRv3 and RSP1 clone.

SDF Unix shell username: user224

  • 11 Posts
  • 538 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle


  • Just in case: If your storage is completely full all of a sudden, check /var/log/nginx if you haven’t pointed the logs elsewhere.

    I know I was pretty confused to find my storage absolutely full, then I found the multi-GB error.log file. When a network interface it was listening on disappeared it filled with errors as such:

    2024/12/10 07:57:06 [alert] 20420#20420: accept4() failed (22: Invalid argument)
    2024/12/10 07:57:06 [alert] 20420#20420: accept4() failed (22: Invalid argument)
    2024/12/10 07:57:06 [alert] 20420#20420: accept4() failed (22: Invalid argument)
    2024/12/10 07:57:06 [alert] 20420#20420: accept4() failed (22: Invalid argument)
    2024/12/10 07:57:06 [alert] 20420#20420: accept4() failed (22: Invalid argument)
    2024/12/10 07:57:06 [alert] 20420#20420: accept4() failed (22: Invalid argument)
    

    (I just reproduced that now on-demand, thus the date.)

    There’s a tool called logrotate to take care of logs, but I just did the stupid and lazy thing…

    error_log /dev/null;
    

    Well, in case you get the idea to run NGINX in Termux, and then later you find your phone hot, stuck in a bootloop, it’s possible the error.log filled the storage causing Android to crash because it now can’t even write system files.
    Not that I would have done such thing…







  • Preferably the one you hate the most. For example Tesco. In my country they as much as doubled the prices without their Clubcard, and they have these “discounts” on almost all products. I haven’t been there as a customer for quite a while. Most likely over a year or two.

    But it’s also a bit personal.
    They schedule inventories in the shop overlapping with the opening times. Now, this isn’t just the mistake of Tesco (we are a different company), but they do decide on the times. What I mean by in-shop is not in the warehouse, but actually where the customers are.
    We are required to be accurate, sort the products on the shelves if there was a mess and face it. This is then checked by someone else. Facing needs to be done well, but slight inaccuracies in counts are accepted (1 or 2 items). Your speed is also measured, by the way.

    This is all OK, except that now there’s customers to fuck with it. They can take items, put them back, or just make a plain old mess. Plus you can’t guard all the shelves. Because of that, I was shocked when I was in Tesco like this for the first time. “If the customer takes something, ask them for barcodes and count of each item they’re taking, write those down on a piece of paper and report them to me.”
    So… you’ll give me a piece of paper, right? RIGHT? (no.)

    Imagine that as a customer. Let’s say you take a few pens and are about to put them into your shopping cart, suddenly someone very much not from Tesco runs up to you “WAIT!! Can I see the items first? I need to write down the barcodes. Is this all you took? Ok. Um… do you… do you have some paper? No? Shit, please wait here, I’ll be right back! (One eternity passes) …”

    THANKFULLY, I avoided that. There were only 2 parents who talked about having to buy some of those plastic book covers ASAP as the school year was just starting, but my scared and startled look, probably/hopefully looking like “Please don’t take those. Please…”, made them change their minds. I’ve heard one of them say something like “It’s busy here, let’s not bother them. We’ll try elsewhere.”

    I assume this discourages a lot of night-time customers. But I’ll be fair, Billa also schedules such inventories.



  • This doesn’t even sound like a scam though.

    He bought some tokens at low price, waited for the price to go up, sold them and that made the price drop. Oh well. Sounds like a normal goal, buy low, sell high.

    As part of their revenge campaign, crypto traders continued to buy into Gen Z Quant, driving the coin’s price far higher than the level at which Biesk’s son had cashed out. At its peak, around 3 am PT the following morning, the coin had a theoretical total value of $72 million; the tokens the teenager had initially held were worth more than $3 million. Even now, the trading frenzy has died down, and they continue to be valued at twice the amount he received.

    So… basically just some people got mad because they were acting too quickly with no thinking involved, and others were still able to earn on it after that.

    If I understand that right, this whole thing is just “I stupidly put my money into your son’s untrustworthy currency and lost money. It’s all his fault!”



  • For me, because I was able to get a good nearly 20 year old HP printer that doesn’t actually care about reported ink levels and I can just refill the cartridges with ultra-cheap ink from AliExpress.

    You can get a 250ml bottle for around 10 bucks. Just make sure to get the correct one (dye vs pigment). My black cartridges were re-filled, but the company used dye ink in them even though they should have had pigment ink. I keep refilling them with dye ink, no idea what would happen if I mixed the remains.

    This works, unlike doing it the other way around (pigment ink in dye heads), but it’s a bit of a firehose situation. I have to use at least 120gsm paper (regular is 80), otherwise it just leaks through.
    I also refilled a fountain pen with it. That leaks even through the 120gsm paper, but it’s pretty black. Anyway, I could probably only use that with cardstock paper.

    It’s cheap enough for me to play around with like this too, or print “dark mode” documents.