• Profile picture of vuice

    vuicesubscriberocciferuc-winner-lvl1featured-lvl1 2022-10-25 19:13:01 UTC

    im trying to read vince’s documentation on the nodes format, and i keep seeing things like “[32-bit signed int big endian]” , or “8-bit signed byte” .
    No idea what these things mean, other than “int” and “float”.

    I’ve only heard what “signed” is from minecraft videos talking about the integer limit lmao all documentation i can find on “big endian” and “little endian” is so out of my skill level help im going to die

    3
    • ok i finally think i figured it out

      a “32-bit signed int big endian” means you have to represent the number using 32 bits max, and the first bit of that must represent a negative or positive (i dont know which is which, probably 0 = negative and 1 = positive but who knows)

      2022-10-25 19:50:04 UTC 2
      • Replying to: vuiceok i finally think i figured it out a "32-bit signed int b

        i was wrong, 1 = negative and 0 = positive

        2022-10-25 20:34:01 UTC 1
        • Replying to: vuicei was wrong, 1 = negative and 0 = positive

          But why dahell did ralf make the version number signed, the version number isnt gonna go into the negatives lmao

          2022-10-25 20:44:16 UTC 1
          • Replying to: vuiceBut why dahell did ralf make the version number signed, the

            i have successfully done it
            the sticknodes version number in 32-bit signed int big endian is 01111111 00101011 00000000 00000000

            and in hex that is 7F 2B 00 00
            i am a god

            so why doesnt that match up to what i see in my test figure

            2022-10-25 21:03:01 UTC 1
    • one thing i never quite grasped the concept of is wtf big vs little endian is

      i should figure that out one day

      2022-10-25 22:29:14 UTC 1
      • Replying to: Ralph (Developer)one thing i never quite grasped the concept of is wtf big vs

        i think big endian means that what the bit is multiplied by starts as 256 and slowly works down till the lowest power of two (1), and it’s pretty popular because us humans read left to right

        and little endian is the exact opposite, starting with 256 and ending with 1
        I’m also pretty sure little endian is a tiny bit faster so it’s the norm for a few systems

        2022-10-25 22:44:13 UTC 1