boarzVideosClipsStatistics

🎬Background Diagon Alley

⏪
🎦
⏩
Featured in#️⃣EP 065 - test
AllClipsEpisodesHas Blog PostZainThaneshKartikTorey
🎬
Krunchmaster Kartik
Build, Break & Fix
ZainboarKartikboar
🎬
Killing it
Special Edition: We don't stop until we get our code working
ZainboarKartikboar
🎬
Schooling in brown countries
Build,Break & Fix // Weekend two hour special
ZainboarKartikboar
🎬
Unprofessional Kartik
Build,Break & Fix // Weekend two hour special
ZainboarKartikboar
🎬
Brain Refresh
Build, Break & Fix // Setting a blog using Hugo and AWS Amplify
ZainboarKartikboar
🎬
Finger driven architecture
Build, Break & Fix // Working out Software design
ZainboarKartikboar
🎬
Fast food driven architecture
Build, Break & Fix // Working out Software design
ZainboarKartikboar
🎬
Can't be ashamed if there's never a first version
Build, Break & Fix
ZainboarKartikboar
🎬
Not a uni student
Build, Break & Fix
ZainboarKartikboar
🎬
Can't work, deploying
30 mins of deployment 😠 || 30 mins of coding 🥲
ZainboarKartikboar
🎬
Two points of contact
Today's Broadcast
ZainboarKartikboar
🎬
CORS exclusive lovin'
Today's Broadcast
ZainboarKartikboar
🎬
Sensible policy
Today's Stream
ZainboarKartikboar
🎬
Shoes in mouth
Today's Stream
ZainboarKartikboar
🎬
The code always wins
Buidl Break Fix
ZainboarKartikboar
🎬
Chicken curry in the brown way
Buidl Break Fix
ZainboarKartikboar
🎬
Finger memory practice
Build Break Fix
ZainboarKartikboar
🎬
See you later Kartik
Build Break Fix
ZainboarKartikboar
🎬
Keep your code looking sexy
Today's Broadcast
ZainboarKartikboar
🎬
Echo chamber Zain
Today's Broadcast
ZainboarKartikboar
🎬
And Kartik never got a job again...
Today's Broadcast
ZainboarKartikboar
🎬
Pilot? What even iz dat kind of fing
Today's Broascast
ZainboarKartikboar
🎬
Fish and Chips
Build - Break - Fix
ZainboarKartikboar
🎬
Backup career
Build - Break - Fix
ZainboarKartikboar
🎬
Professional background? Wat even iz dat?
Today's Broadcast
ZainboarKartikboar
🎬
Private mentorship group
Today's Broadcast
ZainboarKartikboar
🎬
Actually good job advice from Zain
Today's Stream
ZainboarKartikboar
🎬
What a classic!
Today's Stream
ZainboarKartikboar
🎬
Uber driver in training
Today's Stream
ZainboarKartikboar
🎬
Viewer burn
Today's Broadcast
ZainboarKartikboar
🎬
Time for a nap
Today's Broadcast
ZainboarKartikboar
🎬
A sniffer of a line
Today's Broadcast
ZainboarKartikboar
🎬
Slow Zain
Today's Broadcast
ZainboarKartikboar
🎬
No single point of failure
Today's Broadcast
ZainboarKartikboar
🎬
Gambling on bad logic
Today's Broadcast
ZainboarKartikboar
🎬
Estimated Time of New-Careers
Today's Broadcast
ZainboarKartikboar
🎬
Fake Nod
Today's Broadcast
ZainboarKartikboar
🎬
Investing in 'the brand'
NEW SETUP!!
ZainboarKartikboar
🎬
Hitting a brick
NEW SETUP!!
ZainboarKartikboar
🎬
Master of the green screen
NEW SETUP!!
ZainboarKartikboar
🎬
Logiclesstech
NEW SETUP!!
ZainboarKartikboar
🎬
Get him to the greenscreen
Today's Stream
ZainboarKartikboar
🎬
Change the digit to a number
Today's Stream
ZainboarKartikboar
🎬
The benefits of pair programming
Today's Broadcast
ZainboarKartikboar
🎬
Xs, the healthy choice
Today's Stream
ZainboarKartikboar
🎬
Xs vs mother
Today's Stream
ZainboarKartikboar
🎬
The beginning of the end of productivity
Today's Stream
ZainboarKartikboar
🎬
Unprofessional Zain
Today's Stream
ZainboarKartikboar
🎬
Blazing fast
Today's Stream
ZainboarKartikboar
🎬
Premature celebratory dance
Today's Stream
ZainboarKartikboar
🎬
Timeline slippage
Today's Stream
ZainboarKartikboar
🎬
Speed coding
Today's Stream
ZainboarKartikboar
🎬
Sorry I dont know that voice
Today's Broadcast
ZainboarKartikboar
🎬
Definition of done
Today's Broadcast
ZainboarKartikboar
🎬
Amway bites
Today's Broadcast
ZainboarKartikboar
🎬
A cool stream
Today's Broadcast
ZainboarKartikboar
🎬
Spooky Kartik
Today's Broadcast
ZainboarKartikboar
🎬
Water physics 101
Today's Stream
ZainboarKartikboar
🎬
Scrum master Zain
Today's Stream
ZainboarKartikboar
🎬
Zain applying his scrum master skills
Today's Stream
ZainboarKartikboar
🎬
Zain the blunderer
Today's Stream
ZainboarKartikboar
🎬
Healthier than other traditional drinks
Today's Stream
ZainboarKartikboar
🎬
Real headscratcha
Today's Stream
ZainboarKartikboar
🎬
Bracket blues
Today's Stream
ZainboarKartikboar
🎬
If statements are not good practice
Today's Stream
ZainboarKartikboar
🎬
Kappa Quality Code
Today's Stream
ZainboarKartikboar
🎬
Exciting switch statements
Today's Stream
ZainboarKartikboar
🎬
Switched-on hat
Today's Broadcast
ZainboarKartikboar
🎬
Functions, one of the big coding challenges
Today's Broadcast
ZainboarKartikboar
🎬
Break fast
Today's Broadcast
ZainboarKartikboar
🎬
Blood and breath pumping up
Today's Broadcast
ZainboarKartikboar
🎬
Wrong since day 1
Today's Broadcast
ZainboarKartikboar
🎬
Electronic waves
test
ZainboarKartikboar
🎬
RAWR coders
test
ZainboarKartikboar
🎬
Transit in Japawn
test
ZainboarKartikboar
🎬
Xs sponsorship
test
ZainboarKartikboar
🎬
Lame roars
test
ZainboarKartikboar
🎬
Setting up a suppository in Diagon Alley
test
ZainboarKartikboar
▶️
Background Diagon Alley
test
ZainboarKartikboar
🎬
Half speed zain
test
ZainboarKartikboar
🎬
One second penetration
test
ZainboarKartikboar
🎬
Top loading switches
test
ZainboarKartikboar
🎬
Making it rain with CodeBuild
test
ZainboarKartikboar
🎬
What is a sea cable?
Today's Stream
ZainboarKartikboarToreyboar
🎬
If statements are bad practice
Today's Broadcast
ZainboarKartikboar
🎬
Tomato fan
Today's Broadcast
ZainboarKartikboar
🎬
Strong intro
Today's Stream
ZainboarKartikboar
🎬
Impossible URL
Today's Stream
ZainboarKartikboar
🎬
Clever devs
Today's Stream
ZainboarKartikboar
🎬
Always CORS related problems
Today's Stream
ZainboarKartikboar
🎬
CORS headscratcha
Today's Stream
ZainboarKartikboar
🎬
Torres Strait Icelander people
Today's Stream
ZainboarKartikboarThaneshboar
🎬
Icelander or Islander?
Today's Stream
ZainboarKartikboarThaneshboar
🎬
Best Practices
101/200 Episodes
ZainboarThaneshboar
🎬
ROAR coders
105/200
ZainboarThaneshboar
🎬
Diagon Alley? What is that kind of fing?
112/200
ZainboarKartikboar
🎬
C.O.D.I.N.G
113/200
Zainboar
🎬
What's testing
115/200
ZainboarThaneshboar
🎬
CORS coders
115/200
ZainboarThaneshboar
🎬
Complimenting the wrong person
Today's Stream
ZainboarThaneshboar
🎬
Alt+F4 Zain
Today's Stream
ZainboarThaneshboar
🎬
Fixing and failing
Today's Stream
ZainboarThaneshboar
🎬
Brown is always better than white
AWS Websocket + DyanmoDb + Lambda
ZainboarThaneshboar
🎬
Wild street dogs
Today's Stream
ZainboarToreyboar
🎬
The more you know
How to Host Web App Using AWS S3, CloudFront and Route53
ZainboarThaneshboar
🎬
Inactive brain
How To Host Web App In AWS S3 with Custom Domain Using Route 53
ZainboarThaneshboar
🎬
No electricity in Bali
Today's Stream
ZainboarToreyboar
🎬
Francesco
Today's Stream
ZainboarToreyboar
🎬
Indian givers
Compare Hashed Passwords Using Bcryptjs
ZainboarToreyboar
🎬
Cold coffee, cold tea
Today's Stream
ZainboarToreyboar
🎬
Tough questions
Verify Passcode Saving Information to DynamoDB with NodeJs
ZainboarThaneshboar
🎬
Tandoor? Wat even iz dat kind of fing
Today's Stream
ZainboarThaneshboar
🎬
This is why you don't click ops
Today's Stream
ZainboarToreyboar
🎬
Bish Bash Bosh
Get Board Columns from Frontend to Backend NodeJS
ZainboarThaneshboarToreyboar
🎬
Zip first developer
Today's Stream
ZainboarThaneshboar
🎬
Busted again
Today's Stream
Zainboar
🎬
Torey the stinker
Beta Testing Fixes Part 2
ZainboarToreyboar
🎬
Torcoders which are roarers
Beta Testing Fixes Part 3
ZainboarThaneshboar
🎬
Delusional Zain
Beta Testing Fixes Part 3
ZainboarThaneshboar
🎬
Hey guys, torey here
Beta Testing Fixes Part 3
ZainboarThaneshboar
🎬
Zain's going platinum
Today's Stream
ZainboarThaneshboar
🎬
Doggy dog
Today's Stream
ZainboarThaneshboar
🎬
Fartik
How To Test Prevention XSS Attack
ZainboarKartikboar
🎬
Second Favourite
Today's Stream
Zainboar
🎬
Disco Zain
Today's Stream
Zainboar
🎬
Keyboard allergies
Hook Up AWS Websocket
Zainboar
🎬
As you been poopin?
Hook Up Board Columns to Websockets Nodejs + AWS Websockets
Zainboar

Subtitles

