- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Admin
Admin
Temporary Comment Rollback
Admin
The real WTF with the pears is that this may be the first time a contributor took a photograph after focussing and holding the camera steady. My 2010 is now complete and it's only January.
Admin
Admin
Clearly, the American store manager saw the joke while on holidays in England, but failed to see why it wasn't so amusing back home. It was £1/lb.
Admin
Addendum (2010-01-25 07:56): I could link to the youtube video, but it's in Dutch and not very good quality. Sufficient to say that our previous Prime Minister didn't have a clue what to do when instructed to "click a link" on national TV. Since then we seem to have this "ECDL" for public servants ;-)
Admin
Dollarpound was the unit of currency in the Red Dwarf universe
http://www.search.com/reference/Dollarpound
Admin
I'm pretty sure that was the point.
If it had been on computer output, then we've all seen that WTF before - but handwritten means that someone actually wrote that number without thinking it was possibly wrong somehow...
PS - store phone numbers, ZIP codes, SSNs etc etc etc as strings. Only store things as integers if you need to do maths or numeric ordering on them. If you don't need to do that, storing them as strings is much safer. Surely thats in 'Database Design for Dummys'
Admin
Ah yes, thank you. I knew it was something silly and British.
Admin
Admin
yes the dollar-pound is a rectangular rubber coin measuring √10 dollars along one side and √10 pounds along the other, thus having a surface area of 10 dollar-pounds
Admin
Admin
The phone number is probably written down from the screen of a crappy piece of software, which was never tested against maximum-length phone numbers.
The phone number clearly starts with the three-digit country prefix of Finland. Maybe the software worked fine with two-digit country prefixes.
Floating point for phone numbers is evil anyway. I guess the app was written in some BASIC dialect by someone who doesn't know how to use different data types.
Admin
Nitpickingly speaking, that's the seventh power of ten, not the 6th. But yeah, I did like your idea.
Admin
There is a mistake, but that's not it.
Admin
<3
Admin
Python code to decode the coded grade report
s='obnfHsbef' reduce(lambda str,d: str+d, (map(lambda c:chr(ord(c)-1),s))) Out: 'nameGrade'
Admin
Or the RIAA just came down on pear to pear transactions.
Admin
That would be 8675^(10^6), a 3938270 digit number. Must be a really long distance call.
Admin
Actually, it would be 8.675^(10^6). Now go recalculate the number of digits so you can redo your shitty joke.
Admin
The number of digits would remain the same, there'd just be a point after the 938270th one.
Must be a really long distance call to be dialed on a phone with an extra "point" key.
Content now? ;-)
Admin
Yep. Still not funny...or accurate. You must come from a magical land where 8^x and 8000^x grow at the same rate.
Admin
Not funny anymore, but as for accuracy: 8.675^(10^6) = (8675/1000)^(10^6) = 8675^(10^6)/10^3000000, so the result consists of the same 3938270 digits, with 938270 before and 3000000 after the decimal point. (Exercise to the reader: Show that there are no trailing zeros that would vanish after the point.)
But don't worry, I know many people who think slightly non-trivial maths is magic ...
Admin
I mistakingly thought you were talking about integral digits. Yes they both have the same number of significant digits. However the only ones that count are the first three.
Admin
TRWTF is that the phone number starts with 35805, in which the +358 is the country code for finland, and the 05 starts the "area code", which would be incorrect since the 0 should drop off when using country code (it should be +3585...)
Admin
The pears thing is pretty simple, they're a dollar a pound and they're part of a store wide mix and match 10 for 10 deal. So, if you buy pears, they're a dollar a pound and each pound you buy (rounded up or down, not clear) counts as one of the ten items