My notes on barcode scanning