sorted by: new top controversial old
[-] ricdeh@lemmy.world 3 points 3 days ago

If immigration leads to more unemployment, then that is an economic problem, especially in the hypothetical case where the social benefits system is getting more and more strained by an influx of unemployed people. But generally, I think that you can expect that the immigrants will soon find employment. Besides that, there's the cultural aspect that @jet@hackertalks.com mentioned. You could also make the point that the country's infrastructure is more and more stressed as the population grows, but that is fixable and potentially counteracted by the labour potential of the immigrants themselves (i.e., qualified immigrant work forces can make a large-scale infrastructure overhaul possible that will lead to greater national capacities and a net benefit for the entire population).

Aside from these things, I would argue that most of the other reasons boil down to xenophobia or racism.

[-] ricdeh@lemmy.world 4 points 5 days ago

Hmmm I love Rogue, it's such an emotional journey and to me the most compelling and interesting story-wise, seeing an Assassin turn into a Templar and underlining the hubris of the Order of Assassins

[-] ricdeh@lemmy.world 12 points 5 days ago

Yep, gun culture is really big in Switzerland

[-] ricdeh@lemmy.world 25 points 6 days ago

Unix is literally the most important operating system (specification) family on the planet. Even bigger than M$ Windows. You've got all the Android phones, all the Apple iPhones, macOS, FreeBSD and all the GNU/Linux distributions. Unix-like installed base is by far the largest of any on the planet.

[-] ricdeh@lemmy.world 40 points 6 days ago* (last edited 6 days ago)

Yep. They tried desperately to build up an IT economy and for that wanted to appease all the tech companies.

[-] ricdeh@lemmy.world 2 points 1 week ago

But that is not the comparison they drew, and you know that.

[-] ricdeh@lemmy.world 5 points 1 week ago

Dumbed down hardware? No, the hardware of smartphones is very impressive. It is the software that is dumbed down in the sense that it takes control away from the user or operator.

[-] ricdeh@lemmy.world 6 points 1 week ago

How did any generation not grow up with the technology as it evolved? Gen X did not invent computers, nor did the Boomers, but every generation made valuable contributions, just as Gen Z will. Again, it is the actions and ideas of gifted individuals that count.

[-] ricdeh@lemmy.world 10 points 1 week ago

Not a very enlightened take. As @nednobbins@lemm.ee correctly put it, tech savviness is the property of an individual and not of a generation. There are non-savvy Zoomers, just as there are non-savvy people from your generation.

[-] ricdeh@lemmy.world 10 points 1 week ago

It's nostupidquestions after all :( I am not saying that anyone ever did anything worse, my question is aiming at the answer for why the current approach is the way that it is, on a technical level.

[-] ricdeh@lemmy.world 2 points 1 week ago

Yep, I agree. Though one could make a hypothetical argument for expanding the array dynamically when needed. Of course, due to the varying sizes of NIDs resulting from CIDR (which you correctly mentioned), you would need to have a second array that can store the length of each NID, with 5 bits per element, leaving you with 3 bits "saved" per IP address.

That can end up wasting more memory than the 32-bit per NID approach, e.g., when the host identifier is smaller than 5 bits. And there's the slowness of memory allocation and copying from one array to another that comes on-top of that.

I think that it is theoretically possible to deploy a NID-extracting and tracking program that is a tiny bit more memory efficient than the 32-bit implementation, but would probably come at a performance overhead and depend on you knowing the range of your expected IP addresses really well. So, not useful at all, lol

Anyway, thanks for your contributions.

[-] ricdeh@lemmy.world 5 points 1 week ago

Though I would like to clarify that maybe my wording was a bit confusing. By "string of bits", I did not mean the term as it is typically used in programming language environments, but rather a raw binary sequence, e.g., the first 24 bits of an IP address, therefore allocating 3 bytes of memory for storing the NID.

30
submitted 1 week ago* (last edited 1 week ago) by ricdeh@lemmy.world to c/nostupidquestions@lemmy.world

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?

1

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

0
submitted 1 year ago by ricdeh@lemmy.world to c/world@lemmy.world

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

ricdeh

joined 1 year ago