0:00:23
uh welcome back to another episode of
0:00:25
bill breaking fix with
0:00:38
just rip that from saying
0:00:44
i'm gonna i'm gonna switch my network i
0:00:46
i'm a little laggy
0:00:52
something's wrong in the mansion
0:01:01
i like your background okay
0:01:06
someday someday you too man someday you
0:01:13
all right if i if you lose me for a
0:01:16
switching that works
0:01:39
while you're doing that i'll just um
0:01:42
do the acknowledgement
0:01:47
i begin today by acknowledging the
0:01:49
traditional custodians of the land on
0:01:51
which we gather today and pay my
0:01:53
respects to the elders past present and
0:01:56
future i extend their respect to
0:01:58
aboriginal and torres strait islander
0:02:08
uh where's the chief sniffer um
0:02:14
i guess he's gone out today
0:02:17
so yeah he couldn't make it
0:02:19
i hope seeing the next one though
0:02:25
for those who don't know it's tori's
0:02:26
birthday so happy birthday tori
0:02:29
thank you very much
0:02:32
all right you do much
0:02:37
next weekend though actually i was going
0:02:39
to go out this weekend but
0:02:41
just i just didn't feel super i was
0:02:44
pretty tired this weekend so i just
0:02:51
yeah next weekend i'll be going places
0:02:56
out north of bali yeah i'm 50.
0:03:03
what's wrong with 50 man come on
0:03:06
no nothing um yeah so i don't i don't
0:03:09
know why it's a joke then
0:03:16
i'm 36. i'm 36 actually yeah
0:03:27
it's a microsoft of ages
0:03:30
yeah hey so you're still in bali right
0:03:33
um i am still in bali and
0:03:37
this week they just announced that they
0:03:40
will be bringing back direct flights
0:03:45
uh later this month so that's like
0:03:49
the it'll be if it goes through
0:03:52
then it will be the first
0:03:56
international flight arriving in bali in
0:04:01
i don't know almost
0:04:03
two years pretty much i think i think
0:04:05
maybe just under two years
0:04:11
which is good for me because because
0:04:13
that means it'll be a lot easier to
0:04:16
fly out of here later
0:04:19
once there's once there's flights
0:04:23
he's in i i've taken over zane's house
0:04:28
i'm i'm house sitting why are you yeah
0:04:32
i'm stuck here man
0:04:34
this is my punishment
0:04:39
i talked to zayn and zayn said he's
0:04:41
still working on um
0:04:46
this issue with route 53 and cloudfront
0:04:56
i think he said the first thing to do
0:05:00
um to see if the dns
0:05:03
record had updated or something like
0:05:07
um and then after that he was he
0:05:09
suggested we just go back and
0:05:13
basically look at our
0:05:15
cloud front configuration and
0:05:18
whatever else like s3 route 53 so
0:05:22
basically anything else
0:05:30
what do you want to show your shoulder
0:05:58
oh dropping the music
0:06:17
my girlfriend's always like what's that
0:06:26
this is how we this is this is how we
0:06:33
it's a good it's a nice touch i think
0:06:37
this one this one's a little bit
0:06:39
sometimes it's like i feel like i'm in a
0:06:41
like a yoga studio
0:06:44
yeah about to do some sound salutations
0:06:53
yeah it's kind of like that
0:06:57
you only have like 10 to choose from you
0:07:01
options are limited
0:07:08
said we need the sound of a flushing
0:07:15
not cool i almost spilled my drink
0:07:24
i was ain't so working late okay
0:07:32
could you turn it down just slightly
0:07:34
it's a little hard to hear you
0:07:36
oh sorry man is that good
0:07:39
too soft yeah that's good that's good
0:07:44
you could probably turn it up a little
0:07:46
bit if you want what happened why is it
0:07:52
oh okay yeah it was just
0:08:28
the interviews for the internship go
0:08:30
you don't mind me asking
0:08:32
actually um i applied
0:08:37
i applied for a senior
0:08:39
front end position
0:08:46
i passed the first technical round but
0:08:51
just like the behavioral part and
0:08:54
if you can't tell i failed that part so
0:08:56
they didn't pass me
0:08:59
oh that bad behavior
0:09:03
no i think i think they i think right
0:09:06
now so i i was referred i was referred
0:09:10
by uh by a back end dev um
0:09:17
through my community back home
0:09:19
and he was like dude just supply it's a
0:09:22
senior position but just apply anyways
0:09:24
because they might consider you for
0:09:27
you know a non-senior role
0:09:31
and i said are you sure he's like do it
0:09:38
there are no non-senior positions open
0:09:41
so i'm pretty sure that's why i got
0:09:44
oh okay makes sense
0:09:46
i mean i didn't get moved on to the next
0:09:49
round i should say it's not like i would
0:09:51
have gotten a job but yeah like they
0:09:53
didn't they didn't
0:09:55
if i had passed there would have been
0:09:56
two more two or three more technical
0:10:03
yeah that makes yep
0:10:04
i thought you had um an internship um
0:10:08
interview doing as well oh no why
0:10:11
the funny thing is i applied so they
0:10:13
have an internship
0:10:16
they have like an application pool that
0:10:18
closed for internships on the 19th of
0:10:21
january or something so i applied for
0:10:23
those as well so i wonder if they look
0:10:28
application and then looked at the
0:10:30
internship application like what is
0:10:37
no but i haven't i haven't heard back
0:10:40
internship i feel like it's not going to
0:10:43
go anywhere just because it's so
0:10:48
there's probably more than 500
0:10:51
applicants and one of the things you had
0:10:55
to submit the application was
0:10:58
do a technical like you had to build a
0:11:02
okay and i could see on github there
0:11:05
were like more than 500 of the repos
0:11:09
yeah so i was like well like it's a far
0:11:18
yeah so i don't have too much faith in
0:11:34
it reminds me though i should get back
0:11:36
to the guy who referred me and say you
0:11:45
yeah he'll probably tell me
0:11:47
he'll probably tell me too that there's
0:11:49
no non-senior positions open right now
0:11:51
and just try again later
0:11:57
i mean it was good like experience
0:11:59
anyways regardless yeah yeah definitely
0:12:01
i mean i didn't i didn't like my hopes
0:12:04
and dreams were not
0:12:05
we're not pegged on it but i'll tell you
0:12:08
i was like um if i can even get past a
0:12:13
i'll be very happy with myself so i'm
0:12:21
i mean it says something if you like
0:12:23
pass the technical right
0:12:25
of the senior position
0:12:33
no i mean the the first the first
0:12:43
just like can you code
0:12:46
at all kind of thing
0:12:50
it wasn't it wasn't anything difficult
0:12:52
or tricky i think the last rounds were
0:12:54
the ones where they're like they're
0:12:55
really going to test you
0:13:01
but yeah i'm still happy because it like
0:13:05
doing any type of interview is just a
0:13:10
um anyways because it's stressful
0:13:13
for me at least so i'm always happy to
0:13:16
just get better at the
0:13:18
process dude i've had time to work on
0:13:24
i made a little bit of progress today
0:13:26
actually so i'm happy about that
0:13:29
what's for bingo tori
0:13:32
it's gonna be this revolutionary uh
0:13:43
based on this show
0:13:46
hey can i have a look
0:13:49
it's not it's it's it's not even an
0:13:57
mostly what i've been working on right
0:13:59
the authentication system in setting up
0:14:04
database which i'm using something new i
0:14:10
which is called fauna
0:14:15
interesting what is that um
0:14:19
gcp service or i don't know oh so fauna
0:14:22
fauna was fauna was developed by some
0:14:27
some devs at twitter and they made like
0:14:33
this like serverless database called
0:14:36
fauna and it's just like database as a
0:14:38
service and it's serverless and it's
0:14:49
a graph database i don't it's it's like
0:14:52
a nosql database but it's not
0:14:56
i don't know um but it's cool it's good
0:14:59
and then it has its own like query
0:15:01
language which is pretty pretty
0:15:02
interesting it's more like a functional
0:15:06
and it just has a lot of really great
0:15:08
features as well and
0:15:14
it can't be it can't be free
0:15:24
let's see what do you recommend we have
0:15:26
a look sorry what do you think
0:15:29
is the is the web is the website does
0:15:32
that does the url for the site work at
0:15:37
only the cloudfront one
0:15:40
okay but not the actual
0:15:47
oh there it is sorry i'm logging into
0:15:54
uh fauna like like plants
0:16:06
uh yeah i would love to make it a twitch
0:16:09
app in the future maybe i can make it
0:16:11
more generic so streams could like set
0:16:17
like that'd be cool to make it like a
0:16:19
game for for twitch streams for you
0:16:23
you know people watching the stream to
0:16:24
play along and interact
0:16:28
that's actually kind of cool yeah
0:16:31
i think i think i haven't investigated
0:16:33
it but i think i heard some other
0:16:36
some other um apps like that but i
0:16:39
should check it out sometime
0:16:49
thinking if it was me i would feel like
0:16:51
the first place i would go is check
0:16:57
um yeah this is round 53 man so
0:17:02
i think um i think zayn created probably
0:17:11
i'm hopping in there too on my computer
0:17:24
what do you what do you reckon finesse
0:17:30
honestly i think um
0:17:39
yeah honestly i think
0:17:43
zayn probably needs to have a look at
0:17:47
account to see if it's
0:17:51
possibly there's conflict there i mean
0:17:53
that's what we were talking about right
0:17:56
yeah i don't know i didn't get to ask
0:17:59
because i didn't know how to explain it
0:18:03
i'm wondering if that happens to be the
0:18:15
that's what i think
0:18:17
it might be the issue because he has
0:18:25
it just i mean i don't know enough about
0:18:28
the dns and networking but it just seems
0:18:30
like it would cause some like overlap
0:18:36
because he has like a sub domain and
0:18:38
then the domain but then
0:18:40
he's like changing the
0:18:43
these these records for the dns in one
0:18:45
place and in another place and i just
0:18:48
feel like they're it's just
0:18:52
literally two minutes to fix
0:18:59
um yeah it feels like we're going in
0:19:06
is that another part week
0:19:09
you know me i can't work on the front
0:19:16
just okay geckdev says just create a
0:19:18
root apex a alias record cloudfront
0:19:23
i thought we did that which is crazy
0:19:37
yeah that's what i thought we did as
0:19:42
there is no there is no alias
0:20:14
i thought he did this already
0:20:31
for the scrambler subdomain
0:20:36
can't type yeah no worries um thanks
0:20:56
so is it is it an alias to s3 endpoint
0:21:02
uh should be cloud front but i just
0:21:04
wanted to try it if s3
0:21:09
just do what gek dab says
0:21:11
don't make him angry
0:21:14
it doesn't show up man like this thing
0:21:26
see it has a record for s3
0:21:36
no resources found
0:22:00
does cloud front exist
0:22:08
in the record drop down he says
0:22:38
oh that's interesting what is what does
0:22:52
oh actually maybe not
0:23:07
what what is what is
0:23:08
quadruple a and that's for
0:23:20
i'll try a c name like okay
0:23:25
so he does i think he does have the c
0:23:30
well i don't know how it's configured
0:24:18
this really shouldn't be this this hard
0:24:22
it's been too long
0:25:20
what is this what is the cname pointing
0:25:26
this one was for the
0:25:33
oh that's for a cert
0:25:35
yeah this is awesome
0:25:46
i'm sure we haven't looked at that sorry
0:25:51
were you still having look at this
0:25:54
yeah i was just looking at it i was
0:26:00
i was looking at it on my computer
0:26:02
looking at cloudfront
0:27:44
apparently we need to add um
0:27:49
alternate domain names we need to add
0:28:00
i was just looking at that too i'll be
0:29:46
see if you have a look here it says that
0:29:51
add an alternative c name
0:29:56
the cloud for instruments attached to
0:29:57
trusted certificate which is what we try
0:30:05
basically we need to do the certificate
0:30:08
add the alternate domain name it seems
0:30:13
so you didn't create a certificate yeah
0:30:25
what's what's the bot part
0:30:32
it's not being validated
0:30:57
we'll also need your domain set and
0:31:18
the alternate domain
0:31:30
names yeah that's what we just tried to
0:31:35
it's not allowing us
0:31:57
can we do that instead
0:32:42
yeah that's the thing um touring get div
0:32:46
he's laughing all the certs
0:33:00
yeah but yeah this is the issue that
0:33:05
you need one set with rokoda dev
0:33:12
so his his domain is
0:33:16
hosted by i think he said name cheap
0:33:23
does that like does that have anything
0:33:28
that like there are certain
0:33:33
dns record like are there things he
0:33:35
needs to set up on his name his name
0:33:38
you need to set the round 53 name
0:33:41
servers and namecheap yes
0:33:45
yeah i was surprised he never mentioned
0:33:50
i thought he said name chief i could be
0:33:52
wrong but i thought he said name tube
0:33:55
and then he has his own personal account
0:33:59
i think he's done it yeah
0:34:07
but he needs to in name cheap so
0:34:09
namecheap would have its own dns records
0:34:12
i think is is that the correct gekkov
0:34:15
that he would need to configure
0:34:25
i'll be lost without gagged over this
0:34:36
i feel like if if the
0:34:38
if the domain was purchased through
0:34:40
route 53 this would be way simpler
0:34:44
can't do all the work for you guys
0:34:57
uh did zayn leave you with a
0:35:00
kebab stipend ganesh to distribute to
0:35:25
i feel like the problem here is
0:35:27
definitely something
0:35:28
i mean with route 53 with the dns
0:35:31
records because cloudfront works like we
0:35:34
if we access the cloudfront url that
0:35:42
when you when you guys can't do this for
0:35:44
a week i'll do it for a kebab
0:35:47
it's it's nearing then so
0:35:52
so i don't know if they're actually i
0:35:54
mean without access
0:35:58
like without being able to talk to zane
0:36:02
it's hard to get a full sense about this
0:36:05
this domain like what's going on with it
0:36:08
and it seems like cloudfront works s3
0:36:11
works right we can access
0:36:13
the site directly from s3 we can access
0:36:15
the site directly from the cloud front
0:36:19
so it seems like the problem is is with
0:36:25
something with the with route 53 the dns
0:36:31
yeah i agree and that and it may just be
0:36:35
how the other dns records are configured
0:36:39
on his personal aws account or whatever
0:36:42
is going on in namecheap maybe that's
0:36:47
the certificates are still pending
0:36:51
i would think so i would think that's
0:36:52
why like it just can't be validated so
0:36:59
i know yeah all right
0:37:03
we would get lost without saying
0:37:06
have have you ever have you ever have
0:37:09
set up a static site on
0:37:13
on s3 and route 53
0:37:18
it's pretty straightforward right i mean
0:37:20
i did it like months ago
0:37:26
i can't really i remember it being
0:37:28
pretty pretty simple but i didn't do
0:37:30
anything with like sub domains
0:37:33
but i've done that for other servers
0:37:36
that i've had and it wasn't bad
0:37:42
so yeah i don't know maybe it's um
0:37:46
maybe it's just that
0:37:48
do you want to try to do you want to
0:37:53
more on this or you want to try to do
0:37:56
um let me just try this one thing and
0:38:01
i'm fine you can keep trying for the
0:38:05
15 minutes as much as you want
0:38:20
unless without having name cheap
0:38:22
forwarding to route 53
0:38:24
that's what i think too
0:38:26
you can't validate
0:38:29
cm certs which are required okay
0:38:37
i reckon yeah maybe it's just a good
0:38:39
idea to table it for now since then yeah
0:38:42
i don't know if he he if he did anything
0:38:45
he never mentioned if he set up anything
0:38:50
for that sub domain and i don't know if
0:38:52
that matters i imagine it does matter
0:38:54
for the sub domain too but
0:38:57
obviously it works for the stream blog
0:38:59
and the rest of the stuff on roar coders
0:39:01
like that's configured correctly
0:39:04
yep but that's on his account
0:39:07
right that's on his personal aws account
0:39:31
if it was me i would just port over the
0:39:37
to to route 53 i think it's just so much
0:39:52
yeah i think yeah maybe let's just leave
0:39:54
it for now and then we can um
0:39:57
we can ask him to like
0:40:01
yeah potentially port over it or
0:40:04
you know or configure it in namecheap or
0:40:07
whatever yeah just configure it maybe he
0:40:10
got like a real good deal from namecheap
0:40:13
for like two years so he bought it there
0:40:18
i think i think through route 53 it's
0:40:23
12 to 15 dollars for the domain per year
0:40:27
it's pretty typical
0:40:36
yeah so what do you think we can uh
0:40:48
what was going to come after this
0:40:54
i think we could try to look at that
0:40:55
that um that default lambda
0:41:05
we could look at that default lambda and
0:41:14
or we could work on the front end
0:41:26
you can put across messages
0:41:31
so on the default lambda
0:41:36
for the websocket i'm sorry for the
0:41:40
we need to implement some logic that
0:41:42
when a message is sent from the client
0:41:49
is then received by everybody else
0:41:51
essentially who's also on the table
0:41:56
everybody who's connected to the
0:41:58
websocket i should say
0:42:07
did you want to share scooter yes this
0:42:14
dude i think you have more familiarity
0:42:18
but um yeah i'm happy to listen to it
0:42:21
no i'm just joking
0:42:23
i'll share my screen
0:42:29
i can't code without having to laugh man
0:42:31
i gotta have a laugh
0:42:35
oh no you can't see
0:42:37
uh i think i think you're the host and
0:42:56
why is my computer so slow what is going
0:43:26
chewing up my resources on my laptop i
0:43:28
don't know what's going on
0:43:36
um well this is the default lambda can
0:43:39
you hear me all right
0:43:44
um do you remember how the websocket
0:43:50
yep yep on a high level
0:43:54
like on connect we got this working
0:43:56
right where basically
0:43:59
the client connects to the websocket and
0:44:01
then stored in the table
0:44:09
it's stored in dynamodb right on in that
0:44:13
and then makes sense
0:44:14
on default basically all it does right
0:44:18
is it just sends you back a generic
0:44:25
but what we want to do is basically
0:44:37
we want to we want to use dynamodb
0:44:44
wow sorry i don't know why my
0:44:48
computer is so slow right now
0:44:56
i can hear you yeah
0:45:35
huh i don't know why it's so slow um
0:45:42
uh i think we just want to bring in
0:45:47
when somebody on the client side sends a
0:45:50
message like let's say they save a card
0:45:57
or something right
0:46:00
then that will basically fire
0:46:05
fire off an event on the
0:46:09
that sends a message
0:46:15
with the aws websocket and then it
0:46:19
unless this is being
0:46:21
unless this route is changing right now
0:46:23
what it would do is just hit the default
0:46:28
and and what we have right here is
0:46:31
just a generic message but
0:46:34
you know in the in the event we would
0:46:43
like the message object or whatever
0:46:45
they're sending along with the message
0:46:47
so like basically the
0:46:49
the card info like
0:46:54
like the message on a card or something
0:46:56
right that some user saved
0:47:02
okay cool all right and then
0:47:05
what would happen inside here is
0:47:12
you would use dynamodb and then
0:47:18
query the table and grab all the
0:47:23
that are connected to the table
0:47:25
or connected to the board right
0:47:28
so basically all the all the clients
0:47:31
and then you would
0:47:33
send them that message
0:47:36
you would broadcast that message back to
0:47:41
basically this same
0:47:45
pretty much the same thing that's here
0:47:47
except you would do like a four
0:47:50
like a four of loop or whatever for
0:47:52
however many clients you got back from
0:47:58
okay yeah makes sense
0:48:06
i think it would be
0:48:07
like when you send the message it's
0:48:11
like i don't know what he
0:48:15
calling it but it's probably the event
0:48:16
body right so you'd get the message and
0:48:19
then basically take that message and
0:48:21
just broadcast it to everybody who's
0:48:23
connected to the board
0:48:25
and that way it would happen in real
0:48:27
time and everybody would
0:48:29
when somebody saves a message or saves a
0:48:33
then they would get that card shown on
0:48:42
yeah do you know do you know anything
0:48:44
about the dynamodb api because i don't
0:48:47
really know that much
0:48:58
okay i'm just gonna
0:49:05
yeah so i think we just need
0:49:16
i think we just need a query
0:49:23
i think we could write the code but i
0:49:25
can't test it because we don't have
0:49:45
what is this this is the
0:49:50
so we don't actually need
0:49:54
this part right here
0:50:01
i think we just need the
0:50:10
all right well we'll worry about that
0:50:16
um i think the first
0:50:20
is like um get all the users
0:50:24
forget all the connection ids whatever
0:50:27
is that what he's saving
0:50:30
yeah yeah connection id
0:50:57
how do we write a query or
0:51:03
i need to have a look man
0:51:05
or is there a or is there a simple way
0:51:09
i think there's a get
0:51:12
yeah let me take a look too
0:51:20
this would be one case where like i
0:51:21
think like a scan wouldn't be the worst
0:51:23
thing in the world
0:51:28
could you just be scanning the
0:51:32
for those connection ids or whatever
0:51:41
yeah true yeah you mean like there
0:51:43
wouldn't be you actually wouldn't be
0:51:45
getting a lot from yeah
0:51:47
because i think that's i think that's
0:51:49
the only thing he's he's storing
0:52:06
there it is get item query that's what i
0:52:28
so get item looks up one item
0:52:43
isn't there like uh
0:52:46
batch there's also batch get item i
0:52:52
i think it only returned you
0:52:54
yeah returns you 100
0:53:01
so you can either do that or you can do
0:53:07
look at that syntax it's lovely
0:53:26
i don't know if there's any advantage
0:53:31
of a query verse uh
0:54:07
is there something called a scan that we
0:54:11
there is a scan but
0:54:15
from what i remember using scan is like
0:54:17
the absolute last option you should use
0:54:25
for various reasons i think in this case
0:54:27
it wouldn't matter
0:54:31
but generally you should just avoid
0:54:33
using scans unless you have like a
0:54:35
really good reason to that's what i
0:54:37
remember from study
0:54:48
a query returns all items with that
0:54:50
partition key value
0:54:53
optionally you can provide a sort key
0:54:55
value and use a comparison operator to
0:54:57
refine their search results
0:55:04
there's no way there would be more than
0:55:06
100 people connected to a board there
0:55:08
should be a hard limit on that
0:55:14
i don't know if he has unlimited money
0:55:21
batch get returns uh
0:55:23
returns the attributes of one or more
0:55:25
items from the table
0:55:28
you identify request item
0:55:30
by the primary key
0:55:42
yeah i don't know do you want to go with
0:55:44
either one of those
0:55:47
yeah yeah i guess we can try it and
0:55:51
have we have really done a batch get on
0:55:58
let's try that then let's just throw a
0:56:07
the way everybody will be that way
0:56:09
everybody will be super confused
0:56:18
yeah i'm just trying to save this other
0:56:20
ways but yeah that seems good i think
0:56:25
you know without the 100 limit um
0:56:31
yeah but perhaps we can like um impose a
0:56:34
restriction anyways
0:56:38
yeah i think i think that would be good
0:56:40
so you don't so some jerk doesn't come
0:56:43
in and start like creating like 100
0:56:54
and then running up your bill i was
0:56:56
reading an article about somebody
0:56:57
talking about how like
0:57:00
like somebody tried to ddos their
0:57:02
serverless application and how expensive
0:57:10
because that's that's the problem with
0:57:11
the serverless like
0:57:14
that's one problem with serverless
0:57:20
unless you put in you put in like guard
0:57:23
if you didn't then expensive scaling
0:57:30
yeah i can imagine
0:57:37
do i need the javascript sdk like do i
0:57:40
need to look at that
0:57:48
oh look at that we're out of time
0:57:55
the way you said it
0:57:59
yeah it is just lowercase so it takes in
0:58:02
params and a callback
0:58:09
so the params i think i think the params
0:58:13
similar to the query
0:58:16
it's just some object
0:58:24
is there an example i can just quickly
0:58:37
no that's a response
0:58:40
so does it need to be and it probably
0:58:42
needs to look like this
0:59:02
okay that's a response syntax
0:59:05
so it's request items
0:59:21
forum is it the table name
0:59:34
i'm going response elements
0:59:40
table names for each
0:59:43
i think it's the table name
0:59:53
the required parameters are described
1:00:00
maybe something like this
1:00:04
put this link in the chat
1:00:09
oh it's different okay
1:00:21
key is an array of primary keys there is
1:00:23
no specific items in the table for each
1:00:25
primary key you must provide all of the
1:00:37
pop this open thanks
1:00:46
what do you get to do at work finesse
1:00:51
not much man literally it's
1:00:57
no seriously i just go
1:01:00
like i just exercise watch tv
1:01:06
oh yeah i thought you mean outside of
1:01:08
oh no no i meant i meant at work like
1:01:11
what do you get to do at work
1:01:13
oh okay yeah um a lot of infrastructure
1:01:18
dealing with issues
1:01:22
you know when the service goes down or
1:01:24
something it's fixing that sort of thing
1:01:30
most infrastructure
1:01:43
did you see my the link
1:01:53
i think i accidentally clicked on
1:01:55
something that's why okay reading items
1:02:01
table name yeah it's so much easier
1:02:09
yeah and then you just call it like how
1:02:16
oh and we need some error handling all
1:02:21
that's good i'm just gonna dump this
1:02:31
okay yeah like i was reading the docs
1:02:33
and and now it's just with that example
1:02:36
thanks it confirms
1:02:49
this one uh we have
1:02:58
that we need for the table name i'm
1:03:02
actually let me do that up here
1:03:17
do you how do you like working on the
1:03:19
infrastructure stuff
1:03:21
yeah pretty good pretty good um
1:03:24
it's interesting i i mean um
1:03:26
yeah i definitely didn't think
1:03:30
yeah that's what i would be doing like
1:03:32
first job out of uni sort of
1:03:37
but yeah having good fun with it
1:03:44
i'm silly man i think we can't use this
1:03:47
batchget because i think we need
1:03:52
this is like if you're getting it by key
1:03:56
or can we get it by can we tell it to
1:03:59
just dump everything from the table
1:04:06
yeah maybe we should just go with the
1:04:07
query then because i think the query
1:04:31
let me leave some notes will
1:04:55
are we assuming we don't know
1:04:59
any part of the key
1:05:05
we won't know yeah we won't know
1:05:09
because it'll just i think the
1:05:14
the key let's take a look here at what's
1:05:19
so we have a table name
1:05:21
and then the item is a connection
1:05:25
connection id i'm assuming that's the
1:05:32
i mean i i don't i don't
1:05:36
two hour tonight without the main
1:05:42
yeah he's not coming he's not coming
1:05:47
and then this is storing the connection
1:05:53
in i'm silly why don't we just look at
1:05:58
did i close it i did
1:06:18
i'm just reading something it says
1:06:20
if you don't know any part of your items
1:06:23
key then this key the scan operation
1:06:25
will return all items everything
1:06:30
query will too right
1:06:33
because you can just
1:06:36
see geckdev's laughing that's that's how
1:06:38
you know it's not good
1:06:53
i wonder what he would think about using
1:06:55
a scan in this use case
1:07:00
don't know what you're doing just scan
1:07:02
the whole table every time that's right
1:07:08
yeah okay that makes sense
1:07:40
i think my laptop needs to restart
1:07:44
it's probably been on for weeks
1:07:56
probably time for reinstall you know
1:07:58
what helps too is when i only have a 256
1:08:02
ssd so occasionally i have
1:08:05
all these node modules folders like take
1:08:08
up hundreds of megabytes and then
1:08:12
i i found a nice article that
1:08:18
showed me how to make like uh
1:08:23
a shell script command whatever
1:08:27
then i can just like recursively go
1:08:29
through all the node modules folders
1:08:32
in all my projects and then just delete
1:08:34
them all and last time i did that that
1:08:41
maybe it's time again
1:08:43
because it's like i'm only i only need
1:08:46
yeah i can get a better hard drive it's
1:08:49
true i wonder if i think i can install
1:08:53
need to spend money to make money
1:09:04
partition key connection id so yeah the
1:09:17
i guess i just wanted to confirm that
1:09:31
yeah i don't i don't know if you can do
1:09:36
you need the attribute
1:09:41
or can you or can you just get these
1:09:43
back by the partition key
1:09:48
like we'll have returned the first
1:09:51
100 whatever we can revisit this
1:09:55
let's call it a night you want to call
1:09:58
yeah it's not true
1:09:59
you want to do the outro
1:10:06
um cool guys um thanks for joining us on
1:10:09
another episode of buildbreaking fix
1:10:15
myself and tori no say
1:10:18
um and we tried to fix the route 53
1:10:24
yeah i think we need something for that
1:10:26
and then we moved on to
1:10:29
uh websocket connection id stuff
1:10:34
yeah we'll need to work more on see if
1:10:36
we need to use a scan or
1:10:39
uh hurry to get all the connection ideas
1:10:42
but yeah that's uh that's something for
1:10:44
the next episode so we'll catch you
1:10:45
there tomorrow same time same place and
1:10:51
a different task or the same task
1:11:02
see you thanks thanks for joining us
1:11:04
have a great night thank you
1:11:07
see you gective thank you