Live data from Hacker News

Show HN: Create a QR code with text in the code pattern

qr.new

11–20 of 35 posts

Re: Show HN: Create a QR code with text in the code pattern

#11
post #3
post #2

Looks cool, but the generated QR codes link to qr.new instead of the domain I entered to link to. This is on iPad Safari. Is it required to register before this will work as expected? It's unclear to me.

There are two 'types' of codes you can make, one is a regular redirect to the link you enter (Link QR), the other takes you to a qr.new page that has the information you entered on it (Everything QR). So make sure you have the right type selected and that you've put your link in the link field. Action item for me though, I need to make that clearer on the site.

[deleted]

Re: Show HN: Create a QR code with text in the code pattern

#12
post #3

Earlier quoted context omitted.

There are two 'types' of codes you can make, one is a regular redirect to the link you enter (Link QR), the other takes you to a qr.new page that has the information you entered on it (Everything QR). So make sure you have the right type selected and that you've put your link in the link field. Action item for me though, I need to make that clearer on the site.

There's definitely a problem though: when I edit the URL as a Link QR (e.g. changing .com to .co), the little checkmark changes to a spinner then back to a checkmark, but the QR code does not change at all. No error messages in the console other than two script-src CSP errors.

The change is server side, the QR code pattern shouldn't change. When you click or scan the QR code after you switch types it should behave accordingly.

Re: Show HN: Create a QR code with text in the code pattern

#13
post #3

Earlier quoted context omitted.

There are two 'types' of codes you can make, one is a regular redirect to the link you enter (Link QR), the other takes you to a qr.new page that has the information you entered on it (Everything QR). So make sure you have the right type selected and that you've put your link in the link field. Action item for me though, I need to make that clearer on the site.

There's definitely a problem though: when I edit the URL as a Link QR (e.g. changing .com to .co), the little checkmark changes to a spinner then back to a checkmark, but the QR code does not change at all. No error messages in the console other than two script-src CSP errors.

I think that is because the link does not actually send you directly to your website, but routes you through qr.new. If qr.new were to go down, any QR codes created would not work.

Re: Show HN: Create a QR code with text in the code pattern

#14

The site is really confusing to use or maybe creating links don't work on the latest version of Chrome? Also, the resolution is extremely low -- for example "5SszZ2" is completely indistinguishable from "555222", "SSSZZZ", etc.

I think it's probably just confusing, which is a bug in itself. There are a few text fields that all look like they could be what you redirect to, but only the "Link QR" will redirect you to the link you enter.

> the resolution is extremely low

Yeah no argument there. I do actually have space for a 4x3 font instead of a 3x3 font, that may be worth working on.

Re: Show HN: Create a QR code with text in the code pattern

#15

Earlier quoted context omitted.

There's definitely a problem though: when I edit the URL as a Link QR (e.g. changing .com to .co), the little checkmark changes to a spinner then back to a checkmark, but the QR code does not change at all. No error messages in the console other than two script-src CSP errors.

I think that is because the link does not actually send you directly to your website, but routes you through qr.new. If qr.new were to go down, any QR codes created would not work.

This is correct. I have basically combined a link shortener with a QR code.

Re: Show HN: Create a QR code with text in the code pattern

#16
post #14

The site is really confusing to use or maybe creating links don't work on the latest version of Chrome? Also, the resolution is extremely low -- for example "5SszZ2" is completely indistinguishable from "555222", "SSSZZZ", etc.

I think it's probably just confusing, which is a bug in itself. There are a few text fields that all look like they could be what you redirect to, but only the "Link QR" will redirect you to the link you enter. > the resolution is extremely low Yeah no argument there. I do actually have space for a 4x3 font instead of a 3x3 font, that may be worth working on.

I'd love to see the 4x3. Although then the available real estate will be smaller. It would be cool if it was an option. For example, if I only have unmistakable chars in my text, I could get away with the 3x3 option.

Re: Show HN: Create a QR code with text in the code pattern

#20
Just a note, instead of encoding the picture in the full destination URL, you can encode the picture into the padding section between the URL and the Reed-Solomon section, thus permitting the use of any URL.

I used this technique a long time ago on qrpixel.com but forgot to renew the domain, oops...

http://web.archive.org/web/20160423015339/http://www.qrpixel...

Also for information about how this works, Russ Cox did a good article on it, calculating using the R-S section as well: https://research.swtch.com/qart

Post reply on HN