Live data from Hacker News

Tō Reo – A Māori Spellchecker

xn--treo-l3a.nz

21–30 of 45 posts

Re: Tō Reo – A Māori Spellchecker

#21
post #9

Slightly off-topic, but it would be nice if HN interpreted punycode in link descriptions. Especially given that the links go through a redirect, which means that the browser status bar sees them as part of the query and not the domain, so the browser's own interpretation of punycode never gets applied.

Seeing the Punycode link is actually a security feature, because it means you aren't tricked into visiting, say, pple-06g.com (apple with a Cyrillic a).

Re: Tō Reo – A Māori Spellchecker

#22
post #17

Earlier quoted context omitted.

I was going to disagree with you, because most kiwis have no idea how to write the special o (myself included), so they’d end up typing toreo.nz instead. Which as it turns out, redirects to xn--treo-l3a.nz anyway. Nice!

The ō is an o with a macron. It's pretty easy to install a keyboard layout that supports it: https://kupu.maori.nz/about/macrons-keyboard-setup . Many mobile keyboards support it by default with long presses to pop up an accent/variant chooser.

> It's pretty easy to install a keyboard layout that supports it

Only if you don't need anything else from your keyboard layout. I use Dvorak and need to type Japanese, and I think either of those makes it impossible to enter macrons on Windows.

Re: Tō Reo – A Māori Spellchecker

#23

Earlier quoted context omitted.

I'm a fan of MacOS for making it real easy to type vowels with umlauts / macrons etc.

Unfortunately the macron is the one missing dead-key accent on the US "ABC" layout. It's easy enough to hit the globe key when this comes up, but it annoys me a bit that Opt-y is ¥, and Shift-Opt-Y is Á, which is a duplicate: Opt-e-A will also produce it. I'd be happier if Opt-y was the macron dead key and Shift-Opt-Y took over for ¥: I can go a year without needing the Yen symbol, but it makes sense to have it. I do…

I just hold down the vowel, then hit 9 for the macron.

Re: Tō Reo – A Māori Spellchecker

#24
post #9

Slightly off-topic, but it would be nice if HN interpreted punycode in link descriptions. Especially given that the links go through a redirect, which means that the browser status bar sees them as part of the query and not the domain, so the browser's own interpretation of punycode never gets applied.

Someone always says this when a punycode link shows up. I'm glad they don't. What you see? That's the link. It's what the browser sends, it's what DNS resolves: it's the link. Displaying it as Unicode is just a display option, and it's one which opens up all manner of mischief through confusables. It's a hacker culture choice, and it's one I appreciate.

On the other hand, that's a rather ango-centric viewpoint.

Re: Tō Reo – A Māori Spellchecker

#25
post #22
post #17

Earlier quoted context omitted.

The ō is an o with a macron. It's pretty easy to install a keyboard layout that supports it: https://kupu.maori.nz/about/macrons-keyboard-setup . Many mobile keyboards support it by default with long presses to pop up an accent/variant chooser.

> It's pretty easy to install a keyboard layout that supports it Only if you don't need anything else from your keyboard layout. I use Dvorak and need to type Japanese, and I think either of those makes it impossible to enter macrons on Windows.

You can have multiple keyboard layouts installed, and it takes a fraction of a second to switch with a shortcut key (on Windows it's Win-space). I have a Māori keyboard layout installed on my work computer, but I only switch into it to type words with macrons, then switch back (I use ` more often and don't like having to double-press it).

Re: Tō Reo – A Māori Spellchecker

#26
post #21
post #9

Slightly off-topic, but it would be nice if HN interpreted punycode in link descriptions. Especially given that the links go through a redirect, which means that the browser status bar sees them as part of the query and not the domain, so the browser's own interpretation of punycode never gets applied.

Seeing the Punycode link is actually a security feature, because it means you aren't tricked into visiting, say, pple-06g.com (apple with a Cyrillic a).

There are conventions around that. https://chromium.googlesource.com/chromium/src/+/main/docs/i... Generally, if all the characters are from one script, then it is decoded. There are lots of exceptions detailed there, but it's harder to make a homoglyph attack work using only characters from one script to impersonate another.

Re: Tō Reo – A Māori Spellchecker

#27

Earlier quoted context omitted.

Someone always says this when a punycode link shows up. I'm glad they don't. What you see? That's the link. It's what the browser sends, it's what DNS resolves: it's the link. Displaying it as Unicode is just a display option, and it's one which opens up all manner of mischief through confusables. It's a hacker culture choice, and it's one I appreciate.

On the other hand, that's a rather ango-centric viewpoint.

It is! So kind of you to notice. Perhaps you could also notice that English is the language used on Hacker News.

I'm quite sure a website centered in a different cultural landscape might choose a different convention. Good for them, I say.

If URLs start being Unicode, and not an ASCII encoding which is sometimes displayed as Unicode, that would be a different story. But that's not how things are.

Re: Tō Reo – A Māori Spellchecker

#28

excellent use of a Punycode domain

I was going to disagree with you, because most kiwis have no idea how to write the special o (myself included), so they’d end up typing toreo.nz instead. Which as it turns out, redirects to xn--treo-l3a.nz anyway. Nice!

> kiwis have no idea how to write the special o (myself included)

I’m in New Zealand too. I work in MRI and have to type ‘TE’ (echo time) regularly, as well as the Māori word ‘te’.

Whatever secret sauce Apple sprinkles into iOS is actually malignant and it takes about 3 edits to type te/TE whenever I try.

Re: Tō Reo – A Māori Spellchecker

#29

Wow neat! There's a great collection of Māori-made technology for te reo Māori. I'm thinking also of Te Hiku Media's work building a Māori speech recognition system: https://blogs.nvidia.com/blog/te-hiku-media-maori-speech-ai/

My favourite is PAHU! https://pahu.maori.nz/ - a lorem ipsum generator in te reo Māori.
Post reply on HN