Creating a QR Code step by step

(nayuki.io)

77 points | by D4Ha 5 hours ago ago

11 comments

  • slig 25 minutes ago

    This resource is awesome. I wanted to have the smallest readable QR code for my printables pages footer [1], and I discovered there that it's possible to encode URLs in "Alphanumeric mode", version 1, using only uppercase characters, e.g., HTTPS://FOO.CC/ABCDEFGHIJ, so I got a three letter domain name and built the simplest URL shortener hosted on a CF worker.

    [1]: https://pdf.ahaprintables.com/pdf/preview/aha/zebra-puzzles-... (PDF)

  • throw0101c an hour ago

    Recent Veritasium video on the topic, "I used to hate QR codes. But they're actually genius":

    * https://www.youtube.com/watch?v=w5ebcowAJD8

  • belter 5 hours ago

    The feedback he receives is quite fun: https://www.nayuki.io/page/poor-feedback-from-readers

    • ipdashc 10 minutes ago

      Man, I understand that it can be annoying to get spammy messages, but a few of these are really kind of lame on the blogger's part. The sales mail, advertisement requests, and "want to sell your website" offers, sure, whatever, post and slander 'em. But a chunk of these are just genuine, polite requests for help, even if some (but not all) are sloppy or have bad grammar. There's a few that are asking for an interview or sound like they just want to be friends. There's no obligation to reply, of course, but to post them online just to mock them? That's really kind of sad, and I'm surprised the author is fine with doing it / thinks it casts them in a good light? Put all together, this is one of the most pretentious pages I've ever seen on the Internet.

      And then there's "that shameless country", "that needy country", "that unspeakable country", as others have pointed out. ... really? Yeah, we've all gotten spammy emails from Indian senders, joking about it is one thing, but that's just gross.

    • seabass-labrax 2 hours ago

      Personally, I don't enjoy reading that as much. The commentary seems a bit reminiscent of XKCD #406, and has what I read as tinges of racism.

      The characterization of some of these senders as lazy is simply not true: I once engaged with a student who wrote like some of those examples and was trying to contribute to a FOSS project I ran; he turned out to be an excellent contributor who nobody could reasonably say was lacking in either skill or effort. It is usually just a combination of shyness and excessive respect that produces these 'lazy' requests. And, frankly, using words like 'ur' and 'thx' are how some 100% native speakers of English write. (The ever-relevant XKCD strikes again, #1414 this time.)

      I consider myself to be extremely lucky that my native language happens to be the lingua franca of the computer industry if not the world, and even luckier that I don't have any impediment such as dyslexia that would hinder me capitalizing on that good fortune to the full.

      And finally, yes, most of what one receives online is spam. Lots of spam, in fact, but when someone makes as least as much effort to contact me individually I try to make at least that much effort in return.

    • redbell 3 hours ago

      Oh, I see how terrible managing a personal blog might be. You have to deal with all kinds of people. Fortunately, he also shares good/decent feedback: https://www.nayuki.io/page/decent-feedback-from-readers

    • jacomoRodriguez 36 minutes ago

      Sorry, Sounds more like the blog author is kind of a douche: "No, your not allowed to use my code from a GitHub repo for your university projekt chat bot: your coding standards are not up to mine. And btw. Your English sucks"

    • meiraleal 34 minutes ago

      Making fun of poor english is always a sign of stupidity (smart people can be idiots).

  • jaza an hour ago

    Nice! Learning how QR codes work has been on my todo list for ages, this was a nice introduction.

  • redbell 3 hours ago

    A good practice is to tag the title with the year of the article (in this case, 2018), when it is not from the current year.

  • bb88 an hour ago

    This is pretty awesome. I would like to see the same thing for the decoder.