io41
Re:TylerWM - a tiling window manager for OSX
on Thursday February 23, 2012 @11:05AM (#3625405)
Agreed. I sent the developer an email and promptly received a response:
..."I did not expect the publicity Tyler would receive after the revival - please allow for a few days for us to organize and react.
An update is under way."...
In conclusion, no need for refunds yet. I for one can't wait to see updates. It's almost there... a few more bug fixes and 1 or 2 small features and it'll be worth the €7.99 I spent on it.
Re:Stop passing naked dictionaries around: Introducing DStruct for Python
on Thursday November 24, 2011 @08:02AM (#3274176)
I agree.
Though a more useful constructor would be nice for naked dicts. I've created a helper function that allows for nicer construction of dicts based on other dicts and potential new fields:
https://gist.github.com/24651d78d3f1e3dec6f4 :
def new_dict(args, *kwargs):
"""
Create new dicts
>>> new_dict({1:2}, {2:5}, foo=5)
{1: 2, 2: 5, 'foo': 5}
"""
d = {}
for arg in args:
d.update(arg)
d.update(kwargs)
return d
d = new_dict(old_dict1, old_dict2, old_dictN, foo='bar')