Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hackandtrip
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
hackandtrip
5y ago
Well, the most basic pro is to avoid indentation and have pure function which are clear and have less assumption to take into account; if I know that my pipes always return me a result such as the one I want, and the "bad path" is
32.
▲
by
hackandtrip
5y ago
Who knows if a potentially well-made and viral show will put the light on the amount of money that VCs are investing in startups, and new regulations (good or bad) may appear
33.
▲
The Dropout – The Story of Elizabeth Holmes
(youtube.com)
1 points
by
hackandtrip
5y ago
|
1 comments
34.
▲
by
hackandtrip
5y ago
Can't you 'compose' together the various errors inside the `Failure` and inspect it at the end of the pipe?
35.
▲
by
hackandtrip
5y ago
Good luck checking for `None` equality and indent your code like 5 times... a sort of railway programming[0] avoids the awkward checks for values, making functions work with higher order types. 0: https://www.greenbird.com/n
36.
▲
by
hackandtrip
5y ago
A similar "framework", very robust and used in production systems, is dry-python's one[0][1]. The approach taken is a bit different I think, since they rely heavily on `mypy` plugins to reach type safety and functional constr
37.
▲
by
hackandtrip
5y ago
+1. As software engineers I think we should explore more the part of our skills that can create things that are not useful per-se, but creative and funny, such as the best gifts (at least for me) are
38.
▲
by
hackandtrip
5y ago
Love FastAPI for lot of concepts that it helped to make mainstream, such as typing-based-validation, but its documentation is lacking. I love the tutorials, but an API reference is just as important; I may not want to check out long tutoria
39.
▲
by
hackandtrip
5y ago
Are those alternatives faster according to benchmark? In my experience, the bottleneck is either: - JSON parsing and dumping; the solution for me is ORJSON, fantastic wrapper to use fast JSON serialisation for most common fields, and also d
40.
▲
by
hackandtrip
5y ago
Well, I strongly believe in testing all the queries/transactions (for example the repository pattern is super helpful to separate concerns and allow you to test only what concern your queries and the DB); but those are tested separatel
41.
▲
by
hackandtrip
5y ago
Great article, not the first time I read this argument against the usage of mocks; I never understood though how to solve the problem of the explosion of the path that must be tested (usually exponential). As an example, consider a single A
42.
▲
by
hackandtrip
5y ago
Note that Uvicorn still recommends to use Gunicorn for production use, with the Uvicorn worker class implemented for Gunicorn. https://www.uvicorn.org/#running-with-gunicorn
43.
▲
by
hackandtrip
5y ago
I may be an average corporate backend dev, but if anyone I work with would react in this way after any kind of mistake I did, I would report the situation / leave immediately. Honest feedback is surely key to keep quality, innovation,
44.
▲
Ask HN: Any New Years' Resolutions?
1 points
by
hackandtrip
5y ago
|
0 comments
45.
▲
by
hackandtrip
5y ago
Very interesting, thanks for the clear answer! Love the fact that you make it easier for the customer to get a refund through your process, than through the refund one; I do not work in this space and offering free refunds for my product co
46.
▲
by
hackandtrip
5y ago
Kudos for the donation to charity! I wonder how the other for-profit in this space keep their business running, considering the amount of disputes that must come from users. For example, I know that Stripe is very strict on the disputes per
47.
▲
by
hackandtrip
5y ago
After ~2y of professional experience, I don't think that there is huge hard skill gap between non-professional and professional devs. The biggest thing is understanding that you may work on a single tool in ~10/100 people, so you
48.
▲
by
hackandtrip
5y ago
Any thoughts from HN about gadgets that made their life (either work or social) significantly better in 2021?
49.
▲
by
hackandtrip
5y ago
I find Changelog podcasts ( https://changelog.com/podcasts ) very high quality. Some examples: - Richard Hipp (SQLite creator) ( https://changelog.com/podcast/454 ) - Co-founder of Cockroach Labs (Massive
50.
▲
by
hackandtrip
5y ago
100% agree on this and that's my point. Was that code merged without any review? If so, that is a recipe for disaster. Why no unit tests, integration tests, QA? What was the speed at which the outage was resolved? If a sane deployment
51.
▲
by
hackandtrip
5y ago
The fact that an individual can bring production down is 1000% a problem in the process; outages should not attributed to single commits but to a series of problems in the process. Just saying this since the number of times someone being pr
52.
▲
by
hackandtrip
5y ago
Did not know it existed, extremely cool indeed! By skimming it I still think Pulumi might have a better Dev UX, but surely Terraform is still catching up
53.
▲
by
hackandtrip
5y ago
Any performance benchmark? I know it is hard to compare, but I do wonder if it is actually already faster than MongoDB.
54.
▲
by
hackandtrip
5y ago
Any suggestions to learn and go deep in PostgreSQL for someone who worked mostly on NoSQL (MongoDB)? From the few days I have explored it, it is absolutely incredible, so congratulations for the work done and good luck on keeping the qualit
55.
▲
by
hackandtrip
5y ago
I had a similar experience, with 10-12 days of mild symptoms (up to 40°C fever), but the general feeling of tiredness and the infamous "brain fog" stayed for 3-4 weeks (it's not completely gone yet). Definitely one of the wor
56.
▲
by
hackandtrip
6y ago
This is so true and my experience completely checks out with it. I started trying out Linux with the usual Ubuntu / Linux Mint distros, but I got so confused by the lack of structure and understanding of what is the correct way to do t
57.
▲
by
hackandtrip
6y ago
I skimmed the contents, but I don't get any alternative to the standard calories counting. It's the only way to quantify the intake without revolutionising the food industry packaging, or am I missing something?
58.
▲
by
hackandtrip
6y ago
It happens A LOT with non-GSuite Gmail accounts (personal GMail accounts) too!
59.
▲
by
hackandtrip
6y ago
Some fast implementations in C++? In particular, I tried in the last weeks to work on a OpenMP / MPI driven CSV parser, but surely accounting for new lines inside quotes can be a pain the ass, I'm wondering if there's a go-to
60.
▲
by
hackandtrip
6y ago
I think productivity enhancements are really tightly coupled with the domain and type of activity you are doing. For example, as a university student, I noticed that timing the number of hours I pass on each topic is useful for 1. understan
More ›