Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
0x63_Problems
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
0x63_Problems
2y ago
This seems like it could be implemented without much trouble for consumers, but I actually think for the common case of full AST traversal you'd still want to avoid building objects for the nodes while traversing. That is to say, ast.N
32.
▲
by
0x63_Problems
2y ago
First off, thank you for all your contributions to Python! I completely take your point that there are many places where this approach won't fit. It was a surprise for me to trace the performance issue to allocations and GC, specifical
33.
▲
by
0x63_Problems
2y ago
Totally agree, keeping the interface with the extension as thin as possible makes sense. I hadn't considered object pooling in this context, it might be more involved since each node has distinct data but for my use case it might still
34.
▲
Python extensions should be lazy
(gauge.sh)
115 points
by
0x63_Problems
2y ago
|
63 comments
35.
▲
Show HN: Tach – fast Python import linter in Rust with monorepo support
(github.com)
4 points
by
0x63_Problems
2y ago
|
0 comments
36.
▲
by
0x63_Problems
2y ago
In my experience, Python devs rarely use the underscore. Package authors are pretty good about it. But when the only people using your code are your coworkers, people don't seem to put as much thought into having a clean interface.
37.
▲
by
0x63_Problems
2y ago
This might be helpful: https://monorepo.tools/ Although I'm not sure process management is touched on specifically. I've used docker compose for a similar purpose in the past, with source code in a volume to suppo
38.
▲
Monorepo Tools
(monorepo.tools)
3 points
by
0x63_Problems
2y ago
|
0 comments
39.
▲
Polylith
(polylith.gitbook.io)
104 points
by
0x63_Problems
2y ago
|
16 comments
40.
▲
How to Make CI Fast and Cheap with Test Impact Analysis
(gauge.sh)
4 points
by
0x63_Problems
2y ago
|
0 comments
41.
▲
Scie jump – self-contained interpreted executable launcher
(github.com)
1 points
by
0x63_Problems
2y ago
|
0 comments
42.
▲
by
0x63_Problems
2y ago
I quit a job with nothing lined up, but it was due to a liquidity event for a former startup. Not enough to permanently stop working, but also not quite as counter-culture as this describes. In retrospect, the experience was primarily about
43.
▲
by
0x63_Problems
2y ago
The article mentions that the business still had almost zero revenue in 2022, which would seem to mean that it went for 5 years and through Series A without making any money? Congrats to the team, but what really strikes me about this artic
44.
▲
by
0x63_Problems
2y ago
I'm definitely a fan of making bad data 'unrepresentable' through the type system. The bit flag enum pattern is not so familiar to me in Python, but I recognize it from the CPython internals so maybe it's more common in
45.
▲
by
0x63_Problems
2y ago
Is the kernel of this advice to start with a known problem which is already solved with a paid service, and then just sell that service more efficiently? That's how I'm interpreting the "skip the R&D phase" idea. In
46.
▲
Parsing Python ASTs 20x Faster with Rust
(gauge.sh)
15 points
by
0x63_Problems
2y ago
|
1 comments
47.
▲
by
0x63_Problems
2y ago
I haven't used it, but I was interested in it for relatively straightforward task caching in a monorepo. What are the main issues with it?
48.
▲
by
0x63_Problems
2y ago
Probably the most formative experience in my early career was seeing a massive (attempted) rewrite from a monolith to microservices. Multi-unicorn company spent a year and $Ms in developer hours just to realize that the network separation d
49.
▲
by
0x63_Problems
2y ago
Hi HN! I built this with OP. We built this to help developers maintain clear structure in their projects, even if they're scaling the team quickly. It fits into CI, so you can establish how packages should relate to each other, and the
50.
▲
by
0x63_Problems
3y ago
Yup! We have looked into runtime checks to supplement the static analysis. From talking to other users, they've used similar runtime checks in CI and staging environments to catch dynamic imports and even check specific method usages.
51.
▲
by
0x63_Problems
3y ago
Hi HN! I'm one of the developers of modguard. I'm excited to get feedback from you all, and I'm happy to answer any questions you might have!
52.
▲
Show HN: Modguard – Enforce modular Python automatically
(github.com)
3 points
by
0x63_Problems
3y ago
|
0 comments
53.
▲
by
0x63_Problems
6y ago
https://web.archive.org/web/20200511234503/https://stjepang.... The first blog mentioned in the article appears to be down now, last snapshot I found is this one.
54.
▲
by
0x63_Problems
9y ago
This is really cool! I haven't read through the real paper yet but it's very impressive that this method does not incur a significant performance cost. I had assumed that using a genetic-style algorithm would be costly since you
55.
▲
by
0x63_Problems
9y ago
This is super cool! As soon as I read the AlphaGo Zero paper I wanted to do a reimplementation as well, but apply the strategy to train a chess engine instead. Performance turned out to be way more important than I anticipated (I haven&#x