Live data from Hacker News

JAB Code – A high-capacity 2D color bar code

github.com

41–50 of 183 posts

Re: JAB Code – A high-capacity 2D color bar code

#41
One of the nice 'features' of QR codes is they're instantly recognizable as QR codes due to the 3 registration marks, and so it's obvious you could pull out your phone and scan one (not that anyone does that).

JAB codes just look like a jumble of colored pixels -- it's not obvious it's encoded data, if you were to see this "in the wild".

It kind of misses another potential feature, which is registration marks could also establish a baseline for colors, which a reader/scanner could then use to compensate for differences in color reproduction (due to printing / screen settings / etc).

Re: JAB Code – A high-capacity 2D color bar code

#42

Every screen and printer will display/print colors differently. This is not a good idea.

This would fail if the decoding algorithm was trying to match exact RGB or YUV values. But in reality, all it has to do is disambiguate 8 (in the case of the example) colors.

I went to the sample page and you can generate one with up to 256 colors.

Re: JAB Code – A high-capacity 2D color bar code

#44

Every screen and printer will display/print colors differently. This is not a good idea.

Every HN comment thread is full of armchair critics. Maybe the designer actually thought of this! If the colors are quantized into a constellation, even significant error could be corrected.

Except if said colors fade over time or change their hue due to UV exposure like most pigments used for printing.

Re: JAB Code – A high-capacity 2D color bar code

#45

Every screen and printer will display/print colors differently. This is not a good idea.

Every HN comment thread is full of armchair critics. Maybe the designer actually thought of this! If the colors are quantized into a constellation, even significant error could be corrected.

Every HN submission is treated as if it's a breakthrough discovery to herald in a new era of human society. Constructive criticism (like the parent comment of your comment) is helpful, considering that the author of JAB Code makes no mention of this obvious issue (that I could find).

Re: JAB Code – A high-capacity 2D color bar code

#46

In case anyone missed it, a very interesting link explaining how QR codes work was posted on HN a few days ago[1]. I wish there was some explanation like this on this JAB code and how exactly it gives high capacity over the b/w code. [1] https://www.nayuki.io/page/creating-a-qr-code-step-by-step

She has been unemployed for eight months but last month her income with big fat bonus was over Bucks 9000 just working on the laptop for a few hours. https://www.cyberjobsonline.com

Re: JAB Code – A high-capacity 2D color bar code

#47
post #39

Earlier quoted context omitted.

Why is that problematic?

Because people cannot separate the abstract concept of slavery to the actual historical happening. Personally, I want to be a master to my mechanical slaves (tools, dishwashers, computers, robots) and can't wait for a future where machine-slavery is so pervasive that no humans need to work anymore.

Yup, it's censorship for the sake of censorship. We've had zero problems with master/slave terminology for decades because everyone dealing with it was cognizant enough to realize we weren't talking about human bondage. Then people who are incapable of compartmentalizing word connotations came in and declared their use "problematic" and demand everyone conform to their worldview and to waste time changing code comments, lest you want to be called racist/sexist/fascist/anti-Semite/Trump supporter/etc (mind you, all over words). At the end of the day, nothing changes except the vocal minority's frivolous complaining temporarily ceases.

Now watch me be angrily downvoted for no other reason than someone got upset and offended.

Re: JAB Code – A high-capacity 2D color bar code

#49
post #20

Every screen and printer will display/print colors differently. This is not a good idea.

The full color palette is embedded in every code, so the reader need only compare a cell's color to the colors in the palette region.

Printed colors fade at different rates and shift color in different ways.

Re: JAB Code – A high-capacity 2D color bar code

#50
Yet again another barcode / QR proposal.

Can't speak for the Americas, but here in Europe QR codes aren't used that much, I feel, except maybe for mobile payments. Compare this with China, where QR codes are in literally every store, each taxi driver has a printed one nearby and even street food cards use them to pay. I can't see this one becoming popular, given how many are printed on glossy / dirty paper (often using black and white printers as well). I am amazed though how well the standard QR code works in most cases, even with everyone adding an icon in the middle of it (and basically removing error correcting redundancy).

An interesting QR thing I picked up last time I was there is how circular QR codes are becoming more popular, see e.g. https://irf.fhnw.ch/bitstream/handle/11654/17880/Fokusreport... and https://en.wikipedia.org/wiki/ShotCode for earlier approaches but WeChat has started using its own thing, kind of like Facebook and Snapchat are doing: https://chinachannel.co/wechat-launches-new-mini-program-qrc...

Post reply on HN