‹ BackHN Continuity

Thread

Barcodes are about to go extinct

107 points · 151 comments · rmason

  1. byte-sized-snac · · focus · HN ↗
    They mention QR code being a link and companies having to store data on their side.

    Surely the actual data will be stored in the QR code and available offline

    1. kiallmacinnes · · focus · HN ↗
      As I understand it, The key bits of data are in the QR code, they are just encoded as a URL - a highly structured URL that point of sale systems can decode without visiting the URL.

      Doing it this way means the QR code is directly usable by consumers to get to a product info / marketing page, and directly usable by the POS systems.

      Edit: I looked it up. An example URL:

      <a href="https:&#x2F;&#x2F;example.com&#x2F;01&#x2F;09521207311511&#x2F;21&#x2F;1234ABDE1235" rel="nofollow">https:&#x2F;&#x2F;example.com&#x2F;01&#x2F;09521207311511&#x2F;21&#x2F;1234ABDE1235

      01 is a marker before the traditional barcode.

      21 is a marker before the serial number.

      There seems to be many other codes like 17 (expiry date) and 10 (batch number).

      1. ssl-3 · · focus · HN ↗
        It just encodes...codes?

        We have the technology to encode a short, plain human-readable description of an item into a 2D barcode, with born-on and&#x2F;or sell-by dates, and&#x2F;or things like serialization and&#x2F;or lot codes, or other useful things.

        Brevity is important; fields can have a standardized-but-flexible format that fits the particular item&#x27;s needs.

        A single-quantity small Fuji apple, picked today (October 3, 2026), with a PLU of 4129, and a magic-number lot code of b29sF, distributed by Stemilt Growers might present as such:

          Apple Fuji Sm,B0261003,P4129,Lb29sF,MStemilt
        
        A single 1.5 liter bottle of Crystal Geyser spring water with a UPC of 07514000500, a best-by date of January 12 of 2028, and a lot code of kek67:

          Water Spring 1.5l,D0280112,U07514000500,Lkek67,MCG
        
        We can even add more real information and still have less data to encode than:

          https:&#x2F;&#x2F;example.com&#x2F;01&#x2F;09521207311511&#x2F;21&#x2F;1234ABDE1235
        
        ...but, I mean: A coded URL for a website that might be designed to avoid being forthcoming with information isn&#x27;t necessarily any better for consumers, long-term, than the UPC we&#x27;ve had for over 50 years. It&#x27;s still just a pointer that relates to someone else&#x27;s database. It has no informational value on its own.
        1. kiallmacinnes · · focus · HN ↗
          Absolutely - I 100% expect the links to lead to feel-good marketing fluff at best and end up being useless for consumers, but the stated goals are at least good.

          It&#x27;s just that, sadly, we can no longer have nice things.

          1. ssl-3 · · focus · HN ↗
            And even spookier: Tracking.

            If items have unique (ie serialized) codes, then it&#x27;s safe to assume that those codes will be recorded at purchase (since that&#x27;s kind of the whole point), along with who bought them (yay discount cards and cashless society).

            Now the contents of my pantry describe things like where I&#x27;ve been, when I was there, and&#x2F;or who I hang out with. Fun times!

            Even with cash and without discount cards: One random food label out of a recycling bin can relate all the way to photos of the purchaser&#x27;s face at checkout, track them walking to their car, and see where that car went. This could happen months or years down the road.

            Most of those pieces are already in-place: Our photos are already recorded alongside of our transaction details -- that&#x27;s been going on in POS world for a long time. Tracking people to their vehicle is a function of Avigilon camera systems. Tracking the car itself is the primary purpose of Flock.

            All that&#x27;s missing right now is serialization records and a centralized database.

            I&#x27;m sure that nobody will ever finish fitting these things together into a cohesive system and that nobody would ever use it with ill intent.

            It probably would never happen anyway, since there&#x27;s not a single retailer on Earth who would ever exchange this kind of data for an upgrade to their in-store surveillance systems and a monthly check. ;)

            (And we still don&#x27;t get directly-useful consumer information into or out of these new 2D barcodes. I love losing.)

            1. crote · · focus · HN ↗
              This is already the case. Virtually every single food product comes with an expiration date label - which includes some kind tracking. You pretty much need to have that to do any kind of sensible recall when there&#x27;s yet another poop lettuce outbreak. Looking at my pantry it usually seems to be include kind of lot number, time of production, and&#x2F;or production line identifier.

              I reckon they already have a pretty reasonable idea of which store it ends up going to, and with just-in-time resupply a pretty reasonable bound of when it will end up having been sold. Look at the overlap of a few dozen products and it should be quite easy to reduce the number of people who could&#x27;ve bought all of them to just you.

              The QR codes just make this more explicit, and slightly easier to track. You&#x27;re not wrong, but at least this time we could get, say, automated warnings in the Walmart app of a recall on something you bought out of it.

              1. ssl-3 · · focus · HN ↗
                Today, with UPCs: We can reckon about whether or not the stuff we buy could be pinned down to a given store, or a transaction. There&#x27;s lot codes and sell-by dates and stuff on the stuff in my pantry, too. But none of that was recorded when I purchased it.

                So it&#x27;s still a deductive process at best to correlate a lot number and a consumer. If all we have to go on is the implication of a limited range of lot codes, then the results are fuzzy.

                Tomorrow, with unique serialization: The right person will absolutely be able to pin down exactly which store a particular can of beans was bought at, and when, and by whom. It&#x27;s not just something that is made &quot;slightly easier&quot; -- it is instead a fundamental built-in capability of the concept. There&#x27;s nothing to deduce or to guess at when this unique data is collected and correlated both deliberately, and automatically.

                (RFID product tags, commonly known as EPCs, are also usually unique. This property reduces error from duplicate reads. When each tag is unique, it disambiguates a checkout involving 3 packs of #2 pencils from a checkout with just 1 pack of #2 pencils that was read 3 different times.

                To pick one standard: SGTIN-96 is often used for EPCs on individual items and includes 38 bits for a serial number. That&#x27;s enough bits for ~274 billion unique numbers. So with a haystack of 274 billion packages of #2 pencils sold and scattered around the world, the one in my desk drawer is very easy to identify.)

          2. cxr · · focus · HN ↗
            Instead, the URL should lead to the actual label in vector format, and most elements of the design should be clickable links.
          3. petra · · focus · HN ↗
            It&#x27;s possible to let the chat read the QR code and help the user with it.
          4. atvcatole · · focus · HN ↗
            I&#x27;m also expecting those &quot;redirecting to your regional page&quot; -&gt; &quot;404, can&#x27;t find this product&quot; situations.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.