Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ElevenPhonons
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
ElevenPhonons
3y ago
This looks interesting, but there's a lot of moving pieces (rust, python, typescript, react, v8). Maybe remove the .DS_Store files from repo and update your gitignore globally to avoid this issue. Also, Pydantic has SecretStr that migh
2.
▲
by
ElevenPhonons
4y ago
I believe this pivoting example might be useful to scientists, support staff and postdocs in other fields as well (e.g., physics, chemistry, bioinformatics, material science). A few specifics that might be useful for scientists that are con
3.
▲
by
ElevenPhonons
4y ago
That was my experience as well. The RSE role doesn't seem to fit into their current model. It doesn't work from a career path, nor from a competitive compensation standpoint. I suspect that the housing crisis is also going to push
4.
▲
by
ElevenPhonons
5y ago
https://github.com/mpkocher/Functional-Programming-Technique... I covered a few core concepts (e.g., functions as first-class citizens, closures, partial application, etc...) and added a few real world examples of usin
5.
▲
by
ElevenPhonons
5y ago
It's worth noting that "except:" is not the same as "except Exception:" in Python. "except:" is catching BaseException which is often not what to do. BaseException is catching SystemExit amongst other thin
6.
▲
by
ElevenPhonons
5y ago
You can also create CLI tools that can load partial or full "presets" defined in JSON. https://github.com/mpkocher/pydantic-cli
7.
▲
by
ElevenPhonons
5y ago
I've also found Pydantic to be a valuable library to use. However, it does have a strongly opinionated approach to casting that can sometimes yield non-obvious results. This behavior is documented and I would suggest new potential adop
8.
▲
by
ElevenPhonons
6y ago
Perhaps a custom compose function can help with these use cases? This series has a few examples of composing computation in Python that might be useful. https://github.com/mpkocher/Functional-Programming-Technique... A
9.
▲
by
ElevenPhonons
6y ago
Are these really the same? The idiomatic Python 3 version uses generators to compose the computation and to avoid unnecessary memory allocations. Does funct.Array also do this? - https://docs.python.org/3/library/f
10.
▲
by
ElevenPhonons
6y ago
Is there a list of backward incompatible changes? Also, how would you describe the overall health of the code base with all of these new features added?
11.
▲
by
ElevenPhonons
6y ago
It seems like there's a lot of friction points with this model and perhaps a bit too much world building. In general, I have trouble understanding the allure of this approach. Another example (and bonus points if you can spot the rogue