BenchpressMuyDebil

joined 4 months ago
[–] [email protected] 4 points 1 day 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)

[–] [email protected] 1 points 6 days ago (1 children)

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

[–] [email protected] 5 points 6 days ago* (last edited 6 days ago) (5 children)

Apart from what everyone already posted:

  • Boring RSS - displays an rss icon in address bar with the rss feeds from the current page's head tag - the cool thing is that unlike other addons like this, this one has only the activeTab permission, rather than "access your data for all sites" - https://addons.mozilla.org/pl/firefox/addon/boring-rss

[–] [email protected] 27 points 6 days ago* (last edited 6 days ago)

Remote work is a lie made up by big white collar to sell less jeans for mining

[–] [email protected] 2 points 1 week ago (1 children)

And also set-up SSO/LDAP in your homelab if you run one so you don't have 3000 loose outdated account entries for IPs like 192.168.10.5 user: admin password:*****

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago)

UPDATE: Turned out that the culprit of the downtime was my switch - the D-Link DGS-1210-10P rev. B1.

The way the management web interface of the switch works is pretty unintuitive. Namely, if you change some settings in the web interface and hit save in one of the sections, the settings are saved in the volatile memory of the switch. This basically means that the settings are only saved in RAM, which is cleared on power loss. To save the settings into non-volatile memory which persists on reboots, you need to find the "Save" section at the top of the UI. This is described here: https://networkengineering.stackexchange.com/questions/20158/dlink-switch-loses-configuration-on-power-off

So basically, my problem was that the settings weren't commied to nonvolatile memory and on a short 1 minute power loss the switch restarted.

I got an UPS anyway now, SMT750RMI2U

[–] [email protected] 4 points 1 week ago* (last edited 1 week ago) (1 children)

As for backup, you can also buy a e.g. Lenovo M920q minipc, buy a pci-e riser, buy a dual port ethernet card, set up Proxmox, set up an pfSense (or OpenWRT, or OPNsense) VM inside, pass-through the ethernet card directly to the VM. The VM is very backupable, since you just copy the VM state and save it somewhere. This would only work for the router though, since the AP's that'd be running OpenWRT wouldn't be VMs. This is at the cost of having to deal with an additional layer for the VMs.

I guess the problem you're asking about in regards in regards to cross-device portability of a backed up config is valid. If you had a four ETH port router, backed up the config, and then uploaded it on a two ETH port router, you'd run into trouble, but I have no experience here.

You can also install OpenWrt on some switches these days (PoE also reportedly works with realtek-poe module):

That way you'd have a fully open OpenWRT-only network lab, so you'd always be working with the same system.

[–] [email protected] 2 points 1 week ago

It's not exactly those dimensions, but check out Osprey Daylite Tote Pack. I read some airline summary and the OP said it fits every single one, even the more restrictive ones

[–] [email protected] 20 points 1 week ago (5 children)

This comic strip will keep on giving, you can keep remaking it every 20 years

[–] [email protected] 6 points 1 week ago (1 children)

you're doing your part in keeping the federation healthy and decentralized o7

[–] [email protected] 8 points 2 weeks ago (1 children)

My god does anybody else downvote an article if it's blatant clickbait? How does it have 520 score? You were supposed to be better than r**dit remember?

[–] [email protected] 2 points 2 weeks ago

This is true. I spent 4 months abroad recently and on the 4 month mark I started getting text messages from my operator saying "In the last 4 months you spent more time abroad than in your home country. If your usage doesn't change, we will begin billing you X.Y/GB"

 

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?

20
submitted 3 months ago* (last edited 3 months 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.

 

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))
 

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.

19
submitted 4 months ago* (last edited 4 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.

view more: next ›