TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Base65536 encoding

334 pointsby rahielalmost 8 years ago

24 comments

ChuckMcMalmost 8 years ago
256 byte packet and a 192 bit authentication hash, why use fast flux dns to run C&amp;C on your botnet when you can just make them twitter followers.<p>EDIT: And in case that isn&#x27;t clear. Imagine you have a botnet, and all of the individual members create a twitter account. All of the twitter botnet accounts follow the &#x27;master&#x27;. Who can tweet a command (and corresponding authentication key) to the botnet to say &quot;follow chuck and do up to n things for him, here is his public key&quot;. Now Chuck suddenly has all these followers and when the time is right he tweets out his command, &quot;ddos my greatest enemy&quot; and adds his &#x27;proof&#x27;. Off they go and blast his enemy. If he was only allotted one command then they all un-follow him.<p>Basically its social media for botnets.
评论 #14473482 未加载
评论 #14473408 未加载
评论 #14473455 未加载
评论 #14474900 未加载
评论 #14473383 未加载
评论 #14474005 未加载
pfrazealmost 8 years ago
Yeah but what you <i>really</i> want is base-emoji. <a href="https:&#x2F;&#x2F;github.com&#x2F;pfrazee&#x2F;base-emoji" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pfrazee&#x2F;base-emoji</a>
评论 #14473450 未加载
评论 #14473252 未加载
评论 #14474232 未加载
评论 #14473680 未加载
anderskaseorgalmost 8 years ago
See also:<p><a href="https:&#x2F;&#x2F;blogs.oracle.com&#x2F;ksplice&#x2F;the-1st-international-longest-tweet-contest" rel="nofollow">https:&#x2F;&#x2F;blogs.oracle.com&#x2F;ksplice&#x2F;the-1st-international-longe...</a><p>Twitter characters can actually store up to nearly 31 bits each, if you’re using the JSON API. (Or at least, this was true in 2010. I don’t know whether this is still true.)<p><a href="http:&#x2F;&#x2F;blog.kevinalbs.com&#x2F;base122" rel="nofollow">http:&#x2F;&#x2F;blog.kevinalbs.com&#x2F;base122</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13049329" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13049329</a><p>Base-122 encoding is 87.5% efficient in UTF-8, better than anything listed in the base65536 repository’s comparison table.
评论 #14473769 未加载
matt_wulfeckalmost 8 years ago
I think they missed a great opportunity to call it &quot;base64k&quot; encoding.
girstalmost 8 years ago
I&#x27;m the one who made the C &#x2F; UNIX Shell implementation - it was a fun and quick thing to make.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;girst&#x2F;base65536" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;girst&#x2F;base65536</a><p>I&#x27;d appreciate some feedback.
Asdfblaalmost 8 years ago
I don&#x27;t seem to get the efficiency table (or how efficiency is defined here?). Since Base65536 encodes 16 bits, why can&#x27;t it encode UTF-16 with 100% efficiency? It says the efficiency is 64% instead.<p>I&#x27;m sure it&#x27;s true, just curious why.
评论 #14473607 未加载
评论 #14473581 未加载
bcoatesalmost 8 years ago
At first I thought this was going to be a joke, then I thought it was going to be stupid, but it&#x27;s actually brilliant.
评论 #14473078 未加载
carry_bitalmost 8 years ago
You could expand the encoding further if you didn&#x27;t restrict yourself to a whole number of bits per character.
评论 #14473586 未加载
评论 #14473345 未加载
fiatjafalmost 8 years ago
I hate this game.<p>Manage to make 1 point at 𤄻𣺻𣼋耈𣺻興𣼫兊𠨋𢪄𡚻𡢁𢙌𢚻𠛀𣪻栌𤄋𤯄𤆻𤆠𠞠𤪇𤆻𠙀𤅴𤆧𣪤𡚻𥪹炌𤆀㶸聙𡊰𠨌𡪻𤇅𤆀薠嫊䂔𔔌𥩋㲼耈𠊁繈倘𤨸𣾔㼬𤚱𢩋𣿋𡉌膹敃ꎹ𡩋肐𠝒𠚬醸聛㰩<p><a href="https:&#x2F;&#x2F;qntm.org&#x2F;files&#x2F;hatetris&#x2F;hatetris.html" rel="nofollow">https:&#x2F;&#x2F;qntm.org&#x2F;files&#x2F;hatetris&#x2F;hatetris.html</a>
评论 #14474842 未加载
jxyalmost 8 years ago
Since when did people start to label C implementation as &quot;Unix shell&quot;?
评论 #14473573 未加载
评论 #14475509 未加载
评论 #14473366 未加载
评论 #14473699 未加载
prophesialmost 8 years ago
So, anyone got any good HATETRIS replays? I&#x27;ll edit my post if I find myself getting a good one. <a href="https:&#x2F;&#x2F;qntm.org&#x2F;files&#x2F;hatetris&#x2F;hatetris.html" rel="nofollow">https:&#x2F;&#x2F;qntm.org&#x2F;files&#x2F;hatetris&#x2F;hatetris.html</a><p>Edit: If you didn&#x27;t look at the repo, this encoding was made to post HATERIS replays on Twitter.<p>Edit: Only 3 points so far 𤆂𤆻𡚻𤆥㲺着遈𥮸㼉𤄛皲𤆻孈𤇆𡊾缎𓍌𤂻职𢪻郇膻𤅋𠅌傺𢊰䡪𤇄𤪤𡪻ꋇ𥆸𤶹膺𢡋聜𠆬𤪄膹𠬋㿄𠘬臀㾤冹𣾻𡈰𠭀䂹𤄔㼌𤚐𤢰𢢻𤇀𤞁䂺㬅𢉋𤮹㼆𣛄𡫀𤚒㡋𤢀ᖠ
评论 #14474315 未加载
评论 #14474519 未加载
eponeponeponalmost 8 years ago
Crikey, I thought this was going to be a joke project, but it isn&#x27;t. Is it..?<p>Either way, it&#x27;s a neat piece of thinking.
评论 #14473329 未加载
dheeraalmost 8 years ago
If you really want to put binary data on Twitter, why not encode it in an image? You could probably get several tens of kilobytes of binary data reliably encoded in a JPEG of the maximum size Twitter allows.
评论 #14474534 未加载
评论 #14474000 未加载
supernintendoalmost 8 years ago
Neat. I see a lot of mention of Twitter but the first thing I thought of was packet compression. A ~50 byte packet shaves off around 20 bytes with this. Those are good savings although I haven&#x27;t looked into the encoder &#x2F; decoder enough to know if it&#x27;s worth the tradeoff of having to translate every packet on both ends. I can also see UDP datagrams being a pain in the ass to work with when you&#x27;re throwing around streams of Unicode characters.<p>Overall though, I like it and look forward to Base131072 being possible!
评论 #14475067 未加载
shemnon42almost 8 years ago
All those stats and one lingering question: whats the Weissman Score?
评论 #14473890 未加载
gvxalmost 8 years ago
Last year, I did a similar project: <a href="https:&#x2F;&#x2F;github.com&#x2F;gvx&#x2F;base116676" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gvx&#x2F;base116676</a><p>It had a feature where it automatically would try a couple of compression algorithms on the text to be able to cram even more into a single tweet.<p>I don&#x27;t think it has a practical use, but it was fun to make.
stcredzeroalmost 8 years ago
Base 32768 has a very sexy 93.75% efficiency! Maybe I should use that with my browser game?
评论 #14473374 未加载
评论 #14473611 未加载
comboyalmost 8 years ago
Do not try playing this game. You&#x27;re welcome.
评论 #14473258 未加载
marcosdumayalmost 8 years ago
Looks like we should create some other 20k emoji.
pbhjpbhjalmost 8 years ago
&quot;See a need, fill a need&quot; (Bigweld).
dzucalmost 8 years ago
Enantiomorphic tetris!
terminadoalmost 8 years ago
What, no Java?
jherikoalmost 8 years ago
a sad sign of our times... what a nonsense.
bitwizealmost 8 years ago
What surprises me is that this encoding was developed to allow people to share replays of an illegal, and very pathological, Tetris variant. Hackers gonna hack.
评论 #14473462 未加载