ricdeh

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

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 5 days ago (3 children)

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.

[–] ricdeh@lemmy.world 10 points 5 days ago

Okay, that makes sense. Thank you.

[–] ricdeh@lemmy.world 23 points 5 days ago (1 children)

Whoa the disrespect. The way she threw away C++ haha

Also, the whole thing was next-level cringe

[–] ricdeh@lemmy.world 31 points 5 days ago

As many others have already said, Lemmy is fully indexable by search engines. In fact, in this very community there have been posts about Lemmy content being above other results from more prominent sites like Reddit for certain topics.

[–] ricdeh@lemmy.world 9 points 5 days ago

What? There is no "Fediverse objection" to indexing by search engines. Who told you that? Lemmy is actively being indexed and is showing up when you search for posts.

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

This must be irony. I cannot be certain because you doubled down on it

[–] ricdeh@lemmy.world 11 points 1 week ago (1 children)

Okay pal. Judging from your comment history, you seem to be a very belligerent person. Maybe it is time for reflection? Maybe it's not always the others that are stupid? Maybe it's not always you that has the "moral high ground"?

So take your pompous attitude and choke on it.

See how your blatant and baseless assumption falls apart? Idiot.

So sick of you Linux clowning fanboys parading your free advertising.

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

No, but through the existence of both options, you can get more plurality than by using one individual option.

[–] ricdeh@lemmy.world 13 points 1 week ago (3 children)

Radiation pressure does not have anything to do with mass-energy equivalence. 1), the energy for this process does not come from the conversion of electric energy into mass, and 2) having a momentum is not a property tied to massive particles. All electromagnetic waves carry momentum according to Maxwell's theory of electromagnetism, and its transfer is fully explained by his equations and results from the interaction of the EM wave with matter, i.e., absorption and reflection. Each such interaction will transfer momentum to the massive object. This is classical physics, you don't need any Einstein relativity to explain electromagnetic phenomena because his theories only become relevant for very massive bodies and their movement, and nuclear reactions.

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

Tbf, many humans would make the same mistake. But still funny nonetheless

view more: ‹ prev next ›