Wed 29 Jul, 2009 11:11 am - You can add this one up by hand - but in case anyone is interested, here's a Python function that should generally solve this type of problem - provided that the word is such that, as with... (view)
Thu 11 Jun, 2009 06:48 pm - Just saw this thread and have to admit that I like Survivor, as well as (in an ironic juxtaposition) Project Runway (even though I'm not at all into fashion) and The Ultimate Fighter (even... (view)
Thu 29 Jan, 2009 06:55 pm - ABC has an online viewer where you can watch it (the US vesion) as well as Lost and other shows at:
http://abc.go.com/player/index?pn=index
I watched a couple of episodes of Life on Mars but... (view)
Wed 28 Jan, 2009 02:13 pm - By the way... "The C Programming Language" by K&R is one of my favorite programming books. (Was a C programmer for a while a long time ago - haven't really done anything with it... (view)
Wed 28 Jan, 2009 11:40 am - If you haven't already read it, you'd probably enjoy the book "The Chess Mysteries of Sherlock Holmes" by Raymond Smullyan. Been a while since I read it, but problems included... (view)
Mon 26 Jan, 2009 11:04 pm - Thanks ;-)
I was working on a response, but you beat me to it. Python's a great language for problems like this. Nice to not have to worry about memory management, etc. (view)
Mon 26 Jan, 2009 02:56 pm - Program continued. First line here is last line in previous post...
[code]
# now for the case where no existing groups are matched...
if cards_remaining>current_numerator:... (view)
Mon 26 Jan, 2009 02:53 pm - Looks like I may be able to successfuly post the program if I break it into more than one post...
[code language='python']
# snapchance.py
# Written and tested with Python 2.5.2... (view)
Mon 26 Jan, 2009 02:11 pm - I've spent some time thinking about the best way to figure out the exact numbers, taking into account the previous non-snap value matches. I came up with one that I'm pretty sure is... (view)
Wed 21 Jan, 2009 11:21 pm - I'll venture one more:
Based on my last post, the chance to NOT snap at card 4 is:
(48/51)x(3/50)x(47/49)+(48/51)x(44/50)x(46/49)
Now, to expand this for card 5:
Card 4 might be a... (view)