<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: My New URL Shortening Service</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2009/01/23/my-new-url-shortening-service/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.barneyb.com/barneyblog/2009/01/23/my-new-url-shortening-service/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Thu, 11 Sep 2014 09:58:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sami Hoda</title>
		<link>https://www.barneyb.com/barneyblog/2009/01/23/my-new-url-shortening-service/comment-page-1/#comment-158309</link>
		<dc:creator>Sami Hoda</dc:creator>
		<pubDate>Sat, 24 Jan 2009 21:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=652#comment-158309</guid>
		<description>You guys need to see Andy&#039;s code: http://shrinkurl.riaforge.org/</description>
		<content:encoded><![CDATA[<p>You guys need to see Andy's code: <a href="http://shrinkurl.riaforge.org/" rel="nofollow">http://shrinkurl.riaforge.org/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy matthews</title>
		<link>https://www.barneyb.com/barneyblog/2009/01/23/my-new-url-shortening-service/comment-page-1/#comment-158289</link>
		<dc:creator>andy matthews</dc:creator>
		<pubDate>Sat, 24 Jan 2009 19:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=652#comment-158289</guid>
		<description>Yay! I shortened http://www.cnn.com by -583%!!!

:)</description>
		<content:encoded><![CDATA[<p>Yay! I shortened <a href="http://www.cnn.com" rel="nofollow">http://www.cnn.com</a> by -583%!!!</p>
<p>:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rasheed</title>
		<link>https://www.barneyb.com/barneyblog/2009/01/23/my-new-url-shortening-service/comment-page-1/#comment-158267</link>
		<dc:creator>Rasheed</dc:creator>
		<pubDate>Sat, 24 Jan 2009 18:02:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=652#comment-158267</guid>
		<description>I had the same results. To test the service I tried to shorten www.facebook.com and the end result was: http://www.barneyb.com/applications/urlshrink/app/shorturl/3E723B591BDB95CE8F5C9B7032DC572CA97351D0DA5EFC73459C1FBAF438E43B

*Slightly* longer than the original URL. I&#039;m guessing it has to do with using the key from the SHA-256/SHA-512 hash.</description>
		<content:encoded><![CDATA[<p>I had the same results. To test the service I tried to shorten <a href="http://www.facebook.com" rel="nofollow">http://www.facebook.com</a> and the end result was: <a href="http://www.barneyb.com/applications/urlshrink/app/shorturl/3E723B591BDB95CE8F5C9B7032DC572CA97351D0DA5EFC73459C1FBAF438E43B" rel="nofollow">http://www.barneyb.com/applications/urlshrink/app/shorturl/3E723B591BDB95CE8F5C9B7032DC572CA97351D0DA5EFC73459C1FBAF438E43B</a></p>
<p>*Slightly* longer than the original URL. I'm guessing it has to do with using the key from the SHA-256/SHA-512 hash.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary Fenton</title>
		<link>https://www.barneyb.com/barneyblog/2009/01/23/my-new-url-shortening-service/comment-page-1/#comment-158191</link>
		<dc:creator>Gary Fenton</dc:creator>
		<pubDate>Sat, 24 Jan 2009 12:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=652#comment-158191</guid>
		<description>Am I doing this wrong? The following long URL of 101 chars was &quot;shortened&quot; to 123 chars.

Original: http://www.dailymail.co.uk/news/article-1127093/Brown-pips-European-rivals-phone-President-Obama.html

Barney&#039;s: http://www.barneyb.com/applications/urlshrink/app/shorturl/3BBDE5E5539B479F341D60ED74F5E9B655BE06798E689AD87392EE910A65992F

SnipURL: http://snipurl.com/an586

Metamark: http://xrl.us/bednsq

I appreciate Barney&#039;s domain and app path adds a lot to the url&#039;s length, but I&#039;m not sure it uses a full 64 chars for the identifier? This is a lot of padding. Instead of using 16 base consider using 36 base so your encoded urls become a lot shorter. If it logs the full urls in memory or even a db (so the short url identifier points to a record or struct) then start counting from 100 rather than a trillion trillion (or whatever a 64 char hex value is). That way the short urls will always be considerably shorter, or just a handful of chars long, even if there&#039;s a billion of them.

The advantage of your code is that each URL is almost &quot;private&quot; making it nearly impossible to guess working short urls by randomly typing them in. But private information on the web should be protected by a proper login process rather than security by obscurity which leads me back to the thought that a short url should be short.</description>
		<content:encoded><![CDATA[<p>Am I doing this wrong? The following long URL of 101 chars was "shortened" to 123 chars.</p>
<p>Original: <a href="http://www.dailymail.co.uk/news/article-1127093/Brown-pips-European-rivals-phone-President-Obama.html" rel="nofollow">http://www.dailymail.co.uk/news/article-1127093/Brown-pips-European-rivals-phone-President-Obama.html</a></p>
<p>Barney's: <a href="http://www.barneyb.com/applications/urlshrink/app/shorturl/3BBDE5E5539B479F341D60ED74F5E9B655BE06798E689AD87392EE910A65992F" rel="nofollow">http://www.barneyb.com/applications/urlshrink/app/shorturl/3BBDE5E5539B479F341D60ED74F5E9B655BE06798E689AD87392EE910A65992F</a></p>
<p>SnipURL: <a href="http://snipurl.com/an586" rel="nofollow">http://snipurl.com/an586</a></p>
<p>Metamark: <a href="http://xrl.us/bednsq" rel="nofollow">http://xrl.us/bednsq</a></p>
<p>I appreciate Barney's domain and app path adds a lot to the url's length, but I'm not sure it uses a full 64 chars for the identifier? This is a lot of padding. Instead of using 16 base consider using 36 base so your encoded urls become a lot shorter. If it logs the full urls in memory or even a db (so the short url identifier points to a record or struct) then start counting from 100 rather than a trillion trillion (or whatever a 64 char hex value is). That way the short urls will always be considerably shorter, or just a handful of chars long, even if there's a billion of them.</p>
<p>The advantage of your code is that each URL is almost "private" making it nearly impossible to guess working short urls by randomly typing them in. But private information on the web should be protected by a proper login process rather than security by obscurity which leads me back to the thought that a short url should be short.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daver</title>
		<link>https://www.barneyb.com/barneyblog/2009/01/23/my-new-url-shortening-service/comment-page-1/#comment-158095</link>
		<dc:creator>Daver</dc:creator>
		<pubDate>Sat, 24 Jan 2009 05:24:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=652#comment-158095</guid>
		<description>Nice - you saved me some time. I had thought about making one, but hadnt gotten beyond the fact that I wanted my own. :)

I just listed you on my &lt;a href=&quot;http://daverohrer.com/15-tinyurl-alternatives-shorten-your-urls/&quot; rel=&quot;nofollow&quot;&gt;TinyURL Alternatives&lt;/a&gt; list.</description>
		<content:encoded><![CDATA[<p>Nice &#8211; you saved me some time. I had thought about making one, but hadnt gotten beyond the fact that I wanted my own. :)</p>
<p>I just listed you on my <a href="http://daverohrer.com/15-tinyurl-alternatives-shorten-your-urls/" rel="nofollow">TinyURL Alternatives</a> list.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
