user224

joined 2 years ago
[–] user224@lemmy.sdf.org 10 points 1 hour 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.

127
Vim Diesel (i.imgur.com)
submitted 1 day ago* (last edited 1 day ago) by user224@lemmy.sdf.org to c/lemmyshitpost@lemmy.world
 

Catbox appears broken, so Imgur again.

[–] user224@lemmy.sdf.org 5 points 3 days ago* (last edited 3 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@lemmy.sdf.org 6 points 3 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@lemmy.sdf.org 14 points 3 days ago

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

[–] user224@lemmy.sdf.org 1 points 5 days ago* (last edited 5 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@lemmy.sdf.org 4 points 5 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@lemmy.sdf.org 3 points 5 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@lemmy.sdf.org 17 points 5 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.

[–] user224@lemmy.sdf.org 15 points 6 days ago

As a student, most things are more interesting than studying.

[–] user224@lemmy.sdf.org 4 points 6 days ago

They really do just look like a cartel: https://youtu.be/EG7bqoDJ9L4

[–] user224@lemmy.sdf.org 1 points 6 days ago

Except that

  1. The driver disc from archive.org still works just fine
  2. I do use Linux, and it "just works" there, except for high DPI

So if I want to use high DPI, I need Windows in VirtualBox.
By the way, the high DPI mode takes 20 minutes to print one A4 page. But the result is really damn sharp, almost like a laser printer.

[–] user224@lemmy.sdf.org 4 points 1 week ago

My father put a large sticker of clearly AI gen animal on the water tank (likely from Temu), so yep, accurate.

 

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.

 

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.

411
Stop doing DNS (167.160.186.15)
submitted 1 month ago* (last edited 1 month ago) by user224@lemmy.sdf.org 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.

 
 

According to the prosecution, Glukhikh searched for pictures of Azov insignia on Google while he was on the bus on the morning of 24 September, though how the security forces had been made aware of the search was not disclosed.

The case materials include an image of Glukhikh’s phone lying on the table, clearly displaying the search query he is accused of making.

Bruh...

 
 

Top image source: https://www.reddit.com/r/homelab/comments/9ol79n/are_we_doing_blurry_server_cats_now/

Seen on Cisco Catalyst 3560G during pirated software update (just for playing around, not production use).
The checksums were verified against Cisco download center.

view more: next ›