text
stringlengths
0
1.36k
**Mikeal Rogers:** Alright, so I think we're due for another break. When we come back, Alex might finish this Netflix interview... \[laughter\] We're actually gonna get into the projects of the week when we come back.
**Break:** \[00:46:13.19\\\] to \[47:29\]
**Mikeal Rogers:** And we're back! Alright, project of the week this week is PouchDB. Woohoo! Everybody out there who's a Nolan Lawson fan I think is gonna get a little giddy at this one.
**Rachel White:** Everyone's a Nolan Lawson fan!
**Mikeal Rogers:** That's a good point. That's a very good point. So PouchDB is a scaled-down version of CouchDB. For those of you that don't know about CouchDB or just don't wanna dive into all of that, the one thing that makes CouchDB unique is that it has a very different data replication model, so rather than havin...
\[00:48:16.13\\\] The way that you store data is that you get these revision numbers that allow you to essentially sync data with other people over time, whether you go online or offline, and you can handle these -- what you call three-way sync problems, where it's not just two people syncing back and forth, but there'...
So yeah, it's a really good project, and I encourage everybody to check it out. What are your thoughts on this, Rachel? Have you used PouchDB at all?
**Rachel White:** I have not used PouchDB. I'm actually working on a new project, and was trying to decide which database to use, and Pouch was one of the ones that I was considering, only because I honestly haven't -- I have not very much database experience aside from your average, run-of-the-mill MySQL database, or ...
**Mikeal Rogers:** If you're doing anything offline, there's really nothing else, really.
**Alex Sexton:** It's just plain local storage.
**Rachel White:** That makes sense, especially if it's stored.
**Mikeal Rogers:** Yeah... Explain local storage, or explain IndexDB?
**Alex Sexton:** I said "Just plain local storage." You can just use the raw tools, but syncing becomes a manual process; I think that's the difference.
**Mikeal Rogers:** Yeah, yeah. Syncing becomes problematic. Also, PouchDB is really cool because it's so portable. It runs in the browser, it runs in Node, it runs in Node on top of a bunch of different-looking databases, the underlying data structures that are based on LevelDB. So if your data looks different than oth...
It also syncs with CouchDB, normally... IBM Cloudant, so you can sync with them and with anybody else who runs a CouchDB somewhere.
**Rachel White:** Cool.
**Mikeal Rogers:** Yeah. The project has a pretty interesting history that I think that we have time to get into. I think Nolan's given a few talks about this, because I think that in this kind of new world of open source, everybody who starts a project really feels this burden to continue to do it indefinitely, and on...
In 2009 I left Mozilla to go to the CouchDB company, which at the time it had more names than products that got released, so I won't get into the name of the company, because I think everybody saw it with a different name. But while I was there, Mozilla was working on a new standard for the browser with IndexDB, and th...
So that was kind of how the project started, and then it just kind of sat there as like this proof of concept on GitHub that nobody was really looking at. And Dale Harvey, who was doing the opposite - he was at the CouchDB company with me and then he was moving on to Mozilla, he took an interest to the project and was ...
\[00:52:06.17\\\] He then built a much bigger community around it and a bunch of different stuff, and then eventually he kind of got tired of it, and then Nolan Lawson was like "Oh, I have all these big ideas for integrating with all this different LevelDB stuff that's going on", and now Nolan has kind of taken on the ...
**Alex Sexton:** It's really kind of emblematic of the project.
**Mikeal Rogers:** Yeah. Oh, and credit where credit's due - Max Ogden came up with the name PouchDB. He's very into puns, and he thought that it's a small database, it's like a database that you put in your pocket, like a pouch, so that's where that came from. Just FYI on that one...
**Alex Sexton:** Do you know any production stuff that uses it?
**Mikeal Rogers:** Yeah. I can't recall -- there was this hospital software that was using it... Hoodie uses PouchDB, so a big part of the Hoodie project is PouchDB. They've done a bunch of different big projects for places that they use the full Hoodie stack, and especially PouchDB, one of which is -- I think it was o...
**Alex Sexton:** Cool.
**Rachel White:** I think that the GitHub for PouchDB too is also super friendly to people that are interested in trying to contribute to it. I think that also has a lot to do with the kind of good stuff that Nolan encourages in open source and the Hoodie people as well. I know at least Gregor does a lot of stuff with ...
**Mikeal Rogers:** Yeah... I mean, if you're gonna build a spectrum of projects that are really good at the community side of stuff, bring in tons of people, are super nice, constantly getting new contributors, have contributors doing lots of non-code tasks as well... Hoodie is like the far end of the spectrum. They're...
If you're new to programming and wanted to get into open source, I would encourage you to look at Hoodie, because they'll have something great for you and they'll treat you really well, and they're just great people all around.
**Rachel White:** There's also stuff that's tagged for first-time contribution, and non-code contributions, so there's some nice options in there.
**Mikeal Rogers:** Jenn Turner has mentioned that eHealth Africa is the app that I was just talking about; she popped into the chat and set us correct on that stuff.
Cool. Okay, I think that we're probably ready to move on to our picks now. Rachel, I know that you've got your pick all lined up, why don't you tell us about that?
**Rachel White:** Yes, I do! My pick of the week, which (I don't know) is pretty popular and it's extra cute and I'm excited - it's called tiny-care-terminal, and it's made by Monica (I don't know if I'm gonna say her last name right) Dinculescu, who is notwaldorf on GitHub. It is a Node.js app that -- well, it's a Jav...
\[00:56:05.28\\\] It's basically like a dashboard, but right in your terminal, and it's there to let you know what you've worked on recently with your GitHub commits for the current day and the previous week, and then also... This is my favorite part - it pulls in three little current Twitter feeds, one from Tiny Care ...
So you'll get a little tweet that says - I'm reading one now - "A mermaid paints the picture of a glass circus tent." They're just silly, but it's nice... People don't really build - as far as I know of - things for the terminal that aren't actual tools. This is just something nice, and I like that, and I wish more peo...
**Mikeal Rogers:** Awesome! Alex?
**Alex Sexton:** Cool. Mine's pretty quick and easy. It's by Paul Irish, it's called pwmetrics. It's a command line application, it stands for progressive web metrics. It uses Google's Lighthouse performance measurement tool, and kind of combines it with the command line. So you just say "pwmetrics" and then give it a ...
So it kind of gives you a bunch of quick, easy stats, so you no longer have to go to the Lighthouse beta webpage and type in your URL and stuff like that. I don't know if I'd make this part of your build process, because you're kind of relying on other people's -- well, no, you're not really... It runs locally, so it r...
**Mikeal Rogers:** Cool! Awesome! Mine is a website, it's called GitHub. It's really cool, there's projects... No, I'm kidding. My pick is not GitHub. My pick is really self-promotional this week... Request For Commits is another podcast that I do on the Changelog network with Nadia Eghbal, where we dive really deep in...
But in the meantime, you can go and check out the old episodes, because they are all very timeless there. There is no news in them, it's all -- we talked to a lot of people about projects that have been around for like ten years. If you're really interested in web stuff, I highly recommend the one with Brendan Eich, wh...
That's our show! Thanks everybody for showing up. Rate us on iTunes, do all kinds of things to promote us; tell your friends, tell your mother... Even is she doesn't write JavaScript, she can learn... That's it. Bye!
• Definition of Progressive Web Apps (PWAs) is unclear
• Rachel White shares incorrect assumptions about PWAs, including one being an app related to politics and another being an app that progressively gets better over time
• Alex Sexton clarifies that progressive enhancement refers to building a web application that works on the worst browser, then enhancing it as browsers support features
• The term "Progressive Web App" was coined by Google and involves a checklist with multiple sections
• A Progressive Web App is typically an app that loads offline and provides fast, secure, responsive, and mobile-friendly experience
• Service workers are key to building modern PWAs, enabling features like offline loading and push notifications
• Service workers and their role in Progressive Web Apps (PWAs)
• Requirements for PWAs, including HTTPS, responsiveness, and mobile support
• Benefits of PWAs, including offline functionality and fast loading times on 3G networks
• "Add To Homescreen" feature for Android devices
• Security concerns with service workers and PWAs
• Target audience for PWAs, including those with limited network connections
• Comparison between PWAs and native apps
• Role of Google's Lighthouse tool in evaluating PWA performance
• Discussion around Progressive Web Apps (PWAs) and their association with service workers
• Criticism of the term "Progressive Web App" as being too broad and encompassing only service worker functionality
• Mention of Safari's "Add to Home Screen" feature and Google's similar features
• Hope for a future where PWAs can provide seamless offline experiences and web apps become the new app store
• Discussion around JavaScript's date and time functions, including their complexity and limitations
• Mention of third-party libraries like MomentJS to handle date and time calculations