News for hackers. Stuff that matters.
Re:Show HN: HR code – Designed to be recognized by humans an... by citilife on Friday November 01, 2019 @11:16AM (#21419692)
The problem with this is that it's prone to error (doesn't have error correcting bits). Unfortunately, that combined with speed of scanning is really what's key for codes.

I have worked in the space, making some strides in speed & error correction.

Some of my public work is here: https://austingwalters.com/chromatags/

Your best bet is actually an overlay of two codes. A regular image (for humans), plus a code embedded in a color space (see linked post for how to do that).

Re:Show HN: HR code – Designed to be recognized by humans an... by avian on Friday November 01, 2019 @12:31PM (#21420637)
> The problem with this is that it's prone to error (doesn't have error correcting bits

Doesn't the use of the latin alphabet act a bit like an error correction code here? In contrast to a pure binary code you know that only certain shapes are valid, which should allow you to do some guessing if you don't get a perfect match.

Re:Show HN: HR code – Designed to be recognized by humans an... by jakear on Friday November 01, 2019 @01:22PM (#21421366)
Doesn’t help if a whole cell is missing, whereas with QR codes chunks can be entirely gone without consequence.
Re:Show HN: HR code – Designed to be recognized by humans an... by pause_break on Saturday November 02, 2019 @01:28AM (#21426052)
Can you give some practical examples of where that would be useful? Honestly curious, don't know much about this space.
Re:Show HN: HR code – Designed to be recognized by humans an... by jakear on Saturday November 02, 2019 @04:03PM (#21429725)
Physical sticker exposed to the environment. Scrapes/marks are common, they would render the “HR” code useless, but the QR would be fine. Or at least stay fine for longer. So the trade off becomes: do I post something that will be accessible to everyone, even those without a phone, for a week; or do I post something that will be accessible to everyone with a phone for two weeks. Given almost everyone has a phone, the answer is obvious. (Making up the times, but you get the idea)
Re:Show HN: HR code – Designed to be recognized by humans an... by Xeago on Saturday November 02, 2019 @08:03AM (#21427159)
A lot of applications centralize their logo in a QR code, obscuring a significant chunk. Yet the code scans fine and there is some nice custom recognizability for which service it is.
Re:Show HN: HR code – Designed to be recognized by humans an... by wingerlang on Saturday November 02, 2019 @09:57AM (#21427729)
Maybe scanning from photos where the code is obscured, bad quality, almost-trashed physical codes.
Re:Show HN: HR code – Designed to be recognized by humans an... by theon144 on Friday November 01, 2019 @01:23PM (#21421371)
"Guessing" and "a bit like" are key qualifiers here; error correction codes in QR provide a pretty hard guarantee and won't scan corrupted. With this scheme, who knows?
Re:Show HN: HR code – Designed to be recognized by humans an... by basicplus2 on Friday November 01, 2019 @09:45PM (#21425353)
The whole point of having human readable code is to help avoid being scammed, so having a code embedded that a human cant read but is what actually used for the link defeats the purpose
Re:Show HN: HR code – Designed to be recognized by humans an... by ASalazarMX on Friday November 01, 2019 @09:54PM (#21425393)
Also, most likely all URLs would end up coded like https://go.to/abcdef

Edit: just found clicking go.to redirects to flock.com.

Re:Show HN: HR code – Designed to be recognized by humans an... by kadoban on Saturday November 02, 2019 @01:01AM (#21425969)
What if the data is human readable but the error correction is only machine readable?

There still might be room for scams if the error correction is too clever, maybe it could only be a checksum?

Re:Show HN: HR code – Designed to be recognized by humans an... by tedunangst on Friday November 01, 2019 @10:36PM (#21425543)
So what happens when someone makes an image that appears like one url but scans as a different url? goDgle.com?
Re:Show HN: HR code – Designed to be recognized by humans an... by basicplus2 on Saturday November 02, 2019 @04:55AM (#21426608)
Then that is a failure of the protocol
Re:Show HN: HR code – Designed to be recognized by humans an... by SmileyJames on Friday November 01, 2019 @09:46PM (#21425360)
Thank you for sharing your chroma tags work.

Could the same technique be applied to QR codes? Would it improve QR read times?

At rush hour I have to wait for many people to scan their QR code train tickets, it is surprisingly slow.

Re:Show HN: HR code – Designed to be recognized by humans an... by citilife on Monday November 04, 2019 @09:34AM (#21441982)
Yes, the technique is general. Take a QR code and do the same manipulations and you get 2x scanning speed and 4x redundancy with no change in the algorithm.

I've actually improved it significantly since then, where it's possible to also store 2^8 data in something resembling a QR code, while keeping the same scanning speed as today.