Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alexpetros
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
61.
▲
by
alexpetros
3y ago
If the supposed benefits of REST are: > 1) It’s simple, and easy to understand. You can perform the same actions on all resources, so you don’t need to learn the details of a specific API to use it. 2) The API is usable via a browser. th
62.
▲
by
alexpetros
3y ago
Thanks for sharing this article, I really liked it!
63.
▲
by
alexpetros
3y ago
> Yes, adding addEventListener code all over your app would be repetitive and wasteful, but that (amongst browser incompatibilities) is why jQuery was invented, but you can hand roll your own utility or use HTMX or a million concise tool
64.
▲
by
alexpetros
3y ago
I probably should have put this caveat in the conclusion but a couple people made some version of this point so I'll put it here instead. I don't think behavior belongs exclusively in the HTML. There are types of webapps and com
65.
▲
by
alexpetros
3y ago
Fixed the "message" and "query" typos, thank you! I iterated on those examples a bit and didn't get them all back into line. As for CSP, my point isn't really that you should be throwing `onclick`s on everythin
66.
▲
by
alexpetros
3y ago
Custom elements are supported, but custom attributes on existing elements are not—an asymmetry that the WHATWG proposal I linked to makes note of.
67.
▲
by
alexpetros
3y ago
This is a good point. I think it's sort of an implementation detail, but it also implicates how you might design the interface (i.e. with inheritance or not). In any case, thanks for the link.
68.
▲
by
alexpetros
3y ago
No question this is true. I do think that the relative immaturity of the these frameworks (from a secondary tools standpoint) is balanced out by the fact that the in-browser debugger is much closer to the actual code you wrote, something I
69.
▲
by
alexpetros
3y ago
I bought this domain like a year or two ago, maybe someone had it before? If there's something I can or should do about that please let me know.
70.
▲
Behavior belongs in the HTML
(unplannedobsolescence.com)
93 points
by
alexpetros
3y ago
|
54 comments
71.
▲
by
alexpetros
3y ago
I think we need to save that for HTML, The Markup Language
72.
▲
by
alexpetros
3y ago
<style scoped> was a good idea. It's frustrating that the spec didn't end up officially supporting it, but a key feature of the web platform is that you can extend it and demonstrate the value that official support would bri
73.
▲
by
alexpetros
3y ago
I can't believe I forgot about this! I love Julia's writing, I cited a different blog post of hers in this piece.
74.
▲
Ouroboros of Bullshit
(thefloatingcontinent.com)
1 points
by
alexpetros
4y ago
|
0 comments
75.
▲
The Easiest Moment in Human History to Plan a Party
(thefloatingcontinent.com)
2 points
by
alexpetros
4y ago
|
0 comments
76.
▲
by
alexpetros
4y ago
I started listening to your podcast a month ago because I was curious about SQLite and came across the transcript. This episode is excellent, as is the podcast backlog overall. I highly recommend it to my friends.
77.
▲
by
alexpetros
4y ago
That was definitely my intent, but I'll add a little note in case it was too coy.
78.
▲
When the Down Arrow Is Not an Upside-Down Up Arrow
(thefloatingcontinent.com)
7 points
by
alexpetros
4y ago
|
3 comments
79.
▲
by
alexpetros
4y ago
Hi all, I've been lurking in the comments all day and I wanted to let the HN community how much we appreciate the wonderful response. We were able to identify and fix a handful issues very quickly (communicating the rate limit when we
80.
▲
by
alexpetros
4y ago
> they pick up on different aspects of your post, and see them as instances of different patterns of human experience. Everything has happened before. It's a bit like the empathy from being well-read, but personalized. The mistakes
81.
▲
by
alexpetros
4y ago
Thanks for the HN hug of death everyone :) As some speculated, we just blew past our rate limit. We're trying to get that raised, but in the meantime the website should better communicate that to you.
82.
▲
by
alexpetros
4y ago
Unfortunately our agreement with the AI platform powering the project currently prohibits us from sharing the model. If that changes, we'll put more details on the site, but in the meantime definitely try downloading the training data: