0:00:24
all right welcome back everyone welcome
0:00:28
another episode personal build break and
0:00:31
one sec let me fix my camera
0:00:33
lost resolution oh there you go
0:00:36
but yes um of course to everyone who's
0:00:38
new here uh we are chorus which means
0:00:42
that we are a team of three developers
0:00:43
from melbourne australia
0:00:45
and we've been working on a project
0:00:48
leads to adding persistent storage to a
0:00:50
current operations project
0:00:52
which is called scrambler ca
0:00:54
and if you're new here of course we are
0:00:56
working on stack which revolves around
0:00:58
the express js back end
0:01:00
um we've been using aws as our cloud
0:01:04
um especially we've been using aws
0:01:08
airbus api gateways and cloud formation
0:01:10
and using the serverless
0:01:13
application model for the
0:01:15
provisioning of the app
0:01:17
and the front end is just pure vanilla
0:01:20
chairs and html css
0:01:22
so how you doing guys
0:01:25
very good um good to be back after a
0:01:31
yeah feeling fresh and feeling ready to
0:01:34
go how about you finish
0:01:35
yes same year soon uh
0:01:38
yeah really feeling feeling good feeling
0:01:39
pumped to to get into it
0:01:42
very nice fantastic um just before we
0:01:45
forget let us do the acknowledgment for
0:01:48
the traditional custodians of the land
0:01:59
yeah all right so here we go
0:02:02
i begin today by acknowledging the
0:02:04
traditional custodians of the land on
0:02:07
which we gather today and pay my
0:02:09
respects to the elders past present and
0:02:11
future i extend their respect to
0:02:14
aboriginal and torres strait islander
0:02:20
okay that is done i
0:02:25
whose turn is it to share the screen i
0:02:28
can't remember for sure
0:02:30
i believe it's case 10 right um okay
0:02:34
right okay you're up then yes sir
0:02:40
you guys make a new branch or something
0:02:45
no it's the same branch but um we
0:02:48
we basically asked oh we basically have
0:02:53
um so i tested it this morning
0:02:57
and basically if we don't type fast
0:03:04
each key is being stored
0:03:11
if we don't if we don't
0:03:14
fast enough for the note
0:03:17
what do you mean fast enough though
0:03:25
share my screen first and then show you
0:03:28
what exactly do i mean
0:03:30
um let me just open up that one this cap
0:03:37
oh okay cool so i've already got this
0:03:43
um hide it no i don't want you to hide
0:04:26
so i'll just open this console up as
0:04:38
become the fine okay
0:04:53
and no t and then an n o t one
0:04:59
same is coming up for n
0:05:10
if we don't have fast enough it won't be
0:05:13
created as a single node by itself in
0:05:19
what's the purpose of this
0:05:26
what's the purpose of this
0:05:29
the purpose of this is that we don't
0:05:31
want to insert duplicate um
0:05:34
these kind of broken notes in the db
0:05:38
yeah makes it yeah yeah wait but we're
0:05:46
yeah if i do this and you press if you
0:05:50
can set it in this way
0:05:53
and if i show you in postman how is it
0:05:57
oh so it's something to do with the
0:06:00
storage in the array
0:06:08
so this is the bug right not not a
0:06:13
it's a bug that has to be fixed
0:06:22
ahead and show you the records or your
0:06:28
so i think the only
0:06:30
okay i'll just look at the code and then
0:06:33
so so sharing my screen now
0:06:42
yeah i was going to say um
0:06:45
that i think this is what we were facing
0:06:46
last time i think about a week ago
0:06:49
and um you know one thing i suggesting
0:06:52
uh suggested was that maybe we can use
0:06:58
you know some kind of like pre-made
0:07:00
javascript function to to ensure that
0:07:02
there's only distinct nodes in that
0:07:06
um so that it's not you know saving
0:07:09
the same note like with the same id so
0:07:12
it's just saving one instance of that uh
0:07:16
in that case we can use the proper data
0:07:19
structure like a hash set
0:07:28
i don't have to tacos
0:07:33
look that up hash certain jobs
0:07:40
i mean not necessarily a hashtag just
0:07:42
like a normal set um just like it's
0:07:48
yeah that's a good idea
0:08:04
just a second suggestion um that we can
0:08:08
probably keep what is as is and just
0:08:13
um take into consideration the last
0:08:19
if that makes sense
0:08:22
yeah you can go back
0:08:24
edit the note again then what happens
0:08:27
then it can be anywhere
0:08:30
then you would always take the
0:08:32
last record of that note which will
0:08:35
always be have a complete
0:08:41
but isn't it better to use like a data
0:08:43
structure rather than increasing the
0:08:48
which is um outlining as in all the
0:08:51
possible snob rails that we can yeah
0:08:55
yeah attack live with yeah but always
0:08:58
the best solution is to uh
0:09:02
keep the time complexity as least as
0:09:05
possible and also achieve this solution
0:09:11
let's go and do that
0:09:14
yeah i think that's a good idea
0:09:18
yeah because we will want to keep the
0:09:28
no matter how much input we have it
0:09:31
always take the same result in some
0:09:34
cases it will happen but in some cases
0:09:38
we'll just have to as in
0:09:44
yeah that's true i'm just kind of
0:09:45
curious i think there's a yeah oh that's
0:09:47
in typescript never mind
0:09:51
there's a bigger calculator thingy
0:09:57
set up let's let's restore unique values
0:10:08
the thing is set is that
0:10:11
the object has to be equal to it if that
0:10:17
right now in our case i'll let's see it
0:10:23
okay what you mean
0:10:24
you know what i mean i'll just like kind
0:10:26
of show what i mean
0:10:30
but i think there's like a
0:10:36
semantical error in the logic
0:10:40
like even if there's like id one two
0:10:48
and the second one is
0:10:55
id one two three only but we did not
0:10:59
these are two different objects for a
0:11:07
yeah yeah that makes sense
0:11:12
let's look at the code and see what
0:11:14
what's going on right like
0:11:23
i don't know just a thought but maybe a
0:11:24
hash map for this sort of thing
0:11:29
and then the key would just be the that
0:11:33
and we're just updating the
0:11:35
the value each time
0:11:37
let's see if javascript has it
0:11:41
also okay um i don't think we need
0:11:50
you need a unique identifier for the
0:11:55
in the back end as well if we already
0:11:57
have it in the front and would you
0:12:07
so i mean we don't need the note id in
0:12:10
if we or if you're using if we can't if
0:12:18
note id from the front end it doesn't
0:12:21
make sense to have
0:12:23
different note id's in both front end
0:12:30
then how are we doing
0:12:32
update one specific note
0:12:42
you know how in the back end
0:12:45
note id is being actually generated
0:12:50
then noted it's also being generated and
0:12:53
in another way in in the front end
0:12:57
yeah yeah but like it's kind of two
0:12:59
different things right it's card id is
0:13:01
how the front end is being managed
0:13:07
yes um let it's a bit more to that what
0:13:12
i'm thinking but we can come back to the
0:13:16
uh when the time comes though
0:13:27
also thinking that maybe you would like
0:13:30
the location of the card as well
0:13:33
if we're not doing so already because
0:13:35
when we're getting the board again we
0:13:38
print out the card in the same location
0:13:41
um i think that would be a good idea as
0:13:44
well to save where it's located
0:13:49
find the on the board
0:13:53
i think that was already planned anyway
0:13:56
um i think we talked about this a way
0:14:02
i think at that time finesse
0:14:08
so uh basically good that you
0:14:11
you've also pointed at other finish
0:14:13
which means that um
0:14:18
already thinking about the right thing
0:14:26
there's a small little issue with this
0:14:29
so you know how maps work
0:14:32
so when you store a
0:14:34
like it this one's the key and this
0:14:37
which i'm very good but
0:14:42
this as note id this is gonna have a
0:14:45
redundant note id as like an object
0:14:49
um let me show you
0:14:54
and whatever it is one two three
0:15:01
oh yeah whatever it is
0:15:11
so we are kind of storing it twice so i
0:15:15
to work right okay why don't we just um
0:15:18
access the node id
0:15:20
and like for a we would put the node id
0:15:23
and then for the value part we would
0:15:27
the topic like we won't save the whole
0:15:29
object in there is what i mean yeah
0:15:32
we can you can surely do that um just
0:15:35
trying to think that if
0:15:36
do we change most of the backend like
0:15:39
do we change how it's being stored
0:15:44
just trying to think on that like do we
0:15:45
have to change a lot of code like
0:15:47
i mean that's not a problem is this that
0:15:52
yeah i can't wait i mean like man
0:15:56
like how are we it's been i mean
0:15:58
probably not rightly it's just a just an
0:16:05
but it takes one yeah i think probably
0:16:08
extra naught is what just an array
0:16:15
so what's the problem right now so add
0:16:18
text to arrays being called
0:16:21
like all the time like every two seconds
0:16:31
then it's being called oh okay oh
0:16:34
um okay that's not a problem right
0:16:37
because maybe you can do something like
0:16:43
i'll just open the scrambler thingy
0:16:49
maybe you can do something like
0:16:53
whenever we are on it we did this
0:16:55
and on off click we can add it to
0:17:00
like using on click and off click
0:17:07
how does that yeah we could do that
0:17:10
no way as well but is there a function
0:17:17
often okay i didn't know that
0:17:20
i think there is um
0:17:29
or i don't know what it's called
0:17:34
like there is a function
0:17:38
maybe once you wanna
0:17:51
one second i'm just gonna say the
0:17:57
uh i mean it's an event right like
0:18:21
this is on click on check
0:18:24
how do we make sure that
0:18:39
maybe you can add an event list or
0:18:50
just googling that as well um
0:19:06
okay why um why would you have to change
0:19:09
the uh the back end if you uh
0:19:12
if you're using the hash map still just
0:19:16
if we're just i'm just having a look at
0:19:19
if you're just adding the value to that
0:19:22
uh if we're just adding if we're just
0:19:25
calling post note with that with the
0:19:28
then shouldn't we um
0:19:31
shouldn't we be able to do the same
0:19:32
thing with the hashmap like no and not
0:19:34
change the the backend
0:19:37
okay so the problem with this is what's
0:19:43
you got your first element in the hash
0:19:45
map in the id one and the first letter n
0:19:50
so next time it's being called
0:19:53
there's this thing which is trying to
0:19:55
get into the hash map
0:19:57
with id one and uh
0:20:01
but hashmap says i already have an id1
0:20:04
and i'm not gonna let it come in so
0:20:07
even if it's like n o t e one
0:20:09
which is not gonna come in
0:20:11
it's already been inserted there's no
0:20:16
uh can't we just update the
0:20:21
it's not actually resolving the issue
0:20:22
that that that's what i'm trying to say
0:20:25
i mean update the the
0:20:27
so the value that is assigned with that
0:20:29
key so next time it comes in we just
0:20:34
yeah so wouldn't we be yeah
0:20:36
we can do that it's just that
0:20:40
the thing with this is that
0:20:42
there are like how many letters in this
0:20:43
like five so the function is being
0:20:46
called five times you know what i mean
0:20:49
and then hash map execution is happening
0:20:51
five times rather than that if we can
0:20:54
figure out an off click
0:20:55
just like oh yeah click on that
0:20:58
off click and the function and hashtag
0:21:00
insertion is happening once yeah okay
0:21:07
so i mean like that's a that's a
0:21:11
um shortcut we can take for sure
0:21:13
and just think if there's like an off
0:21:15
click i mean surely this is so
0:21:17
there are functions in which you can uh
0:21:22
if this div has been clicked
0:21:25
rather than an off click we can do like
0:21:28
whatever this div is the whole board
0:21:32
we can do like hashtag board dot click
0:21:36
and create a function out of it
0:21:40
does that make sense
0:21:46
so basically what that would do is um as
0:21:50
soon as you check as soon as you click
0:21:52
anywhere in the board div
0:21:55
and the boards itself it will stop doing
0:22:01
changes to the card
0:22:04
and it would just add
0:22:15
strengthening one more thing
0:22:22
does that mean every time you click the
0:22:23
board it's gonna try doing an
0:22:32
just trying to think concept
0:22:37
we say that it's not one
0:22:42
and we click outside and as soon as we
0:22:46
we call a function with this value
0:22:59
should we do like an enter kind of a
0:23:00
thing like okay you press enter and then
0:23:04
we're like how lurgies or something
0:23:09
just trying to think at the moment how
0:23:12
will this go up um
0:23:23
so you come here and you want to like
0:23:29
not click here eventually click outside
0:23:43
so say if a person uh
0:23:47
writes a word okay and then it clicks
0:23:56
it clicks on the board if
0:23:59
okay what that would mean there only
0:24:02
then it would insert that word as in
0:24:05
that text in the array
0:24:10
only when the book div is clicked then
0:24:12
it would insert the
0:24:14
in the array and then what we can
0:24:23
no that's not gonna work
0:24:36
problem right i just
0:24:44
you click on this you write like note
0:24:49
how do you make sure that you're done
0:24:51
typing like what do you do either you
0:24:53
press enter or you click outside i think
0:24:55
that's when the card id is coming
0:24:58
into place you know how in the object
0:25:01
it's called id text and color
0:25:09
is the purpose of the id
0:25:16
created it's actually assigned an
0:25:20
id and wherever exchange made to that
0:25:24
note it comes under their id always
0:25:28
so we can basically
0:25:33
and track the changes
0:25:36
with the id itself
0:25:40
or are i'm just thinking
0:25:48
starting one more thing it might work
0:25:51
out it might work out to our favor
0:25:55
let's say this is an array
0:26:03
this is another data structure i don't
0:26:05
know what it is whatever it'll be
0:26:09
whatever that'll be
0:26:15
like this thing is gonna keep refreshing
0:26:18
like whatever it is we're gonna keep
0:26:20
that oh yeah like is the node being
0:26:23
updated or not like any change detected
0:26:27
it's gonna keep going into this array
0:26:31
like it's gonna have all the records of
0:26:33
all the boards yes
0:26:35
yeah and whatever this data structure is
0:26:38
going to be maybe a hash set probably
0:26:40
just because we don't want repeats with
0:26:43
we're going to transform from this array
0:26:45
to this hash set and insert this hash
0:26:52
which is going to be a unique
0:26:54
identity of all the notes
0:26:57
and this is going to work towards our
0:26:58
favor just because
0:27:00
when you come back to update notes
0:27:03
you're not going to be having another
0:27:06
if you click back space and like do this
0:27:10
i think like you're just going to keep
0:27:12
refreshing and keep inserting in the
0:27:14
when you do this transfer
0:27:17
um you're just going to insert it itself
0:27:21
i don't know if that makes sense to like
0:27:22
i'm also like not too clear about it
0:27:27
so okay why wouldn't we just instead why
0:27:30
couldn't we do a user filter
0:27:32
uh function or something to filter the
0:27:37
yeah yeah i mean yeah
0:27:39
at the point of saving the note instead
0:27:42
of transforming uh into another into
0:27:45
another data structure
0:27:49
i mean yeah that's just for like um
0:27:52
not doing the filter that's it like just
0:27:55
um just like converting our array into a
0:27:57
hashtag but we can do that as well we
0:27:59
can use logic as well to do that um
0:28:06
i don't know if there's a better way to
0:28:07
do this thing or not
0:28:09
it's like this feels really forced all
0:28:13
and it's just a basic like thing i like
0:28:16
every website this happens i'm just
0:28:19
how do people actually do this
0:28:28
simulate this problem again
0:28:32
because it's useful on a check if in all
0:28:38
do they remain the same
0:28:45
as in by as in playing the
0:28:48
not playing they're running the app
0:28:52
playing the app seriously
0:29:20
can you give me the new one
0:29:22
there's a new board
0:29:38
it here i'm both thinking
0:29:41
like the new new board
0:30:06
um have you got that already or would
0:30:09
you want me to give you
0:30:12
that's a good i was darkerizing these
0:30:17
we tend to doculize it
0:30:21
no yeah who said it
0:30:23
i can see a docker composer yammel
0:30:27
oh that must be in the
0:30:30
front end as in the
0:30:41
we were using a live server
0:30:47
no that shouldn't really have to do
0:31:03
aws thing that's what i meant remember
0:31:05
we were doing this like ages ago saying
0:31:09
let me try it again
0:31:11
um we were trying zayn was saying we
0:31:14
should save cost on aws so we're using
0:31:16
this uh local version of aws okay
0:31:23
basically if you do this then you can
0:31:25
use like all the aws services um
0:31:27
properly instead of
0:31:31
but where did that come from i can't see
0:31:34
i can't even build it it's not
0:31:38
composed up minus p
0:31:47
compounding okay totally
0:31:53
where did you find this because i can't
0:31:58
i made it i made it myself
0:32:01
it's an insert new note probably see the
0:32:10
someone's doing it as a vpc just what is
0:32:12
that a bridge in it
0:32:17
maybe one of the other guys yeah
0:32:21
we're using it yeah
0:32:27
bridge port number
0:32:36
something funny here but
0:32:39
oh all right let's go back to life
0:32:44
let's go back to life
0:32:52
environment where's my environment
0:33:28
okay it's looking like a proper haircut
0:33:37
it just looks then
0:33:45
why is it not compelling
0:33:50
which branch have you taken
0:33:54
insert new notes no not new
0:34:04
oh wait what was it
0:34:08
a hyphen uh server oh yeah
0:34:20
you guys have been hydrated
0:34:35
oh how the how that interview goes in
0:34:40
interview rich interview
0:34:43
he told me about exercise or something
0:34:56
received a shout out i was just going
0:34:58
prepared as i'm mentally prepared for
0:35:00
that all right all right have a recipe
0:35:05
okay so on every key
0:35:12
right so on every key
0:35:14
the art the card id remains the same
0:35:21
do minus as well i mean it's kind of
0:35:23
working on a favor really like the whole
0:35:26
even the updation as well it's covering
0:35:28
the updation as well
0:35:30
so i i don't know if i mind it if i if
0:35:33
we can just like use logic to
0:35:40
i had in mind first
0:35:43
as in we can just do kind of a
0:35:55
just to find whatever and then use the
0:36:00
instance of that note
0:36:05
which will always have the full word in
0:36:09
so i'm just trying to think one thing
0:36:11
that's hashmap do the same thing let me
0:36:14
just try inserting this let me just try
0:36:21
on get okay so set
0:36:27
okay i don't want any other stuff then
0:36:51
yep hey we get it okay so
0:36:56
i think that'll work um
0:37:04
if i do nine seven i don't know let's
0:37:10
two like i'm just typing casually
0:37:17
okay it's kind of again yeah that's
0:37:19
pretty good yeah i think we're using a
0:37:23
i'm gonna go ahead and use the map and
0:37:28
so basically what map is doing always
0:37:31
taking the last latest one
0:37:34
so yeah yeah that's exactly what we need
0:37:37
we can just forget about the for loop
0:37:43
tori is back in the hood
0:37:45
hello how's it going
0:37:48
tori it's back in town
0:38:04
see how much the viewers miss you miss
0:38:11
let's try no laughing tonight
0:38:18
phil already failed
0:38:24
as long as he makes no jokes
0:38:26
very good i think which is really hard
0:38:38
i think we can do it for each i'm trying
0:38:41
oh there you go foliage
0:38:58
yeah push so no now it push
0:39:05
map yep so i'm just gonna do test
0:39:32
now we need to split this into objects
0:39:38
did that make sense to you guys
0:39:43
okay um do you wanna insert id again i
0:39:45
mean it doesn't matter really we can
0:39:49
why don't you just do note dot
0:39:54
we have other elements with notes and as
0:39:56
you said like you're gonna have
0:39:59
so i'm just gonna third note and not to
0:40:08
um if you don't want to get
0:40:22
oh sorry um said it's just uh
0:40:26
uh updating or setting the value uh in
0:40:32
uh basically you know we decided
0:40:35
that uh because the notes were being
0:40:37
saved multiple times in the array
0:40:41
we needed to kind of make it so that um
0:40:44
only the only single note was being
0:40:48
was being saved so
0:40:50
we're not inserting duplicates in the uh
0:40:56
it's kind of helping
0:40:58
the updation as well because we're doing
0:41:00
two features at once
0:41:03
yeah now updation is going to work nice
0:41:09
so essentially it's just a collection of
0:41:14
objectives unique values
0:41:19
no not really of it
0:41:21
not a map a set is but
0:41:25
i have duplicated values
0:41:29
i mean the set yeah
0:41:32
doesn't have duplicate values yeah oh i
0:41:34
think tori is talking about like how are
0:41:40
i thought you were just asking that what
0:41:46
understood it wrongly then
0:41:50
uh of course you know what we got with
0:42:05
it's gonna be value
0:42:28
a native seven method which is used with
0:42:34
learned that by researching it um online
0:42:58
it's not doing that thing let me just
0:43:13
so car is getting there
0:43:15
not getting any notes one second
0:43:53
objects can only hold primitives right
0:43:56
the map that we're using can haul
0:44:02
and objects can on um can an object have
0:44:05
an object inside of it was it just uh
0:44:12
objects can hold anything okay
0:44:17
kind of thing i mean you can right
0:44:26
if you really think about it
0:44:28
um in a json object string is an object
0:44:36
yeah actually i wonder
0:44:40
asked good question what's the
0:44:41
difference between a
0:44:42
hashmap and um an object and i think
0:44:47
i don't know the map it is like a key
0:44:50
and uh object is an object a key value
0:44:58
just literally a collection of
0:45:00
um anything really at this point
0:45:03
at least in jail that's the way it's
0:45:10
reference entry is not defined here
0:45:13
why would it be defined
0:45:35
okay let's see moment of truth
0:45:49
it's gonna do one more
0:45:56
who doesn't like it
0:45:59
so it's complaining by the oh yeah
0:46:07
i didn't put a forward slash there
0:46:30
on a stream i've got a kind of an
0:46:33
interesting news to share with you guys
0:46:46
if you see my bank account
0:46:49
you're gonna be like
0:46:52
just try not to go bankrupt at this
0:46:55
stage and we can have the party layer i
0:46:58
don't even have anchor consent
0:47:03
you're the car taking cash
0:47:09
okay kartik has all the cash
0:47:13
behind his wardrobes hidden in the walls
0:47:19
that's where it is
0:47:28
okay now it should work it doesn't work
0:47:32
um i don't know yeah
0:47:35
keeping us in suspense
0:47:38
yeah yeah yeah it is
0:47:47
wait okay never mind can someone okay
0:47:50
with only one i mean yeah one two three
0:47:53
yeah i can check that one um
0:47:57
what would be the board id d4 isn't it
0:48:16
can you copy and paste the board id for
0:48:18
me yeah sure i i mean if you want you
0:48:21
can clear all of them i can do it again
0:48:23
you have to do it another test anyway
0:48:34
wait what did i do
0:48:36
because you don't have a bank account
0:48:43
bank accounts are for the week
0:48:56
literally keep working keeping taxes
0:49:09
my one of my religious friend stories
0:49:11
economics right so
0:49:14
they were telling me this fact
0:49:19
even if you earn like 100 000 a year
0:49:24
you're pretty much giving like
0:49:27
80 000 to the government
0:49:29
at some point like that money
0:49:33
35 is tax right but
0:49:36
you would think that the rest of the 75k
0:49:39
is yours it really isn't like
0:49:43
you're gonna pay about 18 percent gst on
0:49:45
i don't know chicken or like oh yeah
0:49:48
80 percent i'm pretty sure um
0:49:51
and then on that money movies are gonna
0:49:55
pay tax income tax to their employees
0:50:04
even if the government is giving out
0:50:05
money it's just going to come back to it
0:50:08
of course it's really interesting
0:50:10
yeah right the tables has been
0:50:15
deleted you can test it again
0:50:18
yes sorry that's the goal of this whole
0:50:21
project to get me a bank account
0:50:25
not real absurd at all
0:50:34
oh that's a board actually
0:50:39
look i'll name a good new board then
0:50:44
maybe it would work now
0:50:48
maybe we should just change the name of
0:50:49
like good note to board and board
0:51:09
but i changed my mind again so i'm just
0:51:12
but then i come back i'm just gonna
0:51:14
change my mind and
0:51:16
make it a bad good okay just i was gonna
0:51:19
see you're not playing around
0:51:26
i know in the context
0:51:28
you're speaking so don't worry
0:51:31
yeah all right can you can you guys go
0:51:33
back and see no i love that prompt
0:52:01
okay how many notes are appearing
0:52:06
three uh so it's ice space
0:52:11
just say f you want to can i just think
0:52:26
yeah that's the one yep
0:52:31
yeah yeah yeah cool
0:52:34
so that does the trick
0:52:41
um so that would be done i guess yep so
0:52:47
if you really look at it
0:52:50
let me try updating it now and see what
0:52:54
just for the front of it
0:52:57
what if i insert it
0:53:01
can you go back and see what happens
0:53:04
just coming back and seeing
0:53:08
did you make any change
0:53:11
yeah so in the one i made it b f six one
0:53:16
i'll just see a screen so that means
0:53:22
still there but another note has been
0:53:25
ins so it's saying bf61 oh okay i know
0:53:30
we aren't concluding that it's already
0:53:35
that's easily tankable
0:53:37
maybe you can update jira now
0:53:42
in an efficient way
0:53:44
yeah and i'm kind of glad that we're
0:53:46
using a data structure just as basic
0:53:52
i'm too because that's a kind of a
0:53:57
coding coding tests as well
0:54:00
and they really help
0:54:03
in programming yeah and and sorry you
0:54:06
can't find it this seriously turned up
0:54:15
we got it from mdn
0:54:17
yeah oh and we didn't get
0:54:20
zen today i don't know
0:54:24
he sometimes closes his tab
0:54:28
like pull off a prank
0:54:37
i opened up jira in the same time
0:54:41
if you needed a break from us you could
0:54:49
me one year off from i don't know
0:55:04
did you is it for that big
0:55:08
or which book are we talking about
0:55:12
free food school box
0:55:14
that finished copied and pasted and it
0:55:17
didn't work for us
0:55:27
like i'm just gonna contact the
0:55:29
ombudsman and stuff
0:55:42
and they're like just import bootstrap
0:55:54
yeah it was real funny
0:55:57
then you didn't laugh
0:56:12
um so that is done
0:56:15
so we would probably
0:56:17
would be a good idea to
0:56:21
updating functionality
0:56:25
trying to see one thing
0:56:41
if i can make the update work in the
0:56:51
you mean if the uh update can work when
0:56:54
we are actually pressing save as well
0:56:57
yeah yeah just like yeah
0:56:59
if it's already there just like don't
0:57:04
okay so we check if um the
0:57:07
if if it already exists then just update
0:57:13
that part but if no changes have been
0:57:19
display a saved message as in then
0:57:30
why is it not doing that
0:57:49
lock the stars into jira now
0:57:52
they'll be working on right at the
0:58:01
let me create a new branch
0:58:06
then start on that one please
0:58:13
oh i know why okay
0:58:17
i need to do a set here
0:59:29
i think should actually work so it's
0:59:30
coming in things value.data
0:59:35
yep yep it's gonna construct a new note
0:59:42
look like this key here
0:59:51
is it value no it's value.data
0:59:57
but it just changed to rockjava um about
1:00:00
updating the notes
1:00:03
if i'm thinking what we're doing which
1:00:20
has been updated or not and
1:00:24
then just update that
1:00:31
or is that something different
1:00:38
what i'm trying to do right now is so
1:00:40
update has like two different steps
1:00:45
one is that okay this is already in the
1:00:50
and it has an id let's say i don't know
1:00:54
it's all in the back end now i'm in the
1:00:57
same session and i make it like
1:01:08
ni and not inserted right
1:01:10
so right now this ni tag isn't being
1:01:14
i want to make sure
1:01:16
it's converted to i
1:01:20
yeah just because we switched to a
1:01:25
this nii thingy is very very
1:01:28
like it's bound in a hash map which is
1:01:30
bound in its own data structure
1:01:33
yeah yeah so it's it's got two layers so
1:01:35
i'm just trying to get into it that
1:01:37
makes sense okay cool there
1:01:43
oh i think that should work let's see
1:01:46
good note work for us
1:02:02
no what not inserted
1:02:20
okay probably gonna come back to this
1:02:23
um i'm just just on the same run just
1:02:26
because it's a part of post note only
1:02:32
not do not are being inserted
1:02:38
right right right i was thinking about
1:02:40
an other functionality
1:02:44
um needs to be done in the future but i
1:02:46
thought they were building that function
1:02:49
now which is yeah cool
1:02:53
this is just a power of post note right
1:02:55
yeah making one yeah i'm just going to
1:02:57
be understanding push it on the same
1:03:42
tuning in um being an other good
1:03:48
conver uh we managed to
1:03:50
insert unique values
1:03:52
in the array and then
1:03:56
no not in the array
1:03:58
in the back end so if we have three
1:04:01
notes before it was
1:04:03
inserting on every key press
1:04:07
duplicate once which we didn't really
1:04:11
now he's inserting all these unique ones
1:04:13
which is fantastic
1:04:18
yeah yeah um have you got
1:04:21
anything to add kmt
1:04:24
no uh looks pretty good um i'm glad that
1:04:27
we are able to implement
1:04:30
um data structure just because
1:04:36
yeah i mean no like it has a lot of
1:04:38
things to do with just
1:04:40
just the way of like hey like it's a
1:04:43
small thing right but like
1:04:45
it's such a big thing if you think about
1:04:48
if you can think on the right direction
1:04:51
like this smaller thing when you go in
1:04:52
an interview and same thing comes up
1:04:54
like oh yeah i'm not going to do that
1:04:56
for you i'm just going to use a set
1:05:00
it doesn't actually really stands out
1:05:02
yeah yeah i said oh this kind knows he's
1:05:06
a real deal yeah yeah so yeah i'm just
1:05:09
happy on that side but yeah
1:05:11
good job appreciate it
1:05:14
yeah really really good um yeah we're
1:05:16
making good progress i think um i was
1:05:19
just thinking about it today
1:05:22
you know maybe day on day we we see
1:05:24
little progress but then you know we if
1:05:27
you know after like three weeks or four
1:05:29
weeks we can really see like how much
1:05:31
we've done so yeah really really happy
1:05:34
and uh yeah it's a good good progress
1:05:38
exactly it's it's like the compound
1:05:40
effect kicking in boom boom boom boom
1:05:45
it's not that simple
1:05:51
tune in tomorrow as
1:05:57
going further along and hopefully um on
1:06:01
the target and um yeah uh
1:06:05
we'll see you back here tomorrow's
1:06:10
same place and a different task
1:06:13
brilliant right guys have a good night
1:06:16
bye for now she's gonna