Live data from Hacker News

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

github.com

121–130 of 183 posts

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

#121

Earlier quoted context omitted.

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 commen…

[flagged]

[deleted]

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

#122
post #56

I wonder what throughput it can give when used as an animated sequence of codes? I experimented with animated QRs for data transfer last week and the real maximum I’ve achieved was around 9KB/s. https://divan.github.io/posts/animatedqr Using colored high-capacity encoding should yield much better results, given the decoder is as fast as QR one.

Cool. How does Apple's iPhone-to-Watch pairing animated graphic work? Maybe their technique has higher bandwidth.

Speaking of screen-to-watch data transfer, the Timex Data Link watch somehow accomplished this in the mid-90s. There must have been some dark magic to make it work on a watch-battery powered processor at the time.

https://youtu.be/2VmtPaiOBwI

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

#123

Earlier quoted context omitted.

At a family dinner I once jokingly described my gluten-free girlfriend as "glutarded," which was our inside joke way to refer to her dietary restrictions. I forgot that my aunt's husband, who has some congenital language issues that leave him with a speech impediment, had grown up being bullied and called 'retard,' until he gasped when he heard my words. I felt horrible, and have since been more conscious with my wor…

You seem to be under the impression that black people imported to America were history's only slaves. Good luck finding a country with people of any color that hasn't experienced some level of slavery.

No part of taylorfinley's argument implies or requires that the American/African slave trade was the only ever instance of slavery.

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

#124
post #117
post #91

for those decrying the limited use of 2d barcodes in the US or in europe, you've never set foot in a manufacturing environment. 2d barcodes are used for cradle-to-grave inventory tracking by systems like Glovia and SAP. everything from transmission gears to soda pop are tagged during manufacture with numerous 2d barcodes that change at different stations, and at different times. it doesnt matter what your new standar…

I suppose that color-based codes have more density per "pixel" (2-3 bits), so they can be used to encode relatively large amounts of information. Try encoding 1kb as a QR code; it will become pretty unwieldy, if it's possible at all. Think about the size of a reasonable cryptographic public key; would it be nice to have it optically readable sometimes? Tagging things during manufacture is a different application area…

A B/W randomart image which uses alphanumeric and special characters, like the one used in ssh-keygen itself when generating keys, would be enough. With current tech, Adding colors is just a recipe for disaster in environments which need maximum reliability.

Personally, I think QR codes are just fine for manufacturing but as for encodings meant for end-users, I think we should be focusing on making them more human-readable or at least visually comparable, without sacrificing bit-depth.

Still, this tech was really neat to play around with and I hope something good comes out of all the work put into it.

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

#125
post #57
post #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 a…

You could have an optional border around it. A black border containing a colour spectrum centered on each side would make for a distinctive "this is one of those JAB thingies" appearance. A border might be required anyway if tightly packing codes makes it too difficult to tell where one code ends and another begins.

A black border with two tiny transparent, black-outlined squares next to the NE corner, one on each side. A system like this would allow different protocols and versions to use different symbols in different corners so that phones and people could recognize which it is at a glance.

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

#127
post #117
post #91

for those decrying the limited use of 2d barcodes in the US or in europe, you've never set foot in a manufacturing environment. 2d barcodes are used for cradle-to-grave inventory tracking by systems like Glovia and SAP. everything from transmission gears to soda pop are tagged during manufacture with numerous 2d barcodes that change at different stations, and at different times. it doesnt matter what your new standar…

I suppose that color-based codes have more density per "pixel" (2-3 bits), so they can be used to encode relatively large amounts of information. Try encoding 1kb as a QR code; it will become pretty unwieldy, if it's possible at all. Think about the size of a reasonable cryptographic public key; would it be nice to have it optically readable sometimes? Tagging things during manufacture is a different application area…

> Try encoding 1kb as a QR code; it will become pretty unwieldy, if it's possible at all.

So for reference, QR codes are specified up to 177 pixels wide, and at that size they can hold around 2KB with medium error correction.

But for practical use you probably want half that width, so a 400 byte payload is fine but not much more.

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

#128
post #110

Earlier quoted context omitted.

I can recognize those features. Sure, you need to look for them, but why would anyone care to? Surely after encountering only a few RGB codes the average person will have no trouble inferring that a jumble of colored blocks against a white background is likely to be encoded data. Same "training process" as needed for QR codes - although in this case the quiet zone is not needed, so you _could_ use these in a delibera…

Yes, you're able to realize that any given RGB mess-of-pixels printed somewhere is "likely to be encoded data", but maybe, you'll think, there might be multiple standards for RGB-encoded data (there are) and so, what standard does this code obey? Is it one your phone can parse? QR codes are able to be recognized as QR codes, which means you're able to think "I could definitely scan that", rather than thinking "that i…

There are also multiple standards for black and white 2d bar codes.

This is backed by the Fraunhofer Society and the German government, and on tracks to become an ISO standard. It will be implemented in scanners (hardware and software).

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

#129
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.

I'm not rooting for a future where human labor is obsolete.

Why would the machines continue to feed us if we're dead weight to the economy?

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

#130
post #115

Earlier quoted context omitted.

Every single container, crate, item and slab of raw material at work has a QR code attached. They are fantastic for that use case as with high levels of error correction you can read them in a rain storm when one corner is missing. That and every UPC scanner in existence seems to read them no problems.

At my work everything has a bar code on it. It seems carry have enough information. High capacity code have probably different applications. I haven't seem them anywhere yet, but there are several products around them. I think printing a public key with such a code on a business card would be cool.

I blame previous dev he’d apparently never heard of primary keys so he had to put way too much date in the QR code.
Post reply on HN