• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

test please delete

4.06 star(s)
I once took two girls back to their flat for a threesome. decided we should all have a bath together first.
Picked one naked lovely up and lowered her into the bath, back went, severe pain, had to hobble home without nooky and in severe pain
Now that is suffering

:rollin: :rollin: :rollin: :rollin:
 
"Here's the science..."

32767 is the exact value of 32k.

From a sad, techie perspective that makes it an interesting number.

32768 is 32k + 1 which on some systems would cause a buffer overflow error.

32767 is the maximum length of a character string in an Oracle database, so one more than that would cause it to error.

That was what happened to the PM's "public forum" on the Number 10 website a few years ago. They'd got some numpty in to write a DLL in Visual Basic which handled the data storage, and (s)he used a signed int (which is 16 bits twos-complement in VB) for the post count.

When post 32768 came along, it rolled over to -32768, because it was signed. Even better, the system then said "Oh, look, all these posts have numbers greater than the current post count; they must be garbage data", and deleted the lot :D

Cue one empty "public forum" :yay:
 
Last edited: 11:06
Back
Top