News for hackers. Stuff that matters.
Re:Lon.gs: A URL shortener in C by tropicalmug on Wednesday June 22, 2016 @06:11PM (#11957442)
There are other needs for a shortened URL. Perhaps you have to hardcode a link in code and don't want to be tied to a page whose contents may break. If you control your URL shortener, you can hardcode your shortened one, and update the redirect as needed.
Re:Lon.gs: A URL shortener in C by hk__2 on Wednesday June 22, 2016 @06:17PM (#11957475)
> Perhaps you have to hardcode a link in code and don't want to be tied to a page whose contents may break. If you control your URL shortener, you can hardcode your shortened one, and update the redirect as needed.

And when your URL shortener goes down, all links are dead. Shortening URLs is the last thing you want to do when you need to preserve pages that might go down. Caching is a better solution.

Re:Lon.gs: A URL shortener in C by morninj on Wednesday June 22, 2016 @06:20PM (#11957495)
http://perma.cc addresses this problem.
Re:Lon.gs: A URL shortener in C by colemickens on Wednesday June 22, 2016 @06:31PM (#11957564)
Why would one use this over archive.is?