Path: csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.python Subject: Re: WP-A: A New URL Shortener Date: Tue, 15 Mar 2016 23:53:53 +0100 Organization: PointedEars Software (PES) Lines: 57 Message-ID: <17785955.P1rOlOtRcj@PointedEars.de> References: Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1458082474 8149 eJwNyskRADEIA7CWOGyylOOBSf8lbPQWs7zmoFjg5Z35NHBX8RjRPoxQQDR1W5pib3TkK9jFDwtFEEw= (15 Mar 2016 22:54:34 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Tue, 15 Mar 2016 22:54:34 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNyMkBwCAIBMCWkGORchTZ/ktI5jlhWOh0BDwYvJNS2uxC04C0rTRPxt/KiXxPRutkiMx5Xba3r9Pa91LsA1GpFZs= Cancel-Lock: sha1:yXggEafkXuxV6/WDwXlKJTCzHEM= X-NNTP-Posting-Host: eJwNx8EBwCAIA8CVQJIg41Qs+4/Q3u8YcnVCFDgc9MmidtuDba4Tk7Oq39X36pRHmZmniMGfDxLeEEY= Xref: csiph.com comp.lang.python:104960 Vinicius Mesel wrote: > I'm a 16 year old Python Programmer that wanted to do something different. > But, like we know, ideas are quite difficult to find. > So I decided to develop a URL Shortener to help the Python community out > and share my coding knowledge, and today the project was launched with its > first stable version. So if you want to see the software working, go check > it out at: http://wp-a.co/ Or if you want to see the source code to > contribute and help the project: https://github.com/vmesel/WP-A.CO While I commend your efforts, I think that you should have chosen another topic for your project. It is also hard for me to see in which way this is “something different” – are there not enough “URL Shorteners” already? –, and how a “URL Shortener” could “help the Python community out”. Because I think that “URL Shorteners” are a bad idea in the first place: One never knows for how long a time a “short URL” works, who is listening in the middle, and what they are referring to, until one uses them at which point it is too late. If a “short URL” expires, there is *no way* to retrieve the referred content; when a *real* URI breaks, there are services like the Internet Archive and the Google cache to help one out. So when I see a “short URL”, I tend not to use it. I find it particularly disturbing that in wpa.py:processaURL() your software apparently stores the original URIs in an SQL database; in the case of your proof-of-concept, in *your* database. So *you* are listening in the middle then. I cannot be sure because I have not thought this through, but with aliases for common second-level domains, and with text compression, it should be possible to do this without a database. So sorry, because of that already, I will certainly not use or recommend your service. “Leave others the privacies of their minds and lives. Intimacy remains precious only insofar as it is inviolate.” ─Surak And with the exception of Twitter-ish sites that place a limit on message length, there really is *no need* for shorter URIs nowadays. (HTTP) clients and servers are capable of processing really long ones [1]; electronic communications media and related software, too [2]. And data storage space as well as data transmission has become exceptionally inexpensive. A few less bytes there do not count. Instead, there *is* a need for *concise*, *semantic* URIs that Web (service) users can *easily* *remember*. It is the duty of the original Web authors∕developers to make sure that there are, and I think that no kind of automation is going to ease or replace thoughtful path design anytime soon (but please, prove me wrong): __________ [1] [2] -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.