Skip to main content
View on YouTube to comment and like!

Syntax Video

Syntax Bytes with CJ - CSS Battles | Working on Tauri / Rust / Svelte Desktop App

Chapter 1 0:00

Welcome

hello there welcome to syntax bites I am really late and I apologize I had a ton of technical difficulties but we're here hopefully you can see me you can hear me let me know in the chat uh if you're out there and welcome in we're going to have some fun today we're going to write a bunch of code and uh let's get into it so the first thing we'll do to just get warmed up and also ease my nerves after sitting here not being able to go live for almost an hour uh we're going to do some CSS battles um so these are just little challenges where you essentially try to recreate the image that you see with CSS and you can play along at home as well uh but let's see we've got Caitlyn in the chat what's up Caitlyn welcome in and fob good to see you and wvon hello uh ishmail says this will be amazing so hyped nice and pop says really miss the coding Garden streams please say you will do one soon I will right now my plan starting next week

is to try to at least do a Friday stream and then the week after that I'm going to try to get to two streams we're there we're finally there it's going to start happening what's up Randy Randy is a syntax's producer and uh Caitlyn is syntax's uh social media manager uh they're tuning in good to see them and daroo good to see you um and Kon said is this not happening it's happening just almost an hour late so I assume you can hear me if you're responding to me so that's good all the all the tech issues are worked out and what's up Jack good to see you too and Enrique welcome in all right uh let's jump into one of these CSS battles and I'll share the link in the chat if you would like to uh battle along at home so here it is also if you're this command might work it definitely works on uh twitch exclamation mark CSS battles we'll get you all the links and then let's see if it works on YouTube CU I did enable the streamlabs

bot we can Only Hope sometimes it's pretty slow uh but this is the first one that we're going to do and it doesn't seem too bad doesn't seem too bad essentially we have to recreate this thing on the right hand side here we need a circle that's in the top left corner and then uh like a beige background so this should be pretty easy now these uh CSS battles technically you're getting scored on the amount of code that you've written so shorter answers with the least amount of code and least amount of white space will win I'm not going to do that I'm just going to try to get it working cuz getting it super small is a whole other uh battle altogether but let's do it let's write some code okay so the first thing I want is I want to turn this square into a circle so let's do it with border radius so I'm going to set the Border radius to 50% which would should take that square and turn it into a circle like that great uh now I

Chapter 2 2:02

CSS Battle 143

need the size to be increased also um like by default it's already in the top left corner but it looks like it might have some margin you see there's some white space around that Circle uh so is it the body that has margin actually I'm going to remove margin from everything I'm going to say select everything and set margin To None yeah look at that we are on our way so that shifted it to the top left and now I just need to need it to be bigger so we're going to go with 250 pixels let's see if that's too much that's too much what's nice is you can you can hover like this to uh see how you're doing so it's probably like 200 pixels look at that we've got ourselves a perfect little circle uh and now we just need to set the background color which should be super easy over on the right hand side they give us our colors and so let's just set the body's background to be that color sweet looks good to me the the circle

doesn't look dark enough yeah well yeah they they put the wrong color in here no no no here F5 no no this one yeah see dd6 it should be d86 I'm going to update this yeah that is better I think we've done it let it let's submit let's see what

happens we did it it we got 100% match um what's fun is like you can do this in a lot of different ways I just use like super basic CSS right we've got a a diff I I guess I don't know of any better way to do this you might have to pull out some tricks if you want this to be even shorter but like code golfing essentially would be like remove all the white space you can so it's like super not readable you'd like write it like let's let's just do it cuz at least we got it working um like this and your basically it's like hand done minification but if we do this our score will increase on the more complex ones I'm not going to do this because it'll be a lot of stuff and then we get rid of all that get rid of that honestly I think we since we have the curly braces we can put it all on a single line too um like this and like

this and like this let so right now our score is 601 let's see what we

get 709 yeah so we we decreased it yeah we've got some suggestions in the chat um who says um put the width and value then do aspect ratio one so it's always Square well that work without border radius I've never tried that that's a that's an interesting suggestion Fon let's see so instead of doing border radius oh I see what you're saying just set the width and then aspect ratio one which should set the height automatically is that shorter than height I guess it is maybe I don't know I'm going to move on though there's a couple others that I want to do so yeah yeah so once you remove the comments that helps too thank you Vivian um put the background color in the star select ctor yeah I guess that could work right because then the the div's background color would override it that would

actually decrease a little bit so if we just say background like that this put sets the background color as beige for everything and then we override the background color of the div there's definitely a lot more tricks we could pull out uh remove the div and put a a pseudo element on the body yeah there's a lot of tricks like I'm not I haven't don't have a lot of experience doing cogolf with CSS but there's a bunch of tricks that you can you can bust out I've done code golf with JavaScript but not as much with CSS uh remove the closing tag of the div yeah that would work too right because uh uh HTML is super forgiving don't don't write code like this at home my friends don't don't do that um oh yeah and uh Scott is saying uh put inline styles on the div I said I wasn't going to code golf but I get carried away thinking about it but yeah that would probably make it a little bit shter order too cuz then you wouldn't need curly braces also now that I think about it we

could also remove the spaces after the property declarations like that okay I have to move on yeah this is a um a Chrome extension that lets me do the the pop-ups it's pretty nice um it doesn't work for twitch chat I want to uh extend it to work for twitch chat as well I might do that like on a coding Garden stream or something like that um but yeah we did it uh let's see what else is going on um I think we have a message yeah is here's the thing is Twitch in 720p I I have to I had to do a whole whole thing to get the stream relay working uh we got 360 um huh it is only 720 is YouTube in 720 too that could be an issue with my relay server it should be good enough for today but I'll have to fix it in the future

um YouTube is 1080 I don't know why that is we'll have to fix it in the future but uh thank you Untitled Gooseberry for the follow over there on Twitch all right let's move on to the next one the next one is Challenge number 38 this one will be a little bit more interesting there's probably a lot of ways to go about it but when I first saw this I just thought CSS grid right like we we could we could just use a CSS grid with a certain number of columns and rows and then just set the background color of every single cell within that CSS grid so this should be pretty fun yeah and Kristen says that one looks cool yeah it should be fun I mean I'm I'm guess there's again there's multiple ways you could go about it right because you could have a beige square and then a red rectangle but basically what I'm going to do is I'm going to lay it out as a grid with equal size squares and then parts of that will take up each of the shapes right does that make

Chapter 3 8:46

CSS Battle 38

sense that's the plan let's do it okay first of all remove the comments that's going to improve your score uh let's remove the margin from everything just like we did before it's like a little reset and then um let's style this this will be the the parent and I guess technically if we set the body as display grid

um then all of the elements we have below it will be within that grid so if I do like grid uh template columns I'm going to want four columns I think um how does this work repeat one fraction four times and then um if I add four of these uh uh that didn't work did I do it in the wrong order repeat for one fraction yeah that's the way uh and Scott is saying I would do it with one div um with after and before with a border on each I'd like to see that solution Scott if if you have if you have free time to work on it right now we could we could look at your code too once you're done um yeah honestly like the reason I'm practicing this stuff is cuz I like I'm not the best at CSS I don't know it just screamed CSS

grid to me when I when I saw it um okay let's set the background color of this actually we can create some classes I'm not even going to try to code golf it we're going to write some decent code I'm going to create a beige class and that just has the uh background set to that and then these first two I'm going to give a class of beige like that like that nice see we're on our way right and then uh we'll have a light red class

too um and that's going to be this one oh no not that light red okay and then we need a blue class you probably would want to set this up with like CSS variables but in this case this should be the only place the only places where I need to access these um colors so I'm not going to use CS CSS variables but if we set this to Blue cool right so we are on our way and then all we got to do is copy paste those divs and then um do it one more time but then we're going to have to work on these uh like half half cells right so those are there we'll do these last four but we'll

change the colors so the first one is going to be uh light red and then we have another one that's light red and then um we have the last two are blue see it's so easy with CSS Grid it's probably not the least amount of code but but basically each of these cells is just taking up uh yeah it's it's a equal width cells that all have a specific background color but what we need to do now is these these two red ones we need to split them in half and set half their color to um that dark red so how are we going to do that um first of all it's the it's going to be inside of this one I think I'll create a div inside this div and give it a height of

50% uh well this has to be like an inline style I guess I could give it a class too I don't know I'm all over the place style height 50% and uh we'll give it a class of dark red did I call it dark red what did I call it I don't have one for that we need to create

one cool so um it's there but it's in the wrong spot how do we push it down there's a lot of ways to do it I could literally just have another div honestly that's the without creating like or I guess I could um I don't I could do a transform the easiest way if I don't care about code golfing is just put another div on there and make it light red right easy because now you have like a half one that's light red and then the dark one underneath it and then I need to do this same thing in the last light red one down here but instead of uh height it should be WID width yeah so if we do uh width on both of

these um oh but then it has no height can I set a div

height here

okay that completely broke it I'm think I'm going to have to put a fixed height on these um like height 50 pixels or No it should be the right it should be the right one right do I just have the wrong

hm oh there's something there did I copy the wrong

color no cuz that one's dark red so we

have light red 50% width

what is happening I guess I could also set it to 50 pixels because they're all 100 by 100 do I need height 100% cuz um right now the the styles for the divs are all 100 pixels divs don't have a default well it's Style here like every single one is 100 by

100 H how do I debug this let's give this a different color like

bee oh is there some kind of like blend mode on cuz look this has class of dark Dash red is do I have a syntax

