boarzVideosClipsStatistics

🎬Pilot? What even iz dat kind of fing

🎦
Featured in#️⃣EP 039 - Today's Broascast
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:01
[Music]
0:00:23
all right welcome back everyone another
0:00:27
weekend which means
0:00:29
of one of our episode of bill break and
0:00:31
fix i hope everyone is doing okay and
0:00:34
been following our work
0:00:37
um and
0:00:39
trying to uh
0:00:41
contribute as well
0:00:43
so
0:00:44
if you're new here we are roll quarters
0:00:46
that means uh we are a team of two
0:00:48
developers from melbourne we stream
0:00:50
every night from 9 30 p.m to
0:00:54
10 30 on a weekday and 11 on a weekday
0:00:56
oh sorry 10 30 on a weekday and living
0:00:59
on a weekend
0:01:00
so yesterday we worked on um
0:01:03
changing the bit of the architecture of
0:01:05
the backhand
0:01:07
and uh today we are gonna see how it
0:01:09
reacts to the middleware so
0:01:12
then do you wanna run through
0:01:14
what we worked on yesterday and
0:01:16
what we're gonna work on today
0:01:18
yes
0:01:19
definitely um so
0:01:21
i'll just shave my screen and open up
0:01:25
the repo just bear with me for a sec
0:01:29
ah there we go
0:01:33
did you manage to push push up the code
0:01:35
from it yeah i did
0:01:38
which branch did you push it off
0:01:40
def
0:01:42
obviously
0:01:44
so
0:01:44
what i'm going to do is open up the
0:01:47
replay on backhand
0:01:51
oh okay cool that's fine wrong folder
0:01:56
where's my workspace gone there we go
0:01:59
already in saturday night mode
0:02:03
not good not good
0:02:06
no it's fine
0:02:08
all right there we go we opened that in
0:02:11
depth
0:02:14
by the way i've already pushed
0:02:16
the code in
0:02:17
and um
0:02:19
it should be all update and i also added
0:02:23
the rule in which
0:02:25
no uh so every time anyone has to
0:02:30
um
0:02:31
has to
0:02:32
do
0:02:33
something on the master f from dev they
0:02:37
will have to um
0:02:39
do a pull request and only i think me
0:02:44
and you will be able to
0:02:46
prove it
0:02:48
all right yeah
0:02:50
i did on the front tent i mean on each
0:02:54
shell
0:02:56
on the front end and on the
0:02:58
back and four yeah repo
0:03:01
which was
0:03:02
walk us through how you did that as well
0:03:04
yeah yeah i will do that um after this
0:03:09
so first i'll explain um
0:03:14
hello dad what's that hello breath how
0:03:17
are you doing mate you're right
0:03:18
um
0:03:19
hey andre
0:03:21
what's happening uh just some water
0:03:24
yeah
0:03:26
dad you
0:03:27
reminded me of that
0:03:34
all right here we go all right
0:03:36
there we go
0:03:37
your geezers are hydrated now
0:03:40
yes
0:03:42
yep
0:03:44
right um okay so
0:03:47
what we worked on yes today was um
0:03:51
simply
0:03:53
i'll just zoom in so you guys can see
0:03:55
properly
0:03:56
and um
0:03:59
yeah cool so
0:04:01
what we did
0:04:02
was we
0:04:04
we
0:04:06
when we create a board we've
0:04:10
wanted to
0:04:11
send the board id to the
0:04:15
bit away as in
0:04:17
back
0:04:18
okay which is this one and then
0:04:22
we
0:04:23
revert it i will
0:04:25
get a specific board from born from
0:04:28
taking a board name to board id
0:04:30
and also
0:04:34
thanks to andre for um
0:04:36
providing us this tip of choosing a fine
0:04:40
we were able to
0:04:41
get
0:04:42
probably a trillion lines of code
0:04:45
all into
0:04:46
one line
0:04:48
why is there a w there
0:04:50
on line 67 w ah
0:04:53
that's a triangle
0:04:55
and why does it work
0:05:00
oh um
0:05:01
probably because um i just
0:05:05
missed it
0:05:08
actually
0:05:09
no
0:05:11
i
0:05:12
submit it i commented it with the
0:05:15
w so it won't work
0:05:18
oh then
0:05:19
comment things
0:05:21
yeah i i didn't i didn't realize that
0:05:24
thanks for pointing that out
0:05:26
can you andre session uh
0:05:30
yeah
0:05:31
it's
0:05:32
it's
0:05:34
i love your
0:05:35
creativity that
0:05:45
yeah
0:05:46
that was a bit of a cool thing
0:05:48
um
0:05:49
i might as well go and fill up my bottle
0:05:52
yeah i need to spell cuz mine's empty so
0:05:57
we'll be right back
0:06:14
all right we i am back um
0:06:17
and kate is as well
0:06:19
good timing brilliant
0:06:22
uh cool coal
0:06:23
[Music]
0:06:26
cool so
0:06:28
yes thanks for pointing that out i'll
0:06:30
probably have to um
0:06:32
do
0:06:36
again but i'm not really
0:06:37
gonna bother at the moment
0:06:40
yeah because
0:06:41
because if we
0:06:43
know that it's
0:06:44
working okay
0:06:45
so that's what we did just today so
0:06:49
today we need to
0:06:51
move on to middleware all right yep yeah
0:06:54
and
0:06:55
um
0:06:57
and when we
0:07:01
give it the board name
0:07:04
we don't want it to go to the back end
0:07:07
anymore right
0:07:09
yeah that makes sense yeah cool
0:07:12
so
0:07:13
if you want to change your screen yep
0:07:16
and
0:07:18
i'll
0:07:19
do your
0:07:20
screen as a big screen on my end
0:07:24
huh just one second
0:07:27
that's right take your time
0:07:37
how was your day then
0:07:39
or
0:07:40
my day was pretty good man as in pretty
0:07:43
productive
0:07:46
how about you
0:07:47
do you want to walk us through the
0:07:49
github stuff first then i'll share my
0:07:51
screen and do the music
0:07:55
good idea
0:07:56
i'll do that first then
0:08:02
to be honest i think my brain is totally
0:08:04
in saturday night mode
0:08:07
me too no i'm kidding
0:08:10
forgetting things now already all right
0:08:15
like
0:08:16
one and a half hour seems like a lot now
0:08:18
but it's fine um i guess once we start
0:08:20
working
0:08:22
yeah yeah true
0:08:23
okay cool so this is the
0:08:27
repo
0:08:32
so
0:08:34
basically all i did was i went to
0:08:40
sayings
0:08:44
right
0:08:49
okay and then i went to branches
0:08:53
yep
0:08:56
and then i said
0:08:58
this is a branch i
0:09:00
want to apply the
0:09:03
rule on
0:09:04
yep
0:09:05
and then i did
0:09:07
add rule
0:09:09
and then all i did was type um
0:09:12
main here
0:09:13
as in
0:09:14
the branch name
0:09:16
and then i did
0:09:18
this option as in required for request
0:09:21
reviews before merging
0:09:23
right
0:09:24
and then i did i think at the
0:09:27
moment it may be
0:09:29
one but i should do two but let's just
0:09:33
go back and check
0:09:35
if there is
0:09:38
one or two
0:09:39
yeah okay
0:09:40
two nice so this would mean that uh only
0:09:45
you would have the
0:09:48
merge from the dev to master
0:09:50
if it's successful it
0:09:52
would have to pass to
0:09:54
code reviews
0:09:56
right
0:09:57
which is yours and mine and mine so
0:10:01
yeah and this
0:10:03
same thing i
0:10:06
applied on the backhand as well
0:10:09
which is good
0:10:13
it was easier than i expected it to be
0:10:16
yeah nice okay
0:10:20
right so that much problem
0:10:22
has been sold and this was this solution
0:10:26
which i'm
0:10:27
pretty happy with
0:10:30
yeah for sure cool right so you wanna
0:10:34
take over to the middle right now
0:10:45
all right
0:10:50
um
0:10:51
you know what i might need to
0:10:54
push the code first to
0:10:56
dev
0:10:57
because you'll
0:11:01
um
0:11:03
i don't think so but i guess
0:11:06
you're right you're right
0:11:09
i wouldn't need to
0:11:12
yeah um so what we're trying to do right
0:11:14
now is we are trying to post a board
0:11:17
and we are trying to get the
0:11:19
board name or board id and return
0:11:22
so i'll just create a global variable
0:11:24
for now called board
0:11:29
are you guys using on the project
0:11:31
but
0:11:32
andre is asking what gib get workflow
0:11:36
are you using on the project
0:11:40
um
0:11:41
i guess so
0:11:43
we're just
0:11:44
treating uh uh two separate like we are
0:11:47
trying to create a function branch and
0:11:49
then we have like a staging branch and
0:11:51
then
0:11:52
production branch as means
0:11:54
so
0:11:56
in show as you
0:11:58
waiting free
0:11:59
free branches
0:12:01
um
0:12:02
the
0:12:03
feature request branch
0:12:05
the
0:12:07
dev branch and then the master which is
0:12:11
the prod
0:12:12
so
0:12:13
we implement the feature in the feature
0:12:15
branch and then
0:12:17
commit it and then
0:12:18
um
0:12:19
merge into dev
0:12:21
and then from dev we uh
0:12:24
there has to be two successful code
0:12:27
reviews
0:12:29
for
0:12:29
the merge to happen from dev to master
0:12:32
now yep
0:12:36
do you have any suggestions on that
0:12:37
andre
0:12:47
i guess um
0:12:49
there's a thing in github as well called
0:12:51
workflows and you can run workflows
0:12:54
trunk base is good if you have a small
0:12:57
team
0:13:01
what i'm
0:13:02
we probably have to research about
0:13:05
trunk base because i don't know what
0:13:07
that is
0:13:08
and it's good that we'll learn
0:13:13
these kind of terms as well
0:13:15
trunk base
0:13:17
or trunk
0:13:18
google it
0:13:20
do you know what that is
0:13:22
i have like i don't know what that is
0:13:24
the real knowledge of what it is like
0:13:26
um
0:13:28
i mean you want to explain it by
0:13:29
googling it
0:13:31
okay
0:13:34
trunk base says choose your main branch
0:13:37
only and all branches are short-lived
0:13:40
yeah
0:13:41
so you just like keep committing like
0:13:43
small and frequent updates
0:13:45
and you keep merging them as well and um
0:13:49
yeah right right you brush your short
0:13:51
lips so you keep deleting the branches
0:13:53
as well i guess
0:13:54
ah so that means that
0:13:57
we don't need
0:13:58
a dev branch then
0:14:01
yeah
0:14:03
you still have feature branches but you
0:14:06
get to main asap as feature toggle off
0:14:10
if you don't want to use it yes
0:14:13
ah right right right okay
0:14:18
yeah
0:14:18
that would make sense completely
0:14:22
yeah
0:14:23
let's
0:14:24
use this approach as i was standing
0:14:27
practice from now yeah
0:14:33
i mean we are kind of using trunk base
0:14:35
approached only um in a way
0:14:38
um is it andre is it true
0:14:45
also i was thinking like once we get to
0:14:47
a point we should also look at what paul
0:14:50
said in the meetup about having a ci cd
0:14:54
yeah um
0:15:02
yeah
0:15:03
yeah
0:15:05
for sure um so in terms of andre's
0:15:08
suggestion um
0:15:13
uh
0:15:13
what's the difference between ci and
0:15:17
cd
0:15:19
you're continuously
0:15:20
[Music]
0:15:23
into
0:15:24
creating and deploying the code to main
0:15:28
branch
0:15:29
is it
0:15:31
sorry
0:15:32
um so
0:15:34
i'm just trying to
0:15:36
use my insta okay
0:15:38
no go ahead go ahead
0:15:43
i was just um
0:15:45
asking andre from fry or not because um
0:15:49
i think uh
0:15:50
the difference between
0:15:52
ci and cd is that you're you're
0:15:55
constantly
0:15:57
getting the code and then deploying it
0:16:01
on a regular basis
0:16:04
right yeah mri andre
0:16:14
i guess so all right
0:16:15
oh nice yay
0:16:17
i go one point
0:16:21
thanks andre
0:16:24
all righty
0:16:26
let's jump back to it
0:16:28
cool
0:16:29
yeah
0:16:33
all right um
0:16:37
right middleware
0:16:40
i'll just create a global variable
0:16:42
called middle layer board id
0:16:46
let's just find it now
0:16:50
all right
0:16:53
so why are you naming him
0:16:56
mid awareness school board id
0:16:59
as involved what's the concept behind
0:17:01
that
0:17:03
nothing really um it's just uh
0:17:06
um
0:17:07
what is it local like it will just be
0:17:09
inside
0:17:10
middleware to pass
0:17:12
around the functions
0:17:14
we could name it something else
0:17:18
was just thinking because we don't want
0:17:19
to get confused between other board ids
0:17:23
ah
0:17:25
right right right okay yeah that's fine
0:17:27
then that makes sense they're like all
0:17:29
the versions of board id like board id
0:17:32
yeah yeah true
0:17:34
as it is
0:17:36
good to have a bit of a descriptive name
0:17:39
but not in branches
0:17:41
yeah no
0:17:42
i've learnt my lesson
0:17:45
nine branches i remember during the
0:17:47
presentation or like uh sorry the
0:17:49
lightning talk
0:17:51
um
0:17:52
i just kept saying the middleware uh
0:17:55
implementation of middleware post board
0:17:57
my name
0:17:59
sounded so funny at one point because i
0:18:01
was doing like a huge name to maine
0:18:04
yeah yeah yeah
0:18:06
true true i agree with that
0:18:09
that was funny though
0:18:12
um right so your response text
0:18:16
all right
0:18:33
but it's returning the response right
0:18:39
should we just assign it some this whole
0:18:42
thing somewhere
0:18:45
so
0:18:47
can you console the
0:18:49
log what do we exactly get in the
0:18:52
response i want to see that first
0:18:55
um that's a whole header oh but sure
0:18:57
i'll i can do that
0:19:00
and if if you're sure about that then
0:19:04
no point
0:19:05
is this during the console log so
0:19:08
control like the response would be just
0:19:10
like the whole header like okay yeah
0:19:12
okay this code and there's the
0:19:14
uh right we need to like
0:19:17
but we want just
0:19:20
okay so how about if we
0:19:22
um we
0:19:24
we probably have to get the board id
0:19:26
from
0:19:28
the response
0:19:29
yeah only i'm just saying
0:19:32
response body
0:19:34
uh
0:19:35
body and
0:19:36
dot
0:19:38
to the door and his board id there
0:19:42
no one's not there
0:19:44
it won't be
0:19:45
oh let's try this body i guess
0:19:48
okay yeah we can try that
0:19:52
and i'll just alert the body
0:20:04
ready
0:20:07
let's try this
0:20:11
uh andre is asking what does line 46 do
0:20:19
um
0:20:20
wait a minute
0:20:23
yeah why do we have this there again uh
0:20:26
that was probably probably because we
0:20:29
wanted to set the status
0:20:32
and we would be experimenting with that
0:20:34
isn't it yeah
0:20:35
yes i don't think so we need it um yeah
0:20:38
we would
0:20:39
do a if statement here
0:20:42
distinctively yeah but yeah
0:20:44
right now
0:20:46
thanks andre for pointing that out
0:20:51
all right
0:20:53
oh so spike in my exam simple
0:20:57
http
0:21:02
at least i didn't make that mistake
0:21:06
[Music]
0:21:07
i wasn't in the client but i figured it
0:21:09
out before
0:21:13
before i spoke
0:21:23
all right
0:21:26
yeah
0:21:28
k9
0:21:34
why
0:21:36
why didn't the alert of it is the post
0:21:38
board commented
0:21:41
i
0:21:41
have a look probably let's see
0:21:46
response
0:21:49
uh um
0:21:51
wait i think the method is being
0:21:54
terminated here can you see the console
0:21:59
yes
0:22:01
but there's nothing uncomfortable
0:22:03
i
0:22:04
did you check
0:22:06
yeah there you go
0:22:07
i'll wait on that yeah yeah sure
0:22:10
on the browser yeah yeah
0:22:14
invalid shorthand property initializer
0:22:18
line 52
0:22:20
it's a syntax error
0:22:23
i think we didn't need a response status
0:22:26
because we need to return it here
0:22:29
but return response um
0:22:33
i don't think we should
0:22:35
we would need the um
0:22:38
actually
0:22:49
i don't think we would need the response
0:22:52
today is there to be honest yeah because
0:22:55
the status is in the
0:22:57
response object
0:23:01
yes but there is
0:23:02
pawns object is here or not i'm just
0:23:05
trying to ah so the response object is
0:23:08
only in the in the then yeah this is not
0:23:11
outside right right right yeah so you
0:23:14
would probably want to create a variable
0:23:16
called
0:23:17
um
0:23:19
response and then
0:23:23
[Music]
0:23:29
all right
0:23:37
uh what you're trying to say
0:23:52
is that what you're trying to say then
0:23:55
so if you want to return free
0:23:59
i don't think this
0:24:01
would work the
0:24:03
line 44
0:24:06
because we
0:24:08
we're not supposed to have
0:24:10
anything in those
0:24:12
in that space you might want to make
0:24:14
that
0:24:15
as an above the fetch yeah
0:24:19
and then return
0:24:22
actually
0:24:24
return
0:24:25
the response underscore status now
0:24:29
main concern is this for now
0:24:34
let's try running it i guess
0:24:40
middleweight
0:24:42
id
0:24:46
middle report id
0:24:49
response
0:24:50
uh
0:24:51
i just said you guys should pr your
0:24:55
your great work into upstream scrambler
0:24:58
reaper
0:25:00
sorry i didn't get that
0:25:02
uh he's saying that we should
0:25:05
do um we should do a pull request to the
0:25:09
main
0:25:10
scrambler reaper as in the original one
0:25:16
but i guess isn't it too early for that
0:25:19
hi
0:25:20
is it too early
0:25:22
i think so
0:25:26
oh
0:25:29
this error again
0:25:33
goes no
0:25:35
um
0:25:36
the air is still on 51 this
0:25:40
same error so
0:25:43
go to 951
0:25:45
yep
0:25:46
response your body
0:25:52
um
0:25:54
sorry one second i'm having trouble
0:25:56
that was alexa
0:26:00
all right
0:26:04
ah
0:26:09
should we assign it there oh hang on a
0:26:11
minute
0:26:12
yeah go uh
0:26:14
you know when the bracket is ending of
0:26:19
line 46
0:26:23
wherever that bracket is ending
0:26:25
we try
0:26:27
to put that
0:26:29
the line 51 above that bracket
0:26:35
because in there what's happening is
0:26:38
that we are
0:26:39
oh no no no no no
0:26:43
yeah yeah true true
0:26:50
um
0:26:51
try doing it here
0:27:08
all right
0:27:10
um
0:27:12
yes
0:27:15
undefined
0:27:17
that's the status
0:27:19
okay right right right i i think i know
0:27:24
what's happening here
0:27:27
you know the logic is when you create a
0:27:29
board
0:27:30
then you get a board id in return isn't
0:27:33
it
0:27:35
we haven't created a board yet
0:27:39
all right okay
0:27:41
so we are trying to get
0:27:44
trying to get the id
0:27:48
before even we have got the id
0:27:51
but we got the status um
0:27:53
previously i don't know how we got that
0:27:56
um
0:27:56
[Music]
0:27:58
maybe um
0:28:01
removed the stairs the way it was
0:28:04
before
0:28:06
so before it was like return response
0:28:09
status
0:28:11
was in our return there i'm pretty sure
0:28:15
oh yeah really yeah
0:28:16
yeah
0:28:20
then i don't know there's not just that
0:28:24
why was this working then
0:28:29
what do you mean
0:28:30
why was that working
0:28:32
you're right like we haven't done that
0:28:34
thing yet
0:28:37
uh we haven't received the
0:28:39
response yet okay um try to post the
0:28:43
board only at this stage
0:28:47
okay
0:28:48
i just
0:28:49
want to check if that functionality is
0:28:52
working
0:28:53
properly
0:28:55
all right
0:29:09
this won't work
0:29:13
this won't work
0:29:15
you need to uncommand response to status
0:29:24
that doesn't make sense though um
0:29:26
nothing
0:29:29
hang on
0:29:31
what are we trying to
0:29:33
do here in the first place
0:29:36
um you said right like if you wanna try
0:29:37
to
0:29:39
um set the board first
0:29:42
so if you want to revert the code
0:29:45
to its original condition that it was
0:29:50
i think i already did dinner
0:29:53
um hello
0:29:55
both deadlifts weren't there
0:29:58
yeah
0:29:59
try it now
0:30:03
because i just
0:30:05
want to see if the board is working
0:30:07
properly
0:30:09
okay nine
0:30:12
[ __ ] okay that's fine and do okay nine
0:30:15
there
0:30:22
okay nine
0:30:25
okay nine
0:30:27
well there's too many boards
0:30:30
there you go can i hear that
0:30:32
oh okay of course so the board is
0:30:35
working so
0:30:37
so now if you go back in the code
0:30:40
um
0:30:42
doing still don't know
0:30:48
let's try it without this and see yeah
0:30:57
all right now it's not gonna work
0:31:01
really
0:31:02
yeah
0:31:04
you hundred percent sure
0:31:08
and you could give an error let's see
0:31:17
did work
0:31:18
yeah it did because the count was 10 now
0:31:21
it's 11.
0:31:22
why do you think that's worthwhile
0:31:25
i thought it wouldn't work because the
0:31:27
response is the
0:31:30
given in the then block but it's being
0:31:33
used outside that block
0:31:36
yes if response is here we can just um
0:31:40
assign the word
0:31:45
what body
0:31:50
do you probably wanna
0:31:52
console just a response
0:31:55
all right because i don't think is um
0:31:57
finding the body property
0:32:00
in the response
0:32:17
i have to do this then i'll have to make
0:32:20
it stop to go to the next page
0:32:26
and
0:32:28
there was one more
0:32:32
all right
0:32:37
it's already coming
0:32:40
there we go
0:32:43
all right starting this over again
0:32:45
hard refresh
0:32:50
are you keeping an eye on the comments
0:32:52
yes i am
0:32:54
[Music]
0:32:58
response is not defined yeah
0:33:02
so i think what's happening here is if
0:33:05
you go back in the code
0:33:08
yeah
0:33:09
yeah
0:33:11
well if we want
0:33:14
um
0:33:18
we would have to
0:33:24
okay um do a console.log
0:33:27
in the then block
0:33:31
here
0:33:32
yeah
0:33:34
or
0:33:36
maybe uh
0:33:38
[Music]
0:33:40
nope why does it say no it doesn't want
0:33:43
it doesn't like it
0:33:46
okay um do a
0:33:48
console.log in
0:33:50
online 47 maybe this would work yeah
0:33:54
okay yeah cool
0:34:02
that's not a good idea to alert the
0:34:04
response
0:34:06
yeah but
0:34:09
anything is good in
0:34:12
development mode all right so okay
0:34:15
there's a syntax error on 51
0:34:19
but oh yeah 51.
0:34:26
i don't think this would work either
0:34:29
okay then just put down
0:34:31
947
0:34:35
[Music]
0:34:40
because all i want to see is the
0:34:43
response that's so and if it if it's got
0:34:46
the body in there and if that body has
0:34:49
some
0:34:50
border ah that's not working either
0:34:53
no i didn't even
0:34:54
okay cool
0:35:00
okay cool so
0:35:02
if you expand that
0:35:04
yeah that's working
0:35:06
so just do it does he have any
0:35:08
board id in there
0:35:11
stays trying to status text type cause
0:35:15
body
0:35:17
yeah what is there but it doesn't have
0:35:19
any
0:35:21
get reader t
0:35:24
right so that means they'll they will
0:35:26
probably have to
0:35:29
um
0:35:30
we need to see um
0:35:31
[Music]
0:35:33
wait a minute if i
0:35:35
go ahead and
0:35:37
assign this thing
0:35:40
here
0:35:43
and what will happen
0:35:54
all right let's try it again
0:35:56
okay one three
0:36:01
object readable stream right
0:36:04
oh you probably have to justice for
0:36:06
yourself
0:36:10
um to be honest i don't think this
0:36:12
approach feel work but
0:36:16
continue uh
0:36:18
i may be wrong off to this
0:36:21
uh i want to explain you
0:36:24
why i think that it's not working
0:36:30
i'm just trying to see
0:36:34
oh response don't bog it but
0:36:38
no no
0:36:43
don't get into the okay
0:36:47
what are we trying to do
0:36:49
just trying to see what um
0:36:51
[Music]
0:36:53
um how do we actually get it
0:36:58
okay
0:36:59
um to get get the string
0:37:02
from
0:37:02
the response
0:37:05
can you not
0:37:06
just stringify
0:37:09
do you want me jason stringified i was
0:37:10
just trying to google if we can get the
0:37:12
correct answer
0:37:13
okay
0:37:15
but okay um let's try this and string
0:37:17
fighting
0:37:21
i'll go ahead and google after they said
0:37:22
this doesn't work
0:37:24
of course yeah which
0:37:26
um
0:37:27
i think it's not in the body because
0:37:30
body is just like the whole thing but we
0:37:32
have to go one more
0:37:34
step inside the body
0:37:39
or maybe is in the
0:37:42
response itself
0:37:45
uh
0:37:46
um some bodies coming up with nothing
0:37:49
right
0:37:51
what do you mean it's in the response
0:37:52
though
0:37:55
see when we do it in here so
0:37:58
uh when we post a board in here i'll
0:38:01
show you
0:38:03
this is the response body
0:38:07
all right so it's coming in the body
0:38:09
right okay that's the thumb in the body
0:38:11
like oh yeah there's another way you can
0:38:13
transfer strings
0:38:15
um
0:38:15
[Music]
0:38:17
yes
0:38:18
so it's coming in the body for sure
0:38:22
uh
0:38:23
right right response body head is
0:38:30
yeah so we just need to see how do we
0:38:32
take it from the body i guess
0:38:36
yeah right right not sure why it's not
0:38:38
mentioned here
0:38:41
i mean it says stream
0:38:44
expand it
0:38:45
low prototype expand it
0:38:48
uh cancel
0:38:49
part two
0:38:51
prototype expand the one
0:38:57
nothing there two string it has a
0:38:59
two-string property
0:39:04
but we want value off
0:39:07
let's both try like google again
0:39:10
all right i'm gonna try that as well
0:39:17
get
0:39:22
uh
0:39:41
to get the response
0:39:43
audio is streaming
0:39:51
using your screen responsibility
0:39:52
streaming java
0:40:12
fetch api
0:40:23
long response to
0:40:26
get entertained
0:40:43
all right um
0:40:45
interesting
0:40:49
i guess we need to
0:40:52
uh i'm just gonna try one thing
0:41:18
this
0:41:23
oh there you go blue goes in i got it
0:41:27
aha so it came in the promise
0:41:30
um no so what i had to do is i had to um
0:41:34
print it as response.json
0:41:37
oh right is it right
0:41:39
like kind of a parser
0:41:41
so
0:41:42
read more about it i'll send you the
0:41:44
link
0:41:45
yeah i just got it from
0:41:46
the docs
0:41:48
okay
0:41:52
i just want to see how exactly do we get
0:41:55
into it
0:41:56
one second
0:41:59
oh right right right
0:42:08
what are we trying to get into
0:42:11
um so it's still inside um
0:42:13
[Music]
0:42:15
this
0:42:16
promise result
0:42:19
just seeing how do we actually access
0:42:21
the
0:42:22
promise result
0:42:35
how to access the value for promise yeah
0:42:37
that's exactly what we need
0:42:39
promises at that point
0:42:43
promise and then
0:42:46
oh so we use a then
0:42:49
block on the promise itself
0:42:54
um
0:42:56
i don't think this is the
0:42:59
do something result right
0:43:03
i don't think that this one has the
0:43:04
answer
0:43:06
probably not
0:43:09
oh
0:43:11
okay promise we promise
0:43:13
i think we need to assign the whole then
0:43:16
block to something
0:43:18
job promise
0:43:22
yeah like these are these variables
0:43:32
okay so if you do like um
0:43:35
hello uh
0:43:46
can i just try seeing one another
0:43:47
resource
0:43:49
here go for
0:43:54
the result value
0:43:56
all right
0:44:21
i just recent value for promise object
0:44:30
sorry about that
0:44:32
uh go to the code
0:44:35
which one andre thing go to the code
0:44:39
there you go andre
0:44:49
[Music]
0:45:00
okay
0:45:04
respawn
0:45:06
just seeing if
0:45:08
home
0:45:11
you can get into it through this
0:45:14
i'm gonna
0:45:16
keep on
0:45:19
enabling that yep
0:45:21
until andre comes back
0:45:23
um
0:45:24
so
0:45:27
[Music]
0:45:29
access
0:45:30
promise
0:45:32
thank you
0:45:34
i was um the
0:45:36
property of the promise code
0:45:40
sorry
0:45:42
what was the
0:45:44
property of the promise called
0:45:49
i'm not sure what you want by the
0:45:50
president
0:45:53
yeah once i'm trying to adjust the
0:45:55
screen it'll be easier
0:45:58
for all of us
0:46:01
all right here on
0:46:02
console
0:46:05
here's something yeah
0:46:07
um
0:46:09
so it's
0:46:11
promise
0:46:13
and then it's
0:46:15
[Music]
0:46:16
promise dot promise result
0:46:20
right
0:46:22
so if you
0:46:24
close prototype
0:46:28
oh
0:46:29
prototype
0:46:30
so it's in promise and then promise
0:46:34
results
0:46:43
promised
0:46:44
printing this i guess
0:46:47
uh
0:46:48
hang on andre has come back and it's
0:46:50
saying on
0:46:51
line free
0:46:53
do
0:46:55
const
0:46:57
response value
0:47:01
equals await
0:47:05
okay that's fine
0:47:08
response value
0:47:11
equals yeah that's it
0:47:15
oh is that it
0:47:19
i have no idea why we did that
0:47:22
now i guess um you and i was thinking
0:47:25
that
0:47:26
you can't add
0:47:28
anything on line 45
0:47:31
because the fetch
0:47:33
then and
0:47:35
catch always have to go together
0:47:39
um on
0:47:40
line 52
0:47:43
error is what
0:47:46
on line 52
0:47:48
i don't think so there's any error here
0:47:50
is there
0:47:54
it was like this okay
0:47:56
[Music]
0:47:58
51 now he said
0:48:03
just go back
0:48:06
just um
0:48:08
do a bit
0:48:09
slowly
0:48:10
okay
0:48:11
because the
0:48:14
coordination is being missed here now
0:48:17
that's all the code
0:48:18
there go back one step
0:48:23
and then press undo
0:48:25
yeah
0:48:27
again
0:48:30
so on
0:48:32
this one he said error watch
0:48:37
arrow colon what
0:48:40
and then 51 now
0:48:46
do we have something
0:48:49
in that
0:48:50
in their return block
0:48:52
as in
0:48:53
between 50 and 52
0:48:57
nothing no and we didn't have
0:48:59
previously as well
0:49:02
okay i'm just seeing it right all this
0:49:05
stuff
0:49:06
[Music]
0:49:08
should we try right now
0:49:10
go in into your um
0:49:12
get source control comparer as in third
0:49:16
i come from the top and check what
0:49:18
changes are coming there
0:49:22
how to do that
0:49:24
um if you
0:49:26
go on to that again and then press
0:49:28
click on the file
0:49:31
yeah there you go
0:49:35
it will
0:49:36
show you all the changes being made
0:49:40
right
0:49:40
so if you look here there was nothing in
0:49:42
here
0:49:43
okay yeah that's fine
0:49:47
um go back can i close this
0:49:51
yeah yeah you can
0:49:53
right
0:49:57
yeah try again
0:50:02
x is
0:50:06
this is promise
0:50:16
all righty
0:50:20
so that everyone can see properly
0:50:22
k15
0:50:27
undefined okay
0:50:30
and go to promise
0:50:34
i'm just seeing the conference
0:50:36
one second
0:50:43
um right
0:50:44
so
0:50:46
47 good
0:50:48
so we need to access the promise
0:50:54
and then promise
0:50:56
we need to access the results
0:50:58
of the promise ensure
0:51:02
yes but we got an error inside the thing
0:51:04
as well
0:51:06
oh i think we need to change something
0:51:08
because we did the
0:51:10
um
0:51:11
what do you call it
0:51:13
all right hang on a minute hang on hang
0:51:15
on hang on andres is
0:51:17
remove 47.
0:51:22
yeah
0:51:23
[Music]
0:51:24
remove that one
0:51:28
is that causing the error
0:51:30
i have no idea but
0:51:33
andre must have
0:51:35
valid
0:51:37
reason and he must be right so i'll just
0:51:40
go
0:51:41
with the belief in him
0:51:43
yeah for sure
0:51:50
oh there we go oh here we go perfect
0:51:53
what
0:51:54
so there was the problem
0:51:57
thanks laundry
0:51:59
that's amazing
0:52:00
so um i still didn't get why did we
0:52:04
enclose the entire fetch into that
0:52:07
variable
0:52:09
i guess because it was
0:52:11
i guess it was because it was the whole
0:52:13
thing was returning a response and
0:52:15
we needed to store it somewhere
0:52:17
so middleware
0:52:22
right right right yeah that would make
0:52:24
sense because he was
0:52:26
returning
0:52:28
something but we weren't storing it
0:52:30
anyway
0:52:32
yes but it's
0:52:33
uh we're still having a bit of problem
0:52:35
with the response of stickers here
0:52:38
um
0:52:39
[Music]
0:52:40
i still don't know why we had this
0:52:43
i'm really curious
0:52:47
um
0:52:50
and that's a syntax error
0:52:53
like we are not assigning it anywhere so
0:52:58
um
0:52:59
right andre says
0:53:01
line 62 is shite
0:53:06
away 62.
0:53:08
[Music]
0:53:09
all right remove that
0:53:12
oh we can't remove this because it's i
0:53:14
think
0:53:15
or if else
0:53:17
we need it yeah
0:53:19
yeah
0:53:21
but
0:53:22
andre how else can we check that if from
0:53:26
the post
0:53:27
post method
0:53:28
we have actually received the
0:53:33
response 200
0:53:35
because we
0:53:36
need the
0:53:38
we need to validate the response and
0:53:40
then display um
0:53:43
yeah wherever we
0:53:45
need to
0:53:46
so the problem was that the page were
0:53:48
scheduling itself so before we received
0:53:51
the response we were moving to the next
0:53:53
page so what we came up with was that
0:53:57
um we'll get the response the status and
0:53:59
if the response of status is 200 then
0:54:01
only
0:54:02
we move to the next page yeah so is
0:54:05
there any alternative way to do it
0:54:08
um responses status
0:54:15
all right so
0:54:17
now this is
0:54:20
working if you
0:54:21
want to remove the comments and
0:54:24
um
0:54:26
bring back
0:54:28
what we had in the
0:54:30
if
0:54:32
response stays equals to 200
0:54:35
in that block as well i have a feeling
0:54:38
it won't work
0:54:39
with this
0:54:40
because it was throwing an error
0:54:42
previously
0:54:45
response code
0:54:53
um
0:54:54
[Music]
0:54:58
try again
0:55:01
yep
0:55:05
[Music]
0:55:23
okay
0:55:25
that's undefined now
0:55:27
um
0:55:29
let's see
0:55:34
um get all the boards k16 was it
0:55:39
yes
0:55:42
go right up i
0:55:44
just press uh
0:55:46
okay
0:55:51
how many boards do you get oh boy 12 or
0:55:54
50. all right i'm gonna go in in the in
0:55:57
downward db and
0:55:58
please some this is just too much
0:56:04
how did you get 15
0:56:09
no idea
0:56:11
um okay
0:56:13
if
0:56:13
that wasn't the expected number we might
0:56:16
want to delete the
0:56:18
table
0:56:20
as in the the content of the table and
0:56:23
the retest uh that again because i've
0:56:26
got a suspicion
0:56:28
all right let's do that
0:56:30
and let me just delete everything from
0:56:33
the table first
0:56:35
all right
0:56:48
wow
0:56:50
wow
0:56:53
just wow
0:56:58
okay and now
0:57:01
johnny
0:57:03
give it a go
0:57:04
yep so just one second
0:57:10
oh wait i need to put my mac on charge
0:57:12
five per second
0:57:15
good timing
0:57:18
yeah i literally just almost forgot
0:57:20
about it while doing this
0:57:24
i was seeing the time and then i saw the
0:57:27
red thing as well
0:57:29
so i was like
0:57:30
no i shouldn't die during the stream
0:57:38
holy
0:57:50
[Music]
0:57:53
wow
0:57:55
wow
0:57:56
without a board name
0:57:58
yes
0:57:59
where did that come from then
0:58:01
try deleting them again
0:58:04
done
0:58:06
21.
0:58:09
okay now it's zero
0:58:11
okay
0:58:14
now i'm not feeling that is if someone's
0:58:17
spamming our end point because we stream
0:58:19
it
0:58:20
yeah
0:58:21
there you go
0:58:23
someone's spamming it's in
0:58:26
oh wow oh wow all right
0:58:29
we need to apply chorus
0:58:31
i think you must be
0:58:32
someone that we know i'm pretty sure is
0:58:36
it you andre
0:58:40
well
0:58:41
i think it might it might not be andre
0:58:44
no
0:58:45
i don't think so
0:58:47
i mean they do have exposed endpoints
0:58:50
yeah okay so
0:58:52
shall we plaque as in
0:58:55
restricted cause on it
0:59:00
i don't think it is
0:59:02
you know why why's that
0:59:05
he couldn't do it only
0:59:08
one person
0:59:09
can do this
0:59:11
this kind of thing and i'm pretty sure
0:59:15
we both know him very well
0:59:20
[Laughter]
0:59:22
whoever's doing it we'll give them the
0:59:25
mimified roll coders t-shirt yeah yeah
0:59:29
um
0:59:45
surprise us
0:59:46
no
0:59:47
no please don't
0:59:50
can i get a bull curtis t-shirt for sure
0:59:53
andre you can yeah
0:59:56
like like for really one bullet glitters
0:59:58
only like
1:00:01
actually don't mind
1:00:03
it'll be funny though yeah to be honest
1:00:07
all right so hang on
1:00:09
let's go back and
1:00:12
yeah
1:00:13
uh we need to go back and um
1:00:16
restrict the api endpoint
1:00:22
if we play with that then there would be
1:00:24
some problems which we kind of face with
1:00:26
the core stuff
1:00:28
um
1:00:29
to be
1:00:30
honest we can only restrict as so at the
1:00:34
moment
1:00:35
actually
1:00:37
um i'm gonna need your
1:00:41
localhost address because i think that
1:00:45
must be
1:00:46
uh done through the uh
1:00:49
aws
1:00:50
all righty i don't know how to do it if
1:00:52
you know how to do it that'll be amazing
1:00:55
uh i can try from my common sense i
1:00:59
think how
1:01:00
i think i might know how it's done but
1:01:03
i'm if you
1:01:05
give me your localhost address
1:01:07
i'll just remove my screen and then okay
1:01:10
cool
1:01:12
um how do you
1:01:13
how do i get my localhost address again
1:01:15
sorry just my ips um
1:01:19
now just as is zero
1:01:22
zero zero
1:01:23
whatever that was
1:01:25
zero point zero point zero point slash
1:01:28
eighteen
1:01:30
hundred slash that
1:01:35
zero point
1:01:36
two eight thousand yeah
1:01:40
isn't that sick
1:01:47
okay i'm gonna just go to
1:01:50
cloud formation
1:01:52
and then check if how i think it should
1:01:55
be applied if our api still works
1:02:01
whoever is doing this they've posted
1:02:03
notes as well so
1:02:05
the thing i'm pretty sure they know our
1:02:07
stuff pretty good like
1:02:09
they've been watching us regularly okay
1:02:11
so here's the thing i'm 100 sure i know
1:02:15
this guy
1:02:16
yeah
1:02:18
i am pretty damn sure as in
1:02:21
there's only one person who knows our
1:02:24
architecture
1:02:26
off by hand
1:02:28
i know that
1:02:31
and i'm pretty sure you know
1:02:40
even he knows it but um
1:02:43
that other person was involved
1:02:45
from the start
1:02:46
as in right from the start
1:02:52
this is interesting one i'm having a lot
1:02:54
of fun at the moment
1:02:57
all right um
1:02:58
api there we go
1:03:12
all caps for a reason yeah yeah i know i
1:03:15
know
1:03:17
i unlisted this straight away
1:03:23
this is hilarious honestly okay
1:03:26
focusing focus
1:03:28
um
1:03:32
[Music]
1:03:41
okay so i think
1:03:42
super
1:03:54
oh it's in the options to
1:03:57
on hi
1:03:59
converse 64.
1:04:02
are you going
1:04:06
ah come on dude come on help me
1:04:10
show me some loving
1:04:15
show me some
1:04:16
loving api get away come on
1:04:20
our api is being spammed we need you
1:04:28
okay i think it's in that one
1:04:31
and then add a response
1:04:33
you know what'll be funny
1:04:35
this person like just makes an infinite
1:04:38
for loop and
1:04:43
we'll see if it's api
1:04:45
i think
1:04:46
i think i might delete the stack
1:04:52
um all right hang on a minute it's not
1:04:55
over here
1:04:57
or it could be sam as well sam trying to
1:04:59
make a point
1:05:02
oh all right
1:05:05
then we should just sit to a
1:05:08
yeah
1:05:11
okay was it this one
1:05:14
ah here we go this is what
1:05:17
meant
1:05:18
so i think this should be only our
1:05:20
endpoint as in
1:05:23
um i would need to know can you uh
1:05:28
run the api
1:05:29
locally and
1:05:31
give me the endpoint because
1:05:33
it needs to be exact
1:05:36
what do you mean locally doesn't
1:05:38
so
1:05:40
can you run the api by doing pi third
1:05:43
minus
1:05:45
m http and i just need that
1:05:49
endpoint
1:05:53
so including home.html inside it or not
1:05:56
all right no no
1:06:00
just this url
1:06:01
so i'm gonna apply the url
1:06:05
um in there hopefully this so basically
1:06:09
what this would mean
1:06:11
i think
1:06:12
and if you
1:06:14
work there we're only
1:06:16
allowing access from this
1:06:18
url
1:06:20
but how is that stopping that person to
1:06:22
do it
1:06:26
i mean pretty sure that person is doing
1:06:28
it with this you are an only
1:06:30
there's no other way
1:06:32
you can do it
1:06:34
true
1:06:35
okay we probably have to um hide our
1:06:39
url then
1:06:41
that's not possible because our kind of
1:06:43
like a code is open source and
1:06:45
everything
1:06:47
yeah
1:06:48
so
1:06:49
while streaming it it's like it's
1:06:51
literally impossible like
1:06:53
okay then that person has to stop
1:06:56
that's the only way i can think of now i
1:07:00
mean you can try working on course like
1:07:02
obviously there's a way to do that for
1:07:03
sure
1:07:05
in which like only both of us are
1:07:10
restrict
1:07:12
access to api
1:07:16
to searching
1:07:18
to
1:07:20
my
1:07:21
localhost only
1:07:24
maybe this would use the on servers from
1:07:28
my only allowances from my to my
1:07:31
rest apis
1:07:33
from my own application
1:07:37
right
1:07:38
home okay so this is the one
1:07:41
one andre said andre said he told her
1:07:44
mutual friend to stop
1:07:46
i know
1:07:48
okay
1:07:50
thank you andre i appreciate that
1:07:54
i know i'm
1:07:57
i know who that is
1:08:00
i feel like they both have like a
1:08:02
discord channel and they stream it
1:08:04
together
1:08:05
this is like make me photos
1:08:08
uh hang on frustrated
1:08:10
to accept only connections from this one
1:08:14
and then connect from your risk
1:08:16
consuming application application only
1:08:19
with
1:08:21
this one or this one okay
1:08:24
so we need to do that
1:08:26
i'm going to apply the
1:08:29
thing over there and we can experiment
1:08:32
if that works because all right that's a
1:08:35
good experiment
1:08:37
so one two three two cool but i'm not
1:08:40
entirely sure if i should have the
1:08:43
quotes here
1:08:45
i think
1:08:46
we should anyway i'll just do that
1:08:49
yeah doesn't
1:08:50
matter okay and then
1:08:54
enable call
1:08:56
node
1:08:57
deploy
1:09:08
wow i really admire our mutual
1:09:12
mutual mutual friends
1:09:14
speed though as in
1:09:16
he actually created that um
1:09:19
express app did the post method and
1:09:22
started to
1:09:23
spam
1:09:24
spam
1:09:26
in this
1:09:27
time frame wow
1:09:29
that's really incredible
1:09:32
all right
1:09:34
do you want to have a go
1:09:35
yeah surely
1:09:39
already actually we should ask that
1:09:41
mutual friend and then to have a to have
1:09:44
a go again
1:09:47
oh no so what would you do again what
1:09:49
you do how can you so
1:09:51
i just put the ip address of um
1:09:56
127.0.0.1
1:10:00
which is a home one
1:10:03
to
1:10:05
allow it so in short i did this
1:10:07
i i should just
1:10:09
show it to you guys
1:10:11
i don't know why am i just telling you
1:10:21
to be honest
1:10:22
this is a really good exercise for us
1:10:28
these kind of us
1:10:31
learn from these kind of spamming
1:10:34
yeah
1:10:35
i actually i actually knew it like i was
1:10:39
like
1:10:39
previously concerned that our endpoint
1:10:41
is exposed but i was like not a lot of
1:10:43
people watching and who's gonna copy it
1:10:45
and stuff
1:10:47
yeah
1:10:48
turns out there you go
1:10:50
i've done
1:10:51
this
1:10:52
i've done this only
1:10:55
okay so i'm only allowing everything
1:10:58
from this ip which is our home ip that's
1:11:02
all but isn't
1:11:04
like the person who's
1:11:06
who like anyone else also who might be
1:11:08
doing it they can have this ip as well
1:11:12
that's the thing i don't know that so
1:11:14
it's my first time doing this so i don't
1:11:17
know what's gonna happen
1:11:21
all right let's try it i guess um it's
1:11:22
good to
1:11:24
go right i'm sharing my screen
1:11:30
post man
1:11:32
let me try from postman
1:11:35
it works from postman
1:11:39
starting the server now and there you go
1:11:43
ah
1:11:44
so
1:11:46
huh
1:11:47
that's actually a t-shirt code as well
1:11:49
but yeah andre is
1:11:52
right there's nowhere
1:11:56
like one to seven point
1:11:59
right
1:12:06
i mean get the fact that i said oh 1
1:12:10
1 to 7.0.0.1
1:12:13
was because i got the
1:12:16
that from the stack overflow but
1:12:19
i guess that is
1:12:21
no doesn't work
1:12:24
it doesn't work anymore
1:12:27
i'm pretty sure
1:12:30
sorry
1:12:31
have a look
1:12:32
if you
1:12:33
gain of course error
1:12:36
already i need to comment stuff then
1:12:53
yeah of course it wouldn't work because
1:12:56
we're using the 8 000 a completely
1:12:58
different
1:13:00
ip
1:13:04
it won't work
1:13:05
yeah don't worry
1:13:07
yep
1:13:10
just leave that for now i guess um
1:13:12
we can come back to this stuff later on
1:13:15
cool
1:13:16
i'll just put that back to
1:13:20
all
1:13:22
andre says we need to do some questions
1:13:25
huh
1:13:26
uh understands we need to do some
1:13:28
push-ups
1:13:29
all right who's in
1:13:32
let's do a stream in which we can do
1:13:33
like a push-up face-off between you and
1:13:35
me
1:13:37
oh yes
1:13:38
that'd be awesome though i'm gonna lose
1:13:40
miserably just just putting it out there
1:13:43
you're gonna
1:13:45
when actually
1:13:47
i don't think so you know
1:13:50
because i lied to you
1:13:53
the light
1:13:54
how much do you weigh
1:13:56
um around 60 like 59 59.60
1:14:00
yeah so the
1:14:02
the lighter you weigh the
1:14:04
obviously
1:14:06
easier is i think i wear around
1:14:09
72.73
1:14:11
oh come on that's like only thirty
1:14:13
percent difference thirty five percent
1:14:15
thirty times
1:14:19
let's do it
1:14:20
but now
1:14:23
yeah he said
1:14:24
break up your broadcast and
1:14:27
get some energy back here we go
1:14:29
are we doing like a face off are we just
1:14:31
doing five pushups oh
1:14:33
no no just
1:14:35
five push-ups
1:14:36
oh
1:14:37
no face-off
1:14:41
all right
1:14:46
boy
1:14:51
let me know if you guys can see this
1:14:55
all right
1:14:57
is this visible
1:15:03
you
1:15:04
then
1:15:10
can you see me
1:15:13
i can't hear you though
1:15:16
can you hear me now yes
1:15:19
cool
1:15:21
all right you come let's
1:15:23
do it all right so five each all right
1:15:27
free
1:15:28
you know you know um
1:15:31
get your ass
1:15:33
a bit lower come on don't cheat
1:15:36
no you start first then i look
1:15:40
okay
1:15:41
three
1:15:42
two
1:15:44
one go
1:15:52
didn't count this time
1:15:53
fine
1:15:54
i was too focused doing it and i forgot
1:15:57
to count but i was counting in my heart
1:16:02
did you mention
1:16:04
did you manage to do it in five cold yes
1:16:09
right
1:16:11
got some energy back
1:16:13
yes all right let's
1:16:15
get this done
1:16:17
um
1:16:17
[Music]
1:16:18
complete i mean we got the um
1:16:21
[Music]
1:16:23
we got the board working oh sorry we got
1:16:25
the id
1:16:27
also yes hydrate as well
1:16:31
let's do it
1:16:40
okay
1:16:41
cool i'm going to assume uh
1:16:44
i see juice yeah as you share your
1:16:46
screen because you're gonna
1:16:50
work on that
1:16:52
middleware
1:16:53
and i'm just gonna make sure that the
1:16:55
api is deployed
1:16:57
yes in my speed deploys so if you want
1:16:59
to check the
1:17:00
um
1:17:03
you think again the posting
1:17:07
um
1:17:08
so i'm sure we are doing 1.5 hours on
1:17:10
weekends
1:17:11
um
1:17:14
yeah yeah it just gets um yeah
1:17:16
as we mentioned before
1:17:18
um the last half an hour we don't
1:17:20
actually get a lot of work done
1:17:23
and on sunday
1:17:26
and we just drag it out without being
1:17:29
productive
1:17:31
yes and it becomes like a problem on
1:17:33
sundays hmm
1:17:36
fill the course
1:17:41
did i deploy them pretty sure
1:17:44
um
1:17:47
do you want to re hard refresh it
1:17:52
did you already do that
1:17:54
um
1:17:56
okay 17
1:17:59
of course again
1:18:04
okay
1:18:05
let me just make sure that i do that
1:18:10
um
1:18:13
resources
1:18:20
did i deploy it
1:18:24
um
1:18:32
come on api get ready show me some
1:18:35
loving now
1:18:37
taking too long to show me
1:18:40
there we go
1:18:44
options
1:18:48
oh that's cool
1:18:55
anyway here what's happening
1:18:57
oh are you seeing your screen
1:19:00
api is taking its time
1:19:14
i think what i might do is um
1:19:18
put our
1:19:21
end point in an in
1:19:24
environment variable
1:19:28
yeah yeah we can do that
1:19:31
come on api get away i need your loving
1:19:34
i'm desperate for it
1:19:37
there we go
1:19:39
you do remember this reading is pg-13
1:19:41
right
1:19:45
is it i didn't okay i'll shut up i'll
1:19:48
i'll
1:19:55
huh
1:19:56
but like 13 year olds can code as well
1:19:58
come on
1:20:00
even six year olds can code man yeah
1:20:04
when did you start coding then like when
1:20:06
was the first program you wrote
1:20:12
yeah good
1:20:14
i wrote my first program when i was in
1:20:16
my first year of uni
1:20:19
oh so you didn't have you didn't have
1:20:21
any prior experience like no
1:20:24
oh no
1:20:25
so then why did you get into it
1:20:28
because i
1:20:30
loved tech and i love solving problems
1:20:33
but i also love traveling
1:20:36
so initially i wanted to be a pilot
1:20:39
but
1:20:40
um out i was under the impression of
1:20:43
that because i've got a stammer then in
1:20:46
the case of emergencies if i don't speak
1:20:49
on time
1:20:51
big problems
1:20:52
can arise so
1:20:54
that's when i thought okay
1:20:57
what else can i incorporate in problem
1:20:59
solving and tech
1:21:01
and programming was the answer
1:21:04
that's pretty cool nice
1:21:07
thanks man how about you
1:21:09
i didn't what got you into programming
1:21:12
um so yes for us
1:21:15
i don't know if you know
1:21:16
there there is a language called q basic
1:21:19
um
1:21:20
[Music]
1:21:21
it's like
1:21:23
really really really trivial like
1:21:26
you weren't even willing how trivial it
1:21:27
is um it's just like uh we started doing
1:21:31
that in grade six
1:21:33
like our school headed mandatory
1:21:35
um and that's in back in india right
1:21:39
yes
1:21:40
yeah so we had it mandatory and then in
1:21:43
grade nine um
1:21:45
i took computer science uh we had an
1:21:48
option so
1:21:49
then we started doing java and uh we had
1:21:52
to do logics as well
1:21:54
and yeah
1:21:57
so i guess ah i say
1:21:58
right from grade six like i started i
1:22:02
wrote my first program but
1:22:04
first high level and like proper
1:22:05
programming i started in grade nine
1:22:08
ah
1:22:09
right right
1:22:11
yeah and then she just fell in love with
1:22:13
it
1:22:14
yeah so i kind of started my whole the
1:22:18
like tech career or you could say like
1:22:21
tech journey by getting into
1:22:23
security
1:22:24
so
1:22:25
i got my
1:22:27
in my high school i
1:22:28
um
1:22:29
got a bit of spare time and i tried
1:22:31
doing the
1:22:32
certified ethical hacker course
1:22:35
which i thought certainly was able to
1:22:37
like get the certificate and stuff
1:22:39
but
1:22:40
like after a while i realized like uh i
1:22:43
can't sit like i don't have that much
1:22:45
patience like i can't sit
1:22:47
pen test to wait for 24 hours like
1:22:50
that's just
1:22:53
i say i say
1:22:55
yeah so after like my grade 11 i
1:22:57
switched to software dev
1:23:00
ah okay so that's how it all began
1:23:04
yeah
1:23:05
right right i see
1:23:09
that's cool man
1:23:11
that's and i can tell that you really
1:23:14
like it because
1:23:16
as in
1:23:18
yeah i mean um you put a little bit into
1:23:22
it as well
1:23:23
yeah like you get to create stuff from
1:23:25
scratch what's better yeah yeah yeah as
1:23:28
in turn ideas
1:23:30
into
1:23:31
reality isn't it for sure
1:23:34
all right i i really mocked my sister
1:23:37
like she's into like management stuff
1:23:39
yeah so i keep i say like um
1:23:42
like you have to follow so many rules
1:23:44
and blah blah blah
1:23:47
yeah true
1:23:49
go ahead and create stuff
1:23:53
and then just randomly yeah yeah yes
1:23:57
it's done yeah
1:23:59
so if you just want to go and test it
1:24:01
and see what happens
1:24:03
if this doesn't do it but it would have
1:24:05
to deploy again
1:24:12
oh yeah deployment do again
1:24:16
come on api get away
1:24:19
you let me try it on incognito
1:24:22
yeah try that because it might also be a
1:24:25
cash problem
1:24:27
i don't want to clear my cash
1:24:31
i know your pain
1:24:33
i literally deployed but i don't know
1:24:37
cool yeah
1:24:39
that makes sense man because
1:24:41
i've been there down there as well
1:24:43
no no i'm just kidding i couldn't fire
1:24:45
up a vm and doing than that
1:24:48
uh well why is it taking this long
1:24:51
oh yeah all right
1:24:54
re-initialize the server
1:25:07
boy oh boy
1:25:08
okay
1:25:15
okay 18
1:25:21
yes
1:25:24
that's not happening
1:25:27
right so
1:25:29
we would have to redeploy it
1:25:32
you don't try it on your end once just
1:25:34
to
1:25:36
yeah i can um i'd have to
1:25:40
open up the repo first then just bear
1:25:43
with me
1:25:48
this doesn't work
1:25:50
on my end if i do it
1:25:53
what doesn't work
1:25:55
yeah i don't know why
1:25:57
star it doesn't work my end
1:26:01
that's something
1:26:03
[Music]
1:26:08
our suggestions
1:26:11
[Music]
1:26:31
wow
1:26:33
this is
1:26:37
i didn't get it
1:26:39
this
1:26:40
will be hilarious if this doesn't work
1:26:45
closer
1:26:48
with the same
1:26:53
that's true
1:26:54
yeah
1:26:56
all right let me go into client
1:27:00
oh come on i was just waiting for you to
1:27:02
start
1:27:07
i'll let zed start the server play
1:27:09
around for five minutes
1:27:11
and
1:27:16
then zayn is back on his
1:27:20
coding mode now
1:27:23
we have two minutes left apparently
1:27:25
all right let's
1:27:27
check if i'm getting the call there as
1:27:29
well hopefully not
1:27:35
come on come on come on
1:27:37
i think you have to enable chords again
1:27:40
uh if if you know what i mean
1:27:43
enable
1:27:44
i did
1:27:45
all right okay
1:27:47
what is saying one
1:27:51
um console
1:27:53
i know don't worry
1:27:55
all right it will still show up ah
1:27:59
it's working working
1:28:01
on my end
1:28:03
and not necessarily the board didn't go
1:28:05
through it let me see if the board
1:28:08
it did the bar graph is
1:28:11
z1
1:28:12
that's the main thing which i'm just
1:28:14
checking
1:28:16
nope
1:28:19
no
1:28:22
it didn't
1:28:24
right
1:28:26
right right
1:28:30
okay i'm gonna come back
1:28:32
on this
1:28:36
hmm
1:28:49
okay cool
1:28:51
cause is there
1:28:54
i just saw it right
1:28:57
we'll have to do it tomorrow now
1:29:00
yeah that's all good
1:29:04
perfect
1:29:06
many thanks to our
1:29:09
mutual friend
1:29:11
you can mention mention them in the blog
1:29:13
i guess
1:29:14
yeah i will
1:29:17
all right cool um thanks a lot guys for
1:29:21
tuning in
1:29:22
uh hundredth thank you for your
1:29:26
tips and um making us
1:29:30
learn something
1:29:31
new again and thanks to our mutual
1:29:34
friend as well who actually um made us
1:29:39
learn something
1:29:40
new too
1:29:42
so
1:29:43
now we need to back track of it and
1:29:46
deploy the api again to
1:29:48
um
1:29:50
remove the cause arrow but we'll come
1:29:53
back to that tomorrow
1:29:55
and um
1:29:56
yeah thanks to
1:29:58
all the other
1:29:59
viewers who tuned in um
1:30:02
uh
1:30:03
so just a bit of an update our swag
1:30:07
should be ready
1:30:08
tomorrow i believe
1:30:11
by the end of
1:30:12
the day
1:30:14
and
1:30:15
we will give you guys as in a
1:30:18
link on our um youtube and twitch
1:30:22
channel too
1:30:23
so
1:30:24
yeah we'll keep you posted um have you
1:30:27
got anything to add k
1:30:29
ah i guess uh today was pretty good we
1:30:32
were able to
1:30:33
get the response back that means we'll
1:30:35
able to append it to all the
1:30:37
requests from now um i guess easy thanks
1:30:40
andre um
1:30:41
i guess you just put us on the right
1:30:43
track to get it done else we would be
1:30:45
taking the whole stream to get it done
1:30:48
and yeah thanks to that
1:30:50
certain someone as well who works
1:30:52
for some big cloud company which we
1:30:54
don't know
1:30:57
but yeah i guess um it's kind of
1:30:59
important that if we we are growing our
1:31:01
viewer population then we
1:31:03
um
1:31:04
restrict our exposed endpoints so
1:31:07
um
1:31:08
it's literally you know good that you
1:31:10
pointed that out and
1:31:12
um i don't think that's really
1:31:13
backtracking we we had to do it at some
1:31:15
point anyway so
1:31:16
[Music]
1:31:18
yeah
1:31:19
i was just
1:31:21
joking it was a
1:31:23
sarcasm comment
1:31:25
yeah
1:31:26
yeah and really excited for the merch um
1:31:28
yeah
1:31:29
and you'll see us streaming we're in
1:31:31
that as well and uh
1:31:33
i guess i have a feeling that tomorrow
1:31:36
we complete 40 episodes i have a feeling
1:31:39
yeah
1:31:40
so that'd be epic
1:31:42
yeah that's actually pretty good i'm
1:31:43
really looking forward to the 50th one
1:31:45
for sure that's like a milestone
1:31:49
me too and i think
1:31:50
we should do that one
1:31:53
a kind of in a really different way but
1:31:56
yeah let's do something
1:31:58
but yeah we will plan it
1:32:00
yeah that's like um
1:32:02
like 20 percent of the year we were um
1:32:06
what do you call it like we were live
1:32:08
streaming and
1:32:09
that's yeah cool consistently
1:32:11
yeah um i guess in 10 days we'll have
1:32:14
our
1:32:14
50th episode so
1:32:17
we'll probably do something special for
1:32:19
that
1:32:20
exactly
1:32:21
we'll see us in our merch really soon
1:32:24
so um yeah thanks guys for joining in
1:32:27
thanks everyone thanks andre and
1:32:30
um
1:32:31
um that's hurting someone anonymous
1:32:34
anonymous someone
1:32:36
yeah
1:32:37
um
1:32:40
right guys um so we'll see you back here
1:32:43
if you guys can make it please do uh
1:32:47
same time
1:32:48
same place and a different task so we
1:32:51
will
1:32:51
yeah
1:32:52
from there wherever you are
1:32:55
in the world have a good morning
1:32:57
afternoon all night but in terms of
1:32:59
melbourne
1:33:00
have a great night and we'll see you
1:33:02
tomorrow
1:33:03
all right see you tomorrow everyone good
1:33:05
night cheers
1:33:08
good night bye