user224

joined 2 years ago
[–] user224 4 points 20 hours ago (1 children)

I am still triple checking when I see /dev/sda as a target drive in such utilities. I use NVMe, so nowadays that's probably a flash drive for me, but it still gives me adrenaline when I notice it.

[–] user224 12 points 20 hours ago (1 children)

I don't know if it should be a bad thing. Inside the tar archive the configs were already organized into their respective dirctories, this way with --preserve-permissions --overwrite I could just quickly add the desired versions of configs.
Some examples of contents:

-rw-r--r-- root/root      2201 2026-02-18 08:08 etc/pam.d/sshd
-rw-r--r-- root/root       399 2026-02-17 23:22 etc/pam.d/sudo
-rw-r--r-- root/root      2208 2026-02-18 09:13 etc/sysctl.conf
drwx------ user/user         0 2026-02-17 23:28 home/user/.ssh/
-rw------- user/user       205 2026-02-17 23:29 home/user/.ssh/authorized_keys
drwxrwxr-x user/user         0 2026-02-18 16:30 home/user/.vnc/
-rw-rw-r-- user/user        85 2026-02-18 15:32 home/user/.vnc/tigervnc.conf
-rw-r--r-- root/root      3553 2026-02-18 08:04 etc/ssh/sshd_config

Keeps permissions, keeps ownership, puts things where they belong (or copies from where they were), and you end up with a single file that can be stored on whatever filesystem.

[–] user224 13 points 1 day ago (1 children)
 

I accidentally untarred archive intended to be extracted in root directory, which among others included some files for /etc directory.
I went on to rm -rv ~/etc, but I quickly typed rm -rv /etc instead, and hit enter, while using a root account.

 

Edit 3: Tested with wg-quick on Arch, same issue re-occurs. So, let's say we have a peer on 192.168.1.1/24 with internal (wireguard) IP of 10.0.0.1/24, but we also want to route through it to rest of 192.168.1.0/24.
Instead of nice AllowedIPs = 10.0.0.0/24,192.168.1.0/24, it would have to be:
AllowedIPs = 10.0.0.0/24, 192.168.1.1/32, 192.168.1.2/31, 192.168.1.4/30, 192.168.1.8/29, 192.168.1.16/28, 192.168.1.32/27, 192.168.1.64/26, 192.168.1.128/25
Or there's something else going wrong. I only tried on Arch. Welp, as I said, it's not a thing that occurs with WG Tunnel on Android.

Edit 2: Hypothesis confirmed. Excluding the endpoint from AllowedIPs in NetworkManager solves the issue. However, this isn't a problem with 0.0.0.0/0, nor with WG Tunnel app on Android. I'll have to check with wg-quick. That seems most official.
Summary: NetworkManager tries to route traffic to WG peer over the same WG interface, and its /32 has to be excluded.

Edit: I noticed one thing, I'll try excluding the peer endpoint from AllowedIPs. It seems weird if it tries to connect to it over the interface between the 2 peers, which is of course impossible, but maybe? However, it is not matched by 0.0.0.0/0. Welp, time to experiment.

So, for 2 years I thought that NetworkManager Wireguard implementation is simply broken.
When I used a list of address ranges, like I should be (and am) able to do with Wireguard, I couldn't get any traffic through, however 0.0.0.0/0,::/0 would work.

Today I discovered something... interesting. It actually works... with a smaller list of AllowedIPs. Although even a larger list still ends up being shown by ip r.
So I went to AllowedIPs calculator as usual, created a desired list, pasted it in, and started removing IP ranges until I could ping a remote peer.

Problem solved? Well, no. I hoped it would be the limitation in number of routes, but it (also) seems to depend on route size.

Examples:
This is too much:
0.0.0.0/5,8.0.0.0/7,11.0.0.0/8,12.0.0.0/6,16.0.0.0/4,32.0.0.0/3,64.0.0.0/2,128.0.0.0/3,160.0.0.0/5,168.0.0.0/6,172.0.0.0/12,172.32.0.0/11,172.64.0.0/10,172.128.0.0/9,10.147.0.0/24
Removing one of the routes, 172.128.0.0/9 makes it work.
0.0.0.0/5,8.0.0.0/7,11.0.0.0/8,12.0.0.0/6,16.0.0.0/4,32.0.0.0/3,64.0.0.0/2,128.0.0.0/3,160.0.0.0/5,168.0.0.0/6,172.0.0.0/12,172.32.0.0/11,172.64.0.0/10,10.147.0.0/24

