Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fzeindl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
121.
▲
by
fzeindl
2y ago
Side note and blog promotion: I find fascinated that ChatGPT can easily simulate the age of child when giving answers for homework: https://www.fabianzeindl.com/posts/chatgpt-simulating-agegro...
122.
▲
by
fzeindl
2y ago
While the IETF might move slower, Java has standards as well. The java-date-time API standardization started in 2007: https://jcp.org/en/jsr/detail?id=310 , than a JEP was created in 2012: https://openjd
123.
▲
by
fzeindl
2y ago
scnr So JavaScript gets what Java got in version 8, 10 years ago?
124.
▲
by
fzeindl
2y ago
Yes, you are right.
125.
▲
by
fzeindl
2y ago
Fyi, there is already a widely used tool along with a company called semgrep, which stems from semantic grep: https://semgrep.dev/ .
126.
▲
by
fzeindl
2y ago
Does it shake out to any real advantage? To put it shortly: Writing single-threaded blocking code is far easier for most people and has many other benefits, like more understandable and readable programs: https://www.youtube.com&
127.
▲
by
fzeindl
2y ago
> Would martial arts really have even more variety here? It depends, but yes. Martial arts is not just boxing. Take the following choreography from one style of Pencak silat: https://youtu.be/8H0x1AKlpM4?si=QJLNffTUozn9kC
128.
▲
by
fzeindl
2y ago
I have had the same idea about martial arts. Not sure it is possible. In dancing you have at least some symmetric patterns and rhythm, in martial arts you have even more stances, rotation around more axes and arrhythmic moves. good dancing
129.
▲
by
fzeindl
2y ago
Next.js (react)
130.
▲
by
fzeindl
2y ago
> ... code up a script that calls some functions with the same signature as tools and then executing that script actually ends up being more accurate than asking it to internalize its algorithm. This is called defunctionalization and use
131.
▲
by
fzeindl
2y ago
> diffused You mean defused? "Diffused" kind of turns the meaning of your sentence around.
132.
▲
by
fzeindl
2y ago
> Either the risk-mitigator 'falls in line' after repeatedly seeing their increasingly strident exhortations are falling on deaf ears (or even outright contradicted)... or they leave because it violates their sense of ethics. O
133.
▲
OpenSSF Best Practices Badge Program
(bestpractices.dev)
1 points
by
fzeindl
2y ago
|
0 comments
134.
▲
by
fzeindl
2y ago
> Don't see any support for CTEs, window functions or joins. Admittedly joins should probably be handled as views, but window functions and CTEs can be very useful in some circumstances. They can be used in a view that is then expos
135.
▲
by
fzeindl
2y ago
> … i.e., don't have PG? Not a problem, just introduce it into your architecture! (/s, from me, but I think the OP is serious.) I do think this is fairly simply for many companies. > But I agree. These sort of "just kee
136.
▲
by
fzeindl
2y ago
I will at some point.
137.
▲
by
fzeindl
2y ago
You can absolutely have versioned views that you expose. An URL like /api/v1/customers could be rewritten to /views/v1_customers. That way you can change your schema internally.
138.
▲
by
fzeindl
2y ago
Thanks for your comment, I will look into postgraphile.
139.
▲
by
fzeindl
2y ago
The GET-endpoints by postgREST are very flexible and support limiting, pagination, ordering, selection of fields etc., which typical hand-written APIs do not support.
140.
▲
by
fzeindl
2y ago
> Anything else, you likely need a transformation layer and also take into account Auth, rate limiting etc You can do flexible auth in PostgREST, but also on an api-gateway. Are you right now doing rate limiting in the backend?
141.
▲
by
fzeindl
2y ago
> I don't understand what's the benefit of adding additional third party code into the hot-path. Adding yet another endpoint is hardly a lot of work, sometimes even auto-generated and has the benefit of being available in your
142.
▲
by
fzeindl
2y ago
> Coupling your API to your database schema is a bad idea. Once you have clients consuming that API you can no longer make changes to your database schema without also updating all of those clients and coordinating their deployments. Thi
143.
▲
by
fzeindl
2y ago
> You mean I get to double the ops maintenance cost of my existing service by adding a new one? You mean I need to figure out how to set up RBAC, rate limiting, logging, and error handling in two places instead of just one? PostgREST has
144.
▲
by
fzeindl
2y ago
Thanks for your response. You are right that care needs to be taken in the authentication layer. And yes, developing SQL in a shared environment is a complex task and needs to be accompanied by proper tooling.
145.
▲
The API database architecture – Stop writing HTTP-GET endpoints
(fabianzeindl.com)
93 points
by
fzeindl
2y ago
|
164 comments
146.
▲
by
fzeindl
2y ago
Checking that the layout isn‘t exponentially complex and DOSing the browser could be a simple task for the web developer. If you want your website to perform bad you can always find a way.
147.
▲
by
fzeindl
2y ago
I never understood why CSS would not just adopt Apple's Autolayout and be done with it: I want to specify that this space should be equal to that space, these borders to grow, and those borders to shrink and this point always aligned t
148.
▲
by
fzeindl
2y ago
No. They can see that there are other ways of living by watching their peers or random people on the street. But they need somebody to make them understand that it’s not them who are destroying the relationship with their surroundings and t
149.
▲
by
fzeindl
2y ago
This is old news. Basically children in bad situations need just one reliable person who believes in them in their lives. What it does is making them realize that it’s not them who are doing something wrong but that their surroundings are f
150.
▲
by
fzeindl
3y ago
What I find funny is that with that kind of money you could staff 10 app teams, develop the app 10 times in different ways and just pick the best one in the end.
More ›