0:00:23
alrighty welcome back everyone welcome
0:00:25
back to another episode of build break
0:00:28
and fix um first all those people are
0:00:31
new here we are of course
0:00:33
that means we are a team of two
0:00:36
from melbourne australia um and
0:00:39
currently we are working on a project
0:00:42
persistent storage or basically a login
0:00:44
functionality to a current
0:00:46
representative project
0:00:47
called scramble.ca and also we were
0:00:51
having some issues with the with going
0:00:53
live but i think i can see we got live i
0:00:55
got a message on my phone so saying
0:00:58
would you be kind enough to check it
0:01:00
cool thanks for that um if you are
0:01:02
someone who is interested in
0:01:06
stacks revolving express.js
0:01:09
or fetch apis a lot of aws serverless
0:01:18
just things and scrum methodologies in
0:01:20
general then you're in the right place
0:01:22
um you're going to be seeing a lot of
0:01:24
more of that once you continue with us
0:01:29
but yes we are sure it will be fun
0:01:33
so yeah yesterday we
0:01:36
worked on correcting the board name
0:01:40
validations that meant that
0:01:42
boards cannot be more than 30
0:01:46
characters in length or
0:01:48
they cannot be anything except
0:01:52
alphanumeric characters and spaces if i
0:01:57
so if you don't know what board name is
0:02:00
once you join us you'll get to
0:02:02
understand the whole
0:02:03
um architecture of the
0:02:06
application we are building um we're
0:02:09
really slow so that our users and our
0:02:13
our viewers would are able to
0:02:15
join us through this process of
0:02:20
so yes um how do you feel
0:02:23
we are feeling pretty fast and
0:02:26
i got my ethernet cable and at the
0:02:29
moment i'm actually
0:02:31
wired up straight from the road and it's
0:02:34
oh i want to see your latencies
0:02:38
yeah so i was actually really
0:02:41
curious about that myself
0:02:44
turns out that it didn't really improve
0:02:46
it's still the same but i was still
0:02:50
share my screen and um
0:02:54
as in i was i was kind of hoping for a
0:02:57
bit of an improved one but it didn't
0:03:00
and i was like um all right cool if it's
0:03:05
like a truly viral wireless
0:03:09
then the latency should be near zero
0:03:18
sorry if i had yeah yeah
0:03:22
um ladies you shouldn't be near zero
0:03:24
um hey kidduff um please get some water
0:03:38
all right i'll just do a speed test
0:03:55
that's pretty good like uh
0:04:04
upload speed is all right i would say
0:04:15
that's interesting
0:04:17
so it didn't change
0:04:19
and i was kind of hoping for it to come
0:04:27
but um i did a check on
0:04:30
on google that um this said that it
0:04:32
depends on the type of connection you
0:04:35
have and i've got the dsl
0:04:38
connection and for that typical
0:04:49
and it goes up to 62 to 63.
0:04:55
maybe this latency isn't on your end um
0:04:59
it's just the connection provider's
0:05:02
general latency right right right say
0:05:06
do you know how to check um
0:05:12
i mean if this latency is
0:05:15
across like this is like exact latency
0:05:18
across every device of yours
0:05:21
then it's probably not on your end
0:05:23
because there should be some difference
0:05:29
on your own max connection so
0:05:31
maybe have a look around that if it's
0:05:33
around 22 to 25 then it's just not your
0:05:37
fault right right right i'm just doing
0:05:40
this same on my mobile see what happens
0:05:45
anyway we will come back on track and
0:05:48
i'll keep you guys up
0:05:50
posted when it finishes on the mobile
0:05:54
right so yes today we did um i think
0:05:58
that one was on post board was done
0:06:08
yeah i need to do it from scratch
0:06:16
i'm pretty sure i saved it
0:06:20
oh really oh oh yeah
0:06:27
forgot to click save that could be the
0:06:33
that's when they're only two tickets
0:06:36
that's not a big all right on the mobile
0:06:39
26 right okay yeah then this is not not
0:06:43
a thing you can control yeah
0:06:47
i wonder what i can't control about
0:06:49
latency though i'm really curious oh i
0:06:52
wanna basically zero latency which is
0:06:55
kind of impossible
0:06:57
um yeah that's impossible
0:07:05
this is already done
0:07:10
limit come on zayn
0:07:16
dory littlefield had two fridays he says
0:07:19
happy friday again
0:07:24
done happy friday she's your tory
0:07:28
littlefield return board it should be
0:07:32
we need to just change
0:07:35
this in the to-do method so
0:07:40
you didn't say click save again you
0:07:42
didn't click save oh my god
0:07:48
no you didn't click subscribe
0:07:51
no it's if you close the tab it won't ah
0:07:54
right right right right right i see so
0:07:57
what happens is ah yeah that was my
0:08:02
yeah forgot to pray to save yeah cool
0:08:07
zero latency is only possible if you
0:08:09
convert all your if statements to
0:08:14
and that shall be done
0:08:23
we do some sort of challenge someday and
0:08:28
we are happy to put this as our official
0:08:31
profile pic for a day
0:08:50
so in the post board
0:08:55
get our board id replaced with
0:08:59
we need to get our board id
0:09:05
please convert that if you are on 40
0:09:10
on 40 line number 40.
0:09:17
okay what i'm gonna do is we can
0:09:20
actually do a ticket for rep
0:09:24
and we will be coming back i think i've
0:09:27
already got ticket for it i think
0:09:33
no it was that one
0:09:36
i can't tell if everyone is serious
0:09:37
about this whole switch and if thing
0:09:40
i think uh i think they are
0:09:45
no no no no i think they are because i'm
0:09:48
from i know a couple of as in other
0:09:51
senior devs as well and they are
0:09:56
they're kind of highly
0:09:59
against but they don't recommend using
0:10:05
all right they highly recommend
0:10:07
switches because one they're easy to
0:10:10
read and second they made the code
0:10:14
they make the good
0:10:21
because this was like the first time i
0:10:23
heard about it or maybe it happened in
0:10:26
production i i'm not too sure
0:10:36
that one's done so we will be coming
0:10:42
oh these brackets take extra actually
0:10:49
focus on the actual thing zane
0:10:53
so where was the post yeah here we go
0:10:55
and we wanted to change the id of it
0:11:03
so when it creates the board it spits
0:11:07
out the id and that id we wanted to
0:11:15
yeah this this is the one
0:11:24
um you happy with that
0:11:27
yeah yeah yeah yeah just uh just do it
0:11:30
all standardized that's all yeah mm-hmm
0:11:37
one case still write a switch
0:11:48
um yeah it's like the kind of like the
0:11:53
that was between all us which didn't
0:11:55
post it on like this
0:12:02
oh where am i going cool
0:12:11
now where do we move on
0:12:21
deleting a board should not return
0:12:23
anything except 200 right
0:12:27
so do this thank you sorry thank you
0:12:34
also i forgot to make that comment on
0:12:36
youtube dory i'll do it
0:12:40
it's really important
0:12:44
there was the command right which i was
0:12:46
telling tori ah okay
0:12:49
yeah so he asked me to make a comment on
0:12:55
so deleting a board when it's deleted we
0:12:58
should not return anything
0:13:02
when it's done successfully
0:13:09
we're not returning anything anyway
0:13:14
the board is present yeah so i don't
0:13:16
know why that was there
0:13:22
deleting a boy should not return
0:13:27
i really want to test
0:13:30
oh my my look at my internet
0:13:35
i don't even catch my own internet
0:13:38
i wrote a comment on yesterday's video
0:13:40
to remind yeah i saw that that's what
0:13:49
i remember you guys did a pronunciation
0:13:59
if there was one person i i don't know
0:14:08
they decided to pull pull my leg from my
0:14:11
and everyone just followed them
0:14:26
and now you sound british
0:14:33
i guess why they were doing it now
0:14:38
right so what did i want to test uh
0:14:41
let's get all boards first
0:14:44
yep and uh it won't work because i've
0:14:47
got your no okay cool
0:14:56
what do i get back did you did you get
0:15:02
did you push it to yours
0:15:06
what do you mean push it's mine
0:15:08
did you build it again
0:15:19
should have built it and then checked
0:15:22
um get your get your table name from
0:15:29
not like i said from that place
0:15:33
i've just stored my devil name now
0:15:36
like um just in a text file
0:15:42
how much do i need first i
0:15:45
need to study foreign practitioner
0:15:47
search and developer search
0:15:49
cause feeling pretty lazy
0:15:52
or don't bother it just search i don't
0:15:57
um it's not about the search it's about
0:16:01
uh i mean yeah exactly
0:16:06
yeah gekko says you don't need search
0:16:08
has become a scam master
0:16:12
um yeah i guess it's about testing what
0:16:14
you know there's been like a lot of
0:16:18
why should people do search no not gonna
0:16:20
go into that if you
0:16:23
i mean yeah i know zen would support it
0:16:25
and i support it as well
0:16:28
you haven't heard my answer yet
0:16:32
i was gonna say don't worry about says
0:16:36
that's your natural talent
0:16:41
yeah but that being said if you are
0:16:43
looking to get higher it's easier way to
0:16:46
tell your employer
0:16:48
okay that was a joke by the way yeah
0:16:51
by the way continue
0:16:53
you know then when people don't get that
0:16:55
joke it's called that joke i know that's
0:17:02
just continue because it was a bad joke
0:17:06
uh get this says or become a kobold
0:17:09
programmer or or hear me out
0:17:13
i was always there
0:17:15
all driving driving uber
0:17:26
probably hire say a limo
0:17:30
friday and saturday nights or you're
0:17:32
going to become a millionaire overnight
0:17:35
or hear me out last option a story says
0:17:38
or become a java dev
0:17:43
uh he's gonna love java
0:17:47
that's always there for you
0:17:54
okay i'm gonna just deploy
0:18:38
okay are you deploying it
0:18:42
very nice deploying it now
0:18:45
excuse me if you had it
0:18:52
what'd you have for dinner jen
0:19:03
two pancakes with as in two chicken
0:19:06
breasts and cauliflower
0:19:11
all right okay yeah
0:19:14
you started with i had two pancakes and
0:19:29
actually just skipping all the compilers
0:19:30
and straight to writing machine code
0:19:34
development time yeah sure
0:19:40
yeah even tori has that question
0:19:42
is it two pancakes or two chicken
0:19:45
breasts and cauliflower
0:19:48
so each you can okay yeah that sounds
0:19:52
really confusing isn't it
0:19:54
i feel like you just had pancakes
0:19:57
yes yes so pancake uh the chicken
0:20:00
breasts were on the pancakes as pieces
0:20:05
was on the chicken breast
0:20:09
if that makes sense now to be honest
0:20:11
when i hear pancakes the sweet ones come
0:20:17
they are wanting to have them but
0:20:20
sweet for me man i can't stand that
0:20:23
that's the reason i have maple syrup on
0:20:30
got that as well i couldn't even stand
0:20:35
really what this is that pancake is all
0:20:40
i don't think there's all the rip off of
0:20:46
no that's not the one aussie brand
0:20:54
i mean pastries are pretty much really
0:20:57
all you know like chicken pastry oh
0:20:58
sorry meat pastries meat pies
0:21:06
the scottish food isn't it pies and all
0:21:18
but the meat price i guess um yeah okay
0:21:28
all right please board okay
0:21:30
what do we get when we delete the board
0:21:36
okay cool um so we shouldn't get this
0:21:47
thing pancakes and chicken
0:21:50
would let you send cauliflower
0:21:56
you can probably say it's an asian thing
0:22:00
because of cool and asian partner and
0:22:04
she really likes it and
0:22:08
but it was really tasty man really tasty
0:22:21
no delete okay so we don't want to send
0:22:43
i'm just gonna go get some water
0:22:54
so if you don't have
0:22:56
this one why do we keep that one
0:23:03
case for present yes
0:23:11
so if we are sending this
0:23:16
we don't really need data then
0:23:19
if we're not using here
0:23:29
justin bourne board delete
0:23:35
oh if i don't send anything back
0:23:40
don't send anything back
0:23:42
what would this do
0:23:54
sounds good if you're
0:23:56
so good to me just
0:23:58
never heard of it okay cool tori i did
0:24:01
you ever find out what i see
0:24:08
not really i keep on forgetting to watch
0:24:11
the video that i'm tori littlefield
0:24:14
sent on this slack channel um i i will i
0:24:19
watching it as in hopefully tomorrow and
0:24:33
few things uh hopefully they are about
0:24:38
some of them tomorrow so i'll have a
0:24:40
slightly more time then
0:25:17
unless i used to wrap my pancakes in
0:25:20
eggs with some tomatoes
0:25:23
very nice curry um sounds like a
0:25:32
small church though
0:25:38
one tomorrow as in
0:25:42
probably around 16 or 17
0:25:46
raw one and i just
0:25:50
i i don't know why tomatoes are i guess
0:25:54
i mean sure raw they're really really
0:25:56
bad like as a fruit
0:25:58
they're just disgusting
0:26:02
uh mixed with other stuff it's pretty
0:26:09
was a bit different to that one and
0:26:15
i don't think i've had any raw as in
0:26:17
those you know how the pus
0:26:19
slices of tomatoes and burgers and all
0:26:25
i can't even have that
0:26:27
oh my goodness okay
0:26:38
oh i'm sure sorry i
0:26:46
probably just personal preferences
0:26:52
okay i've got the board
0:26:56
can't get the board
0:27:01
let's check if this does it because we
0:27:15
oh i remember shepherds by i don't know
0:27:17
if you guys have had that
0:27:21
yeah i used to have them from calls as
0:27:25
really good really good
0:27:41
like this is not gonna happen
0:27:44
as in there will be at least an empty
0:27:51
response so i'm not going to waste
0:27:54
can you show me the first
0:27:56
can you show me for one second yeah
0:28:11
why is it returning an empty object
0:28:21
we don't have anything in this send
0:28:26
anything in send for let's say patch as
0:28:28
well go to pad let's see what we have
0:28:37
how are we sending it
0:28:43
but in patch the anything we don't have
0:28:54
do a patch and there's no empty object
0:29:06
well you already have the board id set
0:29:08
one i know i'm just checking the board
0:29:12
is actually there which is
0:29:18
yeah that's fine that was that one
0:29:26
see this doesn't return anything
0:29:30
probably because it's saying that is
0:29:33
done and one means
0:29:36
no that's not one that's how postman
0:29:43
that's postman's line number
0:29:52
um so this doesn't actually return
0:29:55
anything but go to delete uh hang on a
0:30:01
because he's choosing
0:30:04
we're not doing anything with the
0:30:11
uh did you declare a data object here
0:30:20
you didn't even declare it did we
0:30:31
did you declare it uh publicly no um
0:30:35
i'll have to check
0:30:42
how did you compile
0:30:44
how is it working then
0:30:50
there's a data in a space oh here we go
0:30:55
but that's in the get
0:30:59
get one that shouldn't really do
0:31:08
this is really interesting
0:31:21
typescript yet i would probably delete
0:31:30
see what's happening
0:31:32
i'm really really surprised by that
0:31:37
you know what might be happening
0:31:44
if this is ghetto boards
0:31:51
a global one but it isn't
0:31:58
there's no present false
0:32:26
try if removing that data it works
0:32:31
as in it gives at least something
0:32:33
literally impossible
0:32:35
okay i'm just gonna go through the code
0:32:37
which i have i wanna see what's
0:32:40
anyone using typescript yet um
0:32:44
i am using it for my work
0:32:46
this is a real head scratcher guess who
0:33:11
and that was this one point the
0:33:16
is called present delete it
0:33:19
and then send the status that
0:33:28
so it's surely defined as lead because
0:33:39
but then it says no definition found
0:33:46
like it's saying no definition found but
0:33:48
it's not trying an error
0:33:59
you know what happens in the real world
0:34:03
if we experience this kind of a arrow we
0:34:11
just if it's working and if it's doing
0:34:14
what we wanted to do
0:34:17
then we just move on
0:34:19
yeah but like i just want to learn
0:34:23
yeah i'm just as in really conscious of
0:34:28
as in the pace of the project is
0:34:35
i'm doing at the moment is moving on but
0:34:40
stay at that step at your end and just
0:34:45
dig around and if you find anything
0:34:47
useful i would love to know what that
0:34:53
yeah i mean for for me like most of this
0:34:56
is for learning purposes so yeah um
0:35:14
okay apparently if you don't
0:35:24
um typescript karthik
0:35:31
yeah i mean it's it's pretty good
0:35:34
getting to work with data types and data
0:35:40
and just object orientation that's
0:35:42
pretty fun actually
0:35:47
like i like the whole idea
0:35:50
um in which in programming everything
0:35:53
interacts as an object and classes
0:35:56
um like just like a blueprint so
0:35:59
um or maybe it's just me i'm more
0:36:01
familiar with that like stinky job yes
0:36:14
what's l5 line 550 oh
0:36:18
can you show us line 550 then
0:36:35
studio if you do control five so which
0:36:39
would be mac command
0:36:43
as in control fn and
0:36:48
actually i'll come to the afterwards
0:36:58
oh yeah yeah yeah um yeah we need to
0:37:01
uh uh i think we have to get for that
0:37:08
the fact that i did that earlier because
0:37:10
in video studio i if you press ctrl
0:37:18
that you want to go to
0:37:20
it takes you straight to that line but i
0:37:23
just go i just got confused
0:37:29
video studio still
0:37:31
then no time for that project
0:37:52
so testing and delete is working
0:38:02
okay so that was the problem you were
0:38:06
then data was there undefined
0:38:11
it wasn't properly properly defined
0:38:15
yes okay cool so let's update that one
0:38:21
or just open command
0:38:23
palette and type go to
0:38:26
or might just scroll to that line number
0:38:30
that helps um we should delete the board
0:38:35
oh it wasn't really in the board
0:38:40
that's why we added
0:38:45
ah right i think you may be right but
0:38:49
it does work to be
0:38:51
hang on i'm gonna post another board
0:38:54
and see what do i get
0:38:56
do you remember um i think it wasn't
0:38:59
working that's why we were laughing
0:39:06
so get bored at the moment we have only
0:39:08
one board so if we delete this board
0:39:19
okay of course that that works
0:39:22
as well maybe it could be something with
0:39:24
the whole data thing only hmm
0:39:31
there we go good boy zane
0:39:36
if you need a mouse
0:39:38
but in general or to scroll to a line
0:39:43
i can't use my computer without a mouse
0:39:45
i'm just saying uh
0:39:47
very day update board
0:39:50
did we do this right
0:39:58
sort of validation implemented for
0:40:01
well we repeated that yes
0:40:06
that was the board name
0:40:09
update4 didn't have any validation
0:40:19
i think it's missing some cases
0:40:28
right yes yeah okay of course so then
0:40:32
need some work on it
0:40:36
in the future i am thinking that we
0:40:41
create just one validation method
0:40:45
and then put all the validation
0:40:54
for validation and pour the methods in
0:40:58
here and just reference it
0:41:04
the whole concept is called an
0:41:10
yeah so what it basically does is if i'm
0:41:13
not wrong it binds the whole
0:41:19
um into just like it it has like a layer
0:41:23
on top of your running app.js
0:41:26
and you can validate pretty much
0:41:28
everything and anything using that
0:41:33
i didn't know about that that would be a
0:41:35
cool as in fury to learn
0:41:40
tory littlefield says
0:41:43
wrong you don't even need a gui that's
0:41:46
you only need a terminal and vim
0:41:54
a guy named his jim
0:42:00
no one could leave his gym now
0:42:04
don't even use vs code it's garbage
0:42:10
we should stop using is code
0:42:15
what else do we use then if not vs code
0:42:28
actually we can experiment it and see
0:42:41
alexa how are you going um okay
0:42:46
didn't you do those uh
0:42:48
limiting characters
0:42:51
validation it's in is alphanumeric
0:43:03
i have a feeling that's not right the
0:43:08
is it a phone numeric
0:43:18
is id alpha numeric i think that has to
0:43:23
the method of acid
0:43:26
this is not following the single
0:43:29
responsibility at the moment
0:43:32
yeah sure um yeah we can do that but
0:43:34
like the whole implementation is already
0:43:36
there i don't know why the ticket is
0:43:40
oh hang on are you talking about the
0:43:42
ticket or the validation now
0:43:45
validation is already implemented that
0:43:47
the board limit both
0:43:52
limited if you look here
0:44:13
gekder says that we should name that
0:44:21
with optional hyphen and lens 36
0:44:29
is that something you would do then
0:44:41
um i'm just thinking of this
0:44:46
limiting thing is invalid
0:44:50
if we plan to put two two concepts in
0:44:55
one method then this
0:44:57
um error name is really as in broad
0:45:02
won't understand it
0:45:04
isn't that what you pointed here today
0:45:08
that the um error message would be
0:45:10
generic and i don't know i don't know
0:45:16
you've got this method
0:45:23
so at the moment this method is
0:45:28
alphanumeric which is yeah fine so if
0:45:36
numeric obviously it won't be
0:45:40
yes today we also added another scenario
0:45:45
in this as in another kind of very
0:45:49
validation in the same method i think
0:45:51
you're getting confused
0:45:53
um yesterday we made a totally new
0:45:58
okay so which was checking
0:46:01
if the length is greater than zero or
0:46:07
this this this has been there since last
0:46:09
10 days this function hasn't been
0:46:12
yes is basically going to check
0:46:15
if all the board ids and node ids are
0:46:19
there's no other way you can do this
0:46:23
what you're referring is i think you've
0:46:24
got confused between board name and
0:46:32
was that you know when i said to you
0:46:37
she did uh the validation
0:46:40
which is a board id length must be
0:46:44
yes you've already done this i'm pretty
0:46:48
today but i couldn't see that
0:46:51
method in my version so i
0:46:58
i can't see and then you pointed
0:47:01
out there is this method
0:47:05
validation as well but it
0:47:08
doesn't yeah because you just said it
0:47:13
yeah wait one second why does he follow
0:47:25
where is the other one which is for
0:47:31
that's what i can't find here
0:47:34
did you do get pull or did i not do it
0:47:38
um check on your side because i did do
0:47:42
get pulled i'm pretty sure
0:47:45
yeah then good there you go
0:47:48
just let me have a look
0:47:50
because i'm pretty sure we did that
0:47:51
function and that i don't have that
0:47:55
or unless i'm blind and i can't even see
0:48:04
again my eyes have
0:48:10
there's a high chance that i missed it
0:48:12
no that's all good i'll try pushing it
0:48:22
yeah i don't think
0:48:24
for me it says it's already up to date
0:48:26
without okay hang on i'll just
0:48:31
you will get full again but
0:48:49
uh why did you hang on
0:48:51
one second i don't believe this
0:48:57
um go through because
0:48:59
you already had changes
0:49:07
okay don't worry about
0:49:09
these changes that
0:49:15
i'm not afraid by the changes the first
0:49:25
yeah maybe maybe if i did the push now
0:49:31
did you do the push now
0:49:33
i did the push again but it said it's up
0:49:40
i'm really really confused now
0:49:48
no that's not the one
0:49:53
let me just catch up with the chat
0:49:58
have you thought this might be
0:50:09
she just did the push now so maybe that
0:50:12
was the reason why
0:50:14
all right cool anyway
0:50:18
um i need to make sure all the
0:50:21
changes i've done which are
0:50:24
okay i don't need that change
0:50:27
i need the board id
0:50:32
change what i do have you thought this
0:50:34
might be easier to redo in golang
0:50:42
as i've mentioned before in this channel
0:50:44
i hear that kobold isn't hard maybe he
0:50:51
it's a good idea burn down this awful
0:50:53
cold and start over
0:50:57
maybe we can start in java
0:51:03
on line 65 why is it
0:51:15
i wasn't thinking right
0:51:23
do that thanks for pointing that out
0:51:25
sorry little feel all gagged up whoever
0:51:28
who oh there are more people
0:51:34
that wasn't important thank you guys
0:51:37
really appreciate that
0:51:39
yeah that was alexa
0:51:43
alex hey doing mate you're right
0:51:55
sure we can do that
0:51:57
this call is so bad the garbage
0:52:00
collector runs before
0:52:16
and i can get the hat as well as in my
0:52:21
i just took the screenshot
0:52:28
could convert 95 of this to java
0:52:31
by renaming the extension java must
0:52:35
most of it will compile
0:52:37
giza are you installed
0:52:44
okay i really don't know what that is i
0:52:48
but yeah uh it's already nice one that
0:52:53
okay that one's done
0:52:55
so now what i need to do is go back yeah
0:52:59
yeah we can convert this to java for
0:53:07
there down the line
0:53:10
something like springbook i guess
0:53:23
it's a new plugin came out
0:53:47
using that extension
0:53:51
there's no extension named code sc
0:54:09
you can't run any of the front end
0:54:11
components with java middleware is one
0:54:19
um good choices for a middleware would
0:54:21
be either fetch or axios
0:54:26
has been much easier um
0:54:29
i i actually i am doing axios for
0:54:33
the university project
0:54:36
turns out fetch is much easier for sure
0:54:46
in google in it search you can find that
0:54:50
perfect for carpet now he can write
0:54:52
javascript and compile it in java
0:54:55
that's the dream that's literally
0:54:58
just go back to the roots
0:55:01
uh it's name valid
0:55:14
this function to have just one
0:55:20
to just do one thing because at the
0:55:21
moment it's doing two things
0:55:29
basically when you tell the user that
0:55:37
as in if you come here because
0:55:43
checking the names length
0:55:54
so if we go down to
0:55:57
create board no i don't need credible if
0:56:03
this thing juicy against the board
0:56:05
name and it comes off as force board
0:56:09
name is in is not valid
0:56:15
how would the user know that
0:56:18
the board name has to be
0:56:21
limited to they two characters
0:56:25
the user won this is the front-end tasks
0:56:28
not the pack and to specify
0:56:31
what type of input we want
0:56:35
when you do when you do pay when you
0:56:37
call a page which is not there let's on
0:56:39
github it doesn't say go to that page
0:56:41
it's just a page not found or this is
0:56:48
the way the the thinking works is that
0:56:51
these requirements can change anytime
0:56:53
and the back end shouldn't be telling
0:56:56
um what needs to be in like you know how
0:56:59
things are validated and react
0:57:03
just like password length or like using
0:57:05
a dollar sign and password
0:57:08
no it doesn't go to back end and
0:57:10
validate these things
0:57:16
yeah go ahead all right
0:57:33
just say for example if i
0:57:36
i have typed saying
0:57:51
so if it's one two three four five six
0:57:54
seven eight nine ten eleven twelve
0:58:04
32 characters okay this is more than
0:58:08
yeah yeah okay for
0:58:10
argument's sake but if you
0:58:22
have all there and that one
0:58:32
and if and this as a whole is failing as
0:58:38
greater than 32 right
0:58:44
what i'm trying to ask you is that how
0:58:48
um the front end guys pick up based on
0:58:54
what we have said it
0:58:56
as into decreasing limit i'm no
0:59:00
not decreasing limit but as into
0:59:10
the amberson sign doesn't have to be
0:59:16
yeah i'm gonna ask you a question
0:59:20
just on top of this okay
0:59:23
even if you want to return let's say in
0:59:26
hypothetical sense that we
0:59:28
specify every single message across the
0:59:35
just for board name
0:59:37
just for the whole board name scenario
0:59:39
there are at least five checks
0:59:42
yeah it's actually present if it's
0:59:45
if it's actually 32 length if it's in
0:59:49
how are you going to every time return a
0:59:52
particular scenario which failed
0:59:55
when board name isn't valid
0:59:58
do five different messages return
1:00:01
every time either one of these is filled
1:00:05
okay also one more thing which i want to
1:00:07
add that these things would be checked
1:00:09
in the front end as well we are doing
1:00:13
um any sort of because they like this
1:00:16
thing is open anywhere right so any sort
1:00:19
of data passed in the back end doesn't
1:00:21
actually go to our dynamodb database
1:00:24
when the person is going to enter board
1:00:26
name in the front end it's going to be
1:00:28
checked there as well that oh yeah you
1:00:30
didn't um it's more than 32 characters
1:00:37
i see what you mean so you're
1:00:40
saying that even if you're mixing the
1:00:43
two validation scenarios here
1:00:47
it was it will still be uh validated in
1:00:54
yeah yeah so you know how passwords work
1:00:58
in the front end the password is
1:01:02
all one capital letter
1:01:04
a number and a special case
1:01:07
and in the back end
1:01:08
it's uh said if it's the right password
1:01:12
not the back end in opposition trying to
1:01:15
see if it has a lowercase uppercase
1:01:19
that makes sense right
1:01:22
okay right right so
1:01:25
i get the conclusion here is that we're
1:01:28
trying to keep the backhand validation a
1:01:37
as in the specific foundations in the
1:01:46
in that case that makes sense
1:02:07
i haven't even seen kobold syntax ever
1:02:10
okay so that one's
1:02:14
what snippets funko ball
1:02:20
why do you always do this to me
1:02:26
name should be alpha numeric yeah this
1:02:39
oh then see the time
1:02:48
right okay yeah i just didn't realize it
1:02:51
yeah that's uh it does
1:02:56
yeah yeah i agree with you as an already
1:03:08
not found scenario probably more
1:03:12
i would not agree to that story
1:03:15
empty no not lightly
1:03:27
okay that one so empty board name if i
1:03:30
give it that shouldn't go through
1:03:42
all right empty board name is going
1:03:44
through interesting
1:03:52
oh it's called there
1:03:55
okay cause empty scientific name is
1:03:58
going through into
1:04:01
now i want to be checking for it
1:04:06
we are probably not checking for a test
1:04:26
we need to check for his empty board
1:04:40
see what items isn't uh so just give
1:04:57
i'm just gonna write that over there
1:05:00
ordinary switch that one
1:05:17
says never validate on the back end it's
1:05:20
poor practice a senior dev told me
1:05:26
that's kind of cool tori
1:05:30
you're in good hands
1:05:35
if this is empty then it would be false
1:06:25
there we go it's just deploying at the
1:06:27
moment so the scenario we're checking at
1:06:30
the moment is when we update a board but
1:06:32
pass an empty board name it should not
1:06:40
does every build cost you money though
1:06:49
i don't know about that i'd have to get
1:06:55
because like yeah what is kind of it's
1:06:58
kind of bad bad practice like
1:07:00
um just doing so many builds
1:07:07
oh you did get pulled and you didn't
1:07:09
update the table name
1:07:21
um yeah i don't see
1:07:31
that being said i looked into the env
1:07:34
even for our uh uni project i had to
1:07:40
apparently there's a way to make dot e
1:07:42
and v files and refer it
1:07:47
italy is definitely charging you because
1:07:52
pulse have a pulse
1:07:54
what is that supposed to mean oh okay
1:08:02
talking about the charges um
1:08:08
tomorrow uh in the
1:08:11
afternoon it might be a good idea to to
1:08:14
just sit together and you can
1:08:18
take me through the
1:08:24
aws does and um also we can do our
1:08:29
stuff from my side
1:08:32
um yeah i'll let you know because i
1:08:40
yeah like i'm just working on myself to
1:08:43
just get familiar with the code base
1:08:50
i mean it's not like
1:08:52
like the cto is happy to sit with me and
1:08:55
just like explain stuff to me so i was
1:08:57
like yeah saturday school
1:08:59
um cool i don't mind i anyway don't have
1:09:05
what's gonna happen if i were consent
1:09:15
you're happy and and it
1:09:18
doesn't affect your personal life
1:09:22
i mean most of my math works on like
1:09:24
weekends like when they do like
1:09:26
part-time jobs in stores and stuff
1:09:30
yeah but that's part-time
1:09:34
just for the money right
1:09:38
and this is something very bigger for
1:09:44
okay that one's there cool got the board
1:09:53
and this should not allow me to enter
1:10:13
people what am i even doing you're right
1:10:19
i'll create a note
1:10:34
career knows for sp
1:10:35
i wanna go to the update board yeah here
1:10:52
as in the empty one right
1:10:57
post what do you mean
1:11:01
it doesn't it shouldn't go through
1:11:08
i was calling this i promise so
1:11:11
if the board name is a string
1:11:23
ah no no no it's all
1:11:27
so it has to be a string
1:11:32
or if it's empty don't go through or if
1:11:36
not string don't go through
1:11:40
let me check if this works
1:12:01
do you look at ios 50 engine
1:12:09
actually i'm not sure
1:12:13
i still have to upgrade my
1:12:20
um it's like um what do you call it
1:12:24
um it's on iphone the ios
1:12:31
no i haven't uh updated that
1:12:34
yet well i did some pretty cool things
1:12:42
um so if you click a picture now like if
1:12:44
i take a picture of this code
1:12:48
literally go inside the picture
1:12:50
and like you know how you copy text
1:12:52
generally when on in notes or something
1:12:55
you can just tap on the picture and copy
1:12:58
the text from the picture
1:13:02
just like it's notes
1:13:06
i didn't know that actually
1:13:08
yeah that's like a inbuilt ocr system
1:13:15
it does it does sound really cool to be
1:13:20
facetime can now have things like
1:13:23
sending a meeting link and android users
1:13:30
interesting yeah oh sorry so that's
1:13:33
pretty cool though
1:13:35
tori is asking what's that again
1:13:40
inbuilt ocr system
1:13:44
you i'll just take a picture of this
1:13:54
it's empty board name uh-huh
1:14:02
but i can basically
1:14:05
select things from this image
1:14:12
and this is like an actual image just
1:14:19
yeah it's actually pretty cool
1:14:24
for iphone yeah yes
1:14:34
iphone 13 is pretty cool isn't it
1:14:38
are you planning to get it
1:14:40
no you don't have that much
1:14:43
money it's super expensive
1:14:50
that doesn't mean anything
1:14:53
that means you haven't come coming on
1:14:55
which you should be proud of man
1:14:58
it's your first proper job isn't it
1:15:00
it's in only two weeks i started working
1:15:05
eighteen hundred dollars to spend on a
1:15:12
go and get it tomorrow
1:15:14
come on it was a figure of speech as in
1:15:16
you're working now you have an income
1:15:18
commission so you should reward yourself
1:15:22
um i don't know i wanna
1:15:25
i don't really think
1:15:27
a phone is the biggest investment right
1:15:30
i could probably get something cooler
1:15:36
there'll be something of a bigger
1:15:38
investment like i'm happy with my phone
1:15:47
oh come on zayn what are you doing
1:16:04
empty then if it's false
1:16:10
if the board name is a string
1:16:25
i see another feature and i have 10
1:16:30
yeah that's true though that's a bit of
1:16:32
an exaggeration right here
1:16:36
10 years ago was 2011 when iphone
1:16:54
i was more than that
1:16:57
how old were you then
1:16:59
be honest i can't remember ball is
1:17:02
definitely more than 10.
1:17:08
oh wait okay iphone 4 came out my bad
1:17:12
iphone 4 still was the last iphone steve
1:17:19
so i think he passed in like
1:17:27
do you follow steve jobs or
1:17:40
are you talking to me
1:17:45
you were talking to one of the
1:17:53
i follow him on instagram by just voids
1:18:08
if you know what that means
1:18:14
then he's not allowed to sing
1:18:19
i'm okay oh okay joke okay
1:18:24
you should you should really try
1:18:32
now maybe i should level up on my sense
1:18:35
could go either way
1:18:42
you know how how people use those wisdom
1:18:47
combined with a person
1:18:50
where but their videos are still live
1:18:54
actually created their
1:18:57
in that way yeah okay
1:19:03
another joke which then had to explain
1:19:14
i don't know who would get my sense of
1:19:16
humor one day it will happen
1:19:29
saying this if the board
1:19:56
i feel like we're not being productive
1:20:22
i feel like i'm just there coding but my
1:20:26
brain is isn't really there
1:20:30
if you know what that means
1:20:34
yeah that's like pretty much every uni
1:20:39
i know i used to do the same
1:20:47
red bull just walking
1:20:54
brain functional at all
1:20:58
cool yeah right guys
1:21:01
happy friday mate um
1:21:05
thanks vlog for tuning on uh
1:21:11
appreciate you all um
1:21:16
being a bit of a productive
1:21:19
session but i think feel the
1:21:22
validation as in just probably
1:21:25
yeah really few um more to go which we
1:21:29
will be completing hopefully on sunday
1:21:35
until then really have a great night and
1:21:42
yeah i mean i think we uh covered pretty
1:21:44
much all of it but yeah um
1:21:46
it's uh going great um goal would be to
1:21:50
complete most of the validation soon and
1:21:53
look into stuff revolving environment
1:22:03
we probably want to focus on to a lot
1:22:07
um react maybe in the coming days um
1:22:11
um first of all we need to focus on
1:22:16
aws architecture up right yes
1:22:19
architecture point of view
1:22:23
so yes a lot more devops stuff coming
1:22:29
development i guess yeah that's the part
1:22:39
thanks for joining us
1:22:41
perfect guys we'll see you on sundays
1:22:46
same place and case turn is
1:22:50
a different task i thought i'll do this
1:22:52
for now it's next turn or that
1:23:01
perfect guys have a good night and we'll