Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
abcxjeb284
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
abcxjeb284
5y ago
This one is based in security standards :( https://security.stackexchange.com/questions/45455/which-sec... (link talks about screen locking but similar vibe for app logout for various certification bodies)
2.
▲
by
abcxjeb284
5y ago
It’s really 2 ways to do it, and the defaultdict way (I believe) would have less allocations in a deeply nested loop (since this version has to create a {} and a [] every time). Also setdefault causes confusion for less experienced users in
3.
▲
by
abcxjeb284
5y ago
Nice! Very expressive way to do n-levels!
4.
▲
by
abcxjeb284
5y ago
Great for expressivity of multi-level dicts (excuse the goofy example): state2name2visited = defaultdict(lambda: defaultdict(list)) state2name2visited[“PA”][“Joe].append(“Pittsburgh”)
5.
▲
by
abcxjeb284
5y ago
Great links in the article to read more, but strikes me that this style of working assumes everyone is already up to speed. How do you set aside time for mentoring? Teaching? Growth?
6.
▲
by
abcxjeb284
6y ago
In hindsight, probably would’ve been way better to ship a `cryptography2` package and deprecate the old package. That way you get the benefits of using rust without the anger about the sudden breakage of a transitive dependency. In terms of
7.
▲
by
abcxjeb284
6y ago
Agreed, strict use of mypy with editor support is a game changer (particularly its union types and TypedDict)
8.
▲
by
abcxjeb284
6y ago
Excellent points, I’d add the counterintuitive: * Pedestrian traffic - busier streets with more people mean less likely to be mugged vs the empty side street.
9.
▲
by
abcxjeb284
6y ago
Bit of a miss on why “serverless” (though author & I have different definitions), possibly because of language / toolset. Lambda / Step Functions make for an easy combo for easily understandable units that you can use without
10.
▲
by
abcxjeb284
6y ago
> But Wintel will own business desktops for probably a decade, unfortunately. Do you see this as being different from what was going on pre-M1? Aside from shared math libraries, seems like most stuff required cross compilation just to wo
11.
▲
by
abcxjeb284
6y ago
I wouldn’t call your posts “self-promos”. You’re actually posting guides, not “2 lines of text now buy my product”. You’re already being a reasonable redditor.
12.
▲
by
abcxjeb284
6y ago
Phillip - would you be open to using your platform for a non-profit art project? We don’t have many funds (see: COVID), but we are REALLY excited by the possibilities of the space you designed and the game maker map!! :)
13.
▲
by
abcxjeb284
6y ago
It’s pretty absurd for github to suggest that you should go through multiple steps to disable commands to log untrusted output. [1] Poor form to expect developers to understand and check for a new way that they need to sanitize their input