Time for mystery start. Keeping the same number of routes, but decreasing the size of one of them (second last) also makes it work:
0.0.0.0/5,8.0.0.0/7,11.0.0.0/8,12.0.0.0/6,16.0.0.0/4,32.0.0.0/3,64.0.0.0/2,128.0.0.0/3,160.0.0.0/5,168.0.0.0/6,172.0.0.0/12,172.32.0.0/11,172.64.0.0/10,172.128.0.0/10,10.147.0.0/24

Naturally, I tried breaking up 172.128.0.0/9 into 172.128.0.0/10 and 172.192.0.0/10, which breaks it again.

So, it seems to depend on both number and size of the routes. After all, larger ones alone worked.

130
Vim Diesel (i.imgur.com)
submitted 2 days ago* (last edited 2 days ago) by user224 to c/lemmyshitpost@lemmy.world
 

Catbox appears broken, so Imgur again.

[–] user224 5 points 4 days ago* (last edited 4 days ago)

Eh, the market will adapt.
I've been looking at components on AliExpress. Even now, there's lots of X99-based motherboards with LGA2011-3 sockets that can take both regular DDR4 (with some limitations) and ECC DDR4.
But the descriptions are quite hard to understand, and they are apparently quite picky about which RAM will work with them.

I could get a combo of one of those motherboards with 2 Intel Xeon E5-2680 V4 CPUs (2.4GHz, 3.3GHz turbo, 28 cores, 56 threads in total) (hey, a dual CPU motherboard) for €120. And it's got 8 RAM slots. So 32GB just with cheap 4GB sticks.

[–] user224 6 points 4 days ago

Hey, that's still quite a strong one.
On some platforms it would be "unalived with a pew pew", and I am not joking. I've seen that and similar be used in serious contexts.

[–] user224 16 points 4 days ago

I am an idiot. I am a fucking idiot. The dumbest human, with the least powerful braincell.

That is not Africa...

[–] user224 6 points 4 days ago

Did you mean kV? I don't know if 40kHz is high enough, but I know at some point it doesn't even shock anymore, just burns. Hence you can take a screwdriver in your hand, and get it close to high frequency Tesla coil / slayer exciter circuit (not that I know the difference) and have it flow through you no problem, just if you touch the spark directly it burns.

[–] user224 14 points 4 days ago

You've just upset a couple of adult Zootopia fans.

[–] user224 1 points 6 days ago* (last edited 6 days ago)

My last 3 phones are just kind of pain software wise.
Moto G5s Plus - the Android 8 update (latest official) made it a slow horrible mess with frequent crashes and high battery drain. PixelExperience 11 fixed that.
Poco X3 Pro - told not to update to MIUI 13 due to instability. Many bugs I had to learn to work around. Left and right microphones reversed in software. Extreme power saving that doesn't even spare alarms.
Ulefone Armor 24 - UI often crashes (Quickstep) including navigation. In some cases Android version updates don't show up. The legend has it they sometimes provide updates after you e-mail them, stored on the Google Drive. Those updates do a factory reset, because of course they do. Alarm also has a chance of being killed, but lower than with MIUI. Charging with fast charger kills USB communication until reboot.

I don't do updates anymore. Check the experiences online, and it's all just new bugs, often pretty serious ones. So, if it somewhat works, and it isn't absolutely clear that the next update would certainly fix something important, just keep it as-is.

TWRP could at least give me some peace of mind. I could just back up everything.

[–] user224 4 points 6 days ago

Self checkout, makes more sense. In some places you have to scan the ticket to open a gate so that you can leave.

[–] user224 3 points 6 days ago (1 children)

I can imagine it being nice for a tablet. They even have programs for calls and SMS if you have a cellular modem.

[–] user224 17 points 6 days ago (1 children)

Wait what? I still remembered it as a recent console...

I feel like my brain is stuck. When I think of most powerful GPU, my brain's muscle memory replies with 1080 Ti.

 

Just came up with my father again.
He blames me that mother forgot her phone's and Google password because I recommended against it being a word.
I mentioned encryption, "not necessary unless you're doing something illegal".
When mentioning lack of privacy with targeted advertisements, he said that he actually really likes them, because he bought a couple of things he wanted for years.

