Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klysm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
751.
▲
by
klysm
3y ago
Absolutely. Anything like bash is not a good language IMO.
752.
▲
by
klysm
3y ago
People love applying arcane knowledge like writing shells scripts to do things. The hard and complex way is fun.
753.
▲
by
klysm
3y ago
Yeah but you can only do that if you have money
754.
▲
by
klysm
3y ago
I don’t hate it, but I don’t see that much use in the extra layer of abstraction. The docs aren’t that great either
755.
▲
by
klysm
3y ago
Containers are mostly better no?
756.
▲
by
klysm
3y ago
Yeah this is exactly why using primitive types for ids is bad. If you encode it in the type system then you cannot make this error and don't need to check it at runtime.
757.
▲
by
klysm
3y ago
Are these simple aliases or nominally distinct types?
758.
▲
by
klysm
3y ago
This principle has served me well for a long time, but it’s definitely a trade off space. We want to enforce as many invariants as possible through the type system, but more invariants requires more complexity. Eventually you run into depen
759.
▲
by
klysm
3y ago
Knee-jerk is definitely the right term for this kind of legislation. I’m confused about how it has persisted. Do onion producers not want to be able to hedge out some price exposure?
760.
▲
by
klysm
3y ago
Unfortunately our time of having trustable information on the internet is rapidly dwindling as LLMs are going to shove garbage everywhere people can get it
761.
▲
by
klysm
3y ago
Yeah but slide shows are a core competency for McKinsey.
762.
▲
by
klysm
3y ago
These are also accessible to a degree from css
763.
▲
by
klysm
3y ago
I disagree. If we had a runtime we'd have to inject that all over the place and compatibility with javascript wouldn't be a given.
764.
▲
by
klysm
3y ago
This kind of mistake is quite easy to make, especially when somebody writes a function that takes several IDs as arguments next to each other. I've seen it happen a number of times over the years
765.
▲
by
klysm
3y ago
> Ah, the magical disappearing type system - now being used for nominal typing. More like: magical disappearing type system is not nominal: hacky workarounds ensue.
766.
▲
by
klysm
3y ago
> Do it on the client side? Not practical given a large amount of documents. > Do it in a sandbox and have aggressive timeouts. Sure! I was just replying to this: > the danger of passing anything derived from user input into the T
767.
▲
by
klysm
3y ago
The downside of structural typing
768.
▲
by
klysm
3y ago
I guess? I would attribute this to poor regulation of the market as opposed to the market itself being bad
769.
▲
by
klysm
3y ago
Wow I’m surprised the reaction was to ban futures on just onions specifically due to some market manipulation occurring. Surely this kind of manipulation wasn’t restricted to just onions? It seems incredibly short sighted
770.
▲
by
klysm
3y ago
Why on earth is trading onion futures illegal in the us
771.
▲
by
klysm
3y ago
Yeah I have the same awkward process for provisioning databases. Another difficulty is configuration of passwords/auth which varies by server typically. Generally speaking I don’t want my migration process to have the ability to assume
772.
▲
by
klysm
3y ago
Uh oh :( this does not bode well for users of home assistant
773.
▲
by
klysm
3y ago
What if you want to allow users to regex search their documents?
774.
▲
by
klysm
3y ago
That’s leaning into a false dichotomy. Not extracting it in the first is clearly the best option
775.
▲
by
klysm
3y ago
sure, I said nothing about that though. It’s still wrong to call it a carbon sink
776.
▲
by
klysm
3y ago
I disagree from a pedagogical standpoint. Math can be used as a tool, but that’s not the most effective way to teach math. I’m assuming the goal is to teach comprehension and understanding.
777.
▲
by
klysm
3y ago
I’ll tack on that file permissions are one of the most confusing parts of Linux to me and I hate having to think about them in any capacity
778.
▲
by
klysm
3y ago
Calling plastics a carbon sink is dubious because you have to spend energy to get the oil out in the first place. How about calling it an oil sink?
779.
▲
by
klysm
3y ago
Wouldn’t make sense for YC - where’s their return?
780.
▲
by
klysm
3y ago
Possibly? That seems like even more of a kludge though because Postgres wouldn’t know if that’s a mistake or intended behavior
More ›