error um I guess remove the class entirely yeah it's like it's you see it's blending that's really weird um there's some kind of like blend mode you see how it's like lighter uh I have never experienced this before um I guess I mean I could even say like uh let's you you know you're completely right uh Fab is saying we should inspect it I think I'm just going to set background transparent on the the parent oh but then yeah look at that there's some weird blending mode why are my backgrounds

blending background blend mode normal

multiply I'm not crazy right can anybody in the chat say this is really weird that it's blending these colors together um set it to Black then it then it doesn't blend at

all all right yeah we're going to inspect

let's pop this down here override the blend mode yeah okay I guess I've never used CSS blend though so I guess I could do uh background blend mode normal that's what I want right

normal did something go wrong with my

grid so we've got light red let's remove the background um by default the background will be black so light red blue blue and then if I set this to light red that's fine and then inside we have a div and we have another div and then if I set this to uh light red yeah something went wrong I think something went wrong in my um my my CSS because here if I set if we do this I'll set this one to um dark red and then give this one a width of 50%

there's a global blend is that what's happening I I don't know um I think maybe now I can just make this the right half but even even that huh um I'm gonna make this one 50% and then just push it to the right

um okay and then to push it to the right I could do like a flex box with flex end um that's what I that's where my mind is going and I don't want to spend any longer on this so that's what I'm going to do I'm going to set this to a flex box and then uh justify content flex and cool we got there but I am thoroughly confused um yeah yeah okay let's submit it so I can move on to the next

one cool got a 600 not bad yeah Chris was saying there's a global blend mode for an alternative approach um yeah let's see it's got you might have to throw it into um like a GitHub gist or something like that to share the code but yeah I'd love to see how you did it with a single div cuz Scott earlier they were saying um do it with one div with after and before with a border on

each H fascinating anybody else in the chat give it a go what's up complex uh complexity welome in good to see you oh let I Scott might be messaging me directly let's open up

slack there we go um

let's check it out wow okay so uh this 29 color which one is that that's the dark blue okay so set the overall background to dark blue and then oh I see okay I see what okay yeah yeah this like l-shape threw me off I was like how you going to do that but basically that's just the background and then this is a single element with two borders on it huh okay so um the div is 200 by 200 which gives us this beige Square okay so this this is our beige square with that color okay and then uh after it and before it we're setting the background to the light red so the after and the before are going to create these two light red elements okay and then the after

full height half width left 100% because it's their position absolute so um the after by default would be like here and then you're pushing it to the right with the Border bottom it's beautiful what a what this is a really good solution Scott uh and then the same thing with the with the div that's below it um 100 100 pixel height full width and then push it down 100% using top and then style the border right it's interesting that you had to use zindex on there here let's let's throw this codes in um can you explain why you need the

zindex not necessary okay cool it's SC saying it's it's not uh we not cut up here cool it's just a little bit extra uh Chris is saying you could use the same CSS rules for before and after and then just apply a transform to one of them oh yeah that'd be great because right now the after is the right hand side and the before is the bottom but if you just style both of them to be like the after but the second one you just rotate it left now it would be underneath it the these are some clever Solutions very nice good to glad to see it okay last one before we uh start writing some uh spelt codes and rust codes we're going to do the now that I look at it I'm like oh gosh do I want to do this uh this one I it looks simple enough hopefully I don't run into similar issues but we've got a little circle in the center a split background color and then

Chapter 4 26:31

CSS Battle 91

some lines through the uh through the circle I'm going to give it a go if you want to follow along and hope or try it at home it's number 91 let's try it okay step one uh remove the margins from everything cool uh step two we want to set the uh we'll set the body to be background color to be that pink color so we'll just say body background is this color cool and then um we're going to set this div to be the circle so we're going to set it to be that color we'll set a border radius to 50% so now it's a circle cool and then um we need the bottom half to be this

um uh greenish red color which actually reminds me I I I I came across this site on readit yesterday uh which is is it was called like is your green my green and you have to answer a bunch of questions like is this green or is this blue or is this green or is this blue and then it tells you uh where you're at in the percentile in terms of how you see green and blue versus other people I'll have to find the link but this is bluish green it's it's somewhere on the edge uh okay so I need a div that's going to be below that we'll just call it like bottom and it's going to have a background color of that light blue but it's going to have a height of 50% and should be full width by default so we're going to throw another div give it a class of bottom and uh I'm just going to rename this to be the sun because it looks like

a sun so give us a class of sun um cool and then I just want the bottom thing to be all the way on the bottom do a gradient for the background color I didn't think about that that's probably that that should work um we could do a linear gradient with hard stops but I'm don't know a lot about CSS gradients so let's look it

up uh gradient maker I want to do it myself um linear gradient red yet yeah see this creates the gradient but how do you create a hard stop color

stops um is that is that possible to do with CSS gradients like instead of gradual it's just color color oh o creating hard lines to create a hard line create a stripe instead of a gradual

transition let's try it I'm learning I'm learning okay so that means we're not going to have a a bottom div but we are going to have a linear gradient here that goes

um we want the bottom to be the top will be the red color and then the bottom will be this color and um two bottom left what do I want

there I mean if we do 100% 100% I'm curious why it's repeating three

times and what's up uh you R good to see you um okay just can I just do okay not I want to if I remove the two

altogether okay it's happening but now I don't understand this 50% part because it's doing it four times I see what you all are saying though cuz basically I could have a bunch of stops down here that create the lines below okay what is this number

then the color stop at the 50% Mark it's just curious that 50 plus 50 is 100 but we have it repeated four times um what if I do 75

75 oh do I need to set the height yeah that's why that's

why cool okay we got there and it was really easy uh you set the color and then the amount that it should uh exist as and then that's a hard stop instead of being uh like a gradual gradient okay sweet um we're going to come back to getting these lines but I'm guessing we'll we'll figure it out with a linear gradient that'll be fun for me because I haven't really done that kind of thing before but before that let's get the sun in the right place so uh for that I'm going to set the body to be a flex box actually no I can set it to a grid and then just Place content Setter so if I do display grid and then uh Place content Center huh we get a we get a sun in the center and then is it 200 by 200 it is okay now I need to figure out uh the stops I guess the the issue with the

linear gradient here is uh how to get it to like to um have the yellow as well which is why I'm going to do it with a div a div on top and then like these blue lines are just going to be all the way across but they just intersect on top and then we'll have like some transparent below it put a linear gradient on the sun I guess that works too you all are much smarter than me so let's try it um the linear yeah so the sun should have 50% this yellow color cool and then in uh how many parts is it broken up to we have 1 2 3 4 5 6 7 8 So 20% each one no

10% I don't know we'll figure it out because then I need this to be 10%

um did I not do that

right cuz I don't want it 50% I want it smaller why is it so big

what am I doing wrong let me know in the chat because I thought we could literally just specify the color and the amount that it should take up um but at this point it's all just green greenish blue

to create a hard stop you need to go for oh okay so I was thinking of it as um some total but we need explicit values so like this should be 60 and then 70 and then 80 something like that

okay but the numbers need to be same for the yeah and I I can go from 0% to like that is there do I need a two um because this this last example is kind of helping right so two left I see I see I need two numbers there so I need the start and the stop yeah okay okay we're getting there we're getting there and so this will be 60% 70% okay um but it's not quite 10% is it

8% it's

7% 7.5 uh do we need like a specific pixel amount that's see that's the right width there 7.5 it's 15 pixels good to know uh and so if 50% is do they have to be in percentages or can they be in

pixels like this would be 100 pixels yeah okay and then from 100 pixels to uh 115 pixels yeah okay beautiful I'm learning I learned about linear linear gradients today 115 pixels to 130 we're on our way and then 130 to 145 cool and

repeat we go 45 to

155 yeah so uh there's a question from Randy which is great question um would you use percentages over pixels so you can rescale easier yes if like that' probably be the way to go If This Were A responsive website where the sun would always need to stay in the Center uh for our specific use case this container is never going to get any bigger so uh it's okay to have specific pixel values but yeah you're you're absolutely right um the reason we use percentages is so that it can grow with its container um I'm getting lots of math my maths are wrong this is why we warn warm up everybody uh 145 + 15 is 160 cool I I also noticed though that my numbers are slightly off because um we have like that one's good but then the next one's not so the next one um that yellow one my yellow one is too

big like we need to go to like 114 no wait I mean we need to go to 129

25 yeah it's 125 weird so they get the first oh I see it's hard to see but the yellow strips are thinner than the blue strips yeah yes people in chat are letting me know okay uh so we've got uh blue strip yellow strip uh which is only 10 pixels and then the next Blue strip will be 15 125 + 15 is 140 and then the next yellow strip is only 10 so it goes to 150 and then we need a blue strip

which goes from 150 to 165 cool and then we need a

yellow which goes from 165 to

175 we still on our way we are and then we need one more blue one

which goes from 175 to

190 right and then I guess we I was thinking that the the yellow would fall fall through but it won't because we're specifying every single stop so we need to specify the last yellow stop too which goes from 190 to 200

look at me it's my first linear gradient um oh Oh there's uh uh fb's math is still on the screen yeah let me open up the uh the settings see if I can get Auto hiide thanks Randy but we did it we did it though it looks is it off okay no it's good it's perfect yeah let's see it's SC I would love to see Scott's solution cuz like I said I mean this is honestly the first like linear gradient I've ever written from scratch that I didn't copy paste from somewhere so yeah let's see how Scott did it okay uh yes so this should set the background color from red to green pink to green pink to blue

