0:00:23
what is going on guys welcome back to
0:00:26
another session of bear break and fix
0:00:29
brought to you by the raw coders yes
0:00:33
um so in today's episode um we're gonna
0:00:38
hopefully completing the backhand
0:00:40
function of getting bored by name
0:00:44
and you might be already observing that
0:00:51
haven't really heard anything from
0:00:54
from him so i'm not really sure um what
0:00:57
is going on but hopefully he'll be back
0:01:00
and um he will be able to
0:01:02
join us as soon as he's back all right
0:01:06
um just before moving on i will be
0:01:13
doing their acknowledgment so just bear
0:01:22
all right here we go so here comes that
0:01:24
acknowledgement of the country
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:44
all right guys i've just checked my
0:01:53
kartik was contacted
0:01:55
contacting me and i forgot to send him
0:01:59
to so i'll just do that really
0:02:03
quickly and then um he will be able to
0:02:15
open up i'm just opening
0:02:19
the messaging app and we can take it
0:02:27
that is done so hopefully he will
0:02:30
come up and we can
0:02:38
all right here we go so
0:02:40
so um acknowledgement is done so i'll
0:02:43
just share my screen and open obvious
0:02:46
and we can take it from there
0:02:49
right open up my back and repo
0:02:56
my sam api yep that is the one that
0:03:00
we want to be working on um
0:03:03
i'll just probably have to
0:03:08
check in the comments as well what's
0:03:12
so i'm all updated
0:03:18
there we go perfect
0:03:34
um so what we need to do is we need to
0:03:50
i guess this is the
0:03:56
just because i did all this
0:03:58
code early on i'll remove this one hey
0:04:04
you have to send me the links and i i
0:04:06
thought you forgot about that part of
0:04:10
oh yeah i forgot about that and then i
0:04:15
the phone probably around two past
0:04:19
uh half yeah until 942 and i was like
0:04:23
oops okay here we go
0:04:25
i i literally got the notification like
0:04:29
they started streaming i was like okay
0:04:30
let's just watch the stream like and
0:04:33
you're like oh yeah i haven't heard from
0:04:35
like i'm dude i'm literally trying to
0:04:36
text you like send me this link
0:04:39
yeah but i didn't have my phone and
0:04:43
when stream comes on the phone isn't
0:04:48
um i think we have the fixed time means
0:04:56
these kind of things a bit in advance
0:05:00
leave them to the extreme
0:05:02
i would need the link anyway i would
0:05:04
leave the link anywhere right like yeah
0:05:07
i was about to send it to you um but
0:05:15
something from this
0:05:17
occasion for the future
0:05:19
moving on um so i've done the
0:05:27
me and kartik did yeah um
0:05:30
may have finished it yesterday was um we
0:05:36
backhand function for
0:05:39
getting bored by name
0:05:46
yeah getting bored my name um doesn't
0:05:52
um we i hit it half the function and so
0:06:01
good idea that we can probably
0:06:04
complete the function today
0:06:06
it's half done already
0:06:10
does that make sense yeah yeah sure um
0:06:15
till what point has it been done
0:06:21
working on that in the evening because
0:06:24
i've had a bit of free time so
0:06:28
can you see my screen right
0:06:40
right basically is essentially copying
0:06:46
get bored by id and just
0:06:48
changing it to get
0:06:55
yeah um that sounds
0:07:00
which part of the like is it not working
0:07:03
like it's not complete
0:07:09
he did and i worked on this part here
0:07:16
the code for the viewers
0:07:19
um so here what i i
0:07:23
and you basically um so here what i did
0:07:26
was i wanted to get a particular board
0:07:30
both with a particular board name
0:07:33
so i'm passing it this key conditional
0:07:38
and then i'm just basically
0:07:44
that's all right yeah it makes sense
0:07:48
perfect so let's deploy this and see if
0:07:52
it really works or not
0:07:56
i've got feeling that this won't work on
0:08:08
ah yeah what am i doing
0:08:23
good to have you guys
0:08:26
what do you mean like water or do you
0:08:31
i think it's water because it's it means
0:08:50
shopify as a front-end engineer
0:08:57
when was the interview but he just said
0:08:59
that he had an interview
0:09:01
that was a while ago right i think that
0:09:03
was last week no as in just
0:09:07
he told me i'm finished
0:09:14
oh it's in january right
0:09:16
don't do it okay right right
0:09:20
yep did that one get some water
0:09:30
i'll actually refill it check
0:09:34
uh profound scrambler
0:09:40
if your stack yes that's the one
0:09:44
yeah that's the one
0:09:48
one either someone's busted or someone
0:09:58
something on fire or someone's not
0:10:00
feeling well at all
0:10:03
that's the final video so yeah i'm gonna
0:10:18
let's just get this done and test our
0:10:44
that could be a care story
0:10:52
that's better though
0:11:01
wash all the brand new shirts first and
0:11:08
yeah i think that's a good idea actually
0:11:12
yeah in general also i'll do my washing
0:11:19
when can the viewers expect
0:11:22
to see in a rural coders t-shirt
0:11:26
i'll never fail well that's not gonna
0:11:28
so there has to be a day
0:11:35
isn't i did that though there's only
0:11:38
seven days from monday to sunday so
0:11:42
the day when i get back into him
0:11:46
i need to pick free
0:11:49
that's not gonna happen
0:11:50
the day when i get the link one time
0:11:55
it literally happens every single day it
0:11:58
just didn't happen today and you
0:12:03
and that makes me sad oh yeah
0:12:08
if you could turn up on time that
0:12:11
wouldn't happen then isn't it
0:12:14
so that turned out between 9 26 tinder
0:12:20
which happens occasionally all right
0:12:31
team spirit as in if all the team
0:12:37
you should wear it as well
0:12:46
serious now by the way i'm serious okay
0:12:50
i'll do my washing during the weekend so
0:12:52
if you can because i would expect to see
0:13:07
uh which one was it um
0:13:11
okay i'm gonna do this
0:13:24
and then i've got my user
0:13:32
that anti-climatic differently
0:13:40
uh oh also accountability um
0:13:49
no that's mom that's my personal one
0:13:59
i can't eat my corner this 76595
0:14:04
i haven't got perfect
0:14:12
no it has to be it
0:14:32
okay so we open up
0:14:40
even know yeah we can open this one up
0:14:47
which one was this was this one
0:14:56
configuration rated monitor
0:15:01
oh we still need to enable this in
0:15:04
the logs from isn't it
0:15:08
oh it's already enabled
0:15:13
let's test it and see if it works
0:15:38
okay i will need another one
0:16:05
that should be the bird name so the
0:16:06
actual name yeah yeah
0:16:10
so get all boards if we do this one
0:16:21
where um i mess up
0:16:30
this is not looking nice
0:16:36
let me shorten initializer on line
0:16:50
invalid shorthand property initializer
0:17:05
it can't be 140 so it must be 1980
0:17:12
no you can't be that either
0:17:16
something outside the code um
0:17:35
i just want to find out the
0:17:38
line number where it's throwing there
0:17:43
no that's the function
0:17:46
actually what i'm gonna do is this is
0:17:48
confusing me a bit
0:17:52
close all the functions there
0:17:57
so it's a bit clearer
0:18:10
okay here we go this is much better now
0:18:30
so 98 is different when you compile like
0:18:34
when you close all the function the line
0:18:46
how can the line be different when i
0:18:49
close all the functions because they're
0:18:52
on the actual lines
0:18:54
all i have to do is just expand all
0:18:57
yeah if you expand um
0:19:01
also the 98 which you're looking for
0:19:02
it's not of the app.js if you go back
0:19:09
it's user function.js
0:19:13
so that's probably not where it's coming
0:19:17
you should look for app.js
0:19:22
which isn't running
0:19:31
maybe it is something else
0:19:35
it's saying the syntax error
0:19:39
yeah you know let's shorthand property
0:19:44
think what that means is that
0:19:51
so the method that we
0:19:56
working fine i'm pretty sure
0:20:02
it would be here somewhere
0:20:08
oh i know what it is
0:20:10
uh show me the code
0:20:13
which which is the new code which you
0:20:18
this is the new method
0:20:43
what is board name on line 154
0:20:50
the word board name with the b capital
0:20:54
has been used multiple times
0:21:02
you should be because that's a property
0:21:11
and you're getting the same thing
0:21:14
in the parameter and the body
0:21:42
name is that this is
0:21:45
closing off then this is closing off
0:22:18
in has to be the other function
0:22:24
just to get all boards
0:22:33
all right it didn't show that get all
0:22:37
no not this on them above
0:22:43
collapsing them because i don't
0:22:45
i don't want to get confused
0:23:00
but this hasn't been changed
0:23:12
everyone i'm gonna
0:23:15
find out how to see the line
0:23:18
number where the air is coming from in
0:23:51
x is oh so it does
0:23:57
expo handler and lumon
0:24:01
which means that in our case
0:24:35
load user app user function
0:24:41
i think you would be um
0:24:45
this this is the user function here
0:24:54
it has to be somewhere around here
0:25:06
okay hang on a minute
0:25:15
lines and see what i get back
0:25:21
okay so you can't it definitely can't be
0:26:08
that comes all the way from there
0:26:21
have you guys just suggestions
0:26:25
trying to look up on the internet
0:26:34
what does that show
0:26:46
night can't be that one lord i love the
0:26:57
let me try this once again
0:27:07
no they shouldn't make a difference no
0:27:12
i was thinking that the sure might have
0:27:18
i was thinking that the url might have
0:27:21
no that doesn't make sense
0:27:45
undefined error on coexception
0:28:00
the core is compiled with serverless
0:28:03
mapping you have to either install
0:28:06
linting or download the code from lambda
0:28:15
i mean just try commenting that function
0:28:17
out and just try to push it open
0:28:27
right um we can try commenting it out
0:28:34
board yeah this one
0:28:39
because that's the original function
0:28:43
comment the other one out
0:29:03
actually what i'm gonna do also is
0:29:09
it would be called
0:29:21
i think yes yes lending means
0:29:25
something totally different um
0:29:31
i'm not sure if there's like a
0:29:50
but i'm not sure if that's an extension
0:30:07
yeah this one the first first one
0:30:12
integrates is land javascript into vs
0:30:18
in the open workspace
0:30:22
that's probably what we need
0:30:27
shout out to anyone watching any
0:30:49
on your footage you might need to create
0:30:53
dot instantly configuration right you
0:30:56
can do this by either
0:31:06
oh yes we need to configure it so
0:31:13
much fun i would say much fun all right
0:31:16
i'm gonna go ahead and try that again
0:31:19
and see if this works this time
0:31:24
okay so the problem was in that in that
0:31:38
but this is how we learn
0:31:43
okay wait or where
0:31:46
did we possibly go wrong
0:31:54
just check this one first
0:32:13
let's see what you sent there
0:32:19
i need to go into it again
0:32:29
error return uh res yeah return
0:32:33
then else board name is
0:32:37
will come from the prams
0:32:43
like do you recommend just copying and
0:33:08
if this doesn't work then just go back
0:33:13
otherwise case is true
0:33:24
oh this is the board
0:33:28
board names don't need that one
0:33:32
don't need that one either
0:33:56
of course in there my messed up hair
0:34:14
she managed to figure out how to as in
0:34:22
what oh yeah gekko sent a link
0:34:35
deploy it first but
0:34:37
um and show me one thing
0:34:42
show me the function is name valid
0:34:52
show me the function okay yeah
0:34:59
yeah i don't know why we are testing the
0:35:01
board name for rejects
0:35:09
it doesn't make sense to you
0:35:14
what if the user types in as in an
0:35:22
we can't just allow that can we
0:35:27
oh all right but like why this regex for
0:35:31
made for board ids
0:35:33
i think you guys just copied and pasted
0:35:36
um it wasn't me no
0:35:39
it says is name valid
0:35:42
but see the regex on line 38 that's
0:35:45
specifically for board id
0:35:58
if this is specifically for board id
0:36:08
testing against here
0:36:11
and here is this same is it
0:36:21
yes so that means that we will have to
0:36:24
we'll have to change um how we're
0:36:27
checking is the name valid in
0:36:30
when we are creating the board as well
0:36:39
i mean we just want the border to be
0:36:41
alpha numeric there's nothing
0:36:43
complicated in that so
0:36:49
board id it was a bit more complicated
0:36:53
um but that's not the problem it's just
0:36:58
but um i don't know if that's causing
0:37:00
the problem as well like um go back to
0:37:03
thing and let's see
0:37:13
i have a feeling that
0:37:16
there is some global variable being used
0:37:19
inside that function
0:37:24
um it's interesting you picked out that
0:37:28
that could be a problem because i did
0:37:30
when i was working on it i did change
0:37:33
the board to be the global variable here
0:37:43
that might be a big
0:37:47
every yeah like board being used
0:37:59
no the board as a hard code is string
0:38:07
so if you see here
0:38:11
functions that are
0:38:18
one where we get a specific board
0:38:37
does that make sense
0:38:38
yeah yeah that's fine
0:38:42
okay i'm gonna go and test that one
0:38:48
commented i'll mix a problem okay
0:38:51
yeah so that whole
0:38:53
method is causing a problem
0:39:30
say that i'm just trying to
0:39:55
okay i'm gonna go and get the geckdev's
0:40:32
let's try and get that from
0:42:24
so it's tricky thing to set this up and
0:42:28
i'm not sure i've never done it but
0:42:40
there must be instructions there
0:42:47
okay asking for confirmation
0:43:10
okay wi-fi doing globally
0:43:29
on new folders you might
0:43:31
also need to create
0:43:34
new configuration file ah right
0:43:39
on new folders you so where do we find
0:43:44
you can do this by using music that's
0:43:47
for installing eslint um dory
0:44:07
create all by running is linked one into
0:44:18
if you installed your locally then
0:44:20
there's one other under windows and
0:44:27
if you have installed linux locally
0:44:31
or if you have installed instant
0:44:34
globally see above
0:44:36
then run yeah i've done this one
0:44:45
so what would you like to use
0:44:50
check synthetic soldiers check
0:44:57
on the and find problems
0:45:00
yeah probably find problems as well and
0:45:10
javascript module import require
0:45:15
javascript modules yeah probably this
0:45:22
now i was reading like this comment
0:45:26
you're putting that
0:45:30
no it's just general
0:45:37
uh which framework does your project use
0:45:44
there's probably choose typescript now
0:45:51
wait that's your code running in
0:45:56
if you choose a popular style
0:45:59
to answer question about your style
0:46:04
use a property style guide
0:46:10
airbnb what airbnb
0:46:18
should we go for airbnb
0:46:20
standard google or xo
0:46:24
what's the difference between them
0:46:27
just the style guide basically
0:46:30
i don't even know what this is
0:46:40
well there's a bit of an issue
0:46:42
with this whole thing that
0:46:45
the next video is more
0:46:48
very inclusive slash very
0:46:51
research heavy so writing the script is
0:46:54
a bit big problem but
0:46:57
hopefully this weekend
0:47:01
today was the last day at work so that
0:47:03
was helpful now i get more time
0:47:06
okay so you finished as in
0:47:11
the holiday period yeah one and a half
0:47:14
hour and a half weeks
0:47:15
the topic is more like aws stuff but
0:47:20
i just want to create like just one
0:47:22
video on youtube covering probably
0:47:27
um that's why it's getting a bit tricky
0:47:31
i have to interview
0:47:33
two people we both know for the same so
0:47:36
and i want to do it in person with one
0:47:47
well i was like um
0:47:50
yeah really happy with the
0:47:55
no man it is a really good response as
0:47:58
in how many views have you have you got
0:48:02
i don't know i think
0:48:04
i didn't check recently but i think it
0:48:06
was like a thousand
0:48:08
which is really as an impressive
0:48:11
considering it hasn't even been two
0:48:13
weeks here isn't it
0:48:16
yeah well i know a lot of people do like
0:48:18
better like i know this guy who posted
0:48:20
like three videos and he's like
0:48:30
dory sent something on the slides
0:48:45
open slack ops yeah not on the screen
0:48:57
uh all right my one of the bulb
0:49:09
i'm gonna stop sharing my screen
0:49:12
oh you have done that already or no you
0:49:15
haven't i can do that okay
0:49:23
tori's miss torres sent us some gem
0:49:29
let's see my sense
0:49:38
i installed then make a
0:49:42
yeah that's what i'm doing at the moment
0:49:50
from the above into there
0:49:53
oh okay so that's basically a shortcut
0:50:07
take the short cut
0:50:16
which one was it yeah this no
0:50:20
okay what i'm gonna do is
0:50:31
i'm gonna end this process
0:50:35
create a fold uh create a
0:51:34
paste that one here
0:51:44
i guess it would just
0:51:49
we are the synthetic service
0:51:56
we said as well so
0:52:16
uh it's better than jason objects array
0:52:29
yeah the extension is not just
0:52:35
that's where i messed up
0:52:48
for pointing it out
0:52:55
now you should just work is it
0:53:04
there are a couple of problems
0:53:07
in the couple it's like 280
0:53:13
properties shouldn't be
0:53:15
quoted as all codes are redundant
0:53:18
whoa all right fine
0:53:21
so basically means this
0:53:24
that there shouldn't be any quotes
0:53:31
gonna take a bit of time
0:53:35
actually one might do
0:53:45
place with a space
0:53:58
that's looking good
0:54:00
and if we replace this with all as well
0:54:17
that seems promising now
0:54:20
and now if we go back to there
0:54:24
it should show us where we've been wrong
0:54:33
interesting i'd like to see a video
0:54:35
tutorial on on how to set this
0:54:47
i don't even know what it is like
0:54:59
okay how to format your code using okay
0:55:07
okay and we open the extension browser
0:55:12
configure rights this is the one we need
0:55:16
searching to use formatting open a
0:55:18
musical settings on the mac cmd plus
0:55:24
so if you're going to on the maximd plus
0:55:28
no this is just giving me
0:55:31
this is just zooming in
0:55:41
raise the settings
0:55:44
on mac press cmd plus will get there
0:55:50
i'll probably do this code
0:55:52
preferences settings
0:56:00
settings you will open up a fancy
0:56:04
we need the raw json setting file
0:56:11
click the tiny icon in the top right
0:56:20
in the top right that looks like a piece
0:56:21
of it's a little arrow
0:56:24
i've add these four lines inside the top
0:56:36
these are three lines
0:56:49
this is fun to be honest what do they
0:56:51
mean though like the lions
0:56:56
gonna do this and and then
0:56:59
understand it add these phone new lines
0:57:02
inside the top level setting object
0:57:07
top level saying object
0:57:10
which would be this one
0:57:19
okay so it's basically saying
0:57:29
code actions on save
0:57:33
yeah whoops oopsie
0:57:37
record actions on save
0:57:39
source fix also this one needs to end
0:57:50
yes lent has to be true as well i don't
0:57:53
i don't really know what this means
0:58:07
i don't i'm trying to google what easily
0:58:09
this honestly i'm trying to see the
0:58:14
what is it though like then like what
0:58:18
from my understanding you it's just a
0:58:21
kind of a syntax indicator for
0:58:26
javascript as in if you have syntax
0:58:29
errors and you install es
0:58:32
lens it will it will basically
0:58:35
show you where have you got the wrong
0:58:38
syntax and it can also format the code
0:58:42
for you and highlight all the syntax
0:58:45
right that's basically what i'm
0:58:47
understanding so far
0:58:54
okay the first turn ah so it explains it
0:58:58
so i am i'm a numb nut
0:59:24
make it through the formatting menu save
0:59:26
all right actions so
0:59:29
they should just save the settings file
0:59:31
and close it we are done
0:59:43
that should be crime making some change
0:59:53
leaving off a semi
0:59:55
colon if they are required
1:00:38
finally left the semicolon and did um
1:00:42
i had a very important meeting with tori
1:00:45
um he sent a code snippet and slack and
1:00:48
told to add that and pay package.json
1:00:52
if you do this everyone's gonna have
1:00:56
uh when they execute the code
1:01:01
right right right right right
1:01:03
but i don't know why you understand why
1:01:13
so the way i would understand it
1:01:16
understand is because uh is that my vs
1:01:20
code configuration
1:01:25
committed in the repo and and then when
1:01:28
others have the code because they might
1:01:32
not have yes lent in their
1:01:36
vs code then it's gonna really cry
1:01:41
i need that but you guys haven't haven't
1:01:43
got it but it will work fine for me
1:01:46
because i've already got it
1:01:48
that's what my instincts
1:01:50
say am i right tori
1:02:00
well all right just let's just add that
1:02:03
in package of jason
1:02:05
yes i'm just gonna stop my
1:02:08
uh actually can you stop my screenshots
1:02:13
do that it starts then go to slack and
1:02:23
add it to your package
1:02:35
aurora coco cool i say
1:02:39
cool so if you i would have to go back
1:02:53
perfect i should be okay now
1:02:56
so i would go into my package go on
1:03:00
jason and then just add it there
1:03:08
i'll add into this
1:03:09
i like your screen though
1:03:33
should just show us the
1:03:41
i do i just don't understand story
1:03:44
i need like yeah i just don't understand
1:03:46
the topic that's why
1:03:49
right they still not doing anything
1:03:57
maybe we would show or something
1:04:03
all right guys i'll i'll probably have
1:04:05
to do it in my own
1:04:08
time and i'll update you
1:04:10
guys tomorrow how did i go on this
1:04:14
this is becoming addicted and it is it
1:04:29
all right um so yeah we can
1:04:34
leave it off at this stage and then um
1:04:38
um try my best to get this problem
1:04:41
solved by tomorrow and see how i go
1:04:54
do you want to do that closing off
1:04:57
yeah um looks good
1:05:00
let's uh come back tomorrow or yeah
1:05:03
um to see how we can do that and
1:05:07
if not we'll just go ahead
1:05:09
i don't know what he has linked is still
1:05:10
properly so i'll go ahead and do some
1:05:14
yeah my work is off so i'm pretty happy
1:05:16
for the next three and a half weeks
1:05:19
yeah that's pretty good
1:05:21
my last day is on friday and then i'm
1:05:25
gonna i'm gonna be having a week off
1:05:29
before signing that new job so looking
1:05:35
oh yeah where is that though i forgot
1:05:39
um it's still in this city but it's on
1:05:46
yeah even my works on collin street
1:05:48
oh okay that's pretty good
1:05:53
already um all right girl
1:05:57
cool guys see you guys same
1:06:00
same times same place and
1:06:06
she sounds really depressed and same
1:06:09
time just saying oh yeah birthday dude
1:06:13
oh wait come on zayn
1:06:19
yeah oh yeah it just worked it bro
1:06:26
oh goodnight cheers bye