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


Groups > comp.lang.python > #37259 > unrolled thread

Using filepath method to identify an .html page

Started byFerrous Cranus <nikos.gr33k@gmail.com>
First post2013-01-22 02:07 -0800
Last post2013-01-22 17:27 -0800
Articles 20 on this page of 92 — 15 participants

Back to article view | Back to comp.lang.python


Contents

  Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 02:07 -0800
    Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 11:31 +0000
      Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 03:53 -0800
        Re: Using filepath method to identify an .html page Chris Angelico <rosuav@gmail.com> - 2013-01-22 23:26 +1100
      Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 04:02 -0800
        Re: Using filepath method to identify an .html page Lele Gaifax <lele@metapensiero.it> - 2013-01-22 13:22 +0100
        Re: Using filepath method to identify an .html page Dave Angel <d@davea.name> - 2013-01-22 07:29 -0500
          Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 04:47 -0800
            Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 04:50 -0800
            Re: Using filepath method to identify an .html page Chris Angelico <rosuav@gmail.com> - 2013-01-22 23:59 +1100
            Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 04:50 -0800
          Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 04:47 -0800
            Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 13:04 +0000
              Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 05:57 -0800
                Re: Using filepath method to identify an .html page Chris Angelico <rosuav@gmail.com> - 2013-01-23 01:33 +1100
                  Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 06:55 -0800
                    Re: Using filepath method to identify an .html page Dave Angel <d@davea.name> - 2013-01-22 10:05 -0500
                      Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 07:21 -0800
                        Re: Using filepath method to identify an .html page Chris Angelico <rosuav@gmail.com> - 2013-01-23 02:27 +1100
                        Re: Using filepath method to identify an .html page Michael Torrie <torriem@gmail.com> - 2013-01-22 11:36 -0700
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:40 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:40 +0000
                            Re: Using filepath method to identify an .html page Michael Torrie <torriem@gmail.com> - 2013-01-22 17:07 -0700
                            Re: Using filepath method to identify an .html page MRAB <python@mrabarnett.plus.com> - 2013-01-23 00:40 +0000
                              Re: Using filepath method to identify an .html page rusi <rustompmody@gmail.com> - 2013-01-22 18:55 -0800
                            Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-23 02:50 +0000
                              Re: Using filepath method to identify an .html page rusi <rustompmody@gmail.com> - 2013-01-22 19:04 -0800
                                Re: Using filepath method to identify an .html page Chris Angelico <rosuav@gmail.com> - 2013-01-23 15:44 +1100
                            Re: Using filepath method to identify an .html page Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-01-22 22:15 -0500
                            Re: Using filepath method to identify an .html page MRAB <python@mrabarnett.plus.com> - 2013-01-23 03:35 +0000
                            Re: Using filepath method to identify an .html page Michael Torrie <torriem@gmail.com> - 2013-01-22 22:10 -0700
                            Re: Using filepath method to identify an .html page Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-01-23 01:13 -0500
                            RE: Using filepath method to identify an .html page "Leonard, Arah" <Arah.Leonard@bruker-axs.com> - 2013-01-23 16:33 +0000
                              Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-23 08:51 -0800
                                RE: Using filepath method to identify an .html page "Leonard, Arah" <Arah.Leonard@bruker-axs.com> - 2013-01-23 18:19 +0000
                                Re: Using filepath method to identify an .html page Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-01-23 18:36 +0000
                                Re: Using filepath method to identify an .html page Dave Angel <d@davea.name> - 2013-01-23 17:46 -0500
                              Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-23 08:51 -0800
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:34 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:35 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:34 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:36 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:36 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:37 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:39 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:38 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:39 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:37 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:38 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:39 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:36 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:35 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:37 +0000
                        Re: Using filepath method to identify an .html page Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-01-22 16:44 -0500
                      Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 07:21 -0800
                    Re: Using filepath method to identify an .html page Chris Angelico <rosuav@gmail.com> - 2013-01-23 02:07 +1100
                    Re: Using filepath method to identify an .html page Peter Otten <__peter__@web.de> - 2013-01-22 16:25 +0100
                      Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 07:46 -0800
                        Re: Using filepath method to identify an .html page Dave Angel <d@davea.name> - 2013-01-22 11:11 -0500
                        RE: Using filepath method to identify an .html page "Leonard, Arah" <Arah.Leonard@bruker-axs.com> - 2013-01-22 16:23 +0000
                          Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 10:13 -0800
                            Re: Using filepath method to identify an .html page Michael Torrie <torriem@gmail.com> - 2013-01-22 11:43 -0700
                          Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 10:13 -0800
                      Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 07:46 -0800
                      Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 07:59 -0800
                        Re: Using filepath method to identify an .html page Chris Angelico <rosuav@gmail.com> - 2013-01-23 03:11 +1100
                          Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 10:26 -0800
                            Re: Using filepath method to identify an .html page MRAB <python@mrabarnett.plus.com> - 2013-01-22 18:49 +0000
                            Re: Using filepath method to identify an .html page Michael Torrie <torriem@gmail.com> - 2013-01-22 11:49 -0700
                            Re: Using filepath method to identify an .html page Dave Angel <d@davea.name> - 2013-01-22 14:00 -0500
                            Re: Using filepath method to identify an .html page Peter Otten <__peter__@web.de> - 2013-01-22 20:16 +0100
                              Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 23:25 -0800
                                Re: Using filepath method to identify an .html page Michael Torrie <torriem@gmail.com> - 2013-01-23 08:25 -0700
                                  Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-23 07:56 -0800
                                  Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-23 07:56 -0800
                              Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 23:25 -0800
                          Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 10:26 -0800
                      Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 07:59 -0800
                        Re: Using filepath method to identify an .html page John Gordon <gordon@panix.com> - 2013-01-22 16:55 +0000
                          Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 10:07 -0800
                            Re: Using filepath method to identify an .html page John Gordon <gordon@panix.com> - 2013-01-22 18:37 +0000
                            Re: Using filepath method to identify an .html page Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-01-22 17:01 -0500
                            Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 23:23 +0000
                        Re: Using filepath method to identify an .html page rusi <rustompmody@gmail.com> - 2013-01-22 09:33 -0800
                          Re: Using filepath method to identify an .html page Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-01-22 17:54 +0000
                          Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 10:23 -0800
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 22:45 +0000
                          Re: Using filepath method to identify an .html page Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-22 22:44 +0000
                          Re: Using filepath method to identify an .html page Mitya Sirenef <msirenef@lightbird.net> - 2013-01-22 19:23 -0500
                  Re: Using filepath method to identify an .html page Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-01-22 06:55 -0800
    Re: Using filepath method to identify an .html page Michael Torrie <torriem@gmail.com> - 2013-01-22 11:21 -0700
    Re: Using filepath method to identify an .html page alex23 <wuwei23@gmail.com> - 2013-01-22 17:27 -0800