right um cool and then we've got the sun which is a circle and is yellow so this F6 is the yellow color so cool so by default we just got a yellow circle and then we're using the after pseudo selector to uh add this this part here here um and so how oh we're using repeat look at that tricky okay yeah that makes sense mine is mine is very very manual and repetitive um so what Scott is doing is we have a linear gradient from uh that's the six is the blue so from Blue to nothing so nothing for 15 so blue for 15 pixels and then nothing for 15 pixels yeah Scott's lazy he didn't want

to write it out no this is a great solution it's good to not be repetitive right like if you ever wanted to go in at a later time and update this it's going to be pretty hard to figure out what all these numbers are doing um so we have ourselves a linear gradient that is um I guess what is the height of this thing the height is 50% so the after element is going to be half and this is going to be a gradient that's 30 pixels high and then we repeat um yeah and then that's this is what I have to figure out what is this thing doing because

um background size 100% pixels I don't know what the two arguments to background size are let's see

uh width height it's just width height okay easy so width 100% height 25 pixels are you telling me Scott that because you shrink the height down to 25 pixels it has like the correct ratio here or something like

that oh okay it's 25 pixels tall before repeating but this is this is what's throwing me off is your transparent area needs to be 10 pixels high but you have it as 15 pixels High um but you're telling it that it should only be 25 pixels High which would make the trans pair area 10 pixels high so it works but this is what was throwing me off I was like how how but I think if we set this to 10 it would still work too right that's just the stop okay no no it won't but this is why I'm confused because if the stop is 15 pixels 15 pixels then wouldn't that mean this gradient is 30 pixels

tall they're both starting from zero

so Scott is saying uh 0 to 15 is green 15 to X is transparent oh you don't have an I see that's the starting I yeah that's this is why the gradients are confusing to me that's the starting point that is not the height yeah okay so it starts at 15 and goes to the total height of the container okay that that clears things up then because that just says start at 15 and then the total height is going to be 25 which means the transparent area is 10 yes magic it's all magic and I think Chris has an explanation too so the blue strip is 15 pixels the transparent continues indefinitely but the height is 25 repeats over and over at 25 pixel intervals beautiful it's a a very elegant solution great great work Scott uh but I'm I'm happy with my my first little gradient here I'll only get better from here learn how to make like non-repetitive code uh all right let's

uh submit it let's see what happens

yay cool we did it all right that was fun we're learning about CSS today um cool all right I'm going to take a quick uh two-minute break but then when I come back we are going to work on the syntax production assistant which is a desktop application built with tar spelt and spelt and has some Rust code in there because it's built with tar but uh Scott and I built this app uh during hack week at Century and the whole idea is to um make it much easier for Randy to publish the podcast episodes and uh it has it has some issues it has some some some work that needs to be done um so when we get back I'm going to work on some some of them are going to be pretty easy uh some of them are going to be a little bit more difficult but one of the first things which is a feature request for from Randy is I'd love to be able to delete a project so that's what we're going to work on because right now

Chapter 5 49:13

The app we will be working on

you've got all these projects and um it is uh it gets pretty cluttered so we're pretty much just going to add a little x button or we might even when you go into a project uh maybe there's like a delete button here or something like that um yeah uh am I referring to repeating episodes oh uh I am because I was this is debugging so I I should probably show you how this thing works the whole idea is you create a project and then you can drop a video in which was exported from Da Vinci resolve so let's grab this I think this is the one that was published uh yesterday you need these 30 apps but when Randy exports this video from Da Vinci resolve it has all of the embedded chapters in it as metadata and so we can use that to generate timestamps for like the YouTube description and also generate uh the um uh description on the syntax website and

we can convert this MP4 into an MP3 file which is what we need to upload to libson which is how it pushes which is the file it uses to push the podcast out to all your podcast apps so watch you drop it in and then behind the scenes it's converting this file into an MP3 um it's funny that that's jumping back and forth like that uh but this actually reminds me of another issue that uh Randy which is Randy opened which is the naming convention so right now the MP3 file you can see it just gets the same name as the mp4 file uh but what we'll fix is we'll give it a nice standardized naming convention when we create it but this is the first part that makes the process much easier is Randy drops the file in automatically converts the MP3 he doesn't have to do it manually and so that's step one step two is extracting out that metadata so because that file has metadata inside of it check this out we can automatically generate the show note which are broken this is this is another

bug um because um yeah yeah yeah we need to I need to fix these time stamps but all of this I information about the various chapters was embedded inside of that video file so we pull it out convert it into markdown here and uh this is what Randy can use to put in the YouTube description uh to put on the syntax website Etc but again this is another bug I need to fix these time stamps which are broken for some reason uh um and then we give them b a bunch of buttons so we can copy it to to send to various places and then the last piece is publishing so uh part of adding a new episode is we we manage all of this inside of GitHub and this is actually a completely public repo if you go to github.com syntax FM website on actually you can you can probably see uh episodes before they officially get published on YouTube or on the website which is fine I don't think you'll be able to access the uh the MP4 or anything like that but if look at closed issues you can see

that every time Randy wants to add a new uh episode to the website probably uh what's the one that went out today this one so Randy would open up a pool request to add a markdown file with all this info and then once that episode gets published when you go to the syntax website and you're looking here that's where all of this information comes from it comes from this markdown file so it would be a very manual process and it is a very manual process to make a PR and everything else but what this tool allows you to do is after you've set up all your notes and everything you just click this button it uses the GitHub API to automatically create a PR commit the file and then well sorry create a branch commit the file to that branch and then open a PR uh to automatically merge it all in yeah oh yeah and that's it's true so yeah and Scott and I uh just like we built this thing in a week uh yeah and first of all Randy says many you're very welcome Randy we're we're it's exciting

to first of all make your job easier and then also get feedback from you on how we could make it even easier after that first of all like fixing the bugs but uh I I haven't um done added any code for this yet but I've been looking into the libson API and I'm pretty sure it's going to be possible for me to have a one-click button that actually creates the episode on libson I'm also holding off on that because we we were potentially moving podcast providers but that will be even easier CU then you don't have to worry about like copy paste issues for the HTML you literally just click create on libson it'll it'll do it all but yeah in front of says this looks super hand it yeah I think like it's gonna reduce a lot of the manual work that Randy has to do to to publish oh thanks Chris appreciate that but yeah Scott and I uh we actually got to work together in person we went to a um co-working space and we planned it all out we hacked on it and uh we're going to have a podcast episode where we talk about our process for building it yeah and we got run

because so every year uh centry does a hack week where Anybody Everybody in the company stops working for a week and then just hacks on something that they think would be useful or interesting and uh this is what Scott and I built uh Wes actually built a receipt printer for Century issues um he he published it on uh X if you haven't seen it but this was this was his hack week project yeah this right here um it essentially anytime you get an issue in Sentry it automatically prints it out to his printer um and so in an upcoming episode which if you look at the GitHub repo you can see all the show notes um in an upcoming episode uh Wes is going to talk about how he built it and what went into it so that's a thing as well um yeah I wasn't rigged I mean some people people at Cent built some really cool and like very useful things inside

the Sentry product itself um I was surprised we even were in the Runnings but I mean it's a cool app it's just not Sentry related I don't know yeah people liked it yeah what's up Nico welcome in good to see you yeah one button to publish everywhere uh what might made us choose rust it's just it's built on the desk it's a desktop app so I don't know if that was clear but this is a um an app running uh on your desktop it's a desk I don't know a better way to say it it's a native desktop app and um the reason for that is we're using ffmpeg and FF probe for these tasks so we use FF EG to extract or to convert the MP4 into an MP3 and then we use FF probe to extract the metadata and so you you need like a a system process to do that I think technically there's like FFM Peg that works inside of wasm but regardless we needed to be able to do Native things on

the file system itself um and and so for that we are using tari which is a way of building uh desktop apps that uh where the UI is a web UI so technically this is like a web view uh and we have a spel kit app inside of this web view but it's just a single page application and then tari uh is like the host and allows you to write native rust functions that you can invoke from the JavaScript side so that's basically what we're doing is whenever you drop the video here um we're invoking rust code that spins up FFM Peg and FF probe um and then also it's not in here right now but uh Scott actually got uploading to YouTube working during hack we but uh there's some issues with the API key but there is a automatically upload to Youtube button and that uses rust to do the

upload because it accesses the file directly from the file system and then sends it over the networ work um so we chose rust because we chose tar so yeah wild wild yeah what's up ruse good to see you yeah so uh the the first video for my next uh project is going to be published on Tuesday yeah exactly so it's like electron uh but much smaller and more performant because it's rust and so the when you build an electron app you're laun you're shipping a Chrome browser with every single uh desktop app that you ship this does not do that this uses the system web view it is this is literally a um what do you call this Safari it's like a safari web view that is just its own little window here and then has the ability to call out to rust functions but electron is a full-on Chrome browser and then they like embed the node run time so you can have like node code running inside of there the thing about Atari app is all of your web code can

only be web code youd actually don't have access to nodejs you have to use use the the rust bridge to do more native things yeah maybe it does my I know that tari is at least written in Rust yeah yeah so uses the native web view um it can Rush run CL crossplatform I think there's a couple of things we're doing that are specific to a Mac but that's that's one of the uh reasons you might choose something like tar is yeah you can build a single Des desktop app that can run on Linux Mac and windows and they've recently added support for mobile for like Android and iOS but we're we're building this app specifically for Mac because we know everyone on our team uh uses a Mac yeah Mac Windows Linux how much rust do you need to know to work with tar uh initially not much but once you want to start doing more native things you do

have to learn the basics of rust um and if you look at let's see if I can find the section on invoke sming rust code um interprocess

