Shipping secret messages through barcodes Karina Ruzinov Software Engineer @ Transﬁx
Logistics Point A ➡ Point B ?????? ?????? ✈
Lingo • Carrier:
does the shipping of The Thing • UPS, USPS, FedEx • Shipper:
the creator of The Thing • Warby Parker, Five Guys, Nike
What the carrier is seeing 420112159361289697090020989867
The Identiﬁer for Zip Codes 420 11215 9361289697090020989867 My actual zip code What the customer impatiently stalks
But how did the scanner know how to do this
Convert the reading teFolieracsttdrtiighciaitnlagsl sirgeﬁnprarselts.freonmtatthioenLED
Is thBeefcohreecwkedipgriot cceoerdre.ct?
Convert to ASCII text based on decoder 11000101000 = 40 = H 11000100010 = 41 = I
Output the ﬁnal text Allows us to go from To this
But how does this relate to Python
But before Python, ZPL! (Zebra Programming Language)
Python! (writing ZPL)
Shipping labels are fun and aQll,RbCutOwDhaEtSe!lse is out there?
Quick Response Code?! • Uses our of alphanumeric representation -> integer -> binary map • Data is encoded in a zig zag fashion • Level of error correction impacts the quantity of data that can be stored within the QR Code • Masking to appease the scanner
But thankfully we have ZPL (+ Python) ??????
Easy QR Code call Unintuitive ZPL we didn’t have to write
Takeaway • A lot is hidden in plain sight • Why type something, when you can just scan it? • Barcodes are cool
Thanks! Questions? @kruzinov