It is currently Fri Nov 22, 2024 3:49 pm

Ever had a $23 quadrillion charge?

For game and non-game related chatter, links, and other goodies, go here.

Ever had a $23 quadrillion charge?

Postby Zancarius » Wed Jul 15, 2009 7:10 pm

Some Visa card holders did:

http://www.cnn.com/2009/US/07/15/quadri ... index.html

The Slashdot summary has a write up on what may have caused this:

"Recently several Visa card holders were, um, overcharged for certain purchases, to the tune of $23,148,855,308,184,500.00 on a single charge. The company says it was due to a programming error, and that the problem has been corrected. What is interesting is that the amount charged actually reveals the type of programming error that caused the problem. 23,148,855,308,184,500.00 * 100 (I'm guessing this is how the number is actually stored) is 2314885530818450000. Convert 2314885530818450000 to hexadecimal, and you end up with 20 20 20 20 20 20 12 50. Most C/C++ programmers see the error now ... hex 20 is a space. So spaces were stuffed into a field where binary zero should have been."


Ironically, if they had trim()'d the data before processing it, this probably wouldn't have happened (or I'd imagine casting it to an int would've worked). This is why you often can't trust data to be what you think it is!

Edit edit: Forgot to hit "submit" after leaving the edited copy open for about a half hour.
I gave that lich a phylactery shard. Liches love phylactery shards.
User avatar
Zancarius
Site Admin
 
Posts: 3907
Joined: Wed Jul 05, 2006 3:06 pm
Location: New Mexico
Gender: Male

Postby Damorte » Wed Jul 15, 2009 10:15 pm

This was an awesome article, my favorite part was how he spent TWO HOURS on the phone with his bank trying to get it reversed and they referred him to Visa who referred him back to his bank both claiming the other was the one who needed to fix it. They also fought him on removing the overdraft fees! RIDICULOUS! That is 2000 times the national debt, those had better be some BADASS fucking smokes.
"All me got to be able to do is spell 'kill.' K-Y-Y-Y-L...."

Cause of accident: Lack of adhesive ducks.

Damiya - Sith Marauder
Damelle - Sith Sorcerer
Damienne - Mercenary
Devie - Sniper
User avatar
Damorte
Hired Goon
 
Posts: 237
Joined: Thu Apr 09, 2009 9:33 am
Location: Mesa, Arizona
Gender: Female

Postby Zancarius » Thu Jul 16, 2009 12:32 pm

Best comment I saw on Slashdot was "How's this a joke? It's how Obama plans to pay for national healthcare."

On the other hand, it could've been the charge for gas, too!
I gave that lich a phylactery shard. Liches love phylactery shards.
User avatar
Zancarius
Site Admin
 
Posts: 3907
Joined: Wed Jul 05, 2006 3:06 pm
Location: New Mexico
Gender: Male


Return to General Chat

Who is online

Users browsing this forum: No registered users and 13 guests