0:00:23
alrighty welcome back everyone welcome
0:00:25
back to another episode of pillbreak and
0:00:28
um of course to all those people who are
0:00:31
we are door chorus means we are tr
0:00:34
developers from melbourne australia and
0:00:37
we've been working on a project which
0:00:39
adds persistent storage to a current
0:00:41
open source project
0:00:43
which is called scrambler ca
0:00:46
and yes welcome back punish good to have
0:00:48
you again um hey guys that's always fun
0:00:52
um to have more people around
0:00:54
and yes if you're wondering what stacks
0:00:56
have been working on our back-end is
0:00:58
made up of express.js mostly
0:01:01
that is the core of it um and are using
0:01:05
dynamodb database um obviously deployed
0:01:08
on aws as a serverless architecture
0:01:12
application and currently we've been
0:01:14
working on the front end
0:01:17
which uh none of us are really
0:01:23
that has been fun we've been working on
0:01:25
a lot of javascript just pure logic and
0:01:29
and uh yeah looking how we come along
0:01:32
with that so how are you feeling today
0:01:41
intro as of osk and um yeah really
0:01:45
good to have you again
0:01:47
on this show finish
0:01:54
more the mirror of which adds additional
0:01:57
fun right before continuing um uh just
0:02:01
to the um acknowledgement of the
0:02:06
um so i would share my screen
0:02:11
and then do it just bear with me for a
0:02:14
second i need to find out
0:02:39
right so here goes if
0:02:42
acknowledgement of the country that's
0:02:47
error i still have to fix this um
0:02:51
i begin today by acknowledging the
0:02:54
traditional custodians of the land on
0:02:56
which we gather today and pay my
0:02:59
respects to the elders past
0:03:06
i extend that respect to aboriginal and
0:03:09
torres strait islander people here today
0:03:21
that's done just um
0:03:24
to give a bit of a recap
0:03:27
kartik do you wanna
0:03:30
the recap as in what we did yesterday
0:03:36
i think we worked mostly on the stuff
0:03:40
um resolving the whole promise thing and
0:03:42
getting the promised data
0:03:44
to show up and i think by part we came
0:03:48
across a lot of jquery stuff but i don't
0:03:50
think that's the best approach right now
0:03:54
but yeah the whole point we're trying to
0:03:56
solve is to just get the
0:03:57
promised result to show up and i think
0:03:59
we're pretty close to that there's just
0:04:02
one thing which needs to be formatted
0:04:04
correctly either it's through the back
0:04:06
end or to the front end and i think the
0:04:08
json data should show up
0:04:12
obviously i understand like we we all
0:04:14
are doing this for the first time
0:04:17
yeah it might take a bit of time it is
0:04:19
an easy task in general once we get the
0:04:21
hold of it then like acing through
0:04:23
everything just bringing up everything
0:04:25
from the back end wouldn't be hard
0:04:35
what are your thoughts
0:04:40
um yeah i think uh
0:04:47
not at the moment i think uh you know be
0:04:49
good to see the code and then uh work
0:04:53
fantastic um welcome gag them good to
0:04:58
yes he will be getting uh a raw coders
0:05:03
very very soon which will be fantastic
0:05:08
right jade do you want to
0:05:11
go ahead and change your screen um i
0:05:15
your turn today uh it's
0:05:18
good that everyone
0:05:19
gets to be hands on equally which is
0:05:27
just want to be famous
0:05:30
there so i don't wanna learn anything i
0:05:33
wanna have followers
0:05:39
all right do you want to be famous for
0:05:44
i think why years ago
0:05:47
she click on this link
0:05:52
take us through some
0:05:58
because um the thing is here i did
0:06:02
try that once and it didn't really end
0:06:09
i would imagine so
0:06:13
all right okay did you push up the code
0:06:17
i should have yes all right is it not
0:06:21
no i'm just asking before i do it
0:06:24
oh when is my screen
0:06:27
yeah i'm just moving my stuff around so
0:06:30
cool you guys get a good view
0:06:32
bring it that's really good
0:06:35
all right i have to go on in 30 minutes
0:06:40
so this is your dinner time as well now
0:06:48
oh yeah that's true if the name
0:06:53
i don't eat except the snacks
0:06:57
yeah i forgot people in australia have
0:06:59
dinner like really really early
0:07:03
yeah it's a bit late
0:07:10
i either have early or
0:07:16
and then i like to have my as in
0:07:23
give the food the time it deserves
0:07:27
true yeah for for my clock it's still 5
0:07:30
p.m so i'm still having it early
0:07:38
you know you didn't get what i said
0:07:41
no it's talking about time zone yeah
0:07:47
it's still 5 p.m in the evening
0:07:54
right right i get it now i get it
0:08:21
okay i think i need to do
0:08:23
give me one second
0:08:48
um what did you guys add yesterday by
0:09:00
return we were returning the response
0:09:05
earlier than we should have
0:09:11
by that what i mean is um
0:09:17
we got the response but then
0:09:21
for the promise to be completed
0:09:24
if we were returning it before the
0:09:34
if you see the code um you probably
0:09:42
why you talking about the
0:09:44
code is a lot easier than you explained
0:09:48
so just bear that in mind
0:09:55
i just want to try doing one thing
0:10:00
you know how the post function has this
0:10:02
note name are we able to return this
0:10:10
i don't think we are returning the note
0:10:13
name but i'll be able to like should be
0:10:26
the response value
0:10:31
to go name yeah that makes sense
0:10:38
sorry that's exactly where
0:10:41
i go when i took mine the first time as
0:10:44
in the practice essay exam
0:10:49
like am i that useless
0:10:54
but then it turned out that based on
0:11:07
details that are not relevant and that
0:11:11
would actually force you to choose the
0:11:13
incorrect answer but yeah
0:11:17
i learned it the hard way
0:11:19
and i'm just giving you the tip to pass
0:11:54
i was going to take it tomorrow i'm
0:11:56
going to wait till now
0:12:03
yeah surely get deaf i will
0:12:09
have to book an exam and then start
0:12:32
just trying to see if it comes true or
0:12:41
so we're basically testing if the board
0:12:45
name comes through the post board name
0:12:51
yeah why is it not printing that's
0:12:56
it's not even is that even being called
0:13:00
um you're calling in the body
0:13:16
honestly i can do that
0:13:38
sorry by the way just so you
0:13:42
that's exactly how
0:13:47
just passing marks because i
0:13:50
ran into much detail i i read
0:13:54
most of the fakes and document pages as
0:14:03
i might have to go for one second
0:14:05
you guys share your screen and try to
0:14:08
get something i'll be back
0:14:17
so i'll share my screen
0:14:22
pps code when it does that's my actually
0:14:26
i'll just open it up now
0:14:39
that's the blog one that we're working
0:14:54
should be all up today perfect
0:15:02
so we are working on the concept that we
0:15:10
yeah yeah and the heading
0:15:16
shouldn't really need the script tag in
0:15:25
saying can you hear me
0:15:28
come on could have a look at that still
0:15:42
maybe the i can have a look at the post
0:15:44
board name method as well actually
0:16:12
maybe could we change the return to what
0:16:16
for the get board name
0:16:28
don't need that anymore
0:16:43
how did we do that here
0:16:45
oh we just didn't then
0:17:01
we can get with the response
0:17:03
and then we took from the response
0:17:38
actually what i'm gonna do is do this
0:17:51
let's see this one pause board name
0:18:56
is that what you were saying finesse
0:19:00
yeah yeah that can
0:19:03
let's have a look at uh um they get bot
0:19:06
id one again sorry just
0:19:21
i need to include that as a function
0:19:31
which i didn't do up here
0:19:42
would you then also return the the
0:19:44
response that board name
0:20:04
i'll just give you this code if you want
0:20:09
maybe if you want it's already there
0:20:10
just try running it and see what you get
0:20:12
if not we'll try a different approach
0:20:19
i'm saying will that work actually
0:20:23
could we put the return inside the
0:20:25
inside the bracket or
0:20:30
try that but it won't
0:20:32
work and the reason is
0:20:36
that when we did this
0:20:38
as in in the get bored by id method
0:20:42
because we are returning it because uh
0:20:46
before the promise has been fulfilled
0:21:00
please let's just try this and see what
0:21:17
that happens sometimes
0:21:20
what happens is that he opens the
0:21:33
very anticlimactic then
0:21:40
even though it was anticlimactic
0:21:44
yes right um go back
0:21:53
yes i played with is recognition
0:21:56
last year when i was
0:21:57
creating like a small workshop to run at
0:22:02
yeah it's pretty fun
0:22:04
so the whole app was basically like
0:22:06
just photo detection what's in the image
0:22:10
and printing it in the list
0:22:19
i think i remember that
0:22:26
no no i was just like part of the
0:22:34
wait you were talking about the monash
0:22:36
and uni melbourne right
0:22:38
yeah yeah that one though okay i
0:22:40
organized one more after that at rmit
0:22:44
oh okay so that's when i actually
0:22:50
but yeah it's pretty fun though
0:23:04
did that work sorry
0:23:33
there used to be value there and this
0:23:40
okay let's try that if that brings up
0:24:08
what did you guys have for dinner
0:24:13
nice great pasta yeah
0:24:18
grilled fish boiled veggies rice
0:24:26
very nice sounds awesome
0:24:29
it was really fulfilling
0:24:35
let's see if this baby works
0:24:40
no what do you have in karthik
0:24:42
um chicken biryani
0:24:44
oh nice oh oh you had to ask him finish
0:24:49
one of my favorites
0:24:52
and with red bull so i got this deal on
0:24:54
a breeze okay by the way it's not
0:24:59
um it was like one plus one so if i get
0:25:01
one chicken in biryani they send one for
0:25:06
great that's a good deal wow
0:25:08
yeah yeah like an order now and it was
0:25:11
just like 20 dollars so like that's
0:25:12
actually the price of one biryani
0:25:21
right i could argue that point because
0:25:24
not the price of one biryani it's a lot
0:25:27
cheaper than that but um it depends
0:25:30
where you get it from as well yeah yeah
0:25:32
fair enough yeah what if i already find
0:25:35
the cord in the video
0:25:37
and that will work
0:25:39
um i don't think so
0:25:40
that'll be the best approach with
0:25:42
recognition but you can create like
0:25:44
lambda functions to do that for sure
0:25:49
it is possible for sure
0:25:52
until what i've tried recognition is
0:26:07
recognition is only favorable for
0:26:09
identifying objects
0:26:11
um but if you want to read code then
0:26:15
text readers which aws has to offer you
0:26:17
can run them like every two seconds
0:26:23
that makes sense though
0:26:26
finesse um in that approach in
0:26:29
doesn't do nothing i'm pressing go at
0:26:34
it's not basically doing
0:26:40
could we maybe try
0:26:44
do this could we do the same thing maybe
0:26:46
what you guys did in get board id
0:26:49
add a variable outside and then just
0:26:51
return the variable instead
0:26:59
where is the port post name
0:27:04
let me just google one thing
0:27:08
there we go this one
0:27:12
return that over there
0:27:28
will that work and i was thinking more
0:27:31
we can try this but i was thinking more
0:27:33
like what you guys did with the with get
0:27:35
bored id like at the variable at the
0:27:39
um before the fetch and then
0:27:45
let's do that as well
0:27:47
um because we're not using this response
0:27:51
status anymore at the moment i'll just
0:28:31
let's try that one now
0:28:33
sorry i'm saying the
0:28:36
the spelling of the return in in posted
0:28:39
porn i mean it's a little bit off
0:28:41
you did post instead of posted on 9 15.
0:28:47
thanks for pointing
0:28:57
eyes instead of two
0:29:05
all right i'm just gonna watch one video
0:29:07
on this give me one sec
0:29:10
yeah cool i'll let you know if it's
0:29:33
okay can you mute the um
0:29:39
oh sorry i'm am i not in mute sorry
0:29:45
that's interesting that doesn't even
0:29:55
doing something with pause button board
0:29:59
i'm not getting this
0:30:03
as an aunt we supposed to do play around
0:30:06
with rolling jetboard id
0:30:20
you guys there yeah yeah yeah yeah no i
0:30:24
was just thinking um
0:30:28
karthik you were you were um
0:30:32
doing once you're using post board uh
0:30:35
name earlier in the uh
0:30:38
when you would when you're adding
0:30:39
something to home or index actually yeah
0:30:42
so what i was trying to do is to just
0:30:44
try because i know for a fact that post
0:30:46
board name returns it properly
0:30:49
um if you go down a little you can see a
0:30:51
return post board name
0:30:53
um and that works perfect
0:30:57
so what i was trying to do is just try
0:30:59
to do this in index.html see if you can
0:31:03
board name to display
0:31:08
see you're saying this works
0:31:12
yes it like but i'm not sure if you call
0:31:14
it from index.html will it return the
0:31:18
so when i'm so you
0:31:21
do you mean when i press go
0:31:25
this message should be triggered right
0:31:28
now when you press go and go to the next
0:31:30
page which is index.html
0:31:32
write a script tag and try calling post
0:31:34
board name from there
0:31:39
oh okay i'm not entirely sure where are
0:31:45
this one let's just
0:31:47
do it with the approach is just to see
0:31:49
that are we actually able to call these
0:31:51
functions from index.html or not
0:31:59
um i think we all already are because i
0:32:03
don't know if you noticed
0:32:06
when we were getting the get bored id
0:32:13
logging the board name it was actually
0:32:16
being as in displayed in
0:32:22
so why aren't we able to display it in
0:32:25
that's the mystery that we all are
0:32:27
trying to solve yeah so that's why i was
0:32:29
recommending maybe we can try with the
0:32:38
they are the only issues that even post
0:32:40
name doesn't return it in adjacent
0:32:42
format from the backend
0:32:44
it returns it as text
0:32:54
know that the functions are being called
0:32:57
index.html why are we changing
0:33:03
as in trying to get the result that one
0:33:06
function can already give us
0:33:14
i didn't sorry i didn't enough okay so
0:33:18
you know how you said that the only
0:33:20
reason we're trying it with the post
0:33:26
is to ensure that the javascript
0:33:29
functions are actually being called in
0:33:35
and to see like the whole um
0:33:38
exchange of data is happening properly
0:33:40
the return also working properly
0:33:43
and that's what's not happening
0:33:44
correctly in get bored by id
0:33:50
right i probably think we are not on the
0:33:55
because what i was under the impression
0:33:57
until now is that the
0:34:00
gap board id is actually giving us the
0:34:03
data we want but we are
0:34:07
just not being able to
0:34:13
on the page itself
0:34:17
yeah so that's what i'm saying right try
0:34:19
it with post board and
0:34:20
that i'm saying that because post board
0:34:23
is returning the board name in a text
0:34:26
and get bored by id is returning the
0:34:29
board in a json format so that's where
0:34:31
we can see the differences between
0:34:36
ah i see i see oh okay yeah yeah i think
0:34:39
where you came from
0:34:41
oh okay yeah yeah i get what you mean as
0:34:43
well so maybe we should just undo the
0:34:46
changes we did uh it's still front end
0:34:58
yeah sorry oh i think you're right might
0:35:00
as well just do that that's why um i'm
0:35:03
just gonna watch a video
0:35:06
i have zero information on how to do
0:35:09
um well i'll be yeah i'm all in here and
0:35:12
just watching a video
0:35:22
okay here we go cool
0:35:34
uh this should be it isn't it yeah yeah
0:35:38
that looks right yeah
0:35:41
okay so first text then
0:35:58
actually if we remove this one
0:36:32
let's hold unlock it and see what this
0:36:41
actually tori makes a good point why
0:36:42
don't we return everything in uh
0:36:45
in json format for consistency is that
0:37:02
want to take that approach
0:37:06
shouldn't be working with possible name
0:37:11
if you want to work with
0:37:14
jason which should ideally be the case
0:37:24
we went back to the back end and changed
0:37:26
everything to returning jason didn't we
0:37:33
is there any api tester
0:37:44
do you mean postman or
0:37:49
now there are things like um maybe soap
0:37:54
i don't know i'm just trying to see how
0:37:56
i think serp is for restful
0:38:04
i think postman is the only thing then
0:38:10
you can let's just give this a go for
0:38:13
now yeah let's keep going here
0:38:16
um i need to give my
0:38:19
mac some juice some
0:38:21
sweet juice my flatmate's so nice he
0:38:24
just came to me and he's like
0:38:27
i got this desert and i can't finish it
0:38:29
so he's like oh yeah there you go have
0:38:36
i don't know how to pronounce this but
0:38:37
yeah pretty sure you guys have had this
0:38:40
yeah i've had not not from there but
0:38:42
yeah i've had the it's like a type of
0:38:44
donut greek doughnut right all right
0:38:47
wait here it is then
0:38:49
you probably had this what's this
0:38:54
i don't know no i haven't
0:39:08
gonna be my this week's
0:39:26
okay so that's not
0:39:31
giving us what we want
0:39:33
is that a sponsor okay
0:39:43
no that's not no no
0:39:51
we have literally mentioned
0:39:53
five brands in the stream and you like
0:39:56
just flattening red bull casually
0:40:05
isn't even an energy drink is
0:40:10
some company who makes it energy drink
0:40:13
but red bull just gets it in the cans
0:40:18
yeah it's like a marketing company
0:40:21
technically yeah yeah exactly
0:40:31
so we will probably have to stop this
0:40:41
come on baby go work for us
0:40:48
how is the go function being called from
0:41:14
so we probably have to
0:41:17
do it from the body isn't it
0:41:28
you know what guys i'm just
0:41:33
because we were nearly there and now
0:41:37
we're just going backwards yeah
0:41:40
can i give it a try though
0:41:42
okay yeah yeah go for it
0:41:47
what happens when um
0:41:49
i started well i was gonna just ask um
0:41:52
what happens when you try to do
0:41:55
uh to console.log getport this id
0:42:01
us yeah from index
0:42:05
what does the show is
0:42:09
do you guys have um
0:42:13
okay yeah what do you want me to try
0:42:16
uh are you just going to screen
0:42:20
or if you have already set it up you can
0:42:26
let me just find that method first
0:42:34
what were you saying finesse
0:42:37
i just wanted to see what what logs when
0:42:40
you call get boards get board id from
0:42:46
okay cool um to test that one i'm just
0:42:54
giving us the right
0:43:00
i don't want this passport name
0:43:37
actually you know what i'm gonna do i'm
0:43:45
for this because it's just messing
0:44:17
i sway was coming just
0:44:21
didn't you see config
0:44:25
um i'm not seeing your screen sorry
0:44:29
i i can see it now i can see okay
0:44:35
name was actually coming here
0:44:38
ah because we are not
0:44:42
we are returning you here
0:45:04
is there not coming up anymore
0:45:06
actually what i'm gonna do is
0:45:10
it's coming up with some
0:45:12
board name from id
0:45:36
can you see my screen
0:45:43
yeah zan sharing at the moment
0:45:54
i didn't even i didn't even say the word
0:46:03
so dodgy right like sometimes
0:46:08
yeah so i'm just trying to make a thing
0:46:12
oh let me just make this function real
0:46:15
and still front end
0:46:18
i'm just making a dummy function don't
0:46:24
sorry what appeared as a when you did
0:46:27
what appeared when you did the console
0:46:43
yeah get bored id yeah when you ran that
0:46:45
function what happened yes
0:46:48
job board id appeared
0:46:58
i swear this was working yes today
0:47:16
keyboard id board id
0:47:44
come on same thing think think
0:47:53
if i don't post borden name
0:48:02
when it could when it goes into get
0:48:04
bored id it goes into get
0:48:19
i'm just trying to support
0:48:21
something has happened basically
0:48:23
overnight that this person isn't working
0:48:30
i'm getting something here
0:48:36
my page is loading indefinitely
0:48:45
let's see if this works
0:49:05
and this one's once value
0:49:14
okay i'm able to display it can you see
0:49:20
it's showing undefined i know it's
0:49:22
reloading indefinitely but i'll solve it
0:49:24
can you zoom in a bike
0:49:30
it's coming undefined if i click it
0:49:39
what did you do there um i said display
0:49:46
yeah one second i'm just gonna try it
0:49:59
oh i know why it's loading indefinite oh
0:50:12
so you're gonna keep that as a button
0:50:15
um just for now i just wanna see if this
0:50:18
thing actually works
0:50:22
if the whole premise works or not that's
0:50:42
okay i need to stop this whole reloading
0:50:47
is this because of this
0:50:54
you you're an index still html right
0:50:58
so i think that that that keeps on
0:51:00
reloading because you've got that on the
0:51:03
body tag and as long as you're gonna see
0:51:06
the page yeah it will keep reloading
0:51:10
can i put this on the head tag is that a
0:51:14
i don't know but try that
0:51:38
no that's fine that's fine don't worry
0:51:44
i just want to comment it on and see if
0:51:45
it's happening because of this
0:51:52
still getting depressed
0:52:02
like did you change
0:52:16
where are you calling the display board
0:52:20
index statistic oh right so you're
0:52:24
basically creating a function in there
0:52:28
you're calling it here hmm
0:52:33
i'm not sure why that happened
0:52:41
wow so it keeps reloading that that
0:52:52
i don't think so there's any for loop in
0:53:07
i didn't mess here a little
0:53:09
i think ah here we go then
0:53:22
i'm just going to go back to where it
0:53:23
goes and see what happens
0:53:26
but that's probably it what
0:53:32
hard refresh you may just be the case
0:53:36
i open a new on in call me to tab
0:53:48
comparer and compare the code
0:53:51
to see if anything you
0:53:55
changed but can't remember
0:53:58
okay i just took out the script bag
0:54:06
oh i think this is what's causing the
0:54:08
problem okay now i get it
0:54:20
so he like kept posting the ball oh
0:54:23
you know what if you open zen's whole
0:54:26
thing now it's going to be like a
0:54:27
hundred thousand boards
0:54:29
let me check actually
0:54:34
hey we need to apply for for the star
0:54:41
okay there we go um still coming as
0:54:43
undefined but that's okay
0:54:50
claiming status 204 that means
0:54:53
not the backend's fault
0:54:59
let me just see what's happening in
0:55:06
what if i just print the whole thing
0:55:08
is this an actual board id can you send
0:55:11
me a board ids and i can't open the url
0:55:17
literally 50 boards now
0:55:20
just send me one more id please
0:55:37
send it to you in the chat
0:56:12
i can smell your briony here and now i'm
0:56:16
would you like to live really close to
0:56:20
yeah just a block away
0:56:23
okay it's coming i just need to
0:56:26
see if i can go ahead and write dot
0:56:51
how do i access the promises well one
0:56:54
now what i'm gonna do is i'm gonna
0:57:06
see what this console logs for us
0:57:19
okay i know why that does that
0:57:25
give me one second please
0:57:29
just gonna take this out from here
0:57:32
and i'm gonna put this here
0:57:38
what i'm gonna do is
0:57:43
i'm going to assign it to this
0:57:58
so you're essentially making the button
0:58:03
right right yeah yeah that makes sense
0:58:09
okay let's see what happens if we click
0:58:15
object promise okay
0:58:26
what does it return from the backend let
0:58:29
me just go ahead and see what's in the
0:58:35
is it a text or is it a json
0:58:44
i remember here to commence on it got it
0:58:47
here uh post board
0:58:49
and restarts and jason
0:58:56
board id i don't know okay yeah we we
0:58:59
planted it on board id only
0:59:04
go away backhand we don't need you
0:59:10
okay um if i go and do node
0:59:43
i assure you in this code base there's a
0:59:55
goodness be able to save this statement
0:59:59
in a lot of things in this code base
1:00:04
but that's powerful
1:00:07
learning isn't it if you don't make
1:00:09
mistakes we're not learning so we're
1:00:12
still learning with
1:00:16
oh by going to access the board
1:00:20
it's consoled on logging it
1:00:48
it's only learning if you fix the
1:00:54
it depends on what kind of a
1:00:56
time skill you have for the
1:00:59
release of the mvp isn't it
1:01:07
all right i'll probably get to hear
1:01:09
something from gag them now you watch
1:01:26
is that how you do something
1:01:34
yes but why do we need to
1:01:38
chase this stringy party display
1:01:41
it's coming in controller log
1:01:45
not coming up here it's an object
1:01:48
yeah i can't see it as an excuse zoomed
1:01:54
um then console the consoles sorry
1:02:09
it says line 75 is a success that means
1:02:13
okay the actual thing
1:02:22
we can be a little bit cheeky
1:02:34
i'm just gonna write this whole thing
1:02:49
totally agree with you um
1:02:54
joking around we will fix um
1:02:58
as much as as much as possible
1:03:12
that's trying to be cheeky give me one
1:03:17
let's go we'll call it on load
1:03:27
that's fine about if you make
1:03:45
are you guys trying to get what i mean
1:03:46
though like look at what i'm trying to
1:03:52
how about you finish
1:03:54
no i'm a bit confused um
1:03:59
i just made it a global variable really
1:04:08
let's see what happens here
1:04:14
yeah so now what's gonna happen is that
1:04:17
when postport name gets called
1:04:21
it would display the
1:04:24
you won't display them my name is board
1:04:30
but what it's gonna display is the
1:04:36
which is a global variable
1:04:38
now so if that's the whole issue then we
1:04:43
it's gonna control the log response
1:05:07
response value is not defined
1:05:11
um go back in it might not be
1:05:19
do i need to write it up
1:05:22
no no don't you go off for a minute
1:05:25
yeah wait how are you oh so you're
1:05:30
before you ever start um
1:05:35
so you know in that function
1:05:39
display board names
1:05:41
see how you choosing the response topic
1:05:45
response underscore value in line seven
1:05:50
but you're if you go down you're
1:05:52
declaring it after you're using it which
1:05:56
is oh i don't know
1:05:58
yeah there we go no i spent i'll spend
1:06:02
that was a problem
1:06:27
this code is so stubborn
1:06:31
oh okay i know why
1:06:34
but when i console the log this whole
1:06:36
thing it comes as a string and it does
1:06:40
that's like the worst part
1:06:43
here i can't see oh yeah sorry you stay
1:06:49
so it's his prince
1:06:51
it's prince in but it's not giving out
1:06:53
the name of the board itself
1:06:55
we need the id uh at least what is it
1:06:58
but yeah i i go i get a point
1:07:05
isn't that amazing
1:07:08
that's pretty fascinating stuff
1:07:11
but welcome to the development world
1:07:14
when we were doing it here remember on
1:07:18
it used to return stuff do you remember
1:07:23
yes that's why i'm really as in confused
1:07:26
and last night it was
1:07:30
actually printing out the name itself
1:07:33
but now it doesn't do that
1:07:36
yeah it literally used to
1:07:39
i'll show you what i mean when we used
1:07:46
like when we used to do it like in a
1:08:05
where are we assigning response value
1:08:12
oh yeah there you go that's response
1:08:15
which is essentially the result of the
1:08:34
display here like i think so
1:08:36
that's what i remember what used to
1:08:40
i don't i don't know if you remember or
1:08:45
that's what used to happen essentially
1:08:49
yes as far as i can remember that it it
1:08:52
did used to display the board id and the
1:08:55
board name as well associated yeah
1:09:11
let's try let's see what we got here
1:09:25
object promise that's promising
1:09:30
expand the port id and
1:09:33
does any show there the promise
1:09:42
so it does give the board id we just
1:09:44
need to see how we can access the
1:09:57
that's fine we can continue on this um
1:10:08
on time as well if you guys get a chance
1:10:11
to do that as well um
1:10:14
feel free to do stuff
1:10:42
what did this guy have to say this is a
1:10:44
expected result when you return a new
1:10:46
promise object will always be a promise
1:10:51
zelda promise by using the den method
1:10:55
or using await in an async function
1:11:01
called when trash if the result is made
1:11:05
then it'll happen to call resolve
1:11:11
what is this guy has done new promise
1:11:20
really interesting stuff
1:11:30
it's kind of sad that it's not working
1:11:38
one thing and see if it works
1:11:43
just turn it 10 calls and show long
1:11:46
returns and you promise you can further
1:12:06
okay um yeah probably gonna come back to
1:12:12
yep that sounds about right
1:12:22
just don't feel like closing the tabs
1:12:26
uh i'm gonna stop sharing
1:12:34
yeah all right guys um
1:12:38
thanks to all the viewers and everyone
1:12:42
joined as always i've been a pleasure
1:12:51
a lot of things that we have done just
1:12:54
before the release we just want to get
1:12:57
working as soon as possible
1:12:59
and then go back to using refactoring
1:13:03
everything else just before as you roll
1:13:07
but yeah it's been a productive um
1:13:12
now i know why you
1:13:15
go to sleep at five or six in the
1:13:22
you know why is that
1:13:25
because i'm resolving slumber ca bugs
1:13:32
yeah that is the reason
1:13:47
uh that was a good session um
1:13:51
be good to have a look at the code see
1:13:53
what's up with it i think
1:13:56
i don't know could be something with the
1:14:03
you know i'll have a look into that um
1:14:06
but yeah it's been a good session and uh
1:14:07
yeah yeah to work on it next time
1:14:10
appreciate that make sense cool yeah um
1:14:15
you'll come back tomorrow and i think we
1:14:16
won't be streaming tomorrow is that
1:14:19
no we won't because um uh
1:14:23
yeah of course some other work
1:14:25
commitments we're doing the upgrade as
1:14:28
in over the weekend so
1:14:34
the upgrade will be starting at half six
1:14:39
i don't know how long we would have to
1:14:41
go throughout the night but let's see
1:14:47
tomorrow a day but we will come back
1:14:52
and saturday is officially the 100th
1:14:57
forget to join us guys
1:15:02
and if you can make it finish is spoiled
1:15:06
that'd be fun times free
1:15:14
thanks again and we'll see you back here
1:15:17
on our silver jubilee
1:15:20
i think he is or not
1:15:26
ah right my bad i think so
1:15:36
a hundred year century of it no
1:15:39
century platinum jubilee i don't know
1:15:50
see you back here same time
1:15:55
and same task for the last time
1:16:02
all right guys have a good night
1:16:04
everyone all right
1:16:06
see you guys good night