+ Reply to Thread
Results 1 to 18 of 18

Thread: 65534 Unread Private Messages?

Hybrid View

  1. #1
    Damn it folks -- Not a Fag!
    Join Date
    Jul 2001
    Location
    San Diego, CA
    Posts
    10,429

    65534 Unread Private Messages?

    Nevermind! have a good day.

  2. #2

    Re: 65534 Unread Private Messages?

    Quote Originally Posted by BronxBaumer
    Nevermind! have a good day.
    What?

  3. #3

    Re: 65534 Unread Private Messages?

    Isn't that like one short of a full Excel spreadsheet?

  4. #4

    Re: 65534 Unread Private Messages?

    Well, that's the answer but it isn't the whole answer. The conventional NFS anonymous/nobody UID is actually -2 --- but's that's 65534.

    65534 is the twos-complement of -2 expressed as a 16-bit number. To represent negative numbers, you first make the ones-complement (flip even bit in the value expressed as a postitive number). You then add 1 to this value to get the twos-complement.

    In our case we want -2 so we first express 2 as a binary 16-bit number.

    0000000000000010 = 2
    Now the ones-complement (flip every bit)
    1111111111111101
    Now the twos-complement by adding 1
    1111111111111110 = 65534
    If I had 3 wishes... One of my wishes would be to make a select few of you Pirates Fans.

  5. #5
    If yer not first, yer last!!!! Bozidar's Avatar
    Join Date
    Jul 2001
    Posts
    36,872

    Re: 65534 Unread Private Messages?

    in English:

    When a computer stores a number in a 32bit part of memory it can go as high as 65534 (and as low as about -65534).

    anything higher than that and you have to store it in a bigger part of memory..
    Quote Originally Posted by JDPNYY

  6. #6

    Re: 65534 Unread Private Messages?

    Quote Originally Posted by Bozidar
    in English:

    When a computer stores a number in a 32bit part of memory it can go as high as 65534 (and as low as about -65534).

    anything higher than that and you have to store it in a bigger part of memory..
    Nicely done Boz. I forgot most people aren't as smart as I am.
    If I had 3 wishes... One of my wishes would be to make a select few of you Pirates Fans.

  7. #7
    If yer not first, yer last!!!! Bozidar's Avatar
    Join Date
    Jul 2001
    Posts
    36,872

    Re: 65534 Unread Private Messages?

    Quote Originally Posted by JDPNYY
    Nicely done Boz. I forgot most people aren't as smart as I am.
    I'm shocked you could ever forget that.
    Quote Originally Posted by JDPNYY

  8. #8

    Re: 65534 Unread Private Messages?

    Quote Originally Posted by Bozidar
    in English:

    When a computer stores a number in a 32bit part of memory it can go as high as 65534 (and as low as about -65534).

    anything higher than that and you have to store it in a bigger part of memory..
    I'm not a programmer, but that even makes sense to this layperson. Thanks.

    Now can you guys get our database folks at work to allow downloading from Business Objects into CSV files...I'm doing a fairly complex market analysis with limited tools and the damn 65K+change Excel spreadsheet limit is making me nuts.

  9. #9
    If yer not first, yer last!!!! Bozidar's Avatar
    Join Date
    Jul 2001
    Posts
    36,872

    Re: 65534 Unread Private Messages?

    Quote Originally Posted by Miss Yvonne
    I'm not a programmer, but that even makes sense to this layperson. Thanks.

    Now can you guys get our database folks at work to allow downloading from Business Objects into CSV files...I'm doing a fairly complex market analysis with limited tools and the damn 65K+change Excel spreadsheet limit is making me nuts.
    I know you're gone.. but if you should read this -- import it into MS Access.
    Quote Originally Posted by JDPNYY

  10. #10

    Re: 65534 Unread Private Messages?

    Quote Originally Posted by Bozidar
    in English:

    When a computer stores a number in a 32bit part of memory it can go as high as 65534 (and as low as about -65534).

    anything higher than that and you have to store it in a bigger part of memory..
    This is not accurate. It only takes 17 bits (not 32) to represent a range from -65536 (0x10000) to +65535 (0x0ffff) where bit 16 (the 17th bit) is the sign bit. To represent these numbers in 32 bits, -65536 would be 0xffff0000 and +65535 would be 0x0000ffff where bit 31 (the 32nd bit) is the sign bit. As you can see, the range that may be represented is considerably larger if using 32 bits. This range is -2,147,483,648 (0x800000000) to +2,147,483,647 (0x7ffffffff).
    I can't complain but sometimes I still do. - Joe Walsh

  11. #11
    If yer not first, yer last!!!! Bozidar's Avatar
    Join Date
    Jul 2001
    Posts
    36,872

    Re: 65534 Unread Private Messages?

    Quote Originally Posted by Ram Man
    This is not accurate. It only takes 17 bits (not 32) to represent a range from -65536 (0x10000) to +65535 (0x0ffff) where bit 16 (the 17th bit) is the sign bit. To represent these numbers in 32 bits, -65536 would be 0xffff0000 and +65535 would be 0x0000ffff where bit 31 (the 32nd bit) is the sign bit. As you can see, the range that may be represented is considerably larger if using 32 bits. This range is -2,147,483,648 (0x800000000) to +2,147,483,647 (0x7ffffffff).
    I sit corrected.
    Quote Originally Posted by JDPNYY

  12. #12
    One for the thumb. Soriambi's Avatar
    Join Date
    Oct 2002
    Location
    New Jersey
    Posts
    22,077

    Re: 65534 Unread Private Messages?

    Quote Originally Posted by JDPNYY
    Well, that's the answer but it isn't the whole answer. The conventional NFS anonymous/nobody UID is actually -2 --- but's that's 65534.

    65534 is the twos-complement of -2 expressed as a 16-bit number. To represent negative numbers, you first make the ones-complement (flip even bit in the value expressed as a postitive number). You then add 1 to this value to get the twos-complement.

    In our case we want -2 so we first express 2 as a binary 16-bit number.

    0000000000000010 = 2
    Now the ones-complement (flip every bit)
    1111111111111101
    Now the twos-complement by adding 1
    1111111111111110 = 65534
    Can't believe he didn't know that.
    "My point is you can't compare things with statistics." -Joe Morgan

    "I've always felt that starting pitching is the most important part of the rotation." -Joe Morgan


    Kevin: New York Squeaks

  13. #13

    Re: 65534 Unread Private Messages?

    Ah, I didn't even notice the number before the question.

  14. #14
    Hoping for better days ahead.. allybear's Avatar
    Join Date
    Jan 2000
    Location
    Home is where the heart is
    Posts
    16,420

    Re: 65534 Unread Private Messages?

    And I was just gonna say he's very popular!

    To be sane is more dramatic than to be mad - GK Chesterton, Orthodoxy

  15. #15
    Leprosy: the silent killer SalingerNY's Avatar
    Join Date
    Nov 2006
    Posts
    16,057

    Re: 65534 Unread Private Messages?

    Damn, Scotty's got a lot more PMs coming his way.

  16. #16
    NYYF Legend

    #1PaFan's Avatar
    Join Date
    Feb 2000
    Location
    PA
    Posts
    30,723

    Re: 65534 Unread Private Messages?

    Quote Originally Posted by SalingerNY
    Damn, Scotty's got a lot more PMs coming his way.
    Let's get him some Midol.
    ....

  17. #17
    Not Trying To Do Too Much delv's Avatar
    Join Date
    Dec 2008
    Location
    dʌ bɹaŋks!
    Posts
    5,650

    Re: 65534 Unread Private Messages?

    This is still not as good as the Shakespeare thread.
    "First batter up well here's the pitch: it's a curve. Second batter up because the first got served"

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts