HN user

PudgePacket

1,330 karma
Posts17
Comments363
View on HN

Thanks for point it out, after a quick glance it actually looks like something I want to learn more about. Takes the niceties from prisma.io schema tooling and bring it closer to postgres.

Against SQL 5 years ago

This is a great article and you can tell the author has deep experience with SQL from the way they speak and the other projects they're involved in.

I think many of the comments here are missing the point by saying "Oh you can get around that issue in that example snippet by doing X Y Z". Sure there are workaround for everything if you know the One Weird Trick with these 10 gotchas that I won't tell you about... but that just makes the authors point.

We can do better. We deserve better.

What could things look like if you could radically alter the SQL language, replace it altogether, or even move layers from databases or applications into each other?

Who knows if it will be better or worse, but I'd like to find out.

Would be nice to be able to declare

"Use this size image when the img is being rendered at x size/width/height", size could depend on css, width/height properties, or just imposed by a parent element.

Choosing an image size based on the size of the entire screen is a hack that we've just accepted because we don't have a more precise tool.

Yes, you can technically achieve it with JS, but that's a crutch, and less helpful for page load.

Compilers are hard 6 years ago

I think not enough people appreciate just how amazing TS type system is, I often want to use it in pretty much every other language I use.

Just tried webauthn.io. Doesn't even work :/ I clicked register and it said "Use your security key now or cancel". What does that even mean? What's a security key? Is it a setting in my browser? I have lastpass installed, can it use that? Is it supposed to integrate with the Mac keychain somehow? Gave me no options but cancel.

Pretty underwhelming if that's the future of web auth..