I got one for $4. I think mine was for overpayment on an auto-billed account. Boy oh boy I'm rich.
Printable View
This is the best speech that has ever been given by anyone to anyone. Ever.
https://www.youtube.com/watch?v=KUB9QGKCNmI
A transcript for those who refuse to watch something animated.
Quote:
Originally Posted by The Major
Eh, maybe you had to have watched the whole episode or whatever for it to mean much of anything.
I prefer "Arise, arise, Riders of Théoden! Fell deeds awake: fire and slaughter! Spears shall be shaken, Shields shall be splintered, a sword-day, a red day, ere the sun rises! Ride now, ride now! Ride to Gondor! Death! Death! Death! Forth Eorlingas"
That was a good one too, but it lacks vampire Nazis.
Rosetta Spacecraft hopefully lands on a comet today after a decade chasing the comet down.
Obama not only figured out the trajectory all by himself, he not only built the spacecraft on his own with no tools and no help from anybody, but he also launched the spacecraft by throwing it into the sky with his bare hands.
Stop being so ungrateful just because Obama is black.
def nim(heaps, misere=True):
"""Computes next move for Nim in a normal or misère (default) game, returns tuple (chosen_heap, nb_remove)"""
X = reduce(lambda x,y: x^y, heaps)
if X == 0: # Will lose unless all non-empty heaps have size one
if max(heaps) > 1:
print "You will lose :("
for i, heap in enumerate(heaps):
if heap > 0: # Empty any (non-empty) heap
chosen_heap, nb_remove = i, heap
break
else:
sums = [t^X < t for t in heaps]
chosen_heap = sums.index(True)
nb_remove = heaps[chosen_heap] - (heaps[chosen_heap]^X)
heaps_twomore = 0
for i, heap in enumerate(heaps):
n = heap-nb_remove if chosen_heap == i else heap
if n>1: heaps_twomore += 1
# If move leaves no heap of size 2 or larger, leave an odd (misère) or even (normal) number of heaps of size 1
if heaps_twomore == 0:
chosen_heap = heaps.index(max(heaps))
heaps_one = sum(t==1 for t in heaps)
# misère (resp. normal) strategy: if it is even (resp. odd) make it odd (resp. even), else do not change
nb_remove = heaps[chosen_heap]-1 if heaps_one%2!=misere else heaps[chosen_heap]
return chosen_heap, nb_remove