Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
valenterry
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
valenterry
1y ago
> I'm thinking what is the missing piece here First, it's cool that you work on it. Creating a new language is not an easy task. I would suggest to try to stand on the shoulders of giants instead of trying to come up with a com
32.
▲
by
valenterry
1y ago
Yes it does. Apache ant did that... many many years ago. Creating a new language that looks like XML but is not XML is... kind of unforgivable. I'd go as far and call it amateur-like. We already have good configuration languages (such
33.
▲
by
valenterry
1y ago
Yeah. I judge the maturity by that. If there's only a javascript/node and python sdk, that means I'll stay far away from it for the time being.
34.
▲
by
valenterry
1y ago
Oh of course, I'm sure the kubernetes project tests that they trigger restarts correctly etc. But that doesn't cover the behavior of your app, the specific configuration you ask kubernetes to use and how the app uses its health en
35.
▲
by
valenterry
1y ago
Oh, thank you for the nostalgic reminder of that one. I read that a decade ago and found it hilarious.
36.
▲
by
valenterry
1y ago
In general, if you can move any kind of logic to a lower level, that's better. For example, testing that kubernetes restarts work correctly is tricky and requires a complicated setup. Testing that an erlang process/actor behaves a
37.
▲
by
valenterry
1y ago
There are a few stages, and each improves on the previous ones: 1. Detect crashes at runtime and by default stop/crash to prevent continuing with invalid program state 2. Detect crashes at runtime and handle them according to the busin
38.
▲
by
valenterry
1y ago
Now you are not comparing passwords with passkeys anymore, but MFA with passkeys. Not sure what the point is in the context of the discussion. > In that sense, I am not sure it is so different from passkeys? Yes, if it means "comp
39.
▲
by
valenterry
1y ago
Exactly! That is what I would like to have too and that is in fact how I currently use passkeys.
40.
▲
by
valenterry
1y ago
> but I don't know situations where a website works with some clients and not others For example: https://www.w3.org/TR/webauthn-2/#dictdef-authenticatorselec... > If the website accepts a password, the
41.
▲
by
valenterry
1y ago
Which is exactly what I said.
42.
▲
by
valenterry
1y ago
No, that's not what I meant. There are cases where bitwarden doesn't work but chrome for example does. Easy to Google up. For passwords however, I never heard of a case where a website only accepts passwords from a specific passwo
43.
▲
by
valenterry
1y ago
I agree, but there is no guarantee that it will stay like that. In fact, there are many people who argue to completely get rid of passwords.
44.
▲
by
valenterry
1y ago
Unfortunately just because it's possible with Bitwarden doesn't mean it is always possible.
45.
▲
by
valenterry
1y ago
True. Still, the difference is that with passwords, no one can stop you from "exporting" it. With passkeys, it could be changed, and the power for that lies in the hands of only a few vendors. It's still a bit concerning if
46.
▲
by
valenterry
1y ago
> Passkey are more like password managers, and less like MFA tokens No: - I can always export and import all my passwords from/into my password manager - My passwords always work independently of a password manager or any specific a
47.
▲
by
valenterry
1y ago
No need to write like that. I know, understand and use passkeys for quite a while now. I don't love them. I don't love passwords either. But while I don't fear passwords, I fear passkeys. The reason is that it makes the tech
48.
▲
by
valenterry
1y ago
> Passkeys is the way to go No, at least not on its own. Let's not repeat the mistakes. Password managers are the way to go and ONLY FOR RARE EXCEPTIONS we should use dedicated MFA, such as for email-accounts and financial stuff. An
49.
▲
by
valenterry
1y ago
In real world you are not using either, you have way more way to optimize for a specific problem. For street networks you'd probably start with "A*" or something like that.
50.
▲
by
valenterry
1y ago
As a primary backend developer, I want to add my two cents: > Top-Level Await: Simplifying Initialization This feels absolutely horrible to me. There is no excuse for not having a proper entry-point function that gives full control to th
51.
▲
by
valenterry
1y ago
<Sorry, wrong thread>
52.
▲
by
valenterry
1y ago
> The difference is that happens in the domain layer instead of the type layer. What's those layers you are talking about? In my domain-logic code I use types of course so there is no dedicated "type layer".
53.
▲
by
valenterry
1y ago
> I think the structural type approach leans heavily into the "computation is just data and its transformations" But it's never "just data". My password is different in many ways than my username. Don't yo
54.
▲
by
valenterry
1y ago
Title should been "names are not ENOUGH for type-safety" but then no one would have read it I guess...
55.
▲
by
valenterry
1y ago
I'm on the practical side of things and have dabbled quite a bit with languages like Idris, I think we are mostly far from using them because of ergonomics. Even in Scala (which is a very advanced language, but still far behind Idris)
56.
▲
by
valenterry
1y ago
Nice game!
57.
▲
by
valenterry
1y ago
> why do you think that this must happen on the front-end? It must happen on both frontend and backend, because it's about their communication with each other. So that includes frontend. > a) serve an error page, leaving that to
58.
▲
by
valenterry
1y ago
> The same thing should happen that happens with Rails/Django and friends: nothing So you can never make any breaking change to your api whatsoever? Or, in practice, you don't care and let users deal with app crashes and inva
59.
▲
by
valenterry
1y ago
> Tanstack router[1] provides first class support for not only parsing params but giving you a typed URL helper, this should be the goal for the big meta frameworks Let's not pretend that the Tanstack solution would be good . For e
60.
▲
by
valenterry
1y ago
I get where you are coming from. But it's very easy to generate the SQL from the code. Then I take that, tune it in my SQL IDE against the DB and then adjust the code. Since the code is basically a 1:1 mapping to SQL (just with slightl
More ›