communication I didn't come across these these different patterns um calling rust from the front end so inside of your rust code you add this which is an annotation and you say this is aari command and you give it a name and then you can write native rust code inside of here and then on the JavaScript side there's an invoke function from the tari SDK you can say invoke my custom command so this is the rust side and then on the JavaScript side you say invoke specify the name of the command and that'll call the rust code so on the surface fairly easy when you look at our rust code a lot of it is it's doing a lot because of like having to invoke system commands and stuff like that um and uh I was banging my head against the wall during hack week for certain things like implementing oo cuz so when we added this create PR button technically you needed GitHub ooth and I was trying a bunch of different things and some of the stuff I was doing like natively in

Rust and that was really tricky but yeah but what's up vikas um I am giving an overview of this app that I'm about to work on which is a desktop app that helps the syntax team with publishing our uh podcast episodes I'm going to be working on that and fixing some bugs pretty soon uh did I take a look at whales I I've heard of it some people had mentioned it to me before um it's like tari but it uses go instead I haven't used it myself rust has a bunch of number types A lot of like lower level languages do you've got like floats and inss and um like 32-bit integers and 64-bit integers and stuff like that you can pretty much build any kind of uh Native app with tar yeah um I don't know if there's anything you can't do you you definitely can't publish a

tari app as a website because I mean you you could try to but any the moment you start to do Native things with the the tari layer where you're like creating these Rust commands that is something you couldn't ship to the web browser because I don't I don't think they have like wasm compiler or anything like that yeah all right like I said I'm going to take a two-minute break but then when I come back we're going to work on this first issue which is uh deleting a project which should be easy and sounds easy basically on the projects page we want like a little x button that allows us to delete that project from the page here yeah nothing you can't do I mean nothing you couldn't do with a native app I guess um all right but yeah I'll be back in two minutes uh see you soon see you soon

[Music] a [Music]

[Music]

[Music]

[Music]

yo we're back cool uh let me catch up on chat uh Scott is saying he's working on a mobile app with tari and it's wild trying to do one code base for web Android and iOS that's cool to hear I've tried to do a similar thing um with uh zamar in back in the day which was a c based platform it's cool to know that at least you're having a an okay time with it yeah tar is odd and amazing and awful at the same time and I love it like personally like I I had a a frustrating experience because I am so new to rust and um I honestly I should take the time to learn about uh like memory management and borrowing and stuff like that because uh I think especially because it was hack week I was just trying to get stuff working so I was just like throwing code at the rust compiler and eventually it

would work but I should sit down and learn rust a bit better um but if you're just joining us we're working on this desktop app which is built with tar which is a crossplatform way to build uh which is a way to build cross platform apps and uh it allows us to uh the the reason that we built this app was to have a more easier publishing uh workflow for our podcast so the way it works is you can create a project you then drop a video file in this will then automatically um convert that video file into an MP3 I'm not sure why it's still processing

I'm gonna kill the app I'm gonna restart the app and try again um yeah uh welcome in Nate good to see you and yes uh Wes's face on here it's the first frame of the video um and biscuit thanks thanks for the follow uh how much rust do you need to know to work in tari um very little at the start especially if most of your app is just inside of the web view but the moment you want to start doing more native things you're going to have to learn rust so that you can write out these tar commands and like a lot of the stuff we're doing like we had to use things from the rust ecosystem so um is it cargo. run is that the site that's probably not it what is the uh crates crates.io uh this has all like the rust packages and we had to install various

packages for the kinds of things that we were doing inside of this app

yeah yeah word break incoming for yeah we could fix that too so you can see right now uh where did it go yeah this one down here has an overflow we need to fix that yeah oh you moved over there yeah yeah yeah I I'm not looking as twitch at twitch as as often it's not as active Okay let's let's get into it so the first issue is going to be a pretty easy one uh Randy who is our producer wants to be able to delete a project uh which makes sense because right now um You Can't and especially you can see like when I was uh developing we have all these dummy projects so let's get that going let me open up vs code and um I mentioned there's probably two two ways we could go about this like we could have a delete button here um but right now these cards are they're fully

Chapter 6 1:08:56

Feature: Delete a Project

clickable um but we could also have just like a hovering X icon in the top right that when you click that it deletes it I think I'm going to do that I'll at least do that and um we put potentially could have an put a button in the top right here when you're inside of a project to delete it as well but initially I'm just going to I'm going to add like a little x x right here that you can click on so let's get that going um I'm going to hide my screen for just a second to make sure that I'm not showing any environment variables okay here we go so uh the way that this is laid out is the source tar directory has all the tari stuff with the native um rust codes so if you look in here our lib is uh chock full of native stuff so like um calling FF probe which allows

us to extract the metadata uh getting the file path doing like uh login with GitHub and YouTube and uh that launches a new window and hiding that window and then we have commands for like using FF probe to get metad dat and and all that stuff so all that rest code is inside of that file but all of our app code which is the window is a spelt application and that's inside of this Source directory and it's spelt kit so we just create our routes inside of here and um they show up in the app it's spel Kit so the the the main page is going to be here in page. spelt and this is where all those projects are listed so here it says my projects and then we have an each block so you see every single project here and uh this is just an anchor tag with project button and this is the thing that I want to put the X on so that I just want to put little X right there and for this we're not going to have to do any rust this is just going to be purely uh spelt and JavaScript codes um

to get that going so I kind of want to extract this out into a component called like project button let's do that because it's going to need some like floating X that I can click on and then like a click Handler for that so I want to I want to extract it into a component so I'm going to put that in lib um do we have a place for components or do we just put the components next to the things that we need let's see we're getting some getting some chats let me uh catch up uh just think out loud with that make it easy to trigger accidental accidentally yes uh we're I'm going to add a confirmation dialogue as well um a delete is destructive it should be in the details page maybe you're right I the the the workflow that I'm think about right now is right now I have all these and I want to easily delete every single one of them if I have to go into

every single page to delete it that's a little bit more cumbersome but honestly needing to delete a bunch in bulk is probably like a one-time task because you're going to delete them as you go um but I don't know I'll think about it um

see confirmation modal sounds good to avoid accidental that's the plan is like click it are you sure you want to delete it yes yeah yeah that could work too um this is designed by committee at this point but I appreciate your suggestions but there could be a button up here that says like edit projects and then when you click that that has a button for like delete I don't I'm just going to add a floating x button and then we'll think about it afterwards after because I really I just want to get the uh the delete functionality working and then once we get to have the functionality we can put it anywhere uh but I do want to extract it into a component um trying to think where did we put our other spelt components do we have a components folder I guess it would make sense to put them in

Li um yeah I'm just going to create a components folder here inside of lib and then I'm going to create a project button that's SP cool uh we need a script we can set the language to uh typescript and then right now now I'm going to pull out the codes that's inside of this anchor tag here basically this is going to be the project button like that um and I believe project like the project okay the project button CSS is defined

here I'm going to pull that out into the component

you sure about that so Scott says he has a confirm button we'll definitely add a confirm button um cool then we need some Styles if you're new to spelt this is one of the coolest things about it is all the Styles you define in here for this component are automatically scoped to uh this specific component um here's the issue are we using project button somewhere else I think we are uh new project which is different than project so I need I need to clean this up a little bit so um I guess if we're going to be using this in multiple places it's not going to live inside the component I'm going to pull it into the global

CSS um we have a special spot for this like our error classes or button classes yeah I'm going to pull I'm going to pull this in here and this way the this page can continue using it and this

cool uh I think we have this in utils yep and I think we have a Alias for importing like this yes and now we need to find a prop to pass the project in um how do props work we say oh I forgot that I have a AI on yeah that's it except we actually have a pro a project type um that we can import from here yeah so now you can pass a project down to this component it'll render it out cool um and so now I'm going to render out this project button component right here project and then pass in the project like

that and then we don't need to import that anymore and if I've done it all right it'll just look exactly the same all we did is we extracted the code for each one of these buttons into its own file so that way we can add more functionality there um so looks good now uh let's go into that component and work on a little close button um trying to think let's add some Styles I want

I want to set this project button to have a position of relative and then I'm going to put a close button inside of it that I can position absolutely into the top right corner oh um we're using spelt 5 so we there's there's a new new way to do it um do we have any components that have props in it I'm just going to pull up this felt five

docks runes props oh that's easy cool so you just say uh let project equal dollar sign props like that but you destructure

it and how do we type

it like this we can say that that okay uh is this native CSS nesting or sess uh Native it's absolutely native um we we don't have any CSS pre processing processing as far as I know uh we're just we're just using the platform okay now let's add a close button add a button uh or we're going to add a delete button let's add that see what we get okay by default it's it's down there um but I'm going to call this the delete button and let's position it

so we'll say position absolute uh top zero right zero so it should be like that um could even do like this um I guess I could do a percentage so minus

10% yeah like that and then instead of delete uh do we have I think we we pulled in an icon we pulled in icons didn't we spel mentioned um let's

see where is this used

nowhere H could add an icon library but let's just get it working I'm going to add an emoji the Emoji x button like that nice nice um can I also remove the padding nice and then we can move it in a little bit

beautiful um actually move it up a little bit yeah I like that but it will be hidden by default so uh by default display

none and then uh when you're hovering on the project button uh display yeah so project button hover delete button yes put these Styles in here uh display block okay so now you hover and then yeah this this this is the issue though so if if you if you don't get your mouse exactly on there um you might miss it cool so regardless let's just get it working I'm going to add a click Handler um seems good but we're going to write our own and uh mouse event because I want to

