Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #32810

Re: Coordination between developers in the Python project

References <CAJ3Jx7P6CUdqhrqXmHQAc_hBZcNv+ZDdDSEduS9PgfUQgpnqEQ@mail.gmail.com> <50980ED4.7030705@udel.edu> <CALwzidmp1yquXRdwtOhyqNnnzkUVC2891HM7sDHpOsfXQE+Q3A@mail.gmail.com> <CAPTjJmr1WJgCMomBH8KpXVz+PcpyYSxDYmoe2pTPHR6rKMJzDg@mail.gmail.com> <CALwzidnC=jvE5KxCgZB01XoGOXUFow7o-o_aBY3v=2ONWP9d1g@mail.gmail.com>
Date 2012-11-06 19:59 +1100
Subject Re: Coordination between developers in the Python project
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3315.1352192354.27098.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Nov 6, 2012 at 7:49 PM, Ian Kelly <ian.g.kelly@gmail.com> wrote:
> On Mon, Nov 5, 2012 at 3:01 PM, Chris Angelico <rosuav@gmail.com> wrote:
>> By "URL unshortening service" you mean a simple HTTP request to
>> bit.ly:80, right? :) Though I admit there aren't many easy and
>> convenient ways to do that without immediately following the 301
>> redirect.
>
> That's one way to do it.  Although I find it a bit easier to just use
> something like unshorten.com, which is the first Google hit for "url
> unshortener".  Assuming that you trust that site to not be hosting
> malware itself. :-)

A few years ago, I found myself bugged by URLs getting broken across
multiple lines when shared across a MUD communication channel
(80-character lines, with a header on each line, so there'd be between
65 and 75 usable characters per line), so I wrote a feature into my
MUD client that would auto-shorten long URLs by passing them to
tinyurl.com, and also "render" them on the other side - if it started
http://tinyurl.com/ then the client would, on request, query tinyurl
and snag the returned URL back into the display.

For some reason it never occurred to me to do it any way other than
direct socket operations in C.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Coordination between developers in the Python project Chris Angelico <rosuav@gmail.com> - 2012-11-06 19:59 +1100

csiph-web