Unfortunately it seems that every online explanation of QR codes always leaves out the Reed-Solomon error code calculation. The author here describes it as “long, tedious, and not very interesting”, but since everyone seems to think that, it is now very hard to find.
<rant>
The commentary mocking people for their poor English, followed by disparaging remarks about an entire country as if the email senders represent a typical sample from that nation, says more about the blog owner than about the email senders themselves.
The blog owner exudes elitist vibes in the commentary. A quick skim of the blog reveals a request for Bitcoin donations, suggesting $3 as the amount, without considering that a large portion of this donation will be eaten up by fees.
</rant>
Generally, when you get a message from someone that you don’t like, it helps if your complaint does not include casual racism and a critique of the author’s English proficiency.
I understand it is annoying to receive spam, and Nayuki is under no obligation to help strangers with their code. However, how about a little empathy for the students whose cultural and education system have not taught them any better?
In some cases, Nayuki is not even happy with people pointing out legit errors in their blog. For example,
> I want to use the parameters [...] and
>
> invNTT(NTT(invec)) !=invec ?
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"
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.
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.
it's nice to have an explanation. for me, I just wanted to quickly make them. Googling led to ad covered sites and "register to use" site. Found a few on GitHub but they had other issues so threw together my own using a well designed library I'd used before. took about 15 minutes
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.
Unfortunately it seems that every online explanation of QR codes always leaves out the Reed-Solomon error code calculation. The author here describes it as “long, tedious, and not very interesting”, but since everyone seems to think that, it is now very hard to find.
There’s a Wikipedia article for it
Recent Veritasium video on the topic, "I used to hate QR codes. But they're actually genius":
* https://www.youtube.com/watch?v=w5ebcowAJD8
The feedback he receives is quite fun: https://www.nayuki.io/page/poor-feedback-from-readers
<rant> The commentary mocking people for their poor English, followed by disparaging remarks about an entire country as if the email senders represent a typical sample from that nation, says more about the blog owner than about the email senders themselves.
The blog owner exudes elitist vibes in the commentary. A quick skim of the blog reveals a request for Bitcoin donations, suggesting $3 as the amount, without considering that a large portion of this donation will be eaten up by fees. </rant>
Generally, when you get a message from someone that you don’t like, it helps if your complaint does not include casual racism and a critique of the author’s English proficiency.
I understand it is annoying to receive spam, and Nayuki is under no obligation to help strangers with their code. However, how about a little empathy for the students whose cultural and education system have not taught them any better?
In some cases, Nayuki is not even happy with people pointing out legit errors in their blog. For example,
> I want to use the parameters [...] and > > invNTT(NTT(invec)) !=invec ?
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"
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.
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
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.
Making fun of poor english is always a sign of stupidity (smart people can be idiots).
I built an implementation in Rust a while back:
https://github.com/aabiji/qr
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.
it's nice to have an explanation. for me, I just wanted to quickly make them. Googling led to ad covered sites and "register to use" site. Found a few on GitHub but they had other issues so threw together my own using a well designed library I'd used before. took about 15 minutes
https://greggman.github.io/qr-code/
might add more options but in truth I don't think most users need the options
Nice! Learning how QR codes work has been on my todo list for ages, this was a nice introduction.
Plug: Now that you know how they work, you can use them in your SQL queries too https://github.com/Florents-Tselai/pgQR
This is pretty awesome. I would like to see the same thing for the decoder.
Maybe you'll enjoy Piko and blinry's guide on reading QR codes without a computer: https://qr.blinry.org/
Same. I always marvel at how my phone can decode a badly lit, blurry, 1/4 out of frame QR code as quickly as it does.
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)
Would you please share more information about it? Thanks.