prevent the default action because when you click it I don't want to go into the project so let's have an on click which takes in an event which is a mouse event and then uh we'll do something like this we'll have to bring that codes in but for now I want to prevent the default action or I want to stop propagation basically I want I want to be able to click the button without clicking into the

project uh onclick yeah so now I can click this and then do something in response uh but if I click this it goes into the project which is good uh needs the the West boss X which one is that is there like an uh an emote for it I mean honestly that could

work this

one is it that oh it's this one isn't it oh that's like an exponent

I'm go with that one and then uh keep the padding yeah cool uh add a

delay if that's the case we won't do display none we'll do opacity zero and then um when we're hovering set the opacity to one and we'll set a transition duration of half a second yeah like

that let me let me copy the x that uh Scott is talking so there's this is the the West boss X gu does he use it in a lot of his his stuffs like his course materials and

stuff cool opacity none still allows clicking it yes let's see if we can well it's part of the parent

so it should anyway

guys pointer events none when H hidden uh okay I like that so by default pointer events none and then when it's visible pointer events all I like it okay now we need to actually delete the project um and this is what AI recommended is this a thing is there a delete project function if not we might need to add it so this is in state project and um let's see we've got save load export we don't we'll add a delete

button Co let's just do it as the last function here

okay um is there there is a built-in delete function uh what does our sync function do yeah so delete it sync

it and then we need to over write our list of projects which uh is this sync oh that's that that's what that function does cool that should be it so delete it from the database we're using a thing called dexi which stores it all in index DB so that'll delete it from there and then when we call sync that'll make make sure that the state inside of spelt doesn't have that project anymore and we should be good so I need to just make sure that this function is exported now we can call it we can pass in the ID simple

as done honestly this is probably fine it doesn't look amazing but let's spend minutes trying to make it look as good as possible but basically if you missed it earlier Bas you can drop a video in behind the scenes it starts converting it into an

MP3 um yeah Randy with the claps thank you Randy I think it looks fine for an internal tool this is my reasoning for everything but I should probably make it look decent um okay uh for some reason it looks like the MP3 conversion is hanging why is that MP3 created

successfully um but it doesn't show the

path huh

oh no no CSS Frameworks yeah everything is it's just is a Ross CSS in this app oh yeah we need a confirmation dialogue okay let's add that um okay uh Scott mentioned earlier that he uses a library or he wrote a library for this let's see um you sure about that oh you no you just you just have a component um are you

sure not a dialogue just a button I I'll have to yeah I guess I could set up a dialogue I I have not um I've not used the dialogue API before maybe that could be fun actually uh what are your what are your demos Scott [Music] St uh to.

Chapter 7 1:30:42

Using Web Dialog API

ski pretty sure Scott has a dialogue demo yeah like this though um Escape isn't working we want a

modal yeah I think we want a modal um let's do

it if I put the modal inside of this component is that valid let's see

um and so I give this button in ID do I need the IDS oh we're just using the IDS to um qu them all right I can do this this felt way then so these don't need ID

uh I can just say bind or like um dialogue yes like that and then we'll create a variable for the dialogue which is an HTML dialogue element beautiful and then inside of here we should be able to say um dialog. show

modal uh it could be undefined so we'll need to check for that and then we're not going to delete the project

immediately are you sure and then two little buttons yes cancel I like the the confirmation button on the right let's see if this works are you sure um that's cool it doesn't look I mean that's that's cool that's cool all right we want to put those buttons side by side let's put them in a div and flex

them then give it a

gap cool um we can add more info in here though we can say are you sure you want to delete and then put the project name right here we can say project dot uh

name this cannot be undone

let's put it on a new

line cool and then we'll add some spacing around the buttons uh just give this a margin do DM and uh we'll Flex in so Flex justify content Flex end so the buttons will be on the

right cool and then let's make these buttons uh do the thing so when they click cancel we want to say dialog. hiide um and let's rename this function to uh delete click actually I might not even we're not even going to put it in a function we're going to put it in line so I don't have to name

it and then if you click the yes button we will delete it

well and if you click cancel we just close the

dialogue all right let's see um oh yeah I got to remove that the candle here

cancel cool I guess there there might be some kind of like click outside of too um but yes sweet um now let's just create a bunch of dummy

projects delete Yes actually I guess what's cool is uh by about uh modal is it's accessible too look at this um I guess my button isn't exactly the x button is exactly accessible uh but we automatically it automatic because it's in the top layer we can automatically tab between these and then use the keyboard cool um I guess lastly I want these buttons to be distinguishable um I'm curious what styles we're using for the buttons at the top of the page I kind of want my cancel button to look like that uh

ghost control clip click skips the modle let's see no you can't you can't click outside of it that's the other thing is it adds this top layer so you lose interaction with everything behind it automatically which is pretty slick

um can I give this a class

Ghost Escape should close it it does yeah Escape Escape will close it automatically as well and and then I'm just going to make this this cannot be undone um italic so dialogue small text style font font style italic

what's up Paulo it says uh make the dialogue shake like the iPhone app when they're about to be deleted so like as the closer you get to the the yes button it's just starts shaking more and more and more I going to do that U that's fun though welcome in pal good to see you um behavior of Click outside depends on if you show it via show or show modal ah good to know I think I'm call I'm literally calling show modal

yeah we're calling show modal which allows for uh click outside I guess well I guess if I just do show then we can click outside no we can't click outside of it I'm going to go with show modal this looks good to me cool do we call it there I think we probably will just style the dialogue slightly more or like maybe give it some border radius cuz right now it has like a default outline um let's let's style um the dialogue border radius uh I'll have to look and see what the Border radius of the other things are blur the rest of the app that could be cool oo that's a nice I like that that's good it's nice um and then we can use backdrop do you have that on your demo

site the backdrop pseudo element creates a backdrop that covers the entire viewport [Music]

oh what's the uh Syntax for this do I use

ersan yes yes I do um okay so I could create a transparent div with like a filter blur or something like that so if I do background um transparent and then filter blur three pixels let's see didn't work how we going to do that um I guess I could set it like a dark color with some opacity I think if I wanted to um blur the background I'd have to Target the parent like the parent body div or something like that do they do any blurring here no here's what I'm going to do um we're going to set this to rgba of

um zero 0 Z

darker darker cool is this how a blur

Works backdrop filter

do I need a color

too huh am I doing this right multiple people suggested a back backdrop

filter I'll have to look this

up li oh it's not supported in Safari or what is the Safar support partial implemented with vendor prefix webkit

hey okay U cool that's I like that that's cool that's

cool

sweet Chris says I swear Safari is in new II um yeah I mean Firefox kind of is too but you know there competition is good I'm glad that there are multiple browsers and they're all all of them kind of seem um dedicated to keeping up up with all the new standards and everything I don't know allow discreet not familiar with that makes it very clear that the rest of the pages usable yeah I completely agree it's like you got to take care of this before cuz otherwise it's like you might not see the M but now it's like oh yeah this is the only thing that's in Focus right now pretty slick all right I'm going to call it there I I mentioned that like I would add like a delete button in here I don't think I need to I think this is this is perfectly fine actually we can ask Randy as our main user Randy how do you feel about this workflow like you you click delete you say yeah you can even after you click delete you can even press tab if you

want to use your keyboard so you can do like that yes done Safari and Firefox are competing to be the new I I don't know they they each have their own issues um love not having to go into the project to delete okay I'm going to call it there then then I'm going to go ahead and uh Commit This and work on something

else let's make sure that's all the stuff that I changed

all right we added the project button we added the delete function to the project State we refactored this to pull project button into its own component we added those Styles there yeah this this looks good to

me feature add delete

button what's up prel yeah I don't use the chat window for the syntax streams just because I trying to keep the focus on the code instead of always having chat open yeah oh add the standard one yeah the thing is yeah you you're probably right if if it runs on other platforms we'll need that but right now it only runs on Mac which uses Safari um but you make a good point let me let me do that really quick yeah you're completely right um in that eventually once the prefix gets removed we're going to we're going to need it yeah good call

cool uh I'm going to add a or create a pool request

sweet we'll get Scott to review it and Scott if you're still listening feel free to update my Styles if anything does not look uh up to par yeah it's private right now we'll open source it eventually um I just want to make sure that all of our keys are hidden and everything is nice and buttoned up but I'm I'm pretty sure we're going to allow this to be completely open source at some point sweet U oh you know what I should have done I should have done says fixes number 29 because what you can do in um in a PR I'll just update the title

here

yeah fixes number 2 9 and so when you do this it automatically links back to or it should uh link back to this issue so if you look at number 29 um maybe because it didn't get created with the title just going to add it in the the

description now it should be back linked yes like that sweet sweet yeah uh so yes we there's a there's an AI feature in here that I didn't demonstrate but that uses the anthropic API I think and at one point that got committed we scrubbed it but um we just want to make sure we don't want to leave because that's that would be really bad if some of those keys got out comment I did comment is that what you meant that I need to add a add a comment instead um okay next up which I think is a more pressing matter is we need to fix the time stamps our time stamp parsing is worked um and I'll show you what I mean by

Chapter 8 1:50:25

Fix: Timestamp parsing

that so you create a project you drop a video file let's go back to this one it will start turning it into an MP3 it extracted out the metadata and then we can see that metadata over here yeah this one the time stamps seem to work just fine I don't know what's different but let's try a different project I I need to wait for it to finish converting um but yeah this other one I know this one time stamps are not correct so let's see

why cuz if we look here yeah it goes into like 96 126 um it's possible cuz we're not converting hours but let's look at what the time stamps should be because this this is an episode that got published today but uh we're specifically working on incorrect time stamps now

