Viewing profile — mcdonc
mcdonc
HN member- Joined
- Tue, Jul 07, 2009, 4:36 AM UTC
- HN karma
- 56
- Public activity
- 23 items
- HN profile
- View on Hacker News ↗
About mcdonc
No profile information was provided.
Recent public activity
- story
-
comment
Comment #6797328
But it has Zope in its name!!!111!! ;-)
-
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…
-
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…
- story
-
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…
-
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…
-
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 …
-
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...
-
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…
-
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…
-
comment
Comment #2959767
Wow, great way to take criticism! Thank you.
-
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? ;-)
-
comment
Comment #2938020
this ^^
-
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…
-
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…
-
comment
Comment #2935848
Seems appropriate to link this here: https://docs.pylonsproject.org/projects/pyramid/1.2/designde...
-
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 …
- story
-
comment
Comment #2699496
Still a troll.
-
comment
Comment #2398158
indeed, kick-ass
-
comment
Comment #692660
Got it. "Advertising" problem, not an actual problem then.
-
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? ;-)