Page 2 of 5 — ← Prev page 1 [2] 3 4 5  Next page →


#37357

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-01-22 23:40 +0000
Message-ID<50ff235b$0$29994$c3e8da3$5496439d@news.astraweb.com>
In reply to#37327
On Tue, 22 Jan 2013 11:36:31 -0700, Michael Torrie wrote:

> I'm sorry you are getting so frustrated.  There's obviously a language
> barrier here, 

I don't think there is. The OP's posts have been written in excellent 
English.

I think we've been well and truly trolled, by somebody who even uses the 
name of a troll as his user name.

http://redwing.hutman.net/~mreed/warriorshtm/ferouscranus.htm


Thanks to Alan Spence for linking to the "Flame Warriors" web site. I 
can't believe that it took so long for anyone to realise that we were 
being trolled.

I hate to admit it, but I kind of have to admire somebody who can play 
dumb so well for so long for the lulz. Well played Ferrous Cranus, well 
played. Now please go and play your silly games elsewhere.



-- 
Steven

[toc] | [prev] | [next] | [standalone]


#37358

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-01-22 23:40 +0000
Message-ID<50ff2368$0$29994$c3e8da3$5496439d@news.astraweb.com>
In reply to#37327
On Tue, 22 Jan 2013 11:36:31 -0700, Michael Torrie wrote:

> I'm sorry you are getting so frustrated.  There's obviously a language
> barrier here, 

I don't think there is. The OP's posts have been written in excellent 
English.

I think we've been well and truly trolled, by somebody who even uses the 
name of a troll as his user name.

http://redwing.hutman.net/~mreed/warriorshtm/ferouscranus.htm


Thanks to Alan Spence for linking to the "Flame Warriors" web site. I 
can't believe that it took so long for anyone to realise that we were 
being trolled.

I hate to admit it, but I kind of have to admire somebody who can play 
dumb so well for so long for the lulz. Well played Ferrous Cranus, well 
played. Now please go and play your silly games elsewhere.



-- 
Steven

[toc] | [prev] | [next] | [standalone]


