I have heard some interesting stories of how teenagers made extract money working fast food jobs. This was back in the day when people going through the drive through paid in cash. The worker would withhold 25 cents from the change given to each customer. If there were 500 cars that went through the drive through on a busy night, that added up to a lot of money.
One funny thing is that most customers did not even check the amount of their change. If one customer did notice the discrepancy, the worker would just apologize and given them the extra quarter they were due.
Now the special tactic involved in this scam was to ensure the cash drawer balanced out with the receipts of food sold at the end of the night. The worker accounted for the extra cash by putting the withheld quarters in a special spot in the drawer. At the end of the night, they would count those quarters and pull out an equivalent amount of cash before counting time. Slick.
Reproducing a Race Condition
-
We have a job at work that runs every Wednesday night. All of a sudden, it
aborted the last 2 weeks. This caused some critical data to be late. The
main ...