Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #104960
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: WP-A: A New URL Shortener |
| Date | 2016-03-15 23:53 +0100 |
| Organization | PointedEars Software (PES) |
| Message-ID | <17785955.P1rOlOtRcj@PointedEars.de> (permalink) |
| References | <mailman.168.1458075301.12893.python-list@python.org> |
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): <https://www.w3.org/QA/Tips/uri-choose> __________ [1] <http://stackoverflow.com/a/417184/855543> [2] <http://tools.ietf.org/html/rfc3986#appendix-C> -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
WP-A: A New URL Shortener Vinicius Mesel <me@vmesel.com> - 2016-03-15 16:56 -0300
Re: WP-A: A New URL Shortener Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-15 23:53 +0100
Re: WP-A: A New URL Shortener Erik <python@lucidity.plus.com> - 2016-03-15 23:11 +0000
Re: WP-A: A New URL Shortener Chris Angelico <rosuav@gmail.com> - 2016-03-16 10:16 +1100
Re: WP-A: A New URL Shortener Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-16 00:38 +0100
Re: WP-A: A New URL Shortener Chris Angelico <rosuav@gmail.com> - 2016-03-16 10:55 +1100
Re: WP-A: A New URL Shortener Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-16 01:36 +0100
Re: WP-A: A New URL Shortener Gene Heskett <gheskett@wdtv.com> - 2016-03-15 22:34 -0400
Re: WP-A: A New URL Shortener Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-16 03:46 +0100
Re: WP-A: A New URL Shortener Gene Heskett <gheskett@wdtv.com> - 2016-03-15 23:34 -0400
Re: WP-A: A New URL Shortener Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-03-16 17:51 +1100
Re: WP-A: A New URL Shortener Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-03-16 17:27 +1300
Re: WP-A: A New URL Shortener Chris Angelico <rosuav@gmail.com> - 2016-03-16 16:43 +1100
Re: WP-A: A New URL Shortener Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-17 19:27 +0100
Re: WP-A: A New URL Shortener Rick Johnson <rantingrickjohnson@gmail.com> - 2016-03-17 13:40 -0700
Re: WP-A: A New URL Shortener Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-17 22:15 +0100
Re: WP-A: A New URL Shortener Rick Johnson <rantingrickjohnson@gmail.com> - 2016-03-17 21:49 -0700
Re: WP-A: A New URL Shortener Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-19 14:03 +0100
Re: WP-A: A New URL Shortener Rick Johnson <rantingrickjohnson@gmail.com> - 2016-03-15 16:19 -0700
Re: WP-A: A New URL Shortener Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-16 01:22 +0100
Re: WP-A: A New URL Shortener Rick Johnson <rantingrickjohnson@gmail.com> - 2016-03-15 20:40 -0700
Re: WP-A: A New URL Shortener Erik <python@lucidity.plus.com> - 2016-03-15 23:40 +0000
Re: WP-A: A New URL Shortener Chris Angelico <rosuav@gmail.com> - 2016-03-16 10:48 +1100
Re: WP-A: A New URL Shortener Erik <python@lucidity.plus.com> - 2016-03-16 00:31 +0000
Re: WP-A: A New URL Shortener Chris Angelico <rosuav@gmail.com> - 2016-03-16 11:34 +1100
Re: WP-A: A New URL Shortener Chris Angelico <rosuav@gmail.com> - 2016-03-17 23:08 +1100
Re: WP-A: A New URL Shortener Dan Sommers <dan@tombstonezero.net> - 2016-03-17 12:47 +0000
csiph-web