Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rekahrv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
ChatGPT Sees Strong Early Adoption in the Workplace
(fishbowlapp.com)
1 points
by
rekahrv
4y ago
|
0 comments
62.
▲
by
rekahrv
4y ago
The 3 function names mentioned: * add_tt * process * extract_entries
63.
▲
by
rekahrv
4y ago
Log frugality and log uniqueness are great concepts. +1 for mentioning both the financial and cognitive costs of excessive logging.
64.
▲
My Worst Python Function Names
(sourcery.ai)
3 points
by
rekahrv
4y ago
|
1 comments
65.
▲
by
rekahrv
4y ago
Docker "Using a virtual environment inside a Docker container is perhaps over-the-top, but it provides extra isolation from the base image’s own Python dependencies, and the entire /venv folder can be copied over between stages if
66.
▲
by
rekahrv
4y ago
Thanks a lot, that's a great intro to many useful tools. I have 2 questions. Managing dependencies "If you’re developing a library, use nothing. Let your users decide, and give them as much flexibility as possible to maximize comp
67.
▲
Zoom, Teams, Slack Are Wreaking Havoc on Employee Productivity
(bloomberg.com)
47 points
by
rekahrv
4y ago
|
23 comments
68.
▲
Consistent Naming with Voldemort Rules in Python Projects
(sourcery.ai)
5 points
by
rekahrv
4y ago
|
0 comments
69.
▲
by
rekahrv
4y ago
A follow-up post: https://sourcery.ai/blog/dependency-architecture/
70.
▲
Law of Demeter, Gateway Pattern, and Package Maturity in Python
(sourcery.ai)
1 points
by
rekahrv
4y ago
|
0 comments
71.
▲
What I learned from pairing by default
(blog.testdouble.com)
1 points
by
rekahrv
4y ago
|
0 comments
72.
▲
by
rekahrv
4y ago
Thank you, that's very helpful. Do I understand correctly that the REST component uses 2 different data structures? schemas.py for the incoming JSON and serializers.py for the return data?
73.
▲
by
rekahrv
4y ago
Great points. My ideal choice would be having both: visualization & rules as code. :-) * Visualization gives a better overview. * Rules as code allows more fine-tuning. E.g. explicitly allowing those few exceptions you mentioned in poin
74.
▲
by
rekahrv
4y ago
Thanks a lot. The Django API Domains Styleguide looks great. Do you perhaps know some open source projects that follow this structure?
75.
▲
by
rekahrv
4y ago
Thanks for the detailed description. That's a really sophisticated system with several cool features. * minimum test coverage on a file-by-file basis * various levels maturity "It also means that there's more freedom in chang
76.
▲
by
rekahrv
4y ago
Yes, Law of Demeter is exactly what these rules are trying to achieve. :-) Thanks, a DAG is a great recommendation.
77.
▲
by
rekahrv
4y ago
I've used multiple names for similar packages incl. `models` and `schemas`. :-) Yes, for this example, I picked `models` to follow Pydantic's terminology. IMO, the FastAPI approach you described makes a lot of sense: The "sch
78.
▲
by
rekahrv
4y ago
Thanks a lot for sharing this link. I haven't used Bazel, but this concept of target and load visibility sounds cool. "Once you've got that feature as a way to tame a larger and expanding codebase, you'll wonder why it i
79.
▲
by
rekahrv
4y ago
Thanks, that's a good point. We thought that a small FastAPI project shows the general concept as well. Do you have suggestions which other examples would be useful?
80.
▲
by
rekahrv
4y ago
That's very cool. Can you tell a bit more about this set of rules? "For example, a high maturity package is not allowed to depend upon a low maturity package. Similarly, a core library package is not allowed to rely on a package t
81.
▲
by
rekahrv
4y ago
Thanks, that's a good point and perhaps a good topic for a future post :-) How to ensure that the API and the db use different models even if those models are in the same package?
82.
▲
Maintain a clean architecture in Python with dependency rules
(sourcery.ai)
139 points
by
rekahrv
4y ago
|
75 comments
83.
▲
Making Our Tests More Concise with Helpers
(sourcery.ai)
2 points
by
rekahrv
4y ago
|
0 comments
84.
▲
What improves developer productivity at Google? code quality
(dl.acm.org)
3 points
by
rekahrv
4y ago
|
0 comments
85.
▲
Why Don't People Use Your Software Framework?
(jina.ai)
3 points
by
rekahrv
4y ago
|
0 comments
86.
▲
by
rekahrv
4y ago
Thanks a lot, that's a very helpful tip. :-) We'll adjust the title for future posts. (And I'll set up such a keyword-based notification for myself. :-) Sebastian's talk is awesome indeed. I learned a lot from it about h
87.
▲
Chatting with Will McGugan: From Side Project to Startup
(sourcery.ai)
2 points
by
rekahrv
4y ago
|
0 comments
88.
▲
Zero-Cost Exceptions and Error Interfaces
(sourcery.ai)
36 points
by
rekahrv
4y ago
|
42 comments
89.
▲
Pairing Psychology and Physical Therapy May Be Best Approach to Back Pain Relief
(bicycling.com)
3 points
by
rekahrv
4y ago
|
0 comments
90.
▲
Rare, midsize black hole caught devouring a star
(science.org)
1 points
by
rekahrv
4y ago
|
0 comments
More ›