Latest / Talk Python To Me / #386: Realtime Web Apps and Dashboards with H2O Wave
Transcript
- 0:00Python's data science and visualization capabilities are certainly one of the reasons for its meteoric
- 0:05rise over the past 10 years. But often, those visuals have been corralled into notebooks used
- 0:11by data scientists themselves or into static web pages. Recently, a host of excellent dashboard
- 0:17building and hosting frameworks have come along to turn these visuals into interactive apps for
- 0:23everyone. On this episode, we'll talk about H2O Wave, one of these excellent dashboard frameworks.
- 0:28We have Martin Taroshi from H2O.ai here to tell us about Wave. This is Talk Python To Me,
- 0:34episode 386, recorded October 3rd, 2022. Welcome to Talk Python To Me, a weekly podcast on Python.
- 0:55This is your host, Michael Kennedy. Follow me on Twitter where I'm @mkennedy, and keep up with
- 0:59the show and listen to past episodes at talkpython.fm. And follow the show on Twitter via at Talk Python.
- 1:06We've started streaming most of our episodes live on YouTube. Subscribe to our YouTube channel over
- 1:11at talkpython.fm/youtube to get notified about upcoming shows and be part of that episode.
- 1:18This episode is sponsored by Microsoft for startups founders hub. Check them out at talkpython.fm slash
- 1:24founders hub to get early support for your startup. And it's brought to you by Sentry. Don't let those
- 1:30errors go unnoticed. Use Sentry. Get started at talkpython.fm/sentry. Transcripts for this
- 1:37and all of our episodes are brought to you by Assembly AI. Do you need a great automatic speech to text API?
- 1:43Get human level accuracy in just a few lines of code. Visit talkpython.fm/assemblyai.
- 1:48Martin, welcome to Talk Python To Me.
- 1:50Thanks, Michael. Thanks for having me.
- 1:52Oh, it's really great to have you here. I'm super excited to learn about H2O Wave. It looks like a
- 1:58really cool project. That's one of these enabling, empowering projects for people who don't feel like,
- 2:05oh, I could take my whatever I'm building, my ML model or whatever, or my data analysis and turn it
- 2:11into a website or an app or any of those sorts of things. And they'll see that they can with Wave,
- 2:16right? Yeah, that's right. Yeah, should be tons of fun. I think it's going to be a relevant topic for a
- 2:21lot of people. Before we get to any of it, though, tell me about your background. How do you get into
- 2:26programming in Python? Like most people do. I went to college, studied programming, computer science.
- 2:33I started working originally as a Java developer, actually, then switched to web developer because
- 2:39there was a lack of front-end engineers. And once I joined H2O, I mostly work on front-end here as
- 2:46well. But I somehow got in charge of this Python framework. So I need to write a lot of Python
- 2:53on day-to-day basis as well.
- 2:55I think one of the big ironies of these data science tools and these nice Python visualization
- 3:02tools is they're there to let people write Python so they don't have to write a ton of front-end code or
- 3:08those kinds of things or write their own web frameworks or use Vue or React. And yet people
- 3:14like you who actually make them spend so much time in the JavaScript side of things, right? I mean,
- 3:20same thing for Jupyter. You know, it's someone's got to do it. And you're kind of doing it for
- 3:26everyone else who uses it and gets to avoid it, right?
- 3:28Yeah, that's right. I mean, you know, if you have a look at it, then front-end engineering is
- 3:34quite complex topic these days compared to what it has been, let's say, 20 years ago.
- 3:40You mean it's more than just linking to jQuery on a CDN?
- 3:44Definitely.
- 3:45It used to be so straightforward. And it really is. If you don't do it day-to-day, it's like,
- 3:51how do I even get started to get this app up and going? It's crazy.
- 3:54Yeah, exactly. And that's why we are here today to talk about how to make everyone's life easier.
- 4:00That's right. Well, everyone but yours. You take the pain for the rest of us.
- 4:03Yeah, but I kind of enjoy it. So that's not the problem.
- 4:07Yeah, of course. If you love it, then it's all good. Before we get into Wave, you said you did,
- 4:14you switched over to front-end stuff. What are your front-end technology favorites,
- 4:18like front-end frameworks and stuff?
- 4:19To be honest, I don't like frameworks at all. I like web as a platform because it also has become
- 4:27very powerful. We have a lot of stuff that we didn't have before. But, you know, if you want to
- 4:34build something enterprise-y or something that needs a longer maintenance, then you need to reach out for
- 4:42frameworks. So currently, I've gone in React, which is, I would say, industry standard, but also have
- 4:48experience with Vue or Angular. So at the end of the day, it's just a tool in our toolbox.
- 4:55Pick one and go with it. And other front-end question, straight JavaScript or TypeScript?
- 4:59Definitely TypeScript all the way.
- 5:01Yeah?
- 5:01Yeah. I mean, once you try TypeScript, then there's no way back.
- 5:05Okay. I've done a little bit of TypeScript, but not enough to really pick it up, I don't think.
- 5:10My JavaScript front-end experience is pretty limited. I try to stick with the Python side of things,
- 5:16the server-side type of things as much as possible.
- 5:18Speaking of which, sticking with Python, I guess maybe could get to the other question of what do
- 5:25you do day-to-day? Kind of edge our way into this project? Day-to-day work on this H2O, right?
- 5:30Yeah. Exactly. So basically, I work on H2O way, which is a framework for not only data scientists
- 5:37and people making AI models to make their life easier, as you have already said, and to allow
- 5:44them to build web applications without regular web knowledge like HTML, CSS, and JavaScript.
- 5:51And my day-to-day concept is basically helping people out community-wise, answering questions,
- 5:58getting new feature requests in. Then I have also two people, two developers, that I help with
- 6:06bringing on their issues up, unblocking them. And I also need to code, bigger features
- 6:13and basically picking on podcast if I have time.
- 6:17Yeah. It sounds a little bit like a blend between sort of a program manager, software developer
- 6:25on one half, and then dev evangelist almost on the other.
- 6:29Yeah. In country where I come from, we call it a girl for everything. So basically you need to
- 6:36jump on a lot of head.
- 6:37Yeah. Perfect. All right. Well, give us the quick elevator pitch of H2O wave. It's four people,
- 6:46you know, the headline, I guess the H1 of your website, if you will, is make AI apps.
- 6:52Yeah, that's right. So basically I've already said H2O wave is a framework that allows you to build web
- 7:01applications and dashboards with nothing but Python, no CSS, no HTML, no JavaScript required. However, if you wish
- 7:08to sprinkle a little bit of JavaScript or CSS, then you definitely can. That's not a problem. And basically we try to build a rich library of widgets or components that are ready to use. And that should cover a wide range of scenarios that people might encounter. So at the end of the day, you end up with a very little bit of Python code that does very much.
- 7:36Yeah. Let's set the stage a little, maybe thinking about what options do people have today? They've got an ML model that makes predictions, or maybe they've got something that will slice and dice the data and turn it into a graph, but you want to let them maybe pick the country by which you do, you pull the data from or the time range or some other aspect and make it a little bit interactive, you know, or even not, if you don't have that option, just make it static, I guess.
- 8:04Like, what are the different things people are doing now that might relate to this?
- 8:08Yeah, that's a great question. So the simplest thing that people can do is the regular tool of their interest is the notebook, which is very user friendly. You have just a single prompt, which you type into, and that behaves as a repo. And basically,
- 8:29what they get in response are just static images of graphs or whatever. And these then can be then copy pasted as screenshots to either PowerPoint presentations or whatnot. However, this approach is, as you have said, somewhat static, and can be not so engaging, let's say. So that's where web application come into play, which can sprinkle a little bit of interactivity. So let's say you have a
- 8:57So let's say you have a sidebar that has various controls like filters or maybe some sliders that adjust model values.
- 9:07And on the right side, you get your visualization interactively in real time.
- 9:13So this is something that has more storytelling power, let's say.
- 9:19H2O Wave was initially built with this in mind as well.
- 9:24Right, and Jupyter is fantastic.
- 9:25I mean, so many people work in Jupyter and do amazing things, but it's not necessarily what you deliver to an end user.
- 9:34If the CEO of your company says, hey, I want you to give me a dashboard that helps me understand, say, sales and cost this month,
- 9:46you probably aren't going to just point them at your Jupyter Notebook on GitHub.
- 9:50You probably still are not even going to point them at a version running on your server.
- 9:56What if they want that updated every minute?
- 9:59You know, with highlights or important stuff.
- 10:02And they want to access it on their phone in a way that is like, you know, you have more control over how it lays out.
- 10:10It's just, Jupyter is great, but it's not an end user technology.
- 10:15It's an enabling technology, right?
- 10:18It's like saying, well, I'm going to give PyCharm to a user to run my app.
- 10:22It's like, well, no, no, no, no, no, no.
- 10:24It's cool if you could run your code, but that's not the tool that you give them to do it with, right?
- 10:28You package it up into a .app or whatever you're after.
- 10:31Yeah, exactly.
- 10:32And that's kind of the gap you're trying to close, right?
- 10:34That's right.
- 10:35Well, cool.
- 10:36Okay.
- 10:37Now, when I hear that, I think of a couple of other projects.
- 10:41Streamlit, I interviewed Adrian back, I think it was 2019, who founded Streamlit.
- 10:47And Streamlit is about building these really simple dashboards, sort of interactive places,
- 10:55where, say, on the left, you've got a few things you can change.
- 11:00And on the right, you might have some kind of graph, or you might get a 404 if you're clicking through the gallery right now.
- 11:06But this is in that realm.
- 11:08And then also, plotly dash as well.
- 11:12Give us a sense of, like, how those compare.
- 11:16Because there's probably people listening who are like, well, yeah, I'm really interested in this,
- 11:19but I've already considered working with Streamlit.
- 11:21Should I choose H2O Wave, or should I stick with Streamlit, or whatever?
- 11:25Yeah, definitely.
- 11:26So basically, one of the main reasons that Wave was built, because it's very similar to the project that you mentioned,
- 11:34is that we were not very satisfied with either performance.
- 11:39And the second reason was that, for example, Streamlit apps used to be very resource-heavy.
- 11:48That means a lot of money in production costs.
- 11:52So the reason was that Streamlit used to run a separate process for every single browser tab,
- 12:01which, of course, demanded a lot of memory.
- 12:03However, I have checked before this podcast to be 100% sure.
- 12:07And it seems like they migrated to a single-threaded AsyncIO approach since then,
- 12:12which is the same approach that, let's say, Dev or H2O Wave also follow.
- 12:18So this is not a differentiator anymore.
- 12:20The biggest differentiator is that H2O Wave has most features, let's say, most widgets to use.
- 12:29And we also haven't seen any, let's say, regular web application beyond these filters and sliders that change your model outputs.
- 12:41H2O Wave, we've seen, like, web applications that you would get maybe only software engineers could build, not the data scientists.
- 12:50Right. So, for example, with Streamlit, what I often get, like, here I pulled up an example that they have, some real-time text thing.
- 12:58And what you get is kind of this interactive, this one doesn't even have a sidebar.
- 13:01It's pretty nice.
- 13:03So you can, I've got a little drop-down and a button to start working with it.
- 13:06But you don't have, like, a footer and a nav bar and multiple things on there with responsive layout.
- 13:11And, you know, like a lot of the stuff you would expect, right?
- 13:14It's still pretty close to what you might see on a notebook.
- 13:18As nice as it is.
- 13:20I do really like Streamlit.
- 13:21Yeah, exactly.
- 13:21We call this concept toy apps, let's say.
- 13:24These are more like POCs, the stuff that we have talked to a while ago.
- 13:30Wave is originally built with this in mind, but then somehow grew much larger that we can talk about it.
- 13:40Yeah, it definitely seems like it's grown a bit more.
- 13:45I haven't checked up on Streamlit enough to be able to follow along with exactly how many widgets they have and so on.
- 13:52But, yeah.
- 13:52Maybe compare to Plotly Dash as well.
- 13:56Yes.
- 13:56So I'm not very experienced with Plotly.
- 13:59Neither am I, to be honest.
- 14:00But assuming the same story there.
- 14:03So they have a few form widgets, like text boxes, folders, drop-downs, etc.
- 14:09That let you control the visualization.
- 14:12But also, if you have a look, this visualization that you present, and these are like 3D models for our listeners who can see our screen.
- 14:22Most likely, it's just third-party JavaScript library, which means that it's not necessarily a bundle of Plotly Dash.
- 14:29So no Python API.
- 14:32Right.
- 14:32If we look over here at H2O Wave, the headline is Make AI Apps.
- 14:38But it sounds to me like a broad range of apps could really land here.
- 14:42If you're interested in almost any kind of reporting, dashboard, visualization, give us some ideas of the types of apps that people are building here.
- 14:50The most common applications are the toy apps, as we have already discussed.
- 14:56But once people truly discover the power of Wave, then they started to amaze us as developers.
- 15:04Because they started to build production-grade applications that could be deployed and put to production and work just fine.
- 15:14Right.
- 15:14For example, H2O organized public, let's say, hackathon that aimed to save or to predict wildfires in California.
- 15:25I believe in California, maybe in the whole world.
- 15:28And one kind of software engineer built a truly wonderful Wave app that allowed them to submit their model, to preview them, to make scoreboard and everything within Wave application.
- 15:45And it took in like two weeks, which is like incredible.
- 15:49Yeah.
- 15:49That's amazing.
- 15:50Yeah.
- 15:51But maybe some success story from a data scientist context, let's say, we have a team at H2O that wasn't very happy with one of our data science products.
- 16:02So they decided, let's build one ourselves.
- 16:04The result was that they have built, it's called Hydrogen Torch, a framework for deep learning.
- 16:12And the result is a Wave application that was built within a week or two as an initial concept.
- 16:19And it has features like you can train your models.
- 16:22You can see how it predicts, let's say, computer vision models with the image annotations.
- 16:29It has support for audio, if I remember correctly.
- 16:33And it's...
- 16:34Wow.
- 16:34Yeah, exactly.
- 16:35And it's simply just everything that you can expect from a regular web application.
- 16:40And that blew my mind because the guys behind the Hydrogen Torch are not software engineers.
- 16:46They are purely data scientists.
- 16:48They are even Kaggle grandmasters for those who are aware of Kaggle platform.
- 16:54And they were able to build it themselves, which is...
- 16:58Oh, that's fantastic.
- 16:58...mind-blowing to me.
- 17:00Hydrogen Torch.
- 17:01Okay.
- 17:01Yeah, I haven't heard of that.
- 17:02It looks pretty cool.
- 17:03It has experiment flow and dataset connectors and even pre-processed datasets.
- 17:08Yes.
- 17:09And remember that these features were built by data scientists, which is something that you
- 17:15would typically require a whole software engineering team, right?
- 17:18Right.
- 17:19Probably didn't even use any TypeScript or React.
- 17:22No.
- 17:22That's cool.
- 17:24This portion of Talk Python To Me
- 17:28is brought to you by
- 17:28Microsoft for Startups Founders Hub.
- 17:30Starting a business is hard.
- 17:33By some estimates,
- 17:34over 90% of startups
- 17:35will go out of business
- 17:36in just their first year.
- 17:37With that in mind,
- 17:39Microsoft for Startups
- 17:40set out to understand
- 17:41what startups need to be successful
- 17:43and to create a digital platform
- 17:45to help them overcome those challenges.
- 17:47Microsoft for Startups Founders Hub
- 17:49was born.
- 17:50Founders Hub provides all founders
- 17:52at any stage with free resources
- 17:54to solve their startup challenges.
- 17:56The platform provides technology benefits,
- 17:59access to expert guidance
- 18:01and skilled resources,
- 18:02mentorship and networking connections,
- 18:04and much more.
- 18:05Unlike others in the industry,
- 18:07Microsoft for Startups Founders Hub
- 18:09doesn't require startups
- 18:10to be investor-backed
- 18:12or third-party validated to participate.
- 18:14Founders Hub is truly open to all.
- 18:17So what do you get if you join them?
- 18:19You speed up your development
- 18:20with free access to GitHub
- 18:22and Microsoft Cloud computing resources
- 18:24and the ability to unlock
- 18:25more credits over time.
- 18:27To help your startup innovate,
- 18:28Founders Hub is partnering
- 18:30with innovative companies
- 18:31like OpenAI,
- 18:32a global leader in AI research
- 18:33and development,
- 18:34to provide exclusive benefits
- 18:36and discounts.
- 18:37Through Microsoft for Startups Founders Hub,
- 18:39becoming a founder
- 18:40is no longer about who you know.
- 18:42You'll have access
- 18:43to their mentorship network,
- 18:44giving you a pool of hundreds
- 18:46of mentors across a range
- 18:47of disciplines and areas
- 18:49like idea validation,
- 18:50fundraising,
- 18:51management and coaching,
- 18:52sales and marketing,
- 18:53as well as specific
- 18:54technical stress points.
- 18:56You'll be able to book
- 18:57a one-on-one meeting
- 18:58with the mentors,
- 18:58many of whom
- 18:59are former founders themselves.
- 19:01Make your idea a reality today
- 19:03with the critical support
- 19:04you'll get from Founders Hub.
- 19:06To join the program,
- 19:07just visit
- 19:08talkpython.fm
- 19:09slash Founders Hub,
- 19:10all one word,
- 19:11no links in your show notes.
- 19:13Thank you to Microsoft
- 19:13for supporting the show.
- 19:14I think maybe to give,
- 19:18to make this a little bit concrete
- 19:20to help people get a sense
- 19:21of how you work with this
- 19:23and what it has to offer,
- 19:24I want to maybe talk
- 19:26through two areas.
- 19:26I want to talk through
- 19:28kind of getting started
- 19:29what it looks like
- 19:29to write some code here.
- 19:30Also, maybe talk through
- 19:33some of the widgets
- 19:33because as you pointed out,
- 19:34if you look through
- 19:35the widgets section,
- 19:36it's like a multi-level
- 19:39hierarchy of things,
- 19:41but there's
- 19:42several hundred widgets
- 19:44that you can use
- 19:45so that's a lot
- 19:47to just be able to,
- 19:49you know,
- 19:49write a few,
- 19:50one line of Python
- 19:51and bring in
- 19:52some amazing UI element,
- 19:53right?
- 19:53Yeah, exactly.
- 19:54But let's start with
- 19:56going through the tutorial.
- 19:58So,
- 19:58we can talk through
- 19:59maybe a couple of these
- 20:00because I think they're
- 20:01a little bit interesting.
- 20:02They're all quite short
- 20:03and I'll keep it simple
- 20:05because I know
- 20:05code on the internet is hard
- 20:07but just to kind of
- 20:08give you a sense of
- 20:08like some of the moving parts.
- 20:10So,
- 20:10in order to
- 20:12do any of this stuff,
- 20:14maybe we should
- 20:14also think a little bit
- 20:16about the architecture
- 20:17is you have a
- 20:18Wave server
- 20:20and you have
- 20:20Wave applications,
- 20:22right?
- 20:22You write these
- 20:23Wave applications
- 20:24in Python
- 20:25but the server itself
- 20:26is like a
- 20:26Go centralized
- 20:27host
- 20:28like MicroWSGI
- 20:29or Gunicorn
- 20:31or something
- 20:31but for Wave,
- 20:32right?
- 20:32Yeah, exactly.
- 20:33So basically,
- 20:34as you have said
- 20:35that there are two parts
- 20:37Wave server
- 20:37and Wave application.
- 20:38Wave server is written
- 20:40in Golang
- 20:40and it provides
- 20:42one of the
- 20:43highlight features
- 20:44of Wave
- 20:45and that is
- 20:46seamless integration
- 20:47with the OpenID Connect
- 20:49which is
- 20:49authentication
- 20:50protocol
- 20:52because most of
- 20:54your enterprise
- 20:56applications
- 20:57need to be secured
- 20:58somehow,
- 20:58right?
- 20:59And as a data scientist,
- 21:00you just don't want to
- 21:02and cannot do that
- 21:04yourself
- 21:04because it's
- 21:05security-wise
- 21:06tricky,
- 21:07but they...
- 21:08Yeah, sure.
- 21:08And even if you did,
- 21:09a lot of the
- 21:10OAuth flow
- 21:11requires you setting up
- 21:12certain endpoints
- 21:13and it's tricky.
- 21:14Yeah, exactly.
- 21:15It's tricky
- 21:16even for regular
- 21:17or for engineers.
- 21:18So,
- 21:19that's why
- 21:20we provide this feature
- 21:22out of the box
- 21:22and it's provided
- 21:23by Wave server
- 21:24which
- 21:25our Wave app
- 21:26which is
- 21:27a Python server
- 21:28connects to
- 21:29and talks to
- 21:30browser
- 21:31through
- 21:31as a proxy,
- 21:32let's say.
- 21:33So,
- 21:33every...
- 21:34all the data
- 21:35goes from
- 21:36Python application
- 21:37to Wave server
- 21:39and then
- 21:40Wave server
- 21:40keeps
- 21:41an open
- 21:42WebSocket connection
- 21:43with browser
- 21:44to perform
- 21:45real-time.
- 21:46Okay.
- 21:46So,
- 21:47to get started,
- 21:48start the Wave server,
- 21:49create a virtual
- 21:50environment,
- 21:50pip install
- 21:51H2O-Wave
- 21:53and then
- 21:54that's it.
- 21:55You just have that
- 21:56one dependency.
- 21:56I guess you might
- 21:57have to pip install
- 21:59H2O-Wave
- 22:00before you can
- 22:00start the server
- 22:01if you haven't
- 22:02got it
- 22:02globally available
- 22:03but then you
- 22:04just have to
- 22:05write a little bit
- 22:05of code.
- 22:06Now,
- 22:06there's interesting
- 22:07paradigms that
- 22:08you've chosen
- 22:08here.
- 22:09A lot of the
- 22:10web frameworks
- 22:11are stateless,
- 22:12right?
- 22:13Here's an endpoint
- 22:14and the only thing
- 22:15this endpoint knows
- 22:16about anything
- 22:16is that
- 22:17here's the request
- 22:19coming in,
- 22:19maybe a cookie
- 22:20is passed,
- 22:20maybe a query
- 22:21string is passed
- 22:22or a form
- 22:23but other
- 22:23than that
- 22:24it's separate,
- 22:25unknown,
- 22:26unrelated,
- 22:26no history
- 22:27and with these
- 22:29apps it's a little
- 22:29bit more like
- 22:30a single running
- 22:32script that
- 22:33has a bit of
- 22:33a memory,
- 22:34right?
- 22:34So basically
- 22:35a wave
- 22:36has two concepts
- 22:38let's say
- 22:39one is
- 22:40a wave script
- 22:41the other one
- 22:41is a wave app
- 22:43and the difference
- 22:43is that
- 22:44wave script
- 22:44is as the name
- 22:46suggests a script
- 22:47so you write
- 22:48a Python
- 22:49code
- 22:50you involve
- 22:52with like
- 22:53let's say
- 22:54python
- 22:54however
- 22:55wrote that
- 22:55pi
- 22:56not like
- 22:57you would do
- 22:57with the normal
- 22:58regular Python script
- 22:59and what
- 23:00that does
- 23:01is it
- 23:02converts
- 23:02your
- 23:03Python
- 23:03script
- 23:04wave data
- 23:05into a
- 23:06JSON
- 23:07sends it to
- 23:08wave server
- 23:08and keeps it
- 23:09there
- 23:09so that means
- 23:10that your
- 23:11wave
- 23:12your Python
- 23:12process
- 23:13is finished
- 23:14and you only
- 23:15serve your
- 23:16data from
- 23:17wave server
- 23:18to users
- 23:19which is
- 23:20much more
- 23:20performant
- 23:21than if you
- 23:22had to
- 23:22rerun the
- 23:23script for
- 23:24every single
- 23:24user as you
- 23:25would normally
- 23:26do
- 23:26and another
- 23:28concept is
- 23:29a wave app
- 23:29which is
- 23:30something that
- 23:31most
- 23:32our users
- 23:33use
- 23:34and wave app
- 23:35lets you
- 23:36add interactivity
- 23:37because with
- 23:38wave script
- 23:38more suited
- 23:39for
- 23:40dashboards
- 23:40which are
- 23:41just
- 23:41static
- 23:42read only
- 23:43web apps
- 23:44let's say
- 23:44and you can
- 23:45even update
- 23:46it
- 23:46as you wish
- 23:47but with
- 23:48wave application
- 23:48you probably
- 23:50want to
- 23:50handle your
- 23:51button
- 23:52clicks
- 23:53or drop
- 23:53down
- 23:54changes
- 23:54and
- 23:55all this
- 23:56needs to
- 23:56be
- 23:57recorded
- 23:58back on
- 23:59python
- 24:00server
- 24:00right
- 24:00yeah you're
- 24:01going to
- 24:01trigger
- 24:02elements of
- 24:02the page
- 24:03changing
- 24:03and things
- 24:04of that
- 24:05sort
- 24:05so one
- 24:06thing that's
- 24:07interesting here
- 24:08is you create
- 24:09a site
- 24:10by giving it
- 24:11an endpoint
- 24:12like slash
- 24:12hello
- 24:12and you can
- 24:13have multiple
- 24:14ones of these
- 24:14running on
- 24:15the wave
- 24:15server
- 24:16right these
- 24:17multiple scripts
- 24:17or multiple
- 24:18apps
- 24:18and then you
- 24:19start working
- 24:19with these
- 24:20widgets
- 24:20and these
- 24:21widgets can be
- 24:22composable and
- 24:22hierarchical and
- 24:24they feel a little
- 24:25bit like almost
- 24:26like working with
- 24:27flutter
- 24:27right you have
- 24:28these UI
- 24:28elements and
- 24:29you might have
- 24:30like a layout
- 24:31which has a
- 24:31grid and
- 24:32into the grid
- 24:32you might put
- 24:33a table and
- 24:34into the table
- 24:35you might put
- 24:35cards right
- 24:36you kind of
- 24:37build this up
- 24:37in code
- 24:38mostly you
- 24:39can use
- 24:40HTML and
- 24:41other
- 24:42templating
- 24:42languages but
- 24:43mostly you write
- 24:44it in code by
- 24:45first this example
- 24:46you have here you
- 24:47just say I'm
- 24:47going to create
- 24:48a UI dot
- 24:49markdown card
- 24:50right
- 24:50yes so
- 24:51basically the
- 24:52basic building
- 24:52a block
- 24:53be it the
- 24:54script or
- 24:54apps is
- 24:56something called
- 24:57card so
- 24:58if you want
- 24:59in the example
- 25:00in front of us
- 25:01you have
- 25:01specified UI
- 25:03dot markdown
- 25:04card which is
- 25:05as the name
- 25:06suggests a card
- 25:07that lets you
- 25:08display markdown
- 25:09and interpret it
- 25:10and that's about
- 25:11it you put your
- 25:12cards into the
- 25:13layout and that's
- 25:14it yeah you also
- 25:14have the idea of
- 25:16basically a grid
- 25:17layout where you
- 25:18can position
- 25:19these cards to
- 25:21be in a certain
- 25:21offset in a
- 25:22certain size
- 25:23right so in
- 25:24your hello world
- 25:25example you have
- 25:25the position is
- 25:26box one one
- 25:27two two which
- 25:28means the top
- 25:29left and then
- 25:29too wide too
- 25:30tall yes exactly
- 25:31so the box
- 25:32one one two two
- 25:33means cone one
- 25:35row one and
- 25:36width two and
- 25:37height two we
- 25:38also support
- 25:39another type of
- 25:40layout and that
- 25:41responsive way
- 25:43else for more
- 25:43advanced users
- 25:44this grid layout
- 25:46is more like the
- 25:47simplest layout
- 25:48that we could
- 25:49write but it
- 25:51it's fixed it
- 25:52means that it may
- 25:53not work well
- 25:54on every single
- 25:55stream but if
- 25:56you want if
- 25:56you want the
- 25:57more responsiveness
- 25:58then definitely go
- 25:59for responsive
- 26:00layout which is
- 26:01based on flexbox
- 26:02right so maybe
- 26:03it's five wide if
- 26:04you got a big
- 26:05screen but if
- 26:06it's on a phone
- 26:06they just all go
- 26:07vertical exactly
- 26:08okay and let's
- 26:10see what else do I
- 26:11want to call it
- 26:11here all right I
- 26:12think that one's
- 26:12that one's pretty
- 26:13good you also have
- 26:14this idea of
- 26:15editing your page
- 26:17from the repl so
- 26:18after you've run
- 26:19that you can then
- 26:20just fire up python
- 26:21and start working
- 26:23with it again how
- 26:24does that work
- 26:24it's mostly just
- 26:26for playing around
- 26:27maybe debugging
- 26:28yeah maybe debugging
- 26:29but I don't think
- 26:30that people will
- 26:30develop that way
- 26:32it's just to show
- 26:34people it's really
- 26:35nothing but python
- 26:36and no hidden
- 26:37content nothing like
- 26:39that you can
- 26:39basically hit up
- 26:40your repo and
- 26:41work from there as
- 26:42well if you want
- 26:43yeah but what's
- 26:44surprising to me is
- 26:45you can exit your
- 26:46python script and
- 26:47then you can open
- 26:48the repl import the
- 26:49code and then make
- 26:51some calls to it
- 26:51and it actually
- 26:52changes the running
- 26:53code that I see
- 26:55right yeah
- 26:56basically the magic
- 26:57behind that if you
- 26:59will notice we have
- 27:00that page that
- 27:01save function which
- 27:03basically what it
- 27:04does is make a
- 27:05diff or what has
- 27:06changed from your
- 27:08previous save and
- 27:10send it over to the
- 27:11web server and
- 27:12web server then
- 27:13deals with that and
- 27:14displays whatever
- 27:15changes you have
- 27:16in it so since
- 27:17this is a static
- 27:17file effectively
- 27:19it's just there's
- 27:20a singleton copy
- 27:22on the server that
- 27:23everybody's requesting
- 27:24exactly that's why
- 27:25where it's suitable
- 27:26for dashboards
- 27:27sure so another
- 27:28thing that jumps
- 27:30out is you make
- 27:32this change and
- 27:33then people who
- 27:34have the browser
- 27:35open to that page
- 27:36it just changes
- 27:37they don't have to
- 27:39reload right it
- 27:41has built-in kind
- 27:43of smart hot
- 27:44reload tell us
- 27:45about that
- 27:45exactly so this
- 27:47is one of the
- 27:48things that I
- 27:49think that
- 27:50may be appealing
- 27:52even to let's
- 27:53say regular
- 27:54software engineers
- 27:55because the
- 27:56problem with
- 27:56software engineers
- 27:57is like if you
- 27:58present them with
- 27:59framework like this
- 28:00they want to have
- 28:01more control
- 28:02right we are
- 28:03software developers
- 28:05we need to have
- 28:05control over
- 28:06everything that's
- 28:08why we don't like
- 28:08let's say
- 28:09WordPress
- 28:09that's a great
- 28:10undoing
- 28:11the shiny thing
- 28:12and we have to
- 28:13create it ourselves
- 28:14yeah exactly
- 28:15but the problem
- 28:16with let's say
- 28:17the typical approach
- 28:18to building web
- 28:19application today
- 28:20which is a single
- 28:21page applications
- 28:22is that all the
- 28:23initial triggers
- 28:24want to be
- 28:25done from
- 28:26client side
- 28:27from the browser
- 28:28but if you want
- 28:29to reflect changes
- 28:30that happened on
- 28:31the backend side
- 28:32then this can be
- 28:34a bit problematic
- 28:34you either need
- 28:35to introduce
- 28:37polling
- 28:37which means
- 28:38calling your
- 28:39web server
- 28:41your backend
- 28:42regularly
- 28:43but that may
- 28:44not be ideal
- 28:45because you can
- 28:46flood your
- 28:47server
- 28:47unnecessarily
- 28:48I don't know
- 28:49why we can only
- 28:50support 20 users
- 28:51at a time
- 28:51this doesn't make
- 28:52any sense
- 28:53or you can
- 28:55use web socket
- 28:57which is
- 28:58not so easy
- 28:59to implement
- 28:59let's say
- 29:00and what wave
- 29:01uses is exactly
- 29:03this web socket
- 29:04so it allows you
- 29:05to push changes
- 29:06from server
- 29:07to UI
- 29:08seamlessly
- 29:08and that's
- 29:09also one of
- 29:10the wonderful
- 29:11features
- 29:11of wave
- 29:12right
- 29:12so basically
- 29:13the takeaway
- 29:14for most people
- 29:15is as you
- 29:16develop your code
- 29:17as you develop
- 29:18your project
- 29:18your app
- 29:19you'll have it
- 29:20maybe open
- 29:20on the side
- 29:21in your browser
- 29:21you make some
- 29:22changes
- 29:23if you just
- 29:23hit save
- 29:24then it should
- 29:25automatically
- 29:25maybe you have
- 29:26to rerun
- 29:27your script
- 29:27but you won't
- 29:28have to go
- 29:29and refresh
- 29:29your browser
- 29:30as well
- 29:31right
- 29:31yes
- 29:32exactly
- 29:32even with
- 29:33the wave
- 29:34applications
- 29:35we use
- 29:35Uvicorn
- 29:36as the underlying
- 29:37Python server
- 29:38which has
- 29:39built in
- 29:39a hot reload
- 29:40and that means
- 29:42that you can
- 29:42just save
- 29:43your file
- 29:44and everything
- 29:45reload
- 29:46automatically
- 29:47cool
- 29:47so Uvicorn
- 29:48is watching
- 29:49your Python files
- 29:50for changes
- 29:50so when you save
- 29:51it automatically
- 29:52restarts it
- 29:52you don't even
- 29:53have to do that
- 29:53exactly
- 29:54if they restart
- 29:55it
- 29:55and also
- 29:56the browser
- 29:57is refreshed
- 29:59yep
- 29:59okay
- 30:00fantastic
- 30:01so that's a
- 30:02pretty cool
- 30:02little hello world
- 30:03the next one
- 30:04is to get
- 30:05the browser
- 30:06to sing
- 30:0699 bottles
- 30:07of beer
- 30:07on the wall
- 30:08this is a fun
- 30:10little demo
- 30:10but this one
- 30:11takes us
- 30:12from
- 30:13oh this one
- 30:14is still
- 30:14a script
- 30:15so far
- 30:16right
- 30:16and then
- 30:17the next one
- 30:17will convert
- 30:18it to an app
- 30:18okay
- 30:19so for this one
- 30:20the core
- 30:21takeaway here
- 30:22is basically
- 30:23a way
- 30:24to introduce
- 30:25like pushing
- 30:26updates from the
- 30:27server to the
- 30:27client
- 30:28so for example
- 30:29you know
- 30:30people don't know
- 30:31there's the
- 30:3199 bottles of beer
- 30:32in the wall
- 30:3399 bottles of beer
- 30:34take one down
- 30:34pass it around
- 30:35now there's 98
- 30:36then 97
- 30:36then 96
- 30:37right
- 30:37so you wanted
- 30:38to have it
- 30:39like keep doing
- 30:40that over
- 30:40and over
- 30:40and over
- 30:41so if this
- 30:42was a console
- 30:43app
- 30:44how would I
- 30:44do it
- 30:45I would probably
- 30:45say 4i
- 30:47in range
- 30:47and just
- 30:48for 99
- 30:49and then 90
- 30:50and I would
- 30:50just print
- 30:51just print
- 30:52print
- 30:52print
- 30:52print
- 30:53what you
- 30:54can do
- 30:54with wave
- 30:55is you
- 30:55can have
- 30:56that exact
- 30:56same
- 30:57super
- 30:57straightforward
- 30:58for loop
- 30:58and then
- 30:59you just
- 30:59go to your
- 31:00card that
- 31:00you put in
- 31:01the page
- 31:01and you
- 31:02just say
- 31:02content
- 31:03equals some
- 31:04f string
- 31:04right
- 31:05that verse
- 31:06for that
- 31:06number
- 31:07and then
- 31:07you just
- 31:07call page
- 31:08and then
- 31:09you don't
- 31:09want it
- 31:09to happen
- 31:10as fast
- 31:10as possible
- 31:11as you
- 31:11sleep
- 31:11right
- 31:12make it
- 31:13come out
- 31:13a little
- 31:13bit slower
- 31:14but
- 31:14that does
- 31:15the
- 31:16multi
- 31:17cast
- 31:17broadcast
- 31:18to all
- 31:18the clients
- 31:19watching
- 31:19just straight
- 31:20away
- 31:20right
- 31:20just loop
- 31:21over the
- 31:21code
- 31:21make some
- 31:22changes
- 31:22and that
- 31:23will
- 31:23automatically
- 31:24push it
- 31:24I guess
- 31:25you got a
- 31:25call to you
- 31:26but then it'll
- 31:26push it
- 31:26that's pretty
- 31:27impressive
- 31:27yeah
- 31:28and although
- 31:29by the way
- 31:30just not to
- 31:30forget
- 31:31the original
- 31:31author of this
- 31:33framework
- 31:33you're not me
- 31:34but it's my
- 31:35boss
- 31:35pretty probable
- 31:36which I would like
- 31:37to give shout out to
- 31:37because he's the
- 31:39mastermind behind
- 31:39all this framework
- 31:40yeah cool
- 31:41it's definitely
- 31:42a cool framework
- 31:43so this opens up
- 31:45a lot of
- 31:45possibilities
- 31:45for people
- 31:47coming to
- 31:47your site
- 31:48and getting
- 31:49some form
- 31:50of interactivity
- 31:51now
- 31:51one thing
- 31:52he said
- 31:52is like
- 31:53I could
- 31:53build
- 31:54say like
- 31:54a chat
- 31:55app
- 31:55or
- 31:56like
- 31:57some
- 31:57kind
- 31:57of
- 31:57bot
- 31:57and
- 31:58what
- 31:58I've
- 31:59seen
- 31:59so far
- 31:59it feels
- 32:00like
- 32:00what is
- 32:01happening
- 32:02on the
- 32:02server
- 32:02is
- 32:04shared
- 32:04with
- 32:05everyone
- 32:05rather than
- 32:06dedicated
- 32:07to a
- 32:07particular
- 32:07user
- 32:08or
- 32:08group
- 32:09of
- 32:09users
- 32:09how do
- 32:10I
- 32:10combine
- 32:10this
- 32:11to say
- 32:11like
- 32:11I want
- 32:11them to
- 32:12sing
- 32:12this song
- 32:12but I
- 32:12want
- 32:13everyone
- 32:13maybe
- 32:14who logs
- 32:14in to
- 32:14have their
- 32:15own
- 32:15copy
- 32:16right
- 32:16like
- 32:17Sarah
- 32:18came
- 32:1830 seconds
- 32:19later
- 32:19she
- 32:20shouldn't
- 32:21join
- 32:21the
- 32:21song
- 32:22halfway
- 32:22through
- 32:22or
- 32:23a
- 32:23third
- 32:23of
- 32:23the
- 32:23way
- 32:23through
- 32:24she
- 32:24should
- 32:24get it
- 32:24from
- 32:2599
- 32:25going
- 32:25down
- 32:26yeah
- 32:26that's
- 32:27definitely
- 32:27possible
- 32:27the reason
- 32:28that you
- 32:29see
- 32:29for
- 32:30every
- 32:31single
- 32:31dead
- 32:32the
- 32:32same
- 32:33output
- 32:33is
- 32:33because
- 32:34we
- 32:34are
- 32:34only
- 32:35looking
- 32:35at
- 32:36the
- 32:36scripts
- 32:36which
- 32:37in
- 32:37case
- 32:37of
- 32:38dashboards
- 32:38that's
- 32:39totally
- 32:39understandable
- 32:40right
- 32:41everybody
- 32:41should
- 32:41see
- 32:42the
- 32:42same
- 32:42dashboard
- 32:42because
- 32:43the
- 32:43data
- 32:43is
- 32:44always
- 32:44the
- 32:44same
- 32:44but
- 32:45with
- 32:45wave
- 32:45apps
- 32:46you
- 32:46get
- 32:46basically
- 32:47the
- 32:48common
- 32:48behavior
- 32:49as you
- 32:50will
- 32:50suggest
- 32:50so
- 32:51every
- 32:51tab
- 32:52can have
- 32:53its own
- 32:53thing
- 32:54session
- 32:56basically
- 32:57exactly
- 32:57so
- 32:58if
- 32:58you
- 32:58have
- 32:58a
- 32:59counter
- 32:59app
- 33:00that
- 33:00has
- 33:00a
- 33:01single
- 33:01button
- 33:01and
- 33:02once
- 33:02you
- 33:02click it
- 33:03then
- 33:03it
- 33:03increments
- 33:03counter
- 33:04you
- 33:04can
- 33:05basically
- 33:05have
- 33:05a
- 33:06single
- 33:07button
- 33:07instance
- 33:08for
- 33:08every
- 33:09single
- 33:09tab
- 33:09if you
- 33:10want
- 33:10to
- 33:10but
- 33:11we
- 33:11also
- 33:12have
- 33:13something
- 33:14called
- 33:14multicast
- 33:15and
- 33:15broadcast
- 33:16mode
- 33:16and
- 33:17that
- 33:18means
- 33:18that
- 33:18the value
- 33:19could be
- 33:20synced
- 33:20across
- 33:21every
- 33:21single
- 33:22tab
- 33:22if
- 33:22you
- 33:22wanted
- 33:23to
- 33:23but
- 33:23the
- 33:24default
- 33:24mode
- 33:24is
- 33:25called
- 33:25unicast
- 33:25and
- 33:26that
- 33:26means
- 33:26that
- 33:26the
- 33:27change
- 33:27is
- 33:27only
- 33:28propagated
- 33:28to
- 33:28the
- 33:29current
- 33:29client
- 33:30which
- 33:30is
- 33:30I see
- 33:31okay
- 33:31yeah
- 33:32that
- 33:32makes
- 33:32a lot
- 33:32of
- 33:32sense
- 33:33this
- 33:35portion
- 33:36portion
- 33:36of
- 33:36talk
- 33:36Python
- 33:37is
- 33:37brought
- 33:37to
- 33:37you
- 33:37by
- 33:38Sentry
- 33:38how
- 33:39would
- 33:39you
- 33:39like
- 33:39to
- 33:39remove
- 33:40a
- 33:40little
- 33:40stress
- 33:40from
- 33:40your
- 33:41life
- 33:41do
- 33:41you
- 33:41worry
- 33:42that
- 33:42users
- 33:42may
- 33:43be
- 33:43encountering
- 33:43errors
- 33:44slowdowns
- 33:45or crashes
- 33:45with your
- 33:46app
- 33:46right now
- 33:47would you
- 33:48even
- 33:48know it
- 33:48until
- 33:49they
- 33:49sent
- 33:49you
- 33:49that
- 33:49support
- 33:50email
- 33:50how
- 33:50much
- 33:51better
- 33:51would
- 33:51it
- 33:51be
- 33:51to
- 33:51have
- 33:52the
- 33:52error
- 33:52or
- 33:52performance
- 33:53details
- 33:53immediately
- 33:54sent
- 33:54to
- 33:54you
- 33:55including
- 33:55the
- 33:55call
- 33:56stack
- 33:56and values
- 33:57of
- 33:57local
- 33:57variables
- 33:58and
- 33:58the
- 33:58active
- 33:59user
- 33:59recorded
- 33:59in
- 34:00the
- 34:00report
- 34:00with
- 34:01Sentry
- 34:01this
- 34:02is
- 34:02not
- 34:02only
- 34:02possible
- 34:03it's
- 34:03simple
- 34:04in
- 34:04fact
- 34:05we
- 34:05use
- 34:05Sentry
- 34:05on
- 34:06all
- 34:06the
- 34:06talk
- 34:06Python
- 34:07web
- 34:07properties
- 34:07we've
- 34:08actually
- 34:08fixed
- 34:09a bug
- 34:09triggered
- 34:10by
- 34:10a
- 34:10user
- 34:11and
- 34:11had
- 34:11the
- 34:11upgrade
- 34:12ready
- 34:12to
- 34:12roll
- 34:12out
- 34:13as
- 34:13we
- 34:13got
- 34:13the
- 34:13support
- 34:14email
- 34:14that
- 34:15was
- 34:15a
- 34:15great
- 34:15email
- 34:15to
- 34:15write
- 34:16back
- 34:16hey
- 34:17we
- 34:17already
- 34:17saw
- 34:17your
- 34:17error
- 34:18and
- 34:18have
- 34:18already
- 34:18rolled
- 34:19out
- 34:19the
- 34:19fix
- 34:19imagine
- 34:20their
- 34:20surprise
- 34:21surprise
- 34:22and
- 34:22delight
- 34:22your
- 34:23users
- 34:23create
- 34:24your
- 34:24Sentry
- 34:24account
- 34:24at
- 34:25talkpython.fm
- 34:26slash
- 34:26Sentry
- 34:27and if
- 34:28you
- 34:28sign
- 34:28up
- 34:28with
- 34:28the
- 34:28code
- 34:29talk
- 34:29Python
- 34:30all
- 34:30one
- 34:30word
- 34:30it's
- 34:31good
- 34:31for
- 34:31two
- 34:32free
- 34:32months
- 34:32of
- 34:33Sentry's
- 34:33business
- 34:34plan
- 34:34which
- 34:34will
- 34:35give
- 34:35you
- 34:35up
- 34:35to
- 34:3520
- 34:36times
- 34:36as
- 34:36many
- 34:36monthly
- 34:37events
- 34:37as
- 34:38well
- 34:38as
- 34:38other
- 34:38features
- 34:39create
- 34:39better
- 34:40software
- 34:40delight
- 34:41your
- 34:41users
- 34:42and
- 34:42support
- 34:42the
- 34:43podcast
- 34:43visit
- 34:44talkpython.fm
- 34:45slash
- 34:45Sentry
- 34:46and use
- 34:46the
- 34:47coupon
- 34:47code
- 34:47talk
- 34:48Python
- 34:48maybe
- 34:51this is a
- 34:52good
- 34:52time
- 34:52to
- 34:53pause
- 34:54going
- 34:54through
- 34:54some
- 34:54of
- 34:54these
- 34:55code
- 34:55examples
- 34:55and
- 34:56some
- 34:56of
- 34:56these
- 34:56capabilities
- 34:57Bob
- 34:58Vani
- 34:58has a
- 34:59good
- 34:59question
- 34:59what
- 35:00databases
- 35:01are
- 35:01supported
- 35:01not
- 35:03necessarily
- 35:03even
- 35:03just
- 35:03databases
- 35:04but
- 35:04where
- 35:05does
- 35:05this
- 35:05code
- 35:05run
- 35:06is
- 35:06this
- 35:06PyScript
- 35:07and
- 35:07PyIodide
- 35:08is
- 35:08this
- 35:09on
- 35:09the
- 35:09server
- 35:10what
- 35:11capabilities
- 35:11do I
- 35:11have
- 35:12can I
- 35:12pip install
- 35:13whatever
- 35:13I want
- 35:13or am I
- 35:14limited
- 35:15basically
- 35:15there are
- 35:16the limit
- 35:17you know
- 35:17because
- 35:18all the
- 35:18code
- 35:19is running
- 35:19in
- 35:19server
- 35:20so
- 35:20that
- 35:20means
- 35:21that
- 35:21you
- 35:21can
- 35:22basically
- 35:23connect
- 35:23to
- 35:23any
- 35:24database
- 35:24of
- 35:25your
- 35:25choice
- 35:25the
- 35:26same
- 35:26way
- 35:26as
- 35:27you
- 35:27will
- 35:27do
- 35:27let's
- 35:28say
- 35:28in
- 35:28Django
- 35:28or
- 35:29Flask
- 35:29app
- 35:29and
- 35:30so
- 35:30basically
- 35:30you
- 35:31can
- 35:31ppnf
- 35:32out
- 35:32anything
- 35:33you
- 35:33want
- 35:33on
- 35:33your
- 35:34server
- 35:34I see
- 35:34so if
- 35:35it's
- 35:35supported
- 35:35with
- 35:36Python
- 35:36or
- 35:37in
- 35:38some
- 35:38crazy
- 35:38indirect
- 35:39way
- 35:39that
- 35:39you
- 35:40might
- 35:40write
- 35:41some
- 35:41c
- 35:41you
- 35:41can
- 35:42call
- 35:42from
- 35:42Python
- 35:42you
- 35:42can
- 35:43call
- 35:43it
- 35:43it's
- 35:43going
- 35:44to
- 35:44be
- 35:44like
- 35:45it's
- 35:45full
- 35:45Python
- 35:46so
- 35:46it
- 35:46does
- 35:47whatever
- 35:47you
- 35:47want
- 35:47it
- 35:47to
- 35:47do
- 35:47exactly
- 35:48whatever
- 35:49you
- 35:49can
- 35:49make
- 35:50Python
- 35:50to do
- 35:50then
- 35:51it's
- 35:52possible
- 35:52in
- 35:52wave
- 35:52as well
- 35:53sure
- 35:53that's
- 35:53really
- 35:53good
- 35:54to know
- 35:54all right
- 35:55so I
- 35:55guess
- 35:56maybe
- 35:56the
- 35:56third
- 35:57thing
- 35:57that
- 35:57really
- 35:58is
- 35:58let's
- 35:58talk
- 35:58about
- 35:59two
- 35:59things
- 35:59real
- 35:59quick
- 35:59before
- 36:00I
- 36:00get
- 36:00to
- 36:00the
- 36:00third
- 36:01one
- 36:01here
- 36:01one
- 36:02thing
- 36:02that's
- 36:02kind
- 36:03of
- 36:03interesting
- 36:03is
- 36:03what
- 36:04you're
- 36:04setting
- 36:04here
- 36:04in
- 36:05this
- 36:05example
- 36:05is
- 36:05in
- 36:06the
- 36:06for
- 36:06loop
- 36:06you're
- 36:07saying
- 36:07the
- 36:07content
- 36:08is
- 36:08this
- 36:08f
- 36:09string
- 36:09and
- 36:10you
- 36:10regenerate
- 36:11the
- 36:11entire
- 36:11f
- 36:12string
- 36:12and
- 36:12for
- 36:12this
- 36:12example
- 36:13it's
- 36:13like
- 36:13a
- 36:13tiny
- 36:14little
- 36:14it's
- 36:14a
- 36:14verse
- 36:15in
- 36:15a
- 36:15song
- 36:15and
- 36:15who
- 36:15cares
- 36:16but
- 36:16you
- 36:17know
- 36:17if
- 36:17this
- 36:17was
- 36:17a
- 36:17much
- 36:18more
- 36:18interesting
- 36:19like
- 36:20a
- 36:20full
- 36:20on
- 36:21Jinja
- 36:21style
- 36:22template
- 36:22and
- 36:22you
- 36:22want
- 36:23to
- 36:23change
- 36:23one
- 36:23little
- 36:24small
- 36:24piece
- 36:24round
- 36:27tripping
- 36:27that
- 36:28full
- 36:28HTML
- 36:29every
- 36:29time
- 36:29is
- 36:29not
- 36:30the
- 36:30most
- 36:30efficient
- 36:31so
- 36:31what
- 36:32you
- 36:32have
- 36:32because
- 36:32you're
- 36:33doing
- 36:33web
- 36:33sockets
- 36:33is
- 36:33you
- 36:34have
- 36:34this
- 36:34idea
- 36:34of
- 36:35an
- 36:35expression
- 36:36to
- 36:37send
- 36:37some
- 36:38values
- 36:39over
- 36:39so you
- 36:40pass
- 36:40a
- 36:40dictionary
- 36:41of
- 36:41the
- 36:41values
- 36:41and
- 36:41then
- 36:41you
- 36:42set
- 36:42the
- 36:42content
- 36:43to
- 36:43be
- 36:43an
- 36:43expression
- 36:44a
- 36:44little
- 36:44handlebar
- 36:45thing
- 36:45like
- 36:46JavaScript
- 36:47front
- 36:47and
- 36:48binding
- 36:48or
- 36:49a
- 36:49Jinja
- 36:49value
- 36:50something
- 36:51along
- 36:51those
- 36:51lines
- 36:51right
- 36:52tell us
- 36:52about
- 36:52this
- 36:53and
- 36:53how
- 36:53that
- 36:53works
- 36:53yeah
- 36:54so
- 36:54basically
- 36:54it
- 36:55works
- 36:55basically
- 36:56what
- 36:56do
- 36:57you
- 36:57always
- 36:57send
- 36:58just
- 36:58the
- 36:59difference
- 36:59you know
- 37:00the tips
- 37:01or let's
- 37:01say
- 37:01deltas
- 37:02what has
- 37:02changed
- 37:03to the
- 37:04UI
- 37:04and once
- 37:05these
- 37:06changes
- 37:06are
- 37:07arrived
- 37:08to the
- 37:08browser
- 37:08then
- 37:09a
- 37:09react
- 37:10takes
- 37:10over
- 37:11it
- 37:11and
- 37:11renders
- 37:12whatever
- 37:12changes
- 37:13have
- 37:13come
- 37:13right
- 37:14so
- 37:14in
- 37:14this
- 37:15particular
- 37:15case
- 37:15the
- 37:16first
- 37:16change
- 37:16would
- 37:17be
- 37:17the
- 37:17whole
- 37:18string
- 37:18because
- 37:19there
- 37:19is
- 37:19nothing
- 37:20else
- 37:20there
- 37:20it
- 37:21would
- 37:21be
- 37:22rendered
- 37:22but
- 37:23all
- 37:23the
- 37:24subsequent
- 37:24updates
- 37:25will
- 37:25only
- 37:26contain
- 37:27changes
- 37:27in the
- 37:28form
- 37:28of
- 37:28dictionary
- 37:29values
- 37:30which is
- 37:31much
- 37:31less
- 37:32to
- 37:32care
- 37:32about
- 37:33on
- 37:33the
- 37:33network
- 37:34bandwidth
- 37:34type
- 37:35and
- 37:35once
- 37:36these
- 37:36values
- 37:36arrive
- 37:37then
- 37:37react
- 37:37again
- 37:38takes
- 37:38over
- 37:39and
- 37:39does
- 37:40it
- 37:40magic
- 37:40and
- 37:40updates
- 37:41the
- 37:42UI
- 37:42correctly
- 37:42yeah
- 37:43that's
- 37:43really
- 37:43neat
- 37:43so
- 37:44really
- 37:45great
- 37:45way
- 37:45to be
- 37:45super
- 37:46efficient
- 37:46just by
- 37:47setting
- 37:48some
- 37:48values
- 37:49like
- 37:49on
- 37:50your
- 37:50card
- 37:50data
- 37:51dot
- 37:51whatever
- 37:51you want
- 37:51to call
- 37:51it
- 37:52and
- 37:52then
- 37:52call
- 37:52save
- 37:52and
- 37:52those
- 37:53correspond
- 37:54over
- 37:54to
- 37:54your
- 37:55expression
- 37:56right
- 37:56that
- 37:57makes up
- 37:57your
- 37:57template
- 37:58yeah
- 37:58and
- 37:58that's
- 37:59even
- 37:59more
- 38:00important
- 38:00in
- 38:01our
- 38:02domain
- 38:03because
- 38:03data
- 38:04scientists
- 38:04usually
- 38:05have
- 38:06a lot
- 38:07of
- 38:07data
- 38:07extremely
- 38:08a lot
- 38:08of
- 38:08data
- 38:09and
- 38:10that
- 38:10means
- 38:10that
- 38:11they
- 38:11would
- 38:11like
- 38:11to
- 38:12push
- 38:12it
- 38:12all
- 38:12into
- 38:13browser
- 38:13and
- 38:14render
- 38:14their
- 38:14plots
- 38:15but
- 38:15if
- 38:16they
- 38:16dip
- 38:16on
- 38:17every
- 38:17single
- 38:17update
- 38:18then
- 38:19it
- 38:19might
- 38:19not
- 38:19be
- 38:20the
- 38:20best
- 38:21way
- 38:21right
- 38:21so
- 38:22right
- 38:22if
- 38:22you've
- 38:23got
- 38:23a
- 38:23big
- 38:24page
- 38:24and
- 38:24a
- 38:25tiny
- 38:25little
- 38:25plot
- 38:25that
- 38:26you
- 38:26want
- 38:26to
- 38:26change
- 38:26you know
- 38:27it'd
- 38:27be
- 38:27better
- 38:27to
- 38:27change
- 38:28that
- 38:28plot
- 38:29but
- 38:29leave
- 38:29all
- 38:29the
- 38:29other
- 38:30stuff
- 38:30there
- 38:30exactly
- 38:31cool
- 38:32let's
- 38:33talk
- 38:33the
- 38:33last
- 38:33little
- 38:34thing
- 38:34here
- 38:34about
- 38:35how
- 38:35this
- 38:35looks
- 38:36if
- 38:36we
- 38:36make
- 38:37it
- 38:37an
- 38:37actual
- 38:37an
- 38:38app
- 38:38I
- 38:38think
- 38:39if
- 38:39you
- 38:39need
- 38:39to
- 38:40go
- 38:40to
- 38:40the
- 38:40list
- 38:41okay
- 38:41maybe
- 38:42be
- 38:42counter
- 38:42that
- 38:43would
- 38:44be
- 38:44simple
- 38:44I
- 38:44think
- 38:45the
- 38:45bean
- 38:45counter
- 38:45one
- 38:45yeah
- 38:46the
- 38:46bean
- 38:46counter
- 38:46one
- 38:46yeah
- 38:47yeah
- 38:47yeah
- 38:48this
- 38:48is a
- 38:48real
- 38:48simple
- 38:48one
- 38:48so
- 38:49the
- 38:49bean
- 38:49counter
- 38:49one
- 38:49is
- 38:49like
- 38:50a
- 38:50button
- 38:50you
- 38:51press
- 38:51it
- 38:51it
- 38:51just
- 38:51goes
- 38:51one
- 38:52two
- 38:52three
- 38:52four
- 38:52right
- 38:53it
- 38:53shows
- 38:54things
- 38:54like
- 38:54state
- 38:54though
- 38:55and
- 38:55what
- 38:56not
- 38:56but
- 38:56tell
- 38:57us
- 38:57how
- 38:57does
- 38:57it
- 38:57look
- 38:57different
- 38:58to
- 38:58create
- 38:59something
- 39:00like
- 39:00in
- 39:01the
- 39:01script
- 39:01I
- 39:01didn't
- 39:02do
- 39:02anything
- 39:02hardly
- 39:03about
- 39:03like
- 39:03URLs
- 39:04or
- 39:04or
- 39:05functions
- 39:06to
- 39:06call
- 39:06or
- 39:06returning
- 39:07I
- 39:07just
- 39:07did
- 39:08some
- 39:08stuff
- 39:08and
- 39:08then
- 39:09it
- 39:09somehow
- 39:09magically
- 39:10changed
- 39:10but
- 39:10this
- 39:11looks
- 39:11a little
- 39:11bit
- 39:12more
- 39:12like
- 39:12flask
- 39:13right
- 39:13yeah
- 39:14so
- 39:15the
- 39:15difference
- 39:15in
- 39:16syntax
- 39:17is that
- 39:17you
- 39:17need
- 39:18to
- 39:18have
- 39:18a
- 39:18single
- 39:19function
- 39:20that
- 39:20is
- 39:21synchronous
- 39:21because
- 39:22we
- 39:22use
- 39:22a
- 39:22single
- 39:23not
- 39:24to
- 39:24block
- 39:25your
- 39:25UI
- 39:26and
- 39:27that
- 39:27function
- 39:28needs
- 39:28to be
- 39:29annotated
- 39:29with
- 39:29an
- 39:30app
- 39:30annotation
- 39:31that
- 39:32takes
- 39:32the
- 39:32single
- 39:33required
- 39:34parameter
- 39:35which
- 39:36is
- 39:36a
- 39:36URL
- 39:37pad
- 39:38that
- 39:38you
- 39:38want
- 39:39your
- 39:39app
- 39:39to
- 39:39be
- 39:40listened
- 39:40on
- 39:40and
- 39:41within
- 39:41this
- 39:41function
- 39:42can
- 39:42I
- 39:42listen
- 39:43to
- 39:43forward
- 39:43slash
- 39:43like
- 39:44all
- 39:44these
- 39:44examples
- 39:45are
- 39:45like
- 39:45slash
- 39:45counter
- 39:46and
- 39:46slash
- 39:46hello
- 39:47and
- 39:47so
- 39:47yeah
- 39:48you
- 39:48can
- 39:48also
- 39:50root
- 39:51which
- 39:52will
- 39:52be
- 39:52just
- 39:52the
- 39:53forward
- 39:53slash
- 39:54and
- 39:54that's
- 39:54it
- 39:54yeah
- 39:54okay
- 39:55and
- 39:55just
- 39:56to
- 39:56get
- 39:56back
- 39:56so
- 39:57the
- 39:57annotate
- 39:58function
- 39:58will
- 39:59give
- 39:59you
- 40:00one
- 40:00parameter
- 40:01which
- 40:01is
- 40:02Q
- 40:02and
- 40:03that
- 40:03stands
- 40:03for
- 40:03query
- 40:04and
- 40:05that
- 40:05allows
- 40:05you
- 40:06to
- 40:06control
- 40:06your
- 40:06wave
- 40:07up
- 40:07so
- 40:07it
- 40:07has
- 40:08methods
- 40:08like
- 40:09Q
- 40:09that
- 40:09save
- 40:10or
- 40:10Q
- 40:10page
- 40:11save
- 40:11I
- 40:11would
- 40:11say
- 40:12yeah
- 40:12Q
- 40:12page
- 40:13save
- 40:13which
- 40:14is
- 40:14an
- 40:15equivalent
- 40:15of
- 40:15page
- 40:16save
- 40:16in our
- 40:17previous
- 40:17script
- 40:18example
- 40:18you
- 40:19also
- 40:19instead of
- 40:20page
- 40:21dictionary
- 40:22that you
- 40:22put your
- 40:23cards in
- 40:24you
- 40:24need
- 40:24need
- 40:24need
- 40:24to
- 40:25just
- 40:25prefix
- 40:25it
- 40:26with
- 40:26Q
- 40:26so
- 40:27you
- 40:27end
- 40:27up
- 40:27with
- 40:28Q
- 40:28page
- 40:29and
- 40:30then
- 40:30you
- 40:30specify
- 40:31your
- 40:31current
- 40:31and
- 40:32this
- 40:32is
- 40:32how
- 40:32you
- 40:32get
- 40:32the
- 40:33per
- 40:33user
- 40:33type
- 40:34of
- 40:34thing
- 40:34because
- 40:35that
- 40:35queue
- 40:35is
- 40:35probably
- 40:35tied
- 40:36to
- 40:36them
- 40:36right
- 40:36not
- 40:37necessarily
- 40:37the
- 40:38per
- 40:38user
- 40:38thing
- 40:39is
- 40:39by
- 40:40default
- 40:40but
- 40:40if
- 40:41you
- 40:41go
- 40:42to
- 40:42the
- 40:42app
- 40:43annotation
- 40:43you
- 40:44can
- 40:44specify
- 40:44mode
- 40:45there
- 40:45so
- 40:46by
- 40:46default
- 40:46and
- 40:48that's
- 40:48how
- 40:48it
- 40:48distributes
- 40:49the
- 40:50changes
- 40:50the
- 40:51queue
- 40:51is
- 40:51more
- 40:52like
- 40:52you
- 40:52can
- 40:52think
- 40:53of
- 40:53it
- 40:53as
- 40:53a
- 40:54source
- 40:54of
- 40:55what
- 40:55has
- 40:55changed
- 40:56and
- 40:56how
- 40:57to
- 40:57update
- 40:57your
- 40:57UI
- 40:58so
- 40:59when
- 40:59we
- 40:59go
- 40:59through
- 41:00the
- 41:00example
- 41:01you
- 41:02will
- 41:02see
- 41:02that
- 41:03it
- 41:03can
- 41:03also
- 41:03store
- 41:04some
- 41:04local
- 41:05pay
- 41:05or
- 41:06advice
- 41:06pay
- 41:07etc
- 41:07okay
- 41:08one of
- 41:09the
- 41:09things
- 41:10that
- 41:10really
- 41:10jumped
- 41:10out
- 41:10to
- 41:11me
- 41:11was
- 41:11seeing
- 41:12the
- 41:12async
- 41:12and
- 41:13await
- 41:13stuff
- 41:14everywhere
- 41:14so
- 41:15you
- 41:15have
- 41:16an
- 41:16async
- 41:16method
- 41:16you
- 41:17call
- 41:17await
- 41:17page
- 41:18dot
- 41:18save
- 41:19and
- 41:21presumably
- 41:22if you
- 41:23want to
- 41:23work
- 41:23with
- 41:23beanie
- 41:24and
- 41:24mongodb
- 41:24you
- 41:25could
- 41:25use
- 41:25its
- 41:25async
- 41:26api
- 41:26if you
- 41:26want to
- 41:27call
- 41:27an
- 41:27api
- 41:28endpoint
- 41:28with
- 41:29httpx
- 41:29you
- 41:30could
- 41:30await
- 41:31those
- 41:31calls
- 41:32right
- 41:32so
- 41:32it
- 41:33really
- 41:33allows
- 41:34you
- 41:34to
- 41:34create
- 41:34scalable
- 41:35code
- 41:36right
- 41:36yeah
- 41:37definitely
- 41:37and
- 41:38especially
- 41:39the
- 41:39reason
- 41:40why
- 41:40async
- 41:41is
- 41:41because
- 41:42if
- 41:43you
- 41:43have
- 41:43the
- 41:43code
- 41:43like
- 41:44you
- 41:44have
- 41:44the
- 41:44single
- 41:45app
- 41:45which
- 41:46is
- 41:46two
- 41:46users
- 41:46and
- 41:47the
- 41:47first
- 41:47user
- 41:48would
- 41:48create
- 41:49some
- 41:50blocking
- 41:50action
- 41:50then
- 41:51it
- 41:51would
- 41:51block
- 41:52it
- 41:52also
- 41:52the
- 41:53second
- 41:53user
- 41:53because
- 41:54server
- 41:54is
- 41:55busy
- 41:55right
- 41:55it
- 41:55cannot
- 41:56respond
- 41:56so
- 41:57that's
- 41:57why
- 41:57you
- 41:57need
- 41:58to
- 41:58make
- 41:58everything
- 41:59asynchromous
- 42:00and
- 42:00you're
- 42:01and you're
- 42:01you're
- 42:01you said
- 42:01you're
- 42:02using
- 42:02uveacorn
- 42:02behind
- 42:03the
- 42:03scenes
- 42:04so
- 42:04that's
- 42:05a
- 42:05great server
- 42:07for
- 42:07this
- 42:08kind
- 42:08of
- 42:08code
- 42:08yes
- 42:09exactly
- 42:09yeah
- 42:09in
- 42:10that's
- 42:10a lot
- 42:10of
- 42:11heavy lifting
- 42:11for us
- 42:12yeah
- 42:12absolutely
- 42:13it's
- 42:13really good
- 42:13to build
- 42:14on it
- 42:14is it
- 42:15running
- 42:15some kind
- 42:15of python
- 42:16framework
- 42:16that we
- 42:17don't see
- 42:17like a
- 42:18flask
- 42:18or fast
- 42:19API
- 42:19or something
- 42:20or is it
- 42:20just all
- 42:21custom
- 42:21it uses
- 42:22starlight
- 42:23although
- 42:23I'm not
- 42:24sure if it
- 42:25the actual
- 42:26server
- 42:27because
- 42:27I'm not
- 42:28very familiar
- 42:28with it
- 42:29yeah
- 42:29so
- 42:29starlight
- 42:29is the
- 42:30same
- 42:30foundation
- 42:30as
- 42:31fast
- 42:32API
- 42:32and other
- 42:33things
- 42:33as well
- 42:33so
- 42:33that's
- 42:34cool
- 42:35all right
- 42:36well there's a cool
- 42:37getting started
- 42:37people can walk
- 42:38through and check
- 42:39it out
- 42:39it's pretty
- 42:40interesting
- 42:41because it's a
- 42:42it is a
- 42:42different
- 42:42programming
- 42:43model
- 42:44compared to
- 42:45how
- 42:45many people
- 42:46would be
- 42:46familiar
- 42:47with
- 42:47flask
- 42:48and
- 42:49those types
- 42:50of things
- 42:50that are
- 42:50very
- 42:51stateless
- 42:51and you've
- 42:51got to
- 42:51somehow
- 42:52figure out
- 42:52how to
- 42:53get their
- 42:53session
- 42:54and then
- 42:54store
- 42:54then a
- 42:54database
- 42:55or a
- 42:56redis
- 42:56queue
- 42:56and then
- 42:56get that
- 42:57back
- 42:57and then
- 42:57you know
- 42:58regenerate
- 42:58it right
- 42:59it's
- 42:59you have
- 42:59this
- 42:59inner
- 43:00information
- 43:00more
- 43:01round tripped
- 43:02I think
- 43:02it'll resonate
- 43:03with a lot
- 43:03of people
- 43:03it's definitely
- 43:04easier
- 43:05so I want
- 43:06to talk
- 43:07about
- 43:07the widgets
- 43:08but actually
- 43:09before we
- 43:10talk about
- 43:10the widgets
- 43:11let's touch
- 43:11on one
- 43:12thing over
- 43:12in the
- 43:13examples
- 43:14here
- 43:14templates
- 43:15so
- 43:16when I
- 43:17write
- 43:17traditional
- 43:18web
- 43:18applications
- 43:19let's
- 43:19call them
- 43:19I'll
- 43:20create an
- 43:21HTML
- 43:21file
- 43:21and I'll
- 43:22probably use
- 43:23some template
- 43:23language
- 43:24like
- 43:24chameleon
- 43:25or
- 43:27Django
- 43:27templates
- 43:28and pass
- 43:29a dictionary
- 43:30over there
- 43:30but I
- 43:30mostly think
- 43:32about what's
- 43:32on the
- 43:33page
- 43:33by
- 43:34structuring
- 43:35an
- 43:35HTML
- 43:36file
- 43:37that has
- 43:37CSS
- 43:38and
- 43:38JavaScript
- 43:38and
- 43:39placeholders
- 43:39for my
- 43:40things to go
- 43:41into
- 43:41and loops
- 43:41and that
- 43:42sort of
- 43:43thing
- 43:43is there
- 43:44a way
- 43:44in
- 43:45HTML
- 43:45wave
- 43:46to have
- 43:47some
- 43:47template
- 43:47like
- 43:48that
- 43:48definitely
- 43:49although
- 43:50we
- 43:51do
- 43:51not
- 43:51encourage
- 43:52it
- 43:52very
- 43:52much
- 43:52because
- 43:53we
- 43:54usually
- 43:55tend to
- 43:56think
- 43:56about
- 43:56using
- 43:57your
- 43:57custom
- 43:58HTML
- 43:58as
- 43:59escape
- 44:00page
- 44:00and
- 44:00instead
- 44:02we try
- 44:03to provide
- 44:03you with
- 44:04Python
- 44:05APIs
- 44:06whenever
- 44:06possible
- 44:06but if
- 44:07you really
- 44:07really want
- 44:08there is
- 44:09also
- 44:10HTML
- 44:11templating
- 44:12if you
- 44:12need
- 44:12and
- 44:13that
- 44:13also
- 44:13work
- 44:14the
- 44:14same
- 44:14way
- 44:15as
- 44:15we
- 44:15described
- 44:16the
- 44:16script
- 44:17data
- 44:18update
- 44:18so
- 44:19it
- 44:19takes
- 44:20one
- 44:20dictionary
- 44:21with
- 44:22the
- 44:22values
- 44:23and
- 44:24then
- 44:24HTML
- 44:25with
- 44:26the
- 44:26templating
- 44:27language
- 44:27right
- 44:28does it
- 44:28do the
- 44:29partial
- 44:29updates
- 44:30based on
- 44:30that as
- 44:31well
- 44:31or does
- 44:31it
- 44:32round trip
- 44:32the
- 44:32template
- 44:33the
- 44:33whole
- 44:33thing
- 44:33I'm
- 44:34not
- 44:35sure
- 44:35about
- 44:35that
- 44:35one
- 44:36but
- 44:36I
- 44:36would
- 44:36say
- 44:37it
- 44:37also
- 44:38is
- 44:39capable
- 44:39of
- 44:39partial
- 44:40updates
- 44:40okay
- 44:41so
- 44:41basically
- 44:42the
- 44:42examples
- 44:42that
- 44:43you
- 44:43have
- 44:43here
- 44:44are
- 44:44you
- 44:45have
- 44:45a
- 44:45little
- 44:45tiny
- 44:46fragment
- 44:46like
- 44:47a
- 44:47fragment
- 44:48of
- 44:48HTML
- 44:48that'll
- 44:49go
- 44:49into
- 44:49the
- 44:49page
- 44:50and
- 44:50then
- 44:50that's
- 44:51the
- 44:51template
- 44:52sounds
- 44:53a little
- 44:53bit like
- 44:53view
- 44:54components
- 44:54and
- 44:55that
- 44:55style
- 44:56yeah
- 44:56and
- 44:57maybe
- 44:57one more
- 44:58the
- 44:58markdown
- 44:58a little
- 44:59bit
- 44:59together
- 44:59yeah
- 45:00exactly
- 45:00and
- 45:01maybe
- 45:01one more
- 45:02interesting
- 45:02thing
- 45:03to note
- 45:04because
- 45:05the
- 45:06app
- 45:06that
- 45:06we
- 45:07are
- 45:07currently
- 45:07looking at
- 45:08is
- 45:08called
- 45:09H2L
- 45:09Lave
- 45:10Tour
- 45:10and
- 45:11that
- 45:11also
- 45:12wave
- 45:13app
- 45:13in
- 45:13itself
- 45:14so
- 45:14you
- 45:14can
- 45:15see
- 45:15it
- 45:15looks
- 45:16nice
- 45:17even
- 45:18though
- 45:18you
- 45:18have
- 45:18a
- 45:19small
- 45:19screen
- 45:19and
- 45:20it's
- 45:21a
- 45:21perfect
- 45:21example
- 45:22of what
- 45:23wave
- 45:23is
- 45:24capable
- 45:24because
- 45:24all the
- 45:25code
- 45:25that we
- 45:26see
- 45:27in front
- 45:27of us
- 45:28is
- 45:28rendered
- 45:29in
- 45:29VS Code
- 45:30Editor
- 45:30we use
- 45:31called
- 45:31Monaco
- 45:32Editor
- 45:32and
- 45:33that
- 45:33implemented
- 45:34via
- 45:35incorporating
- 45:36custom
- 45:37JavaScript
- 45:37into
- 45:38wave
- 45:38so
- 45:39that
- 45:39means
- 45:39if
- 45:40you
- 45:40really
- 45:40need
- 45:40to
- 45:40include
- 45:41some
- 45:42third-party
- 45:42libraries
- 45:43in
- 45:43JavaScript
- 45:43then we
- 45:44got you
- 45:45covered as
- 45:45well
- 45:45that's
- 45:46really
- 45:46awesome
- 45:46yeah
- 45:47so
- 45:47this
- 45:47H2O
- 45:48wave
- 45:49tour
- 45:49lets you
- 45:50run the
- 45:50code
- 45:50locally
- 45:51and
- 45:51explore
- 45:51it
- 45:52and
- 45:52search
- 45:53through
- 45:53the
- 45:53different
- 45:53examples
- 45:54which
- 45:54is
- 45:54really
- 45:54fantastic
- 45:55so
- 45:55if
- 45:56you
- 45:56go
- 45:56to
- 45:56the
- 45:57website
- 45:57there's
- 45:57a
- 45:58getting
- 45:58started
- 45:58that
- 45:58shows
- 45:59you
- 45:59how
- 45:59to
- 45:59get
- 46:00this
- 46:00up
- 46:00and
- 46:01running
- 46:01what
- 46:02we
- 46:02get
- 46:02is
- 46:02a
- 46:02nav
- 46:03bar
- 46:03across
- 46:03the
- 46:03top
- 46:04and
- 46:04then
- 46:04like
- 46:04a
- 46:04drop
- 46:05down
- 46:05combo
- 46:05box
- 46:06and
- 46:06a
- 46:06next
- 46:06previous
- 46:07button
- 46:07on
- 46:07the
- 46:08right
- 46:08side
- 46:09of
- 46:09the
- 46:09page
- 46:09we
- 46:09have
- 46:09the
- 46:10rendered
- 46:10output
- 46:11that's
- 46:11live
- 46:11and
- 46:12then
- 46:12on
- 46:12the
- 46:12left
- 46:12side
- 46:12we
- 46:13have
- 46:13the
- 46:13code
- 46:13that
- 46:13makes
- 46:13it
- 46:14happen
- 46:14so
- 46:14what
- 46:15you're
- 46:15telling
- 46:15me
- 46:15is
- 46:15that
- 46:16little
- 46:16square
- 46:16on
- 46:16the
- 46:17left
- 46:17pane
- 46:18of
- 46:18my
- 46:18two
- 46:19pane
- 46:19window
- 46:19that's
- 46:20basically
- 46:20VS
- 46:21code
- 46:21yes
- 46:21you can
- 46:22edit
- 46:22it
- 46:22you have
- 46:23open
- 46:23one
- 46:23if you
- 46:25can
- 46:25try
- 46:25to
- 46:26type
- 46:26into
- 46:26it
- 46:27hit
- 46:27W
- 46:28and
- 46:29let's
- 46:29say
- 46:29button
- 46:30or
- 46:30maybe
- 46:30not
- 46:31maybe
- 46:31I
- 46:32remember
- 46:32it
- 46:32wrongly
- 46:33maybe
- 46:35my
- 46:35ad
- 46:35blockers
- 46:36make
- 46:36it
- 46:36angry
- 46:37as
- 46:37well
- 46:37you
- 46:37never
- 46:37know
- 46:38okay
- 46:38but
- 46:40yeah
- 46:40that's
- 46:41cool
- 46:41yeah
- 46:42you get
- 46:42like
- 46:42highlighting
- 46:43and
- 46:43indentations
- 46:45and
- 46:45yeah
- 46:46you can
- 46:47you can
- 46:47edit it
- 46:47and your
- 46:48changes
- 46:48should be
- 46:49reflected
- 46:49on the
- 46:49right
- 46:49side
- 46:50as well
- 46:50yeah
- 46:50kind of
- 46:51instructive
- 46:51yeah
- 46:52you can
- 46:53just
- 46:53set
- 46:53there
- 46:53and
- 46:53edit
- 46:53that's
- 46:54a
- 46:54really
- 46:54cool
- 46:54way
- 46:55to
- 46:55play
- 46:55with
- 46:55it
- 46:55right
- 46:55you
- 46:56know
- 46:56you
- 46:56have
- 46:56stuff
- 46:56that'll
- 46:57say
- 46:57take
- 46:57you
- 46:57to
- 46:58repl
- 46:58or
- 46:58whatever
- 46:59and
- 47:00there's
- 47:00all
- 47:00these
- 47:00pains
- 47:00like
- 47:00okay
- 47:01what
- 47:01do
- 47:01I
- 47:01click
- 47:02to
- 47:02actually
- 47:02make
- 47:02this
- 47:03show up
- 47:03and
- 47:03where
- 47:03is
- 47:04it
- 47:04supposed
- 47:04to
- 47:04go
- 47:04this
- 47:04is
- 47:05this
- 47:05is
- 47:05a
- 47:05really
- 47:05cool
- 47:06way
- 47:06to
- 47:06explore
- 47:07I
- 47:07think
- 47:07yeah
- 47:08okay
- 47:08so
- 47:09the
- 47:09thing
- 47:09I
- 47:10wanted
- 47:10to
- 47:10talk
- 47:10about
- 47:10was
- 47:10these
- 47:11templates
- 47:11so
- 47:11there
- 47:11is
- 47:11some
- 47:12way
- 47:12to
- 47:12do
- 47:12little
- 47:13bits
- 47:13but
- 47:13it
- 47:13it
- 47:14sounds
- 47:14to me
- 47:14more
- 47:15like
- 47:15it's
- 47:16it's
- 47:16a little
- 47:16bit
- 47:17this
- 47:17component
- 47:17model
- 47:18like
- 47:18this
- 47:18little
- 47:18section
- 47:19this
- 47:19card
- 47:19that
- 47:19we're
- 47:19going
- 47:20to
- 47:20put
- 47:20somewhere
- 47:20on
- 47:20the
- 47:20screen
- 47:21here's
- 47:22its
- 47:22little
- 47:22fragment
- 47:22of
- 47:23HTML
- 47:23that
- 47:23is
- 47:24an
- 47:24expression
- 47:24that
- 47:25goes
- 47:25with
- 47:25it
- 47:25yeah
- 47:25very very
- 47:27neat
- 47:28the other
- 47:28one
- 47:28that's
- 47:29pretty
- 47:29nice
- 47:29is
- 47:30markdown
- 47:31right
- 47:31you have
- 47:31nice
- 47:32support
- 47:32for
- 47:32just
- 47:33markdown
- 47:34out of
- 47:34the box
- 47:35so
- 47:35I
- 47:35think
- 47:36that's
- 47:36great
- 47:36if you
- 47:37have
- 47:37various
- 47:37there's
- 47:38hundreds
- 47:38of examples
- 47:39and some
- 47:40people can
- 47:40go play
- 47:41there
- 47:41but
- 47:41there's
- 47:41a couple
- 47:42for the
- 47:42different
- 47:42how
- 47:43markdown
- 47:43gets
- 47:43applied
- 47:44and
- 47:44used
- 47:45let's
- 47:46see
- 47:46another
- 47:47thing
- 47:47you know
- 47:47you talked
- 47:48about
- 47:48you told
- 47:49me to
- 47:49type
- 47:49like
- 47:50wbutton
- 47:50and hit
- 47:51and tab
- 47:51so
- 47:52that's
- 47:52part
- 47:53of
- 47:53one
- 47:54of
- 47:54the
- 47:54code
- 47:54extensions
- 47:56or plugins
- 47:56depending
- 47:57on the
- 47:57editor
- 47:57you're
- 47:58using
- 47:59so
- 47:59you have
- 47:59VS Code
- 48:00and you
- 48:00have
- 48:01PyCharm
- 48:01plugins
- 48:02that
- 48:03allow us
- 48:03to create
- 48:04things
- 48:05like
- 48:05if I
- 48:05got a
- 48:06form
- 48:06or
- 48:06something
- 48:06right
- 48:07I
- 48:08could
- 48:08type
- 48:08like
- 48:08wform
- 48:10tab
- 48:11and
- 48:11it
- 48:12would
- 48:12go
- 48:12potentially
- 48:12create
- 48:13some
- 48:14kind
- 48:14of
- 48:14UI
- 48:15element
- 48:15instead
- 48:16of
- 48:16me
- 48:16having
- 48:17to
- 48:17do
- 48:17that
- 48:17right
- 48:17or
- 48:17if
- 48:17you
- 48:18want
- 48:18to
- 48:18get
- 48:18a
- 48:18scaffold
- 48:19up
- 48:19a
- 48:19starter
- 48:20application
- 48:21yes
- 48:21that's
- 48:22right
- 48:22so
- 48:23we
- 48:23have
- 48:23VS Code
- 48:24extension
- 48:24and
- 48:25PyCharm
- 48:25plugin
- 48:25which
- 48:26have
- 48:26the same
- 48:27features
- 48:27and
- 48:29the
- 48:29features
- 48:30are
- 48:30one
- 48:31is
- 48:31called
- 48:32snippet
- 48:33snippet
- 48:33or
- 48:34the
- 48:34templates
- 48:35that
- 48:36allows
- 48:37you
- 48:37to
- 48:37streamline
- 48:38your
- 48:38typing
- 48:39a
- 48:40little
- 48:40bit
- 48:40so
- 48:40you
- 48:40don't
- 48:41need
- 48:41to
- 48:41think
- 48:42about
- 48:42how
- 48:43what
- 48:43are
- 48:43the
- 48:44possible
- 48:44attributes
- 48:45in
- 48:45the
- 48:46button
- 48:46for
- 48:46example
- 48:47you
- 48:47can
- 48:48just
- 48:48yeah
- 48:49there
- 48:50is
- 48:50a
- 48:50little
- 48:50demo
- 48:51so
- 48:51you
- 48:52can
- 48:52just
- 48:52type
- 48:53w
- 48:54underscore
- 48:54and
- 48:55your
- 48:55card
- 48:56name
- 48:56and
- 48:57it
- 48:57will
- 48:57basically
- 48:58give
- 48:59you
- 48:59all the
- 48:59code
- 49:00that
- 49:00is
- 49:00needed
- 49:00and
- 49:01the
- 49:02second
- 49:02part
- 49:02is
- 49:03autocomplete
- 49:05because
- 49:05most of
- 49:06the stuff
- 49:07in
- 49:07wave
- 49:07is
- 49:07based
- 49:08on
- 49:08dictionaries
- 49:09which
- 49:09are
- 49:10dynamic
- 49:10in
- 49:11their
- 49:11nature
- 49:11so
- 49:11there
- 49:12is
- 49:12not
- 49:12much
- 49:13that
- 49:13the
- 49:13type
- 49:14system
- 49:14can
- 49:14infer
- 49:15so
- 49:15we
- 49:16help
- 49:16with
- 49:16that
- 49:16a little
- 49:17bit
- 49:17as well
- 49:17yeah
- 49:18it's
- 49:18amazing
- 49:19how much
- 49:19those
- 49:20sort
- 49:20of
- 49:20focused
- 49:21templates
- 49:21are
- 49:21like
- 49:22I'm
- 49:22here
- 49:22to
- 49:22create
- 49:23UI
- 49:23widgets
- 49:23I'm
- 49:24telling
- 49:24you
- 49:24this
- 49:24reminds
- 49:25me
- 49:25a lot
- 49:25of
- 49:25Flutter
- 49:25I
- 49:26don't
- 49:26know
- 49:26if
- 49:26you've
- 49:26done
- 49:26anything
- 49:27with
- 49:27Flutter
- 49:27just
- 49:28a
- 49:28little
- 49:28bit
- 49:28but
- 49:29the
- 49:29style
- 49:30of
- 49:30the
- 49:31way
- 49:31you
- 49:31create
- 49:31these
- 49:32nested
- 49:33UI
- 49:34widgets
- 49:34and
- 49:35the
- 49:35editor
- 49:36tools
- 49:36to
- 49:36build
- 49:36them
- 49:37it's
- 49:37really
- 49:38nice
- 49:38I like
- 49:38it
- 49:39I
- 49:39certainly
- 49:39if
- 49:40people
- 49:40are
- 49:40going
- 49:40to
- 49:41build
- 49:41real
- 49:41apps
- 49:42with
- 49:42this
- 49:42they
- 49:43should
- 49:43be
- 49:44considering
- 49:44these
- 49:45extensions
- 49:45or
- 49:45plugins
- 49:46right
- 49:46yeah
- 49:47so
- 49:48Phil
- 49:48on the
- 49:48audience
- 49:48has
- 49:49an
- 49:49idea
- 49:49says
- 49:49less
- 49:50intelligent
- 49:50more
- 49:50basic
- 49:51this
- 49:51might
- 49:51provide
- 49:51an
- 49:51easy
- 49:52way
- 49:52to
- 49:52build
- 49:52a
- 49:53personal
- 49:53media
- 49:53streaming
- 49:54service
- 49:54on my
- 49:54Raspberry
- 49:55Pi
- 49:55and
- 49:55a
- 49:55remote
- 49:55control
- 49:56interface
- 49:56to
- 49:56control
- 49:57and
- 49:57view
- 49:57from
- 49:57my
- 49:58phone
- 49:58what
- 49:58do
- 49:58you
- 49:58think
- 49:59can
- 49:59you
- 49:59build
- 49:59a
- 50:00control
- 50:00go
- 50:00for
- 50:01it
- 50:01cool
- 50:03I'd
- 50:03say
- 50:03it
- 50:04sounds
- 50:04pretty
- 50:05possible
- 50:05Joe
- 50:06the
- 50:06quick
- 50:06note
- 50:06that
- 50:06we
- 50:07are
- 50:07really
- 50:08interested
- 50:08in
- 50:08everything
- 50:09that
- 50:09our
- 50:09community
- 50:10does
- 50:10so
- 50:11if
- 50:11you
- 50:11have
- 50:11some
- 50:12cool
- 50:12way
- 50:12up
- 50:12don't
- 50:13hesitate
- 50:13and
- 50:14bring
- 50:14it
- 50:14up
- 50:14you
- 50:15can
- 50:16go
- 50:16to
- 50:16GitHub
- 50:17and
- 50:17discussions
- 50:18and
- 50:19there
- 50:19we
- 50:19have
- 50:20a
- 50:20discussion
- 50:20dedicated
- 50:21to
- 50:21a
- 50:22community
- 50:22showcase
- 50:23so
- 50:23yeah
- 50:24definitely
- 50:26good
- 50:26idea
- 50:26a lot
- 50:27of
- 50:27things
- 50:27I
- 50:27want
- 50:27to
- 50:27ask
- 50:27you
- 50:28about
- 50:28but
- 50:28we're
- 50:29going to
- 50:29run out
- 50:29of
- 50:29time
- 50:30so
- 50:30let's
- 50:31talk
- 50:31about
- 50:31deployment
- 50:32so
- 50:33and
- 50:34is
- 50:35this
- 50:35a
- 50:35thing
- 50:35I
- 50:36have
- 50:36to
- 50:36buy
- 50:36in
- 50:36order
- 50:37to
- 50:37use
- 50:37H2O
- 50:38wave
- 50:38so
- 50:38suppose
- 50:39I
- 50:39have
- 50:39a
- 50:40virtual
- 50:41Linux
- 50:41server
- 50:41at
- 50:42Linode
- 50:43I
- 50:43want
- 50:43to
- 50:43run
- 50:44this
- 50:44there
- 50:45could
- 50:45I
- 50:45do
- 50:45it
- 50:45definitely
- 50:46wave
- 50:46is
- 50:47100%
- 50:48free
- 50:48of
- 50:48charge
- 50:49so
- 50:49you
- 50:49can
- 50:49use
- 50:50it
- 50:50even
- 50:50for
- 50:50commercial
- 50:51projects
- 50:52our
- 50:52license
- 50:53permitted
- 50:53and
- 50:54you
- 50:55can
- 50:55deploy
- 50:55wherever
- 50:56we
- 50:56want
- 50:57we
- 50:57even
- 50:58had
- 50:58some
- 50:59blog
- 50:59posts
- 50:59about
- 51:00deploying
- 51:01wave
- 51:01apps
- 51:01on
- 51:02Heroku
- 51:02and
- 51:03we
- 51:04plan
- 51:04to
- 51:04also
- 51:05add
- 51:05for
- 51:06AWS
- 51:07EC2
- 51:07or
- 51:08Linode
- 51:08or
- 51:09whatever
- 51:09and
- 51:10however
- 51:11if
- 51:11you
- 51:11are
- 51:12enterprise
- 51:13then
- 51:14part of
- 51:14our
- 51:15business
- 51:15model
- 51:15is
- 51:15that
- 51:16we
- 51:16we
- 51:17basically
- 51:17provide
- 51:18a
- 51:18cloud
- 51:18solution
- 51:19for
- 51:20for
- 51:20app
- 51:21deployment
- 51:21for
- 51:22you
- 51:22so
- 51:22that's
- 51:23that's
- 51:23okay
- 51:24so
- 51:25if
- 51:25I
- 51:25have
- 51:25like
- 51:26a
- 51:26team
- 51:26of
- 51:26data
- 51:26scientists
- 51:27and
- 51:28I
- 51:28don't
- 51:28want
- 51:28a
- 51:28dedicated
- 51:29H2o
- 51:30wave
- 51:31DevOps
- 51:31person
- 51:32I
- 51:32can
- 51:32just
- 51:33pay
- 51:33you
- 51:33all
- 51:33some
- 51:34sort
- 51:34of
- 51:34money
- 51:34and
- 51:35you'll
- 51:35set
- 51:35up
- 51:35some
- 51:36number
- 51:36of
- 51:36apps
- 51:36how's
- 51:37the
- 51:37pricing
- 51:38work
- 51:38there
- 51:38I'm
- 51:39not
- 51:39sure
- 51:39because
- 51:40I'm
- 51:40not
- 51:41working
- 51:41on
- 51:41the
- 51:42cloud
- 51:42side
- 51:42of
- 51:43things
- 51:43but
- 51:44just
- 51:44to
- 51:44give
- 51:45you
- 51:45maybe
- 51:45more
- 51:45just
- 51:46to
- 51:46shed
- 51:46more
- 51:47light
- 51:47on
- 51:48our
- 51:48initial
- 51:49intentions
- 51:50with
- 51:51wave
- 51:51we
- 51:51wanted
- 51:52to
- 51:52solve
- 51:52basically
- 51:53three
- 51:53problems
- 51:54one
- 51:54was
- 51:54building
- 51:55nice
- 51:56UIs
- 51:56second
- 51:57was
- 51:57authentication
- 51:58out of
- 51:58the box
- 51:59because
- 51:59this is
- 52:00painful
- 52:01and the
- 52:01third
- 52:01one
- 52:01was
- 52:02deployment
- 52:02because
- 52:03if you
- 52:03are a
- 52:03data
- 52:04scientist
- 52:04you
- 52:04probably
- 52:05don't
- 52:05know
- 52:05much
- 52:06about
- 52:06it
- 52:06right
- 52:06right
- 52:07so
- 52:07that
- 52:07is
- 52:07where
- 52:07our
- 52:08cloud
- 52:08platform
- 52:09comes
- 52:09to play
- 52:10which
- 52:10allows
- 52:11you
- 52:11to
- 52:11easily
- 52:11deploy
- 52:12your
- 52:13web apps
- 52:13using
- 52:14CLI
- 52:14it's
- 52:15basically
- 52:15like
- 52:16so
- 52:17your
- 52:18business
- 52:18model
- 52:18is
- 52:19basically
- 52:20H2O wave
- 52:21is free
- 52:21open source
- 52:22people can
- 52:23deploy it
- 52:23where they
- 52:23want
- 52:23but if
- 52:24they
- 52:24don't
- 52:24want
- 52:24to
- 52:24manage
- 52:25the
- 52:25running
- 52:26and
- 52:27upgrading
- 52:27and
- 52:28backups
- 52:28and all
- 52:29that
- 52:29they can
- 52:30buy that
- 52:30as a
- 52:30service
- 52:31from
- 52:31you
- 52:31exactly
- 52:32yeah
- 52:32that
- 52:32sounds
- 52:32fair
- 52:33is
- 52:33it
- 52:33hard
- 52:33to set
- 52:34up
- 52:34if
- 52:34I
- 52:34want
- 52:35to
- 52:35host
- 52:35it
- 52:35myself
- 52:35not
- 52:36really
- 52:36basically
- 52:37the
- 52:38simplest
- 52:38thing
- 52:39that
- 52:39you
- 52:39need
- 52:39to
- 52:40do
- 52:40is
- 52:41just
- 52:41run
- 52:42hit
- 52:42wave
- 52:43run
- 52:43and then
- 52:44your
- 52:44app.py
- 52:45and that
- 52:45should
- 52:45basically
- 52:46run your
- 52:48application
- 52:48you expose
- 52:49your
- 52:50correct
- 52:50ports
- 52:51and that
- 52:51I suppose
- 52:52I could put
- 52:53it behind
- 52:53Nginx
- 52:54successfully
- 52:55I do
- 52:56got to do
- 52:56something special
- 52:57for like
- 52:58the web
- 52:58socket
- 52:58aspect
- 52:59of it
- 52:59I don't
- 53:00think so
- 53:00because
- 53:01I don't
- 53:01think so
- 53:02either
- 53:02because
- 53:03you just
- 53:03need to
- 53:03expose
- 53:04the
- 53:04web
- 53:04server
- 53:05part
- 53:05the
- 53:05web
- 53:06application
- 53:07part
- 53:07doesn't
- 53:08need to
- 53:08be
- 53:08exposed
- 53:08at all
- 53:09and since
- 53:10the
- 53:10web
- 53:10server
- 53:10is
- 53:10the
- 53:10one
- 53:11that
- 53:11handles
- 53:11web
- 53:11sockets
- 53:12then
- 53:12it
- 53:13shouldn't
- 53:13work
- 53:13right
- 53:14I think
- 53:14it
- 53:14just
- 53:14tells
- 53:14the
- 53:15browser
- 53:15hey
- 53:15we're
- 53:15upgrading
- 53:16to
- 53:16web
- 53:16sockets
- 53:16let's
- 53:17keep
- 53:17going
- 53:17and
- 53:18that
- 53:18should
- 53:18go
- 53:19through
- 53:19Nginx
- 53:19I would
- 53:19guess
- 53:20okay
- 53:21that way
- 53:21like I
- 53:21could
- 53:21do
- 53:22let's
- 53:23encrypt
- 53:24over
- 53:24and all
- 53:25that
- 53:25management
- 53:26stuff
- 53:26at the
- 53:27Nginx
- 53:27level
- 53:27yes
- 53:28exactly
- 53:28yeah
- 53:29this
- 53:29sounds
- 53:30good
- 53:30the reason
- 53:30I ask
- 53:31is I
- 53:31know
- 53:31there's a
- 53:31bunch of
- 53:32data scientists
- 53:32who don't
- 53:33want to do
- 53:33that
- 53:33but there's
- 53:34also
- 53:35people like
- 53:36me
- 53:36who are
- 53:37mostly
- 53:37programmers
- 53:38but have
- 53:39a business
- 53:39with a bunch
- 53:39of dashboards
- 53:40that might
- 53:40be cool
- 53:41to build
- 53:41and I've
- 53:42already got
- 53:43eight servers
- 53:44and a bunch
- 53:45of stuff
- 53:45I could
- 53:45easily host it
- 53:46on one of
- 53:46them
- 53:47so for me
- 53:48I could set
- 53:48it up
- 53:49and use it
- 53:49like I'm
- 53:50asking in a
- 53:51indirect but more
- 53:52broad sense
- 53:53like you know
- 53:53this is useful
- 53:54for people
- 53:54beyond just
- 53:55the traditional
- 53:56I want
- 53:56slightly more
- 53:57than Jupyter
- 53:57crowd right
- 53:58yes exactly
- 53:59we even
- 54:00think that it
- 54:01might be useful
- 54:02for maybe
- 54:03people like
- 54:04you who are
- 54:05more of a
- 54:06software engineer
- 54:07my boss
- 54:08likes to say
- 54:09that we would
- 54:10like to compete
- 54:10in Django
- 54:11although our
- 54:12it's not really
- 54:13direct competition
- 54:15let's say
- 54:16I would say
- 54:16because
- 54:17Django
- 54:19requires you
- 54:20to know
- 54:20HTML
- 54:21and CSS
- 54:22and JavaScript
- 54:23whereas we
- 54:24don't
- 54:24but
- 54:24at the
- 54:25people side
- 54:26we want to
- 54:27target also
- 54:29Python developers
- 54:30sure
- 54:30if you're
- 54:31doing pure
- 54:32HTML
- 54:32Django
- 54:33servers up
- 54:34you can start
- 54:35bringing in
- 54:36designers
- 54:36and front end
- 54:38people right
- 54:38there's like
- 54:39there's a
- 54:40different kind
- 54:40of app
- 54:41that often
- 54:42gets built
- 54:42but
- 54:43can be built
- 54:44but
- 54:45especially
- 54:45if you're
- 54:46talking about
- 54:46businesses
- 54:4780% of the
- 54:48apps that they
- 54:49actually build
- 54:49are just like
- 54:50forms over
- 54:51data
- 54:52I need to
- 54:52see what's in
- 54:53the database
- 54:54select a
- 54:55thing
- 54:55filter thing
- 54:55click
- 54:56do something
- 54:57to it
- 54:57and that's
- 54:58the entire
- 54:58app right
- 54:59and it
- 55:00sounds like
- 55:00these wave
- 55:01apps might
- 55:02be a good
- 55:02fit for
- 55:03it doesn't
- 55:04have to
- 55:05look like
- 55:06Airbnb
- 55:06landing page
- 55:07what it needs
- 55:08to do is
- 55:09show me this
- 55:10stuff and let
- 55:10people get to
- 55:11it quick
- 55:11and select
- 55:12them and make
- 55:12some actions
- 55:13real quickly
- 55:14right without
- 55:15spending weeks
- 55:16to do it
- 55:16exactly
- 55:17would it be good
- 55:17for those
- 55:17kind of apps
- 55:18definitely
- 55:19we also
- 55:19have
- 55:20sector stories
- 55:21related to
- 55:22that because
- 55:22we had some
- 55:23let's say
- 55:24product people
- 55:25with some
- 55:26engineering skills
- 55:27or with
- 55:28end skills
- 55:29they needed
- 55:29some
- 55:30let's say
- 55:31small internal
- 55:32app that
- 55:32would allow
- 55:33them for
- 55:34example
- 55:34to bring
- 55:35people to
- 55:36give trial
- 55:37access to
- 55:38people to
- 55:38our platform
- 55:39and this
- 55:41needed to be
- 55:42done by
- 55:43backend developers
- 55:44before because
- 55:44there was no
- 55:45infrastructure
- 55:46supporting it
- 55:46so one
- 55:48of our
- 55:48product
- 55:49managers
- 55:49went ahead
- 55:51and built
- 55:52a wave
- 55:52app that
- 55:53did exactly
- 55:54that
- 55:54listed all
- 55:56the pending
- 55:57trial users
- 55:58and allowed
- 56:00you to
- 56:00basically
- 56:01give them
- 56:02access
- 56:02and that's
- 56:03it right
- 56:04it's a very
- 56:05small application
- 56:06but it will
- 56:07build in
- 56:07no time
- 56:08with tremendous
- 56:09value
- 56:10yeah
- 56:10and you have
- 56:11all the widgets
- 56:11you need
- 56:12you've got
- 56:12buttons
- 56:13you can
- 56:13type in
- 56:14various things
- 56:15you can
- 56:16sort of
- 56:16build up
- 56:17this
- 56:17interaction
- 56:17right
- 56:18you've got
- 56:18dropdowns
- 56:19and search
- 56:19and the
- 56:20make it
- 56:20happen
- 56:21type of
- 56:21buttons
- 56:22do you have
- 56:22a grid
- 56:23yes
- 56:23it's called
- 56:24table
- 56:24if you will
- 56:25search for it
- 56:26and I have
- 56:26one of the
- 56:27I'll do the
- 56:28table
- 56:28search
- 56:29there you go
- 56:30yeah
- 56:30and basically
- 56:31this is one of
- 56:32the fundamental
- 56:32components for
- 56:34data scientists
- 56:34right because
- 56:35you want to
- 56:36showcase your
- 56:37data sets
- 56:38this is like
- 56:39the perfect
- 56:39component for it
- 56:40yeah
- 56:41even have
- 56:42little cool
- 56:43circular
- 56:43progress bars
- 56:44which is
- 56:45those are
- 56:46really nice
- 56:46looking widgets
- 56:47yeah very good
- 56:48and then I guess
- 56:48you even have
- 56:49it wasn't page
- 56:51it was filtering
- 56:51but yeah very
- 56:52very cool
- 56:53yes we support
- 56:54search filter
- 56:55sort
- 56:55even pagination
- 56:56if you want
- 56:57and have
- 56:58really a lot
- 56:59of data
- 56:59yeah
- 56:59we didn't even
- 57:01really get a chance
- 57:02to go through
- 57:03all the
- 57:04widgets
- 57:05but you've
- 57:06got
- 57:07most things
- 57:08I can imagine
- 57:09you want to
- 57:09use to build
- 57:10build an app
- 57:11you've got
- 57:12a color picker
- 57:13you've got
- 57:13choice groups
- 57:14like a radio
- 57:14button
- 57:15I'm presuming
- 57:16you've got
- 57:16images
- 57:17you've got
- 57:17file upload
- 57:19do you have
- 57:19a video player
- 57:20not yet
- 57:21but it should
- 57:23land soon
- 57:23because we are
- 57:24working on
- 57:24a video
- 57:25annotator
- 57:26component
- 57:27which would
- 57:27basically be
- 57:29also usable
- 57:30as a video
- 57:30player
- 57:30okay
- 57:31so you have
- 57:31a text
- 57:32annotator
- 57:33and this would
- 57:33be kind of
- 57:34same thing
- 57:35and also
- 57:35an image
- 57:35annotator
- 57:36that's on
- 57:37the ml
- 57:38side
- 57:38where you
- 57:38say
- 57:39here's the
- 57:39thing
- 57:39I'm going
- 57:40to feed
- 57:40my model
- 57:40tell it
- 57:41that this
- 57:42is a
- 57:42person
- 57:43and that
- 57:44is a
- 57:44cat
- 57:44don't let
- 57:45it think
- 57:45the cat
- 57:46is a
- 57:46person
- 57:46or
- 57:46whatever
- 57:47right
- 57:47yes
- 57:48exactly
- 57:49okay
- 57:49yeah
- 57:49cool
- 57:50so
- 57:50you'll
- 57:50probably
- 57:51have
- 57:51the
- 57:51video
- 57:51player
- 57:51as a
- 57:52building
- 57:52block
- 57:53there
- 57:53right
- 57:53yes
- 57:54that
- 57:54sounds
- 57:54fun
- 57:54okay
- 57:55any
- 57:56other
- 57:56widgets
- 57:56you want
- 57:56to give
- 57:57a quick
- 57:57shout out
- 57:58to
- 57:58I said
- 57:59there
- 57:59I mean
- 57:59there's
- 57:59a whole
- 58:00host
- 58:00of
- 58:00plotting
- 58:01I guess
- 58:01also
- 58:01you can
- 58:02integrate
- 58:02with
- 58:02things
- 58:03like
- 58:03Altair
- 58:03and
- 58:04plotly
- 58:04and
- 58:04matplotlib
- 58:05you don't
- 58:05have to
- 58:05stick
- 58:06with
- 58:06just
- 58:06your
- 58:06widgets
- 58:06yes
- 58:07and
- 58:07if
- 58:08anyone
- 58:08go to
- 58:09overlay
- 58:09sections
- 58:10and we have
- 58:10things like
- 58:11dialogue
- 58:12sidebars
- 58:13etc
- 58:14notification
- 58:15bars
- 58:15whatever
- 58:16you can
- 58:17think of
- 58:17if
- 58:17there
- 58:18is
- 58:18something
- 58:18that
- 58:19you
- 58:19need
- 58:19and
- 58:20it
- 58:20is
- 58:20not
- 58:20there
- 58:21you
- 58:21can
- 58:21always
- 58:21file
- 58:22a
- 58:22feature
- 58:22request
- 58:23yep
- 58:23and
- 58:23that'll
- 58:23land
- 58:24on
- 58:24your
- 58:24desk
- 58:24or
- 58:25on
- 58:25your
- 58:26screen
- 58:26you'll
- 58:27think
- 58:28about
- 58:28it
- 58:28perfect
- 58:28well
- 58:29it
- 58:29certainly
- 58:30looks like
- 58:30a capable
- 58:31platform
- 58:31and
- 58:32ability
- 58:32to take
- 58:33it
- 58:33and
- 58:33just
- 58:33go
- 58:33run
- 58:33with
- 58:34it
- 58:34and
- 58:34deploy
- 58:34it
- 58:34pretty
- 58:35excellent
- 58:35and
- 58:35if
- 58:36people
- 58:36out
- 58:36there
- 58:37and
- 58:37they
- 58:37don't
- 58:37want
- 58:37to
- 58:37deploy
- 58:37it
- 58:38then
- 58:38you
- 58:38have
- 58:38a
- 58:39business
- 58:39for
- 58:39them
- 58:39business
- 58:40offering
- 58:41yes
- 58:41yeah
- 58:42very cool
- 58:43all right
- 58:43real quickly
- 58:44because
- 58:45like I said
- 58:46we're getting
- 58:46short on time
- 58:46two things
- 58:47let me pull up
- 58:49the actual
- 58:49app here
- 58:50so
- 58:50you have
- 58:51themes
- 58:52right
- 58:53if
- 58:53you
- 58:53it's like
- 58:54five or six
- 58:54different ways
- 58:55in which
- 58:56your site
- 58:56can look
- 58:57and you can
- 58:57just apply
- 58:58a theme
- 58:58or you can
- 58:59create
- 58:59custom themes
- 59:00or if
- 59:00you want
- 59:01to go
- 59:01crazy
- 59:01you can
- 59:02actually
- 59:02include
- 59:03custom
- 59:03CSS
- 59:04right
- 59:04yes
- 59:05but
- 59:05you
- 59:06probably
- 59:07most likely
- 59:08don't want
- 59:08to do
- 59:09that
- 59:09but
- 59:09if
- 59:09you
- 59:09want
- 59:10to
- 59:10you
- 59:10are
- 59:10free
- 59:11to
- 59:11go
- 59:11okay
- 59:12yeah
- 59:13there's
- 59:13a way
- 59:13to
- 59:13create
- 59:14a
- 59:14UI
- 59:14widget
- 59:15that
- 59:15is
- 59:15a
- 59:16meta
- 59:16element
- 59:17where
- 59:17you
- 59:18can
- 59:18say
- 59:18include
- 59:18this
- 59:19JavaScript
- 59:19either
- 59:19off
- 59:19your
- 59:20server
- 59:20or
- 59:20CDN
- 59:21or CSS
- 59:22yeah
- 59:23and also
- 59:24the other
- 59:24question
- 59:25the other thing
- 59:25I want to touch on
- 59:26is
- 59:26JavaScript
- 59:27support
- 59:27yes
- 59:27so
- 59:28basically
- 59:28we support
- 59:29arbitrary
- 59:30JavaScript
- 59:31as well
- 59:31you just include
- 59:32your script
- 59:33as if you
- 59:34did in
- 59:35let's say
- 59:36Django
- 59:36or
- 59:37whatever
- 59:37other
- 59:38other
- 59:39server-side
- 59:39frameworks
- 59:40you are
- 59:41good to
- 59:41go
- 59:41the
- 59:42example
- 59:43should
- 59:43be
- 59:43called
- 59:44inline
- 59:45script
- 59:45or
- 59:45script
- 59:46if you
- 59:47whatever
- 59:47you wish
- 59:48there we go
- 59:48how about
- 59:49this one
- 59:49yeah so
- 59:49what's
- 59:50interesting
- 59:50is there's
- 59:50a way
- 59:51to set
- 59:51up
- 59:51in
- 59:52JavaScript
- 59:52to push
- 59:53back
- 59:53into
- 59:54the
- 59:54wave
- 59:55app
- 59:55and trigger
- 59:56that
- 59:56that
- 59:57function
- 59:57to run
- 59:58with new
- 59:58arguments
- 59:58right
- 59:59yeah
- 59:59exactly
- 1:00:00so
- 1:00:00that's
- 1:00:01how you
- 1:00:01can
- 1:00:01basically
- 1:00:02reach
- 1:00:03the gap
- 1:00:03between
- 1:00:03JavaScript
- 1:00:04and
- 1:00:04Python
- 1:00:05you can
- 1:00:06send
- 1:00:06your data
- 1:00:06back to
- 1:00:07Python
- 1:00:07yeah so
- 1:00:07you just
- 1:00:08say
- 1:00:08in
- 1:00:08JavaScript
- 1:00:09you just
- 1:00:09say
- 1:00:10wave.emit
- 1:00:11and the
- 1:00:11event
- 1:00:12and then
- 1:00:13you know
- 1:00:13arguments
- 1:00:14basically
- 1:00:14right
- 1:00:15exactly
- 1:00:15okay
- 1:00:16it's always
- 1:00:16nice to have
- 1:00:17these escape
- 1:00:17hatches
- 1:00:18you know
- 1:00:19like it's
- 1:00:20it's 85%
- 1:00:21of what I
- 1:00:21need I
- 1:00:22just need a
- 1:00:22little bit
- 1:00:23something different
- 1:00:24here and if I
- 1:00:24could just put
- 1:00:25two lines of
- 1:00:26JavaScript I
- 1:00:26know I could
- 1:00:27get there or I
- 1:00:27need to style
- 1:00:28this just a
- 1:00:29little bit
- 1:00:29differently
- 1:00:29exactly
- 1:00:30cool
- 1:00:31all right
- 1:00:32Martin
- 1:00:32well very
- 1:00:33cool project
- 1:00:34that you're
- 1:00:34working on
- 1:00:34here
- 1:00:35congrats on
- 1:00:36getting it
- 1:00:37out there
- 1:00:37it looks like
- 1:00:37it's pretty
- 1:00:38popular
- 1:00:38people are
- 1:00:39definitely
- 1:00:40digging it
- 1:00:40and also I
- 1:00:41love the
- 1:00:42command K
- 1:00:42stuff that
- 1:00:44you have
- 1:00:45here
- 1:00:45on your
- 1:00:47homepage where
- 1:00:48you can just
- 1:00:48instantly
- 1:00:49jump in and
- 1:00:50like search
- 1:00:51around that
- 1:00:51that's pretty
- 1:00:51cool
- 1:00:52but 3000
- 1:00:53GitHub stars
- 1:00:54looks like a
- 1:00:56cool framework
- 1:00:56not exactly a
- 1:00:58direct head-to-head
- 1:00:59competitor Django
- 1:01:00and Flask but
- 1:01:01not that far off
- 1:01:01either right
- 1:01:02not the
- 1:01:02end map
- 1:01:03let's hold it
- 1:01:04one day
- 1:01:04give it a year
- 1:01:05or two
- 1:01:05okay cool
- 1:01:06I love it
- 1:01:07yeah
- 1:01:07all right
- 1:01:08now before
- 1:01:08you get out
- 1:01:08of here
- 1:01:09got the
- 1:01:09final two
- 1:01:09questions for
- 1:01:10you if we're
- 1:01:11going to write
- 1:01:11some code
- 1:01:11what editor
- 1:01:12do you use
- 1:01:12I prefer
- 1:01:13VS Code
- 1:01:14the wonderful
- 1:01:16VIM extension
- 1:01:17I cannot live
- 1:01:18without it
- 1:01:18anymore
- 1:01:19however I
- 1:01:20do think that
- 1:01:21the PyCharm has
- 1:01:23much better
- 1:01:23language support
- 1:01:24I prefer VS Code
- 1:01:26because I need to
- 1:01:26jump between
- 1:01:27multiple languages
- 1:01:28cool got it
- 1:01:29and I'm sure
- 1:01:30that you run
- 1:01:31the wave
- 1:01:32extension or
- 1:01:33plugin
- 1:01:33there's all
- 1:01:35right
- 1:01:35yes of course
- 1:01:36of course
- 1:01:36and the
- 1:01:37notable
- 1:01:37PyPI package
- 1:01:39something you
- 1:01:40find interesting
- 1:01:40or you want to
- 1:01:41recommend
- 1:01:41there are many
- 1:01:42of course
- 1:01:43but maybe
- 1:01:44one that I
- 1:01:45would like
- 1:01:46to give a
- 1:01:47shout out to
- 1:01:47is
- 1:01:48planerite
- 1:01:48and basically
- 1:01:50end-to-end
- 1:01:51testing
- 1:01:51framework
- 1:01:52nothing like
- 1:01:53Cypress
- 1:01:54I found that
- 1:01:55it can be
- 1:01:56used for much
- 1:01:57more than just
- 1:01:58end-to-end
- 1:01:58testing
- 1:01:59we use it
- 1:02:00for visual
- 1:02:01regression
- 1:02:01testing
- 1:02:02we use it
- 1:02:02for generating
- 1:02:03our imagery
- 1:02:04into documentation
- 1:02:06and I have
- 1:02:07even done
- 1:02:08a lot of
- 1:02:09tests
- 1:02:10using that
- 1:02:11as well
- 1:02:12so it's
- 1:02:13pretty versatile
- 1:02:14tool
- 1:02:15it's like the
- 1:02:15new Selenium
- 1:02:16sort of
- 1:02:17exactly
- 1:02:18yeah
- 1:02:18I did interview
- 1:02:19Andy Knight
- 1:02:20three four months
- 1:02:21ago about this
- 1:02:22playwright is really
- 1:02:23neat it's
- 1:02:23I had to do
- 1:02:24visual testing
- 1:02:25or testing
- 1:02:26where I kind of
- 1:02:27interact with the UI
- 1:02:28definitely what I
- 1:02:29would pick these
- 1:02:29days
- 1:02:29yeah
- 1:02:30excellent
- 1:02:30all right
- 1:02:31final call
- 1:02:33action
- 1:02:33people want to
- 1:02:34get started
- 1:02:34with wave
- 1:02:36what do they do
- 1:02:36either go
- 1:02:37to our docs
- 1:02:38which is wave
- 1:02:39that they stole
- 1:02:39that AI
- 1:02:40or they can
- 1:02:41turn on our
- 1:02:43GitHub repository
- 1:02:44and they will
- 1:02:45find their way
- 1:02:46there I believe
- 1:02:47and maybe
- 1:02:48just a quick
- 1:02:50note
- 1:02:50we are
- 1:02:51participating
- 1:02:52in Hectoberfest
- 1:02:53so if you feel
- 1:02:54like you would
- 1:02:54like to
- 1:02:54contribute to
- 1:02:56open source
- 1:02:56then you are
- 1:02:57more than welcome
- 1:02:58nice
- 1:02:58okay
- 1:02:59I'm sure a lot
- 1:03:00people are
- 1:03:01familiar with
- 1:03:01Hectoberfest
- 1:03:02but maybe
- 1:03:02some aren't
- 1:03:03what's the
- 1:03:04story there
- 1:03:05so basically
- 1:03:05Hectoberfest
- 1:03:06is a month
- 1:03:07long
- 1:03:07celebration
- 1:03:08of open
- 1:03:09source
- 1:03:10and it
- 1:03:11encourages
- 1:03:11people to
- 1:03:12contribute back
- 1:03:13open source
- 1:03:14and if they
- 1:03:15do for
- 1:03:16valid pull
- 1:03:18request
- 1:03:18then they might
- 1:03:19be eligible
- 1:03:20for swag
- 1:03:21or t-shirt
- 1:03:22cool
- 1:03:23and it is
- 1:03:23October
- 1:03:24recording on
- 1:03:25October 3rd
- 1:03:25so awesome
- 1:03:26get out there
- 1:03:27and be part
- 1:03:28of it
- 1:03:28that sounds
- 1:03:29fun
- 1:03:29well
- 1:03:30wave sounds
- 1:03:31like a really
- 1:03:31cool framework
- 1:03:31we have so
- 1:03:32many choices
- 1:03:33and I love
- 1:03:34that it takes
- 1:03:34advantage of
- 1:03:35some of these
- 1:03:35modern python
- 1:03:36ideas like
- 1:03:37async and await
- 1:03:38whatever else
- 1:03:39you want to
- 1:03:39bring into
- 1:03:40it
- 1:03:40so
- 1:03:40very cool
- 1:03:41work
- 1:03:41thanks for
- 1:03:42being on
- 1:03:42the show
- 1:03:42to share
- 1:03:42it with us
- 1:03:43thanks for
- 1:03:43having me
- 1:03:43Michael
- 1:03:44yeah you bet
- 1:03:44bye
- 1:03:45bye
- 1:03:45this has been
- 1:03:47another episode
- 1:03:47of talk
- 1:03:48python to
- 1:03:49me
- 1:03:49thank you
- 1:03:50to our
- 1:03:50sponsors
- 1:03:51be sure to
- 1:03:51check out
- 1:03:52what they're
- 1:03:52offering
- 1:03:52it really
- 1:03:53helps support
- 1:03:53the show
- 1:03:54starting a
- 1:03:55business is
- 1:03:56hard
- 1:03:56Microsoft for
- 1:03:57startups
- 1:03:57founders
- 1:03:58hub
- 1:03:58provides
- 1:03:59all founders
- 1:04:00at any
- 1:04:00stage with
- 1:04:01free resources
- 1:04:02and connections
- 1:04:03to solve
- 1:04:04startup
- 1:04:04challenges
- 1:04:04apply for
- 1:04:06free today
- 1:04:06at
- 1:04:06talkpython.fm
- 1:04:08slash
- 1:04:08founders hub
- 1:04:09take some
- 1:04:10stress out of
- 1:04:11your life
- 1:04:11get notified
- 1:04:12immediately about
- 1:04:13errors and
- 1:04:14performance issues
- 1:04:15in your web
- 1:04:16or mobile
- 1:04:16applications
- 1:04:16with
- 1:04:17sentry
- 1:04:17just visit
- 1:04:18talkpython.fm
- 1:04:19slash
- 1:04:20sentry
- 1:04:20and get
- 1:04:21started for
- 1:04:22free
- 1:04:22and be sure
- 1:04:23to use the
- 1:04:23promo code
- 1:04:24talkpython
- 1:04:25all one word
- 1:04:26want to level up
- 1:04:27your python
- 1:04:27we have one of
- 1:04:28the largest
- 1:04:29catalogs of
- 1:04:30python video
- 1:04:30courses over
- 1:04:31at talkpython
- 1:04:32our content
- 1:04:32ranges from
- 1:04:33true beginners
- 1:04:34to deeply
- 1:04:35advanced topics
- 1:04:35like memory
- 1:04:36and async
- 1:04:37and best of all
- 1:04:38there's not a
- 1:04:38subscription in
- 1:04:39sight
- 1:04:39check it out
- 1:04:40for yourself
- 1:04:40at
- 1:04:41training.talkpython.fm
- 1:04:43be sure to
- 1:04:43subscribe to
- 1:04:44the show
- 1:04:44open your
- 1:04:45favorite podcast
- 1:04:46app and search
- 1:04:46for python
- 1:04:47we should be
- 1:04:48right at the
- 1:04:48top
- 1:04:48you can also
- 1:04:49find the
- 1:04:50itunes feed
- 1:04:50at slash
- 1:04:51itunes
- 1:04:51the google
- 1:04:52play feed
- 1:04:52at slash
- 1:04:53play
- 1:04:53and the
- 1:04:54direct rss
- 1:04:55feed at
- 1:04:55/rss
- 1:04:56on talkpython.fm
- 1:04:58we're live
- 1:04:59we're live
- 1:04:59we're live
- 1:04:59streaming
- 1:04:59we're live
- 1:05:02if you want to
- 1:05:04be part of the
- 1:05:04air
- 1:05:04be sure to
- 1:05:05subscribe to
- 1:05:06our youtube
- 1:05:06channel at
- 1:05:07talkpython.fm
- 1:05:08slash youtube
- 1:05:09this is your host
- 1:05:10michael kennedy
- 1:05:11thanks so much
- 1:05:12for listening
- 1:05:12i really appreciate
- 1:05:13it
- 1:05:13now get out there
- 1:05:14and write some
- 1:05:14python code
- 1:05:15you
- 1:05:16you
- 1:05:17you
- 1:05:17you
- 1:05:17you
- 1:05:17you
- 1:05:17you
- 1:05:34Thank you.