Mmmmm…. Sushi….
July 25, 2008
2:05 am
July 23, 2008
4:07 am
Haha! I’m in Fry’s in Sunnyvale, eager to use my glorious Euros to get bargains and my jetlag is hitting me _hard_…. I can come back t …
July 20, 2008
July 15, 2008
July 14, 2008
July 11, 2008
July 9, 2008
5:30 pm
integer: is_prime?
Using “Fermat’s little theorem”…
class Integer
def is_prime?
2 ** self % self == 2 and
3 ** self % self == 3 and
5 ** self % self == 5 and
7 ** self % self == 7
end
end
July 8, 2008





