This is Hughdbrown's Typepad Profile.
Join Typepad and start following Hughdbrown's activity
Join Now!
Already a member? Sign In
Hughdbrown
Recent Activity
So does Yahoo mail simply not support HTTPS? I used Chrome + Use HTTPS (https://chrome.google.com/extensions/detail/kbkgnojednemejclpggpnhlhlhkmfidi) and when I logged in to mail.yahoo.com and provided credentials, I got this "The webpage at https://us.mc1103.mail.yahoo.com/mc/welcome?.gx=xxxxx might be temporarily down or it may have moved permanently to a new web address."
Toggle Commented Nov 15, 2010 on Breaking the Web's Cookie Jar at Coding Horror
@Paul Jungwirth def generate_expr(s): if len(s): yield s for i in range(1, len(s)): left = s[:i] right = s[i:] for r in generate_expr(right): yield left + '+' + r yield left + '*' + r if __name__ == '__main__': print set(expr for expr in generate_expr("123456789") if eval(expr) == 2002)
Toggle Commented Feb 23, 2010 on The Non-Programming Programmer at Coding Horror
@Paul Jungwirth "You have the numbers 123456789, in that order. Between each number, you must insert either nothing, a plus sign, or a multiplication sign, so that the resulting expression equals 2001. Write a program that prints all solutions. (There are two.)" So is this with left-to-right evaluation or with precedence (i.e. multiplication is done first)?
Toggle Commented Feb 22, 2010 on The Non-Programming Programmer at Coding Horror
Hughdbrown is now following The Typepad Team
Feb 22, 2010