0:00:28
what is going on guys welcome back to
0:00:31
another session of buildbreaking fix
0:00:35
the two of the raw coders
0:00:39
how are we feeling here today
0:00:41
pretty good pretty good uh had a bit of
0:00:45
um but uh yeah good we could end the
0:00:48
evening to this note so
0:00:50
on the stream how are you doing
0:00:53
fantastic yeah i'm doing pretty good as
0:00:56
well being a bit more productive as in
0:00:58
morning after afternoon and
0:01:05
looking forward to getting some things
0:01:09
i will see how i go with our target
0:01:14
yep for sure for sure that sounds good
0:01:17
fantastic all right so first thing is
0:01:21
let's acknowledge the country and pay
0:01:23
our respects to the elders so here we go
0:01:27
i begin today by acknowledging the
0:01:29
traditional custodians of the land on
0:01:31
which we gather today and pay my
0:01:33
respects to the elders past present and
0:01:36
future i extend their respect to
0:01:38
aboriginal and torres strait islander
0:01:46
that was smoothly done um
0:01:53
hey kingdom how's it going
0:01:59
cool uh so all right let's get dev
0:02:03
choose a letter and then we can perform
0:02:12
i don't know how for for me this week
0:02:14
was really really fast didn't even
0:02:16
realize it's friday already
0:02:19
welcome to full-time work life man
0:02:23
yeah like on top of that it's just one
0:02:25
of those weeks oh you just don't realize
0:02:27
hey it's monday oh no it's friday
0:02:32
yeah i get that feeling
0:02:35
um frequently it's just too much
0:02:39
it's just too much
0:02:41
to do and the time just flies price
0:02:45
dude like well i was just realizing
0:02:48
um from in three days from now we'll be
0:02:52
halfway through 2020.
0:03:00
oh i'm still stuck in
0:03:08
well it's crazy dude like we're already
0:03:10
six months into 2020.
0:03:13
it's 20 22. oh my god
0:03:17
it happens it happens in
0:03:20
castle in a special memory for you in 20
0:03:24
20 20 because it seems to be as in you
0:03:31
there's this thing called kovid uh
0:03:34
which was pretty special
0:03:36
oh okay cool still stuck now apart from
0:03:41
no i i think like time stopped in 2020
0:03:49
you want to go back in time and
0:03:52
being kind of in lockdowns and all that
0:04:02
well um is turning 32 uh
0:04:05
well this is moving on so shall we and
0:04:11
just a bit of a context as in yes
0:04:14
today i i didn't really make it because
0:04:17
i did need two people on different
0:04:20
networks to test the websockets
0:04:23
and the fixes of that as well
0:04:28
i thought it's pointless
0:04:30
me even streaming um if i can't
0:04:39
now the best part is that k is with us
0:04:43
and he's on a different place
0:04:45
so we can actually test
0:04:49
i think one other way
0:04:52
so you want two computer networks in
0:04:56
like two computers in two different
0:04:59
is ours or two just two different
0:05:04
two different computers into um so
0:05:09
yeah two different computers in two
0:05:11
different networks
0:05:15
all right make sense i was gonna say if
0:05:16
it's two different computers maybe
0:05:18
we could have tried launching like a
0:05:20
virtual box or something
0:05:23
yeah yeah i thought
0:05:25
about that already but then you it
0:05:28
wasn't going to be under the same
0:05:36
um yeah make sense
0:05:39
how's your week been car tech and dev's
0:05:48
still i started studying for um
0:05:50
solutions architect again i kind of was
0:05:52
gonna do it i booked my exam in december
0:05:54
but i kind of i had to cancel it
0:05:57
um so back at it now um
0:06:00
now that things are settled down
0:06:03
uh apart from that nothing much actually
0:06:06
has been really going on
0:06:08
what about you as in or character for
0:06:15
like yeah def come by
0:06:18
oh you you have a big music something
0:06:22
can you have something big or something
0:06:25
very big i would say
0:06:30
hold it hold your horses hold your
0:06:34
all right um so i will get the thing
0:06:39
and share my screen as well
0:06:44
uh first we can probably kick off from
0:06:48
to see what we need to focus on for
0:07:01
i was thinking yes
0:07:15
will be able to finish
0:07:19
bug fixing come on
0:07:54
just give me one more try yeah that's
0:07:56
all good um i have it
0:07:59
logged in on my computer
0:08:07
bro card is the g on
0:08:14
you can probably share the screen
0:08:17
huh what what what do we need the
0:08:26
oh no hang on hang on a minute i'm
0:08:31
taken it completely
0:08:35
jira is under my email address isn't it
0:08:42
that must have been the reason why
0:08:48
because i remember we don't get any
0:08:50
emails from jira um
0:08:53
right looks like zero really bombards my
0:09:00
that's true though
0:09:02
as in i don't know
0:09:04
why we're speaking but yeah
0:09:12
this has to be tested somehow
0:09:17
so i don't know how we're gonna test
0:09:19
this because in the code the
0:09:22
so this issue or websocket connection
0:09:26
time needs to be extended
0:09:30
yeah in the code i was
0:09:35
it's got time out of
0:09:46
also yes how has you been because your
0:09:55
face being pretty kind of productive as
0:10:08
yeah just getting a lot of things
0:10:11
done and um working on few
0:10:15
things with this project as well so
0:10:21
been very good so far
0:10:24
looking forward to the
0:10:27
as well so that should be good
0:10:36
yeah it does say in the code hey if
0:10:38
you're seeing my screen k
0:10:42
it's gone maximum timer of two hours
0:10:47
right okay is that isn't that what it's
0:10:52
so i didn't i didn't know i was thinking
0:10:58
someone actually told me as well they
0:11:02
the timeout is probably 30 minutes
0:11:06
which is why i wanted to increase the
0:11:13
ticket as well but
0:11:18
seeing is two hours
0:11:21
i don't think we even need this issue
0:11:29
why is it not working
0:11:38
move your issue we can move your
0:11:40
strength yo no don't need you it's gonna
0:11:49
click on the three dots
0:11:51
that's interesting is there an edit
0:12:01
wait let me just bring in please
0:12:04
this is interesting i've never seen
0:12:06
something like that
0:12:10
oh and you won't be able to i think
0:12:12
cause you know added
0:12:23
yeah just add this
0:12:27
this one yeah yeah
0:12:40
let's see finally because i added
0:12:44
this and then i'm typing your email
0:12:50
profile with your picture came up so i
0:12:59
would be a wrong person
0:13:02
no i think that's me because
0:13:18
it's not allowing it hang on i know
0:13:20
someone who works at jira i'll send them
0:13:27
move your issues we can move your first
0:13:31
first comment straight into your backlog
0:13:34
no i don't want you to
0:13:38
why can't we click
0:13:41
on these issues i want to be able to see
0:13:45
is this one viewing mode or something
0:13:50
to be honest for me it
0:13:55
full version automatically because i'm
0:14:01
yeah true it shouldn't really matter
0:14:15
you probably don't wanna uh
0:14:20
i completely forgot the tell me that's
0:14:22
not bad my bad uh-huh
0:14:30
okay anyway we can just move it right we
0:14:32
just want to move it
0:14:35
no i wanted to delete it
0:14:37
yeah you could delete it
0:14:40
okay cool so that we don't need and if
0:14:44
he actually times out before that we can
0:14:56
so i wanted to work on this one
0:15:01
method being called when no changes are
0:15:08
what i'm gonna do is i'm going to create
0:15:15
it's uh okay it's not online
0:15:19
oh my rights are cooking i'm hungry and
0:15:25
making me even more hungry what are you
0:15:31
rice yeah in the rice cooker and um
0:15:36
chicken wings are already done oh wow
0:15:39
okay you just bring for the right answer
0:15:44
i would just say effective stuff
0:15:49
least amount of effort maximum result
0:15:52
true at least you're cooking um i
0:15:55
haven't been cooking for a while
0:15:59
you're rich man you must be drinking
0:16:13
no so i i like recently i've been
0:16:18
so for morning and lunch right i've been
0:16:21
getting this goals pasta thing
0:16:25
which is like pretty cheap
0:16:28
which gets me like two meals and in the
0:16:32
so me and my mates usually cook in the
0:16:34
common area so that happens okay
0:16:47
housemate and he's a chef
0:16:54
like hey how about you
0:16:56
if i get a free bedroom house
0:16:59
you'll make him come and rent my
0:17:14
i might do that i shouldn't that'll be
0:17:28
10 off if you're a chef
0:17:31
oh that's a big just golden ranch
0:17:37
yeah why not i'm feeling generous
0:17:45
okay i'm pretty sure farts are about to
0:17:48
come on now for his so i'm gonna as soon
0:17:52
making live i'm gonna
0:18:01
are you gonna delete this or
0:18:07
just uh enable the hosting in it all
0:18:12
yeah so this one has to be
0:18:36
let's open that one and see how that
0:19:00
so if you wanna add this one
0:19:15
what's the point of me sending you on
0:19:18
it's easier to copy stuff with private
0:19:37
okay uh are you connected
0:19:42
yes and i created a note as well i don't
0:19:44
think it's showing up
0:19:47
will you try creating a note
0:19:54
are you able to see my notes
0:20:05
do you have to click save by any chance
0:20:11
this is why i have
0:20:14
whatever i'm doing before is to say you
0:20:17
should be able to see my actions
0:20:24
click outside the box
0:20:33
some websocket is open
0:20:45
i'm just trying to think what can go
0:20:51
we're not even having anything
0:20:56
any movements on there
0:21:03
because it's showing that it's changing
0:21:11
no not true is this not coming up on my
0:21:16
we just do is do something to do with
0:21:19
websocket to be honest
0:21:22
but it does say it's open
0:21:26
so it is connecting
0:21:28
let me just go and um
0:21:50
api no we don't need that
0:21:53
connect handler yeah that should be fine
0:22:00
you you don't have any lavender
0:22:03
ap selfies too why not
0:22:08
this is interesting
0:22:12
so apparently i don't even have any
0:22:14
lambda function in ap selfies too
0:22:23
let me just go and check
0:22:26
i'm just saying that in cloud formation
0:22:44
uh websocket api yeah
0:22:54
that is in sydney which is ap selfies
0:23:00
so why does that say that it's not
0:23:16
are you there oh sorry i was muted oh
0:23:20
i'm wondering what does api gateway say
0:23:28
get where i don't think it
0:23:30
says anything the console just says it
0:23:38
you don't have any
0:23:40
lambda functions in ap
0:23:54
this is sydney and this is the function
0:24:11
click on create function
0:24:21
let's see where it takes us
0:24:36
hang on let me see
0:24:48
so they're successful
0:25:00
log groups on connect
0:25:04
sam no that's not the one this is the
0:25:37
it was working we're missing some weird
0:25:41
like we can't click on jira and now this
0:25:46
it's really interesting
0:25:47
yeah these are really interesting
0:25:53
things that we are facing hmm been
0:25:59
i was being haunted
0:26:04
like there's literally a lambda function
0:26:06
there but it says it's
0:26:09
but is that an issue though like is that
0:26:11
actually causing any problem
0:26:13
would be good for seeing that
0:26:16
well it's not apa get
0:26:19
way just a console
0:26:22
right okay um is that
0:26:24
like is that stopping us from doing
0:26:30
the websocket isn't working because you
0:26:32
can't see it so this is the webs
0:26:37
soccer thing and this is apparently
0:26:41
this function because if
0:26:46
this function apparently isn't there
0:26:51
could this be deployed again
0:26:55
or is that alone yes
0:26:57
yes it can always be deployed again um
0:27:01
but i'd have to go through the entire
0:27:05
actually let's have a look
0:27:18
because now i'll have to change the
0:27:49
wait was it where was it where was it
0:27:54
this is the connect
0:27:56
nice no haze in the front and one
0:28:15
we might have the wrong url
0:28:22
that close something
0:28:25
is it actually the different one
0:28:28
because it's got to connection
0:28:37
websocket your little is w starts in the
0:28:39
lss just make sense
0:28:44
i don't know what i was thinking but
0:28:48
this should be okay
0:28:54
let's have a try again
0:29:29
are you on that screen
0:29:37
and can you see my card
0:29:54
was this thing working before though
0:29:56
like with the story
0:29:58
it was working yeah oh right
0:30:03
we built it we broke it now we're fixing
0:30:11
was thinking how to fix it
0:30:16
that's quite literally the process there
0:30:22
i don't know so the
0:30:24
websocket is opened
0:30:32
yes it's the same as me like it's it's
0:30:35
the same thing to me that it is open
0:30:38
but we can't see anything
0:30:44
and now i have to troubleshoot in the
0:30:56
okay cool so it connects here
0:31:07
maybe the message isn't being triggered
0:31:13
all right what does this do though i'm
0:31:17
so basically a message it takes an event
0:31:23
from that event it actually passes into
0:31:30
and then it just consoles out there okay
0:31:34
here's a data i received a message
0:31:39
maybe this is the problem right okay
0:31:47
taking the message
0:31:56
but how do we test it out though
0:32:17
distant doesn't get displayed which
0:32:25
if is open equals error return
0:32:29
it doesn't come here and then
0:32:37
is this even a function
0:32:43
here is a function
0:32:46
looks like i'm a battery on my camera so
0:32:49
i'll plug in my other camera in a second
0:32:54
oh oh wow all right
0:33:01
is this being called
0:33:03
it's been called in law load boards page
0:33:11
so every time we click
0:33:22
right this is really mind-boggling at
0:33:28
in a card scripture
0:33:39
in a class group in script.js
0:33:45
and then in your websocket
0:33:51
this should come after
0:33:57
how does it make a difference though
0:33:59
because if you see it's initializing the
0:34:14
after that is connecting to the
0:34:21
all right okay yeah make sense
0:34:27
get bullets all right
0:34:55
on disk oh hang on
0:35:00
this is already there
0:35:20
or do you wanna try and give it a go um
0:35:24
what are you suggesting
0:35:28
gonna give it a go what we what we are
0:35:36
who's suggesting that
0:35:39
suggesting that we change the
0:35:47
just thinking that that doesn't really
0:35:52
if we do the positioning of the code
0:35:59
i'll tell you my init
0:36:05
and receive message here
0:36:09
okay see you know how we
0:36:13
in initialize the cards in script.js
0:36:17
um in script script js
0:36:29
is it are we doing a drop
0:36:38
at the moment yeah
0:36:47
and it sounds so british
0:37:06
um just asking what you gizza is trying
0:37:18
we're just basically trying to
0:37:22
get the websockets
0:37:25
working apparently because it does say
0:37:28
the connection is open but
0:37:34
the cars that i create on my end
0:37:44
right it's a public board notes
0:37:48
that's what that does
0:37:53
what's your lambda saying in cloud watch
0:38:04
it's not giving any error
0:38:17
which one was it anyway
0:38:25
no that that's not the one
0:38:27
hello world connect
0:38:44
oh man this fries are
0:38:47
this rice smell is really making me is
0:38:53
are you you know like are you hungry
0:38:56
i'm very hungry at the moment
0:39:09
nine you know i'm gonna get rid of the
0:39:13
ones that are confusing me
0:39:20
yeah so get that says delete all your
0:39:24
probably looking at the wrong thing or
0:39:25
set up log group deletion policy
0:39:31
we need to do that fourth of april this
0:39:33
one was the last one was for the paypal
0:39:56
27th okay this was disconnect so i need
0:40:11
which one is this one don't need that
0:40:19
so it would be in connect
0:40:23
hello world connect
0:40:28
okay forget this as well
0:40:30
don't need you in my life
0:40:56
don't need to either
0:41:04
april no don't need you either
0:41:27
there we go this is the one we need
0:41:29
this is for the connect handler
0:41:35
yeah see no errors
0:41:39
doesn't show any error
0:41:44
no errors means bad
0:41:58
yeah we don't know what it's kingdom
0:42:02
your code is probably
0:42:10
can they suggest to add some console
0:42:17
i don't want to keep
0:42:19
deploying it though to be honest
0:42:24
because a long process
0:42:33
time consuming i would say
0:42:36
if we don't have a choice we might have
0:42:44
okay um so get message
0:42:59
loads the board page which is fine
0:43:03
redirects it if there's no board name it
0:43:10
and then set board name yeah that's fine
0:43:14
session storage yeah
0:43:28
initializes cards in script js
0:43:37
so basically it is doing everything
0:43:49
sending the message
0:43:55
oh it's doing everything
0:43:57
i didn't get that sorry
0:43:58
oh it's not sending the message okay
0:44:03
is it not sending a message or is it not
0:44:05
receiving the message properly
0:44:17
how do we solve this
0:44:34
why do we have local damn environmental
0:44:39
uh i love tori's work honestly
0:45:02
what do you think we should do because
0:45:05
this card is like really new to me and i
0:45:07
jump on the street once a week so
0:45:09
apologies i'm not able to contribute
0:45:14
now and it's all new uh as in the
0:45:17
websocket code is all new to me as well
0:45:29
literally did this function
0:45:31
functionality within within a week max
0:45:35
right so i'm just basically trying to
0:45:40
what he did and how we how we basically
0:45:44
from the code itself
0:45:50
figuring it out to be honest
0:45:53
it's a classic understanding someone
0:45:58
such a classic understanding someone
0:46:05
because at the moment
0:46:09
rice and this and this code is making me
0:46:12
really hungry to be honest and i'm like
0:46:15
okay when is 10 30 and 13 minutes more
0:46:19
20 minutes 12 minutes more
0:46:22
now fair enough like if you're not um
0:46:31
kind of like figure it out because for
0:46:33
me i just haven't ever done this ever
0:46:42
as in i'm just learning it
0:46:57
works in this project but
0:47:00
20 is from websocket and that's kind of
0:47:05
weakness at the moment which i don't
0:47:10
let it be my weakness
0:47:12
yeah right which is why i'm just kind of
0:47:15
studying it and learning as i go
0:47:20
from the code and hoping that i catch
0:47:24
something and that fixes it
0:47:28
now i'm gonna try taking like udemy
0:47:30
course on it as well to see
0:47:33
where i'm at with it
0:47:38
that's a good starting point
0:48:15
okay so it comes here
0:48:18
if it's indexed and load board page
0:48:24
then i come over here
0:48:28
knows everything which is fine brilliant
0:48:32
so when the cars get created
0:48:37
yep when the clock gets created where
0:49:00
create card here we go
0:49:05
and i'll give it to you then
0:49:08
most consistent at the moment
0:49:11
okay so he's doing this one
0:49:14
create card random card color
0:49:42
ah here we go so this is a
0:49:52
so bernie creating
0:49:56
i was using the default one
0:50:01
right have we created any like custom
0:50:25
this actually might be no
0:50:29
it's the default function
0:50:35
hang on is that even in the
0:50:38
cloud formation default that's a lambda
0:50:52
hit default function is there oh it is
0:50:58
and then what we have is
0:51:12
and it did get triggered
0:51:24
what's causing the problem
0:51:26
right okay that's good
0:51:30
okay so what i'm gonna do is basically
0:51:33
remove the dome purifier from there
0:51:41
it's not in that sense
0:51:48
so it's a reference error
0:52:07
i'm gonna for the time being
0:52:18
down purifier coming from
0:52:24
uh is asking and even i'm curious what's
0:52:26
in your hand though like plastic bag
0:52:32
what's on your hands
0:52:38
oh okay yeah make sense i know why you
0:52:46
yeah so don't rephrase there
0:52:51
this was basically causing the issue
0:53:03
and now we should work like a bad boy
0:53:24
any kind of keyboards
0:53:32
maybe you have to dom sanitize your
0:53:41
get my dom purified in action
0:53:46
so you can purify my hands yep
0:53:51
cool so disconnect
0:54:09
and if it works i might just carry the
0:54:12
rest of the work offline
0:54:15
actually i might check if i can connect
0:54:18
to my other laptop
0:54:22
mobile hotspot and see if that works
0:54:33
come on dude come on
0:54:35
it doesn't normally take this long
0:54:58
um what was that come on again okay
0:55:06
yeah i think it's just deep right
0:55:14
what's happening to my brain
0:55:33
no no no no no that's not gonna work
0:55:36
that's not gonna work
0:55:37
this message has to come here
0:55:41
because i need to be using that message
0:56:07
hopefully we can we can test it
0:56:19
and hopefully it would be
0:56:47
and deploy the chainsaw
0:56:50
so i actually thought that if we just
0:56:56
and then the purified version of the
0:57:00
would get stored in
0:57:03
message then we won't really have to
0:57:13
i'm not sure what i mean
0:57:16
i'm just curious now anyway
0:57:19
um that is there so i will send
0:57:43
i'm gonna create a note and hopefully
0:57:58
i also received message
0:58:01
yeah here we go fantastic so
0:58:04
that was causing the problem
0:58:08
let me send you something
0:58:23
yeah we can probably leave at that
0:58:31
i'll just take this
0:58:42
save a bit of cost
0:58:44
yes that's always good to have
0:59:01
ready it sounds good whoa you look pry
0:59:05
as hell i like it i have to change my
0:59:10
let me turn off the light
0:59:15
i don't have a middle ground to this one
0:59:20
uh as i said which means so it's just
0:59:26
either it's dark or bright but if i use
0:59:28
my obviously if i use my camera she died
0:59:34
ah okay because them must have had uh
0:59:38
lightning effects as well
0:59:40
yeah so like like the cameras can adjust
0:59:51
that makes sense though
0:59:58
do the honest and then we can kick it
1:00:00
off yeah i want to make a
1:00:05
we'll end on a light note
1:00:12
oh yeah no that sounds good
1:00:15
at least we were able to figure out the
1:00:18
or actually the what
1:00:22
we were able to figure out the what so
1:00:26
first step to the solution uh yeah i
1:00:28
think we'll come back on sunday
1:00:34
was the outro again
1:00:39
same time same place and