News for hackers. Stuff that matters.
Re:I bought 300 emoji domain names from Kazakhstan and built... by teddyh on Thursday March 11, 2021 @06:55AM (#26423068)
When we can’t even discuss current tech events here on HN because HN filters out the characters needed, maybe it’s time for HN to rethink its emoji filtering policy.
Re:I bought 300 emoji domain names from Kazakhstan and built... by ada1981 on Thursday March 11, 2021 @10:28AM (#26425013)
These still work:

⬛ ⌛ ⏳ ⌚ ⏰ ⏱ ⏲ ♟⌨♨♠ ♥ ♦ ♣ 🃏 🀄⬆ ↗ ↘ ⬇ ↙ ⬅ ↖ ↕ ↔ ↩ ↪ ⤴ ⤵ ▶ ⏩ ⏭ ⏯ ◀ ⏪ ⏮ ⏫ ⏬ ⏸ ⏹ ⏺ ⏏‼ ⁉〰⭕〽© ® ™ #⃣ ⃣ 0⃣ 1⃣ 2⃣ 3⃣ 4⃣ 5⃣ 6⃣ 7⃣ 8⃣ 9⃣ 🅰 🆎 🅱 🆑 🆒 🆓 ℹ 🆔 Ⓜ 🆕 🆖 🅾 🆗 🅿 🆘 🆙 🆚 🈁 🈂 🈷 🈶 🈯 🉐 🈹 🈚 🈲 🉑 🈸 🈴 🈳 ㊗ ㊙ 🈺 🈵 ⬛ ⬜ ◼ ◻ ◾ ◽ ▪ ▫ # 0 1 2 3 4 5 6 7 8 9

Re:I bought 300 emoji domain names from Kazakhstan and built... by teddyh on Thursday March 11, 2021 @12:14PM (#26426412)
The unfiltered ones include, incredibly, the private use area of Unicode. You know, the code points that might show up as any symbol at all depending of the font?

About a year ago, (https://news.ycombinator.com/item?id=22741817) someone here used what they thought was the Apple logo symbol, but some fonts (which follow the ConScript (unofficial) Unicode Registry for private use characters) might show a KLINGON MUMMIFICATION GLYPH instead!

Re:I bought 300 emoji domain names from Kazakhstan and built... by tester34 on Thursday March 11, 2021 @07:00AM (#26423106)
I think you may expect way too much from such a simple website
Re:I bought 300 emoji domain names from Kazakhstan and built... by monstersinF on Thursday March 11, 2021 @07:25AM (#26423271)
I am very thankful that it’s not supported
Re:I bought 300 emoji domain names from Kazakhstan and built... by Symbiote on Thursday March 11, 2021 @09:48AM (#26424531)
I think it would be acceptable to support emojis, but set the font to use the black/white ones rather than colour. That removes most of the distraction.

At present, this can be done by following any emoji character with the text variant selector, U+FE0E [1] (the example works perfectly on Firefox on KDE).

Later, it will be possible with CSS [2].

[1] https://mts.io/2015/04/21/unicode-symbol-render-text-emoji/

[2] https://drafts.csswg.org/css-fonts-4/#font-variant-emoji-pro...

Re:I bought 300 emoji domain names from Kazakhstan and built... by corobo on Thursday March 11, 2021 @07:34AM (#26423335)
Lets just use punycode, it can be the new l33t xn--g28h
Re:I bought 300 emoji domain names from Kazakhstan and built... by emodendroket on Thursday March 11, 2021 @07:02AM (#26423120)
Supporting Unicode characters is too much?
Re:I bought 300 emoji domain names from Kazakhstan and built... by scbrg on Thursday March 11, 2021 @07:08AM (#26423160)
Supporting Unicode characters comes with a set of complications that you may want to address, as, for instance the infamous HTML-parsing with regex rant shows.

As soon as you start trying to address those, the simple problem suddenly grows quite a lot in scope.

Re:I bought 300 emoji domain names from Kazakhstan and built... by enriquto on Thursday March 11, 2021 @07:13AM (#26423193)
Notice that HN already does support unicode: α β γ é ö 本

It actively filters out a small part of it, mostly emojis (which I think that it is a good thing to do).

Re:I bought 300 emoji domain names from Kazakhstan and built... by Biganon on Thursday March 11, 2021 @09:42AM (#26424466)
I find this trend of despising emojis quite pretentious and annoying. They are very useful in some circumstances. Acting like anyone using them is a dumb teenager, or they will automatically ruin a community, is completely absurd.
Re:I bought 300 emoji domain names from Kazakhstan and built... by vmception on Thursday March 11, 2021 @12:33PM (#26426637)
Its Gen X and you know it

They don’t know it, but the rest of us do

Its not a trend its out of touch old people that dont know they’re out of touch old people yet

Re:I bought 300 emoji domain names from Kazakhstan and built... by xPaw on Thursday March 11, 2021 @07:16AM (#26423218)
Is HN actually filtering these, or they use utf8 in mysql which is famously not full utf8mb4?
Re:I bought 300 emoji domain names from Kazakhstan and built... by capableweb on Thursday March 11, 2021 @07:23AM (#26423258)
Hah, you think HN would use something mainstream like mysql?! I don't blame you.

But HN is 100% custom software, and built with it's own programming language as well, Arc (on Racket). AFAIK, HN still runs on files-as-a-db. You could check out the source here: http://arclanguage.org/install

Re:I bought 300 emoji domain names from Kazakhstan and built... by gus_massa on Thursday March 11, 2021 @03:17PM (#26428517)
That release is quite outdated. They added a lot of stuff to filter spam, voting ring detectors, and other moderation stuff. Anyway, as far as I know, everything is still saved to the file system.
Re:I bought 300 emoji domain names from Kazakhstan and built... by enriquto on Thursday March 11, 2021 @09:16AM (#26424206)
Why "still" ? Is there anything wrong in using the filesystem as a database when it suits to do so ?
Re:I bought 300 emoji domain names from Kazakhstan and built... by capableweb on Thursday March 11, 2021 @09:17AM (#26424216)
Nope, I'm not implying it's bad, just that they used to do that and they still do that to this day. I have nothing against storing data in files. In fact, I do that all the time myself too.
Re:I bought 300 emoji domain names from Kazakhstan and built... by KorfmannArno on Thursday March 11, 2021 @11:36AM (#26425900)
Don't databases also store data in files or am I missing the point?
Re:I bought 300 emoji domain names from Kazakhstan and built... by capableweb on Thursday March 11, 2021 @12:36PM (#26426676)
Yes, ultimately they do (usually) and yes, you are missing the point.

"filesystem as a database" is not referring to database software that stores the data on disk but rather that the application is directly interacting with the filesystem. Imagine dumping a JSON document to disk, then reading it from disk, compared to storing a JSON string in a DB. Sure, they are both backed by the disk, but one is not "filesystem as a DB".

Re:I bought 300 emoji domain names from Kazakhstan and built... by emodendroket on Thursday March 11, 2021 @04:13PM (#26429074)
What exactly are we afraid will happen if someone uses an emoji instead of typing :) ?
Re:I bought 300 emoji domain names from Kazakhstan and built... by enriquto on Thursday March 11, 2021 @05:24PM (#26429761)
it's not really a big deal. Just like not allowing bold or colored text in the comments.