Live data from Hacker News

Nickb 20k

news.ycombinator.com

11–20 of 32 posts

Re: Nickb 20k

#14
post #4

Next milestone: 32,768?

Yeah, but then you fall off the leader board, because your score is -1. :P

Chuckle I had originally posted 32,767; but I figured getting to 32768 should really be the milestone.

Re: Nickb 20k

#19

Earlier quoted context omitted.

Yeah, but then you fall off the leader board, because your score is -1. :P

I think you mean -32768.

If it rolls over due to 2s complement then it'll be -32768.

What the -1 comment is refering to is a casting problem. Or int into byte, etc. Versus unsigned to signed.

Re: Nickb 20k

#20
post #19

Earlier quoted context omitted.

I think you mean -32768.

If it rolls over due to 2s complement then it'll be -32768. What the -1 comment is refering to is a casting problem. Or int into byte, etc. Versus unsigned to signed.

Oh, duh. Brainfart. -1 would be 11111111 not 10000000.

While I doubt that HN's scoring would suffer from signedness bugs, if it did, getting your score down/up to -1 would be the ultimate. It would be an interesting easter egg to build into the system, tho :)

Post reply on HN