0:00:23
all right welcome back everyone another
0:00:27
weekend which means
0:00:29
of one of our episode of bill break and
0:00:31
fix i hope everyone is doing okay and
0:00:34
been following our work
0:00:41
contribute as well
0:00:44
if you're new here we are roll quarters
0:00:46
that means uh we are a team of two
0:00:48
developers from melbourne we stream
0:00:50
every night from 9 30 p.m to
0:00:54
10 30 on a weekday and 11 on a weekday
0:00:56
oh sorry 10 30 on a weekday and living
0:01:00
so yesterday we worked on um
0:01:03
changing the bit of the architecture of
0:01:07
and uh today we are gonna see how it
0:01:09
reacts to the middleware so
0:01:12
then do you wanna run through
0:01:14
what we worked on yesterday and
0:01:16
what we're gonna work on today
0:01:21
i'll just shave my screen and open up
0:01:25
the repo just bear with me for a sec
0:01:33
did you manage to push push up the code
0:01:35
from it yeah i did
0:01:38
which branch did you push it off
0:01:44
what i'm going to do is open up the
0:01:47
replay on backhand
0:01:51
oh okay cool that's fine wrong folder
0:01:56
where's my workspace gone there we go
0:01:59
already in saturday night mode
0:02:08
all right there we go we opened that in
0:02:14
by the way i've already pushed
0:02:19
it should be all update and i also added
0:02:25
no uh so every time anyone has to
0:02:33
something on the master f from dev they
0:02:39
do a pull request and only i think me
0:02:44
and you will be able to
0:02:50
i did on the front tent i mean on each
0:02:56
on the front end and on the
0:02:58
back and four yeah repo
0:03:02
walk us through how you did that as well
0:03:04
yeah yeah i will do that um after this
0:03:09
so first i'll explain um
0:03:14
hello dad what's that hello breath how
0:03:17
are you doing mate you're right
0:03:21
what's happening uh just some water
0:03:27
reminded me of that
0:03:34
all right here we go all right
0:03:37
your geezers are hydrated now
0:03:47
what we worked on yes today was um
0:03:53
i'll just zoom in so you guys can see
0:04:06
when we create a board we've
0:04:11
send the board id to the
0:04:18
okay which is this one and then
0:04:25
get a specific board from born from
0:04:28
taking a board name to board id
0:04:34
thanks to andre for um
0:04:36
providing us this tip of choosing a fine
0:04:42
probably a trillion lines of code
0:04:48
why is there a w there
0:04:55
and why does it work
0:05:01
probably because um i just
0:05:12
submit it i commented it with the
0:05:15
w so it won't work
0:05:21
yeah i i didn't i didn't realize that
0:05:24
thanks for pointing that out
0:05:26
can you andre session uh
0:05:46
that was a bit of a cool thing
0:05:49
i might as well go and fill up my bottle
0:05:52
yeah i need to spell cuz mine's empty so
0:05:57
we'll be right back
0:06:14
all right we i am back um
0:06:17
and kate is as well
0:06:19
good timing brilliant
0:06:28
yes thanks for pointing that out i'll
0:06:30
probably have to um
0:06:36
again but i'm not really
0:06:37
gonna bother at the moment
0:06:45
so that's what we did just today so
0:06:51
move on to middleware all right yep yeah
0:07:01
give it the board name
0:07:04
we don't want it to go to the back end
0:07:09
yeah that makes sense yeah cool
0:07:13
if you want to change your screen yep
0:07:20
screen as a big screen on my end
0:07:24
huh just one second
0:07:27
that's right take your time
0:07:37
how was your day then
0:07:40
my day was pretty good man as in pretty
0:07:47
do you want to walk us through the
0:07:49
github stuff first then i'll share my
0:07:51
screen and do the music
0:07:56
i'll do that first then
0:08:02
to be honest i think my brain is totally
0:08:04
in saturday night mode
0:08:07
me too no i'm kidding
0:08:10
forgetting things now already all right
0:08:16
one and a half hour seems like a lot now
0:08:18
but it's fine um i guess once we start
0:08:23
okay cool so this is the
0:08:34
basically all i did was i went to
0:08:49
okay and then i went to branches
0:08:58
this is a branch i
0:09:09
and then all i did was type um
0:09:18
this option as in required for request
0:09:21
reviews before merging
0:09:24
and then i did i think at the
0:09:29
one but i should do two but let's just
0:09:40
two nice so this would mean that uh only
0:09:45
you would have the
0:09:48
merge from the dev to master
0:09:50
if it's successful it
0:09:52
would have to pass to
0:09:57
which is yours and mine and mine so
0:10:06
applied on the backhand as well
0:10:13
it was easier than i expected it to be
0:10:20
right so that much problem
0:10:22
has been sold and this was this solution
0:10:30
yeah for sure cool right so you wanna
0:10:34
take over to the middle right now
0:10:51
you know what i might need to
0:10:54
push the code first to
0:11:03
i don't think so but i guess
0:11:06
you're right you're right
0:11:09
i wouldn't need to
0:11:12
yeah um so what we're trying to do right
0:11:14
now is we are trying to post a board
0:11:17
and we are trying to get the
0:11:19
board name or board id and return
0:11:22
so i'll just create a global variable
0:11:24
for now called board
0:11:29
are you guys using on the project
0:11:32
andre is asking what gib get workflow
0:11:36
are you using on the project
0:11:44
treating uh uh two separate like we are
0:11:47
trying to create a function branch and
0:11:49
then we have like a staging branch and
0:11:52
production branch as means
0:12:03
feature request branch
0:12:07
dev branch and then the master which is
0:12:13
we implement the feature in the feature
0:12:17
commit it and then
0:12:21
and then from dev we uh
0:12:24
there has to be two successful code
0:12:29
the merge to happen from dev to master
0:12:36
do you have any suggestions on that
0:12:49
there's a thing in github as well called
0:12:51
workflows and you can run workflows
0:12:54
trunk base is good if you have a small
0:13:02
we probably have to research about
0:13:05
trunk base because i don't know what
0:13:08
and it's good that we'll learn
0:13:13
these kind of terms as well
0:13:20
do you know what that is
0:13:22
i have like i don't know what that is
0:13:24
the real knowledge of what it is like
0:13:28
i mean you want to explain it by
0:13:34
trunk base says choose your main branch
0:13:37
only and all branches are short-lived
0:13:41
so you just like keep committing like
0:13:43
small and frequent updates
0:13:45
and you keep merging them as well and um
0:13:49
yeah right right you brush your short
0:13:51
lips so you keep deleting the branches
0:13:54
ah so that means that
0:14:03
you still have feature branches but you
0:14:06
get to main asap as feature toggle off
0:14:10
if you don't want to use it yes
0:14:13
ah right right right okay
0:14:18
that would make sense completely
0:14:24
use this approach as i was standing
0:14:27
practice from now yeah
0:14:33
i mean we are kind of using trunk base
0:14:35
approached only um in a way
0:14:38
um is it andre is it true
0:14:45
also i was thinking like once we get to
0:14:47
a point we should also look at what paul
0:14:50
said in the meetup about having a ci cd
0:15:05
for sure um so in terms of andre's
0:15:13
what's the difference between ci and
0:15:19
you're continuously
0:15:24
creating and deploying the code to main
0:15:34
i'm just trying to
0:15:38
no go ahead go ahead
0:15:45
asking andre from fry or not because um
0:15:50
the difference between
0:15:52
ci and cd is that you're you're
0:15:57
getting the code and then deploying it
0:16:01
on a regular basis
0:16:04
right yeah mri andre
0:16:14
i guess so all right
0:16:26
let's jump back to it
0:16:40
i'll just create a global variable
0:16:42
called middle layer board id
0:16:46
let's just find it now
0:16:53
so why are you naming him
0:16:56
mid awareness school board id
0:16:59
as involved what's the concept behind
0:17:03
nothing really um it's just uh
0:17:07
what is it local like it will just be
0:17:10
middleware to pass
0:17:12
around the functions
0:17:14
we could name it something else
0:17:18
was just thinking because we don't want
0:17:19
to get confused between other board ids
0:17:25
right right right okay yeah that's fine
0:17:27
then that makes sense they're like all
0:17:29
the versions of board id like board id
0:17:36
good to have a bit of a descriptive name
0:17:39
but not in branches
0:17:42
i've learnt my lesson
0:17:45
nine branches i remember during the
0:17:47
presentation or like uh sorry the
0:17:52
i just kept saying the middleware uh
0:17:55
implementation of middleware post board
0:17:59
sounded so funny at one point because i
0:18:01
was doing like a huge name to maine
0:18:06
true true i agree with that
0:18:09
that was funny though
0:18:12
um right so your response text
0:18:33
but it's returning the response right
0:18:39
should we just assign it some this whole
0:18:47
can you console the
0:18:49
log what do we exactly get in the
0:18:52
response i want to see that first
0:18:55
um that's a whole header oh but sure
0:18:57
i'll i can do that
0:19:00
and if if you're sure about that then
0:19:05
is this during the console log so
0:19:08
control like the response would be just
0:19:10
like the whole header like okay yeah
0:19:12
okay this code and there's the
0:19:14
uh right we need to like
0:19:20
okay so how about if we
0:19:24
we probably have to get the board id
0:19:29
yeah only i'm just saying
0:19:38
to the door and his board id there
0:19:42
no one's not there
0:19:45
oh let's try this body i guess
0:19:48
okay yeah we can try that
0:19:52
and i'll just alert the body
0:20:11
uh andre is asking what does line 46 do
0:20:23
yeah why do we have this there again uh
0:20:26
that was probably probably because we
0:20:29
wanted to set the status
0:20:32
and we would be experimenting with that
0:20:35
yes i don't think so we need it um yeah
0:20:39
do a if statement here
0:20:42
distinctively yeah but yeah
0:20:46
thanks andre for pointing that out
0:20:53
oh so spike in my exam simple
0:21:02
at least i didn't make that mistake
0:21:07
i wasn't in the client but i figured it
0:21:36
why didn't the alert of it is the post
0:21:41
have a look probably let's see
0:21:51
wait i think the method is being
0:21:54
terminated here can you see the console
0:22:01
but there's nothing uncomfortable
0:22:07
i'll wait on that yeah yeah sure
0:22:10
on the browser yeah yeah
0:22:14
invalid shorthand property initializer
0:22:20
it's a syntax error
0:22:23
i think we didn't need a response status
0:22:26
because we need to return it here
0:22:29
but return response um
0:22:33
i don't think we should
0:22:35
we would need the um
0:22:49
i don't think we would need the response
0:22:52
today is there to be honest yeah because
0:22:55
the status is in the
0:23:02
pawns object is here or not i'm just
0:23:05
trying to ah so the response object is
0:23:08
only in the in the then yeah this is not
0:23:11
outside right right right yeah so you
0:23:14
would probably want to create a variable
0:23:37
uh what you're trying to say
0:23:52
is that what you're trying to say then
0:23:55
so if you want to return free
0:23:59
i don't think this
0:24:08
we're not supposed to have
0:24:12
in that space you might want to make
0:24:15
as an above the fetch yeah
0:24:25
the response underscore status now
0:24:29
main concern is this for now
0:24:34
let's try running it i guess
0:24:51
i just said you guys should pr your
0:24:55
your great work into upstream scrambler
0:25:00
sorry i didn't get that
0:25:02
uh he's saying that we should
0:25:05
do um we should do a pull request to the
0:25:10
scrambler reaper as in the original one
0:25:16
but i guess isn't it too early for that
0:25:36
the air is still on 51 this
0:25:46
response your body
0:25:54
sorry one second i'm having trouble
0:26:09
should we assign it there oh hang on a
0:26:14
you know when the bracket is ending of
0:26:23
wherever that bracket is ending
0:26:29
the line 51 above that bracket
0:26:35
because in there what's happening is
0:26:43
yeah yeah true true
0:27:19
okay right right right i i think i know
0:27:24
what's happening here
0:27:27
you know the logic is when you create a
0:27:30
then you get a board id in return isn't
0:27:35
we haven't created a board yet
0:27:41
so we are trying to get
0:27:44
trying to get the id
0:27:48
before even we have got the id
0:27:51
but we got the status um
0:27:53
previously i don't know how we got that
0:28:01
removed the stairs the way it was
0:28:06
so before it was like return response
0:28:11
was in our return there i'm pretty sure
0:28:15
oh yeah really yeah
0:28:20
then i don't know there's not just that
0:28:24
why was this working then
0:28:30
why was that working
0:28:32
you're right like we haven't done that
0:28:37
uh we haven't received the
0:28:39
response yet okay um try to post the
0:28:43
board only at this stage
0:28:49
want to check if that functionality is
0:29:15
you need to uncommand response to status
0:29:24
that doesn't make sense though um
0:29:31
what are we trying to
0:29:33
do here in the first place
0:29:36
um you said right like if you wanna try
0:29:39
um set the board first
0:29:42
so if you want to revert the code
0:29:45
to its original condition that it was
0:29:50
i think i already did dinner
0:29:55
both deadlifts weren't there
0:30:05
want to see if the board is working
0:30:12
[ __ ] okay that's fine and do okay nine
0:30:27
well there's too many boards
0:30:30
there you go can i hear that
0:30:32
oh okay of course so the board is
0:30:37
so now if you go back in the code
0:30:42
doing still don't know
0:30:48
let's try it without this and see yeah
0:30:57
all right now it's not gonna work
0:31:04
you hundred percent sure
0:31:08
and you could give an error let's see
0:31:18
yeah it did because the count was 10 now
0:31:22
why do you think that's worthwhile
0:31:25
i thought it wouldn't work because the
0:31:30
given in the then block but it's being
0:31:33
used outside that block
0:31:36
yes if response is here we can just um
0:31:50
do you probably wanna
0:31:52
console just a response
0:31:55
all right because i don't think is um
0:31:57
finding the body property
0:32:17
i have to do this then i'll have to make
0:32:20
it stop to go to the next page
0:32:28
there was one more
0:32:37
it's already coming
0:32:43
all right starting this over again
0:32:50
are you keeping an eye on the comments
0:32:58
response is not defined yeah
0:33:02
so i think what's happening here is if
0:33:05
you go back in the code
0:33:24
okay um do a console.log
0:33:40
nope why does it say no it doesn't want
0:33:43
it doesn't like it
0:33:50
online 47 maybe this would work yeah
0:34:02
that's not a good idea to alert the
0:34:09
anything is good in
0:34:12
development mode all right so okay
0:34:15
there's a syntax error on 51
0:34:26
i don't think this would work either
0:34:29
okay then just put down
0:34:40
because all i want to see is the
0:34:43
response that's so and if it if it's got
0:34:46
the body in there and if that body has
0:34:50
border ah that's not working either
0:35:02
if you expand that
0:35:04
yeah that's working
0:35:06
so just do it does he have any
0:35:11
stays trying to status text type cause
0:35:17
yeah what is there but it doesn't have
0:35:24
right so that means they'll they will
0:35:33
wait a minute if i
0:35:43
and what will happen
0:35:54
all right let's try it again
0:36:01
object readable stream right
0:36:04
oh you probably have to justice for
0:36:10
um to be honest i don't think this
0:36:12
approach feel work but
0:36:18
i may be wrong off to this
0:36:21
uh i want to explain you
0:36:24
why i think that it's not working
0:36:30
i'm just trying to see
0:36:34
oh response don't bog it but
0:36:43
don't get into the okay
0:36:47
what are we trying to do
0:36:49
just trying to see what um
0:36:53
um how do we actually get it
0:36:59
um to get get the string
0:37:09
do you want me jason stringified i was
0:37:10
just trying to google if we can get the
0:37:15
but okay um let's try this and string
0:37:21
i'll go ahead and google after they said
0:37:24
of course yeah which
0:37:27
i think it's not in the body because
0:37:30
body is just like the whole thing but we
0:37:32
have to go one more
0:37:34
step inside the body
0:37:39
or maybe is in the
0:37:46
um some bodies coming up with nothing
0:37:51
what do you mean it's in the response
0:37:55
see when we do it in here so
0:37:58
uh when we post a board in here i'll
0:38:03
this is the response body
0:38:07
all right so it's coming in the body
0:38:09
right okay that's the thumb in the body
0:38:11
like oh yeah there's another way you can
0:38:18
so it's coming in the body for sure
0:38:23
right right response body head is
0:38:30
yeah so we just need to see how do we
0:38:32
take it from the body i guess
0:38:36
yeah right right not sure why it's not
0:38:41
i mean it says stream
0:38:45
low prototype expand it
0:38:51
prototype expand the one
0:38:57
nothing there two string it has a
0:38:59
two-string property
0:39:04
but we want value off
0:39:07
let's both try like google again
0:39:10
all right i'm gonna try that as well
0:39:41
to get the response
0:39:43
audio is streaming
0:39:51
using your screen responsibility
0:40:49
i guess we need to
0:40:52
uh i'm just gonna try one thing
0:41:23
oh there you go blue goes in i got it
0:41:27
aha so it came in the promise
0:41:30
um no so what i had to do is i had to um
0:41:34
print it as response.json
0:41:37
oh right is it right
0:41:39
like kind of a parser
0:41:42
read more about it i'll send you the
0:41:45
yeah i just got it from
0:41:52
i just want to see how exactly do we get
0:41:59
oh right right right
0:42:08
what are we trying to get into
0:42:11
um so it's still inside um
0:42:19
just seeing how do we actually access
0:42:35
how to access the value for promise yeah
0:42:37
that's exactly what we need
0:42:39
promises at that point
0:42:46
oh so we use a then
0:42:49
block on the promise itself
0:42:56
i don't think this is the
0:42:59
do something result right
0:43:03
i don't think that this one has the
0:43:11
okay promise we promise
0:43:13
i think we need to assign the whole then
0:43:16
block to something
0:43:22
yeah like these are these variables
0:43:32
okay so if you do like um
0:43:46
can i just try seeing one another
0:44:21
i just recent value for promise object
0:44:35
which one andre thing go to the code
0:44:39
there you go andre
0:45:11
you can get into it through this
0:45:21
until andre comes back
0:45:36
property of the promise code
0:45:44
property of the promise called
0:45:49
i'm not sure what you want by the
0:45:53
yeah once i'm trying to adjust the
0:45:55
screen it'll be easier
0:46:05
here's something yeah
0:46:16
promise dot promise result
0:46:30
so it's in promise and then promise
0:46:44
printing this i guess
0:46:48
hang on andre has come back and it's
0:47:11
equals yeah that's it
0:47:19
i have no idea why we did that
0:47:22
now i guess um you and i was thinking
0:47:28
anything on line 45
0:47:35
catch always have to go together
0:47:48
i don't think so there's any error here
0:47:54
it was like this okay
0:48:14
coordination is being missed here now
0:48:17
that's all the code
0:48:18
there go back one step
0:48:23
and then press undo
0:48:32
this one he said error watch
0:48:46
do we have something
0:48:50
in their return block
0:48:57
nothing no and we didn't have
0:48:59
previously as well
0:49:02
okay i'm just seeing it right all this
0:49:08
should we try right now
0:49:10
go in into your um
0:49:12
get source control comparer as in third
0:49:16
i come from the top and check what
0:49:18
changes are coming there
0:49:26
go on to that again and then press
0:49:36
show you all the changes being made
0:49:40
so if you look here there was nothing in
0:49:43
okay yeah that's fine
0:49:47
um go back can i close this
0:50:20
so that everyone can see properly
0:50:34
i'm just seeing the conference
0:50:48
so we need to access the promise
0:50:56
we need to access the results
0:50:58
of the promise ensure
0:51:02
yes but we got an error inside the thing
0:51:06
oh i think we need to change something
0:51:08
because we did the
0:51:11
what do you call it
0:51:13
all right hang on a minute hang on hang
0:51:15
on hang on andres is
0:51:28
is that causing the error
0:51:30
i have no idea but
0:51:37
reason and he must be right so i'll just
0:51:41
with the belief in him
0:51:50
oh there we go oh here we go perfect
0:51:54
so there was the problem
0:52:00
so um i still didn't get why did we
0:52:04
enclose the entire fetch into that
0:52:09
i guess because it was
0:52:11
i guess it was because it was the whole
0:52:13
thing was returning a response and
0:52:15
we needed to store it somewhere
0:52:22
right right right yeah that would make
0:52:24
sense because he was
0:52:28
something but we weren't storing it
0:52:33
uh we're still having a bit of problem
0:52:35
with the response of stickers here
0:52:40
i still don't know why we had this
0:52:43
i'm really curious
0:52:50
and that's a syntax error
0:52:53
like we are not assigning it anywhere so
0:53:09
all right remove that
0:53:12
oh we can't remove this because it's i
0:53:22
andre how else can we check that if from
0:53:28
we have actually received the
0:53:38
we need to validate the response and
0:53:46
so the problem was that the page were
0:53:48
scheduling itself so before we received
0:53:51
the response we were moving to the next
0:53:53
page so what we came up with was that
0:53:57
um we'll get the response the status and
0:53:59
if the response of status is 200 then
0:54:02
we move to the next page yeah so is
0:54:05
there any alternative way to do it
0:54:08
um responses status
0:54:21
want to remove the comments and
0:54:28
what we had in the
0:54:32
response stays equals to 200
0:54:35
in that block as well i have a feeling
0:54:40
because it was throwing an error
0:55:25
that's undefined now
0:55:34
um get all the boards k16 was it
0:55:51
how many boards do you get oh boy 12 or
0:55:54
50. all right i'm gonna go in in the in
0:55:58
please some this is just too much
0:56:04
how did you get 15
0:56:13
that wasn't the expected number we might
0:56:16
want to delete the
0:56:20
as in the the content of the table and
0:56:23
the retest uh that again because i've
0:56:28
all right let's do that
0:56:30
and let me just delete everything from
0:57:04
yep so just one second
0:57:10
oh wait i need to put my mac on charge
0:57:18
yeah i literally just almost forgot
0:57:20
about it while doing this
0:57:24
i was seeing the time and then i saw the
0:57:30
no i shouldn't die during the stream
0:57:56
without a board name
0:57:59
where did that come from then
0:58:01
try deleting them again
0:58:09
okay now it's zero
0:58:14
now i'm not feeling that is if someone's
0:58:17
spamming our end point because we stream
0:58:23
someone's spamming it's in
0:58:26
oh wow oh wow all right
0:58:29
we need to apply chorus
0:58:31
i think you must be
0:58:32
someone that we know i'm pretty sure is
0:58:41
i think it might it might not be andre
0:58:47
i mean they do have exposed endpoints
0:58:52
shall we plaque as in
0:58:55
restricted cause on it
0:59:00
i don't think it is
0:59:02
you know why why's that
0:59:05
he couldn't do it only
0:59:11
this kind of thing and i'm pretty sure
0:59:15
we both know him very well
0:59:22
whoever's doing it we'll give them the
0:59:25
mimified roll coders t-shirt yeah yeah
0:59:50
can i get a bull curtis t-shirt for sure
0:59:53
andre you can yeah
0:59:56
like like for really one bullet glitters
1:00:01
actually don't mind
1:00:03
it'll be funny though yeah to be honest
1:00:07
all right so hang on
1:00:13
uh we need to go back and um
1:00:16
restrict the api endpoint
1:00:22
if we play with that then there would be
1:00:24
some problems which we kind of face with
1:00:30
honest we can only restrict as so at the
1:00:37
um i'm gonna need your
1:00:41
localhost address because i think that
1:00:46
uh done through the uh
1:00:50
all righty i don't know how to do it if
1:00:52
you know how to do it that'll be amazing
1:00:55
uh i can try from my common sense i
1:01:00
i think i might know how it's done but
1:01:05
give me your localhost address
1:01:07
i'll just remove my screen and then okay
1:01:13
how do i get my localhost address again
1:01:15
sorry just my ips um
1:01:19
now just as is zero
1:01:25
zero point zero point zero point slash
1:01:30
hundred slash that
1:01:36
two eight thousand yeah
1:01:47
okay i'm gonna just go to
1:01:52
and then check if how i think it should
1:01:55
be applied if our api still works
1:02:01
whoever is doing this they've posted
1:02:05
the thing i'm pretty sure they know our
1:02:07
stuff pretty good like
1:02:09
they've been watching us regularly okay
1:02:11
so here's the thing i'm 100 sure i know
1:02:18
i am pretty damn sure as in
1:02:21
there's only one person who knows our
1:02:31
and i'm pretty sure you know
1:02:40
even he knows it but um
1:02:43
that other person was involved
1:02:46
as in right from the start
1:02:52
this is interesting one i'm having a lot
1:02:54
of fun at the moment
1:03:12
all caps for a reason yeah yeah i know i
1:03:17
i unlisted this straight away
1:03:23
this is hilarious honestly okay
1:03:54
oh it's in the options to
1:04:06
ah come on dude come on help me
1:04:10
show me some loving
1:04:16
loving api get away come on
1:04:20
our api is being spammed we need you
1:04:28
okay i think it's in that one
1:04:31
and then add a response
1:04:33
you know what'll be funny
1:04:35
this person like just makes an infinite
1:04:43
we'll see if it's api
1:04:46
i think i might delete the stack
1:04:52
um all right hang on a minute it's not
1:04:57
or it could be sam as well sam trying to
1:05:05
then we should just sit to a
1:05:11
okay was it this one
1:05:14
ah here we go this is what
1:05:18
so i think this should be only our
1:05:23
um i would need to know can you uh
1:05:31
give me the endpoint because
1:05:33
it needs to be exact
1:05:36
what do you mean locally doesn't
1:05:40
can you run the api by doing pi third
1:05:45
m http and i just need that
1:05:53
so including home.html inside it or not
1:06:01
so i'm gonna apply the url
1:06:05
um in there hopefully this so basically
1:06:09
what this would mean
1:06:14
work there we're only
1:06:16
allowing access from this
1:06:20
but how is that stopping that person to
1:06:26
i mean pretty sure that person is doing
1:06:28
it with this you are an only
1:06:30
there's no other way
1:06:35
okay we probably have to um hide our
1:06:41
that's not possible because our kind of
1:06:43
like a code is open source and
1:06:49
while streaming it it's like it's
1:06:51
literally impossible like
1:06:53
okay then that person has to stop
1:06:56
that's the only way i can think of now i
1:07:00
mean you can try working on course like
1:07:02
obviously there's a way to do that for
1:07:05
in which like only both of us are
1:07:24
maybe this would use the on servers from
1:07:28
my only allowances from my to my
1:07:33
from my own application
1:07:38
home okay so this is the one
1:07:41
one andre said andre said he told her
1:07:44
mutual friend to stop
1:07:50
thank you andre i appreciate that
1:07:57
i know who that is
1:08:00
i feel like they both have like a
1:08:02
discord channel and they stream it
1:08:05
this is like make me photos
1:08:08
uh hang on frustrated
1:08:10
to accept only connections from this one
1:08:14
and then connect from your risk
1:08:16
consuming application application only
1:08:21
this one or this one okay
1:08:24
so we need to do that
1:08:26
i'm going to apply the
1:08:29
thing over there and we can experiment
1:08:32
if that works because all right that's a
1:08:37
so one two three two cool but i'm not
1:08:40
entirely sure if i should have the
1:08:46
we should anyway i'll just do that
1:08:50
matter okay and then
1:09:08
wow i really admire our mutual
1:09:12
mutual mutual friends
1:09:14
speed though as in
1:09:16
he actually created that um
1:09:19
express app did the post method and
1:09:29
that's really incredible
1:09:34
do you want to have a go
1:09:39
already actually we should ask that
1:09:41
mutual friend and then to have a to have
1:09:47
oh no so what would you do again what
1:09:49
you do how can you so
1:09:51
i just put the ip address of um
1:10:00
which is a home one
1:10:05
allow it so in short i did this
1:10:09
show it to you guys
1:10:11
i don't know why am i just telling you
1:10:22
this is a really good exercise for us
1:10:31
learn from these kind of spamming
1:10:35
i actually i actually knew it like i was
1:10:39
previously concerned that our endpoint
1:10:41
is exposed but i was like not a lot of
1:10:43
people watching and who's gonna copy it
1:10:48
turns out there you go
1:10:52
i've done this only
1:10:55
okay so i'm only allowing everything
1:10:58
from this ip which is our home ip that's
1:11:04
like the person who's
1:11:06
who like anyone else also who might be
1:11:08
doing it they can have this ip as well
1:11:12
that's the thing i don't know that so
1:11:14
it's my first time doing this so i don't
1:11:17
know what's gonna happen
1:11:21
all right let's try it i guess um it's
1:11:24
go right i'm sharing my screen
1:11:32
let me try from postman
1:11:35
it works from postman
1:11:39
starting the server now and there you go
1:11:47
that's actually a t-shirt code as well
1:11:52
right there's nowhere
1:11:56
like one to seven point
1:12:06
i mean get the fact that i said oh 1
1:12:13
was because i got the
1:12:16
that from the stack overflow but
1:12:24
it doesn't work anymore
1:12:33
gain of course error
1:12:36
already i need to comment stuff then
1:12:53
yeah of course it wouldn't work because
1:12:56
we're using the 8 000 a completely
1:13:10
just leave that for now i guess um
1:13:12
we can come back to this stuff later on
1:13:16
i'll just put that back to
1:13:22
andre says we need to do some questions
1:13:26
uh understands we need to do some
1:13:29
all right who's in
1:13:32
let's do a stream in which we can do
1:13:33
like a push-up face-off between you and
1:13:38
that'd be awesome though i'm gonna lose
1:13:40
miserably just just putting it out there
1:13:47
i don't think so you know
1:13:50
because i lied to you
1:13:54
how much do you weigh
1:13:56
um around 60 like 59 59.60
1:14:02
the lighter you weigh the
1:14:06
easier is i think i wear around
1:14:11
oh come on that's like only thirty
1:14:13
percent difference thirty five percent
1:14:24
break up your broadcast and
1:14:27
get some energy back here we go
1:14:29
are we doing like a face off are we just
1:14:31
doing five pushups oh
1:14:51
let me know if you guys can see this
1:15:13
i can't hear you though
1:15:16
can you hear me now yes
1:15:21
all right you come let's
1:15:23
do it all right so five each all right
1:15:28
you know you know um
1:15:33
a bit lower come on don't cheat
1:15:36
no you start first then i look
1:15:52
didn't count this time
1:15:54
i was too focused doing it and i forgot
1:15:57
to count but i was counting in my heart
1:16:04
did you manage to do it in five cold yes
1:16:11
got some energy back
1:16:13
yes all right let's
1:16:18
complete i mean we got the um
1:16:23
we got the board working oh sorry we got
1:16:27
also yes hydrate as well
1:16:41
cool i'm going to assume uh
1:16:44
i see juice yeah as you share your
1:16:46
screen because you're gonna
1:16:53
and i'm just gonna make sure that the
1:16:57
yes in my speed deploys so if you want
1:17:03
you think again the posting
1:17:08
so i'm sure we are doing 1.5 hours on
1:17:14
yeah yeah it just gets um yeah
1:17:16
as we mentioned before
1:17:18
um the last half an hour we don't
1:17:20
actually get a lot of work done
1:17:26
and we just drag it out without being
1:17:31
yes and it becomes like a problem on
1:17:41
did i deploy them pretty sure
1:17:47
do you want to re hard refresh it
1:17:52
did you already do that
1:18:05
let me just make sure that i do that
1:18:32
come on api get ready show me some
1:18:37
taking too long to show me
1:18:55
anyway here what's happening
1:18:57
oh are you seeing your screen
1:19:00
api is taking its time
1:19:14
i think what i might do is um
1:19:21
end point in an in
1:19:24
environment variable
1:19:28
yeah yeah we can do that
1:19:31
come on api get away i need your loving
1:19:34
i'm desperate for it
1:19:39
you do remember this reading is pg-13
1:19:45
is it i didn't okay i'll shut up i'll
1:19:56
but like 13 year olds can code as well
1:20:00
even six year olds can code man yeah
1:20:04
when did you start coding then like when
1:20:06
was the first program you wrote
1:20:14
i wrote my first program when i was in
1:20:16
my first year of uni
1:20:19
oh so you didn't have you didn't have
1:20:21
any prior experience like no
1:20:25
so then why did you get into it
1:20:30
loved tech and i love solving problems
1:20:33
but i also love traveling
1:20:36
so initially i wanted to be a pilot
1:20:40
um out i was under the impression of
1:20:43
that because i've got a stammer then in
1:20:46
the case of emergencies if i don't speak
1:20:54
that's when i thought okay
1:20:57
what else can i incorporate in problem
1:21:01
and programming was the answer
1:21:04
that's pretty cool nice
1:21:07
thanks man how about you
1:21:09
i didn't what got you into programming
1:21:15
i don't know if you know
1:21:16
there there is a language called q basic
1:21:23
really really really trivial like
1:21:26
you weren't even willing how trivial it
1:21:27
is um it's just like uh we started doing
1:21:33
like our school headed mandatory
1:21:35
um and that's in back in india right
1:21:40
yeah so we had it mandatory and then in
1:21:45
i took computer science uh we had an
1:21:49
then we started doing java and uh we had
1:21:52
to do logics as well
1:21:57
so i guess ah i say
1:21:58
right from grade six like i started i
1:22:02
wrote my first program but
1:22:04
first high level and like proper
1:22:05
programming i started in grade nine
1:22:11
yeah and then she just fell in love with
1:22:14
yeah so i kind of started my whole the
1:22:18
like tech career or you could say like
1:22:21
tech journey by getting into
1:22:27
in my high school i
1:22:29
got a bit of spare time and i tried
1:22:32
certified ethical hacker course
1:22:35
which i thought certainly was able to
1:22:37
like get the certificate and stuff
1:22:40
like after a while i realized like uh i
1:22:43
can't sit like i don't have that much
1:22:45
patience like i can't sit
1:22:47
pen test to wait for 24 hours like
1:22:55
yeah so after like my grade 11 i
1:22:57
switched to software dev
1:23:00
ah okay so that's how it all began
1:23:11
that's and i can tell that you really
1:23:18
yeah i mean um you put a little bit into
1:23:23
yeah like you get to create stuff from
1:23:25
scratch what's better yeah yeah yeah as
1:23:31
reality isn't it for sure
1:23:34
all right i i really mocked my sister
1:23:37
like she's into like management stuff
1:23:39
yeah so i keep i say like um
1:23:42
like you have to follow so many rules
1:23:44
and blah blah blah
1:23:49
go ahead and create stuff
1:23:53
and then just randomly yeah yeah yes
1:23:59
so if you just want to go and test it
1:24:01
and see what happens
1:24:03
if this doesn't do it but it would have
1:24:12
oh yeah deployment do again
1:24:16
come on api get away
1:24:19
you let me try it on incognito
1:24:22
yeah try that because it might also be a
1:24:27
i don't want to clear my cash
1:24:33
i literally deployed but i don't know
1:24:39
that makes sense man because
1:24:41
i've been there down there as well
1:24:43
no no i'm just kidding i couldn't fire
1:24:45
up a vm and doing than that
1:24:48
uh well why is it taking this long
1:24:54
re-initialize the server
1:25:24
that's not happening
1:25:29
we would have to redeploy it
1:25:32
you don't try it on your end once just
1:25:36
yeah i can um i'd have to
1:25:40
open up the repo first then just bear
1:25:50
on my end if i do it
1:25:55
yeah i don't know why
1:25:57
star it doesn't work my end
1:26:40
will be hilarious if this doesn't work
1:26:56
all right let me go into client
1:27:00
oh come on i was just waiting for you to
1:27:07
i'll let zed start the server play
1:27:09
around for five minutes
1:27:16
then zayn is back on his
1:27:23
we have two minutes left apparently
1:27:27
check if i'm getting the call there as
1:27:29
well hopefully not
1:27:35
come on come on come on
1:27:37
i think you have to enable chords again
1:27:40
uh if if you know what i mean
1:27:47
what is saying one
1:27:53
i know don't worry
1:27:55
all right it will still show up ah
1:27:59
it's working working
1:28:03
and not necessarily the board didn't go
1:28:05
through it let me see if the board
1:28:08
it did the bar graph is
1:28:12
that's the main thing which i'm just
1:28:30
okay i'm gonna come back
1:28:54
i just saw it right
1:28:57
we'll have to do it tomorrow now
1:29:00
yeah that's all good
1:29:06
many thanks to our
1:29:11
you can mention mention them in the blog
1:29:17
all right cool um thanks a lot guys for
1:29:22
uh hundredth thank you for your
1:29:26
tips and um making us
1:29:31
new again and thanks to our mutual
1:29:34
friend as well who actually um made us
1:29:43
now we need to back track of it and
1:29:46
deploy the api again to
1:29:50
remove the cause arrow but we'll come
1:29:53
back to that tomorrow
1:29:59
viewers who tuned in um
1:30:03
so just a bit of an update our swag
1:30:08
tomorrow i believe
1:30:15
we will give you guys as in a
1:30:18
link on our um youtube and twitch
1:30:24
yeah we'll keep you posted um have you
1:30:27
got anything to add k
1:30:29
ah i guess uh today was pretty good we
1:30:33
get the response back that means we'll
1:30:35
able to append it to all the
1:30:37
requests from now um i guess easy thanks
1:30:41
i guess you just put us on the right
1:30:43
track to get it done else we would be
1:30:45
taking the whole stream to get it done
1:30:48
and yeah thanks to that
1:30:50
certain someone as well who works
1:30:52
for some big cloud company which we
1:30:57
but yeah i guess um it's kind of
1:30:59
important that if we we are growing our
1:31:01
viewer population then we
1:31:04
restrict our exposed endpoints so
1:31:08
it's literally you know good that you
1:31:10
pointed that out and
1:31:12
um i don't think that's really
1:31:13
backtracking we we had to do it at some
1:31:26
yeah and really excited for the merch um
1:31:29
and you'll see us streaming we're in
1:31:31
that as well and uh
1:31:33
i guess i have a feeling that tomorrow
1:31:36
we complete 40 episodes i have a feeling
1:31:42
yeah that's actually pretty good i'm
1:31:43
really looking forward to the 50th one
1:31:45
for sure that's like a milestone
1:31:49
me too and i think
1:31:50
we should do that one
1:31:53
a kind of in a really different way but
1:31:56
yeah let's do something
1:31:58
but yeah we will plan it
1:32:00
yeah that's like um
1:32:02
like 20 percent of the year we were um
1:32:06
what do you call it like we were live
1:32:09
that's yeah cool consistently
1:32:11
yeah um i guess in 10 days we'll have
1:32:17
we'll probably do something special for
1:32:21
we'll see us in our merch really soon
1:32:24
so um yeah thanks guys for joining in
1:32:27
thanks everyone thanks andre and
1:32:31
um that's hurting someone anonymous
1:32:40
right guys um so we'll see you back here
1:32:43
if you guys can make it please do uh
1:32:48
same place and a different task so we
1:32:52
from there wherever you are
1:32:55
in the world have a good morning
1:32:57
afternoon all night but in terms of
1:33:00
have a great night and we'll see you
1:33:03
all right see you tomorrow everyone good