so we can see today's episode like is it even partially

correct no this is it's like off by it immediately goes to 1305 instead of

103 okay that's bad that's that's bad um so to debug this I'm just going to log out the chapters that are extracted I guess technically I could just run F uh FF probe directly to see uh what the data I'm going to do that I'm just going to run FF Probe on this file and see uh what the output is because um it might not be what we expect I might I might also be looking at like the wrong property

and this is number

817 uh yeah I yeah so um hon is asking not using I don't use t-x I just I just open new tabs in my terminal I'm not much of a a terminal person like I don't use Vim or anything like that okay um I'm curious if we look at these starting timestamps that got exported exported are they right so like this one 785 412 do we have like a different time base or something like that um huh we might actually want to use the start time property and then just convert that string into an integer I think that's what I think we need to use the start time property I think that's the

issue what's the point of T-Max uh just to have it it's basically like a grid of terminals you can have like four different ones some people like to do like top left corner is your front- end build process top right corner is your backend logs you have another one for your uh Docker container and then maybe another one for where you're running commands I think it's mainly just like multiple terminals all in one view um why not use terminal split I guess uh t-mo works even on remote machines I guess that's the the other thing is if you're like a sedman or these days like you work in devops uh when you remote into a machine it might not I guess if you're using iterm locally you could do something like that but it works really well for like remote machines as well I don't know I'm not going to go to I'm not going to go to bat for it because I don't use it I just think that's why people would use it okay this is um this is my fix I think we're going to use the starttime property and then just parse it as a number because that gives us total

number of seconds so let's do that um we have ourselves some utils for um where are we doing

this specifically project notes let's see

um I think this is this happens in the top level project so whenever you import something

um yeah we get

metadata result is of type

unknown um yeah I'll update this type while I'm in here but uh essentially this is the the JavaScript code that runs that actually invokes rust code so we have a rust command called get metadata and this is what invokes it passes in the path under the hood it runs FF probe so if we look at the rust side here or uh get metadata it runs this specific function and um looks like it returns an object with two properties standard out and standard error which I think are both uh strings so we can update our typescript type to match

that yeah just like that okay uh if it was successful ful we grab the chapters and now I'm doing convert seconds but I'm doing chapter. start but instead I think I want to do chapter. start time which is a string which I'll convert to a number and it already is in seconds so I don't have to divide by a thousand that should do it but our convert seconds um doesn't handle hours so I'm going to add hour handling if this works but I think I think that should be the fix basically I think I was using this property and for whatever reason that property is off but start time seems to be the way to go so let's try it um I don't know so Scott if you're still

listening would you be opposed to and also Randy because I guess you use this tool would you be opposed to having a conver MP3 button instead of converting automatically uh cuz it's really hurting my test because every every time I need to go do a new thing I have to wait for the MP3 conversion to be done um maybe that could even be like a user setting is like automatically convert mp3 I don't know let's give it a try though do this and then it's still off I de to have it yeah I'll leave it automatic then um that didn't work I'm going to reload the

app I'm also going to log out um

let's log out the chapters that we get back because I thought chapter start would do it

H let's

see all right we look in here we've got chapters each one has a start time which is a string but like this one brought to you by sentury is 63.9 seconds um I guess we probably need to round up or round

down yeah we need to round up to a whole number I think um but regardless that means that brought to you by sent oh yeah there we go okay yeah I I just had to restart the app because this seems to work those are the right time stamps and I don't have to drop the decimal it seems to do just fine let's compare these with the

actual uh 103 127 143 419 I mean these look good to me

um 3709 ends at 5025 yeah looks good I think the only thing is I want to be able to handle hours now um and I think I have some code to do that already I have a PR on the syntax website that converts uh YouTube timestamps and it has some codes that I think does what I want it to do or

not oh no this this is converting like a timestamp string I think I did a code challenge last time we were live um where I had to do this I might have to go look at that code uh but essentially we need to add hours

here we have seconds minutes and then

hours which is um total seconds divided by or uh just mod

3600 that'll give us total hours is that all I have to

do that might be it was it that easy I don't know why I put it off why I didn't do it last time um let's grab the very last uh time stamp because it should be zero hours if we take uh start time as this mod 360 is zero mod 30 or

3060 or

3600

what divided

by not mod divided by that'll give us

hours yeah and uh yeah I'm I'm missing some of the the twitch stuff that's happening but um thank you for that follow and and hello everybody over on Twitch yeah thank you to uh tiyi and Kor and hello y yacha good to see you and jochi thank you for that follow as well um yeah I think that's all we need but one thing I'll do is we'll instead of formatting each of these like that we will do this um um I have an idea don't call format there do this we're always going to have seconds and minutes um so call this the parts and it's always going to be minutes seconds um but if hours is greater than

zero we want hours as well so um this so if ours is greater than zero put it at the beginning of the array and then the result is just just to take each of those things uh format them with format number and then uh join them all together with a colon like that yeah co-pilot is figuring it out well actually this isn't co-pilot this is a codium yeah yeah don't don't give the credit to to the wrong people because Co codium is is is pretty slick it codium has worked a lot better um in my uh use cases code um and they've been on syntax before definitely check them out they have a free tier I'm actually on the tier that uses GPT 4 yeah I'm on this one uh but it's worth it okay um sweet that should this should do it

so we're always going to have minutes and seconds if there are hours they will be there and um join them all together and just immediately return this don't need to do that would just parts.

join oh uh it would but check it out format number adds a a leading zero so uh if SE if uh seconds are just like six seconds we want it to be 06 so that's why I pass it into format number it just does pad start cuz otherwise you would see um like one colon 6 instead of one colon 06 yeah that's the main reason oh yeah if I mean uh that they're super awesome I interviewed them for one of the uh short videos about like pronunciation I interviewed um the main dude uh Kevin is that his name I think so I mean I can look on the syntax website and I should but also like Scott is saying they they gave his kid Legos which is awesome I think there's a there's a photo on Twitter of when that happened yeah Kevin um but if you look if you search on syntax. FM you can see the episode that he was on yeah Kevin how was on episode

728 this episode was super interesting just because it uh Kevin's super knowledgeable about like large language models and solving this problem of like AI coding um and Wes and Scott asked some really good questions that just kind of got into like how was how does all this stuff work uh so yeah it's it's pretty a sweet episode definitely check it out if you haven't

hey ala what's up dude good to see you uh ala is a long time longtime friend of the uh coding Garden streams yeah welcome in okay um I think that did it it was literally like a oneline change to add ours um and then also we realized in uh when we're parsing um we should use a different property let me just double check um that other F types of files work too CU yeah this this fixed the time stamp problem just fine um let's uh let's try importing episode 805 and that one still works just fine cool and uh I'm going to try the episode that Randy was having an issue with let me actually download that real really quick

is ala aot on YouTube I don't think so um ala is real over on the you on the YouTube so there he is look at him he's real but uh you may if you're familiar with twitch uh ala you might see ala Papa in other twitch channels because his username actually is alab bot in other channels so that's a thing uh what happens if it's yeah so the the maths automatically roll over yes um yes we should do we have any episodes that are over an hour long but this this is the code that I just worked on Randy is it it should handle hours now but I didn't have anything to to test with uh what's up Stephen says uh longtime coding Garden fan loving to be able to watch on syntax nice glad to have you here um but yeah let me know Randy are there any episodes that are over an hour that I can test with um I'm about to test the one that you had issues

with and that we should know for sure but that that one is only like 20 or 30 minutes long I think thank you Randy appreciate it all right so actually you're going to get a little sneak peek of an unreleased episode I mean I'm not going to play it for you but you'll at least be able to see the the first frame uh episode 822 so this is the episode where uh Wes is going over his hack we project um boom there it is Sneak Peek um and yeah I think this is good the the time stamps look much better I can confirm and honestly it's not that much of a sneak peek because you can look on the syntax website and see the show notes that got pool requested for episode 822 let's see yeah we're at 38 seconds 110 141 beautiful our time stamps are working

again that that's

great sweet um oh negative time yeah there should be there shouldn't be any videos with negative time right it's funny Wes always looks so serious like in the these uh these opening that one looks pretty good 817 yeah there's Wes funny funny face Wes and Scott yeah thank you for those followers over on uh twitch uh uh Loco Loki and gloren good to see you welcome in a negative episode is just saying we'll give you an hour pack yeah it's time travel uh 812 has hours sweet thank you Ry I'll let me download that one

[Music]

yeah that's going to take a second to

download but we're making progress um we solved two issues today that's that's good it's very

good um it's almost done

right episode 812

here dang no uh the uploaded video doesn't have metadata this it it sorry I think this is the one that uh we had someone do externally um so it doesn't have the metadata embedded in it

yeah yeah it's that's the beauty of a native app this is what Randy was saying the other day was like it's so fast it's was like that's that's the beauty of it it's just it's all running natively so it runs as fast as any other app that needs to access something on your file system but yeah the issue is um specifically if the file was not exported with that those chap that chapter metadata um it is not uh yeah it's not going to give us that I'm gonna I'm gonna assume my codes is right yeah is there another West face um I'm going to assume my codes are good uh but there's not a lot of episodes that go over an hour so hopefully we won't run into any issues there but let me uh create a PR for this and work on the next one yeah we got about 30 or so minutes left I think I can do one more um

this is fix number 28

um our time stamps better can I fake the length of an episode just to test it uh it has to do with the embedded markers I guess if I have I would need an exported video file that um specifically has a marker that's over an hour inside of it yeah famous last words I mean if it breaks Randy can just open an issue and then I'll fix it right okay should be

