Live data from Hacker News

Tadpole code convert any <4k string to a 'single' character (Unicode magic)

c.goozo.net

11–20 of 29 posts

Re: Tadpole code convert any &lt;4k string to a 'single' character (Unicode magic)

#11

Clever. Looks like it's using all of the diacritic marks to encode information onto a / character. (it's easy to see if you use a large enough font)

Can you explain a bit more in detail? This looks fantastic and am interesting in knowing more about it but didn't really get what you mean by diacritic marks.

I'm interested too. I'm guessing the data is actually encoded into the character as they do look ever so slightly different with different content.

This would suggest this means that you can create a dynamic font/character in unicode. I had no idea this was possible, can someone confirm/slap me down for saying silly things?

Re: Tadpole code convert any &lt;4k string to a 'single' character (Unicode magic)

#12
I tried posting a long (more than 140 chars) one of these on twitter, but it seems they cut it off because it won't decode. (Checksum error.) Bummer.. would have been a fun loophole. :P

Update: Actually, sending a short one via the twitter client I'm working on seems to mangle it as it won't decode after it's posted. Posted short ones via the web interface will decode correctly, though. There must be a unicode handling bug somewhere...

Re: Tadpole code convert any &lt;4k string to a 'single' character (Unicode magic)

#14

Clever. Looks like it's using all of the diacritic marks to encode information onto a / character. (it's easy to see if you use a large enough font)

Can you explain a bit more in detail? This looks fantastic and am interesting in knowing more about it but didn't really get what you mean by diacritic marks.

Characters can have different accents or modifications on them. For example, the letter "e" can be "é" or "è" or "ë", etc. The interesting thing being done here is layering multiple diacritical marks on top of the slash character and then decoding those marks back into plain text.

Re: Tadpole code convert any &lt;4k string to a 'single' character (Unicode magic)

#17

Clever. Looks like it's using all of the diacritic marks to encode information onto a / character. (it's easy to see if you use a large enough font)

/ۤۛۗۜۚۛ۫ۗۢۜۛ۠ۤۨۜ۟۟۫ۗۢۚۘۖ۠۟ۜۗۛۚۜ۠ۡۚ۫ۙۧ۫ۘۧ۬ۤۖ۫ۛ۬ۛۚۧۚۢۧۡۖ۫۟ۧۚۡ۠۫ۜۙۜۡۙۢۡۖۚۡۚۛ۠ۡۗۗ۠ۢۗۢۤۖۢۜۡۧۙۡۜۗۙۛۖۧۖۨۡۢۙ۫ۤۙۙۙۢ۫ۘۡ۟ۗۧۧۚۨۗۤۢۚۚۙۙ۟ۜ۬ۧۧۛ۫ۨ۟ۤۛ۟ۘۛۡۤۨۚ۠ۘۘ۠۬۟ۨۤ۟ۖۚۤۚۗۡ۟ۖ۫ۜ۠ۤ۬ۖۚۧۨ۫ۘۨ۟۬ۢ۟ۗۚۡۜۜۙۗ۟۫ۚۧۜۡۗۧۗۚ۠ۙۖۢۡۙ۫ۤ۠ۛۨۖۤ۠ۗۡۡ۟ۡ۠۠ۚ۫۠ۛۡۘۤ۠ۛۨ۫ۧ۟ۤۨۜۙۚ۫ۘ۫ۡۤۗۢۜۖ۬ۛۜۤۚۛۨۨ۟ۜۙۜ۫ۡۨۛ۠ۗۘۨۙ۫ۚ۟ۗۢۡ۫ۖۖۢۤۚ۫ۛۖۙ۠ۖۗۛۧۛۧۖ۟ۧۘ۬ۘۜ۫ۨۢۛۙۛ۟۬ۤۧۧۖۡۜۗۤ

sorry - i downvoted you by accident while trying to select for cut + paste :(

Re: Tadpole code convert any &lt;4k string to a 'single' character (Unicode magic)

#18
post #9

Here's the funny story: this was invent by a Chinese developer (rinick of www.goozo.net) in a filesharing discussion board (TLF). Then it was popularized to avoid keyword censorship systems everywhere in China.

If Unicode causes the Chinese regime as much suffering as it has caused me, I take back everything bad I have ever said about it. Bring on the canonicalization issues!

Re: Tadpole code convert any &lt;4k string to a 'single' character (Unicode magic)

#19
post #6

/۟ۢۘۙۨۙۖ۫ۜۜۖ۟ۡ۬ۗۡ۠۬ۧۤۧ۬ۚ۫ۖۤ۠ۢۚ۫ۡ۬۫ۢۛۗۡۙۡ۟ۧۤۡۘ۠ۘۜ۠ۜۛۙ۬ۙۖۗۨۙۤۛ۬ۘۛۜۢۧۧۧۗۖۡ۟ۛ۫ۤۡۖۘۚۙۤ۠ۡۧۜۤۖۡۨۜۨ۠۠ۙۚ۫۟ۢۛ۫ۛۧۚ۬ۚۘ۟ۤۙۨۤ۠ۘۤۘ۬ۤۜۤ۠ۨۨۤۤ۬ۡۤۧۘۛ۟۟۫ۗۢۗۙۢۚۨۖ۠ۤۖ۬۟ۢۤۙ۟۟ۢ۟۟ۘ۫ۜۙ۟۫۟ۗۨ۬ۘۘ۟۟ۜۛ۫ۧۧۧۗۢۤۢۜۧۖ۟ۧۜ۠ۢۘۖۤۗۙۛۧ

"I guess the trick is in using combining characters? I guess the first codepoint is always /."

Re: Tadpole code convert any &lt;4k string to a 'single' character (Unicode magic)

#20

Earlier quoted context omitted.

Can you explain a bit more in detail? This looks fantastic and am interesting in knowing more about it but didn't really get what you mean by diacritic marks.

I'm interested too. I'm guessing the data is actually encoded into the character as they do look ever so slightly different with different content. This would suggest this means that you can create a dynamic font/character in unicode. I had no idea this was possible, can someone confirm/slap me down for saying silly things?

I'd like to see the algorithm used to do this sort of compression.
Post reply on HN