Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Shipping Secret Messages Through Barcodes
Search
Karina Ruzinov
January 23, 2018
Programming
0
500
Shipping Secret Messages Through Barcodes
PyCascades 2018 talk
Karina Ruzinov
January 23, 2018
Tweet
Share
Other Decks in Programming
See All in Programming
しくじり先生 Image Matching Challenge 2024 編
goosehaaan
0
810
Architectures with Lightweight Stores: New Rules and Options
manfredsteyer
PRO
0
100
大規模マルチテナントを解決するYugabyteDBという選択肢
nnaka2992
1
250
「2024年版 Kotlin サーバーサイドプログラミング実践開発」の補講 〜O/Rマッパー編〜
n_takehata
2
260
ドメイン駆動設計の実践
masuda220
PRO
17
5.1k
CSC307 Lecture 09
javiergs
PRO
1
500
DMMプラットフォームにおけるTiDBの導入から運用まで
pospome
7
3k
企業向け生成AIアプリの 開発から得られた知見
takaakikakei
0
310
Polarsの成長: v0.14からv1.0までの変遷と今後の展望
zerebom
1
350
Terraformテスト入門
msato
0
520
Exploring the Gradually Lost Technical Skills in the Cloud Native Era
hwchiu
2
3.9k
Xcode 16のPreviewModifierと@Previewableを活用した効率的なプレビュー方法の考察
ojun9
2
160
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
39
47k
Statistics for Hackers
jakevdp
792
220k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
228
16k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
17
1.5k
A better future with KSS
kneath
231
17k
How to Think Like a Performance Engineer
csswizardry
4
590
Music & Morning Musume
bryan
43
5.9k
Building a Modern Day E-commerce SEO Strategy
aleyda
25
6.7k
Fontdeck: Realign not Redesign
paulrobertlloyd
79
5.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
90
47k
Creatively Recalculating Your Daily Design Routine
revolveconf
214
11k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
277
13k
Transcript
Shipping secret messages through barcodes Karina Ruzinov Software Engineer @
Transfix
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
So…barcodes?
None
UPC Code39
How you too can read a (UPC) barcode Credit: http://barcode-labels.com/you-can-learn-read-barcode/
What you’re seeing
420112159361289697090020989867 What the carrier is seeing
420 11215 9361289697090020989867 The Identifier for Zip Codes My actual
zip code What the customer impatiently stalks
But how did the scanner know how to do this
None
Convert the electrical signal from the LED reading to a
digital representation First things first.
Image credit: carolinabarcode.com
None
11000101000 11000100010
Is the check digit correct? Before we proceed.
Convert to ASCII text based on decoder 11000101000 11000100010 =
40 = H = 41 = I
Output the final text Allows us to go from To
this
But how does this relate to Python
But before Python, ZPL! (Zebra Programming Language)
None
Python! (writing ZPL)
These are important
None
X,Y coordinates
None
None
A “tall” number
None
None
None
None
None
None
Shipping labels are fun and all, but what else is
out there? QR CODES!
Quick Aside...
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)
None
Unintuitive ZPL we didn’t have to write Easy QR Code
call
None
How about a demo?
Takeaway • A lot is hidden in plain sight •
Why type something, when you can just scan it? • Barcodes are cool
Thanks! Questions? @kruzinov