good episode 803 is over an hour

um might as well try it but I'm going to go ahead and open this PR

ah I left the console log dang

it uh let me look at EP I might make it a part of this commit um what did you say episode

803 let's see yeah it needs a time stamp specifically that is over an

hour uh the zenova I don't I don't have slack open sorry sorry Randy or I do it's just um silent thank you all right one last try I'll remove my console log and and um test with time stamps over an

hour okay um I I kind of want how many console logs do we have across this app one two three four I was I was about to say I was going to add a warning in the es lint but there's too many I think we're gonna we're gon to allow them that console look is too embarrassing it's on a commit that can be squashed so it's it is possible to remove it from the history yeah never going to live that down uh we should uh it's we should submit a console log left in the repo to the spooky podcast yeah so if you're not familiar with uh syntax every year around Halloween Scott and West do a spooky Stories episode where people submit uh stories about writing code and and writing software um that are slightly

spooky and uh I think they're going to be recording pretty soon so we can have some clips to post on socials and stuff um yeah

cons yeah exactly what's up Cassandra and that's my plan is squash the commit nobody will know nobody will know and um we got some people hanging out over on the the twitch side I appreciate you yeah welcome in yeah I think yeah gloren thank you for that follow earlier well I think we we why is this taking so long um oh it's gigabytes this one will be done in about a minute episode 740 should have time stamps that are over an

hour yeah several this will be a good test T says there's there's video proof listen that's why that's why we have git okay let's get rid of that

and I was about to say we could use our new delete feature but it's on a separate

Branch oh are you talking about Clash of code that random dude um you have a problem make the test pass yeah so Clash of code is a uh what is it code Wars not code Wars why can't I think of it coding game is what it's called Uh yeah coding game has a bunch of like competitive programming challenges but specifically Clash of code puts up to 100 people all in the same room and the timer starts and you have to solve the problem as fast as possible and there's like a leaderboard yeah that's it Clash of code coding game um if I get one more issue done we could do a couple of these These are pretty fun they get really hard though when you have a lot of people that have solved a lot of them before because it doesn't anybody that's in the room it doesn't give you a problem that they've seen before so if you have a lot of people that have solved problems it only the

only ones left are like the harder ones yeah okay file downloaded let's give it a try we want to take bets on if it's going to work or not let me let me show the code uh for parsing the the hour Tim stamp this is it total seconds divided by 3600 drop the decimal that's the number of hours um of this given Tim stamp I mean you can just gamble at home you can you can just yes or no is it going to work um hey what's up uh AV roomy good to see you all right all in on it working here we go here we go oh thank you William if you like this shirt you should definitely che check out cry. shop I believe we still have some of these sick pic shirts in stock uh so yeah this is episode

740 Moment of Truth

this is a 7 gigabyte file so I don't think we've tested with files this big

um uh it has frozen did it crash I

mean maybe that's not my fault that's just I didn't I Didn't Do It um I want my money back the large file size crashed it I didn't crash it let's just let's just kill the app and try again

okay it at least imported it and it got the time stamps I think the MP3 conversion is probably too much for it because uh I believe that like halts the main thread when it's happening but would you look at that it's wrong I think it didn't it didn't we have to subtract um we have to subtract from the number of minutes yeah this is the issue that uh I believe Randy brought this up we need to mod okay ala's here we can just have ala solve it because I I'm not filling the maths today uh but the hours are right I think the the seconds are right but the total number of minutes needs to be adjusted uh because so we need to

um if we get divided by 60 mod 60 is it simple as that this is coming from Ala I'm going to trust him it's a simple as uh um no unit tests listen listen yeah the other way to go about it would be like subtract the number of hours times 60 from that I think I think this is the solution though let's let's try one more um I'm just going to restart the app to be sure

okay hey he didn't freeze that time maybe it was just a Dev issue of like of like why it froze before in Alo trust and Dominic says in ALA I trust yeah that seemed to work that did it mod 60 um I guess here's the thing these time stamps at the top they don't need to have hours on them do they if the rest don't let me actually look at uh this episode on YouTube um

welcome welcome to um episode

740 only need the hour when it's present that's this is what Randy is saying let's just let's see what uh what we did here yeah sweet good to know thank you Randy um and it looks like our time stamps are correct now

too right 106 109 117 beautiful love to see it

cool yeah and I don't want to add it for minutes and seconds because there it would be a whole issue at that at that point because basically I would first need to know what is the biggest timestamp does that have hours in it and if it does every time stamp before it should show hours all the time we're not going to do that uh the this should be fine because then if it has hours it'll it'll show it so yeah okay let me Commit This push it up and then the last thing I'll work on is the file naming for

MP3s cool let me open this PR

um oh it's no it's it's not a huge calculation I would just have to get total seconds and pass that into the function it it's doable it's definitely doable but uh it would just be a lot of extra work because it would be I have to change that function to take in total seconds I need to be able to grab total seconds from the metadata to pass it in I it's fine without it

um yeah this is fix number

28 fixes time stamps and and now parses ours as well

great sweet uh last one for today is the naming convention which should be super simple uh basically every episode has a specific naming convention for the MP3 file um and right now it's just like adding a time stamp onto the um the video file name so we'll we'll it should be easy

Chapter 9 2:29:55

Feature: mp3 naming convention

all right let's look at the codes I do believe this is going to happen in rustland specifically we converting yeah so this is the create MP3 function here in Rust um and then we have stream ID and then timestamp stream

ID where what is stream ID ah this grabs the um input path yeah it it is super interesting Stephen like I did it probably like a little over a year ago um but I used to use Visual Studio like when I used to program in net and C on Windows and it puts it on the right by default at least if I remember correctly um but it is interesting to see everyone shifting it over to the right now Scott says I won't give into the right side barar it's so good like I mean I guess I mean you know you know the reasons why I do it but uh if whenever you open the sidebar if it's on the left your code will shift but if it's on the right it's just on top of your codes I don't know yeah I mean I didn't think about it I just liked I just like the minimal

setup but in a way it's kind of like using something like Vim because you have a very like stripped down editor experience yeah PR prava has been doing it for 5 years you do find on the right oh you can have like one specific thing on the right huh huh okay let's let's get this code working uh this look this looks to be some Rust isms here so grab the full input path and then file stem is like a a built-in function which basically takes the full path and pulls the file name off of it that seems really cool and it's nice that it's built in um let's see uh let's look look up what this function

does CL stem extracts the stem non- extension portion of the file name beautiful I've always wanted something like that usually I like uh split on slashes remove and then like remove the file exension by looking at the period That's cool um okay now we don't need the timestamp anymore because we specifically want to uh use this this format let me grab the example format yeah this example

format so what we want is syntax uh underscore episode number Dash or no I can see

the let me look in drive so I have the right the right exact thing um one moment just a moment

oh syntax uncore Dore episode number okay that should be easy

yeah and then we need to figure out what is the episode number um or give it a Tim stamp if we don't know what that is so we're going to do some parsing here on the stream ID to extract out the number at the beginning of the file if it exists so let's learn how to do regular expressions in Rust

but how Okay create a regular expression say captures with an else statement what is some this is why I need to learn Russ this is some tricky stuff um oh and then it like it named the capture all right let's give it a go why do we have that Dash uh West boss made him do it I think mainly like personally I don't like any spaces in file names so using underscores instead of spaces surprised you didn't put an X in the path yeah okay let's let's have our go at a regular expression because basically what I want to do is I want a regular expression that extracts off this number at the beginning because uh ideally Randy will already name the file in the correct way so when he drops it in it already has the episode number and

so I just need to uh extract that here um let's try so my regular expression is going to be um give me uh we're going to call this uh number and I want from the start of the file

um wait what I want one or more digits so I can do slash D like that and then what is this exclamation mark

maybe um let's try it so we're going to try to capture the stream ID here and um we're going to let the episode number be the time stamp by default

call it episode

ID oh but then that returns I don't want an else I want specifically um um if it does match rust is

weird yeah and I don't want to return I just if it matches use

it oh is match well I want to extract it though

H here's the thing do I need this Rex crate do they not have built-in regular expressions

no this is the same

one oh

I guess I first of all let's just add our using statement um oh we already we're already using Rex okay wait are you using reject somewhere else let me see Scott's example

capture so you don't don't do the else just say if let h

oh was ID

can I do this am I allowed to overwrite like this I you know what I think I disabled did I disable the um I disabled the rust plugin um oh yeah I see you later that uh that random dude hope Russ starts working for you no it will I'll I'll get it working yeah thank you for hanging out thanks thanks for for being here appreciate you we'll see you yeah and I think uh they did ask about how I got into programming um you can watch this in the VOD but they said don't know if you said before how you got into programming Scott if you want then you can answer too I'm genuinely curious curious on how people learned to code from uh YouTube like me so I uh built my first website when I was like 12 years old um it was a Calvin and Hobs fan site um I mainly used like front page for like drag drop editing um and

then pretty soon after that I got into action script and Flash and also wrote a little bit of PHP and then I got a computer science degree so I've been programming like most of my life um and Scott says I learned pre YouTube with books from the library then I got a job in an agency and learned mostly from my boss and Mentor there after that 100% YouTube yeah I mean even getting a computer science degree I still used a lot of online resources like yeah I had to do a lot of self I think most people that get a CS degree might even agree with this that like yes they teach you things but it's really they're kind of just guiding you you still have to teach yourself a lot of stuff yeah Scott is saying my first was Angel Angel Fire I used uh it was either tripod or lyos I would like bounce between them and I think I had a site on Angel Fire too I had a PlayStation cheat

