text
stringlengths
0
1.36k
**Rebecca Murphey:** I think private really is...
**Alex Sexton:** Yeah. I mean, still you can then leak information via a hundred other different ways, but that's kind of on you. The browser actually is doing it's job if they had a Tor private one. I think it'd be really nifty, but also the Tor infrastructure needs some work before that can necessarily become a super...
**Rebecca Murphey:** Well, that's my prediction.
**Alex Sexton:** Yeah, good job! I like that prediction. I don't know if I believe it... Anyone else have a prediction?
**Rebecca Murphey:** I don't know if I believe it either, but...
**Alex Sexton:** Yeah, sure. Even if Brave doesn't beat Firefox, I think Brave will influence the other browsers for sure.
**Rebecca Murphey:** For sure, yeah.
**Adam Sontag:** I mean, I just think that eventually their coding is gonna get easier on things that are not keyboards - and I don't have any insight into when or how, but it just seems kind of unsustainable. Especially like a generation of people have their primary internet access on their phone, and it's in a world ...
**Alex Sexton:** Yeah. I also have no idea what it would be, but I guess that is ripe for all you entrepreneurs out there to fail a few times on some touch-something, or other holograms...
**Rebecca Murphey:** The Pinboard guy was just talking on Twitter about how programmers don't think they can be replaced by automation. I wonder -- like, we won't be using keyboards because we aren't doing anything at all... \[laughter\]
**Paul Irish:** \[55:53\] I was gonna throw out a prediction along those lines, which was that more basic web design is going to be handled by our AI overlords. And especially, it makes a whole lot of sense with Wix and Squarespace etc. to be using -- whatever that startup is that I think didn't really...
**Alex Sexton:** Yeah, it failed. It's like the AI-generated...
**Paul Irish:** Was it The Hive, or something?
**Alex Sexton:** It was like The Grid.
**Paul Irish:** The Grid, yeah. There you go. And I think that the idea is compelling and would actually work for a bunch of websites. That would work for a lot of small business and all those sorts of things, but we'll see.
**Alex Sexton:** It was a failed startup, but my manager - I feel like they sort of had a cool idea that maybe will work in the future. It was user testing with AI - kind of mashed those two together. So rather than writing your tests, it's like an AI knows that there's a button and that it might fill out a form and th...
**Paul Irish:** Yeah, that's compelling.
**Alex Sexton:** So you could kind of just like give it a web page and then it would use it like a user would use it, rather than... I mean, obviously it'd probably still write other types of tests, but I thought that was kind of cool as an idea.
I think my actual prediction that I was gonna say for this though is that there will be -- like, the React model of things might still be around, but I think my prediction is that it will be React-like, but the underlying technology will be Web Components. So you may author in something that's not Web Components, but I...
**Rebecca Murphey:** I think Alex Russell just kind of took over your body there for a minute...
**Alex Sexton:** Oh... No, it happens for five minutes a day.
**Adam Sontag:** It actually -- that happened a long time ago. \[laughter\]
**Alex Sexton:** Live through me... \[laughter\] Someone asked a question, Paul, in the JS Party Slack channel, which you guys can all join (changelog.com/jsparty), and you kind of perked up, and I was a little bit interested in why you perked up so much... \[laughter\] Because the question seemed like a joke. The ques...
**Paul Irish:** Yeah, the question seems pretty valid, because... To go back to our yayQuery roots, it is getting elements and doing things with them. And I write code with querySelectorAll() and addEventListener() every single day, so I still do feel the listener's pain... So why they're actually so long - 1) because ...
But there were conversations on both of these cases, to introduce shorter APIs for them. So taking querySelectorAll() there is a published spec called Selectors Level 2 that has an element.Find and element.FindAll method, which basically are the exact same things as querySelectorAll(), but with one key fix, which is th...
**Alex Sexton:** What?
**Paul Irish:** ...which is really unexpected.
**Rebecca Murphey:** I was like, "Wait, what?!" \[laughter\]
**Paul Irish:** \[01:00:04.02\] Yeah, you can do -- I think what it is is let's say that you have this small item container, and then you say querySelectorAll(), and then you pass it a hash ID, and then something else, and it will actually just reach out above this whole item container and return it from another place ...
**Rebecca Murphey:** So the context doesn't matter...
**Paul Irish:** Right, right.
**Rebecca Murphey:** What if I wanted the context to matter, because that's DOM?
**Paul Irish:** Yeah, exactly. I mean, basically it was a bug in --
**Adam Sontag:** Context stopped mattering a long time along now... \[laughter\]
**Paul Irish:** There was a bug in how they designed the feature, and it just messed it up. I think John Resig has like two blog posts around 2007-2008 saying "Hey, there's this API that's about to come out that has this massive bug", but I guess nobody decided to pay attention and fix it before every browser shipped i...
**Alex Sexton:** But it shipped. It exists.
**Paul Irish:** querySelectorAll()?
**Alex Sexton:** Find and FindAll.
**Paul Irish:** No. Find and FindAll do not exist, other than in a spec, and they're just sitting there in the spec looking so pretty, and it was like "It would be nice to type something a little bit shorter." I was looking into it, and as far as I can tell, spec-wise it's in decently good shape, it's just browsers hav...
**Alex Sexton:** But is there a different story for Add Event listener?
**Paul Irish:** Yeah, a slightly different story there, which is that there are a lot of conversations around introducing an On method to the element prototype, which would just be nice to shorten things up. And there's some hesitation there from the editor of the DOM spec, who basically says "Yes, it's kind of nice fo...
**Alex Sexton:** For sure... Sounds like it. I think some of my favorite predictions from the channel were that we wouldn't get element media queries, which have been predicted for a really long time; it's the Linux of the desktop of CSS features. For those of you who aren't familiar, you can make media queries based o...
**Paul Irish:** It's not scoped to the Shadow DOM, it's still the full thing. It doesn't change with Shadow DOM.
**Alex Sexton:** Still full window... That's rough. Ugh!
**Paul Irish:** I know that the biggest concern - we have people listening who know this better than me. I know the biggest concern with element queries was that doing height element queries can go into a recursive loop and that's a big problem. I actually sit pretty close to one of the CSS spec editors and I was like ...
**Alex Sexton:** You did not listen to his response.
**Paul Irish:** \[01:04:07.20\] He said something...
**Alex Sexton:** I have a suggestion, Paul.
**Paul Irish:** Okay.
**Alex Sexton:** Cool. We normally end the episode with picks - do you guys have picks by any chance? Did any of you do that? I gave you some homework... Anyone have one?