19
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]

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?

[-] [email protected] 31 points 3 weeks ago

⚠️ You have alerted the horde

9
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

Kiedy wchodzę na https://szmer.info/?dataType=Post&listingType=All&sort=TopSixHour to widzę tylko posty ze szmeru. Zazwyczaj widziałem tutaj posty z fedi które mają pareset głosów. Teraz widzę tylko posty ze szmeru, pdoobnie jakbym był na https://szmer.info/?dataType=Post&listingType=Local&sort=TopSixHour

Czy coś się dzieje z federowaniem przez ostatnie parę dni?

Na takim https://szmer.info/c/[email protected] aktywne posty są sprzed 8 dni

[-] [email protected] 17 points 1 month ago* (last edited 1 month ago)

This is not about the smart tv tizen, no? I see the article talks about smartwatches. The naming on Samsung's side is confusing.

20
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

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.

[-] [email protected] 54 points 1 month ago

Mumble is super popular with EVE Online players still, no? Because of the support for a large number of users in a single room

[-] [email protected] 21 points 2 months ago

Sometimes I wish I was born as a merino wool farmer in 13 century Spain

419
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

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

[-] [email protected] 30 points 2 months ago

Insallah my brother in the Firefox jihad

[-] [email protected] 78 points 2 months ago

Would you like to go on a date with me?

Eww no

quickload
puts on fedora hat and sunglasses +2 CHR
consumes every drug in inventory
accidentally takes psycho
ROAAAAAAAAHHHHHH

Would you like to go on a date with me?

7
submitted 2 months ago* (last edited 1 month ago) by [email protected] to c/[email protected]

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))
[-] [email protected] 20 points 2 months ago

i just cant escape the headphone jack jihadists even in this thread

[-] [email protected] 28 points 2 months ago

What was in that syringe

dependencies

[-] [email protected] 17 points 2 months ago* (last edited 2 months ago)

a decision was made in early 2024 to become a hard fork

https://forgejo.org/2024-02-forking-forward/

[-] [email protected] 24 points 2 months ago

My god they really hit the home run with a brand new excuse just to fire a few more people huh?

[-] [email protected] 69 points 2 months ago

Guess you're not ready for that mom, but the Fediverse is gonna love it

13
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

Są sobie takie desktopowe programy do rachunkowości (np. GnuCash). Nie trzeba być jakimś wielkim rekinem biznesu, można nimi po prostu liczyć comiesięczny budżet i dotychczasowy majątek, po prostu wpisujesz:

  • mam tyle pieniędzy w gotówce
  • mam tyle pieniędzy na "głównym" koncie bankowym
  • mam tyle pieniędzy na lokacie na takim i takim procencie

Można też w nich oczywiście śledzić wydatki. Przy płaceniu kartą wszystkie transakcje widać w przecież na stronie banku po zalogowaniu.

No tylko że, w ciągu miesiąca tych transakcji to jest z paredziesiąt. Więc po jednej stronie okna masz otwartą stronę banku a po prawej program do księgowości. I tak przepisujesz wartość transakcji i jej datę z jednego programu do drugiego. Wrzucasz też transakcje do odpowiednich kategorii: rachunki, żywność, odzież. Tak wiem że mBank już przydziela płatnosci do różnych kategorii sam z siebie, ale program do rachunkowości ma dużo innych funkcji z którymi webapp mBanku nie ma szans.

Na szczęscie w GnuCash jest wsparcie dla AqBanking, a AqBanking wspiera banki które korzystają z protokołu FinTS.

Korzystając z AqBanking i FinTS można z poziomu tej desktopowej apki wykonywać takie akcje jak:

  • pobierz saldo konta (tj. zsynchronizuj to co jest w banku z tym co jest w GnuCash)
  • pobierz historię transakcji (tj. to co sprawia że nie musisz jak głupi co tydzień przepisywać wykonanych transakcji)
  • :o wyślij przelew bankowy (whaat) - trzeba podać PIN FinTS przy każdej transakcji

Wszystko fajnie, ale niestety okazuje się że FinTS jest tylko niemeckim standardem.

https://en.wikipedia.org/wiki/FinTS

HBCI [prekursor FinTS przyp. OP.] was originally designed by Germany's three banking "pillar" networks, namely the Sparkassen-Finanzgruppe, German Cooperative Financial Group, and Association of German Banks.

Idąc dalej, do wspomnianego Association of German banks należy Commerzbank, który jest większościowym właścicielem mBanku, więc teoretycznie mają know-how i ludzi którzy mogliby to zrobić. Ja wiem, że w bankowości wszystko porusza się powoli (ile czasu zajęło zanim pierwszy bank w Polsce zaczął obsługiwać klucze U2F - ING), ale no kurde Polska jest przecież fintechowym poligonem doświadczalnym.

Tutaj nawet ktoś na forum ING o to dopytywał (ostatni post 2022): https://spolecznosc.ing.pl/-/Konta-osobiste-i-firmowe/Pliki-HBCI-OFX/td-p/16907 No i jest też taki o projekt na GitHubie na wsparcie AqBanking do mBanku: https://github.com/Mestrona/mbank

Nawet na chwilę zastanawiałems się czy mógłbym otworzyć prawdziwe niemieckie konto bankowe, ale zakładam że nie byłoby to nijak opłacalne przez transakcje w PLN.

18
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

Yes, I know the answer is "don't buy them".

Anyway: I've been seeing posts in places that follow the format: "Look how item X in (rich country) costs the same or is more expensive than in Poland"

Admittedly, those posts aren't about basic necessities. They are about football tickets and the stadium beers or about Subway sandwiches. Although from personal experience, I know that this is happening with groceries as well. Inflation and the war across the border was a great excuse to hike the price of some goods. This doesn't seem just to me, given the wage disparity between say Ireland and Poland. But hey, you gotta get that YoY 20% growth somehow. Poland being the poster child of "look what capitalism does".

So when we take the example of buying groceries to stay alive, what alternative do you have to the large stores that are obviously fucking you over? I can afford to pay those inflated prices, I just don't want to affirm the effectiveness of the "let's hike the prices of everything because we have the excuse to" master plan.

Here are some loose (privileged), perhaps not particularly good ideas that I've had:

  1. Buy food from the inflation basket The Polish (and others probably too) statistical institution keeps a "secret" basket of items based on which the inflation is calculated. It's clear that at least some of those items are known to the stores, because they always cost less, to artificially keep the inflation down. This could work, as long as the stores don't drop the ball on the quality.

  2. Buy local? The thing is that while a supermarket chain has a team of people trying to get people to buy more stuff, the humble farmer selling stuff on the local vegetable market does not.

The same goes for clothes, as I could get bring my own materials and get some made by a local tailor, rather than buying off-the-rack chinesium from Zara. And look a little more old school wearing it. Though a tailor is a different level of service.

My local fancy soap shop is several times more expensive than just buying generic tallow bar soap. Sure it's made by local workers within my city, but that's part of the value, hence the price hike.

[-] [email protected] 49 points 2 months ago

Smart like an American?

view more: next ›

BenchpressMuyDebil

joined 3 months ago