Live data from Hacker News

Viewing profile — shmeedogg

shmeedogg

HN member
Joined
Sat, May 16, 2009, 2:40 PM UTC
HN karma
349
Public activity
19 items

About shmeedogg

python/ruby programmer in austin, tx

Recent public activity

  1. story
  2. comment
    Comment #4768664

    Agreed, I think the distinction between a bound method or a function is irrelevant here. If we want explicit kwargs (a big 'if' since many of the suggestions in this thread are to …

  3. comment
    Comment #4768582

    > Whether a field is modifiable is often determined by the current user's access level and the current state of the object. So, putting such restriction at the function definition …

  4. comment
    Comment #4768428

    I'd love to see this integrated into the language and live along side of `None` (I can dream, can't I?) But until then, how can two different libraries agree to use the exact same …

  5. comment
    Comment #4768391

    To my ear, this does sound the best. Thanks for the suggestion!

  6. comment
    Comment #4768349

    Interesting. I love the idea of not having to import an external library, but much like the `NotImplementedError` suggestion, it overloads a value that already has a specific meani…

  7. comment
    Comment #4768254

    > whereas a function with a signature will need its arguments changed whenever the database schema changes. True there is some work in keeping the two synchronized, but there are b…

  8. comment
    Comment #4768145

    The implementation here is just a suggestion, and trust me, it wasn't much effort ;-) The aspect that interests me is that this is a problem that crops up occasionally in different…

  9. comment
    Comment #4767746

    That example could probably use some clarification, but the idea is that `name` and `age` in that example are both nullable, so passing in `None` (setting the column to NULL) is di…

  10. comment
    Comment #4767731

    Uppercase was chosen to match Python's existing singletons, `True`, `False`, and `None`. Lowercase might look a little too much like a variable, and all-upper might look too much l…

  11. comment
    Comment #4767718

    Agreed. 'Empty' works, as does 'Blank' or 'Unassigned'.'Nil' is concise, but might be a little too easily confused with 'None' (especially so for someone coming from Ruby). I'd lov…

  12. story
  13. story
  14. comment
    Comment #1824890

    Fixed, thanks!

  15. comment
    Comment #1824851

    Oops, that's a typo in code that hasn't been deployed yet. Our regression suite missed it ;-)

  16. comment
    Comment #1824778

    reallyslowsite.com is designed to be a tool that developers can use to simulate how their application responds to expensive HTTP requests. You could use this, for example, to test …

  17. story
    ReallySlowSite.com

    Useful for developing/testing HTTP caching libraries.

  18. comment
    Comment #1606735

    http://longform.org/

  19. story