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.

9m.no – Short URLs for the Unicode Age

202 pointsby ehambergalmost 11 years ago

25 comments

jebus989almost 11 years ago
All the usual HN nitpicking and obscure edge case discussion should probably be done in the light of ehamberg&#x27;s own comment: &quot;This is a horrible idea in many ways and was a quick hack for fun.&quot; [0]<p>[0] <a href="https://github.com/ehamberg/9m" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ehamberg&#x2F;9m</a>
评论 #7783380 未加载
评论 #7784208 未加载
riffraffalmost 11 years ago
<a href="http://tinyarrows.com/" rel="nofollow">http:&#x2F;&#x2F;tinyarrows.com&#x2F;</a> has existed for years and is actually shorter, i.e. <a href="http://➡.ws/鷇" rel="nofollow">http:&#x2F;&#x2F;➡.ws&#x2F;鷇</a>
评论 #7783500 未加载
评论 #7783802 未加载
Cthulhu_almost 11 years ago
While this is pretty neat, is there still a market for URL shorteners? It&#x27;s been mentioned in this discussion already that Twitter does it automatically already - iirc, that was the main use case for shortened URLs. The other use case is gathering statistics (how many people clicked on my link), but the URL doesn&#x27;t need to be short for that, a simpler redirect service would work just fine for that.<p>The final one is simple printable URLs which people can enter easily. That&#x27;s also a valid use case I think, but mainly if you can create your own URL, i.e. shorturl.com&#x2F;hackernews; a random collection of numbers and letters is hard to type in on a cell phone and easy to mistype.
评论 #7783576 未加载
评论 #7783645 未加载
batuhanicozalmost 11 years ago
Short URL&#x27;s have two purposes for me:<p>- They are easier to spell on the phone (This is not.) - I like to track the clicks (Which I can&#x27;t do with this.)<p>But, as a proof of concept, this is nice.<p>OT: Oh, I&#x27;m turning into a real HNer with this comment.
评论 #7783366 未加载
评论 #7785721 未加载
评论 #7783746 未加载
DoubleMaltalmost 11 years ago
I don&#x27;t think risking url rendered as unicode boxes justifies the reduction of the url by 2 or 3 characters.<p>Nice proof of concept though.
评论 #7783344 未加载
gojomoalmost 11 years ago
From the source code README &lt;<a href="https://github.com/ehamberg/9m&gt;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ehamberg&#x2F;9m&gt;</a>:<p><i>9m Unicode URL Shortener. Generates a shortcut from <a href="http://9m.no" rel="nofollow">http:&#x2F;&#x2F;9m.no</a> using two unicode characters, e.g. <a href="http://9m.no/പ湛" rel="nofollow">http:&#x2F;&#x2F;9m.no&#x2F;പ湛</a>.<p>The server will choose two characters at random from the all the printable characters and then cross its finger and hope you use a great font.<p>(This is a horrible idea in many ways and was a quick hack for fun.)</i>
martin-adamsalmost 11 years ago
I&#x27;ll be screwed if I ever have to retype the short URL. So no good for printing on packaging.
评论 #7783348 未加载
LatencyKillsalmost 11 years ago
Personally, I think this is awesome. If widely adopted it might to help ferret out all the software which still can&#x27;t properly handle unicode urls (which is probably why it <i>won&#x27;t</i> be widely adopted). :)
rcarmoalmost 11 years ago
Back when Gruber tried to do something like that in his @daringfireball Twitter feed, it was so incredibly annoying to have the links fail on all my mobile devices that I set up a Python script to convert the links and re-post them under a @darlingfireball account...<p>He recently posted about that not making sense anymore due to Twitter&#x27;s URL shortener, but I don&#x27;t have the link handy offhand.
chxalmost 11 years ago
You should combine this with the trick Tinyarrows is doing since 2008: the domain name is a single Unicode character; I guess Punycode FTW :)
smoyeralmost 11 years ago
I got <a href="http://9m.no/𑂜൭" rel="nofollow">http:&#x2F;&#x2F;9m.no&#x2F;𑂜൭</a> for my daughter&#x27;s website, but I&#x27;m wondering whether this helps shrink character count when used for services like twitter. It&#x27;s not at all readable, but since it&#x27;s two (I think) 4-byte unicode characters, will that URL be counted as 13 characters or 21 characters?
评论 #7783365 未加载
评论 #7783359 未加载
评论 #7783361 未加载
lnanek2almost 11 years ago
<a href="http://9m.no/؞雅" rel="nofollow">http:&#x2F;&#x2F;9m.no&#x2F;؞雅</a> ⇩ <a href="http://www.google.com" rel="nofollow">http:&#x2F;&#x2F;www.google.com</a><p>Kind of disappointed I got a two character code. Has he used up all the one character ones yet? Time to start a new domain!
PDegenPortnoyalmost 11 years ago
Added to Ohloh: <a href="https://www.ohloh.net/p/nine_m" rel="nofollow">https:&#x2F;&#x2F;www.ohloh.net&#x2F;p&#x2F;nine_m</a>, or to stay stylistically consistent: <a href="http://9m.no/ꋅ곁" rel="nofollow">http:&#x2F;&#x2F;9m.no&#x2F;ꋅ곁</a>
tunesmithalmost 11 years ago
I tried shortening a vanity domain of mine, and the asian characters can roughly be translated as &quot;produce fire from the rays of the sun and break wind&quot;. I don&#x27;t think I&#x27;ll market that shortcut.
MaxGabrielalmost 11 years ago
What was your experience like using Scotty &#x2F;Acid-State for this project?
评论 #7784190 未加载
mp4boxalmost 11 years ago
Probably should block the same domain from shortening.else you&#x27;ll get something like <a href="http://9m.no/婀蒾" rel="nofollow">http:&#x2F;&#x2F;9m.no&#x2F;婀蒾</a> (multiple redirects)
评论 #7783372 未加载
izzydataalmost 11 years ago
So, what would happen if I put in a url, then took the generated url and generated a shortened url on that and then did it again for about 1000 times?
评论 #7784194 未加载
评论 #7784032 未加载
Aoyagialmost 11 years ago
URL shorteners without privacy policy make me feel uncomfortable, but I guess it&#x27;s understandable in case of a new and tiny project.
tytsoalmost 11 years ago
This is a great way of finding all sorts of bugs in your support of Internationalized Domain Names.
shanthalmost 11 years ago
Haskell &lt;3
matsuualmost 11 years ago
<a href="http://縮.jp" rel="nofollow">http:&#x2F;&#x2F;縮.jp</a>
nawitusalmost 11 years ago
Didn&#x27;t work in a tweet.
mykhalalmost 11 years ago
why would anyone in the unicode age have to shorten the urls? (:
jedicoffeealmost 11 years ago
krl.io son son
xsacealmost 11 years ago
9m.no&#x2F;鼞ϧ
评论 #7783528 未加载