#37367

FromMichael Torrie <torriem@gmail.com>
Date2013-01-22 17:07 -0700
Message-ID<mailman.845.1358899649.2939.python-list@python.org>
In reply to#37358
On 01/22/2013 04:40 PM, Steven D'Aprano wrote:
> On Tue, 22 Jan 2013 11:36:31 -0700, Michael Torrie wrote:
> 
>> I'm sorry you are getting so frustrated.  There's obviously a language
>> barrier here, 
> 
> I don't think there is. The OP's posts have been written in excellent 
> English.

Well, his English is pretty good. But his quote string is Cyrillic, and
he uses phrases that are not common in everyday English, such as "I am
compelled." English is clearly his second language.

[toc] | [prev] | [next] | [standalone]


#37387

FromMRAB <python@mrabarnett.plus.com>
Date2013-01-23 00:40 +0000
Message-ID<mailman.850.1358901653.2939.python-list@python.org>
In reply to#37358
On 2013-01-23 00:07, Michael Torrie wrote:
> On 01/22/2013 04:40 PM, Steven D'Aprano wrote:
>> On Tue, 22 Jan 2013 11:36:31 -0700, Michael Torrie wrote:
>>
>>> I'm sorry you are getting so frustrated.  There's obviously a language
>>> barrier here,
>>
>> I don't think there is. The OP's posts have been written in excellent
>> English.
>
> Well, his English is pretty good. But his quote string is Cyrillic, and
> he uses phrases that are not common in everyday English, such as "I am
> compelled." English is clearly his second language.
>
"his quote string is Cyrillic"?

If you're referring to the "Τη Τρίτη, 22 Ιανουαρίου 2013 6:23:16 μ.μ.
UTC+2, ο χρήστης Leonard, Arah έγραψε", that's Greek.

[toc] | [prev] | [next] | [standalone]


#37397

Fromrusi <rustompmody@gmail.com>
Date2013-01-22 18:55 -0800
Message-ID<98a03161-34b8-4d04-8d25-430bac869c5b@oi3g2000pbb.googlegroups.com>
In reply to#37387
On Jan 23, 5:40 am, MRAB <pyt...@mrabarnett.plus.com> wrote:

> "his quote string is Cyrillic"?
>
> If you're referring to the "Τη Τρίτη, 22 Ιανουαρίου 2013 6:23:16 μ.μ.
> UTC+2, ο χρήστης Leonard, Arah έγραψε", that's Greek.

Cyrillic or Greek -- its all greek to me (or Cyrillic)

[toc] | [prev] | [next] | [standalone]


#37398

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-01-23 02:50 +0000
Message-ID<50ff4fde$0$29877$c3e8da3$5496439d@news.astraweb.com>
In reply to#37358
On Tue, 22 Jan 2013 23:40:24 +0000, Steven D'Aprano wrote:
[snip content]


Holy crap! Sorry for the flood of duplicated posts. That was out of my 
control, honest.


-- 
Steven

[toc] | [prev] | [next] | [standalone]


#37400

Fromrusi <rustompmody@gmail.com>
Date2013-01-22 19:04 -0800
Message-ID<763db78e-864c-4f58-9820-d4fcda0a7101@6g2000pbh.googlegroups.com>
In reply to#37398
On Jan 23, 7:50 am, Steven D'Aprano <steve
+comp.lang.pyt...@pearwood.info> wrote:
> On Tue, 22 Jan 2013 23:40:24 +0000, Steven D'Aprano wrote:
>
> [snip content]
>
> Holy crap! Sorry for the flood of duplicated posts. That was out of my
> control, honest.
>
> --
> Steven

Now Now!

Considering that you've fried the <unmentionable> of all the poor "out-
of-my-control' double-posting GG users, what punishment shall we find
for you?

Heres an idea: Use GG yourself.
It will help the group/mailing list by reducing 5-fold double-posting
to only 2.
It will make you more morally muscular <wink>

[toc] | [prev] | [next] | [standalone]


#37412

FromChris Angelico <rosuav@gmail.com>
Date2013-01-23 15:44 +1100
Message-ID<mailman.862.1358916244.2939.python-list@python.org>
In reply to#37400
On Wed, Jan 23, 2013 at 2:04 PM, rusi <rustompmody@gmail.com> wrote:
> Considering that you've fried the <unmentionable> of all the poor "out-
> of-my-control' double-posting GG users, what punishment shall we find
> for you?
>
> Heres an idea: Use GG yourself.
> It will help the group/mailing list by reducing 5-fold double-posting
> to only 2.
> It will make you more morally muscular <wink>