0:00:00
[Music]
0:00:25
all right welcome back everyone welcome
0:00:27
back to another episode of build break
0:00:30
and fix yes um
0:00:32
to all those people who are new here of
0:00:34
course we are role coders
0:00:36
which means that we are a team of tool
0:00:38
developers from melbourne australia
0:00:40
and
0:00:41
we are working on a project which adds
0:00:44
persistent storage to a
0:00:46
current open source project called
0:00:48
scrambler.cd
0:00:50
ah which essentially means that
0:00:52
we are making the whole project from
0:00:54
scratch and we are adding persistent
0:00:56
storage and a lot of login
0:00:58
functionalities as well
0:01:00
um and if you're interested we are
0:01:01
working on a lot of
0:01:03
different stacks and a lot of different
0:01:04
technologies um including but not
0:01:07
limited to
0:01:08
things like express.js um
0:01:11
a lot of aws a lot of
0:01:13
deployment which we'll be
0:01:15
doing afterwards um
0:01:18
a lot of um um
0:01:21
as i said um in fetch apis as well
0:01:24
and yes so yesterday
0:01:28
we're
0:01:29
working on the validation of the data
0:01:31
which comes to our api in the backend
0:01:34
um
0:01:35
so today we're gonna go ahead and debug
0:01:37
that
0:01:38
and yes thank you get dev yes um yes i
0:01:42
got new lights
0:01:44
so yeah
0:01:45
yes i was just setting them up and
0:01:47
i'm glad they turned out good i still
0:01:50
feel i need to
0:01:51
um balance the
0:01:53
weight a little
0:01:55
but
0:01:57
yeah we
0:01:58
will probably do that tomorrow as an
0:02:01
office of stream because i can also tell
0:02:03
that there's a bit of a as in
0:02:06
you know those electronic
0:02:09
waves
0:02:12
as in in front of the camera that's also
0:02:16
coming out as in if you see from the
0:02:19
other person's side
0:02:21
we'll work on that tomorrow
0:02:23
yeah and like
0:02:25
this is on like the lowest brightness
0:02:27
right now
0:02:29
this is like 100 so
0:02:31
yeah
0:02:33
um yeah i think we need to fix that up
0:02:38
yeah we will kept okay yeah
0:02:42
yes but it later turned out pretty cool
0:02:44
uh like it has loads and stuff as well
0:02:46
like
0:02:47
um
0:02:49
i don't know if you could see
0:02:50
it has like different modes and stuff
0:02:53
yeah ah okay yeah
0:02:56
oh
0:02:57
uh and it comes for that remote as well
0:03:00
yes so it has that's actually pretty
0:03:02
cool yeah um i forgot what it's called
0:03:06
a diffuser yes it has a difference all
0:03:09
right right yeah yeah so which basically
0:03:11
what this remote does is it tells it
0:03:14
does a rf
0:03:15
blast
0:03:16
telling the diffuser to
0:03:18
put less light like just give it less
0:03:20
voltage that's basically what it does
0:03:22
this ah okay that's actually really
0:03:26
really smart there's in there also
0:03:30
although they have done the lightning
0:03:32
but they've also cared about the
0:03:34
environmental facts as well
0:03:36
yeah yeah for sure so
0:03:38
yes um
0:03:40
is
0:03:41
um
0:03:43
can you set up twitch
0:03:45
so we can get points for watching
0:03:48
and we can spend points to change
0:03:51
light color
0:03:53
um
0:03:55
oh wait
0:03:56
twitch
0:03:57
already set up one switch
0:04:00
i think they're talking about something
0:04:02
else
0:04:03
um
0:04:06
what
0:04:07
hey
0:04:08
alexa alex
0:04:11
[Music]
0:04:13
do you want to do it together
0:04:15
free non-talk i'm moving
0:04:19
free okay okay it needs to be really
0:04:23
symmetrical okay this time
0:04:25
all right three two one
0:04:30
[Music]
0:04:31
nice that's right
0:04:36
we're getting there
0:04:37
yes um yeah i think we need to see what
0:04:39
which points are
0:04:41
i'm not sure yeah i don't know anything
0:04:43
about twitch except they it's a
0:04:45
streaming thing and um
0:04:47
that's all really so
0:04:49
let's do a bit of research on that as
0:04:51
well
0:04:52
yeah
0:04:54
yes and
0:04:56
um yes t-shirts are on their way
0:04:59
probably yeah so i checked um the
0:05:02
tracking and um it's said that
0:05:06
it's in
0:05:08
it's in japanese trunk uh japan it's
0:05:13
what am i saying it's in it's in transit
0:05:15
in japan
0:05:17
all right
0:05:18
okay yeah it should be there like pretty
0:05:20
soon
0:05:21
i believe
0:05:23
yeah so
0:05:24
yeah they're on the way alexander gave a
0:05:27
man
0:05:29
and all right so
0:05:31
today's a really special day um
0:05:34
especially gekko because i have this
0:05:40
zen sponsored energy drink
0:05:43
which i got it from him like two hours
0:05:45
ago
0:05:47
yeah and uh i got the sponsored kangaroo
0:05:51
as well i think canyon dinner so
0:05:55
yeah
0:05:56
yes that was really nice was it nice
0:06:00
that was yeah absolutely brilliant
0:06:02
all right
0:06:03
where did you go from though um i think
0:06:06
those are restaurant which is closing by
0:06:09
like nearby
0:06:10
so what these restaurants do is that
0:06:12
they just leave
0:06:14
the last meals
0:06:15
to our population
0:06:18
right yeah you just get a full meal and
0:06:21
just can take it
0:06:23
ah okay
0:06:24
yeah because it's good rather than waste
0:06:27
engage you can
0:06:28
give it off for free at least the food
0:06:32
doesn't go to waste yes but anyway
0:06:34
coming to the point yeah i will drink
0:06:36
this and i'll let everyone know how
0:06:38
effective it is
0:06:41
we know that dan was lying or was it
0:06:43
actually true
0:06:44
girlfriend
0:06:46
you'll find out about the world cross
0:06:48
products
0:06:50
okay
0:06:52
oh
0:06:54
okay cool
0:06:56
let's see if i code better turn on
0:07:02
tastes good okay yeah there you go i
0:07:04
told you it's
0:07:06
really tasty
0:07:10
all right um shall we
0:07:12
go into action now because it's been
0:07:15
around 10 minutes already
0:07:19
should we
0:07:20
go into action now cool
0:07:23
um
0:07:24
so i'm gonna share my screen
0:07:27
today oh yeah you wanna do it okay cool
0:07:30
yeah
0:07:30
i think it's good to take turns as well
0:07:33
yeah sure
0:07:35
um
0:07:36
yes alexa um
0:07:38
zen gets a lot of money from
0:07:40
xs you're right
0:07:42
um
0:07:44
alexa would like to order 24 then do you
0:07:47
have some extra
0:07:50
oh um
0:07:51
i don't keep socks but uh i can
0:07:54
order it for you alexa and you can come
0:07:56
straight to your house as well
0:08:00
do you have to say it tastes good
0:08:04
yes fine
0:08:07
um
0:08:09
okay
0:08:10
i'll note this link down
0:08:12
um
0:08:14
clips
0:08:17
i don't think so i can copy it would you
0:08:18
mind sending it to me on slack if that's
0:08:20
okay
0:08:22
because i can't copy the links on the
0:08:24
comment
0:08:32
um right
0:08:36
okay
0:08:37
oh it's a clip
0:08:40
let's see can i copy it
0:08:42
i don't think she can copy from the
0:08:44
comments you know what i will uh i'll
0:08:46
just do inspect elementor now
0:08:49
sure cuz i'm pretty sure we tried it
0:08:52
last time and it wasn't really there
0:08:55
watch me
0:08:56
oh interesting i'm i'm curious now
0:09:03
just check your screen screens so that
0:09:07
can i can do that as well
0:09:08
yeah sure i'm just trying to figure out
0:09:10
where it is
0:09:12
so this is the comment
0:09:19
aha interesting
0:09:21
um
0:09:22
i'm just going inside it
0:09:25
oh wait it's a svg
0:09:27
oh
0:09:30
a url as an svg
0:09:38
i haven't really heard of the url being
0:09:40
svg that's a brand new one
0:09:43
so it's like that's why i can't copy it
0:09:46
right because ah
0:09:48
yeah yeah yeah
0:09:50
okay let me see if i can copy that text
0:09:56
no no
0:09:58
okay i think that should be
0:10:02
it okay there you go got it
0:10:09
there you go uh-huh interesting
0:10:13
yeah there's something new
0:10:15
all right three two one
0:10:20
oh that is lame that was a lame one
0:10:24
nice
0:10:25
we need to do a bit of a sink version of
0:10:29
it
0:10:30
very
0:10:33
very nice that looks pretty good
0:10:37
oh so good thanks character for slacking
0:10:41
me but now i got a way to get it
0:10:43
um
0:10:44
the new intro
0:10:46
please make that an intro actually we
0:10:48
can do it um
0:10:50
let's do that
0:10:52
can you guys do a proper or like a line
0:10:55
please
0:10:56
um until someone doesn't clip it
0:11:01
okay
0:11:02
i'll i'll make you guys an offer if you
0:11:04
guys stay until 10 30 or 11 then yeah
0:11:07
we'll sign off by doing the road
0:11:09
super professional
0:11:11
yeah there you go that's a good deal
0:11:13
actually
0:11:14
yeah
0:11:15
i'm just open twitch on your own i'll
0:11:17
copy it out here
0:11:19
how do i jumps open in here
0:11:22
that's true how it is
0:11:27
that's funny though
0:11:29
yeah i will just get like a youtube
0:11:32
video and just take the lord out of it
0:11:35
yeah
0:11:36
yeah
0:11:36
that'd be a bomb we need to do
0:11:39
as an appropriate thing to face you know
0:11:41
there but let's do it probably this
0:11:45
weekend as in offline and then we can
0:11:47
basically do that as an
0:11:49
intro like uh alexander gave me man was
0:11:52
saying
0:11:53
how about it yeah yeah have you seen
0:11:55
like have you seen tom and jerry and
0:11:57
stuff and there was this like line which
0:11:59
you just stole
0:12:01
yeah then yeah
0:12:03
warner and bros right like it's called
0:12:05
bonner yeah mm-hmm so
0:12:08
yeah we can do something
0:12:11
that is actually really funny so
0:12:14
just imagine that there are two line
0:12:17
bodies
0:12:18
and
0:12:20
our
0:12:21
faces on the
0:12:22
lines and playing raw
0:12:25
[Music]
0:12:27
that'll be hilarious though to be honest
0:12:29
yeah no sure
0:12:31
okay let's get back all right
0:12:35
um
0:12:35
i'll just i'll share my screen now
0:12:39
cool there you go
0:12:41
so
0:12:42
um we need to debug which ones
0:12:46
do you remember
0:12:48
yes um
0:12:51
um start with anything relating to the
0:12:53
is empty method
0:12:55
hello that's what that how's it going
0:12:58
and is empty
0:13:02
okay i need to get your code did you
0:13:05
push it
0:13:06
i believe i did can you check it on
0:13:08
github online please you must have i'm
0:13:11
gonna need to discard changes
0:13:14
it's got changes what changes are these
0:13:17
ones
0:13:18
let's tell me look first i can't just
0:13:21
do that
0:13:22
it's for okay
0:13:26
right there
0:13:28
you know how you were talking
0:13:30
yes
0:13:31
today that i
0:13:32
made the changes buff i might not have
0:13:35
pushed it
0:13:38
that's the case
0:13:39
all right okay yeah
0:13:41
yeah right so maybe at the end of the
0:13:43
stream just to make sure i'll remind you
0:13:45
to push your changes um
0:13:55
seven people can do seven push-ups to
0:13:58
get the stream side
0:14:00
oh
0:14:02
you know i i will do push-ups the only
0:14:04
thing is i don't want to mess with my
0:14:06
camera because
0:14:07
this thing um
0:14:09
yeah i just it took like half an hour to
0:14:11
set up
0:14:13
oh
0:14:14
playing force one particular person
0:14:17
to say one word now
0:14:28
all right uh just pulled it uh
0:14:30
[Music]
0:14:32
yeah that's fine so
0:14:34
i think everything is there
0:14:36
based on empty i think
0:14:38
i think it's an order then let's do it
0:14:42
okay cool
0:14:45
let's do it get there i don't have water
0:14:47
i have this
0:14:48
healthier energy drink if that's okay
0:14:52
i'm not getting myself some water
0:14:55
i'll do some questions but i can't move
0:14:58
the camera if that's okay you guys
0:15:01
don't
0:15:03
i trust you i don't know i don't know
0:15:05
about
0:15:06
the others but
0:15:08
you probably shouldn't just sing
0:15:11
you probably shouldn't but okay
0:15:18
i was being sarcastic by the way
0:15:23
i'm just kidding i'm just kidding
0:15:26
okay
0:15:28
all right okay i need to take off
0:15:31
i need to actually use my
0:15:33
green screen to
0:15:35
hide the
0:15:36
untidy background
0:15:39
[Music]
0:15:41
i'll get water after the push-ups
0:15:45
all right um
0:15:46
yes nice good cook
0:15:49
cool so
0:15:52
how many push-ups were they
0:15:54
seven
0:15:56
each yeah
0:15:57
yes please all right
0:16:01
all right
0:16:03
yep three
0:16:05
two
0:16:06
one go
0:16:14
you forgot to count just saying six
0:16:25
me on a perfect time basically
0:16:27
oh
0:16:29
okay
0:16:30
thank god yes thank you alexa
0:16:35
um
0:16:37
yes
0:16:39
god i don't know what that means
0:16:43
thank you man good
0:16:45
oh okay
0:16:47
oh oh god
0:16:49
i don't know
0:16:51
okay
0:16:52
back to action now um
0:16:56
so i've done that and did not get pulled
0:17:01
it get pulled
0:17:03
okay so we have water
0:17:06
i'm gonna check if you actually um
0:17:10
pushed your changes in there because
0:17:14
i am not entirely sure
0:17:18
i'm not entirely sure if you push your
0:17:20
changes so i'm just gonna check it
0:17:24
you must have done that it let me know
0:17:27
this
0:17:28
stable backhand
0:17:31
two days ago
0:17:33
i made another branch
0:17:36
really
0:17:37
i think so
0:17:39
i don't think so
0:17:41
the old branches
0:17:44
these are the and
0:17:46
i'll do did you push any oh okay
0:17:50
um
0:17:52
please okay just give me one second
0:17:55
scrum brush and api
0:18:00
okay
0:18:02
it's status
0:18:05
okay i did not make
0:18:08
also i figured out
0:18:10
i think i should show you this
0:18:13
so uh am i sharing my screen
0:18:16
no you know
0:18:17
yeah
0:18:18
so
0:18:19
you know how we do get add and then we
0:18:21
do get commit
0:18:23
get at and then yeah yeah so you can
0:18:26
just do get comment minus a.m
0:18:30
and then you can put the message
0:18:33
ah so basically two commands
0:18:36
yeah in one you don't you don't need to
0:18:38
do git add
0:18:39
ah
0:18:41
so it's
0:18:42
just to retreat comment space
0:18:46
minus a m
0:18:48
and then the message as normal
0:18:51
yes
0:18:52
okay
0:18:53
nice one
0:18:54
let's try that
0:18:56
yep there you go
0:18:58
okay
0:18:59
have you pushed it right
0:19:00
yes
0:19:05
okay yeah got your changes and
0:19:09
now mt1 okay
0:19:12
so this is mt1
0:19:15
there's okay
0:19:18
why
0:19:21
did you get water was then
0:19:23
yeah i've got here
0:19:28
uh
0:19:29
i'm just gonna convert that into
0:19:32
es6
0:19:34
i think
0:19:35
for sure
0:19:37
error function for everything to be
0:19:40
consistent
0:19:42
so return
0:19:45
is empty
0:19:51
so
0:19:53
are we just checking is
0:19:55
is there an object or not
0:19:58
or we are putting the object to
0:20:01
zero
0:20:02
we are just checking if the yeah if it's
0:20:05
null or not
0:20:10
then i i don't think this is actually
0:20:13
just checking this this is basically
0:20:17
no no no no
0:20:19
return
0:20:21
um do you know how object keys work
0:20:25
no i don't
0:20:26
okay um
0:20:28
oh it's probably a good idea to google
0:20:30
it i'll explain it to you
0:20:32
yeah object
0:20:35
i don't even know what object is
0:20:42
the key method returns an array of given
0:20:46
objects on the numerator property names
0:20:49
okay so these are the property names yep
0:20:52
as in these ones
0:20:54
uh-huh
0:20:55
so
0:20:57
in line seven then there you light
0:21:00
length it's going to be three just right
0:21:02
um dot length after lines in line 7
0:21:11
yep run it
0:21:14
so
0:21:15
it's just basically one
0:21:17
two
0:21:18
three okay i say i say
0:21:20
so if there's nothing inside it it will
0:21:22
give zero
0:21:24
that means the object is empty
0:21:26
that's what
0:21:27
the function is doing
0:21:30
uh this keyboard i really have to figure
0:21:33
this keyboard out
0:21:35
tomorrow
0:21:38
okay so that means that this so we
0:21:41
this checks it
0:21:44
this
0:21:45
gives the objects length
0:21:49
yeah
0:21:51
but way have we go and if if
0:21:55
conditions
0:21:57
saying that check this one
0:22:01
um don't you see the
0:22:03
parameters i pass obj
0:22:06
and i'm checking inside the keys
0:22:09
object or case bracket open obj
0:22:13
so oh so according to me
0:22:15
you what you're doing here is
0:22:19
you're basically s
0:22:21
setting
0:22:24
the object's length to zero
0:22:29
and then
0:22:30
i'm comparing it
0:22:34
triple equal to is a comparison
0:22:36
operators and not not assignment
0:22:42
ah
0:22:43
why am i thinking my
0:22:46
my brain is
0:22:48
somewhere else
0:22:49
you need this so
0:22:52
you're saying that this is a kind of a
0:22:55
shorthand if statement
0:22:59
this is a shorthand
0:23:01
way to check if the
0:23:03
object is empty or not don't worry about
0:23:05
this code i'm pretty sure it's it's okay
0:23:08
okay i'll
0:23:10
take your word
0:23:11
for that
0:23:12
so
0:23:14
if we come into
0:23:17
you probably need to do a postman and
0:23:19
see what works and what not
0:23:22
yeah i'm just trying to catch up on uh
0:23:26
everything what
0:23:28
we need to do first
0:23:31
so
0:23:32
this is patch
0:23:35
where are we using the first
0:23:39
is empty
0:23:41
here right
0:23:45
is that the first instance of is empty
0:23:53
yeah
0:23:54
so why don't we
0:23:56
i just want to check once ah this
0:24:02
is if
0:24:04
this is on
0:24:09
down here why don't we declare it
0:24:12
at the top because it will be a global
0:24:15
um
0:24:17
member function
0:24:19
what difference is going to make
0:24:26
just i want to be
0:24:28
i want the code to be a bit structural
0:24:31
so i don't
0:24:32
want to
0:24:33
uh
0:24:34
create a function right at the at the
0:24:36
bottom and then use it
0:24:39
you said that it won't be able to access
0:24:41
it but i know what you mean yeah
0:24:44
access wall
0:24:46
oh good yeah go ahead
0:24:48
okay
0:24:51
it's empty uh-huh
0:24:54
cool
0:24:55
all right and then
0:24:57
this empties there it's being used there
0:25:01
and but it's been declared here call
0:25:04
right
0:25:06
and this one will be a board
0:25:08
object yeah if it's empty
0:25:12
error return please i will return
0:25:15
i'm just catching up to the
0:25:19
code and everything
0:25:21
you did yesterday
0:25:23
okay yes thank you
0:25:25
thank you for the suggestion i think
0:25:27
yeah
0:25:28
that's a good thing you i'll do that
0:25:31
you keep going then i'll just reply okay
0:25:33
yep
0:25:37
you can always stringify the object to
0:25:39
check for empty
0:25:41
yeah that's also true yeah
0:25:44
yeah i think that's something in which
0:25:45
we can do it as well
0:25:47
um
0:25:49
right
0:25:52
yeah i think that's something as well
0:25:54
um
0:25:59
that just keep all the functions
0:26:02
as in these
0:26:04
error functions in one place so
0:26:08
we don't get confused ways which one
0:26:12
yep
0:26:13
i care error so
0:26:15
um so the dev has given us give a
0:26:18
suggestion on how to
0:26:20
implement is empty function if you're
0:26:22
not
0:26:23
um have a look
0:26:26
so
0:26:27
switch
0:26:29
go to that is empty formatting equal
0:26:32
object
0:26:34
all right
0:26:36
so instead of the object itself is using
0:26:39
a json string um
0:26:42
instead of the
0:26:44
length he's using that one yeah yes
0:26:50
alexa is asking for water
0:26:52
geezers
0:26:54
water
0:26:58
this is switch
0:27:01
is empty
0:27:04
switch okay do this
0:27:11
and
0:27:12
then
0:27:13
we need to call the object
0:27:16
yep and then triple equals
0:27:22
yes and stringify
0:27:25
is that one it
0:27:29
double quotes is using
0:27:31
i don't think that double quotes makes a
0:27:34
difference but this must be as in the
0:27:37
best practice i'm pretty sure
0:27:43
and
0:27:44
we
0:27:46
what do we return here
0:27:49
um do a case please
0:27:57
send yeah
0:27:58
and when it um
0:28:04
so
0:28:05
after ending the switch okay first of
0:28:08
all
0:28:10
close a parenthesis in line 38 and then
0:28:12
open sorry close the
0:28:14
bracket you forgot to close one bracket
0:28:17
and go down yes
0:28:20
and write
0:28:22
case 2.
0:28:31
huh
0:28:33
actually
0:28:36
chasing string is flying
0:28:38
and
0:28:39
it's turning that's still a string yeah
0:28:41
remove those strings then
0:28:51
in case to return to please and don't
0:28:54
forget to break
0:28:55
actually it'll break automatically just
0:28:57
return true
0:29:07
yep in case fall
0:29:11
return
0:29:13
false
0:29:15
in case default return false please
0:29:19
actually why not is destiny instead
0:29:28
i'll just kind of create confusion
0:29:29
that's why
0:29:34
because here's all
0:29:36
what i'm doing is
0:29:38
getting rid of one line of code
0:29:42
so for these two cases it will
0:29:45
return a false basically
0:29:47
sure if that makes sense
0:29:49
yeah that's all good um
0:29:52
please remove this remove the last line
0:29:55
okay that one's there yeah cool i'm
0:29:58
happy with this
0:30:01
all right
0:30:02
um it's objects shared try now if that
0:30:06
works
0:30:08
hang on hang on
0:30:10
now i need to
0:30:13
make sure
0:30:17
it's used properly
0:30:19
board
0:30:21
is empty so he's taking up a board
0:30:25
which is
0:30:28
tenderly little too much here
0:30:33
money is forward
0:30:37
rest
0:30:39
okay
0:30:41
yeah let's just experiment this and see
0:30:43
how we go
0:30:45
gek dev says and said that if statements
0:30:47
are in good practice
0:30:50
is that true
0:30:53
that's what i got told from
0:30:55
senior dev
0:30:57
all right
0:31:02
sleep five my turn
0:31:05
he's being sarcastic
0:31:09
okay um i don't think we need
0:31:12
this
0:31:13
written statement now
0:31:15
what ah no no we need it
0:31:18
we need it
0:31:19
never write any statement in your life
0:31:24
i think your girl is trolling your nose
0:31:26
and
0:31:28
i know i know they're pulling my leg now
0:31:30
i know
0:31:35
all right i'm gonna try this and see if
0:31:38
it works all right
0:31:41
can i record in the next half that's
0:31:43
okay
0:31:45
yeah you can
0:31:47
we're going to slow for you
0:31:49
now we're going to stream like 11 11 30
0:31:52
right so um
0:31:55
today is like
0:31:56
longer stream is it or is it not just
0:31:59
curious
0:32:02
yeah yes yes okay
0:32:04
just wanted to control
0:32:06
yes
0:32:07
very nice
0:32:09
tomorrow's two are with tori yes gagadev
0:32:12
just a bit of correction
0:32:14
um it's yeah after tomorrow and yes it's
0:32:18
with tori
0:32:19
it's really exciting that tori will be
0:32:22
with us as well
0:32:25
can't wait
0:32:27
yeah for sure
0:32:28
um
0:32:30
yes it is sunday and both monday yes
0:32:34
uh is this
0:32:36
is it supposedly on
0:32:38
support
0:32:39
yes i like how it's calling it up today
0:32:44
on get knob
0:32:48
we don't have any reposition getting up
0:32:50
but
0:32:51
might won't check github
0:32:56
um yes yeah it is on github and
0:32:59
um
0:33:00
but if you're trying to run a for loop
0:33:02
to
0:33:02
spam us with boards or notes uh yeah
0:33:06
then it's not gonna work this time yeah
0:33:09
we are smarter actually
0:33:11
actually it might do
0:33:12
this time because
0:33:14
we need to test and in order to test we
0:33:17
need to command
0:33:18
all right
0:33:21
yeah
0:33:22
for me i left five boards and then
0:33:25
deleted all the boards
0:33:26
okay
0:33:28
yeah so oh my god all right nevermind
0:33:33
they just put all these functions right
0:33:35
at the tops so they're all in order
0:33:38
and the code is looking sexy
0:33:43
then it looks like you have a lot of fan
0:33:45
following here
0:33:46
then have you ever set up for
0:33:49
supposed tree at home
0:33:53
and gender says
0:33:55
can you say
0:33:58
there's a thing in double quotes
0:34:01
for you then
0:34:03
i didn't get
0:34:04
[Music]
0:34:13
[Music]
0:34:15
what are they even trying to do i i
0:34:18
don't get it to be honest it's fine you
0:34:20
keep working i'll handle lane
0:34:24
once and we gotta finish this before
0:34:25
torik joins us
0:34:27
so that we can do um
0:34:31
all right i'm just gonna focus on this
0:34:34
one then because
0:34:36
i think
0:34:39
i'm
0:34:40
taking a bit of time now
0:34:44
you should delete your fake accent
0:34:51
don't worry i heard that i heard that
0:34:53
that's getting a bit mean
0:34:55
so
0:34:57
yeah we probably want to stop there
0:34:59
alexa that's all right it's part of the
0:35:02
fun if the
0:35:05
viewers are happy
0:35:06
i'm happy
0:35:09
i have my vile shoe it's the end fine
0:35:12
i'll send it to you on slack dory
0:35:14
all right okay um i need to make some
0:35:17
more changes
0:35:20
to this as in the table name is
0:35:25
used to be mine
0:35:27
let's see what this link is but get
0:35:30
there
0:35:33
it's gonna take me two minutes to get it
0:35:35
get to the link
0:35:37
come on
0:35:43
you're talking like a manager now
0:35:46
i mean like
0:35:48
i have to literally go inside and
0:35:50
inspect element and stuff so okay there
0:35:52
we go got it all right took me 30
0:35:54
seconds that's fair enough
0:35:56
i am user
0:36:07
i have no idea what's happening but yeah
0:36:10
i'll just focus no then just keep
0:36:13
working i'll just focus yeah because we
0:36:16
need to get this done
0:36:19
can i just put that in like loop in the
0:36:22
background
0:36:24
like
0:36:38
um
0:36:41
let me search music
0:36:46
[Music]
0:36:52
and japanese low-fi music
0:36:57
why is this doing that
0:37:02
god formation
0:37:20
name
0:37:22
dvd vdb goes there
0:37:29
okay that that's fine
0:37:32
and now
0:37:34
let's deploy
0:37:35
okay again
0:37:45
can you hear the music
0:37:48
is it too long
0:37:50
slightly no
0:37:52
no
0:37:53
not loud
0:37:55
is it is it fine or do you want me to
0:37:57
increase the degrees
0:37:59
that's fine by maybe mate okay
0:38:02
what about your viewers if you want me
0:38:04
to decrease it please let me know
0:38:09
here we have a party
0:38:12
sorry on spy
0:38:14
whatever
0:38:30
one
0:38:33
huh
0:38:34
oh yeah oh i see i see what he's saying
0:38:41
so he basically means
0:38:48
this is string you find then
0:38:50
compare that to
0:38:52
um
0:38:54
oh come on
0:38:56
thank you tori i'm glad you like new
0:38:58
music
0:39:01
string right yes
0:39:03
that's a string
0:39:08
you have an extra and
0:39:11
closing
0:39:12
there you go
0:39:14
you can
0:39:15
need to build again
0:39:21
this is singing fire so this object you
0:39:24
can save the things
0:39:29
said what said you didn't save the file
0:39:33
do you know
0:39:35
see there's a white dot
0:39:40
come on wake up
0:39:42
then you probably need a drink
0:39:45
i've already had mine man
0:40:06
[Music]
0:40:13
[Applause]
0:40:19
you know i kind of turned my
0:40:21
night lamp to a ring light so it's like
0:40:27
[Music]
0:40:28
yeah
0:40:30
i like how you
0:40:33
how you're becoming hardcore i think on
0:40:35
the way to a pro streamer now yeah for
0:40:39
sure
0:40:40
yes
0:40:42
i might actually
0:40:45
to start doing pro streaming
0:40:50
power i don't know
0:40:53
i don't game
0:40:54
so that's out of the question
0:40:57
um okay let's do this so it was um
0:41:01
what do you want to check
0:41:03
snorier
0:41:20
okay so these are all the ones
0:41:23
so if we don't provide
0:41:27
what's
0:41:29
oh come on i don't like this i do not
0:41:32
like this
0:41:35
well come back
0:41:38
uh
0:41:40
excuse me
0:41:45
so it's bored so that one
0:41:48
board is not found in the database ah
0:41:51
yes if there's no board in the database
0:41:54
that's fine you can't test that scenario
0:41:56
try other scenarios
0:41:58
first
0:42:00
um there would be a lot of things to try
0:42:02
with patch
0:42:04
patch
0:42:08
that's fine this will work i'm pretty
0:42:09
sure
0:42:10
um
0:42:12
try
0:42:14
i want to focus on the smt because we
0:42:17
worked on that one
0:42:20
is empty is literally only going to work
0:42:22
when all the boards are deleted from all
0:42:24
right
0:42:26
let's
0:42:27
then if you delete all the boards you
0:42:29
won't be able to test the other ones so
0:42:30
just test other ones
0:42:33
yeah
0:42:34
then you're gonna post the boards again
0:42:36
and uncomment the
0:42:37
post board functionalities so
0:42:40
yeah yeah that makes sense
0:42:45
okay yeah go to postman just yeah i'll
0:42:48
tell you what to do
0:42:50
um
0:42:51
right just post a board id for me
0:42:58
[Music]
0:43:00
yep
0:43:02
um go to patch
0:43:07
go to body give it a body
0:43:10
board name
0:43:15
and make it as not string just write two
0:43:19
nope
0:43:20
no not in a string
0:43:25
yeah post it please
0:43:27
no no no no only two you want to give it
0:43:29
as an end
0:43:32
yeah
0:43:35
yep please do that
0:43:44
so what we just did
0:43:47
we
0:43:48
we made sure that
0:43:50
anything which comes inside board name
0:43:52
is not illegal
0:43:53
like it's only a string it's not any
0:43:56
file it's not any
0:43:58
like
0:43:59
it's more of a security measure
0:44:02
like
0:44:03
in json you can just pass a file as well
0:44:05
right like
0:44:07
so we want to make sure that it's only
0:44:10
okay yeah
0:44:12
which
0:44:13
would be by this um
0:44:16
this this this the type of thing online
0:44:18
174
0:44:21
yep yes that one so yeah now we know the
0:44:24
type of thing works we could have done
0:44:26
instance off as well what it works
0:44:29
um
0:44:31
i'm just gonna comment
0:44:42
and then we need to check um
0:44:47
does it make it a string scenario
0:44:50
string and then we need to check if that
0:44:53
goes through it isn't it which you
0:44:55
shouldn't go through
0:44:57
no make it a string it should go through
0:45:02
yeah post it please
0:45:06
i'll give it a zero as well if you want
0:45:08
postal patch
0:45:10
yeah patch right
0:45:12
yeah
0:45:15
okay yeah that went true
0:45:17
cool
0:45:20
ah okay
0:45:22
yeah
0:45:23
i was getting confused with them
0:45:27
post
0:45:30
okay um guru
0:45:33
okay i'm going to um which one was that
0:45:36
one you already mentioned okay
0:45:38
yeah that's fine go down for me
0:45:43
wait not not that long oh yeah that's
0:45:45
fine go down a little more
0:45:52
right okay
0:45:53
go to postman again
0:45:57
give it uh just change 98 to 97
0:46:02
in the board id
0:46:04
92
0:46:05
[Music]
0:46:06
um no no
0:46:08
no
0:46:09
no
0:46:10
body please
0:46:13
yep and do a delete
0:46:22
board id is not valid yeah that makes
0:46:25
sense cool uh and the last one would be
0:46:29
let me just hang on hang on a m
0:46:32
minute we just tested this one
0:46:38
works
0:46:39
okay
0:46:42
um yeah i forgot one thing which
0:46:45
probably need to do when i start coding
0:46:48
uh can i can you go down then
0:46:52
all right
0:46:55
go parents
0:46:55
a little more
0:46:58
so what happens if you don't find that
0:47:01
board
0:47:02
should give board not found can you go
0:47:03
back yes
0:47:06
um can you go back to postman and do a
0:47:08
patch for me
0:47:11
to a board which doesn't exist
0:47:15
one two three four five
0:47:18
two three four five
0:47:21
no that's wrong
0:47:23
um
0:47:25
wrong
0:47:26
there's no bodies
0:47:28
there's no body in ah
0:47:29
right that's fine
0:47:32
right this shouldn't work
0:47:37
um
0:47:39
the reason why
0:47:41
it went through because i haven't put
0:47:44
that in
0:47:45
so that's something which
0:47:48
needs to be put in in the patch one do
0:47:50
you wanna tell me what
0:47:53
you're
0:47:54
thinking and what does need
0:47:57
what you think has to go in
0:47:59
yeah um i guess let's test it all first
0:48:02
and we'll we'll do the code
0:48:04
together all right cool
0:48:07
um
0:48:08
yeah so
0:48:10
that one
0:48:11
we just tested
0:48:14
yep now i guess you can go ahead and
0:48:16
delete all the boards
0:48:19
and then we can
0:48:21
delete and stuff
0:48:25
cool that's fine
0:48:27
um
0:48:29
we need to go to
0:48:31
the board
0:48:37
[Music]
0:48:47
action delete
0:48:49
yeah
0:48:52
okay cool
0:48:56
let me get all the boards now
0:48:58
yep you'll get nothing
0:49:01
yeah
0:49:02
we should
0:49:03
ah all right
0:49:05
follow pieces too comment your post
0:49:08
board please
0:49:11
envious code
0:49:16
um
0:49:23
[Music]
0:49:27
is already done um i think it took time
0:49:30
to penetrate just go on postman but
0:49:34
i can post yeah do get again
0:49:40
[Music]
0:49:42
it shows when was the date created right
0:49:44
can you show me today it created
0:49:49
um
0:49:52
should be in the headers
0:49:55
if i'm not wrong
0:49:58
friday
0:50:00
today at
0:50:02
12 20. yeah well just right now
0:50:06
just right now um
0:50:19
um yeah do a
0:50:21
thing again
0:50:22
to delete it again
0:50:29
yeah yeah it is a for loop
0:50:34
delete items
0:50:36
hang on a minute
0:50:38
okay cool
0:50:42
nothing there
0:50:44
okay
0:50:46
okay that's fine
0:50:48
yep now do a delete for me
0:50:52
uh
0:50:57
and
0:50:58
with a
0:50:59
good board id
0:51:01
like of 36 characters
0:51:05
for that i need to do a post first no no
0:51:08
no no i'll give you a board id of
0:51:09
twitter all right
0:51:15
i know where to get it it's in my views
0:51:17
code
0:51:19
just making sure there's no happening at
0:51:22
the moment the fall of thing
0:51:25
it literally can't happen right because
0:51:27
like
0:51:29
yeah it's just gone
0:51:31
all post uh commented out
0:51:38
we should have done this in like dave
0:51:43
i sent you the research
0:51:45
all right
0:51:59
oh
0:52:00
okay
0:52:01
copy
0:52:03
and pace and try and do and delete on
0:52:06
this
0:52:08
and it should not go through
0:52:12
all that is not valid um this has to
0:52:15
change
0:52:17
that's not what id
0:52:18
is
0:52:19
not present uh the board
0:52:22
hang on it's going somewhere else that's
0:52:24
not right go down
0:52:27
delete
0:52:30
keep going
0:52:42
coming in here no go down keep going now
0:52:45
let me
0:52:46
okay so it's not going through only
0:52:49
why
0:52:51
because it's not alphanumeric
0:52:56
huh
0:52:57
um can you post another board for me uh
0:53:00
can you delete another board for me but
0:53:02
i'll send you another note id
0:53:07
error
0:53:08
for all that is not present
0:53:12
switchboard there you go
0:53:21
um third littlefield's asking you guys
0:53:23
ever use airbase toolkit
0:53:25
for step through debugging of lambdas
0:53:29
i don't
0:53:30
think so in this particular project we
0:53:32
have done that yet
0:53:34
um these aws tools are making me
0:53:36
frustrated the lack of
0:53:39
documentation
0:53:40
[Music]
0:53:41
yes some of the airbus tools can have
0:53:44
less documentation but
0:53:47
i guess apart from that it was has
0:53:50
fair docs
0:53:54
okay so that one isn't working but that
0:53:57
is not present
0:54:00
hang on what i'm gonna do is kind of
0:54:02
deep try and debug it and see if we can
0:54:05
get the desired result
0:54:09
run i think this is how you debug no no
0:54:14
javascript debug terminal
0:54:19
yeah there you go
0:54:21
and then if i do
0:54:27
that one
0:54:30
um
0:54:32
then
0:54:36
if i yes sorry
0:54:39
that's so true
0:54:41
like sometimes on aws i've just like
0:54:44
found answers that
0:54:46
like it's no one's business and
0:54:47
sometimes it's
0:54:49
you have to look through
0:54:53
deployed on
0:54:55
aws
0:54:57
debugging it on vs code won't do
0:54:59
anything
0:55:06
really
0:55:07
yeah it's not running locally right
0:55:10
and you're trying to debug it locally
0:55:17
but you should kind of as in
0:55:22
give us a bit of hint as in
0:55:25
where does the code exactly go
0:55:28
it this code is not even executing
0:55:32
the code which is sitting on a cloud is
0:55:34
executing this is just on your machine
0:55:38
[Music]
0:55:42
my brain is on holiday
0:55:44
honestly
0:55:45
my brain is on holiday trust me
0:55:48
it's like
0:55:50
i'm thinking
0:55:51
i'm thinking some next level of things
0:55:54
that don't even exist
0:55:56
that's so funny here i think
0:55:58
the code deployed on sam you're trying
0:56:00
to debug it on me it's good
0:56:05
try not to judge
0:56:06
no
0:56:07
that's all good
0:56:11
right um
0:56:15
[Music]
0:56:18
um right so delete
0:56:21
so you would come
0:56:23
it's coming past there but it's
0:56:27
going in there
0:56:29
so you see is for the idea for numeric
0:56:32
which means i need to go and have a look
0:56:35
at the
0:56:37
function of this
0:56:49
you know what's happening this neon sign
0:56:52
is attracting bugs
0:56:55
ah
0:56:56
right
0:57:01
[Music]
0:57:04
i say what you mean
0:57:06
on right story littlefield says
0:57:11
don't know the whole app but if you're
0:57:12
mocking events correctly that should be
0:57:14
fine to debug and vs code
0:57:17
are we mocking it
0:57:20
i don't think
0:57:21
we are mocking it
0:57:22
but i could be horribly wrong about that
0:57:26
because in order to
0:57:28
market i think we need to ever have the
0:57:31
lambda is the
0:57:33
methods in api gateway
0:57:36
set to a market isn't it
0:57:39
yeah so right now they are set
0:57:43
to the lambda proxy
0:57:47
okay anyway
0:57:49
yeah
0:57:50
uh
0:57:51
hang on a minute so if this is
0:57:55
one method
0:57:56
then there was another method
0:57:59
down here as well
0:58:01
as sorry
0:58:04
which method are you talking about
0:58:06
um the same method unless i've
0:58:09
read it incorrectly
0:58:12
this one
0:58:14
yeah it's everywhere literally on every
0:58:16
function
0:58:24
but what i can't
0:58:27
we can come back
0:58:29
to the refactoring
0:58:31
afterwards
0:58:34
is
0:58:37
so
0:58:38
this is again this so basically in this
0:58:42
function is saying that test this board
0:58:44
id which is fine
0:58:46
this is our regex
0:58:49
story littlefield says i'll get back to
0:58:51
you guys about that debugging because
0:58:54
it seems like a pain
0:58:56
on to have to bounce around
0:58:59
true postman yes it
0:59:01
is
0:59:02
maybe i'll we'll try to google it as
0:59:04
well you know
0:59:10
so basically this is our projects and
0:59:13
we're testing
0:59:14
the board id matches our
0:59:17
projects and
0:59:21
and borat is
0:59:23
that is 36 and these both
0:59:27
conditions are not
0:59:30
yep
0:59:32
so only if they're not
0:59:37
then it would
0:59:38
give us an error of these both the
0:59:41
conditions
0:59:44
yeah if these both
0:59:46
i'm just trying to think
0:59:48
one second give me one second
0:59:51
um so it's testing it it's gonna be true
0:59:53
that's gonna be true as well
0:59:55
oh yeah remove the knot for me
0:59:58
if you
1:00:00
yeah that should be fine
1:00:04
is that for
1:00:05
marriage
1:00:06
yes it is
1:00:08
yeah here we go
1:00:11
it should
1:00:12
work
1:00:14
ah
1:00:16
save it
1:00:18
yes please
1:00:28
ugh
1:00:46
um
1:01:08
i think somehow i need to close the gap
1:01:11
between
1:01:12
your thinking and
1:01:14
and my thinking
1:01:15
as in
1:01:16
okay
1:01:18
do you think really fast and i'm not i'm
1:01:22
probably hard the speed of you
1:01:26
but like i think it's only i really need
1:01:28
to improve
1:01:30
but i mean it's not about that right
1:01:32
like
1:01:33
when you're in a team and when you're in
1:01:35
a project you
1:01:36
don't have to be the fastest it's i
1:01:38
guess it all depends on
1:01:40
what value you bring to the team
1:01:43
so
1:01:43
it doesn't matter how
1:01:45
fast you code you can bring other values
1:01:47
as well right like
1:01:49
stability or
1:01:51
yeah
1:01:53
yeah
1:01:54
that's absolutely
1:01:56
right but
1:01:57
just from a personal development
1:01:59
perspective yeah i actually
1:02:02
want to learn that as in thinking fast
1:02:06
from you
1:02:08
that's
1:02:08
what makes you know what i'm actually
1:02:11
trying to say
1:02:13
yeah but
1:02:14
you're right as well
1:02:15
it's also because like you work full
1:02:17
time so
1:02:18
you do get tired by the night
1:02:23
so that's one
1:02:26
flight way to put it but to be honest i
1:02:30
really admire your as in ability to
1:02:33
think really fast so i'm actually trying
1:02:36
to pick up that
1:02:39
from you
1:02:40
yeah now i mean yeah we'll just
1:02:43
yeah
1:02:45
just to capitalize on each other's uh
1:02:48
exactly
1:02:50
it's all about teamwork
1:02:53
right um
1:02:54
so this one
1:02:57
so now
1:02:58
stories is well for debugging a simple
1:03:00
lambda is a simple trick
1:03:03
okay dory maybe if you have some links
1:03:05
can you please slack me that
1:03:08
you're doing grids and theresa's
1:03:10
oh thank you tori i appreciate that
1:03:15
okay so
1:03:16
so
1:03:17
did you give me this
1:03:19
board
1:03:20
id
1:03:21
isn't it
1:03:22
defender
1:03:24
so which means that hang on um
1:03:27
for this to work we should get
1:03:32
this error
1:03:35
okay
1:03:39
bingo
1:03:41
cool so then
1:03:42
[Music]
1:03:43
yes
1:03:46
um i think you're in the wrong control
1:03:48
that's why am i you're in the get
1:03:50
controller here
1:03:53
ah i need to be the delete controller
1:03:56
edward
1:04:02
no boards found in
1:04:05
database
1:04:06
really
1:04:09
no it can't be
1:04:11
no no no no no wait is empty
1:04:15
port ride is not valid
1:04:18
we go down i made a board not
1:04:21
go down keep going now
1:04:25
yep so this one's executing
1:04:28
all right okay
1:04:31
but it makes sense that's wrong
1:04:34
there's still some problem it is empty
1:04:36
for sure then hmm
1:04:38
that's what i'm thinking but
1:04:41
we need to
1:04:44
board
1:04:45
it's empty
1:04:47
yep
1:04:48
we need to figure out is empty
1:04:52
so
1:04:53
is bringing the boards and checking
1:04:58
um
1:05:00
what's the problem go to is empty
1:05:01
function
1:05:07
where is it
1:05:09
there you go
1:05:17
[Music]
1:05:20
all right okay um
1:05:26
can you do return false in case false
1:05:29
for me please
1:05:31
return false i
1:05:33
i just okay
1:05:35
yeah yeah
1:05:37
let's try that as well
1:05:42
and also one second
1:05:45
um
1:05:47
i still don't think line 37 is right
1:05:49
just give me one sec
1:05:55
[Music]
1:06:01
um
1:06:02
one second
1:06:11
[Music]
1:06:30
missing the constructor as well is there
1:06:34
yes we are missing constructors
1:06:37
and if we
1:06:38
only want to use json string if i
1:06:41
for some most of the people on the
1:06:42
internet are using
1:06:44
that length
1:06:46
um but there must be a reason why and
1:06:50
cactus said um
1:06:53
choose json
1:06:56
json stringify
1:06:58
so i would probably stick to that
1:07:02
what do you reckon
1:07:03
or we should um
1:07:05
try
1:07:07
other ones as well
1:07:09
um just show me the code
1:07:11
one second
1:07:18
but yeah that's fine
1:07:24
all right so
1:07:40
right oh
1:07:42
hi nicole hi
1:07:44
how are you
1:07:46
um
1:07:47
then so nicholas is one of my friend
1:07:49
from india
1:07:52
okay
1:07:53
hi nicole
1:07:55
rather mate
1:07:59
yeah it's been so long
1:08:01
is it how long has it been
1:08:04
um
1:08:06
i think four to five years
1:08:09
wow wow
1:08:11
no i don't know actually
1:08:13
three years object yeah something along
1:08:16
those lines
1:08:17
wow
1:08:18
that's really as in i think that's
1:08:21
called a true friendship though
1:08:24
you know five years 25 percent of my
1:08:26
life
1:08:31
that's kind of funny
1:08:33
uh
1:08:34
right so wherever we are here so i found
1:08:37
this
1:08:38
line
1:08:39
just want to check if
1:08:42
objects so this ah right right right
1:08:46
right right right i think this was this
1:08:49
might have been the problem
1:08:53
they both have to be
1:08:54
just stringified apparently but you have
1:08:57
a triple equal to so still doesn't make
1:08:59
sense but yep we can still try it
1:09:02
give it a go yeah i'm gonna
1:09:04
go ahead and try it um
1:09:07
maybe this
1:09:09
yeah i still don't know why we have a
1:09:11
double quotes there oh so you missed jay
1:09:14
yes i think yeah it was 2018 the last
1:09:17
time we talked
1:09:19
so we both were used to uh
1:09:22
volunteer for this ngo um which used to
1:09:27
um just
1:09:29
teach and mobilize
1:09:31
a lot of
1:09:33
small children who are at disadvantage
1:09:36
in our city okay
1:09:38
yeah that's pretty good man that's in
1:09:42
a really good cause to be
1:09:46
giving your time to
1:09:48
yeah for sure so we used to teach like
1:09:51
on the weekends for about
1:09:53
three hours
1:09:54
um i used to do math teach
1:09:58
teach math
1:09:59
yes and i think nikhil was like
1:10:02
the one of the fellows yes
1:10:07
so yeah it was pretty amazing right like
1:10:10
um just
1:10:11
spend your weekends around like um and
1:10:14
it just makes you value a lot of things
1:10:16
right so yeah
1:10:18
absolutely man no it was an amazing
1:10:20
experience
1:10:23
that's pretty good
1:10:26
oops i forgot the
1:10:28
double equal sign
1:10:36
oh you did the oh yeah you're right yeah
1:10:39
i wasn't supposed to use
1:10:42
equals hair
1:10:44
until it's building tested with triple
1:10:46
equal to only
1:10:50
it's built and deployed um
1:10:55
tested with that
1:10:59
board not found no i think you have
1:11:01
given us some spaces in the front
1:11:04
click on the url
1:11:06
no click at http before here
1:11:14
do backspace yeah ah
1:11:17
right right now offended please
1:11:20
not found
1:11:23
so if that has done it then the fun sam
1:11:26
deployed
1:11:28
port noble
1:11:47
okay
1:11:48
let's have a look
1:11:50
what we have
1:11:52
right go back and then do this
1:11:57
board not found
1:11:59
let give it one second to penetrate oh
1:12:02
it hasn't been deployed
1:12:12
i'm actually
1:12:14
trying to pick up
1:12:16
the speed but too quickly and this is
1:12:19
what's happening
1:12:22
i need to really calm down as in
1:12:25
slow down to speed up
1:12:27
yes uh yeah open bus man okay this
1:12:31
spaces are not there cool
1:12:35
it's um
1:12:37
bored not found
1:12:41
wow okay
1:12:44
um do get all boards i think someone
1:12:46
posted boards that's why it's happening
1:12:49
that shouldn't be possible but get all
1:12:51
the boards
1:12:57
okay yeah okay yeah that's why it's
1:13:00
happening
1:13:04
this board please
1:13:08
yep and do a delete for me
1:13:13
thank you
1:13:15
yes please now now just send it again
1:13:17
send it again
1:13:24
get all bored
1:13:28
now get all bored yeah
1:13:33
very interesting ah come on
1:13:40
seriously
1:13:41
it's the keyword again
1:13:43
practice makes perfect but not in my
1:13:45
case
1:13:46
stories is
1:13:50
not sorry practice does make it perfect
1:13:53
okay delete your time
1:13:55
late
1:13:57
can you send me some okay hang on i've
1:14:00
got the
1:14:01
board id already so don't worry about
1:14:03
that
1:14:10
okay i'm
1:14:12
just going to make sure
1:14:14
yeah
1:14:17
delete
1:14:20
boom you will get okay
1:14:23
[Music]
1:14:25
no don't get all
1:14:29
why do i feel that delete is actually
1:14:30
posting a board
1:14:34
no it's not okay yeah that is something
1:14:37
wrong
1:14:39
okay
1:14:40
uh so it's coming in bored not found
1:14:45
[ __ ] isn't in the
1:14:49
no no no it must be here
1:14:51
coming in here says board present
1:14:55
um hang on i know why that's happening
1:14:57
why do we have
1:14:59
yeah
1:15:00
go on
1:15:01
um
1:15:03
the reason why that happening is
1:15:06
go up sin
1:15:09
wait
1:15:12
then why isn't it going inside that
1:15:16
thing
1:15:17
on line to 28.
1:15:21
[Music]
1:15:28
[Music]
1:15:34
hang on
1:15:37
switch
1:15:39
um i'm just gonna put these
1:15:42
ones up there because these are really
1:15:45
distracting me in them no
1:15:48
what you doing no that's fine
1:15:50
middle of the
1:15:53
no that's inside the
1:15:56
no it that's inside the function
1:16:02
yeah
1:16:04
why'd you delete that one well why are
1:16:07
we
1:16:08
creating
1:16:12
ah ah
1:16:14
i keep on thinking that this
1:16:16
is a function as in itself yeah that's
1:16:21
my fault yeah don't worry about it
1:16:25
switch okay
1:16:27
back to basics
1:16:29
go down
1:16:31
this is working right like all this is
1:16:34
fine
1:16:35
if you go down
1:16:37
and
1:16:39
so fundamentally what is line number 225
1:16:42
returning
1:16:44
is it returning an array
1:16:47
is returning
1:16:50
oh you should be pretending and
1:16:53
i know what's happening
1:16:54
objects i know exactly what's happening
1:16:58
instead of is empty boards do
1:17:01
boards.item
1:17:02
because boards actually has an object
1:17:05
called item
1:17:07
if you know what i mean and then all the
1:17:09
boards are in that object
1:17:12
right right yeah
1:17:14
can you do boards already you can pick
1:17:16
up
1:17:17
no no no no
1:17:19
no
1:17:20
no
1:17:22
instead of boards
1:17:23
in there
1:17:25
yeah dot item
1:17:27
items items
1:17:29
yeah now it'll work it should work
1:17:35
thank you tori yes the music's pretty
1:17:38
good it's helping us
1:17:50
huh
1:17:50
what
1:17:53
you mean music is so zane ah all right
1:17:55
never mind
1:17:56
i got the joke
1:17:59
i got the joker
1:18:01
fine guys it's your dad
1:18:03
today i'm gonna just stay quiet and code
1:18:07
it's fine
1:18:09
let me handle it
1:18:12
yeah
1:18:14
i think that's exactly the reason um
1:18:17
that wasn't going in right
1:18:21
yeah it's good
1:18:22
that you picked up on
1:18:25
as in
1:18:26
that board has an other
1:18:29
uh
1:18:30
has an array of items and all the boards
1:18:34
are
1:18:35
in there
1:18:36
which
1:18:37
makes a lot of sense yeah
1:18:41
i mean i wouldn't be able to do it
1:18:42
without the energy drink so thanks to
1:18:44
you
1:18:47
no problem man
1:18:49
happy to share my favorite energy drinks
1:18:52
with you
1:18:54
that's an honor
1:18:58
[Music]
1:19:01
i'd deploy that
1:19:11
[Music]
1:19:17
all right all right
1:19:20
let's do any of the board hang on
1:19:23
go again just confirm this first
1:19:26
one
1:19:29
someone's being a
1:19:30
good boy now
1:19:33
i think we are being a smart boy
1:19:38
true yeah
1:19:43
[Music]
1:19:46
nobody call
1:19:48
bored
1:19:52
[Music]
1:19:56
you know what's the funny part
1:19:59
the
1:20:00
like
1:20:00
at the drop this happened
1:20:05
i did drop of the music
1:20:07
[Laughter]
1:20:09
right i i get what you want
1:20:12
that's hilarious
1:20:14
yeah
1:20:15
um i've got one curiosity here if we are
1:20:20
checking everything here as in all the
1:20:23
validation why do we need
1:20:26
these
1:20:28
this
1:20:29
flag then that's for see there are two
1:20:33
scenarios
1:20:34
first scenario is that there is no board
1:20:37
at all yeah the second scenario is there
1:20:40
are a lot of boards but the board which
1:20:42
we are trying to delete is not present
1:20:44
is not present yeah okay so that one
1:20:48
fulfills
1:20:50
this one but at the moment what's
1:20:52
happening
1:20:53
is that this is being
1:20:56
ah
1:20:57
so hang on a minute
1:21:02
um what i'm thinking is if you do a get
1:21:05
for me get all boards
1:21:07
the board items
1:21:09
does have
1:21:12
some different attributes to it which
1:21:14
might not make it null
1:21:16
like
1:21:18
if you know what i mean um
1:21:23
so
1:21:24
this has been returned
1:21:27
and this is
1:21:29
the whole thing
1:21:31
is the board
1:21:33
and items
1:21:36
okay items is empty can you possibly
1:21:39
check in your um in your database
1:21:44
because i don't
1:21:46
want to enable the
1:21:48
post here
1:21:51
can you check the structure
1:21:54
of board and then if it's actually bored
1:21:58
as in boards and then items and then all
1:22:01
the boards are there
1:22:03
or are you sure about that
1:22:06
i can do that that's actually a good
1:22:08
point
1:22:10
sorry about that
1:22:26
[Music]
1:22:27
okay i'm just opening postman
1:22:36
[Music]
1:22:39
border items
1:22:41
[Music]
1:22:44
is empty
1:22:47
type of
1:22:57
i think we need to check the empty array
1:22:59
here
1:23:01
not the object itself
1:23:04
hmm check if the items array is empty
1:23:09
because all the boards will be
1:23:12
in that array
1:23:17
the
1:23:18
off options sure you can check that yeah
1:23:21
do that
1:23:22
instead of
1:23:24
uh inside the switch just right
1:23:29
um no no just go and go in that
1:23:31
particular is empty remove everything
1:23:34
here
1:23:38
and do board boards dot items
1:23:43
dot length
1:23:46
triple equal to zero
1:23:52
not sure if length is a function or a
1:23:55
constant can you just check that
1:24:02
so
1:24:03
yes items is an array right
1:24:12
[Music]
1:24:16
yeah i think it's a constant that's fine
1:24:19
let's just try this
1:24:23
if then
1:24:25
if it's true
1:24:27
yeah then it should go in there
1:24:38
there we go and now deploy this
1:24:45
you know when we set up ci cd
1:24:48
we
1:24:49
have to
1:24:51
be more precise with our code we can't
1:24:53
just keep deploying right because
1:24:56
do cost money
1:25:01
she talking to a person when he was
1:25:04
learning code build as in deploying my
1:25:07
code build the bill came around 250
1:25:10
bucks oh boy for one month and i was
1:25:13
like
1:25:15
i learned my lesson
1:25:17
yeah so what we'll do is we'll
1:25:19
we'll set up the
1:25:21
aws startup thingy uh we'll get the
1:25:26
um those credits or stuff like that and
1:25:29
then
1:25:30
we'll have a good solid thirteen hundred
1:25:32
dollars
1:25:33
um
1:25:36
that sounds good to me
1:25:39
right i need to ah
1:25:43
what did i
1:25:46
not that one
1:25:48
right where did that go
1:25:50
okay i opened up the console instead of
1:25:53
that
1:25:54
that's my bad
1:26:04
okay
1:26:05
and
1:26:08
get all the boards no more presents
1:26:13
pace and that should give me no boards
1:26:16
found in their base
1:26:19
hmm
1:26:25
thank you
1:26:28
so now
1:26:30
that works as well
1:26:32
and
1:26:37
okay
1:26:39
yep this all works perfect
1:26:43
this
1:26:44
works as well
1:26:45
[Music]
1:26:48
okay that one works as well
1:26:51
yes oh yeah also
1:26:53
then you should probably go and set up
1:26:55
cloud watch billing alerts
1:26:57
and
1:26:58
you know what
1:26:59
one thing one
1:27:01
interesting thing which we can do is to
1:27:03
dodge our
1:27:04
aws bill
1:27:06
we can go ahead and create a alexa skill
1:27:09
if you have an alexa skill aws gives you
1:27:12
hundred dollar credits every month
1:27:15
ah
1:27:16
let's do that as in if well i think it
1:27:19
will be a great learning curve and um we
1:27:22
can also
1:27:24
use it for this purpose
1:27:27
yes um but
1:27:30
i think we should only
1:27:32
it's gonna take like at least a week or
1:27:34
two to set up an alexa skill
1:27:37
but that being said i think we should
1:27:40
do
1:27:40
the back end first wait for the front
1:27:42
end and in the meantime if we get a week
1:27:45
then we can work on creating alexa skill
1:27:48
i've actually built one but i've never
1:27:50
actually got to
1:27:52
it's just a simple calculator i don't
1:27:53
even know where it is
1:27:55
but
1:27:57
yeah
1:27:58
you've actually built one so what i did
1:28:01
i just
1:28:03
as in built a extremely simple one and i
1:28:07
i can't even
1:28:08
remember how i did it anymore
1:28:11
yeah so we were just like me and my
1:28:13
mates at uni were like just
1:28:15
turning around so we made like a
1:28:18
um calculator no tori didn't get money
1:28:21
because we didn't actually
1:28:22
went ahead and got it approved nope
1:28:26
but like yeah you can probably think of
1:28:28
something cool right like
1:28:30
i'll show you one thing there
1:28:32
this is my favorite one alexa
1:28:35
rose to me
1:28:39
[Music]
1:28:43
alexa
1:28:44
insult me
1:28:51
you remind me of the ocean
1:28:53
you make me sick
1:28:56
hear that
1:28:57
[Laughter]
1:29:00
yeah
1:29:01
that's actually a good one
1:29:03
you remind me though
1:29:05
as in if she'll go as in the
1:29:08
oceans
1:29:09
sickness
1:29:11
yeah yeah yeah
1:29:12
you make me sick
1:29:14
when i'm whenever i'm feeling
1:29:15
overconfident i just do alexa insult me
1:29:20
and you'll okay i'll go back to coding
1:29:22
now
1:29:25
all right cool
1:29:26
um
1:29:28
so this is dawn
1:29:30
i thought of a very funny joke like
1:29:33
whenever i think i can apply for a
1:29:35
senior developer i just do alexa insult
1:29:37
me
1:29:41
that'll be hilarious though you make me
1:29:43
sick
1:29:47
i think
1:29:48
i'm gonna get
1:29:50
alexa
1:29:51
really soon
1:29:53
yes but yeah um
1:29:55
to dodge the aws billing issue i think
1:29:58
we can work on
1:30:00
creating an alexa skill we can stream
1:30:02
there that'll be fun
1:30:03
so yeah
1:30:06
yeah that would be
1:30:08
fun
1:30:11
okay i'm just gonna try and make the
1:30:14
code a bit
1:30:15
elegant now um
1:30:18
okay i don't know why i keep on thinking
1:30:20
that this whole thing is a function
1:30:24
when it's not yeah
1:30:26
okay that one that one that one
1:30:29
update that one okay we can
1:30:32
probably come back to that don't need
1:30:35
this and this can actually
1:30:38
no
1:30:38
no
1:30:41
um
1:30:44
no don't need the spaces
1:30:47
switch
1:30:51
okay anyway
1:30:54
that's fine
1:31:03
right um so shall i just so all the
1:31:06
boards and methods are done all right as
1:31:09
in they're working
1:31:11
the validation no not all of them are oh
1:31:13
yeah probably for the board yes for the
1:31:16
least
1:31:17
just the board
1:31:18
yeah validation
1:31:20
all right so just go ahead and
1:31:26
commit this
1:31:28
i get commit
1:31:31
minus am
1:31:32
and then
1:31:34
board validation finished or validations
1:31:43
actually
1:31:45
do this
1:31:48
finished
1:31:49
board
1:31:50
validations
1:31:52
oh
1:31:54
fantastic
1:31:55
yeah so like yeah it just like
1:31:59
saves you one full get at god
1:32:03
[Music]
1:32:07
okay cool so
1:32:09
let's move on to the notes now
1:32:15
surely
1:32:22
update board name
1:32:24
yeah that's fine
1:32:28
delete a specific note okay cool
1:32:35
delia board okay we probably have to
1:32:38
enable
1:32:39
this yes um tori sent the link yes thank
1:32:42
you tori um
1:32:44
yeah uh yeah that's exactly the one i
1:32:46
was i was talking about
1:32:49
ah 35 months
1:32:52
really i thought it was hundred dollars
1:32:54
a month
1:32:55
are you sure
1:32:56
okay we probably need to look into it
1:32:58
then um
1:33:00
but
1:33:01
yeah there there's a lot of ways to get
1:33:03
a little bit of scripts um
1:33:08
yeah
1:33:09
things
1:33:10
let's uh
1:33:11
when we get a beautiful window let's um
1:33:16
create a
1:33:18
lexus
1:33:19
skill because
1:33:21
that'll be a really good learning thing
1:33:23
and for our
1:33:25
as in
1:33:26
careers as well
1:33:29
and
1:33:31
uh-huh
1:33:32
he's like too many cheap kids
1:33:34
creating
1:33:37
yeah that was my one of them was me as
1:33:39
this
1:33:42
[Laughter]
1:33:45
they lowered them
1:33:48
thank you thank me later tori thank you
1:33:51
that's a really
1:33:53
smart way to
1:33:55
get hundred bucks a month
1:33:58
just
1:34:00
just create like calculators
1:34:16
sure
1:34:18
oh
1:34:20
ah those push-ups are working
1:34:24
very excited to join tori because we are
1:34:26
looking forward for sunday
1:34:29
that's gonna be fun
1:34:38
crappy effect
1:34:42
i just love your sense of humor
1:34:47
let's see
1:34:54
um
1:34:55
alexa skill ms aws credits
1:35:01
okay
1:35:02
i'm not sure
1:35:04
yeah i'm sure you're not
1:35:06
oh the debt decrease at 225 initial
1:35:11
valid for one year in subsequent months
1:35:13
developers may be eligible
1:35:16
to receive monthly credits starting 25
1:35:18
eligibility for monthly currency
1:35:20
evaluated based on
1:35:22
whether
1:35:23
a developer has
1:35:25
one
1:35:26
public
1:35:28
non
1:35:30
blueprints live at 11 59 pm on the last
1:35:33
day of the basement okay
1:35:36
very nice
1:35:42
hmm probably need to look into it oh
1:35:45
come on
1:35:48
keyboard i really need to sort the
1:35:51
keyboard out
1:35:53
okay
1:36:03
all right so
1:36:06
for that one we don't need that one
1:36:09
we need to make sure that
1:36:12
the board exists
1:36:15
all right yeah
1:36:17
let's make sure
1:36:18
that exists so
1:36:23
so what we need to do is we need to
1:36:29
this board ids
1:36:30
i think i'm going to make a function and
1:36:33
then use that one once and for
1:36:36
all
1:36:37
for notes
1:36:40
so just do
1:36:45
error return card
1:36:58
huge
1:37:06
fist
1:37:18
for
1:37:21
[Music]
1:37:24
yeah nothing is checking if the board id
1:37:28
is if the board is there or not
1:37:34
is what ideal for numeric
1:37:38
is empty board id uh
1:37:40
okay so i can use the board
1:37:44
this one is empty function i don't need
1:37:46
to create another one
1:37:56
maybe an app still alexa delete my kit
1:37:58
of account and burn my teeth
1:38:01
or maybe
1:38:02
maybe
1:38:03
we can train alexa to exit win
1:38:09
so
1:38:10
what's a good
1:38:13
can you tell alexa to like
1:38:17
it's like alexa like
1:38:19
open my
1:38:20
setup and it'll open like
1:38:24
it'll open like vs code before you sit
1:38:26
on your computer and stuff i don't know
1:38:27
if that's possible that's more on the
1:38:30
iot
1:38:35
sorry
1:38:39
huh
1:38:46
alexa charge it too soon
1:38:49
i didn't get what that meant
1:38:52
read everything on the top
1:38:56
card
1:38:57
[Music]
1:39:09
yes
1:39:12
no i still didn't get it
1:39:14
okay let's code
1:39:15
i'm that's good that you're focusing all
1:39:18
your
1:39:19
energy on the code
1:39:22
okay we're
1:39:24
trying to man
1:39:26
so
1:39:27
very
1:39:28
clear board we need to make sure that
1:39:30
the board id is there
1:39:33
okay so what we need to do
1:39:36
is we need
1:39:38
to do
1:39:40
um
1:39:42
switch
1:39:46
but you um i can use the same function
1:39:49
there
1:39:53
board id yeah
1:39:56
[Music]
1:39:58
then are you trying asmr
1:40:04
[Music]
1:40:05
i have no idea what you guys are all on
1:40:09
about
1:40:11
you don't know what smr is
1:40:13
no i don't all right
1:40:16
okay
1:40:17
that's all good
1:40:19
where is it
1:40:20
um it's like these kinds of videos which
1:40:24
is like
1:40:26
like
1:40:26
really stimulating videos
1:40:30
um
1:40:32
i don't know how to explain it i
1:40:33
probably need to show it to you
1:40:35
cool yeah
1:40:40
just brought id for numeric
1:40:42
um
1:40:44
and then
1:40:45
give it the board id
1:40:50
and
1:40:50
[Music]
1:40:58
if that is the case
1:41:10
okay it's pro
1:41:16
if it's bulldog if it's false
1:41:24
but i didn't know if this okay it's
1:41:26
false then what do we want to do
1:41:29
we just want to return
1:41:33
if it fits no force then
1:41:38
it's alright thank you sorry that means
1:41:40
a
1:41:44
lot i mean i'm really curious now
1:41:48
um we're just talking about the asmr
1:41:50
thing
1:41:52
i'll explain to you after stream
1:41:54
and dad was that good oh god
1:41:56
oh interesting i think i'm missing out a
1:41:59
lot
1:42:02
uh
1:42:03
did error return and then what do i want
1:42:06
the response status
1:42:10
uh
1:42:14
for
1:42:17
it's not
1:42:19
this can't be right
1:42:23
what up
1:42:26
just checking the other examples you did
1:42:29
for elf is bought alpha numeric by
1:42:32
calling you yeah
1:42:37
not found
1:42:39
is brought idea for numeric true
1:42:42
oh
1:42:44
that doesn't make sense to be honest yes
1:42:46
so we had a nod right so just switch
1:42:48
this around to
1:42:50
false and true
1:42:53
remember
1:42:55
we remove the negation
1:42:57
in front of it is poor ideal for numeric
1:43:00
um
1:43:01
so yeah i'm not really
1:43:04
worried about this
1:43:08
yeah i'm saying remember how
1:43:11
like in the starting of the stream we
1:43:13
had a knot
1:43:15
in front of that thing yeah and then we
1:43:17
removed it so for now to make it work
1:43:20
i am doing it wrong like this code which
1:43:22
i did was is wrong now
1:43:24
it should be case false first and then
1:43:26
case true
1:43:29
okay yeah that that makes
1:43:33
sense for
1:43:36
the status is called four or four it
1:43:38
means that it's not found
1:43:40
oh yeah we probably need to change the
1:43:41
status as well um
1:43:45
i'll tell you the status
1:43:47
it's something in 500 just let me tell
1:43:50
you
1:43:57
oh sorry it's 400
1:44:02
400 is it
1:44:04
yes as in
1:44:05
in uh the states called for
1:44:08
invalid
1:44:10
things
1:44:11
yes
1:44:12
it is and this is wrong code because
1:44:14
it's gonna fall through
1:44:16
even if it's true it's gonna go to false
1:44:21
remember
1:44:26
even if this tree will go to false
1:44:29
if it's true it's gonna fall through
1:44:34
what you mean for fur
1:44:38
um
1:44:39
if the switch is true
1:44:43
it's still gonna go to the falls so
1:44:48
why would it so go to the force if it's
1:44:50
true
1:44:53
i guess
1:44:55
it's gonna fall through right like
1:44:57
there's no no break
1:44:59
or no return
1:45:00
so even if it's go to it goes to line 89
1:45:05
it's gonna execute line 91
1:45:11
it won't execute
1:45:14
line
1:45:15
91 if it's not false
1:45:20
not false is true right
1:45:25
oh god
1:45:27
why am i not understanding here okay
1:45:30
okay here's the deal
1:45:31
let's say if it's true that it is alpha
1:45:34
numeric the board id is right
1:45:36
yeah it's gonna go to line
1:45:39
come here
1:45:42
why did you write that remove all of
1:45:44
that
1:45:44
i'm just
1:45:46
yeah showing that
1:45:48
you will
1:45:49
stay in the true thing yeah and after
1:45:52
executing whatever is on line 89 it's
1:45:55
still going to keep going because it has
1:45:57
no break
1:45:58
so it's gonna execute line 92 as well
1:46:06
and now you won't
1:46:07
because
1:46:09
if the board id
1:46:12
is
1:46:13
valid as in is alphanumeric then why
1:46:16
would it go in the
1:46:19
case of false
1:46:23
okay um let me share my screen and
1:46:26
let's try to understand how
1:46:29
um switch
1:46:35
um
1:46:36
i'm missing
1:46:38
something here i think so
1:46:41
the waste
1:46:42
switch works is that
1:46:45
even if you go to case 0
1:46:48
yeah and there's no break after k0
1:46:52
it's going to go to case one
1:46:54
and inside it
1:47:00
right i didn't know that okay yeah i'll
1:47:03
just show you an example right like
1:47:06
um
1:47:14
okay um right just like
1:47:22
i'll just write it in java
1:47:32
[Music]
1:47:33
yep
1:47:36
[Music]
1:47:49
um
1:47:50
so
1:47:59
[Music]
1:48:00
okay um right and case one
1:48:04
is system
1:48:07
dot out dot print ln
1:48:11
i am
1:48:13
a one
1:48:17
and case two
1:48:20
says system
1:48:26
i am uh
1:48:27
two
1:48:30
right okay
1:48:31
um yep that makes sense and oh no go
1:48:34
away i don't need you
1:48:36
and if i do a break here
1:48:39
and
1:48:40
default
1:48:49
i
1:48:51
am everything
1:48:56
yeah
1:48:56
right
1:48:59
and i'll give it up
1:49:00
zero
1:49:02
so what do you think will the output be
1:49:04
then
1:49:09
it will
1:49:10
be
1:49:11
i'm zero
1:49:12
okay yeah
1:49:15
um
1:49:20
[Music]
1:49:30
[Music]
1:49:35
can you see it
1:49:37
yeah
1:49:40
[Music]
1:49:44
okay cd i don't know
1:49:47
java c
1:49:49
e g dot
1:49:51
um
1:49:55
okay java e g
1:50:00
see the output
1:50:03
r zero i'm one
1:50:08
so
1:50:09
the way
1:50:11
switch was right
1:50:13
so
1:50:14
uh-huh yeah
1:50:16
did you get what i mean
1:50:18
yeah and now i kind of understood it
1:50:22
because yeah i didn't really
1:50:25
know that even if it's not the case
1:50:29
but it will still
1:50:31
go through unless we get
1:50:34
give it a break because i was under the
1:50:37
impression
1:50:38
that
1:50:39
if you don't give it up
1:50:42
okay so remove
1:50:45
the
1:50:46
im0
1:50:49
this one do you want to remove it yes
1:50:52
so i was under the impression that it
1:50:55
wouldn't go in case
1:50:58
one because
1:50:59
that is isn't the case
1:51:01
so is the case which means that i was
1:51:04
completely
1:51:06
wrong and there's actually introduced a
1:51:08
new
1:51:08
new concept of as in
1:51:12
swiss
1:51:13
st
1:51:15
in my brain so unless we um include the
1:51:20
breaks statement it will keep
1:51:23
going in the in the cases
1:51:26
until it finds a break
1:51:28
yes and this um situation is called the
1:51:31
fall through ah right right right okay i
1:51:36
see
1:51:36
i see what you mean now
1:51:38
yeah that
1:51:40
really helps man thanks for um saying
1:51:44
oh the example and
1:51:52
that's completely right tory only stops
1:51:54
when you hit a break or finishes all the
1:51:56
cases
1:51:57
that's right
1:51:59
yeah
1:52:00
writing java underline layers to make an
1:52:02
example assistant
1:52:04
yeah
1:52:05
that was funny though yeah keep
1:52:07
evaluating until you break yeah exactly
1:52:10
yeah right right i see
1:52:12
so for that to work we have to have a
1:52:15
break here
1:52:17
um or better just
1:52:18
write the false one above the true one
1:52:24
just
1:52:26
um yeah that's fine yep
1:52:29
no no no no okay right case true as well
1:52:32
please
1:52:36
i was gonna do that afterwards yeah
1:52:39
that's fine because there is return
1:52:41
right because you don't
1:52:47
right okay cool that's fine and go going
1:52:51
back to
1:52:51
[Music]
1:52:53
the
1:52:54
notes
1:52:56
create
1:52:59
okay
1:53:00
yeah
1:53:01
so
1:53:02
if
1:53:04
there wasn't
1:53:05
if
1:53:07
it was if this wasn't the case
1:53:10
then we need to
1:53:13
control
1:53:14
and then
1:53:16
default
1:53:23
turn
1:53:24
um i don't think so you need to return
1:53:26
you need to do return semicolon and just
1:53:28
call the function or can you do this i'm
1:53:30
actually not sure
1:53:31
can you return the function
1:53:36
if it's saying which hang on i have no
1:53:39
no no no no no no
1:53:40
i'm just
1:53:42
i'm saying
1:53:43
at the start of this statement you have
1:53:45
written return not error written before
1:53:47
that
1:53:51
yes but the function isn't actually
1:53:53
returning anything
1:53:55
yes and that's
1:53:56
that's
1:53:57
that's okay
1:54:00
complete your sentence
1:54:02
yeah it's returning nothing right so
1:54:05
you don't need to return
1:54:06
the function you need to write return
1:54:08
semicolon after just it after this line
1:54:19
right
1:54:21
so you're just saying here
1:54:24
yes that's why you're done semicolon yep
1:54:26
thank you
1:54:27
and in the error return and got a minute
1:54:29
hang on him and hang on a minute please
1:54:31
i just have to confirm something
1:54:36
okay
1:54:37
i see
1:54:38
i see i was un to the
1:54:41
impression that
1:54:42
this is actually returning something
1:54:45
no
1:54:46
right right
1:55:02
keep going down
1:55:06
here down line 274 400.
1:55:15
this is not valid sorry my bad i have
1:55:18
wrote it is not valid
1:55:21
not isn't
1:55:24
yep let's see keep the consistency
1:55:28
yep just save
1:55:30
it i might have to run in like the next
1:55:34
two minutes
1:55:35
uh we need to send our response as well
1:55:38
yeah let's do that
1:55:40
all right
1:55:42
oh it's half 11 already
1:55:46
let's just keep it to
1:55:48
um three more minutes
1:55:52
okay
1:55:53
what's the
1:55:55
thing going on here
1:55:59
you forgot a colon yep
1:56:02
there you go
1:56:03
okay so
1:56:05
can you possibly
1:56:07
keep updating the
1:56:08
jira board as well
1:56:11
yes i can do that
1:56:16
good point there
1:56:19
uh
1:56:20
so
1:56:22
support id is enough for numeric
1:56:26
and then we also have to check if the
1:56:28
board id is even there in the first
1:56:30
place
1:56:33
right
1:56:35
switch
1:56:38
[Music]
1:56:41
is empty
1:56:43
so
1:56:44
no not that one
1:56:48
is alpha numeric
1:56:50
false true
1:56:58
um
1:57:01
switchboard id
1:57:07
i think we would
1:57:09
need two more things here um if board id
1:57:14
is
1:57:15
empty
1:57:17
then just
1:57:20
return it so i'm just gonna
1:57:22
write some pseudo code
1:57:24
if board id
1:57:28
is empty
1:57:31
yep
1:57:36
is
1:57:36
updated thank you
1:57:40
if
1:57:41
if
1:57:43
bored
1:57:46
all right so
1:57:48
yeah that's all we would need because if
1:57:52
bow daddy is empty then we don't have
1:57:56
even have to go
1:57:57
further
1:58:00
so i'll do
1:58:01
this here
1:58:04
um the res
1:58:07
or send
1:58:11
status
1:58:12
no
1:58:13
restore status
1:58:18
404 right
1:58:21
this one
1:58:22
yes
1:58:24
and then send
1:58:26
j
1:58:27
pi
1:58:28
then we created a function just to do
1:58:30
this remember
1:58:33
ah yeah yeah
1:58:38
error return it's called you just use it
1:58:40
yes true
1:58:43
um
1:58:43
[Music]
1:58:46
yes
1:58:48
i think my brain is already in the
1:58:50
weekend mode
1:58:54
yeah
1:58:57
wow
1:59:00
this this one come on come on come on
1:59:03
zayn you can do that you got this
1:59:07
there you go
1:59:08
oh yeah uh so not found in the database
1:59:12
no i don't want this board
1:59:24
just
1:59:25
copy what i did for consistency just see
1:59:28
what i did in the top one
1:59:30
scroll up a little
1:59:32
yeah that's fine no go down
1:59:35
go down yeah there you go
1:59:37
no no yeah that's that is that one
1:59:40
yeah
1:59:43
uh border depot i did there we go
1:59:50
okay it's not present in cold that's
1:59:56
fine okay so board id is empty is done
2:00:02
and then is alpha numeric
2:00:05
is
2:00:06
done so that's all we need to check and
2:00:09
then we need to
2:00:11
move on to the board um the note
2:00:15
yep can we i think we should call it
2:00:17
then
2:00:18
oh it's half 11 already
2:00:21
yes well i'm just gonna commit this and
2:00:25
make sure the code is
2:00:28
looking good enough
2:00:32
yep uh all right
2:00:34
let's see you on sunday
2:00:38
come wait mate can't wait to have tory
2:00:40
on here
2:00:43
and get
2:00:45
comments
2:00:47
a
2:00:48
m
2:00:50
ah why
2:00:51
um
2:00:53
it's minus a.m
2:00:55
meditation
2:00:58
uh
2:01:01
yep story
2:01:04
no it's validation
2:01:08
[Music]
2:01:18
okay that's there and i'm just gonna
2:01:21
make sure
2:01:23
that i'm on the right branch
2:01:26
save a backhand
2:01:30
[Music]
2:01:39
cool uh
2:01:40
thanks a lot guys for
2:01:43
tuning in
2:01:44
been a
2:01:46
great session
2:01:48
uh i love a lot of entertainment
2:01:52
which was very
2:01:54
good and a bill work as well we
2:01:58
got done until the posting notes
2:02:02
as validation so tomorrow we will um
2:02:07
not tomorrow's sorry
2:02:09
uh tomorrow we won't be here um but we
2:02:13
will continue from it on sunday um have
2:02:17
you got anything to add k
2:02:19
no thanks guys for joining in i think
2:02:22
yep today we got a lot of the work done
2:02:25
and we will probably finish
2:02:28
um
2:02:29
the validation in the next one are when
2:02:32
whenever we stream
2:02:33
so yeah
2:02:35
yes join us on sunday and we'll have a
2:02:37
special guest on sunday as well
2:02:39
so yeah we're looking really looking
2:02:41
forward for that and yes see you guys on
2:02:44
sunday 9 30 p.m
2:02:47
that's
2:02:48
sounds fantastic have a good night guys
2:02:50
and
2:02:52
sweet dreams if you're in melbourne
2:02:56
have a good night cheers bye
Other clips featured in this episode