Re:My bank sent me 64 copies of the same debit card
by analog31 on Thursday March 11, 2021 @05:30PM
(#26429824)
It's really funny, but when I see an error that's a power of 2, I immediately look for a hardware bug.
[ Parent
| on HN ]
Re:My bank sent me 64 copies of the same debit card
by oaiey on Thursday March 11, 2021 @05:56PM
(#26430075)
Exactly. The 64 is no coincidence.
Re:My bank sent me 64 copies of the same debit card
by adamswann on Thursday March 11, 2021 @06:39PM
(#26430455)
I once introduced a bug that squared each customer's order quantity.
Order 8 of the thing, we shipped 64. Oops.
Nutshell: The items were sold in bundles. To arrive at the quantity to ship, you multiply the quantity of bundles ordered by the quantity of each item in the bundle (just 1 or 2 in most cases). I got my variables confused and multiplied the order quantity by itself.
Not my best day.
Re:My bank sent me 64 copies of the same debit card
by stevesimmons on Thursday March 11, 2021 @07:08PM
(#26430672)
I once saw this in a downstream system that if an order was entered calculated price with the square of the quantity.
And the order in question was for 1000 400oz bars of gold (value $700k each).