0:00:27
what is going on guys welcome back to
0:00:31
another session of build break and fix
0:00:33
we are rule coders which means that we
0:00:36
have two people uh two devs
0:00:39
from melbourne and um
0:00:42
we are um doing this build break and fix
0:00:46
series all right um you might have
0:00:48
noticed one thing that my co-host is
0:00:51
here so far um i doubt he'll be
0:00:55
he'll be here because um he's
0:00:57
one of his i think job applications to
0:01:00
do as in job assessments if you want to
0:01:04
so he might not turn up but um
0:01:09
if he comes we shall see
0:01:16
before getting started i'm just going to
0:01:23
mic is properly working i really hope it
0:01:30
and seems like it's working so
0:01:34
i'm just gonna go ahead and
0:01:39
today what we're gonna be working on is
0:01:43
uh so just to clarify that today it's um
0:01:49
it's supposed to be one and a half hours
0:01:51
but you will probably be one hour
0:02:01
of course some things to take care of as
0:02:06
let's see how far we get in this
0:02:09
one hour all right
0:02:12
let's get down to it um so
0:02:15
yes today what we worked on was
0:02:18
we worked on the chords issue as in as
0:02:21
we are for the last
0:02:23
thing six or seven days
0:02:25
and i'm gonna try and solve that myself
0:02:28
today and see how far do we get all
0:02:31
let's get down to it
0:02:45
i'm just gonna open up
0:02:57
i'll share my screen with you guys in a
0:03:04
um as soon as this is done
0:03:08
i'll take you guys through what i've
0:03:12
actually let me do that now
0:03:19
yeah i need to share my screen now so
0:03:22
i'll just do that in a bit
0:03:26
here we go you should be able to see
0:03:28
their project loading
0:03:30
oops i need to and yeah here we go
0:03:35
so uh this is our front end and um i'll
0:03:42
backhand one as well
0:03:46
gonna be working on across the board
0:03:48
which is front end and backhand as well
0:03:52
right let's get the party going
0:03:56
no i'm already feeling sleepy why
0:04:10
don't need this option trying an hour
0:04:13
call i'll give you an hour
0:04:15
so that goes there and then i don't need
0:04:20
which i can delete and um
0:04:23
i've got my backhand there and my front
0:04:26
end here cool now what do i need to do
0:04:32
console as in aws console and see where
0:04:43
and my user account would be there
0:04:50
just bear with me guys i think i need to
0:04:52
get my water here we go ah it's just
0:04:56
it's just behind me so which is good
0:05:11
no i don't need my root user i need my
0:05:18
i want to remember this account
0:05:21
so that i don't need to type the
0:05:23
password again and again
0:05:30
and then my password
0:05:37
i was just thinking i couldn't
0:05:40
load the password up from my bit warden
0:05:43
which is the kind of my password manager
0:05:46
i don't want to give everything away
0:05:49
if you know what i mean
0:05:51
right cool so whoopsie
0:05:54
i entered the wrong password
0:06:01
oh uh then i'll just change my
0:06:20
you should pull to remember nope i don't
0:06:23
want that to remember because i'm about
0:06:34
actually no i don't want to do this
0:06:37
now this is really insecure
0:06:46
okay i'll go to my cloud formation
0:06:53
don't want it at the moment
0:07:08
there we go that's the one
0:07:24
let's see how far do we go from
0:07:28
here to there onwards um
0:07:31
i i really want to get this cause issue
0:07:34
work it's been way too long
0:07:36
that would be stuck on this issue
0:07:39
i think i really would like to make it
0:07:44
just um waiting for the oh it's already
0:07:50
so i'm gonna open up the scramble api
0:08:11
and it's loading at the moment
0:08:48
to be honest i'm trying to think that
0:08:50
the cause error is in the code
0:08:52
not in the api itself because it's all
0:08:55
being done properly anyway
0:09:00
let me just make sure by running it once
0:09:36
so this is open on that one i'm gonna
0:09:39
just print the browser
0:09:41
browser control over here
0:09:49
and then see what do we get
0:10:12
okay type in a board
0:10:20
but then press okay and see what happens
0:10:28
the api thing is wrong so
0:10:33
update that and then
0:10:37
there's my middleware
0:10:44
that will be at the wrong ip address so
0:10:49
to get the i actually i need the ip
0:11:03
taking way too long
0:11:07
my goodness like i'm yawning already and
0:11:09
it's not even 10 yet
0:11:17
all right cool so i'm gonna just to
0:11:20
i'm gonna click on prod
0:11:22
to get the apa url npn point
0:12:17
get that up and running
0:12:30
okay to reload this
0:12:36
and the console comes
0:12:40
actually it's not going to work here
0:12:42
because i haven't deployed the app
0:12:46
no it would work because the app is
0:12:48
already deployed isn't it yeah
0:12:50
it would work but let's see if we still
0:12:53
get the cause error
0:13:03
okay still taking in the previous
0:13:10
and see what happens
0:13:15
right so it's still coming up with
0:13:22
interesting 32 go 11
0:13:26
go 11 and 32 on click
0:13:43
response code are we returning the
0:13:45
response code here
0:13:52
cool so you know you're returning the
0:14:11
post board post board
0:14:16
is their board name
0:14:20
posting action control
0:14:39
it's known coming in there
0:14:42
this not even posting it either
0:14:56
i'm starting to think
0:15:06
liar andre what's happening andre
0:15:10
line 16 in the dark
0:15:13
interesting which one is
0:15:18
so the whole reason we have this
0:15:21
line 16 is because
0:15:26
so when we did a post
0:15:39
response code 200 will set that value
0:15:52
yes so response code 200
0:16:10
thanks for pointing
0:16:13
that out that really helps as in
0:16:17
the whole point that was they is because
0:16:21
we want to we we only want to
0:16:24
go to the next page if the response code
0:16:29
which is yeah you're
0:16:30
right there the response code is coming
0:16:34
anyway so it should be
0:16:46
this one record so i'm just thinking
0:16:50
how would this return the value because
0:16:54
return current board we don't really
0:16:57
want to return the car
0:17:01
this is pose board name
0:17:12
here so we are returning all the all
0:17:16
and then at the end we need we want to
0:17:23
return status response status code as
0:17:47
line 45 is a snipper
0:17:50
yeah yeah i agree with you they
0:17:53
shouldn't be there
0:17:56
so we can get rid of that
0:18:01
um so this one should be
0:18:05
as in is that exactly how it is
0:18:17
so i need i need to return the status
0:18:26
32 is also a big crap
0:18:40
variable is that what you're saying
0:18:44
ah right writer i say
0:19:02
you're injuring the results of the
0:19:23
let this one and then
0:19:36
results so if that comes as a success
0:19:41
no that won't really come as a success
0:19:45
the text but we want to use us
0:20:00
don't i wanna return the success
0:20:04
so does this come up
0:20:07
nope it doesn't come up
0:20:26
tell that because it's not allowing
0:20:31
do that at all so respawn
0:20:36
this one is only there so it's only in
0:20:56
return it on line 48
0:21:11
uh what am i doing
0:21:25
unreachable because
0:21:30
come over there would it
0:21:36
that's exactly what i was thinking
0:21:42
response.txt this one and then
0:21:49
and what so if this is true
0:22:01
return and also with both values
0:22:09
i return an object with both
0:22:23
are you talking about andre
0:22:35
if if i've got the text then pause it
0:22:59
text and response so i'm already doing
0:23:15
return an object so
0:23:34
okay um text comes here
0:23:57
okay uh i think i should watch them one
0:24:07
going above my head
0:24:17
type in these entire
0:24:22
copying and pasting from the comments it
0:24:27
or they don't have that feature
0:24:56
oh let's watch this
0:25:10
wow three hour long
0:25:12
three and a half hours
0:25:54
right yeah i know this
0:25:56
it's all basic stuff
0:26:03
initializing variables
0:26:20
you know this one as well
0:27:50
yeah i know how all this works
0:27:57
to come at the object shopping list
0:28:47
yeah i've done all this
0:29:02
i know this one as well
0:29:24
i think i might come to this one
0:29:26
afterwards because they're just eating
0:29:28
all the stream time
0:29:30
um i really have to solve that cause
0:29:38
link though on drill we'll come back to
0:29:41
uh but first i need to focus on this
0:29:52
do this return that one
0:29:59
if they send this out there so then
0:30:23
actually i'm trying to think that the
0:30:24
problem is in the code no not in the
0:30:31
so i'll just work on the code and see
0:30:34
where does this lead us
0:30:52
caught if this is true then we want to
0:30:56
does that have another method
0:30:59
as in another response
0:31:09
pause these both as
0:31:18
then i want to return
0:31:26
on rick karthik i think he was doing his
0:31:29
um one job assessments so he's
0:31:33
said that he might not
0:31:35
be able to make it today
0:31:47
and i don't want to go to the next place
0:31:51
want to check if i get that error still
0:31:58
and store the results in there
0:32:04
and then what i will do
0:32:08
is because i'm getting the results here
0:32:15
this one everything is there
0:32:17
this one is there so
0:32:22
whatever the result i've got from this
0:32:24
it will be stored into
0:32:30
and then what i'm gonna do is return the
0:32:45
results i've got from this whole
0:32:51
i'm returning the results
0:33:00
oh let's try this and see what
0:33:07
what we wanted to do
0:33:18
i just have to run the server
0:33:24
okay that one's there
0:33:36
so that would be said
0:33:45
okay where did this give us
0:33:56
right so it's still giving us an error
0:34:02
actually what i'm gonna do is
0:34:07
what is 47 going to return
0:34:28
well my intention is to
0:34:31
if we have got this both texts and
0:34:35
response then it will
0:34:38
return us the past
0:34:40
the text and the status
0:34:51
we've got the response
0:34:53
uh the text from the response
0:35:06
right hang on a minute
0:35:08
jason pause and he just checked the
0:35:11
syntax of jason pause
0:35:38
json string cons constructing the value
0:35:45
by the string and optional function
0:35:48
they can be provided or transformational
0:35:55
that wouldn't be the case then i guess
0:36:03
this part has to be in
0:36:05
an object so in string format
0:36:22
to be honest i'm confused now
0:36:39
you've got the response text
0:36:42
take the text and return it
0:36:46
so if i come back to our old code
0:36:50
then if the text is there
0:36:55
then i'm just passing the text
0:37:04
the status actually
0:37:08
i'm just thinking we don't really want
0:37:11
that oh actually we want the
0:37:19
uh what does the jason pass do
0:37:23
is just passing this
0:37:45
so the whole idea is to get
0:37:59
didn't you want response as well
0:38:03
uh we don't want we
0:38:19
we just want the stasis
0:38:25
no no sorry we want the response as well
0:38:31
the response status too
0:38:49
i need to google this
0:39:29
let's see what this gives us
0:39:34
buddy yeah that's fine i want the
0:39:40
okay so this says content
0:39:47
this is how to post a payload
0:39:50
okay we have done this
0:40:02
so we need to basically
0:40:22
oh gosh i wish i was a no developer
0:40:30
the correct code is uh huh then then
0:40:46
then we gain the response
0:41:18
right so i guess what it means is
0:41:21
this whole thing needs to be
0:41:28
doing anything that works lately
0:41:32
um doing anything you share i'm trying
0:41:35
to uh integrate um
0:41:43
asp.net membership provider
0:41:53
page in free so i'm trying to use the
0:41:57
espsqo.net provider i'm not that
0:42:01
sql membership provider
0:42:17
how about you are you hitting
0:42:40
let's see what this
0:42:43
let's see if this works i don't even
0:42:45
know if it will work or not
0:43:18
track this as well
0:43:23
and see how this goes
0:44:06
still giving me the same thing over here
0:44:30
post board actually one
0:44:32
we're gonna do is play some consoles and
0:45:14
honestly i'm really wishing i wasn't in
0:45:22
this could have been a lot easier
0:45:38
okay what did we get
0:45:55
has post error has gone now
0:46:01
fetching my ah post board is still here
0:46:08
31 actually i'm gonna google this one
0:46:14
post dot net failed
0:46:27
our own case this is a longer field
0:46:53
failed what was he failed on
0:47:17
it's time peripheral with the request
0:47:23
then like ajax fetch fetch api
0:47:36
if you have wasted a course live switch
0:48:05
that one don't really care about that
0:48:08
request french request my net url
0:48:12
okay so he is done in this way
0:48:18
but he's not used he's using
0:48:25
logging the response
0:48:37
don't need to do a fetch
0:48:58
i swear this was all working few days
0:49:03
that error is a real head scratcher
0:49:08
yes i completely agree um
0:49:12
cause issue is it's been
0:49:14
been around a week now now we are stuck
0:49:18
everything we have tried
0:49:32
and the other part that
0:49:35
the solution that previously worked that
0:49:38
doesn't even work anymore
0:49:43
we'll just keep trying
0:49:56
post sample there's
0:49:58
even a sample here so
0:50:01
maybe i can get a bit of a clue here
0:50:07
okay url is that what post yeah
0:50:16
create function we have got an essence
0:50:18
function which is fine
0:50:24
right yeah we're using a weight
0:50:27
euro which is this one at the top
0:50:34
this one at the top
0:50:38
and then be upon giving a method which
0:50:47
method and there's post
0:50:49
what is called body
0:50:54
okay yeah that's fine
0:50:57
and then the response that we get
0:51:04
response that we get is
0:51:10
yeah using an arrow function
0:51:26
ah say the reason why it doesn't even
0:51:30
come is because it's not even
0:51:32
going in this in the first place
0:51:39
oh thinking is something to do with this
0:51:45
let me just comment out all this
0:52:00
why am i returning a false here
0:52:08
there's no you have to wear on a sync
0:52:15
11 is a sniff as well
0:52:25
thanks for pointing that out
0:52:35
this yeah that's fine
0:52:40
i think that might be the
0:52:54
current board this one was there
0:52:58
don't need that one return result
0:53:14
interesting experience with the fair jpi
0:53:26
think i need to make
0:53:29
this go function as a sink then
0:53:34
you know only in the sim and the tab
0:53:37
at the top level body or no
0:53:40
think i would have to make this a sync
0:53:42
function as well then because i'm using
0:54:24
still coming in here
0:54:31
go hang on a minute
0:54:33
let me try and see what's
0:54:36
in the their home.html
0:54:44
in the form submission
0:54:50
on submit is go and then on clickers
0:54:56
why have why is their own
0:55:07
okay yeah that that that should be fine
0:55:13
is being clicked on both
0:55:15
on submit and then on go call
0:55:28
that's our goal function here
0:55:48
and then post post board name
0:55:52
is giving the arrow here
0:56:06
just so you know guys um
0:56:14
yes we did and kartik and i were
0:56:18
actually planning to
0:56:22
for it because we think that
0:56:25
coding is not for us and
0:56:27
we're not doing a pretty good job since
0:56:30
we're stuck on this error form
0:56:33
quite some time so you just we are
0:56:36
considering that as a backup career
0:56:54
uh by the way just so you know that i've
0:56:59
important plan which means to make an a
0:57:03
really important call
0:57:10
35 so i'll be finishing
0:57:16
10 30 which is in three minutes
0:57:20
philly is the only no no no no no no no
0:57:29
not an option mate it's not an option
0:57:42
post board is there
0:57:49
giving us an error here on this line
0:57:53
awaits a sink here wait that's fine
0:58:22
yeah over here is giving us the error
0:58:27
refresh url uh failed to load resource
0:58:34
failed to load resource and then it's
0:58:40
actually i need to copy and paste this
0:58:44
see what do i get back
0:58:49
every time it doesn't work we are one
0:58:56
making it work so let's
0:59:12
come on come on internet come on
0:59:15
come on internet come there we go i
0:59:17
plugged in a filter yeah
0:59:22
i i fixed the arrows on my local host
0:59:26
oh it doesn't don't matter if they're
0:59:28
doing your live no you can reject you
0:59:32
that's not what i want though
0:59:47
well there's not the thing
0:59:50
error block black clients actually this
0:59:56
i'm gonna do is do a fetch
1:00:07
catching fill to resource yeah this
1:00:16
call origin yeah that's
1:00:22
it as far as i remember you cannot catch
1:00:25
browser driven entry in your typical try
1:00:30
trial cash chain inside the room closed
1:00:33
captioning i'll throw in with intent
1:00:37
oh it's i've just got four i've just got
1:00:40
four minutes to make the important phone
1:00:43
call guys um thanks a lot for um
1:00:52
yeah thanks for tuning in i'm really
1:00:58
go until 11 because i've got very
1:01:00
important phone calls
1:01:03
phone calls scheduled at 35 past
1:01:06
so i'm gonna get prepared for
1:01:12
thanks again and um i will see you guys
1:01:15
tomorrow same time same place and same
1:01:19
task until then take care of yourselves
1:01:21
and wherever you are in the world good
1:01:24
morning evening and afternoon but if
1:01:27
you're in melbourne australia have a
1:01:29
great night and i'll see you guys