19 comments

[ 2.5 ms ] story [ 52.0 ms ] thread
I've long wished hyperlinks would permit multiple hrefs. Hypertext could be more sophisticated.

Multi-link QR codes could be practically useful, provided an interstice appears with the URLs and allows a person to follow any of them or all of them.

They did. I think the idea with XML based hypertext was to have links that are star-shaped with potentially multiple sources and potentially multiple targets and the location where the link is defined completely independent from any sources or targets.

One application would have been that people publish link collections and you could e.g read HN with the links I created.

There was a proposed standard for this but its name escapes me for the moment.

Of course all of this never went farther than XHTML where it took a sharp turn into a different direction.

> There was a proposed standard for this but its name escapes me for the moment.

XLink? It supports a feature known as extended links, which seems similar to what you're describing.

https://en.wikipedia.org/wiki/XLink

This is interesting and sets off a bunch of ideas. It might be fun to generate a printed version that can differently depending on how it's lit, either red/green or tricks with pwm'ing LEDs...
Sounds like a fun item for an escape room.
as asked repeatedly and never answered on reddit, what is the use case for this?
Take a menu in a tourist spot, could have it go to both languages
So just keep scanning repeatedly until it gets you to the right menu?

Wouldn’t it be easier to just have the link the QR code points to show a language picker?

Or use the available language information from the device to guess the best language (and have a picker to change)
ok, so you're going to explain to people to scan it at different angles? absurd. this is like having a hyperlink go to a random destination.
real-world AB testing is the only thing I can think of
Not all questions have an answer that will satisfy you.

In this case, it probably exists because it's technically interesting, and for no other reason.

Although I can totally image a roulette style game played by people who like that kind of thing: one link leads to something nice like puppy photos, the other leads to something disgusting.

Hey I made this! Thanks for posting! I answered most questions in the r/webdev reddit thread but I will happily answer more questions here.
Do you have a writeup of the technical details? How does this exploit (without reading the code and reverse engineering it)?
I'm not the author, but there's a brief explanation on the GitHub README:

(https://github.com/zacharyreese/DualQRCode)

The generator creates two separate QR codes with high error correction (Level H) and combines them into a single image using pixel splicing. Each cell that differs between the two QR codes is split in two, creating a pattern that can be interpreted differently based on the scanning angle.