ricdeh

joined 2 years ago
[–] ricdeh@lemmy.world 5 points 1 hour ago (2 children)

Isn't that common knowledge? I don't think that anyone seriously believes that splitting a single atom causes an explosion.

[–] ricdeh@lemmy.world 0 points 1 week ago

I see Bowser doing a Hitler salute. Very interesting tho that so many people associate Nintendo characters with these clouds. Probably due to their unique art style.

[–] ricdeh@lemmy.world 7 points 4 weeks ago (1 children)

The Swiss might be a bad example. They are easily the craziest, most nationalistic people in Europe. I've dealt a lot with Swiss from all kinds of backgrounds over several years, and with foreigners living and working in Switzerland, and I can confidently say that I have never experienced anything comparable to how normal and ingrained xenophobia and an endless vicious hate for foreigners are in Swiss culture. The average Swiss seems to despise foreigners (who make about 50% of the workforce, btw) and views themselves and their country as superior to anything that might exist in the universe. This is not only a rural problem, it is common in several cities as well, perhaps most prominently in Lucerne. Their xenophobia has also been institutionalised with the Swiss police of several cantons enjoying the harassment of foreigners as their favourite pastime.

[–] ricdeh@lemmy.world 2 points 4 weeks ago

Go outside and get a life. How can you be so miserable.

[–] ricdeh@lemmy.world 10 points 4 weeks ago (1 children)

God forbid that people have opinions... Life could be fun, but we don't want that! Seriously, your only reason for existence on social media seems to make other people's day worse. That is miserable.

[–] ricdeh@lemmy.world 5 points 4 weeks ago (1 children)

No it doesn't, that's your paranoia and your own preconceptions speaking.

[–] ricdeh@lemmy.world 8 points 4 weeks ago (2 children)

That is impossible. Odo is not in TNG.

[–] ricdeh@lemmy.world 4 points 1 month ago (1 children)

You have to enable DRM in Firefox, then it will work. But Disney only allows low resolution streams over browsers.

[–] ricdeh@lemmy.world 39 points 1 month ago (4 children)

This is literally not a problem with smartphones, the problem is about the software you decide to run on it. A smartphone is simply a very powerful pocket computer.

[–] ricdeh@lemmy.world 0 points 1 month ago

From my experience, the inverse is true. The only truly poor people I've met were very rude.

[–] ricdeh@lemmy.world 2 points 1 month ago (1 children)

More like, you only care about yes-men

 

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?

 

"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."

view more: next ›