I don't really have good arguments.

 

Weird one, but there's always that feeling that it's my mistake. It's just too suspicious.

So the matter is one of those cheap game consoles you see on AliExpress. This one could do PS1 emulation as well, so sounds cool.

Welp, first a software issue. It wouldn't boot. I contacted the seller, he said it worked, and has been laying unused for 2 years, and that I can find guides on how to fix it myself.
OK, the software is booting from SD card and happens to be Linux based. In fact, it's just EmuELEC with "Kinhank" skin. Checking the hashes on there, I found SquashFS file to be corrupted. I tried Manjaro ARM unsuccessfully, and then went back to EmuELEC, also copying the required device tree blob image which happened to survive.

Software fixed. Mostly. I don't know if the ROMs are OK. By the way, there's also a random .exe with trash icon that gets 29 detections on VirusTotal.
But anyway, this would still fly with me.

Issue 2, the controllers don't work. Just some cheap ones with 2.4GHz dongles. I found others with same issue based on status LEDs, and the solutions are none. I tried them with my PC, I tried them with the original software just replacing the SquashFS, I tried in another room just in case it's RFI, I tried connecting one of the controllers to 3V PSU. Nothing.

So I once again wrote to the seller.
But now I feel bad. How the fuck does just everything break?

 

Domain names seem expensive in comparison. The cheaper VPS that I use for playing around is just $10.29/year.
I thought I'd get a domain name from RackNerd as well, but they're $24.95/year + I think $4.99 for privacy.

I've checked Namecheap, and that seemed great, until I found that renewal prices are often through the roof.

I don't really care about it being nice. For now, mostly I just want to use the VPS as image host for Lemmy, since Imgur and Catbox are both a bit problematic.
And without a domain name, the images only show as link posts in the default LemmyUI (though it seems to work elsewhere). Plus it makes migration impossible.

 

Yeah, they overlap since I did whole hour (120 30-second codes). I didn't know specific time, so it's 2 pages, 3 hours, 42 minutes and 30 seconds.

Credit goes to oathtool (and LibreOffice Write).
Font: Liberation Mono

 

People often find it odd when I say I don't play PC games, but it seems rather complicated (and also expensive) to me.

I mean, I enjoyed it back when I had friends with PS, but I never had to set up anything myself. Searching around it seems rather... overwhelming, and I don't know if it's actually the case.

  1. PC seems most versatile, and with the prices, I considered piracy, but I would need a separate computer for security. Hell, I wouldn't even trust the device firmware on it afterwards.
  2. So I considered maybe paying the amounts, but I went to check some games and lo and behold, kernel-level anti-cheat. Great, so pirated games might even have less malware in the end.
  3. Since I'd need a separate device anyway, how about getting a PlayStation. With a disc drive, I want to be able to go future proof and fully offline. Well, about that... apparently it needs to verify the disc drive online. For what? It's a BluRay drive, either it works or it doesn't. And then I heard another shitty thing, "most games are released almost unplayable and need updates right away". So they just release Alpha quality software on the most permanent medium???

So that just sounds like shitty experience no matter what. How is it actually? I'd expect consoles to be least buggy and fully future proof.
The only thing I ever had was a $4 NES bootleg console from AliExpress, Contra was glitched out and Battletank unplayable because they forgot the select button, but ok, $4.

414
Stop doing DNS (167.160.186.15)
submitted 1 month ago* (last edited 1 month ago) by user224 to c/programmer_humor@programming.dev
 

And it always causes issues.

Anyway, I hope the main joke got spotted too.
Let's Encrypt now does IP certs: https://letsencrypt.org/2026/01/15/6day-and-ip-general-availability

Certbot doesn't seem to be up to the task yet, but lego works.

But I'll probably change it to some image host later, because I have no idea what I am doing.

Why does it not work... It embeds when creating the post.

Seems fine too, it's HTTPS after all, should work.

OK, seems that it's just the default LemmyUI that doesn't like it, which is strange for the number of pict-rs requests in access.log.
Also by the number of 429, 5r/s is probably too low. Was. Anyway...
OR, that's why there is the burst option. Right.

248
No Christmas? (i.imgflip.com)
 

Do they have like, free time or something?

In high school it was also not rare that I'd say submit my homework at 02:30, get it graded at 03:00 and then we'd meet in a class on same day at 07:00.
Anyone getting sleep?

 
view more: next ›