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?
"Python - why settle for snake oil when you can have the whole snake?"
Greetzzzzz
he he he ;-)
But is 194.109.137.226 the only one? What other sites are in league
with the python?
More evidence of Beelzebub at work: GUIDO VAN ROSSUM is an anagram of
SAVIOUR MUD SONG - besmirching the name of our Lord through filthy canticles!
Tim C
Believe it or not, we have something in common! I love 'em, too!
Jane
>
> python.org = 194.109.137.226
>
> 194 + 109 + 137 + 226 = 666
BUT!
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
Which is NOT 666.
--
a house-blowing wolfen sneezer / might be a porcine tortfeasor. -- plorkwort
http://beable.com
Writing code that has to be indented *exactly* or it just won't
work. I bet they all use eVIl VI too.
--
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
A new verb was accidently created during a discussion about KDE 3 and Debian.
It was said that KDE 3 will sid soon. -- Debian Weekly News Jan 14,2003
Yes, it's troublesome, perhaps more than you realize. Consider:
10.255.255.146
Yikes! Potential demonic (daemonic?) worship could be practiced non-routably...
--
----------------------------------------------------------------------------
Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/
http://rmitz.org/freebsd.daemon.html
Don't forget Python == Snake == Serpent == ...
;-D
humblyth...@usa.com wrote:
> python.org = 194.109.137.226
>
> 194 + 109 + 137 + 226 = 666
>
Hey, two (real, actual) TimCs from the same country posting to the same list on the
same stupid topic...
TimC
Geeze did you miss out on the demon summoning rituals last week? Wow that was
a great thing you missed out on. I am sorry I can't tell you about the future
events though. Only great wizards are allowed to come and they all know when
the events are. :)
damn Franc Maçons
--
Even though I walk through the valley of the shadow of death,
I will fear no evil, for you are with me;
your rod and your staff, they comfort me.
Jane
OMG, PyPy is full of evil, too!!!1
print sum([ord(x) for x in "PyPy!!!!!!!!"])
or, if you haven't upgraded to 2.4, yet:
import operator
print reduce(operator.add, [ord(x) for x in "PyPy!!!!!!!!"])
-- Gerhard
That'll work fine in Python 2.3. I think you meant:
print sum(ord(x) for x in "PyPy!!!!!!!!")
which is a different matter entirely (well, regarding compatibility
anyway).
--
Craig Ringer
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.
There are 6 853 010 possible dotted quads that add up to 666. Surely
python.org is not the only one.
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
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
> 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 :-)
> 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]
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
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
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
Bah, you satanic types are so lazy.