codes site that I made on Angel Fire I pretty much just copy pasted the cheat codes from other cheat code websites but it was for the game specifically for the games that I liked um but yeah yeah and yeah exactly Geo cities um remember chatting with CJ back when I got my first react job like five years ago wow wait so you have a degree in physical chemistry but now you're a react developer that's great crazy that's

crazy yeah and you had to learn Ember at one point fascinating I know I missed a lot of chats but I'm I'm just so focused on getting this this rust code working so let me let me do that degree is just a paper yeah yeah but it the thing is the degree does help get the job because companies can see that and be like uh at least they were capable enough to get a degree maybe I can trust them to work at my company whereas without a degree it's a lot harder you have to convince them that you have to have a portfolio of work and basically convince them that you are a a decent developer uh pal says I was into RPG games played by chat a friend asked me if I wanted to help him make one and I knew a bit of HML CSS I thought that was all that mattered so I said yes and it and it wasn't so I learned PHP nice you had to learn like some backend stuff all right let's see if we can get this working I think I need to um install all the rust or

enable the rust extensions because I'm not getting any uh any help right now rust extension pack yeah we got to enable this let's see some compil I'm I'm curious if this is going to break the way that I expect it to

and I'm going to kill yeah kill this Dev process if it hasn't yet all right let's fix the rest errors um here expected

stir oh never mind I think I can do

two like that okay uh you will find that it takes a long long time for the for this I don't know what I if I have to do anything specific but the rust Dev Tools in vs code are super slow for me um because this is an anster but I still see this error so I'm going to reload the window

consider borrowing here ah we have to learn about borrowing um is there like a DOT borrow I need a Ampersand to borrow it this has this has to do with the memory safety right so like I Define this variable here but then because I'm passing it into the function I need to tell it that it can borrow the reference so that when it returns we know that the reference is here again and then after that it's no longer used and then it can be uh the memory can be freed um if it weren't for Claude my rust would never run can I borrow wait ala do you know rust are you familiar with um with rust I don't want to have to go look up a tutorial on uh I have no idea so here's here the here's the Quick Fix are you ready for

this when we call create MP3 I pass in the episode number from the JavaScript side um that uh and then I just use JavaScript to extract the episode number that might be how I do it um I probably could figure it out I just you know I'm at I've been coding for almost 3 hours at this point I I got it uh

two what's the difference between aser and T also why is this complaining now temporary valued borrow does this have a Str no it doesn't

okay that's fine but now consider borrowing here how do I borrow in Rust poo says add a dollar sign rust borrow references and borrowing

oh do I do string

from no I add an Amper sand I think the thing is when I add an Amper sand here it starts complaining about this up

here give it a second

okay it's happy about this but

now consider using a let binding to create a longer lived value

can I do that and then right here can I do

that yes I can sweet

okay getting closer take

this all right I need to make this

mutable mute

mute this might work at this point I got the codes now it's just a matter of if my regular expression works so by default episode ID is just going to be a time stamp uh then I am going to pass the file path into this regular expression to ex to attempt to extract the um episode number I don't think I need that the episode number at the beginning of the file name what does the exclamation mark do I don't think I need that just at the beginning of the file name grab um all the digits that you can and then if it exists so if the if the digits were in the file name overwrite episode ID with that specific file name

um yeah cool let's just see if it grabs the right file name um I don't want to do I don't want to do the full conversion um so I'm just going to do this

all right moment of

truth what's up PJ yeah so I I I was that luron uh last week was it last

week I guess it was feels like months ago yeah I met PJ Keller he came up to me he was like if I told you the name PJ Keller would you recognize it but yeah uh PJ Keller used to hang out in the the coding Garden uh chat all the time and I met them in person so that was pretty slick I met quite a few people uh at lauron that knew about coding Garden which was cool as well yeah good to see you thanks for dropping in okay Moment of Truth uh basically we're going to look at the logs here and uh when we drop a file see if we extracted the the number at the beginning of the file name so like if I drop let's get a smaller one I drop this we should see 822 we don't so uh right now it is a time stamp which means my regular expression is bad my regular expression did not grab number here okay um is there like a rust

regular expression

Checker blinded a rust regular expression editor and tester okay so let's grab our regular expression and our subject is uh

this all right do I need that exclamation mark do I need that question mark do I need begins

with yeah I mean could it be as simple as that just like I guess what if I only want the first one but this grabs zero or more digits um can I label it I guess that's that's what I'm getting hung up on is how do I label the capture because they they use labeling here to be able to extract it out um where did they have that like

this let's just test this one oh they I see that that exclamation mark is literally what they're looking for okay

cool starts with yeah okay this is the regular expression that I need how close was I I need the question mark in front all right let's see uh isn't Rex kind of standard there might be slight differences in the engines well I think the main thing is uh how the fact that they have like named capture groups I've never actually seen that in regular Expressions before um like I'm naming this section between parentheses ID and then I'm bble to extract it right here um yeah JS has named capture groups well I didn't know that that sounds really useful like this it seems cool that I can um give it a name and then not have to use like dollar sign one or whatever

else um all right this is going to work sweet look at it I extract I extracted the episode number yeah simple as all

right you won't catch me raw dogging Rex um I write I try to write regular expressions from scratch I feel like I I know the basics once it gets into like weird capture groups and stuff I it it's beyond me um but in JavaScript you can do capture. groups in the name that's sweet then it like turns it into an object that's awesome all right Moment of Truth full flow we are going to take this episode which has hours and uh so that'll make sure that I can get those time stamps it should also create an MP3 with a specific uh name delete all these

MP3s here we go

[Music]

yes so it named it this MP3 and then if we look at the notes um this Branch doesn't have timestamp uh time stamp match matching on it so we're not going to see that actually but it named it the right thing and if I look in that folder um there is a MP3 file right there beautiful that should do

it just going to double check the change codes here I see you Randy um yeah I'm glad I could work on this I'm I I I think I fixed the main things that uh were like kind of messing up your workflow uh once we get these merged in I think uh Scott should be able to get you a new build but yeah have a good have a good evening see you

later so yeah uh we have the episode ID by default extract it I guess the one thing I didn't test is if you drop a file that doesn't have a number on it does it use the generated timestamp it should but let me just test that really quick

[Music]

yeah so if there's no number in the file name it's going to just create a file that has a timestamp on it

cool what if you drop a Javascript file and rename it to MP3 um I believe our codes has error checking for that like if you pass it into ffmpeg and it's like unknown file format um it should show the error so what issue number is this number 27

yeah show an error for a file name not having a number yeah we could I think ultimately you're going to end up they'll see the file name and then they can just go change it manually for now anyways I bet ffmpeg will just figure out the file type from the file rather than the extension it does yeah so like I think it it tries to I don't know probe it convert it and it'll tell you hey this isn't the right format

yeah cool but uh thank you for the follows uh calvaria and SQL gster a SQL gster longtime coding Garden viewer thanks for checking out the syntax Channel um yeah so this uh sets file name to include show number uses timestamp if input file does not have a

number great I'm happy we we got some work done I mean some of them I spent probably too long on but we got some we got some stuff done I'm happy about that uh what happens if you press regenerate MP3 while the MP3 is currently generating it'll probably break I I don't know I haven't tested that um the magic codes in files like fffb at the beginning of the file for mp3 oh like the um there's some kind of encoding in the file itself that that says the file type and F ofm Peg is able to read that yeah I think that's how it goes sweet uh that's it for today thank you every everybody for tuning in this was super fun got lots of work done and uh we'll do this again in two weeks we'll probably work on a few more features on this app but then we'll also be working on the syntax website because there's some other ongoing issues and features that we need to work on on there as well um PR not linked with an issue it should

Chapter 10 3:04:15

Thanks!

be I put it in the the commit

name does that not automatically link the issue I mean it's there and then um if you look at Issue Number 27 it's should yeah it pops up

here yeah I mean there there will be there will be spelt regardless because the syntax website is built with spelt too um yeah let me add it in the description see if that changes anything

successfully merem merging this pool re coost May close yeah it needs it has to be in the description that's the cool thing though is um if this PR gets merged it autoc closes the um the issue didn't realize it had to be in the description though yeah because now that links it up and that one's linked up as well sweet sweet sweet sweet sweet uh what's up harsh yeah I'm heading out now but it it is it is good to see you as well uh Friday next week yes Friday next week I'm going to be doing a coding Garden stream so go follow over on the coding Garden if you want to be there for that and yeah thank you for hanging out today Scott I I appreciated all of your uh solutions for the CSS battles it's always cool to see how uh other people it and uh thank you for your input while we're we're working on the app yeah good stream good stream

everybody we got stuff done um I think I'll try to raid someone how many people are watching on Twitch yeah there's a few people watching on Twitch I think we will try to raid on Twitch so if you want to join us in that raid head over to twitch.tv sytax FM um let me get this

ready we're going to go find someone else who's working on some some programming stuff and uh we're going to send all our viewers over there after that uh so yeah and yeah I agree uh tar was pretty smooth it it was mainly just me figuring out regular Expressions that was bad start streaming and then raid myself no I I got some other work to do you're very welcome Chris thank you for hanging out thank you to everybody else that hung out as well um that's all we got like I said I'll see you in two weeks or if you want to hang out over on the coding Garden Channel I'll see you there in roughly a week next next Friday all right uh have a good one thanks for thanks for hanging out we'll see you and stick around for the raid

[Music]

hey hey

[Music] hey [Music]

Quote it with credit and a link. Quoting Syntax