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
590
Shipping Secret Messages Through Barcodes
PyCascades 2018 talk
Karina Ruzinov
January 23, 2018
Tweet
Share
Other Decks in Programming
See All in Programming
マスタデータ問題、マイクロサービスでどう解くか
kts
0
140
GISエンジニアから見たLINKSデータ
nokonoko1203
0
190
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
310
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
310
TerraformとStrands AgentsでAmazon Bedrock AgentCoreのSSO認証付きエージェントを量産しよう!
neruneruo
4
1.9k
Pythonではじめるオープンデータ分析〜書籍の紹介と書籍で紹介しきれなかった事例の紹介〜
welliving
3
630
ローカルLLMを⽤いてコード補完を⾏う VSCode拡張機能を作ってみた
nearme_tech
PRO
0
190
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
130
チームをチームにするEM
hitode909
0
400
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
460
Implementation Patterns
denyspoltorak
0
130
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
190
Featured
See All Featured
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
0
100
Between Models and Reality
mayunak
0
150
Skip the Path - Find Your Career Trail
mkilby
0
27
Joys of Absence: A Defence of Solitary Play
codingconduct
1
260
The Pragmatic Product Professional
lauravandoore
37
7.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
97
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
29
Claude Code のすすめ
schroneko
67
210k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
130
The MySQL Ecosystem @ GitHub 2015
samlambert
251
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