Live data from Hacker News

Viewing profile — mcdonc

mcdonc

HN member
Joined
Tue, Jul 07, 2009, 4:36 AM UTC
HN karma
56
Public activity
23 items

About mcdonc

No profile information was provided.

Recent public activity

  1. story
  2. comment
    Comment #6797328

    But it has Zope in its name!!!111!! ;-)

  3. comment
    Comment #6793512

    It's best to keep object records small when using ZODB. This does mean you need to do some planning about object structure. Objects that inherit from "persistent.Persistent" are ke…

  4. comment
    Comment #6793501

    It does not unpickle every time you get something from cache. It maintains a first-level in-memory LRU per-thread object cache which is the actual Python object (not its pickle rep…

  5. story
  6. comment
    Comment #3326492

    The pragma wouldn't really work. It'd have to work in all old versions of Python to make any sense, and it doesn't. For unicode literals in particular, it should just be true in Py…

  7. comment
    Comment #3323612

    Amen, 2to3 in practice for anything but the smallest library is effectively unusable due to speed. Even if it weren't, I'm not much of a fan of maintaining generated code. That's a…

  8. comment
    Comment #3323584

    Your original post (and to an extent your reply above) was a bit dismissive, I think. Dismissiveness is not really a unique sentiment here; I see a lot of posts along the lines of …

  9. comment
    Comment #3323547

    http://docs.python.org/release/3.2.2/library/stdtypes.html#b... And this annoying feature: http://docs.python.org/dev/howto/pyporting.html#indexing-byt...

  10. comment
    Comment #3323410

    Well, the author has direct experience porting and maintaining (very popular, well-written, well-tested) Python libraries, so I think it bears more weight than the platitudes I hea…

  11. comment
    Comment #3036935

    It's not splitting hairs at all. It's the definition of the pattern. The pattern was created for stateful UI systems, and it can't be emulated with request-response frameworks with…

  12. comment
    Comment #2959767

    Wow, great way to take criticism! Thank you.

  13. comment
    Comment #2939191

    The order the decorators are run at import time is explicit. Everybody loves module-scope programming and import-time side-effects! What's wrong with you man? ;-)

  14. comment
  15. comment
    Comment #2937793

    Bottle and Flask actually allow for this too. Bottle's variant: @route('/hello/:name', method='GET') def hello_get(name): return 'Hello %s' % name @route('/hello/:name', method='PO…

  16. comment
    Comment #2937388

    In a more traditional Pyramid app it would be done more like: from pyramid.view import view_config from pyramid.response import Response from paste.httpserver import serve @view_co…

  17. comment
    Comment #2935848

    Seems appropriate to link this here: https://docs.pylonsproject.org/projects/pyramid/1.2/designde...

  18. comment
    Comment #2934815

    Comments with critical, dogmatic hyperboles in them like this drive me nuts in general. Here are the hyperboles in this comment with the translations to normal English. - "saddled …

  19. story
  20. comment
    Comment #2699496

    Still a troll.

  21. comment
    Comment #2398158

    indeed, kick-ass

  22. comment
    Comment #692660

    Got it. "Advertising" problem, not an actual problem then.

  23. comment
    Comment #690933

    I'm the primary author of said nonsense. I didn't do TDD on this project, for the record. So was my mistake in actually writing these tests or was it just advertising them? ;-)