‹ 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. 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.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.