My object all sublime, I shall achieve in time, to let the punishment
fit the crime, the punishment fit the crime!

Steven, you are hereby sentenced to two hundred hours of community
service, responding to posts from Google Groups users who have sent to
both python-list and c.l.p. However, this court does know leniency,
and time already served will be counted. You are therefore free. Go
and sin no more.

ChrisA

[toc] | [prev] | [next] | [standalone]


#37404

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2013-01-22 22:15 -0500
Message-ID<mailman.857.1358911190.2939.python-list@python.org>
In reply to#37358
On 22 Jan 2013 23:40:24 GMT, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> declaimed the following in
gmane.comp.python.general:

> On Tue, 22 Jan 2013 11:36:31 -0700, Michael Torrie wrote:
> 
> > I'm sorry you are getting so frustrated.  There's obviously a language
> > barrier here, 
> 
> I don't think there is. The OP's posts have been written in excellent 
> English.
> 
	<snip>

	Okay -- somebody's server glitched... I just received sixteen copies
of this message.

-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#37407

FromMRAB <python@mrabarnett.plus.com>
Date2013-01-23 03:35 +0000
Message-ID<mailman.860.1358912123.2939.python-list@python.org>
In reply to#37358
On 2013-01-23 03:15, Dennis Lee Bieber wrote:
> On 22 Jan 2013 23:40:24 GMT, Steven D'Aprano
> <steve+comp.lang.python@pearwood.info> declaimed the following in
> gmane.comp.python.general:
>
>> On Tue, 22 Jan 2013 11:36:31 -0700, Michael Torrie wrote:
>>
>> > I'm sorry you are getting so frustrated.  There's obviously a language
>> > barrier here,
>>
>> I don't think there is. The OP's posts have been written in excellent
>> English.
>>
> 	<snip>
>
> 	Okay -- somebody's server glitched... I just received sixteen copies
> of this message.
>
You counted them? I didn't bother! :-)

[toc] | [prev] | [next] | [standalone]


#37414

FromMichael Torrie <torriem@gmail.com>
Date2013-01-22 22:10 -0700
Message-ID<mailman.864.1358917864.2939.python-list@python.org>
In reply to#37358
On 01/22/2013 05:40 PM, MRAB wrote:
> "his quote string is Cyrillic"?
> 
> If you're referring to the "Τη Τρίτη, 22 Ιανουαρίου 2013 6:23:16 μ.μ.
> UTC+2, ο χρήστης Leonard, Arah έγραψε", that's Greek.

Oh, haha! you're so right!

[toc] | [prev] | [next] | [standalone]


#37415

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2013-01-23 01:13 -0500
Message-ID<mailman.865.1358921648.2939.python-list@python.org>
In reply to#37358
On Wed, 23 Jan 2013 03:35:22 +0000, MRAB <python@mrabarnett.plus.com>
declaimed the following in gmane.comp.python.general:

> You counted them? I didn't bother! :-)

	Evidence... As with Dragnet "Just the facts..."
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#37489

From"Leonard, Arah" <Arah.Leonard@bruker-axs.com>
Date2013-01-23 16:33 +0000
Message-ID<mailman.909.1358958795.2939.python-list@python.org>
In reply to#37358
> "his quote string is Cyrillic"?
> 
> If you're referring to the "Τη Τρίτη, 22 Ιανουαρίου 2013 6:23:16 μ.μ.
> UTC+2, ο χρήστης Leonard, Arah έγραψε", that's Greek.
> 

Cyrillic or not, it's all Greek to me.  ;)

[toc] | [prev] | [next] | [standalone]


#37490

