This is Hughdbrown's Typepad Profile.
Join Typepad and start following Hughdbrown's activity
Join Now!
Already a member? Sign In
Recent Activity
So does Yahoo mail simply not support HTTPS? I used Chrome + Use HTTPS ( and when I logged in to and provided credentials, I got this "The webpage at 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