0:00:25
all right welcome back everyone welcome
0:00:28
another episode of build breaking fix
0:00:31
thomas do you want to give us an intro
0:00:40
basically on this uh
0:00:42
on this stream we're a team of
0:00:44
developers who are working on
0:00:46
um a project called scrambler
0:00:50
this is basically um
0:00:53
enhanced version of um
0:00:56
of the original scrambler which is
0:00:57
essentially a kanban board um
0:01:00
that is available for anyone to use it's
0:01:02
open source so basically what we had
0:01:05
we're doing to it is we're adding
0:01:06
persistent storage using aws
0:01:09
um and then adding a few other features
0:01:12
um and that's yeah that's the gist of it
0:01:14
so today we're just going to continue on
0:01:18
very nice that's pretty cool thanks for
0:01:19
the introduction man
0:01:22
um cool before we start i'll do the
0:01:24
longitude of the country
0:01:27
if we do this acknowledgement to just
0:01:30
recognize the actual owners of the land
0:01:33
um meet today so i'm just gonna put that
0:01:38
i begin today by acknowledging the
0:01:40
traditional custodians of the land on
0:01:42
which we gathered today and pay my
0:01:44
respects to the elders past present and
0:01:47
future i extend their respect to
0:01:49
aboriginal and torres strait islander
0:01:56
do you actually know the story behind
0:02:03
briefly i mean we did study um
0:02:05
we did study it in school yeah uh right
0:02:10
it would have been it's just pretty
0:02:14
do you know much about yourself
0:02:16
um not really my partner keeps telling
0:02:18
me about it but um i do know that um how
0:02:22
it was taken over and
0:02:24
just yeah just how bad it was so
0:02:28
i i think it's like the recognition is
0:02:30
well um dessert for sure
0:02:38
alrighty let's see what we are working
0:02:41
um looks like the stream has been just
0:02:43
on and off these days but
0:02:45
that's on me um couldn't see on tuesday
0:02:48
had a coding interview it went good um
0:02:54
um i just couldn't get one question done
0:03:02
on like the task was simple the
0:03:06
hard part was to do it in a given time
0:03:11
like you know how they're like simple
0:03:12
problems you can do it with a for loop
0:03:15
so it was like a very complex problem
0:03:17
and then afterwards i realized we had to
0:03:20
depth first search and i was like oh
0:03:25
so this is for internship okay okay oh
0:03:28
yeah yeah it was for an internship um
0:03:30
yeah atlassian but probably want to get
0:03:33
it just just because
0:03:37
but yeah it was a good experience i
0:03:42
other questions but
0:03:45
um yeah i don't know how the time
0:03:47
publicity stuff works
0:03:48
well i haven't gone too deep into the
0:03:54
i did it uni yeah um
0:03:57
design of algorithms
0:04:00
everybody hated that that stuff yes it
0:04:04
intense yeah did you do something like
0:04:06
that in your course or yeah i did i i
0:04:09
did a course called algorithmic analysis
0:04:11
and i did one on data structures
0:04:14
both were cracked so
0:04:21
what language do you do it
0:04:24
the language story hits
0:04:30
but i feel like it should have been done
0:04:31
in like c plus plus
0:04:36
um was that the overnight
0:04:38
yeah no sorry it's like the the table
0:04:40
leg actually touched it
0:04:43
it's metal so it makes it sound
0:04:49
yeah we did i did that unit in uh c and
0:04:52
it was like such a yeah
0:04:54
oh then you have to like memory
0:04:56
management as well then
0:04:57
yeah i had memory management issues
0:05:03
oh story says got to get started
0:05:06
until you have the highest access rate
0:05:10
you should try doing it
0:05:18
cool uh yes let's let's get back to it
0:05:35
this has never worked
0:05:39
looking at vehicle only works
0:05:42
dude i was a jb hi-fi like literally
0:05:46
they have like the craziest sales
0:05:50
like won't even believe yeah
0:05:55
how much do you think
0:05:57
how low do you think can an amazon echo
0:06:01
original price about 90 i bought mine
0:06:07
that's the is it like the alexa thing
0:06:10
yeah yeah like this thing
0:06:16
how much do you think how low can they
0:06:19
oh you mean it was cheaper than 90
0:06:27
it was like 19 i was like bro 19
0:06:31
that is not fair yeah
0:06:36
did you get anything okay
0:06:39
not really i i mean i wanted to get
0:06:43
just because i wanted to do like kind of
0:06:52
another one for like two people to talk
0:06:57
so rmit is like pretty chill
0:07:00
you can rent the podcast studio
0:07:02
like student visits rented
0:07:05
and you can bring a guest and record
0:07:08
yes all nineteen hey get this
0:07:22
oh sorry i'll check my slack
0:07:25
um yeah i don't check my slack more
0:07:28
yes i'm here sorry
0:07:30
is your how do you get your work
0:07:40
teams usually maybe use teams
0:07:48
yourself did you use teams or you always
0:07:54
um apparently we use discord
0:07:58
okay believe it or not yeah
0:08:02
um yeah just because like it's kind of
0:08:03
like a very startupy vibe
0:08:06
okay like 12 people so
0:08:10
yeah makes sense i prefer to use it
0:08:14
anyway let's see what we have
0:08:17
yeah okay i pushed my yeah
0:08:20
yeah which branch was it on it was in
0:08:26
i need to check that's right i'll get
0:08:45
what all these interviews you have
0:08:51
detective is asking you a question what
0:08:52
are all these interviews you have
0:08:55
oh um yeah it was like a coding
0:08:59
an internship i was just trying my luck
0:09:02
yeah it was like better company that's
0:09:07
i was just talking about the interview
0:09:11
questions are all right
0:09:12
um i'm messed up in one question
0:09:17
the point was to make it with the least
0:09:19
time complexity that's where
0:09:23
i was like i don't know what to do like
0:09:26
i don't know it was something like 20
0:09:27
milliseconds i had like 35
0:09:34
it was on lead code
0:09:43
yeah like like i'll go into you um
0:09:47
sorry have have you seen
0:09:56
the founder of algo expert
0:10:15
oh yeah yeah i don't think i watched
0:10:19
you sure he was really really uh what's
0:10:30
what's up oh yeah this guy
0:10:36
that was a very good idea
0:10:44
oh yeah listen for me um but yeah yes
0:10:53
okay so it is on insert
0:11:06
yeah use whatsapp what was the command
0:11:09
a live dash server
0:11:15
you know what's that just that small
0:11:17
dash what's it called oh yeah you got it
0:11:22
iphone no no yeah i didn't know
0:11:25
this is called life
0:11:32
you're getting the job tory
0:11:37
x unemployed soon in my time
0:11:42
hey is it the one yeah is it the front
0:11:46
keep forgetting the company's name
0:11:56
who said on the stream
0:11:58
actually it will be cool though
0:12:03
just for the memes
0:12:15
have a look at jarrow
0:12:28
pause the coding interview
0:12:54
oh also i got my hair cut and if you
0:12:56
guys want to see it
0:12:59
oh yeah it looks good man
0:13:01
does it look like a kid
0:13:08
no i think it looks good
0:13:18
should we work in the back end in that
0:13:21
oh yeah are we talking about the board
0:13:24
yeah the board name thing
0:13:27
what did we have to work on that
0:13:31
um so we to get the board by by name
0:13:39
trying to have a tank
0:13:41
yeah maybe you can do that
0:13:48
okay that says last year about coding
0:13:52
yeah we'll do that
0:13:56
let's try and think what's do do you
0:13:58
want to just do first all like delete as
0:14:07
you know how we have implemented post
0:14:11
maybe we can just implement delete and
0:14:17
delete an update as well okay
0:14:20
you mean the cards don't update at the
0:14:24
do they um let me check
0:14:27
oh i think that's more important yeah if
0:14:29
it's not updating for sure
0:14:38
maybe after that we should also try to
0:14:41
retrieve the cards as well
0:14:45
displayed on the board
0:15:14
how clear is my voice in this mic
0:15:18
oh yeah very clear
0:15:23
what mike is it by the way like good one
0:15:26
uh blue yeti it's called
0:15:33
thanks story oh was it loud oh sorry
0:15:38
mean very clear about the pack of ships
0:15:46
all right okay yeah just give me one sec
0:15:49
i'll change the ball
0:16:05
um what's the current endpoint
0:16:15
how does it start can you just tell me
0:16:46
okay let's see if it's updating
0:17:11
okay so this is my one
0:17:19
let's see if i do this
0:17:34
oh yeah so right now it's adding a new
0:17:39
you know what i mean oh yeah yeah i know
0:17:50
trying to have a thing
0:18:04
we should uh yeah we should change that
0:18:10
so when post note is
0:18:12
called we should check that if this
0:18:15
thing is already there
0:18:26
so do the notes have an id
0:18:36
try to have a thing
0:18:41
um let me see what god control log
0:19:01
today i'm calling sergeant ken
0:19:08
the you know the date created on the
0:19:11
how come it's just a bunch of random
0:19:13
numbers by the way
0:19:16
the date created feel on um
0:19:24
is it a bunch of random numbers is it
0:19:26
which where is it it looks like in the
0:19:28
background yeah go enforcement person
0:19:34
um and then you look at the date created
0:19:47
oh i know what it is
0:19:52
the time in seconds from 1971 to jan
0:19:57
oh okay you know how did credit works i
0:20:00
think that's how it works
0:20:12
i think so that's how it's calculated
0:20:30
yeah yeah yeah pretty sure um
0:20:32
it's time in seconds from first gen 1970
0:20:41
yeah did you know like when you use the
0:20:45
any of any of the random
0:20:47
function or anything
0:20:48
it's not actually random it's just
0:20:55
some particular day or date
0:21:01
okay i didn't know that actually
0:21:04
like i knew there was like some kind of
0:21:06
algorithm which means it's like yeah it
0:21:11
it's pseudo random yes but yeah
0:21:26
with the notes first maybe that's a
0:21:27
first step that we should do
0:21:31
yes so just wanna have a look so what's
0:21:33
happening right now is that
0:21:35
it goes from keen value
0:21:48
and when is this function we call update
0:21:52
all right okay so wherever we are doing
0:22:01
text for notes right
0:22:12
when we're doing set
0:22:29
see this got inserted
0:22:44
converted and printed but if i
0:23:00
and the id remains the same
0:23:04
what we're going to do is that
0:23:09
right i remember we had a insert in a
0:23:12
not inserted attribute
0:23:14
i don't know if we are using it or not
0:23:19
but if we are using that
0:23:28
and there you go so
0:23:31
so we just need to check if status is
0:23:33
not inserted then we insert it
0:23:37
okay i shouldn't be too bad
0:23:47
let's see the stairs right now
0:23:53
when you're changing the card is it
0:23:56
changing it back to
0:23:58
to non-it not inserted
0:24:01
like when you're changing the
0:24:02
the information on the got the text on
0:24:04
the card yeah yeah so yeah so from not
0:24:07
inserted now it's inserted
0:24:12
yeah but i'm saying so
0:24:14
um what i mean is we click save right
0:24:19
and then as soon as you edit the card
0:24:21
again it should uh should change it back
0:24:27
oh no no so by inserted and not inserted
0:24:33
is this note already in the back end or
0:24:36
so the whole idea is that
0:24:39
if the key says inserted then we'll call
0:24:47
it's not in the back end then we'll call
0:24:52
okay yeah yeah okay what you mean
0:24:55
yeah i just wanna control the log and
0:25:21
oh it's value not key
0:25:26
oh yeah it is value
0:25:29
oh we are printing it
0:25:42
i know it's too small sorry no no
0:25:46
yeah gekko says nested switches are the
0:25:53
yes and now it isn't silly that's good
0:26:01
case not inserted now we need case
0:26:05
that's all we need
0:26:22
oh i mean oh the way we are doing it i
0:26:26
yeah we are doing it
0:26:38
yeah we did that the other day because
0:26:40
we wanted the 200 status yeah yeah
0:27:19
get not patch note
0:27:26
and what doesn't you want to mean
0:27:38
all right okay that shouldn't be bad
0:27:40
so it's right patch
0:27:46
it needs a board id
0:27:54
and might need a note id
0:28:08
you can do a get note
0:28:17
that's probably what we can only do
0:28:30
can we go back on still fronting
0:29:04
isn't this assuming that we are storing
0:29:09
in the back end okay
0:29:15
orbee though let's try another thing
0:29:22
this is an interesting
0:29:36
so we need a note id to post the note
0:29:40
but we aren't getting it
0:29:51
i think back and we changed a little to
0:29:53
return the node id
0:29:57
oh oh we're not even storing the node id
0:30:00
okay we're not even storing the node id
0:30:04
yeah so we can store it here
0:30:08
um wherever this is being returned
0:30:14
um for that we do need to go to the back
0:30:17
end but that being said let's just try
0:30:19
hardcore and see if this scenario works
0:30:26
okay now to hard code it
0:30:34
only very hardcore is to
0:30:41
i'll just use my little k5 thing
0:31:08
this is what happens when you don't work
0:31:10
on the project every day you get amnesia
0:31:20
bigger problem here
0:31:25
in the world is the note id here
0:31:30
yeah we're not storing them already
0:31:33
right then how are we gonna reference
0:31:37
that's what i was trying to say
0:31:40
but we did have note id where to
0:31:47
we were never storing the note id
0:31:53
that's the only way you get to things
0:32:00
and we need it for git node as well so
0:32:02
we never delete node as well
0:32:12
could we just i mean we could just alter
0:32:14
the code a little bit right too
0:32:23
no we can't because
0:32:25
i think we need to open the back end
0:32:26
there's another way
0:32:39
yeah we're missing the key which we
0:32:42
didn't have i don't know why it's not
0:32:45
i i'm pretty sure if i post a board with
0:32:49
it's gonna have a key
0:33:04
and then post a note right
0:33:39
store the board id dynamically in the
0:33:41
head title dynamically
0:33:43
that way you can always reference a bit
0:33:46
confused as to what it means
0:34:01
this is the primary key sort of board id
0:34:12
okay in the head title
0:34:14
bow right in the title that way you can
0:34:16
always reference it
0:34:18
what do you mean by the head title dory
0:34:42
it should have been
0:34:43
shouldn't happen twice
0:35:08
this is the back end
0:35:18
is it the same code um
0:35:23
deployed in yours the actual back end
0:35:25
which is deployed right now
0:35:28
or did we go ahead and remove this
0:35:32
um i'm not too sure i generally
0:35:36
uh wasn't really here for the back end
0:35:39
um yeah that's true
0:35:51
you know what i feel like
0:35:58
note id in from the front end and post
0:36:00
it in the back end
0:36:04
that makes sense to you
0:36:06
know what do you mean
0:36:09
oh yeah i know what you mean i know what
0:36:12
yeah i got you mean tori as well um
0:36:17
yes we we should we'll definitely do
0:36:20
trying to resolve how
0:36:21
notes are going to be referenced
0:36:27
um what do you say tonight can we just
0:36:29
post the id as well
0:36:32
yeah i think we can um
0:36:36
is the is the db already
0:36:38
uh structured to accept node id like
0:36:44
i think we can do that easily
0:36:49
try to have a look
0:36:52
so right now the request object has
0:36:58
um it has some oh yeah though
0:37:06
so request object has this
0:37:09
um we need to give it
0:37:12
the note id as well and just assign the
0:37:16
i don't think so there is much to it
0:37:21
all right okay what does story say
0:37:23
you'll update the title in the page in
0:37:25
your browser by doing that
0:37:29
yeah go what you mean
0:37:33
what story means is that
0:37:39
oh is it too small
0:37:47
you just store it in the tab you mean
0:37:57
he's talking about the board right
0:37:59
yeah he's talking about how to say the
0:38:01
primary key which is the board name
0:38:19
i mean we don't really need to
0:38:21
think about that at the moment right i
0:38:45
body is going to have one more thing
0:39:00
okay um can we can i have a look at that
0:39:09
um so yeah you go there you go so you
0:39:14
the request object is going to have all
0:39:17
and this is how the node is being
0:39:21
is it there's already a node id here
0:39:25
yeah but i don't know why is it not
0:39:26
appearing you can have a look have a
0:39:29
take your two minutes
0:39:31
um that's all good
0:39:33
push it back after the ipo
0:39:43
yep ip is getting out next month
0:39:50
i'm just gonna meet myself for a second
0:40:05
can you access the backing code in your
0:40:07
computer do you have it
0:40:09
no i don't have it man
0:40:11
maybe let's just pull that as well
0:40:13
um did you share your screen for a
0:40:25
mvp gonna hit the deadline
0:40:30
it's a tricky one now
0:40:38
okay um just open github i'll send you a
0:40:48
actually probably head to
0:41:04
yep so it'll be scrambler same api
0:41:11
you can probably clone it
0:42:14
let me see if i can add you as a
0:42:18
i think i have admin access i'm not sure
0:42:33
oh nevermind i can only approve pr's i
0:42:45
okay definitely need to text send them
0:42:53
yes sorry probably
0:42:56
um the first and last
0:43:04
the most advanced text tags
0:43:41
i don't know if you have seen this meme
0:43:43
story yeah it's called
0:43:45
it goes like it was lit fam and there's
0:43:48
like a graveyard thingy
0:43:51
have you seen nathanish
0:44:15
i think you do post a lot story um on
0:44:29
oh i still remember the
0:44:33
have you seen a snake um
0:44:36
on his github account tanish
0:44:40
tori has like this like cool little
0:44:47
he explained it about how it was
0:44:52
what is it like uh like the front page
0:45:13
oh that's pretty cool
0:45:17
are you moving is it
0:45:19
moving by itself oh
0:45:21
i don't know it goes in the same
0:45:23
i don't know how he made it
0:45:25
can you tell me like in dallas touring
0:45:28
yeah it's pretty cool let's go show that
0:45:40
i don't know when it stops oh there you
0:45:44
oh i just there you go
0:45:59
right okay which one was it snake master
0:46:12
oh which reaper was isn't this one
0:46:24
i'll tell you as little 20 if i get to
0:46:26
know yeah cool man
0:46:33
so yeah we should find out why this
0:46:39
is it set up in the back end already oh
0:46:42
yeah so if i think if you do sam deploy
0:46:45
and stuff it should
0:46:51
we can set up the new aws account
0:47:03
oh if we want we can test it here as
0:47:06
yeah don't mind anything
0:47:19
i don't know maybe maybe we can see if
0:47:21
it's a common thing first
0:47:27
yeah let me google
0:47:41
i'm just surprised that it's not working
0:48:02
let me just text zen as well to give me
0:48:20
least on github because i can't change
0:48:39
but why do we want it to work anyway if
0:48:44
the front ends note id
0:48:50
if we plan to then here we don't need to
0:48:54
but i'm just thinking
0:48:58
which one would be like you know
0:49:00
i guess better practice perhaps um
0:49:12
it seems like getting this to work would
0:49:14
be a better practice
0:49:20
having two ids anyway doesn't seem the
0:49:37
doesn't the front-end id change though
0:49:49
all right i know what you mean
0:49:52
that's the thing right um
0:49:56
i think they'll come when we
0:49:58
will actually go ahead and display these
0:50:03
i don't know how that's gonna
0:50:06
and we're just gonna use the current
0:50:13
if we're concerned about it changing
0:50:18
open the board again after closing it
0:50:23
i think we can just assign it ourselves
0:50:36
there's also this one little thing to
0:50:38
keep in mind i'll show it to you
0:50:40
yeah yeah you can see my screen
0:50:49
it's just a small little
0:50:52
food for thought kind of thingy but
0:50:55
it can be very interesting to
0:50:58
think about logically so you know how
0:51:01
this is your first session and you did
0:51:03
create note id and it give you a note id
0:51:11
with four zeros i think so
0:51:16
whatever it is i think it is in
0:51:21
one two three four five
0:51:23
you're not ready for this
0:51:27
being generated by a random number
0:51:32
so in this session if you keep creating
0:51:33
like 10 board notes it'll make sure not
0:51:36
to repeat the number
0:51:39
does that make sense yes it makes sense
0:51:41
because the guy like the code is
0:51:44
oh yeah if it's probably or not
0:51:47
i think you've gone well yeah when we
0:51:50
retrieve this same one two three four
0:51:55
there is a slight one in
0:51:58
hundred thousand chance that the port id
0:52:00
will be same somewhere yeah or not id
0:52:03
would be same somewhere
0:52:04
yeah yeah yeah it makes sense
0:52:10
yeah i think ideally we should use the
0:52:16
yeah i just don't know how to sort that
0:52:20
um maybe we can change the whole front
0:52:22
end to use the uid and then pass that
0:52:25
that just increases default tolerance
0:52:34
look feels on that side
0:52:42
i don't know how the card id is being
0:53:16
i just random so many times
0:53:19
oh there you go unique id
0:53:23
yeah so pretty we just if we can just do
0:53:37
how is the card id being used right now
0:53:59
okay i might just remove this
0:54:23
yes if i click this
0:54:29
yeah i think it's this one
0:54:40
i mean this is big enough as well i mean
0:54:42
let's not what do you say it's not
0:54:44
complicated and just use
0:54:46
this in the backend
0:54:52
but it's just like
0:54:54
yeah that point that you brought up just
0:54:56
doesn't feel like a good solution you
0:55:00
sorry tori again keep forgetting
0:55:06
i used to eat chips like last month as
0:55:08
well don't told me
0:55:14
i did something with my mic and i think
0:55:17
has become way more sensitive now
0:55:27
like you you don't like doing that
0:55:30
yeah i don't think that's a good idea
0:55:35
it feels like a workaround
0:55:41
yeah i think ideally we use that uu
0:55:44
id from from the back end
0:55:46
but we should see like how like why it's
0:55:48
not working probably
0:55:53
otherwise maybe we otherwise maybe we
0:55:58
use the uuid here instead
0:56:03
i feel like we should have the same note
0:56:05
id front and back and both
0:56:16
i also feel like why didn't we do it
0:56:17
with a relational database sometimes
0:56:21
because everything is relational right
0:56:28
if you know what i mean
0:56:32
like if there's a note then there is a
0:56:35
note i think there's a schema to it
0:56:38
uh okay yeah true yeah i get what you
0:56:45
all right let's come back to tomorrow um
0:56:47
let's work on the back end tomorrow
0:56:50
maybe in the meantime we can probably
0:56:52
deploy to our aws account
0:56:57
yeah i mean yeah i got what you mean
0:57:00
like why why do you say that i know it's
0:57:02
good for learning and i i like i'm aws
0:57:05
advocate as well but
0:57:08
if this whole thing is very schema based
0:57:13
just just wanna know for my knowledge
0:57:28
yeah let's come back i'll ask sam to
0:57:30
give me access till then
0:57:33
we just apply to our account no pressure
0:57:38
and uh yeah even ask him about what he
0:57:41
about what he should do here as well
0:57:45
yeah i could probably call him like half
0:57:47
an hour or something and then
0:57:59
we still didn't think of our
0:58:04
that's true we need yeah
0:58:08
going to use since copyrighted archer
0:58:14
that's true sorry um okay i agree with
0:58:17
might be complex to access everything
0:58:20
but yeah that was fun um let's come back
0:58:25
let's start the backing out and uh
0:58:28
yeah just need to make sure that we're
0:58:30
referencing the note correctly
0:58:34
everything which is happening there is
0:58:36
clean rather than being overcrowned so
0:58:39
good point on that
0:58:40
um what do you have to add tori
0:58:52
uh no no um yeah i think we just gotta
0:58:54
work out a few things and uh
0:58:57
yeah and yeah and then we'll be on the
0:58:59
right track again but yeah
0:59:04
cool um thanks everyone thanks for
0:59:06
joining us today um
0:59:12
when are we seeing them
0:59:15
can we swim on sunday
0:59:17
uh yeah maybe i think that works for me
0:59:19
but um yeah tomorrow doesn't work for
0:59:25
all right okay yeah yes so we'll see on
0:59:29
yes same time same place
0:59:38
yeah there we go easy
0:59:41
see you guys good night see you guys