0:00:25
all right welcome back everyone welcome
0:00:27
back to another episode of bill break
0:00:28
and fix um to all those people who are
0:00:31
new here we are rollercolors
0:00:33
that means we stream every night at 9 30
0:00:37
everything about software development
0:00:40
um we're working on a project as well
0:00:42
called scrambler.ca
0:00:44
we are adding persistent storage to this
0:00:46
current open source project
0:00:49
yeah um join us every night at 9 30.
0:00:53
so yesterday we've been working on
0:00:56
problem uh which we encountered um
0:01:00
and we were successful to and fixing
0:01:04
today we're gonna continue on our quest
0:01:06
to enhance the middleware
0:01:09
so how are we feeling today
0:01:11
they're feeling pretty good uh so i'm
0:01:16
i'll just add to that what i'm currently
0:01:19
doing because you might have seen
0:01:24
something while you were talking i'll
0:01:26
i'll just gain the latest from
0:01:33
master branch and keeping it up today
0:01:38
so now i'm gonna do is okay cool
0:01:47
share my screen and we can continue with
0:01:52
with the testing of the notes
0:01:55
if they are working as intended
0:01:58
yeah sure sure let's do that and uh
0:02:01
um so what what you need to do is maybe
0:02:03
first go in the dev branch and then
0:02:07
and then update all the stuff
0:02:08
yeah that's what i'm gonna do so
0:02:13
it'll be kind of faster if i do it
0:02:14
because it's already
0:02:16
built on my side on aws yeah
0:02:21
yeah and you keep working on the
0:02:24
um getting it back maybe yeah cool
0:02:29
test the notes functionality
0:02:39
i need to unchange everything
0:02:44
tell me that's big enough
0:02:48
uh yes okay that's much better now
0:02:52
uh we have someone
0:02:54
dad was that a brother and you're right
0:02:57
dave's dad how's it going
0:03:10
let's see i'm gonna get all the greens
0:03:22
testing all the balls now i thought we
0:03:24
already know yesterday i'm just trying
0:03:29
uh note that's why i'm getting all the
0:03:31
boards to see you on board oh okay cool
0:03:33
cool right right right
0:03:36
makes perfect sense
0:03:43
let me get the board
0:03:45
have you got your water over here
0:03:51
bubbled even helps
0:03:54
that's no war mate water water
0:03:57
take the healthy option mate
0:04:00
i have a iron drink if it helps okay
0:04:03
yeah that's fair enough still which i'm
0:04:08
fine what's the point of having it
0:04:30
am i doing the right way yes you are
0:04:35
no no no it's single note
0:04:41
i got a bit double minded there
0:04:44
yeah we need to make it
0:04:47
the right name afterwards yeah
0:04:49
is that fine and capital
0:04:56
just to n1 it's a lot simpler
0:05:05
the notes things has to change to
0:05:09
and a board id as well i think i did
0:05:11
something wrong here oh that's fine
0:05:17
i didn't know the note ah all right i
0:05:24
okay uh that was fine
0:05:28
um right post is working
0:05:45
so that's working as well um
0:06:08
did i do something now that's fine
0:06:14
then go back in the api
0:06:16
yeah oh one second let's test all of
0:06:18
them and then go back
0:06:33
what no i think i deleted
0:06:38
give me one more second let me try it
0:06:44
so it says it got deleted let me get the
0:06:57
it didn't get delayed but
0:06:59
it was trying to save god deleted
0:07:02
okay so delete isn't working as well but
0:07:04
it's compiling it's not working
0:07:12
of the notes isn't working
0:07:15
now let's do that first because you'll
0:07:28
so you might have to change that to
0:07:40
no no we don't need to change the uh the
0:07:44
board note is fine
0:07:47
no it's just not id not yeah
0:07:51
it's what id and then broad id
0:08:05
exploding we are doing the right thing
0:08:08
i'm pretty sure it's just that
0:08:10
small little thing we need to do
0:08:20
sending the response off after
0:08:27
yeah which is fine which is what we want
0:08:32
is this dodgy the note i did not no i
0:08:38
um go to the response thing
0:08:47
just want to check the key of the no
0:08:51
okay i'll do it again
0:08:53
yeah that's fine no this is our board
0:09:01
so at the moment what we're trying to do
0:09:18
so see it does say that now it's empty
0:09:26
now here it says empty
0:09:28
but when in actuality
0:09:31
if you get that board
0:09:33
it is not going to be empty
0:09:36
all right for that matter if you get all
0:09:42
sees i can't do that
0:09:48
let's see still there so
0:09:57
looking at the wrong stuff okay cool so
0:10:03
technically it is splicing it but it's
0:10:05
not getting assigned
0:10:08
no no no no that's actually not the
0:10:12
i think the problem is that we're not
0:10:14
uh splashing it from the table itself
0:10:18
yeah exactly that's something so we are
0:10:20
doing it from the array but it's not
0:10:21
actually being implemented in the table
0:10:25
so that's what we need to do as in
0:10:32
i'm just seeing how we deleting the
0:10:36
right okay so this one we
0:10:38
literally choosing the params and
0:10:44
that's how we should
0:10:51
how would we do it here
0:10:54
so we got the board
0:10:56
okay and we are splicing it from the
0:11:06
now we have to assign this new area
0:11:34
the board now changing
0:11:58
items first index only getting the first
0:12:08
why are we replacing the first index
0:12:10
for the entire array
0:12:13
we're not we're just getting into the
0:12:16
by doing this but we are going through
0:12:19
and then replacing i didn't get it
0:12:23
we're not doing what that also i remove
0:12:30
what'd you say again
0:12:32
ah now it makes sense
0:12:44
just seeing how to do
0:12:50
it is are you splashing something
0:12:58
i'm just looking on um
0:13:01
what do you call the thing stack
0:13:10
yeah i think we can do this i have a
0:13:11
feeling we can do this
0:13:17
because this is gonna do a memory
0:13:19
transfer not an actual hard transfer
0:13:29
because array array is immutable right
0:14:37
can you confirm this
0:15:03
i'm just worried why isn't it getting
0:15:12
you know um what i think what's
0:15:15
happening is that it's
0:15:19
deleting that note in memory only but in
0:15:23
the dynamodb table is still present
0:15:27
so when you delete it from the memory uh
0:15:30
bug gets it from the table that doesn't
0:15:36
that's why i'm assigning it this time
0:15:38
yeah yeah which would make sense now
0:15:41
because the only reason why i wasn't
0:15:45
line two to seven wasn't there and i'm
0:15:52
no i'm just curious that i wouldn't be
0:15:54
able to get to board notes
0:15:59
right now it says um
0:16:05
we should because uh
0:16:07
we are accessing board
0:16:09
notes from the board which is a global
0:16:12
variable at the moment yeah over there
0:16:25
i've got a bit of a doubt
0:16:29
i guess we'll figure it out
0:16:40
there is a note for sure
0:16:58
do you know how you have said in
0:17:00
line 230 board dot board underscore
0:17:05
it should be board dot
0:17:16
dot board notes oh
0:17:24
yeah that's motions
0:17:31
see the benefit of paper
0:17:35
yeah i miss something
0:17:37
you catch if you miss something i catch
0:17:41
it's the better benefit of having a
0:17:42
non-sleepy zen with me today
0:17:54
oh by the way i've just had those um
0:17:59
energy drinks that i
0:18:01
mainly have instead of coffees
0:18:05
they're working now
0:18:11
thank you coding garden fans really
0:18:16
thank you very much
0:18:19
can you keep an eye on the child then i
0:18:21
will yes so that was my fault
0:18:27
zoned out from the comments because i
0:18:39
okay good is working
0:18:44
uh can we go to cloud watch
0:18:48
yes we can i'm just curious why did this
0:18:50
come in a json format
0:18:53
it always comes in a json format
0:19:16
i know it's not letting me get bigger
0:19:25
uh by the way i'm gonna be
0:19:28
getting um obs and
0:19:34
in my spare time a bit
0:19:40
because we really have to level up now
0:19:43
instead of the streaming software as
0:19:47
yeah yeah for sure
0:19:50
really how did i miss that
0:19:54
i can't tell because it's too unreadable
0:20:15
and then was there saying pro streamers
0:20:24
on the way that was that
0:20:27
yeah i mean we upgrade our setup so yeah
0:20:32
i bought new mac and then kartik
0:20:36
a microphone a 35 inches monitor
0:20:41
a good camera as well
0:20:44
and his wing for his
0:20:47
all right i won't tell everyone that no
0:20:50
not yet yeah don't don't get there
0:20:59
the problem is something with slice
0:21:03
and seeing the format
0:21:05
oh i need to do zero i reckon
0:21:24
do you want to do zero
0:21:27
and why are you using slice in the first
0:21:30
um that's why how you
0:21:33
uh actually assign an array
0:21:36
like you can't just do equal to right
0:21:38
because it's immutable
0:21:49
i think i i'm a bit confused now do you
0:21:52
want me to tell you what to do
0:22:00
items first note this array
0:22:08
okay one second i think i did a bit of
0:22:11
oopsie here as well
0:22:21
something is odd there
0:22:34
break statements don't you um i think
0:22:36
this time we have to do it i'm just
0:22:39
teasing you and don't take it firstly
0:22:41
for reals okay here's the deal this is
0:22:43
what you're doing yeah items first index
0:22:46
is a global variable right so yeah
0:22:50
you find the board id and stuff like
0:22:52
and it's removed from this array the
0:22:56
that makes sense and then you go to
0:22:58
board items and board notes
0:23:02
items are first in first index
0:23:05
board notes and splice so what basically
0:23:09
splice zero does nice or supplies sorry
0:23:15
it's just basically gonna
0:23:23
a new fresh rave without update content
0:23:27
yes if you if i remove this and then do
0:23:30
that's basically saying the address of
0:23:32
this is equal to this but you don't want
0:23:34
to do that we don't want to sign it we
0:23:36
actually want to assign all right
0:23:39
just to make it what is
0:23:44
um you know how uh
0:23:47
substring works is exactly how this
0:23:51
so if you do one comma three it's gonna
0:23:52
do one comma three so if you do this
0:23:55
zero it's gonna take all the array
0:24:01
does that make sense all right you know
0:24:04
how something works right
0:24:07
so if you do substring one comma three
0:24:09
it takes the first index and the second
0:24:15
substring zero it takes the whole string
0:24:17
so same for slice if you take slice zero
0:24:21
it just takes the whole array
0:24:23
yeah that makes sense
0:24:29
begin what's happening
0:24:32
today we are just making sure
0:24:35
all of what our notes functions work as
0:24:39
in notes request which is the crude
0:24:43
specifically for notes and at the moment
0:24:47
to be really precise what we're doing
0:24:50
we are making sure that when we delete a
0:24:57
and then try and get
0:25:08
notes as well but at the moment we are
0:25:11
getting it so we're just trying to fix
0:25:13
that one if that makes sense
0:25:20
the project that we're working on it
0:25:24
would be called as a web-based kanban
0:25:30
replicating an existing or open source
0:25:35
project by enhancing it to add
0:25:38
persistent storage and
0:25:40
a few additional s security features and
0:25:43
also migrating the entire architecture
0:25:49
incredible alternative um you can say
0:25:54
not as beautiful as
0:26:06
i'm gonna check out the um url that
0:26:17
they can get github
0:26:41
what a cool thing guys
0:26:45
uh begins showing us
0:26:50
no this is not the one i'll actually say
0:26:57
your link what exactly we are
0:27:00
trying to do as in
0:27:04
replicate just bear with me for a minute
0:27:11
we are basically replicating
0:27:21
persistent storage
0:27:25
some security features and also um
0:27:30
migrating the architecture to
0:27:38
how are we doing k
0:27:41
just having a look
0:27:54
thanks bring it um so the tech stack
0:27:59
working on or obviously a aws
0:28:03
then we are doing also node
0:28:07
form front end we are
0:28:11
keeping it simple for
0:28:13
the time being which is using javascript
0:28:20
and for the middleware
0:28:22
we're doing fetch api
0:28:27
make the frontend tool
0:28:29
tool to the back end
0:28:36
i think we need to change the key
0:28:40
listen out how it's going to work
0:28:59
um can't we do it in a way that we can
0:29:08
when we delete a note
0:29:12
we can just delete that object but the
0:29:17
for all the remaining
0:29:23
new array and then
0:29:27
assign all those remaining objects to
0:29:33
and then we can assign that brand new
0:29:43
um i'm just having a look
0:29:47
um i i kind of get what you mean maybe
0:29:49
do you want to go ahead and try that i
0:29:50
will push this code up
0:29:54
i'll have a look here
0:30:03
let me make sure i'm fine i'm on oh i am
0:30:15
this is why we need um the
0:30:19
software that actually
0:30:21
shows us a branch as well but
0:30:23
that's a really good picture from you
0:30:26
well done for that
0:30:38
begin saying thought about graphql
0:30:43
we're just keeping you really basic
0:30:48
build up a mvp and as soon as that's
0:30:53
we're actually gonna be
0:30:57
modern tech scan uh tech stack
0:31:02
yeah graphql will be really interesting
0:31:05
to implement yeah because
0:31:07
it'll make all the jobs so much easier
0:31:12
you can just say what task we need to do
0:31:14
and it'll actually
0:31:16
do it in an easier fashion but i think
0:31:22
worked with graphql but yeah i've heard
0:31:25
that it's used for this purpose
0:31:28
yeah so but i feel like it's fine we're
0:31:32
yeah it's also a good deal to have of
0:31:34
course right that's right
0:31:37
you think kati kumar sounds
0:31:43
a south indian name
0:31:47
is really precise apparently
0:31:51
no i'm not south indian though
0:32:05
do you have a lot of friends from
0:32:23
begins is building a new app with next
0:32:27
js postgres prisma apollo graphql oh no
0:32:37
really interesting as in
0:32:49
that's pretty cool
0:32:50
yeah isn't it something similar to like
0:33:00
like isn't there already
0:33:03
which already exists
0:33:08
yeah that's cool though
0:33:13
nice this is pretty awesome man yeah
0:33:17
welcome to social media for
0:33:19
developers only ah interesting
0:33:30
oh yes um then you're gonna replicate
0:33:33
okay yes i'm gonna
0:33:36
get get your code and it's on
0:33:40
that branch isn't it
0:33:47
all right i'll just add
0:33:52
if you can also keep an eye on the
0:33:56
going to be diving in the code now
0:34:02
i'll do that okay cool
0:34:05
right i can't do that one so i need to
0:34:08
open it from there
0:34:10
right um i need to get rid of all these
0:34:13
things first make sure you want to stage
0:34:15
with much confidence no i don't want to
0:34:19
wow okay cool i'm gonna have to solve
0:34:38
i don't want any of my
0:34:42
this am i master where
0:35:00
okay oh nice brilliant that's pretty
0:35:05
so beginnings are more than dev.t.o
0:35:09
that's actually pretty cool
0:35:26
first of all have to merge it and then
0:35:28
move on right yes sir incoming change
0:35:31
yeah don't exit this one don't accept
0:35:33
this one because that's your
0:35:37
that needs to be yours
0:35:39
ah okay cool right so accept current
0:35:45
except incoming change
0:35:51
i thought that was let's do control x
0:36:00
incoming current change
0:36:03
is bored yeah this is the one i want
0:36:05
except current change isn't it
0:36:10
hang on i need to go back and start from
0:36:14
the first one that's not the first one
0:36:17
go up yeah as in uh yeah so current
0:36:23
literally the same
0:36:25
blow it except mine yeah because the
0:36:28
board id is global now
0:36:33
the current change yeah this one or this
0:36:50
the incoming one because we used find
0:36:52
in my one and we don't have the for loop
0:36:59
incoming and then current change
0:37:02
this one or incoming change
0:37:11
yeah current change
0:37:13
yep that would be it
0:37:23
just accept all the incoming changes
0:37:27
uh also delete board id from 1998
0:37:34
it's already coming in line number 110
0:37:39
so why do we delete it okay cool because
0:37:45
and there's a reason why it's in the try
0:37:51
so accept incoming change right yeah
0:37:54
just accept i guess accept all of them
0:37:59
accept incoming change
0:38:03
something coming change
0:38:06
except current change incoming change
0:38:19
so i'm in master at the moment
0:38:27
did you pull it from death
0:38:30
no because my master isn't up to date
0:38:34
actually don't worry about it
0:38:36
i'm gonna have to do it in that way
0:38:46
what is that come on called
0:38:52
okay let's check out
0:39:08
okay well so i'm there now
0:39:16
so we wanted to unlock on
0:39:25
we needed to delete a note
0:39:33
so if we have this one then we supplies
0:39:38
that one and then if we
0:39:41
create another one new
0:40:11
things so that one
0:40:14
inputs is equal to how do we um
0:40:23
copy all the other objects that i in the
0:40:27
right into a new one
0:40:57
how to extend existing
0:41:02
the from set method creates new shallow
0:41:04
copied array instance from an real
0:41:09
so what do we have
0:41:14
what does this do again um right
0:41:16
it creates a new shallow
0:41:21
array instance from an array
0:41:28
but don't we need a deep copy
0:41:32
wait i'm actually doing copy
0:41:35
there are two types of copies right like
0:41:36
shallow copy and deep copy
0:41:38
i didn't know that
0:41:41
yeah it's just that um
0:41:43
the different comes down to like social
0:41:46
copy constraint a new click compound
0:41:49
i don't know if that makes sense
0:41:53
what's that compound object
0:41:56
is this that in a shallow copy you
0:42:00
but in a deep copy you actually um
0:42:02
recursively insert
0:42:08
you can search the meaning i think it'll
0:42:14
afterwards just do deep deep copy versus
0:42:26
you probably stores copy of the object's
0:42:29
values shadow copy reflex changes made
0:42:36
object in original
0:42:42
that so breath which is
0:42:45
shallow is this one so thinking so the
0:42:50
reference with your object as a root
0:43:03
this is a and this is b so this is a
0:43:25
so if you've seen the first one shallow
0:43:27
copy there you are a and b
0:43:32
the head of array a
0:43:36
with yeah the head of array b is
0:43:39
assigned to head of area here so
0:43:40
basically heads are
0:43:42
like just a memory address
0:43:45
is being assigned to a
0:43:47
so that they both become same
0:43:50
does that make sense
0:43:52
do you see that do you see the red line
0:43:54
yeah that represents the head of both
0:43:56
the arrows you know how arrays are
0:43:58
stored in the memory right like yeah
0:44:01
the the first element has been like
0:44:08
in java um or any other object-oriented
0:44:12
language if you just print the array it
0:44:14
will give you the address of the first
0:44:23
this is how it's referenced in um
0:44:26
shallow copy in which this uh
0:44:28
the heads are made the same
0:44:31
so the addresses are made the same but
0:44:33
if you go in the deep copy
0:44:35
there are two arrays
0:44:38
each one is assigned
0:44:42
like each element of the array
0:44:44
is assigned individually
0:44:47
all right right so we need a deep copy
0:44:51
then yes and if you look at it
0:44:54
if you make in any change in the b array
0:44:59
we change b at one to something else
0:45:02
it will reflect in a array as well like
0:45:04
in shallow copy in shallow copy
0:45:08
right right right right i see
0:45:11
yeah so we definitely need a deep copy
0:45:29
i'm just reading this that it would
0:45:31
actually duplicate everything
0:45:34
yeah so that's why we want right like we
0:45:35
don't you want a totally new area
0:45:43
calculation of two pleasure with all of
0:45:49
cool so how do we do this now um
0:46:09
whatever we've got for our board
0:46:16
array at the moment
0:46:20
the suppliers we want to assign
0:46:28
so how about if we do
0:46:38
let's assign everything to this
0:47:02
zoom something else
0:47:07
i don't know if it's gonna work well all
0:47:10
we can do is try and see if it works
0:47:25
and you're not assigning it yet
0:47:29
you're not assigning it to board board
0:47:42
then you're not you're not actually
0:47:44
you made a new variable
0:47:49
another energy drink
0:48:07
we don't need that third variable though
0:48:09
but i guess that's fine just let's just
0:48:44
please compare your version with the
0:48:51
why didn't he tell me this before
0:49:08
what oh okay this must be
0:49:12
oh no no no no no i need to stop him
0:49:28
making these changes as well
0:49:30
on the same branch
0:49:37
yeah just don't accept it
0:49:42
i need to stop him from doing this
0:49:49
thing is i can't even do that
0:49:56
discard your changes and revert to file
0:49:58
content use your changes and over our
0:50:30
dinner oh i haven't had it yet have you
0:50:36
but i don't need my water so i'll come
0:50:56
fernando's sauce on it i'll be back
0:51:34
honestly i can't wait for my packages to
0:51:39
i really want to use my
0:51:41
macbook pro for everything but at the
0:51:43
moment i'm just using it for
0:51:48
know what you mean
0:51:50
okay all right all right cool so i'm
0:52:27
update successfully up wow
0:52:31
up there ran successful already
0:52:35
brilliant right focusing focus
0:53:23
i think i kind of know what to do now
0:53:28
i'm just gonna try it
0:53:53
okay so i'm one two three and now if i
0:54:15
all right that doesn't do it
0:54:19
all right by the way my
0:54:21
my thing didn't work
0:54:23
yep um like that's how good
0:54:29
oh what's the update expression
0:54:34
yeah okay look at my screen um i'll
0:54:39
so i think what we need to do is we
0:54:46
uh we can't just delete it we have to
0:54:52
if you know what i mean you know what i
0:54:55
i'm just feeling this dumb as in why
0:55:01
thing as in just upload the array
0:55:06
so we we can't just do it right like we
0:55:10
so i made this query um
0:55:13
if you find the note id
0:55:18
table key is equal to board id board id
0:55:21
update expression is set board id is
0:55:23
equal to now i need to figure out
0:55:25
what should be here because it's an
0:56:01
yes i just want to update the array
0:56:12
this one let's send you
0:56:33
you're saying you choose a string set
0:56:36
are you looking at the one which says
0:56:39
update item in dynamodb
0:56:46
so i'll see my screen yeah one sec
0:56:53
did that come true
0:56:58
that's fine nothing
0:57:14
okay so these guys are struck that's
0:57:17
fine that's all good
0:57:20
so you updated the code
0:57:24
it's updated expression is
0:57:28
the dxp i don't know what that is
0:57:44
oh okay so he just did authors is equal
0:57:51
so this is the author
0:57:54
so this is the book book struct
0:57:57
and he's inside the book
0:58:01
and in update expression he did
0:58:05
his update expression was set title this
0:58:11
so we just assigned it
0:58:17
authors comma test i don't know what
0:58:25
now this isn't the one which is not
0:58:32
and if that issue is about updating an
0:58:34
entire array using a data item yep
0:58:37
solving similar problems but i wanted to
0:58:39
explore it because
0:58:41
my own there's no much to find without
0:58:43
updating arrays with dynamod and us
0:58:46
okay so you want to update your author's
0:58:54
so you want authors to look like this
0:58:58
um i would run a for loop which would
0:59:03
yep so he runs from all the authors
0:59:10
okay he just basically constructs
0:59:15
um it's actually an array only
0:59:22
is pushing a map object
0:59:26
right that makes sense so you just need
0:59:29
then we prepare an update
0:59:32
i just want to see what he did to append
0:59:34
the map and that's what i mean
0:59:49
so he made a variable a u
0:59:52
i don't know what l means what does l
1:00:03
list this is string yeah yeah um
1:00:07
this is that's a map object
1:00:11
no that's ph can't be map object
1:00:14
it's a phone number
1:00:16
ph oh that's photo right right
1:00:20
that's media that's me obviously ah
1:00:23
media yeah i'm checking i'm just gonna
1:00:50
yeah number is fine we need to see a
1:00:54
uh not related items
1:00:57
there's an array somewhere
1:01:17
yeah we need to do l
1:01:21
but this guy has a map object for
1:01:45
let's just try this
1:01:50
expression attribute
1:02:02
i'm just making a screen big one give me
1:02:09
is it big enough can you see
1:02:25
deleting i know with one method and then
1:02:28
using another method to updating the
1:02:32
why don't we just um delete the
1:02:36
note straight from the database
1:02:39
how can we do that
1:02:46
delete on the array
1:02:49
in dynamodb using doclined
1:02:55
oh you know do that
1:03:00
yeah just i'll try and
1:03:03
check how that goes
1:03:10
so say we already have
1:03:22
so if we do we already have
1:03:28
if we do all actually i don't want to
1:03:37
might need to come back to that one so
1:03:39
you know how the delete function for
1:03:45
yes it was using delete
1:03:58
no no no hang on hang on
1:04:00
we can use the update function
1:04:08
like how how will you get to the board
1:04:10
using nodes using params
1:04:13
that's my question
1:04:23
that's getting you to the board
1:04:26
but we can also instead of this paul we
1:04:35
just live with me for a sec
1:04:38
yep so um try and do one thing that's in
1:04:48
i don't need that one i need this one
1:04:52
so you find params again
1:05:00
i press my table yeah that's fine
1:05:06
how was i doing the notes yeah set notes
1:05:17
the list appending
1:05:20
yeah which is the online
1:05:24
line number one idiot
1:05:40
in this one we're updating oh no isn't
1:05:44
it now we're posting a note yeah us
1:05:52
we can just change the whole array here
1:05:54
or maybe let's try our way first i think
1:05:56
that sounds easier
1:06:09
i don't really know how
1:06:12
with the exact thing as in the
1:06:18
a specific note i'm lost in my own
1:06:25
delete a particular note yeah here we go
1:06:29
one thinking that we could do
1:06:49
to list it must be a function that
1:06:59
so you're doing the same thing you're
1:07:04
are you not deleting it
1:07:16
i was supposed to really say yeah i was
1:07:21
but like i don't think you can right
1:07:25
how will you get to the notes like it's
1:07:34
yeah but we've got this
1:07:40
this id to actually
1:07:45
all right okay let's try that yep
1:07:56
you know what's the time
1:08:06
oh my goodness egg my opponent is gonna
1:08:14
my passion comes first
1:08:17
just hope she's not watching this thing
1:08:22
other studying for her
1:08:27
oh she's doing cpa that's pretty cool
1:08:34
all right i need to get a handgun on
1:08:37
mine on these this code all right here
1:08:41
clear particularly no from the board yes
1:08:43
okay here we go perfect
1:08:55
i would need the note complete as in the
1:09:09
oh this wouldn't work would it
1:09:14
i was thinking that here if i can just
1:09:18
note from this array
1:09:22
how would you do it
1:09:28
and you can make it null
1:10:28
yeah that was my ques that that should
1:10:31
be my question to myself
1:10:35
no that's not good
1:10:54
why would i do this
1:10:57
wake up saying wake up
1:11:09
oh no no no no no it won't work it won't
1:11:14
things i'm i'm rushing things now
1:11:17
well just shouldn't
1:11:24
because of this try catch as you were
1:11:29
calling the update command
1:11:32
so we can just go up
1:11:37
yeah online number
1:11:39
just 195 just copy that
1:11:47
i want to do this both
1:11:55
yeah and then if that's the case
1:12:09
on the floor do it outside the for loop
1:12:14
where is my energy drink
1:12:26
238 line curly braces for
1:12:29
i don't think they should be there
1:12:48
let's have a read okay so board you're
1:12:50
getting a board items that's fine um
1:12:52
you're getting the note id
1:12:54
creating parents one as table top table
1:12:58
yep make it global
1:13:02
right key condition expression
1:13:09
okay yeah that's fine
1:13:13
um i'll wait and you're doing an update
1:13:16
you're promising it
1:13:18
change the message on line number 238
1:13:26
yep and uh delete line number 239
1:13:43
brain is really working
1:13:49
oh wow this is speed
1:14:13
i really need a haircut to be honest
1:14:16
yeah everyone knows
1:14:28
i think i'm gonna text um
1:14:32
the new team member then make sure you
1:14:35
make your own branch
1:14:41
actually what we should want to do is
1:14:46
we should probably get rid of
1:14:54
no no don't worry about it this is
1:14:59
yeah we can discuss that obviously yeah
1:15:03
right um so now i'm gonna get
1:15:07
get all the boards
1:15:18
actually i have two
1:15:27
first get the note oh you're trying
1:15:45
i knew it wouldn't work for some reason
1:15:51
huh see what's there
1:15:53
yeah that's how what that's exactly what
1:16:04
i'm in serious trouble
1:16:41
look at that i'm flying
1:16:51
machine required key in params wow
1:16:57
wow zayn well done
1:17:01
well done saying you're not you don't
1:17:03
deserve a promotion
1:17:07
um just copy the key from up
1:17:11
yeah there you go that's okay
1:17:19
let's copy and put it there
1:17:21
maybe it's an expression there we go
1:17:26
no no no no this is not the one
1:17:41
the primary key how it
1:17:44
yes that's where i messed up
1:17:52
so this would be the primary key
1:18:05
key condition expression and then update
1:18:07
expression should be that one
1:19:00
programming can be this addictive
1:19:05
this is a weekend episode not though
1:19:19
yeah we can do that
1:19:21
all right there we go so i'm gonna
1:19:26
actually no no no no
1:19:29
don't delete this again
1:19:31
do we yeah yeah we do
1:19:39
sorry um don't think so i worked
1:19:46
missing your quiet kicking
1:19:50
just really that one two yeah
1:19:54
missing record kikin params did you did
1:19:59
yeah oh you didn't put the key
1:20:02
where's it for the key
1:20:04
you just build the same code
1:20:06
no no no no no no it's there
1:20:17
oh my god okay go up i'll tell you what
1:20:21
oh yeah stop uh copy line number 185
1:20:30
ah all right that's fine i'm gone
1:20:43
you don't need a key condition
1:20:46
you need the key how you match the
1:20:47
primary key to your primary key
1:20:52
don't tell anyone i did this
1:20:54
i'll tell everyone it
1:20:57
saying is online stream it's all there
1:21:08
come on dane come on
1:21:35
one sec i'll be back one second
1:22:58
all righty how'd you go
1:23:09
this is the note i need
1:23:15
it won't give that at all for sure
1:23:26
but i didn't say it won't give any error
1:23:30
this is programming i love it
1:23:43
all right let's think sarah
1:23:45
we can't do that you know the expression
1:23:49
what i was thinking to do okay we'll
1:23:51
have to come back to tomorrow but we
1:23:58
we will come back to tomorrow
1:24:12
what are you trying to do
1:24:19
all right guys thanks for
1:24:22
tuning in one more episode done
1:24:25
with a good progress hey andre what's
1:24:28
happening he's a gang hey i'm sorry
1:24:32
we just starting the stream so
1:24:37
one and a half hours
1:24:39
late today so we just afford to do a
1:24:42
bill over time in that way now
1:24:50
because that's convenient to you that
1:24:54
that helps oh goodness oh
1:24:57
andre you have no idea what you're
1:25:00
saying you're gonna get me killed
1:25:04
yeah i think we have
1:25:06
information which is gonna contrary that
1:25:12
all right guys and thanks a lot for
1:25:15
tuning in good to have you and honda
1:25:18
thanks for making it to the last minute
1:25:21
we really appreciate it
1:25:24
hopefully we'll see you guys tomorrow's
1:25:34
different actually the same task
1:25:39
okay guys catch you later have a good