text stringlengths 0 1.36k |
|---|
• Story about the Olson database, a comprehensive list of timezone adjustments that defy logic and standardization attempts. |
• Discussion of the difficulties with loading timezone data in JavaScript libraries |
• Introduction to the Temporal proposal for a new standard in TC39 |
• Overview of the proposed Temporal object, including local date/time and zoned date/time types |
• Pain points with floating times and their mapping to localized date/time objects |
• Need for native implementation of temporal standards in browsers |
• Mention of other languages handling timezones better (e.g. PHP) |
• Discussion of the complexities of shipping timezone data with web apps |
• Brief tangent on the history of the Olson database and its maintenance |
• MomentJS is a popular library for working with dates and times in JavaScript |
• Rachel White and Mikeal Rogers discuss the importance of using established libraries like MomentJS instead of rolling your own solutions |
• Glitch is a new project that allows users to build web applications in Node.js, including frontend and backend, with features such as real-time collaboration and live coding |
• Glitch has a strong focus on education and making code more accessible to non-developers, with curated collections of apps and templates for beginners |
• Jenn Schiffer joins the conversation, discussing her role at Fog Creek and the company's goals for Glitch, including creating a platform that is accessible to developers and non-developers alike. |
• Glitch is an online platform for building web applications and exploring coding concepts |
• The platform allows users to view the source code of applications in real-time and remix existing projects |
• Community moderation and inclusivity are key focuses for the project |
• Partnerships with companies like Slack make it easier for developers to work with APIs and build integrations |
• Glitch aims to address the challenge of teaching coding concepts by providing a hands-on, interactive environment |
• Users have created a wide range of projects on the platform, including pixel art color analyzers and weather apps using APIs |
• Glitch.com features a community page with curated projects, including bots and tutorials |
• Future plans for Glitch include API integration with companies that require tokens or payment |
• The "For Your API" program helps companies integrate their APIs with Glitch users |
• Jenn Schiffer's mission is to make programming easier for everyone |
• Mikeal Rogers' pick is the book "Wild Fermentation" |
• Rachel White's pick is a repository of companies that do not use whiteboarding in interviews |
• Jenn Schiffer's picks include Greek yogurt, The Wing women's social club, and a tweet about drawing a chameleon from memory |
• The conversation also touches on making homemade yogurt using a sous-vide machine |
**Mikeal Rogers:** Hey, welcome to JS Party, where it's a party every week with JavaScript. I'm gonna say that every time, until Alex's head explodes. Alright, so today we're gonna dive right into it and we're gonna talk about PWAs, we're gonna talk about Glitch, which is Jenn Schiffer's new thing, who is the best pers... |
**Jenn Schiffer:** It's not just Jen... |
**Alex Sexton:** Chill... |
**Mikeal Rogers:** And we're gonna talk about everybody's favorite part of JavaScript, the Date object. Alright, to kick it off - PWAs (Progressive Web Applications). This is a term that gets thrown around all the time, it's a term that I don't think anybody actually understands what it means... Rachel, based on your i... |
**Rachel White:** First of all, I would never read anything about programming on Reddit. Second of all, I literally know nothing, even though I've seen people talk about it... So my interpretation of what a Progressive Web App is is just taking the name and assuming that it's not an application that deals with politics... |
**Alex Sexton:** It's socially liberal. |
**Mikeal Rogers:** It's not Conservative Web Applications... |
**Alex Sexton:** Exactly. |
**Rachel White:** Is it an app that progressively gets better...? Is it something that you improve on over time, or is it something -- I don't know, I have no idea what it is. |
**Alex Sexton:** First step to shipping a Progressive Web Application is you just ship a white screen. You tweet it out, and that's your application. Then you're like, "Boom! A button." It progressively got better. Next week, "Boom! Three buttons." Better still. |
**Mikeal Rogers:** Three buttons are always better than one button, no matter what it is. \[laughter\] No matter what the use case is, you need three buttons. |
**Rachel White:** So what are the enhancements then? What is it doing...? Obviously, it's an application, but I wanna know what is the progressive part and what is the enhancement part? What does it take in order for it to be categorized as this thing? |
**Alex Sexton:** Cool, so we'll start with your second question, which is what is the enhancement part? And I'll answer that by saying no one said the word enhancement until you did. I think you're getting that confused with progressive enhancement... Which is actually pretty related, so you're not all the way out of l... |
**Mikeal Rogers:** So wait a second... Progressive enhancement and Progressive Web Applications are two completely different things? |
**Alex Sexton:** This is a loaded question... |
**Mikeal Rogers:** We're looking at Alex like it's his fault, like he came up with this... \[laughs\] |
**Alex Sexton:** They're absolutely in the same vein... They kind of come from two historically different places. |
**Rachel White:** Wait, so progressive enhancements - would those be enhancements that are made progressively, and then a progressive -- I don't know, just tell me... \[laughs\] |
**Alex Sexton:** So it has less to do with the development cycle. Progressive enhancement for a development cycle would mean like you're fixing bugs and making things better over time. Progressive enhancement generally implies that.. |
**Rachel White:** ...you're doing your job! |
**Alex Sexton:** ...you build a web application that works on the worst browser, and then as browsers support features, then you can make the experience better, you can enhance the experience progressively based on those feature tests. |
\[04:03\] Progressive enhancement - the word comes from the battled days when 20% of the internet disabled JavaScript... So the whole mantra was "Make sure your website works without JavaScript, and then progressively enhance it to have any JavaScript whatsoever." That's where that term comes from. |
Now it has been co-opted through each generation beautifully - I don't think that's a bad thing - so now progressive enhancement often implies that you're building a progressive web app, but a progressive web app is like a new term, mostly from the Google ilk, that I can break down if we're done doing the guessing sect... |
**Mikeal Rogers:** You can explain what it is now, that's okay. |
**Alex Sexton:** Okay, cool. So first of all, if you wanna follow along at home, Google kind of is the pusher behind the term Progressive Web App. I'm not sure it came from them, but I'm pretty sure it came from them. They have a checklist - you can go to developers.google.com/web/progressive-web-apps/checklist and the... |
**Mikeal Rogers:** Based on the simplicity of the URL, I'm guessing it's about 92. |
**Alex Sexton:** Yeah... No, it's actually not bad. It's broken into sections... Baseline, and then Exemplary Progressive Web Apps. So before I go into this checklist, a Progressive Web App is generally something that is approaching a native app, in the sense that it loads offline and it's fast and secure and responsiv... |
Progressive Web App means that it can work on a desktop, but it also can work on your phone offline. The progressive enhancement that's happening here is that it is -- Mikeal brought it up last week as the offline-first crowd... There's another angle in the same space, which is -- the progressiveness is if you have a n... |
So really, if you boil down to everything, the word Progressive Web App really comes from the service worker kind of baseline, and you can actually do it without service workers of like old tech and some magic and some stuff... But really, service workers are what you need to build a modern Progressive Web App, and the... |
I can go through the checklist, but does that make sense so far? |
**Rachel White:** Yeah, that does make sense... Just for anybody that doesn't know what service workers are - it's basically a script that you run that is separate from the stuff on your web page, that lets you have other things that you can -- I'm really bad at explaining things... So you can use it for having that of... |
**Alex Sexton:** Yeah. I think a key thing to know about service workers is that they're installed; there's not like an install pop-up, but they're inherently installed in cache, and then the installed service worker runs anytime that URL hits, and then they're inherently also coupled with a cache object. So those two ... |
\[08:00\] One of the most beautiful things about service workers is that by definition on the first load you won't have one, so it forces -- we talked a little bit about this with AMP, they're trying to force people to have fast website, but they might actually be doing the opposite in some cases. |
In this case, what they wanna force people is to work offline, but they don't want people to build websites that assume anything, assume a good network connection. Because once you're offline, everything's locally cached. The most beautiful thing about service workers is that the first time you load a page, the service... |
And on that first load, you can install the service worker, and then from then on out, that JavaScript can run prior to the request for the page being made. That's kind of the key ingredient there - you now have JavaScript that can run without any network request on future requests. So what you may do is say, "Alright,... |
Then I'll actually go ahead -- if I have a network connection, I'm gonna go see if there are any updates, like "Does Alex have a new blog entry?" And if it does, I can kind of put a little thing on the top that says "There are new entries here" or just immediately pop it in, depending on the experience, or something li... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.