khaosworks: (Default)
khaosworks ([personal profile] khaosworks) wrote2008-04-30 11:53 am
Entry tags:

You have 2,147,483,645 unread messages

I don't know what caused this glitch that displays in the Mail application on my iPod Touch, but it's amusing nonetheless. I know spam kind of builds up, but this...



(and yes, my mailbox is empty)
mdlbear: blue fractal bear with text "since 2002" (Default)

[personal profile] mdlbear 2008-04-30 03:57 am (UTC)(link)
Looks like 231-1
mdlbear: blue fractal bear with text "since 2002" (Default)

[personal profile] mdlbear 2008-04-30 04:13 am (UTC)(link)
Largest number representable in 32 bits (the most common word size for a computer).

Something got confused.

[identity profile] khaosworks.livejournal.com 2008-04-30 04:16 am (UTC)(link)
Ah, okay. Learn something new every day!

(more like 2^31-3, actually, I think)
mdlbear: blue fractal bear with text "since 2002" (Default)

[personal profile] mdlbear 2008-04-30 04:36 am (UTC)(link)
OK, that's just plain weird.

[identity profile] pbristow.livejournal.com 2008-04-30 07:09 am (UTC)(link)
To me it suggests the counter got mis-set to zero while there were still some messages there, and then three emails got deleted. (And the arithmetic used has no range-checking. Idiots. =:o\ )

[identity profile] khaosworks.livejournal.com 2008-04-30 07:23 am (UTC)(link)
You're right, but it's two e-mails, since the full number is 2^31-1. Which I had just deleted prior to seeing this glitch.

You've Got (a billion) Mails

[identity profile] susanscookietin.livejournal.com 2008-04-30 07:51 am (UTC)(link)
Does that mean it's best to leave at least one mail in the inbox?

Re: You've Got (a billion) Mails

[identity profile] khaosworks.livejournal.com 2008-04-30 09:01 am (UTC)(link)
No, this has no effect on the way the mailbox works. It's just an interesting glitch.
hrrunka: Attentive icon by Narumi (sparks)

[personal profile] hrrunka 2008-04-30 11:01 am (UTC)(link)
I suspect signed/un-signed confusion as well...
mdlbear: blue fractal bear with text "since 2002" (Default)

[personal profile] mdlbear 2008-04-30 02:57 pm (UTC)(link)
Probably a race condition between threads; they forgot to lock the counter.

[identity profile] kampongchicken.livejournal.com 2008-04-30 08:52 am (UTC)(link)
Moiré! *falls down*

[identity profile] khaosworks.livejournal.com 2008-04-30 08:57 am (UTC)(link)
When two patterns entwine in a way serpentine
That's a moire...

[identity profile] autographedcat.livejournal.com 2008-04-30 11:30 am (UTC)(link)
2,147,483,645 is the new zero. That's how they plan on reducing the budget deficit.

[identity profile] nighthellcat.livejournal.com 2008-04-30 12:52 pm (UTC)(link)
LOL, nice.