TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

9m.no – Short URLs for the Unicode Age

202 点作者 ehamberg大约 11 年前

25 条评论

jebus989大约 11 年前
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 未加载
riffraff大约 11 年前
<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_大约 11 年前
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 未加载
batuhanicoz大约 11 年前
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 未加载
DoubleMalt大约 11 年前
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 未加载
gojomo大约 11 年前
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-adams大约 11 年前
I&#x27;ll be screwed if I ever have to retype the short URL. So no good for printing on packaging.
评论 #7783348 未加载
LatencyKills大约 11 年前
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). :)
rcarmo大约 11 年前
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.
chx大约 11 年前
You should combine this with the trick Tinyarrows is doing since 2008: the domain name is a single Unicode character; I guess Punycode FTW :)
smoyer大约 11 年前
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 未加载
lnanek2大约 11 年前
<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!
PDegenPortnoy大约 11 年前
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>
tunesmith大约 11 年前
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.
MaxGabriel大约 11 年前
What was your experience like using Scotty &#x2F;Acid-State for this project?
评论 #7784190 未加载
mp4box大约 11 年前
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 未加载
izzydata大约 11 年前
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 未加载
Aoyagi大约 11 年前
URL shorteners without privacy policy make me feel uncomfortable, but I guess it&#x27;s understandable in case of a new and tiny project.
tytso大约 11 年前
This is a great way of finding all sorts of bugs in your support of Internationalized Domain Names.
shanth大约 11 年前
Haskell &lt;3
matsuu将近 11 年前
<a href="http://縮.jp" rel="nofollow">http:&#x2F;&#x2F;縮.jp</a>
nawitus大约 11 年前
Didn&#x27;t work in a tweet.
mykhal大约 11 年前
why would anyone in the unicode age have to shorten the urls? (:
jedicoffee大约 11 年前
krl.io son son
xsace大约 11 年前
9m.no&#x2F;鼞ϧ
评论 #7783528 未加载