BenchpressMuyDebil

joined 10 months ago

I enjoy this headline writing style. Imagine if we turned "try these 7 tricks" headlines into "Dionysius I of Syracuse would like you to try these"

[–] BenchpressMuyDebil@szmer.info 6 points 1 week ago (12 children)

People shit on it for lack of dkim verification (mail spoofing) but it's ok for me. If you enable beta in the setting you can even log into the webui with a normal OTP for 2fa instead of the pin+yubikey tap weird one they had before

[–] BenchpressMuyDebil@szmer.info 13 points 3 months ago (4 children)

https://github.com/LuckyTurtleDev/docker-images/tree/main/dockerfiles/anki

start with env var sync_user1=username:password or something like that

change server url in anki desktop or ankidroid to what you started in docker

done

[–] BenchpressMuyDebil@szmer.info -5 points 3 months ago (2 children)

Nice replacement topic after the maintainer drama last week

[–] BenchpressMuyDebil@szmer.info 2 points 4 months ago* (last edited 4 months ago) (1 children)

I agree with the person you're replying to in the sense that Linus's decision is OK, but the delivery could be less "idiotic". This could be a different message entirely. Even a cold "Yes we have some things happening. Can't tell more for now" would've been fine.

I'm Finnish. Did you think I'd be supporting Russian aggression?

Where did that come from? Sir this is a kernel mailing list. Why the nationality chest beating? I'm Polish and I have a smirk all day on November 4 but it's just so childish from Linus.

[–] BenchpressMuyDebil@szmer.info 7 points 4 months ago (1 children)

Guys will read this and say hell yeah

[–] BenchpressMuyDebil@szmer.info 4 points 4 months ago (1 children)

Did you know that if you use the "transfer data from my old phone to the new phone" thing, only the apps installed from Google Play will be carried over? That is, FDroid apps and their data will be lost.

[–] BenchpressMuyDebil@szmer.info -1 points 4 months ago (1 children)

oh my god what a stupid post

[–] BenchpressMuyDebil@szmer.info 6 points 6 months ago

Man I hate how I barely ever buy anything, makes it impossible to boycott any company

[–] BenchpressMuyDebil@szmer.info 3 points 6 months ago

The generated password lenghts can be set in the UI at least. It's worse when the password form accepts only SOME special symbols (looking at you bank)

[–] BenchpressMuyDebil@szmer.info 1 points 6 months ago (1 children)

Did you see the new ff vertical tabs in nightly firefox labs?

 

I'm currently traveling for months at a time and my homelab has become unreachable to me over VPN due to a unknown complication after a power outage.

Just as a learning experience for all, my mistake was that I set-up my VPN very far down the stack - as a wg-easy app inside TrueNAS SCALE's apps ecosystem. My very important reason for doing it was that way was that wg-easy allows for setting up client devices with a QR code...

Anyway, the NAS is not booting back up nor do the TrueNAS apps. I should've set my VPN up right at the front of the network - on my MikroTik router that also supports Wireguard. The funny thing is I was so happy that my NAS has IPMI and whatnot but now I can't even access it.

For now the NAS is kept powered on from what I know, it just doesn't boot. This should help prevent bitrot until I'm back. All important files are backed up on a 3rd party service.

It's a shame my Jellyfin and Navidrome inaccessible, but I'll live.


Now I'm thinking about buying an UPS so that this doesn't happen in the future. I'd like the UPS to be fanless and rackmount, so that limits me to ~700VA territory.

Devices in my homelab pull about 65W idle and spike to say 150W when everything is booting. ISP modem, router, POE+ switch, AP, NAS. I might add another 20W due to a Lenovo M920q in the future.

I only really care about NUT and graceful shutdown instead of long runtime on battery.

I was thinking about this: https://www.apc.com/us/en/product/SMT750RMI2U/

In my country I can get it with new batteries (no front panel) and a network card for NUT for a total of 180 EUR.

Would that work? Would you be afraid of leaving an UPS (it is kinda like a bomb after all) unattended an leaving your home for 6 months at a time?

 

After reading a non-fiction book, do you beat yourself up over not remembering all that much? This is especially painful if the book took years to complete (e.g. Anne Applebaum's "Gulag").

It's a bit ridiculous to expect to become an Encyclopedia after reading something in passing too, though.

I feel as if working with a computer and using the internet daily destroyed my attention span, which is why I'm self concious about this.

 

I've been a social media hermit for the past 3 years but recently I've given up and created a few accounts across different apps again. It's unreal how strict the requirements are now.

  1. Give e-mail (ok)
  2. Give phone number (.... eeh, ok)
  3. Use the new account for a while
  4. Account suspended, please upload selfie to continue (no thanks xi). There are also some verification promps where you have to record a video and rotate your face left to right

If this isn't a message to move to indie web I don't know what is

 

I was working with NPM package.json files a lot lately and I often found myself saving them in an unparseable state. json-ts-mode highlights syntax errors in yellow but it wasn't enough.

I didn't want to use flymake-eslint becuase it requires having the jsonlint binary in the PATH and I just wanted a simple Lisp solution.

The code tries to parse the current buffer on save using Emacs' built-in json-parse-string and moves the cursor to the location of the parsing error if it fails.

The below code naively assumes that the saved buffer is always the current buffer, which may very well not be the case (e.g. (save-some-buffers)).

It also probably won't save JSON5 files which have // comments inside because json-parse-string won't handle that.

(defun rtz/json-parse-pre ()
    (interactive)
    (if (eq major-mode 'json-ts-mode)
        (condition-case err
            (progn 
  	    (json-parse-string
  	     (buffer-substring-no-properties
  	      (point-min)
  	      (point-max)))
              nil)
          (json-parse-error
           (goto-char (nth 3 err)) (error err)))))

  (setq write-file-functions '(rtz/json-parse-pre))
view more: next ›