1. 28
  1.  

  2. 7

    Zero is a default state, use a 128 bit int initialized to 0, parse the left side and right side of ::, applying the results to the int with a logical and at the right bit offset, which you get by parsing from extremities, and it shouldn’t cause issues?

    :: is actually a very elegant way to shorten these extremely long addresses, in my opinion.

    1. 2

      I stumbled into some of these alternate IP address representations a few months back while writing some unit tests for code that used Python’s netaddr library.

      >>> import netaddr
      >>> netaddr.IPAddress('0xcafebabe')
      IPAddress('202.254.186.190')
      >>> 
      

      That’s pretty wild.

      1. 1

        A fun article but it honestly doesn’t sound that bad, a lot of the stuff with IP addressing kind of makes sense (could be some kind of dunning kruger effect, though).

        1. 1

          How is there not a single, canonical standard for this?