Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mewwts
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
61.
▲
by
mewwts
12y ago
Try the Firefox developer edition. I personally find it better than Chrome dev tools. https://www.mozilla.org/en-US/firefox/developer/
62.
▲
by
mewwts
12y ago
I thought we all used Slack by now?
63.
▲
by
mewwts
12y ago
Does it work in Chrome?
64.
▲
by
mewwts
12y ago
thanks :-)
65.
▲
by
mewwts
12y ago
Thanks so much for your input. All of this is now fixed!
66.
▲
by
mewwts
12y ago
Hi, the naming conflicts should now be fixed :-)
67.
▲
by
mewwts
12y ago
Hey guys. Relax. I made up the "better than heroin"-part in a flash. Was not trying to be offensive, I just liked it since it worked well with 'addict'!
68.
▲
by
mewwts
12y ago
I think the example on the README should make it pretty clear.
69.
▲
by
mewwts
12y ago
I agree, the code is quite immature. However, your example is a bit off. If you do my_dict.a.b.c = 2, your Dict will only have the key 'a', as it generates nested Dicts. Hopefully you would not expect it to have 'a.b.c'
70.
▲
by
mewwts
12y ago
So I've made some changes over the day. Some issues still stand, but as some people pointed out it was unnecessary to store both attributes and items. Now the get and set attribute simply calls get and set items. If you find the time,
71.
▲
by
mewwts
12y ago
Yes, I agree, some measure should be made to avoid overriding methods. Thanks!
72.
▲
by
mewwts
12y ago
AttrDict only lets you get items using attributes. addict lets you set them as well!
73.
▲
by
mewwts
12y ago
This is true!
74.
▲
by
mewwts
12y ago
Cool! I need the recursive stuff, though!
75.
▲
by
mewwts
12y ago
This is neat! Super close to what I want in much less code :-)
76.
▲
by
mewwts
12y ago
Oh thanks!
77.
▲
by
mewwts
12y ago
Hey guys, author of addict here. Would appreciate immensely if you would file issues of problems you find. It's a very new project, that I cooked up after work hours this week, and any input is good input! Thanks.
78.
▲
by
mewwts
12y ago
Haha :-)
79.
▲
by
mewwts
12y ago
Valid input, but a nested defaultdict won't let me recursively define items: a.b.c.d.e = 2 as far as I can tell?
80.
▲
by
mewwts
12y ago
Thanks man, glad you like it.
81.
▲
by
mewwts
12y ago
These organizations were interviewed, and had the opportunity to remove their installations prior to the scanning. Also, according to PST, the installations they use are portable, fits in a suitcase, and such it would not make sense for the
82.
▲
Show HN: Addict – a Python dict whos values can be get and set using attributes
(github.com)
80 points
by
mewwts
12y ago
|
72 comments
83.
▲
by
mewwts
12y ago
Anybody know when I can expect the upgrade to be rolled out?
84.
▲
by
mewwts
12y ago
1) I cook because it's valuable to me to be able to "provide" my own food, and know what I ingest. Additionally I cook because I believe it's generally more healthy, and with less "short cuts" than take-out or
85.
▲
by
mewwts
12y ago
I'm sure (I hope) that was just a proof of concept. It's a horrible idea!
86.
▲
by
mewwts
12y ago
I like it a lot! Will definitely give it a spin.
87.
▲
by
mewwts
12y ago
Those are good comments. I have some clause in my contract regarding side-projects and I'll definitely look into how using their stuff affects it. For now, I guess I'll just use it for work and games then... Thanks for your commen
88.
▲
by
mewwts
12y ago
Amazing. This could make communicating with professors over email so painless!
89.
▲
by
mewwts
12y ago
Could you elaborate on that?
90.
▲
Ask HN: Do you have separate users for work and personal stuff on your Mac?
1 points
by
mewwts
12y ago
|
6 comments
More ›