ricdeh

joined 2 years ago
[–] ricdeh 6 points 1 day ago

Had to experience that first hand. I tried to get my best friends to register on my Matrix server last September and join a room for our group, and they did, but I rarely see any of them online and I only get responses days later, if at all. One even stopped using it entirely, lol. Ah well, but at least I got a Matrix server out of that that I can use to federate with other like-minded people.

[–] ricdeh 2 points 2 days ago (2 children)

It is a smart watch. Why do you want to waste bleeding-edge processors on it when older designs do perfectly well? Certainly more sustainable.

[–] ricdeh 3 points 2 days ago

Tomorrow it'll probably be something else, but today I'd say Foundation (Isaac Asimov). Such a good classic of science fiction.

[–] ricdeh 3 points 3 days ago

I use a Samsung Galaxy Book3 360 for uni. Very lightweight, high-quality unibody metal chassis, great battery, great display, great touchscreen, it has a pen digitiser allowing you to (hand)write with palm rejection. And all of its features are supported OOTB by the latest Linux kernels with no further configuration required. You can put your distro of choice on there and then install the DE that you like the most. I use the latest KDE Plasma due to its amazing touch support, but it looks very desktop-ey, of course, so not the best candidate for you. Maybe putting something like GNOME (or KDE Plasma Mobile?) on there would make sense for you.

But if you need specific Android apps for what you are doing, this is not a real option. Yes, there are things like Waydroid, but I would expect that to be too much of a hassle for regular use.

[–] ricdeh 1 points 6 days ago

Omg this looks so good, sadly the food in German ICEs is not this colourful :(

[–] ricdeh 6 points 1 week ago (2 children)

Pretty sure that this commenter makes use of a lot of irony. See their post history.

[–] ricdeh 14 points 1 week ago

All of this is confusing af

[–] ricdeh 23 points 1 week ago (5 children)

At least in Germany, at a lot of Rewes (supermarket chain), this is absolutely a thing and very common. You can place the handheld barcode scanners in a specialised holder on the cart handle and then scan as you go, and neatly package all your stuff before going to the checkout and paying at a terminal. If even Germany has got this by now, then every other country on the planet surely does too lol.

[–] ricdeh 8 points 1 week ago

Does "European-built" mean a strict "manufactured in the EU" or do European brands in general count? In the latter case, Philips would obviously come to mind, co-inventors of the CD. They made quite high-quality CD players as far as I know. But I don't know where they were produced.

[–] ricdeh 5 points 1 week ago (1 children)

Can you not just run the curl or wget without piping it into bash, first? This way you could inspect what the script wants to do.

30
submitted 6 months ago* (last edited 6 months ago) by ricdeh to c/nostupidquestions
 

So I understand that the subnet mask provides information about the length of the routing prefix (NID). It can be applied to a given IP address to extract the most significant bits allocated for the routing prefix and "zero out" the host identifier.

But why do we need the bitwise AND for that, specifically? I understand the idea, but would it not be easier to only parse the IP address ~~string~~ sequence of bits only for the first n bits and then disregard the remainder (the host identifier)? Because the information necessary for that is already available from the subnet mask WITHOUT the bitwise AND, e.g., with 255.255.255.0 or 1111 1111.1111 1111.1111 1111.0000 0000, you count the amount of 1s, which in this case is 24 and corresponds to that appendix in the CIDR notation. At this point, you already know that you only need to consider those first 24 bits from the IP address, making the subsequent bitwise AND redundant.

In the case of 192.168.2.150/24, for example, with subnet mask 255.255.255.0, you would get 192.168.2.0 (1100 0000.1010 1000.0000 0010.0000 0000) as the routing prefix or network identifier when represented as the first address of the network, however, the last eight bits are redundant, making the NID effectively only 192.168.2.

Now let's imagine an example where we create two subnets for the 192.168.2.0 network by taking one bit from the host identifier and appending it to the routing prefix. The corresponding subnet mask for these two subnets is 255.255.255.128, as we now have 25 bits making up the NID and 7 bits constituting the HID. So host A from subnet 192.168.2.5/25 (HID 5, final octet 0000 0101) now wants to send a request to 192.168.2.133/25 (HID 5, final octet 1000 0101). In order to identify the network to route to, the router needs the NID for the destination, and it gets that by either discarding the 7 least significant bits or by zeroing them out with a bitwise AND operation. Now, my point is, for identifying the network of which the destination host is part of (in this case, the host is B), the bitwise AND is redundant, is it not?

So why doesn't the router just store the NID with only the bits that are strictly required? Is it because the routing table entries are always of a fixed size of 32 bits for IPv4? Or is it because the bitwise AND operation is more efficiently computable?

 

A signal handler race condition was found in OpenSSH's server (sshd), where a client does not authenticate within LoginGraceTime seconds (120 by default, 600 in old OpenSSH versions), then sshd's SIGALRM handler is called asynchronously. However, this signal handler calls various functions that are not async-signal-safe, for example, syslog().

 

I recently wanted to buy a product from a manufacturer and luckily they offered PayPal as a payment method. However, after I signed into my PayPal account, it wouldn't show my bank account as a payment option and instead prompted me to add a card or bank account, despite my account being fully confirmed and direct debit activated. PayPal customer service reps told me that maybe the retailer blocked direct debit through PayPal and I should try adding a credit card, however, why would they do that if they offer non-PayPal direct debit anyway? The customer service reps further told me that my account was in good standing, so there shouldn't be any problems with trust etc. Have you ever encountered an online shop that refused direct debit when handled by PayPal?

16
submitted 10 months ago by ricdeh to c/linux
 

Do you think it will be possible to run GNU/Linux operating systems on Microsoft's brand new "Copilot+ PCs"? The latter ones were unveiled just yesterday, and honestly, the sales pitch is quite impressive! A Verge article on them: Link

 

"While developers start work on building Vision Pro apps, the potential for people upgrading to the iPhone 15 this year is a big reason for investor optimism."

 

"The IARC will reportedly classify aspartame as a possible carcinogen. But this isn’t a food safety agency, and the context matters."

view more: next ›