Files
2012-02-21 01:15:00 -05:00

1 line
4.5 KiB
JSON

[{"user_id": 20745, "stars": [], "topic_id": 42992, "date_created": 1312035636.0038421, "message": "been playing with plistlib / etree. need to refactor the parsing to use namedtuple", "group_id": 8422, "id": 1754556}, {"user_id": 7372, "stars": [], "topic_id": 42992, "date_created": 1312035607.5253, "message": "So very handy", "group_id": 8422, "id": 1754552}, {"user_id": 20745, "stars": [], "topic_id": 42992, "date_created": 1312036948.794431, "message": "they're useful if you are inspecting the class before an object is actually instantiated", "group_id": 8422, "id": 1754628}, {"user_id": 2568, "stars": [], "topic_id": 42992, "date_created": 1312035405.067616, "message": "new in 2.6: http://docs.python.org/library/collections.html?highlight=namedtuple#collections.namedtuple", "group_id": 8422, "id": 1754530}, {"user_id": 19005, "stars": [], "topic_id": 42992, "date_created": 1312037652.658596, "message": "True. I've seen the horror of instantiating an object to inspect it so you can instantiate the REAL object. That was PHP though.", "group_id": 8422, "id": 1754655}, {"user_id": 20745, "stars": [], "topic_id": 42992, "date_created": 1312035044.5519099, "message": "hehe, slight bug in the price check logic", "group_id": 8422, "id": 1754506}, {"user_id": 20745, "stars": [], "topic_id": 42992, "date_created": 1312034640.382376, "message": "named tuple += 1", "group_id": 8422, "id": 1754481}, {"user_id": 19005, "stars": [], "topic_id": 42992, "date_created": 1312034798.365895, "message": "We have things we call DTOs at work, but they have behaviour (they know how to serialize themselves, and have the concept of \"visited\" when being filled out)", "group_id": 8422, "id": 1754491}, {"user_id": 12404, "stars": [], "topic_id": 42992, "date_created": 1312035258.7319, "message": "namedtuple is not available on python2.5 I presume?", "group_id": 8422, "id": 1754522}, {"user_id": 2568, "stars": [{"date_created": 1312035605.217768, "user_id": 12404}], "topic_id": 42992, "date_created": 1312035552.750211, "message": "but this might help: http://pypi.python.org/pypi/jaraco.compat", "group_id": 8422, "id": 1754544}, {"user_id": 20745, "stars": [], "topic_id": 42992, "date_created": 1312035677.569958, "message": "(btw, frederick lundh's plist parser is 3x faster than plistlib)", "group_id": 8422, "id": 1754562}, {"user_id": 20745, "stars": [], "topic_id": 42992, "date_created": 1312036566.876545, "message": "hmm, doesn't look like etree exposes a way to seamlessly use named tuples", "group_id": 8422, "id": 1754611}, {"user_id": 20745, "stars": [], "topic_id": 42992, "date_created": 1312034872.381566, "message": "coming from plone/zope, there's the catalog \"brain\" object that is mostly just state, but has a getObject call to get the full-blown object represented by the brain.", "group_id": 8422, "id": 1754496}, {"user_id": 20745, "stars": [], "topic_id": 42992, "date_created": 1312035107.423291, "message": "ahha", "group_id": 8422, "id": 1754513}, {"user_id": 2568, "stars": [{"date_created": 1312037361.926615, "user_id": 2412}], "topic_id": 42992, "date_created": 1312035720.105232, "message": "@tbatterii I thought I saw a namedtuple implementation for 2.5 and googled, but that's not the one I remember", "group_id": 8422, "id": 1754564}, {"user_id": 12404, "stars": [{"date_created": 1312035471.216109, "user_id": 209}], "topic_id": 42992, "date_created": 1312035260.7585499, "message": "each day I hate appengine more and more :(", "group_id": 8422, "id": 1754524}, {"user_id": 7372, "stars": [], "topic_id": 42992, "date_created": 1312035591.5926969, "message": "Yea, namedtuple is about 5x better on memory than dict and objects", "group_id": 8422, "id": 1754549}, {"user_id": 12404, "stars": [], "topic_id": 42992, "date_created": 1312035628.0894761, "message": "@velociraptors much thanks", "group_id": 8422, "id": 1754555}, {"user_id": 20745, "stars": [], "topic_id": 42992, "date_created": 1312036586.965935, "message": "would have to post-process the resulting node structure", "group_id": 8422, "id": 1754615}, {"user_id": 19005, "stars": [], "topic_id": 42992, "date_created": 1312036894.8229721, "message": "I wonder if the class-level Nones help PyPy?", "group_id": 8422, "id": 1754625}, {"user_id": 39075, "stars": [], "topic_id": 42992, "date_created": 1312062072.4209261, "message": "Does anyone know the presenter of this talk? I would like a copy of the slideshow, if possible.", "group_id": 8422, "id": 1756057}, {"user_id": 39068, "stars": [], "topic_id": 42992, "date_created": 1312208361.2251379, "message": "@palenous Here 'ya go!: http://goo.gl/ITHff", "group_id": 8422, "id": 1766198}]