Viewing profile — danthemanvsqz
danthemanvsqz
HN member- Joined
- Wed, Oct 26, 2016, 4:26 AM UTC
- HN karma
- 25
- Public activity
- 15 items
- HN profile
- View on Hacker News ↗
About danthemanvsqz
No profile information was provided.
Recent public activity
-
comment
Comment #24667061
I guess they don't have db snapshots.
-
comment
Comment #23518460
The benchmark doesn't reflect how I would use asyncio. Instead of simply hitting a DB I'd like to see adding an API call to the middle of the request.
-
comment
Comment #23451812
Microservices are good for scaling teams not hardware. If you don't have more than one team then there is no reason to break up your monolith.
-
comment
Comment #23444429
They do different things but in the wild are used in the same way. Data classes are not immutable so it would not be ideal for what I used named tuples for.
-
comment
Comment #23443259
Prefer using named tuples over enums in Python.
-
comment
Comment #23264696
You schedule tasks very easily with the Celery Beat Scheduler. I've used it in production system to kick off big jobs and notifications. https://docs.celeryproject.org/en/v2.3.3/us…
-
comment
Comment #14667566
I don't use them on prototypes because I will throw away that code. But IMHO TDD is at it's best when your design is highly likely to change. The only protection you have against a…
-
comment
Comment #14667072
I've always relied on unit tests with mocks with the rule that I only mock modules that are tested and I mock or stub all db and network calls. I also like integration and end to e…
-
comment
Comment #14667003
So there is a tipping point when the technical debt you acquire from not testing catches up with you and cripples the project. I think this tipping point comes much faster than peo…
-
comment
Comment #14666952
In TDD you don't build a wall of tests, you build your tests as you build your code. Test a little, code a little, refactor, repeat.
-
comment
Comment #14658814
I think the only unethical thing is holding back on the results. It's great to automate tasks and the company doesn't need to know about it unless it is explicitly stated. But your…
-
comment
Comment #14640920
Interesting read from the POV of the staffing agency and hiring company. But why should I jump through those hoops when I don't even know if I'm interested in the job? I really thi…
-
comment
Comment #14540789
Wrap the double loop in a function/method and return from the inner loop.
-
comment
Comment #13881011
I think they missed Google's launch of Spanner their distributed strongly consistent DB.
-
comment
Comment #13690553
+1 I was thinking the same thing myself. Pie charts are for elementary school kids.