Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drdaeman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
931.
▲
by
drdaeman
3y ago
Ideally, this should be the default behavior, i.e. "/foo/" matching only "/foo/" and nothing else. And if one wants a prefix they should be able to explicitly spell it out like "/foo/{*
932.
▲
by
drdaeman
3y ago
Struct tags is the most notorious example. They’re convenient but error-prone. I think everyone who wrote a decent amount of Go had that malformed, misspelled, or misnamed (“db” vs “sql”) tag at some point.
933.
▲
by
drdaeman
3y ago
Not always, I can imagine a (weird, for sure) scenario where routes are a part of configuration, or are added dynamically at runtime. There’s `recover` of course, but I see no harm in returning an `error`, especially given that `errors.Join
934.
▲
by
drdaeman
3y ago
> 5 year old a calculator to "learn" addition doesn't teach them math Yes, using machines to give an answer, without providing any explanations of the process is not learning. One cannot generally give a young kid a calcul
935.
▲
by
drdaeman
3y ago
This. Companies still happily beat that dead horse and preach the beatings as the way to do things, simply because all their valuations are tied to the belief that Big Data is Big Money. For them, admitting it's not the case and "
936.
▲
by
drdaeman
3y ago
But isn't it a magic string already, because of the {parameter} parsing? I don't really see an issue in treating it as if it was just `Request-URI` (in RFC2616 terms) with some parameter magic, and became a Request-Line-resembling
937.
▲
by
drdaeman
3y ago
> Somewhere along the path, we've made a terrible turn It was a variation of Eternal September that caused it. ;) The majority of users became non-technical, so the focus had shifted as browser vendors needed to cater to different a
938.
▲
by
drdaeman
3y ago
I wonder when they’ll completely forgo HTML and will just start serving giant polymorphic/obfuscated WebAssembly blob that would perform all the rendering
939.
▲
by
drdaeman
3y ago
They have the instruments cluster that looks like a Christmas tree. Giant colorful "econometer" that screams like "some manager wanted to put an ad to remind you how efficient the car is" that has questionable usability,
940.
▲
by
drdaeman
3y ago
> Internet Order of Old Farts Chef’s kiss
941.
▲
by
drdaeman
3y ago
Yes, but if you had to resort to recovery you’re already past Passkeys or passwords. Recovery is not exactly in either’s spec, it’s a separate matter. Saying “but recovery is the same” is pointless - sure it is, by definition, because it’s
942.
▲
by
drdaeman
3y ago
> one common strategy is via displaying a QR code The problem with Passkeys is not that it's not possible, but that the standard is lacking any guidelines for things like this. There is no interoperability in general, it's acci
943.
▲
by
drdaeman
3y ago
The fundamental idea of using asymmetric cryptography to authenticate is good. It is time-proven, and it works in the best interests of users, simultaneously providing improved security. SSH just works (and while it typically lacks fancy UI
944.
▲
by
drdaeman
3y ago
Can you, though? passkeys.io does not showcase this. The default assumption from every vendor is that you'll use their passkeys and they don't care about anything else. It's a very explicit silence, no "official" re
945.
▲
by
drdaeman
3y ago
If I understand it correctly, this only works on another Apple device, though. So you'll need a spare iPhone or something. Also, I'm pretty sure if Apple decides to block your iCloud account, you're most likely SOL.
946.
▲
by
drdaeman
3y ago
You use different numbers, for example 3/5 or 2/3. You have to have at least 3 peers, though (IIRC, 2/3 is the minimum split possible that would provide fault tolerance).
947.
▲
by
drdaeman
3y ago
All those issues were obvious from the day zero, and raised multiple times by many people. They're deliberately ignored by the stakeholders. They strongly want to lock you in to their own authentication platforms (iCloud Keychain, Wind
948.
▲
by
drdaeman
3y ago
The major problem with passkeys is that first they were poorly designed so there's no portability or ability to enroll an offline (or worse, physically unavailable, like stored in a safe) authenticator, then there's this kludge to
949.
▲
by
drdaeman
3y ago
UPD: It seems that the bill itself is not about the AI, but there are some undisclosed amendments to the bill that aren't yet public and that are said to target AI specifically. My bad. On the bright side - my wish to see a legal defin
950.
▲
by
drdaeman
3y ago
Anything can and will break. Symptomatically similar thing happened to me with K8s with (IIRC) Calico. And I’ve had issues with Swarm too, although of a different kind (it quietly refused to run a data channel for me over an IPv6-only netwo
951.
▲
by
drdaeman
3y ago
TV doesn't have a camera that can track your eye movements to ensure you're properly watching those ads and not stealing from the advertisers. /s, of course
952.
▲
by
drdaeman
3y ago
> And you can absolutely be a wonderful senior without knowing the details of the CPU architecture or definitions of OSI layers or whatever. For me, that was a giveaway author had read a bunch of stuff but doesn't understand it (so,
953.
▲
by
drdaeman
3y ago
You missed the "/s" bit, I presume? But you certainly have a point. If JSON still fits somewhere - that's nice, it means the issue is just about YAML syntax (which is a matter of personal preference, really; but I though
954.
▲
by
drdaeman
3y ago
How's this supposed to make any difference about YAML (or this Restricted YAML) being used for things it's not supposed to be used for? It's not a problem that $CI YAML configs have multiple ways to encode strings and need in
955.
▲
by
drdaeman
3y ago
Well, many SQL databases, although not SQLite, have table partitioning feature which does exactly this. The main benefit is that one can configure tablespace (in PostgreSQL terms; essentially the drives to store data) and storage parameters
956.
▲
by
drdaeman
3y ago
True, but there are free and publicly available models and while they're considered to be worse than OpenAI offerings, they aren't that bad. Or at least I hope so.
957.
▲
by
drdaeman
3y ago
Oh, I wasn't aware. Thank you for pointing out. From what I've read, even though there's an injunction, IA was going to appeal, so I hope this isn't exactly over yet?
958.
▲
by
drdaeman
3y ago
Worse - quite frequently reference material is a mashup of different ideas and stories that we've obtained from multiple sources over time. Just like in literature - tropes are standalone entities, and they evolve over time. While a tr
959.
▲
by
drdaeman
3y ago
If a third party poses themselves as a network operator (basically, acts as a proxy/dumb pipe) or a library (if they have a cache) they aren't liable, are they? I think they aren't because proxy and VPN providers, or CloudFla
960.
▲
by
drdaeman
3y ago
It's amusing how scale changes the landscape. A human reads something for free or "free" (if they're a product for advertisers or data collectors). And no one bats an eye if they retell it to others. There are careers of
More ›