Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Python.org, Website of Satan

Reply
Thread Tools

Python.org, Website of Satan

 
 
Peter Renzland
Guest
Posts: n/a
 
      01-14-2005
In <(E-Mail Removed) .com>
On 2005-01-12 http://www.velocityreviews.com/forums/(E-Mail Removed) <(E-Mail Removed)> wrote:

> python.org = 194.109.137.226
>
> 194 + 109 + 137 + 226 = 666
>
> What is this website with such a demonic name and IP address? What
> evils are the programmers who use this language up to?


What is the simplest/fastest Python program to determine how many
IP addresses sum up to 666?

The simplest/fastest enumerator?

The simplest/fastest that determines which ones of them are home pages?


BTW, www.churchofsatan.org is 216.168.224.70
That adds up to 666 + 12

Are they hedging their bets?

-- Peter
 
Reply With Quote
 
 
 
 
Michael Hoffman
Guest
Posts: n/a
 
      01-14-2005
Peter Renzland wrote:
> What is the simplest/fastest Python program to determine how many
> IP addresses sum up to 666?
>
> The simplest/fastest enumerator?
>
> The simplest/fastest that determines which ones of them are home pages?


This seems to work although it could be made more efficient or elegant.
Also, the failed gethostbyaddr() calls take forever.

from socket import gethostbyaddr, herror

for a in xrange(256):
if a < 666-255*3:
continue
for b in xrange(256):
if a+b < 666-255*2:
continue
for c in xrange(256):
if a+b+c < 666-255:
continue
for d in xrange(256):
if a + b + c + d == 666:
ip_address = "%d.%d.%d.%d" % (a, b, c, d)
try:
hostname, aliaslist, ipaddrlist =
gethostbyaddr(ip_address)
except herror:
hostname = "NONE"
print hostname, ip_address
break
--
Michael Hoffman
 
Reply With Quote
 
 
 
 
Roy Smith
Guest
Posts: n/a
 
      01-14-2005
In article <cs89nd$i6m$(E-Mail Removed)>,
Michael Hoffman <(E-Mail Removed)> wrote:

> Peter Renzland wrote:
> > What is the simplest/fastest Python program to determine how many
> > IP addresses sum up to 666?
> >
> > The simplest/fastest enumerator?
> >
> > The simplest/fastest that determines which ones of them are home pages?

>
> This seems to work although it could be made more efficient or elegant.
> Also, the failed gethostbyaddr() calls take forever.
>
> from socket import gethostbyaddr, herror
>
> for a in xrange(256):
> if a < 666-255*3:
> continue


I'm not sure what you meant to do, but note that 'a < 666-255*3' is
false for all values of 'a' generated by the xrange() call. Removing
that test would make the code more efficient. Hard to say if it would
make it more elegant
 
Reply With Quote
 
Denis S. Otkidach
Guest
Posts: n/a
 
      01-14-2005
On Fri, 14 Jan 2005 11:16:59 +0000
Michael Hoffman <(E-Mail Removed)> wrote:

> from socket import gethostbyaddr, herror
>
> for a in xrange(256):
> if a < 666-255*3:
> continue
> for b in xrange(256):
> if a+b < 666-255*2:
> continue
> for c in xrange(256):
> if a+b+c < 666-255:
> continue
> for d in xrange(256):
> if a + b + c + d == 666:


Certainly, it can be done more efficient:

for a in xrange(256):
for b in xrange(max(0, (666-255*2)-a), 256):
for c in xrange(max(0, (666-255)-a-b), min(666-a-b+1, 256)):
d = 666-a-b-c
...

I've checked these IPs with ip2cc (which can miss entries registered
last month): there are 2907248 "evil" addresses, most of them (1568430)
in USA. Too many to resolve.

--
Denis S. Otkidach
http://www.python.ru/ [ru]
 
Reply With Quote
 
mr_little
Guest
Posts: n/a
 
      01-14-2005
Brian Eable wrote:
> perl -e '$a="194.109.137.226"; @a = reverse split /\./, $a; for $i

(0..3) { $sum += $a[$i]*(256**$i) } print "sum = $sum\n"'
>
> 226 + 35072 + 7143424 + 3254779904 = 3261958626
>
> http://3261958626/
>
> Which is NOT 666.

Comrade, why perl here?
Are you afraid python?

 
Reply With Quote
 
Steve Holden
Guest
Posts: n/a
 
      01-14-2005
Lucas Saab wrote:

> Arich Chanachai wrote:
>
>> Jane wrote:
>>
>>> "Lucas Raab" <(E-Mail Removed)> wrote in message
>>> news:UsuFd.5434$(E-Mail Removed) ink.net...
>>>
>>>
>>>> Jane wrote:
>>>>
>>>>
>>>>> <(E-Mail Removed)> wrote in message
>>>>> news:(E-Mail Removed) oups.com...
>>>>>
>>>>>
>>>>>
>>>>>> python.org = 194.109.137.226
>>>>>>
>>>>>> 194 + 109 + 137 + 226 = 666
>>>>>>
>>>>>> What is this website with such a demonic name and IP address? What
>>>>>> evils are the programmers who use this language up to?
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> Some people have too much time on their hands...
>>>>>
>>>>> Jane
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> Better get some ointment for that burn!!
>>>>
>>>
>>>
>>>
>>> Huh???
>>>
>>> Jane
>>>
>>>
>>>
>>>

>> You said that people have too much "time" on their "hands", so he
>> suggested ointment to prevent the irritation etc... He was probably
>> also getting at the topic of this thread (hint: Satan = Hell = Fire),
>> so the ointment puts out the burn.
>> Have fun folks!
>>
>> - Arich

>
>
> I'd also like to add that the term "burn" means to be made look stupid
> or be insulted.


And here was me just thinking that the burn would result from the
inevitable flames. Newsgroups really re a continual surprise.

regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
 
Reply With Quote
 
Brian Eable
Guest
Posts: n/a
 
      01-15-2005
"mr_little" <(E-Mail Removed)> writes:

> Brian Eable wrote:
> > perl -e '$a="194.109.137.226"; @a = reverse split /\./, $a; for $i

> (0..3) { $sum += $a[$i]*(256**$i) } print "sum = $sum\n"'
> >
> > 226 + 35072 + 7143424 + 3254779904 = 3261958626
> >
> > http://3261958626/
> >
> > Which is NOT 666.

>
> Comrade, why perl here?


Huh? Alt.prophecies.nostradamus is ALL ABOUT PERL!

And at the end of the age
There shall be a mysterious language
Filled with punctuation
It will connect many things.

> Are you afraid python?


I asked you to stop calling me python.

Feel free to write a python version if you want to.


--
It's explained on my website.. but you have to have a bona fide degree
in science to understand it Mr. Ruken Dukin Kookin. -- George Hammond
http://beable.org
 
Reply With Quote
 
Michael Hoffman
Guest
Posts: n/a
 
      01-15-2005
Denis S. Otkidach wrote:
> Certainly, it can be done more efficient:


Yes, of course. I should have thought about the logic of my code before
posting. But I didn't want to spend any more time on it than I had to.
--
Michael Hoffman
 
Reply With Quote
 
Stephen Waterbury
Guest
Posts: n/a
 
      01-15-2005
Michael Hoffman wrote:
> Denis S. Otkidach wrote:
>> Certainly, it can be done more efficient:

>
> Yes, of course. I should have thought about the logic of my code before
> posting. But I didn't want to spend any more time on it than I had to.


Bah, you satanic types are so lazy.
 
Reply With Quote
 
Misty
Guest
Posts: n/a
 
      01-15-2005


Jane wrote:
> "Lucas Raab" <(E-Mail Removed)> wrote in message
> news:UsuFd.5434$(E-Mail Removed) ink.net...
>
>>Jane wrote:
>>
>>><(E-Mail Removed)> wrote in message
>>>news:(E-Mail Removed) egroups.com...
>>>
>>>
>>>>python.org = 194.109.137.226
>>>>
>>>>194 + 109 + 137 + 226 = 666
>>>>
>>>>What is this website with such a demonic name and IP address? What
>>>>evils are the programmers who use this language up to?
>>>>
>>>
>>>Some people have too much time on their hands...
>>>
>>>Jane
>>>
>>>

>>
>>Better get some ointment for that burn!!

>
>
> Huh???
>
> Jane
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Has Bruce Eckel sold his sole to satan, I mean Adobe? primeattheark Java 4 02-23-2007 02:34 PM
Microsoft Purchases Evil From Satan GraB NZ Computing 0 11-30-2006 05:09 AM
Satan and the evil booktwo@lorenzocrescini.it DVD Video 0 07-16-2006 10:29 AM
did satan go to work on ice skates this morning? Shane NZ Computing 2 04-20-2005 10:18 PM
C++ is EVIL, it's the computer language of SATAN ! ! ! Karl-Hugo Weesberg C++ 19 10-28-2004 10:49 PM



Advertisments