FromFerrous Cranus <nikos.gr33k@gmail.com>
Date2013-01-23 08:51 -0800
Message-ID<ea33b25d-91f9-4669-9161-50c35449a528@googlegroups.com>
In reply to#37489
Τη Τετάρτη, 23 Ιανουαρίου 2013 6:33:11 μ.μ. UTC+2, ο χρήστης Leonard, Arah έγραψε:
> > "his quote string is Cyrillic"?
> 
> > 
> 
> > If you're referring to the "Τη Τρίτη, 22 Ιανουαρίου 2013 6:23:16 μ.μ.
> 
> > UTC+2, ο χρήστης Leonard, Arah έγραψε", that's Greek.
> 
> > 
> 
> 
> Cyrillic or not, it's all Greek to me.  ;)
=============================================
my @i = split(//,$url); # put each letter in it's own bin 
my $j=0;   # Initailize our 
my $k=1;   # hashing increment values 
my @m=();  # workspace 
foreach my $n(@i){ 
       my $q=ord($n);  # ASCII for character 
       $k += $j;       # Increment our hash offset 
       $q += $k;       # add our "old" value 
       $j = $k;        # store that. 
       push @m,$q;     # save the offsetted value 
} 
        
my $hashval=0;  #initialize our hash value 
# Generate that 
map { $hashval = ($hashval + $_) % 100000} @m; 
=============================================


Is this the solution i seek to turn an 'absolute path' <=> '5-digit number' in a bi-directional way?

[toc] | [prev] | [next] | [standalone]


#37497

From"Leonard, Arah" <Arah.Leonard@bruker-axs.com>
Date2013-01-23 18:19 +0000
Message-ID<mailman.915.1358965203.2939.python-list@python.org>
In reply to#37490
> =============================================
> my @i = split(//,$url); # put each letter in it's own bin 
> my $j=0;   # Initailize our 
> my $k=1;   # hashing increment values 
> my @m=();  # workspace
> foreach my $n(@i){ 
>        my $q=ord($n);  # ASCII for character 
>        $k += $j;       # Increment our hash offset 
>        $q += $k;       # add our "old" value 
>        $j = $k;        # store that. 
>        push @m,$q;     # save the offsetted value 
> } 
>         
> my $hashval=0;  #initialize our hash value # Generate that map { $hashval = ($hashval + $_) % 100000} @m; 
> =============================================
>
>
> Is this the solution i seek to turn an 'absolute path' <=> '5-digit number' in a bi-directional way?
> 

1) There is NO solution to turn a complete path into a 4-digit number in a bi-directional way, no matter what language you write it in.  Nor does adding one more digit make it any more plausible.  It is NOT possible.  Which is why EVERYONE keeps telling you that.  The only way to store a complete path in a unique and bi-directional way is to STORE THE COMPLETE PATH.  Even if you compress the path data in some way, you would still need to store the complete path.

2) Within reason and sanity, any use of a modulus operator to chop a large checksum value into a small value means that the results are not unique and not reversible.  This was plainly stated from the beginning, and is still true no matter how many programming languages you write it in.

3) This is a Python-specific resource and that's not even Python code.  What next?  Javascript?  Ada?  Fortran?  COBOL?  8-bit x86 assembly with minimal comments written in Esperanto?

4) The novelty of the entertainment resulting from this perversity has waned, even for me.  The educational aspect to novice programmers has likewise run dry.  I've now officially grown bored of your game and am joining everyone else who already has already gotten off of this kiddie ride.  Congratulations on beating a dead horse into mince-meat and successfully milking the one-uddered cow until the pale is full.  I hope that you enjoyed your meal.

Or to borrow a phrase, "I say GOOD DAY, sir!"

[toc] | [prev] | [next] | [standalone]


#37498

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-01-23 18:36 +0000
Message-ID<mailman.916.1358967096.2939.python-list@python.org>
In reply to#37490
On 23/01/2013 18:19, Leonard, Arah wrote:
> 3) This is a Python-specific resource and that's not even Python code.  What next?  Javascript?  Ada?  Fortran?  COBOL?  8-bit x86 assembly with minimal comments written in Esperanto?
>

Please can we have CORAL 66 mentioned on the odd occasion.

> 4) The novelty of the entertainment resulting from this perversity has waned, even for me.  The educational aspect to novice programmers has likewise run dry.  I've now officially grown bored of your game and am joining everyone else who already has already gotten off of this kiddie ride.  Congratulations on beating a dead horse into mince-meat and successfully milking the one-uddered cow until the pale is full.  I hope that you enjoyed your meal.
>

Pail not pale :)

> Or to borrow a phrase, "I say GOOD DAY, sir!"
>

Or madam?

-- 
Cheers.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#37512

