> Some sexually transmitted diseases make your genitals drip.
I suspected this :-) Eminem is a famous misogynist
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 22 Nov 2009 09:15:57 -0800, n00m wrote:
> Or take "Drips" by Eminem. What on earth do the drips mean?
When you have a cold or flu, your nose drips.
Some sexually transmitted diseases make your genitals drip.
--
Steven
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 22 Nov 2009 15:08:28 +, Duncan Booth wrote:
> n00m wrote:
>
>> And now it's elephants instead of vectors. Def: an elephant is smarter
>> than another one IIF its size is strictly less but its IQ is strictly
>> greater
>>
>> I.e. you can't compare (2, 8) to (20, 50) or let count them
MRAB wrote:
> n00m wrote:
>> :-) Of course, by "too" I meant "too", as in "to much"
>
> Although it's OK in English to say "too much x" or "too many x", it's
> somewhat unnatural to say "too different xs"; it would have to be "the
> xs are too different". Nobody said English was logical! :-)
n00m wrote:
The second part of the compound if is backwards. So if this is headed
for production code, it better get fixed.
DaveA
Not sure I'm understanding your remark.
Well, others in the thread have observed the same thing, so maybe it
doesn't matter. But the quoted code had onl
n00m wrote:
The second part of the compound if is backwards. So if this is headed
for production code, it better get fixed.
DaveA
Not sure I'm understanding your remark.
Maybe he meant, that this:
if v1.x < v2.x and v1.y > v2.y
should be:
if v1.x < v2.x and v1.y < v2.y
?
--
http://mail.pyth
> it's somewhat unnatural to say "too different xs"
Aha. Thanks.
PS
For years I thought that song's title "No Woman No Cry" by Bob Marley
means "No Woman -- No Cry". As if a man got rid of his woman and
stopped
crying, out of her bad behaviour etc.
It turned out to mean "No, woman,.. no cry..."
O
n00m wrote:
:-) Of course, by "too" I meant "too", as in "to much"
Although it's OK in English to say "too much x" or "too many x", it's
somewhat unnatural to say "too different xs"; it would have to be "the
xs are too different". Nobody said English was logical! :-)
--
http://mail.python.o
:-) Of course, by "too" I meant "too", as in "to much"
--
http://mail.python.org/mailman/listinfo/python-list
Here "meaningful order" is:
if
elephant "a[i]" is smarter than elephant "a[j]"
then "i" must be strictly less than "j"
Of course, to the same effect we could sort them simply
by sizes, but then time of sorting would increase by ~
2 times -- due to decreasing of number of equally smart
things.
But
Steven D'Aprano wrote:
In the subject line, you write "too different times". You actually want
"two", the number, not "too" as in "too many", "too much". Lots of native
English speakers get this wrong too :)
[snip]
It could mean that the times are not just different, they're _too_
different,
n00m wrote:
> And now it's elephants instead of vectors.
> Def: an elephant is smarter than another one IIF
> its size is strictly less but its IQ is strictly
> greater
>
> I.e. you can't compare (2, 8) to (20, 50)
> or let count them as equally smart elephants.
and that still isn't a relations
> The second part of the compound if is backwards. So if this is headed
> for production code, it better get fixed.
>
> DaveA
Not sure I'm understanding your remark.
--
http://mail.python.org/mailman/listinfo/python-list
> Do you get the same magnitude difference
> if you make Vector a new-style class?
Yes (I mean "No"): new-style's much faster
And now it's elephants instead of vectors.
Def: an elephant is smarter than another one IIF
its size is strictly less but its IQ is strictly
greater
I.e. you can't compar
n00m wrote:
Any comment:
def v_cmp(v1, v2):
if v1.x < v2.x and v1.y > v2.y:
return -1
return 0
The second part of the compound if is backwards. So if this is headed
for production code, it better get fixed.
DaveA
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 22, 9:21 am, n00m wrote:
> Any comment:
>
> class Vector:
> def __init__(self, x, y):
> self.x = x
> self.y = y
> def __cmp__(self, v):
> if self.x < v.x and self.y > v.y:
> return -1
> return 0
>
> def v_cmp(v1, v2):
> if v1.x < v2.x
n00m wrote:
> Any comment:
>
> class Vector:
> def __init__(self, x, y):
> self.x = x
> self.y = y
> def __cmp__(self, v):
> if self.x < v.x and self.y > v.y:
> return -1
> return 0
>
> def v_cmp(v1, v2):
> if v1.x < v2.x and v1.y > v2.y:
n00m schrieb:
Any comment:
class Vector:
def __init__(self, x, y):
self.x = x
self.y = y
def __cmp__(self, v):
if self.x < v.x and self.y > v.y:
return -1
return 0
def v_cmp(v1, v2):
if v1.x < v2.x and v1.y > v2.y:
return -1
re
On Sun, Nov 22, 2009 at 2:56 AM, n00m wrote:
> I was expecting the 1st method would be *slower* than the 2nd one :-)
> Or at least equal... Just random ("intuitive") expectations
The second method repeatedly looks up left_item.__class__.__cmp__
(i.e. Vector.__cmp__) when doing the necessary compa
In the subject line, you write "too different times". You actually want
"two", the number, not "too" as in "too many", "too much". Lots of native
English speakers get this wrong too :)
On Sun, 22 Nov 2009 01:21:42 -0800, n00m wrote:
> Any comment:
>
> class Vector:
> def __init__(self, x,
I was expecting the 1st method would be *slower* than the 2nd one :-)
Or at least equal... Just random ("intuitive") expectations
--
http://mail.python.org/mailman/listinfo/python-list
n00m writes:
> Any comment:
I get similar output. What were you expecting to happen? Did you have
any questions?
--
\“The right to search for truth implies also a duty; one must |
`\ not conceal any part of what one has recognized to be true.” |
_o__)
Any comment:
class Vector:
def __init__(self, x, y):
self.x = x
self.y = y
def __cmp__(self, v):
if self.x < v.x and self.y > v.y:
return -1
return 0
def v_cmp(v1, v2):
if v1.x < v2.x and v1.y > v2.y:
return -1
return 0
from ran
23 matches
Mail list logo