Path: csiph.com!xmission!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: Wed, 16 Mar 2016 01:36:16 +0100 Organization: PointedEars Software (PES) Lines: 54 Message-ID: <2824788.vN2ksVeYOB@PointedEars.de> References: <17785955.P1rOlOtRcj@PointedEars.de> <1637296.ljfaO6m7tu@PointedEars.de> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1458088577 31208 eJwFwQERADEIAzBLcLQdL4fB8C/hE4ZcfSAKXG7yVjfCtzOC8+yoaXahyZjnqPx2RmT1In4h+xFh (16 Mar 2016 00:36:17 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Wed, 16 Mar 2016 00:36:17 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwdyskRACEIBMCUOIZRwlGR/ENYa9/d4VSeAQYRHa03lhXKjeYZbRO3NjJ/U3u1SDEcGQGZ3HwClvcqrfwAPewVDg== Cancel-Lock: sha1:bAW0mJErlOb/4224wegI6l4MYIY= X-NNTP-Posting-Host: eJwNx8EBgDAIA8CVKITAOpHK/iPo/S6Dh1NgErm5D65Fuf1RNl/nDQl2ZgmhRU2YqtGx4/wAEp4QwQ== Xref: csiph.com comp.lang.python:104975 Chris Angelico wrote: > On Wed, Mar 16, 2016 at 10:38 AM, Thomas 'PointedEars' Lahn > wrote: >> Chris Angelico wrote: >>> On Wed, Mar 16, 2016 at 9:53 AM, Thomas 'PointedEars' Lahn >>> wrote: >>>> […] 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. >>> >>> How? If you shorten URLs, you have to be able to reconstruct the long >>> ones. Compression can't do that to arbitrary lengths. Somewhere there >>> needs to be the rest of the information. >> >> First of all, you quoted me out of context. > > I trimmed the context. You got a problem with that? Please do not insult my intelligence. I have a problem with that you are not marking the omission of considerable parts of *my* text, here giving the wrong impression that I did not start my follow-up in an encouraging way. >> Second, do you even read what you reply to? See the markings above. > > Instead of thinking about URL shorteners specifically, think generally > about information theory. You cannot, fundamentally, shorten all URLs > arbitrarily. There just isn't enough room to store the information. You are the one introducing “arbitrary” here. I am not at all convinced, but this discussion is beyond the scope of this newsgroup/mailing list. >> But speaking of length limits, the lines in your postings are too long, >> according to Usenet convention. I had to correct the quotations so that >> they remained readable when word-wrapped. > > Oh, so you'd rather the lines be cut to... I dunno, 80 characters? No, quotations ought to be word-wrapped, preserving paragraphs, in order not to exceed that limit. That is why the recommended line length limit for posting is not 80 characters, but something from 68 to 78. > Might be a good reason to use a URL shortener. URIs can posted to a newsgroup/mailing list without shortening them, by wrapping them without breaking them. Will you *please* read [2] to clarify that misconception of yours? -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.