Live data from Hacker News

Viewing profile — grifaton

grifaton

HN member
Joined
Tue, Dec 15, 2009, 12:04 AM UTC
HN karma
482
Public activity
67 items

About grifaton

No profile information was provided.

Recent public activity

  1. comment
    Comment #4648506

    Sounds like you're looking for a Sufficiently Smart Compiler[0]. James Hague has a good piece on why this might not be so desirable[1]. One of the reasons I'm fond of Python is tha…

  2. comment
    Comment #4463087

    I don't think anybody's suggesting that Dawkins called Skepchick "Muslima".

  3. comment
    Comment #4440022

    I'm afriad this doesn't make much sense from a Python point of view, where a metaclass is a very specific language construct. For more details, you can't do much better than the St…

  4. story
  5. comment
    Comment #4404992

    This has obviously been a mammoth effort, so congratulations to all involved!

  6. comment
    Comment #4387248

    Seriously?

  7. comment
    Comment #4256316

    Looks like it'll cover similar ground to his Europython keynote (which I think was a rehash of his Pycon talk), a video of which you can see here: http://www.youtube.com/watch?v=Rw…

  8. story
  9. comment
    Comment #4089460

    I'm puzzled by the references to paper/scissors/stone. Why is "stone" the "most obvious move"? Later on, the paper states that the game is "well known to be power law distributed".…

  10. comment
    Comment #4039205

    Really? The UK's centre of population [0] is apparently Appleby Parva in Leicestershire [1], which is less than 25 miles from Coventry [2]. [0] http://en.wikipedia.org/wiki/Center_…

  11. story
  12. comment
    Comment #3998620

    I blogged about this, and other uses for mutable default arguments (with tongue somewhat in cheek) a few weeks ago: http://inglesp.github.com/2012/03/24/mutable-default-argumen...

  13. comment
    Comment #3997055

    Here's a rare example of obfuscated python, deceptively called "Python's Ellipsis Explained": http://blog.brush.co.nz/2009/05/ellipsis/

  14. story
  15. comment
    Comment #3889801

    I sometimes use zip as a poor man's matrix transposition operator: >>> m = [(1,2,3), (4,5,6), (7,8,9)] >>> zip(*m) [(1, 4, 7), (2, 5, 8), (3, 6, 9)]

  16. comment
    Comment #3861927

    This would catch a SyntaxError raised by eval(). For example, try: eval(".") except: pass

  17. story
  18. story
  19. story
  20. story
  21. story
  22. comment
    Comment #3543148

    Sample bias?

  23. comment
    Comment #3513912

    I think this is interesting because it's the first time I've seen "hacking" presented in a positive light in the media.

  24. story
  25. story