News for hackers. Stuff that matters.
Re:Orbital reentry from 17000mph looks like dropping out of ... by nuancebydefault on Wednesday February 28, 2024 @12:48PM (#39541342)
It's funny that I can't even accomplish an emoticon in these comments while some people manage to draw complete scenes or algebraic formulas interleaved with the text.

I must admit that, unlike a lot of HN'ers, I'm using a virtual keyboard on a heldheld device to type comments; I never took the effort of looking up how it is done though it must have to do with extended char sets.

Re:Orbital reentry from 17000mph looks like dropping out of ... by kragen on Wednesday February 28, 2024 @01:00PM (#39541503)
most emoji are banned, as are nonstandard space symbols like thin space and some other things. emoticons (things like :-) and XD) are allowed. generally alphabetic characters and digits are allowed, and some other things, but i think unknown unicode is forbidden by default. https://news.ycombinator.com/item?id=23440551 has some investigation and results which are probably still accurate

i do most of my algebraic formulas with the compose key and a custom compose map mostly written by mark shoulson https://github.com/kragen/xcompose

for the above, after a false start picking random unicode characters, i realized that maybe i shouldn't use a modern language because someone who actually uses the language might feel like i was calling them an extraterrestrial, so i switched to googling archaic scripts. i pasted part of the old permic table from wikipedia

    >>> s = '''๐โ€Ž    ๐‘โ€Ž       ๐’โ€Ž       ๐“โ€Ž       ๐”โ€Ž       ๐•โ€Ž       ๐–โ€Ž       ๐—โ€Ž       ๐˜โ€Ž       ๐™โ€Ž       ๐šโ€Ž       ๐›โ€Ž       ๐œโ€Ž       ๐โ€Ž       ๐žโ€Ž       ๐Ÿโ€Ž
    ... U+1036x     ๐ โ€Ž       ๐กโ€Ž       ๐ขโ€Ž       ๐ฃโ€Ž       ๐คโ€Ž       ๐ฅโ€Ž       ๐ฆโ€Ž       ๐งโ€Ž       ๐จโ€Ž       ๐ฉโ€Ž       ๐ชโ€Ž       ๐ซโ€Ž       ๐ฌโ€Ž       ๐ญโ€Ž       ๐ฎโ€Ž       ๐ฏโ€Ž
    ... U+1037x     ๐ฐโ€Ž       ๐ฑโ€Ž       ๐ฒโ€Ž       ๐ณโ€Ž       ๐ดโ€Ž       ๐ตโ€Ž'''
    >>> print(''.join(c for c in s if ord(c) >= 0x10350))
    ๐๐‘๐’๐“๐”๐•๐–๐—๐˜๐™๐š๐›๐œ๐๐ž๐Ÿ๐ ๐ก๐ข๐ฃ๐ค๐ฅ๐ฆ๐ง๐จ๐ฉ๐ช๐ซ๐ฌ๐ญ๐ฎ๐ฏ๐ฐ๐ฑ๐ฒ๐ณ๐ด๐ต
    >>> len(''.join(c for c in s if ord(c) >= 0x10350))
    38
    >>> permic = (''.join(c for c in s if ord(c) >= 0x10350))
    >>> ''.join(random.choice(permic) for i in range(5))
    '๐จ๐“๐ฐ๐š๐ '
and then i tried out the hieroglyphs range

    >>> print(''.join(chr(i) for i in range(0x13000, 0x14000)))
    ๐“€€๐“€๐“€‚๐“€ƒ๐“€„๐“€…๐“€†๐“€‡๐“€ˆ๐“€‰๐“€Š๐“€‹๐“€Œ๐“€๐“€Ž๐“€๐“€๐“€‘๐“€’๐“€“๐“€”๐“€•๐“€–๐“€—๐“€˜๐“€™๐“€š๐“€›๐“€œ๐“€๐“€ž๐“€Ÿ๐“€ ๐“€ก๐“€ข๐“€ฃ๐“€ค๐“€ฅ๐“€ฆ๐“€ง๐“€จ๐“€ฉ๐“€ช๐“€ซ๐“€ฌ๐“€ญ...
    ๐“ฟฆ๐“ฟง๐“ฟจ๐“ฟฉ๐“ฟช๐“ฟซ๐“ฟฌ๐“ฟญ๐“ฟฎ๐“ฟฏ๐“ฟฐ๐“ฟฑ๐“ฟฒ๐“ฟณ๐“ฟด๐“ฟต๐“ฟถ๐“ฟท๐“ฟธ๐“ฟน๐“ฟบ๐“ฟป๐“ฟผ๐“ฟฝ๐“ฟพ๐“ฟฟ
but realized that most of them were unassigned, at least in my font and probably in the current unicode standard (in case someone discovers a new hieroglyph), so i just did this

    >>> hiero = (''.join(chr(i) for i in range(0x13000, 0x13100)))
    >>> ''.join(random.choice(hiero) for i in range(4))
    '๐“ƒพ๐“‚ƒ๐“‚Œ๐“€ฉ'
you can do all this in python in termux on your phone too (you'll probably have to install it from f-droid) but it's a bit clumsier

it's funny how this conversation has swung from the extreme of universal constants of the universe to the opposite extreme of completely arbitrary and historically contingent things like which ideograms (themselves completely arbitrary) are prevented from being posted by implementation bugs in hacker news

Re:Orbital reentry from 17000mph looks like dropping out of ... by nuancebydefault on Wednesday February 28, 2024 @01:45PM (#39542049)
Exactly a good reason why I love HN comments so much. The off-topic reply is frowned upon.

Thanks so much for this, let's see if copy paste works on this unix derived os. ๐“€๐“€ž๐“€Ÿ๐“€ ๐“€ก๐“€ข๐“€ฃ๐“€ค๐“€ฅ

Re:Orbital reentry from 17000mph looks like dropping out of ... by kragen on Wednesday February 28, 2024 @02:22PM (#39542427)
i'm glad you liked it!
Re:Orbital reentry from 17000mph looks like dropping out of ... by jtvjan on Wednesday February 28, 2024 @01:54PM (#39542146)
Oh, they were just random hieroglyphs? I thought you made a tiny cartoon of a man flipping a table.
Re:Orbital reentry from 17000mph looks like dropping out of ... by kragen on Wednesday February 28, 2024 @01:58PM (#39542183)
hahaha, that's awesome! i hadn't even noticed that it sort of looks like that