 in bugs everywhere, hopefully they go away soon All they want and unless we do something about it I have a couple of things to talk about And it should be a lot. You see this my talking to Myself got the link starting sec. Okay, so I have this block Where's my self? It's a wrong Headphone It's not cool All right. That's why I keep talking you so I can check my own This one Connected Well, didn't we have sound isn't working? Okay Okay Yeah, just check I'm using the right microphone and the cable get into it in a sec if you're interested in YouTube analytics and by the way now scheduling videos to be released essentially midnight a daily and This would be the Exits from the live stream, so We better have something interesting happening Highly unlikely but Interestingly when I last stream YouTube tends to a push out my other videos as well, so And Not sure how that works, but it kind of works This is not in production yet Finding all sorts of little bugs as well So please do let me know if you see any for example the ECG game this thing the menu will work on Desktop But on a mobile phone It does not work not sure what's up because it does work in any other tool But sure what the difference there is Something is on This state would not they give any air messages because that's not an actual era and It was quite embarrassing because Someone actually Found it they found it out found out that that button doesn't work. I'm not sure why they you know the thought that button was Important but I mean guess it is everything is important Right just let's jump into it so first thing first we have this Semi blog what do we call it from it's not long enough for a block? But this was generated over several hours the prompting GPT-4 The image which is not bad was generated with deadly three and this is on To some thoughts on the impedance and the EEG The fact and The unknown reason behind It's even being called impedance to begin with because it's not just resistance. It's not even resistance It's an approximation of resistance. So should be called probably something else This one obviously will need The So it's already on the page. There is a link on the front page And this Tools and things eventually we want to turn everything in here into an application a web application But remember that the project is called chaos or a good reason Need this be it from technology quality Obviously not taking it from casual quest because that thing doesn't work on a mobile so it might be Something wrong with that code Probably will not take it from the main page as well Yeah, let's take it from Not a new page that we haven't been testing for a while Of course this will not work because it's a flask application And we'll work from here How narrow this page has to be If double-check this to Now this page is working on Assumed something in the CSS anyway, if anyone knows how to fix this, please do let me know Okay image-compress wavelet. Let's take it from image-compress wavelet Templates HTML It's the HTML of the blog So in the body we need this header including the JavaScript And that's that It's something in the Should have looked like that Right. We also need to apply this style a that essentially to A style CSS A page is being applied You know Okay, this is really stuffed up The text and everything the text would be in the wrong color if whoops can make comment Problem with CSS is that If you already have a comments Nothing will work. Well, actually We don't need this Additional CSS Right just use the Image could be minimized this image Could be autoscale or something Yeah, let's bring it back Not this one In the same folder Image Can get rid of that Can get rid of this Should be actually the minimum size of that It's kind of obvious that A mean Does it work with percentages A 300 pixel Of the molex 600 500 So what if I make max 80 mean 50% rid of that What if I don't Right, that's good enough And we have the Oops It's working. Okay This Yeah, we have the disclaimer You can close that we have the link to it. That's kind of separate Issue That can deploy everything Okay, this fingers Fingers crossed Everything will Disappear For a second By the way we now do Is a redirect from No one uses but just in case It could be some older links that have it Right, this is coming From the right, so this is the new blog Check it out Not Might be running ads on it later Just we test some stuff Memory there should be ads on here, but now they are Delayed by 10 10 20 seconds or so. Yeah Once you Use the tool for more than I think 10 seconds you get an ad sorry for that have to A get reimbursed For the electricity cost In the same thing for these two Yeah, the ads are now they will be delayed. So up here A bit later. I don't know if it's better or worse. Let me know what you think Still working on this one Other changes we made Partly again, but it is funny It works in the regular page, but it doesn't Eh on the MOBA And This one. Yeah, this one works. Okay, so I don't know what's up suspects Did check the CSS or no you should do it. So, I don't know Actually, what that might be Weird so we can close that And we can close this Right, let's get into Last complication A close over sick minimize this Okay, so this is our EEG spectrum 60 channel IEG Then we'll do that the noise it should be kind of similar A similar function And sure why I'm getting federation university advertisement. No, it's good that I get Any university is more than welcome More than happy to place ads on the side as well if anyone's interested Eh, I mean this at this target that me essentially so not sure Why I'm even seeing it Right, let's start a new GPT So we're using four default version We're not using Advanced data analysis because it's executing stuff on the On the open AI server. We don't want that I just want to say Okay We have the spectrum. We have this info That code already Going deploy yet take show application. Let's run it And see what we get not getting any errors here. I'm getting it in there. Yes Event listener didn't work EEG JS And just start popping in stuff That's okay And index HTML Now we're having this error In EEG line 64 Event listener input I think we have 64 or 18 It doesn't have any properties Can you help us with this business group and how to find the element There's no File scroller. Where is my file scroller in html We are missing a file scroller So we also need this style Was this html Pretty sure I asked it What did I do? I asked it Asked it already multiple times To edit controls Select channel And it's popped there at the bottom Right now we have the fast growing. We have the data at the row EEG straight away We have some A values It's the mobile version Yeah mobile version doesn't fit the whole screen If you have any ideas as to how to make it better place to let me know But currently we'll just be testing on And we want to load something as soon as the page Loads this doesn't work Okay page scroll is not actually scrolling the file. Sorry should be file scroller a file scroller Let's see file scroller So hopefully soon it will appear on the website if you haven't Checked it out already. Please Do so any feedback is more than welcome Play post. This doesn't even look like a button okay First of all should we get rid of all this Era in scroll monitoring a debugging stuff We can get rid of some print Statement so at least comment them out Yeah, definitely can comment that out So what's doing this again here? It should be And then JavaScript should have some a what's called that Play by now Console log that one. Yeah, we only have the one comment this out So the console should be nice and clear control of five to two Still getting an error 16 9 in java script Play speed input The input is missing, isn't it? What did it say about script In the file scroller we have file scroller was and Was unintentional was not needed Fetched our render No, I do need it Change function. Yeah in html Should have the speed play button. Yeah, should be someone next Play button Play play back speed Still not playing anything At least I'm not getting any errors Get 200 response from this server, which is good Obviously, we'll need some a reshuffling About we do it straight away and Let's go into These are prompts normally called prompt text file, but Um, yeah, this is all this Filter order might be Happening to scroll through the file Okay, a couple of things any more So the scroll from file That's not it's not updating the charts. That's right At some at some later stage, we should start using co-pilot more GPT. So yeah, the idea is that it's pretty good at generating template that actually works So in html Yeah might wait Okay, so there's a bunch of things that we need to do there. Should we do them now? sort The frequency spectrum It's not displaying properly Yeah, for instance spectrum It's not working properly should be showing the frequency bands The frequency spectrum should have frequency as The x-axis which it does it's going all the way To 200 Which makes kind of sense. It should be 250. What about linear log? Right, that actually works I should have a whole spectrum selected Yeah, this is a bit weird. The power numbers are extremely large Windows size seem to work okay We also should write what is working channel selection Well, first effect Write the trending working pretty well It's centering the signal around zero And write log linear All right, it's actually working pretty well. I get Yeah, the filter order was too high before so it's essentially filtering everything out when you go log scale Yeah, the filter is a bit odd Ah, that's the whole spectrum. So that's the whole spectrum. That's more A larger window. That's actually a seizure there And so yeah the scroll Scroll doesn't work. I have to fix that But essentially the Yeah, the purple line there is the whole spectrum. Yeah, we have to limit this at lower Frequency going up to like 50, 50 hertz or so because that's most of EG stuff A linear log Works okay. Yeah, so when you go in linear It should limit that The Frequency access the x-axis to go up to 50 hertz. That should be better in log Well, same thing. We can limit that at about 100 or so so we see more difference in there and then the window size is limiting us at 60 seconds top But we should be still able to scroll through the file So the problem before was that the filter order was too high This specific filter just the way it works A play button. Yeah, play button doesn't work as well It's kind of obvious because scrolling doesn't work And make sure frequency scale is changing Changing the x-axis. No, the x-axis shouldn't be changing. It should be time obviously currently it's Data points a number of data points. I think No, it could be actually time because yeah, that that's a very long file and we skipping in the file to To this particular second that has Yeah, that's right. That's the beginning of it. So this is seconds actually It's just a very long A long that file. So we have 400. It's actually 399 or 0.9 or whatever. It doesn't matter 400 should be good enough for our A purposes purpose and then This is the start time just because that's where the first seizure starts in that file I think that file has more seizures than that so we can Now I don't want to overload the server. So it's only displaying whatever up to 60 Seconds of data But then should be able to Scroll through Whatever currently being loaded Such a window size. Yeah, this is sending something. Let me clear The terminal Yeah, it's sending stuff in but it's not It's taking channel one you can change Channels this is that same seizure in another channel Yeah, we have 16 of them So actually we need to add Can just add all of them add all the other Channels Oh, come on. Don't do it line by line watch How it's surely a chgbt can do a better a better work And let's see I want to do it manually Right, that's right. That's how you do it a github copilot It's doing things line by line. This is how it's done It's actually did all of them Save this we should have Fresh yep We have because the first eight channels Yeah, there are 16 channels including zero. So the first eight are on the left side of the head and the Second Eight are on the right now this filter order In a html filter order this default value should be around two for it to a work a better a whole spectrum Well, the whole spectrum is essentially just the sum of You know all parts I channel eight has this funny funny business So this is not Published yet. Hope we're publishing it today the All data view are is available already in production Yeah, this needs improvement. It's actually should not be loading like that. It's actually In this scene doing something with the css changing colors and things. This is how I wanted it to be To load. Yeah, that's the channel eight Has this funny deep. It's a flatlining a clipping signal I don't know if it's a Motion out five to something Yeah, it's that red red red line there. This one you can Group a line by line is side by side. So left and right separately Yeah, so it's just a viewer and this thing would be a Now it should be called Different name It's actually add the description to this right so now Load channel For the load channel whatever six linear log log scale All spectrum. Yes. No. Yeah. Most of what you can see is in A delta and there's a bugger all In ava bands but once Seizure comes in You should see more of the ava bands going through. Yes. We saw the elevation in theta so higher frequency So again, this would be So let's make it log scale frequency scale option log Should be the default value Log doesn't want to do it. Yeah, github copilot thing Is it even? Yeah, it is running. I can see it's doing something That's not actually Yeah, github copilot Can you be at least as good as gpt We can try the 3.5. I'm sure it will be able to To do it, but that's how it's done. But show why it's Not generating anything and now when we reload page Yeah, log is default. So again, if it's like linear heat f5, it will Default to log which is Better, but we uh No publish it in a sec. I want this scroller To work. So we had a prompt for it and I think we already actually edited it before we just chose to Ignore it Um, should we go back? Yeah, let's go back here So we like fork the the chat It's not no. I mean it is present Let's double check pretty sure it's there in the html It is the file scroller. I want this step to be Yeah, probably want this step to be like a hundred. Let's start with 10 max why Okay Uses to scroll through the an hour of data. Is it how much data are we? Loading and we're loading 100 seconds It will be good if could scroll through an hour 1 5 edge that render function to scroll through the play button Okay, so why don't you actually do this? And time It's a scale Why is this different and why we're not taking it from the From the html That's what this get element Does parse in integer converting this into Integer So we just do it in the file scroller Event a bit confused also Up to one hour almost Just give it a short Break So having trouble with this not fitting into the whole A window This is by the way seizure onset. This is because I can't scroll it would just Add the Add stuff up And yes, I suspect that the tita increase is because of those higher frequency components the Actual spiking during seizure. So if it's now at the reaching what's the around 600 You reduce as you have less of the seizure It's going down to like below 200 So the 50 hertz They should not be 50 hertz on this data. By the way, it should be super clean data Because it's recorded straight from the surface of the brain. It's an implant a Let's keep going for a bit For a bit longer If all these inputs are actually working and publish Can we update? No, wait Don't scroll through the data file scroll. You need to make adjustments to both the front and JavaScript. That's okay And what those Can reach I don't like that response To integrate the scroll scroll functionality. Effectively, you will need to modify both the bottom and same a file scroll Use the value Include additional parameters in api request. Okay, that makes sense Starting time based on the scroll position. Yeah, that makes a better sense The fetch data and render calculate Rest conspiracies we need to add Start time Okay, fetch the data It's not the fetch logic Okay, whatever now back and modifying the get data in item In get data and from the request Okay We already have window size. Okay, let's pop this there Just so we Have it in some sort of order skip rows calculate the number To have it already Do I need to change the name or keep keep it data? Okay, we're ready. That's the problem Okay, so so it's a real long file. This should be the default start time duration, but then so do we read We will end up having the read csv wise Bring this csv file. We can be inefficient load the entire data once Is slice the memory data based on start time So what we want to do Yeah, we have the same problem this file here because This is not the whole File instead of repeatedly reading Reading tatters at once at the start of your flask creations to a memory It is too large The data set is too large You need different strategy user database instead of flat like File Yeah, don't want to change the file format Yet Yeah, preprocessing csv into smaller chunks Saving chunks chunking as a separate file client style down sampling of Never heard of uh Can give me more info on the first option right, so it's it's suggesting to insert the whole File into a table and then connect to the sq light database insert the data Can feel like I don't want to do it for now Just because it's working already But we loaded a Database could be nice or later We did load 100 seconds of data And only displaying 10 seconds by default We would like to scroll through the 100 seconds at this stage Simplify front-end logic and should be as simple and hence your So let's leave That make sure it's still And running You also select a different channel by default 7 has more Data in it to begin with Make it seven channel number in make 07 default Loading the Page doesn't want to do this I'm sure even 3.5 can Can do this But keep up co-pilot can not so we're just doing this Check yep 7 is default Yeah co-pilot co-pilot is gonna hopeless Now This scroll of work And render function Start time New parameter Why keep repeating everything I say A URL This should be the same It's not sure why you Mention it to me In flask which is the python script Get data A we extract Yeah, do we need to multiply it by No What sampling I had is for Sampling rate is already defined as It's definitely not to 50. It's 400. All right. That's correct. It's king And start index And the index Yes, you don't really need the brackets The chgpt Extract segment but segment is not being used How do I use segment So currently Returning response data We need to change The response data KK data Yeah, that's the same fsfs Segment is dead EG data Still want to use the window size All right, window size was used there So if I get rid of that Channel Yeah, we do have channel already the integer It's actually not bad Copilot Detrending necessary A response Response data we have raw signal And here we need And deadline EG data to list is the same Type scatter Response data See Start time, it's not changing the plot Appear Let's clear this for a sec Okay, we're getting this big Fat Error Clear again, just click on it once Getting it 500 Shift C Can you explain this error to us? Yeah, this is All mixed up with This segment EG data