FromDave Angel <d@davea.name>
Date2013-01-23 17:46 -0500
Message-ID<mailman.926.1358981236.2939.python-list@python.org>
In reply to#37490
On 01/23/2013 01:36 PM, Mark Lawrence wrote:
> On 23/01/2013 18:19, Leonard, Arah wrote:
>> 3) This is a Python-specific resource and that's not even Python
>> code.  What next?  Javascript?  Ada?  Fortran?  COBOL?  8-bit x86
>> assembly with minimal comments written in Esperanto?
>>
>
> Please can we have CORAL 66 mentioned on the odd occasion.
>
>> 4) The novelty of the entertainment resulting from this perversity has
>> waned, even for me.  The educational aspect to novice programmers has
>> likewise run dry.  I've now officially grown bored of your game and am
>> joining everyone else who already has already gotten off of this
>> kiddie ride.  Congratulations on beating a dead horse into mince-meat
>> and successfully milking the one-uddered cow until the pale is full.
>> I hope that you enjoyed your meal.
>>
>
> Pail not pale :)
>
>> Or to borrow a phrase, "I say GOOD DAY, sir!"
>>
>
> Or madam?
>

or 'script kiddie'

-- 
DaveA

[toc] | [prev] | [next] | [standalone]


#37492

FromFerrous Cranus <nikos.gr33k@gmail.com>
Date2013-01-23 08:51 -0800
Message-ID<mailman.911.1358959920.2939.python-list@python.org>
In reply to#37489
Τη Τετάρτη, 23 Ιανουαρίου 2013 6:33:11 μ.μ. UTC+2, ο χρήστης Leonard, Arah έγραψε:
> > "his quote string is Cyrillic"?
> 
> > 
> 
> > If you're referring to the "Τη Τρίτη, 22 Ιανουαρίου 2013 6:23:16 μ.μ.
> 
> > UTC+2, ο χρήστης Leonard, Arah έγραψε", that's Greek.
> 
> > 
> 
> 
> Cyrillic or not, it's all Greek to me.  ;)
=============================================
my @i = split(//,$url); # put each letter in it's own bin 
my $j=0;   # Initailize our 
my $k=1;   # hashing increment values 
my @m=();  # workspace 
foreach my $n(@i){ 
       my $q=ord($n);  # ASCII for character 
       $k += $j;       # Increment our hash offset 
       $q += $k;       # add our "old" value 
       $j = $k;        # store that. 
       push @m,$q;     # save the offsetted value 
} 
        
my $hashval=0;  #initialize our hash value 
# Generate that 
map { $hashval = ($hashval + $_) % 100000} @m; 
=============================================


Is this the solution i seek to turn an 'absolute path' <=> '5-digit number' in a bi-directional way?

[toc] | [prev] | [next] | [standalone]


#37362

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-01-22 23:34 +0000
Message-ID<50ff21ea$0$29965$c3e8da3$5496439d@news.astraweb.com>
In reply to#37327
On Tue, 22 Jan 2013 11:36:31 -0700, Michael Torrie wrote:

> I'm sorry you are getting so frustrated.  There's obviously a language
> barrier here, 

I don't think there is. The OP's posts have been written in excellent 
English.

I think we've been well and truly trolled, by somebody who even uses the 
name of a troll as his user name.

http://redwing.hutman.net/~mreed/warriorshtm/ferouscranus.htm


Thanks to Alan Spence for linking to the "Flame Warriors" web site. I 
can't believe that it took so long for anyone to realise that we were 
being trolled.

I hate to admit it, but I kind of have to admire somebody who can play 
dumb so well for so long for the lulz. Well played Ferrous Cranus, well 
played. Now please go and play your silly games elsewhere.



-- 
Steven

[toc] | [prev] | [next] | [standalone]


#37364

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-01-22 23:35 +0000
Message-ID<50ff2246$0$29982$c3e8da3$5496439d@news.astraweb.com>
In reply to#37327
On Tue, 22 Jan 2013 11:36:31 -0700, Michael Torrie wrote:

> I'm sorry you are getting so frustrated.  There's obviously a language
> barrier here, 

I don't think there is. The OP's posts have been written in excellent 
English.

I think we've been well and truly trolled, by somebody who even uses the 
name of a troll as his user name.

http://redwing.hutman.net/~mreed/warriorshtm/ferouscranus.htm


Thanks to Alan Spence for linking to the "Flame Warriors" web site. I 
can't believe that it took so long for anyone to realise that we were 
being trolled.

I hate to admit it, but I kind of have to admire somebody who can play 
dumb so well for so long for the lulz. Well played Ferrous Cranus, well 
played. Now please go and play your silly games elsewhere.



-- 
Steven

[toc] | [prev] | [next] | [standalone]


Page 2 of 5 — ← Prev page 1 [2] 3 4 5  Next page →

Back to top | Article view | comp.lang.python


csiph-web