Podchaser Logo
Home
742: Potluck: Migrating to Typescript, Semver Explained, Accurate Timers and Countdowns

742: Potluck: Migrating to Typescript, Semver Explained, Accurate Timers and Countdowns

Released Wednesday, 13th March 2024
 1 person rated this episode
742: Potluck: Migrating to Typescript, Semver Explained, Accurate Timers and Countdowns

742: Potluck: Migrating to Typescript, Semver Explained, Accurate Timers and Countdowns

742: Potluck: Migrating to Typescript, Semver Explained, Accurate Timers and Countdowns

742: Potluck: Migrating to Typescript, Semver Explained, Accurate Timers and Countdowns

Wednesday, 13th March 2024
 1 person rated this episode
Rate Episode

Episode Transcript

Transcripts are displayed as originally observed. Some content, including advertisements may have changed.

Use Ctrl + F to search

0:00

Welcome to Syntax in this who went

0:02

out friendly The West voice in and

0:04

this Wednesday were to be doing a

0:06

potluck in order to be doing it

0:08

a little bit differently today because West

0:10

is out of the office O T

0:12

Oh so we have Cj filling in

0:14

for Wes and were to be doing

0:16

a pilot for yeah, we have a

0:18

ton of great questions or to be

0:20

diving into all kinds of things like

0:22

what kind of books we like, what

0:25

kind of podcast we like, But not

0:27

only that, we're going in a technical

0:29

staff were gonna. Be talking about

0:31

on you know perhaps view j

0:33

S. We're going to be talking

0:35

about skills for basic developers like

0:37

would have the base level foundational

0:40

skills you should be learning and

0:42

stuff about your a home office.

0:44

So ah abu. With. Me

0:46

as not always but for the of the

0:48

first time in a regular episode is Cj

0:51

Cj what's up dude? hello not much of

0:53

new no right or got some big Canadian

0:55

shoes to fill today so I'm gonna do

0:57

my best. A in A I love it.

0:59

I know this is a Canadian podcast after

1:01

all as well. I mean today Rocky Mountain

1:04

Park guess is rocky on part yes as

1:06

a mile high podcast A which I got

1:08

same and this we've been getting a lot

1:10

and we we get a lot of sunny

1:12

Denver. Three hundred must is sunny year Not

1:14

to brag but it is. Sunny is

1:17

been sunny and lovely year so film

1:19

the vibes and if you're feeling divides

1:21

you might not be hitting the the

1:23

bugs in areas that you might be

1:25

having in your code but sometimes. It's.

1:27

That are now is how it goes in your

1:29

your code is little cloudy and if your code

1:31

is cloudy. The. New going want to

1:33

have something like Century to have your back

1:36

Because that's truly what it does. It has

1:38

your back, It helps you saw there's it

1:40

helps you saw performance issues. It helps you

1:42

solve all kinds of things that found slow

1:45

database queries for it it a man it's

1:47

done so much for So if you want

1:49

to check out Century and on every Century.i

1:51

owe Forward/syntax Senate. They get two months for

1:54

free. Cj I once had.

1:56

A client of mine told me

1:58

that the design. That I had designed

2:01

felt. Cloudy. And that

2:03

he needed it to feel more. Sunny.

2:08

Oh great. I have no idea what the

2:10

hell they're mean. So her face and yeah,

2:12

me neither. Oh. Yeah. Nadia,

2:14

Classic. Clients stuff right? right? So

2:16

look good in the first question.

2:19

First question here from Robbie: What

2:21

book changed your life? Do.

2:24

Have any books are you use. Really enjoyed see

2:26

game. At. This is probably the worst question

2:28

for me I when I listed on there because I think

2:30

yes and get answers but actually don't read a lot of

2:32

books and I think like my answer for this is. If

2:35

I. Can't get past the first chapter.

2:37

I just stopped reading it so as here said he

2:40

had a hasn't really been a thing that hasn't changed

2:42

my life spread you. I listen to like a lot

2:44

of legs science fiction on like audio books and stuff

2:46

like that. Right now I'm actually listening to other Three

2:48

by problem. Tell. Cool. Yeah, yeah, I

2:50

haven't finished it yet, but it is it. It's

2:52

fascinating Bf and that's that Isn't that? that's my

2:54

main thing is yes is I'm not interested or

2:57

Mckenna read the whole thing at an L. E.

3:00

I still that. I

3:02

don't get into too much fiction as much

3:04

as I I. When I do, I'd like

3:07

it like are I've I don't read anything,

3:09

I just listen. I listen to the Martian

3:11

and I really liked that ah Or or

3:13

stuff like that. United get into a was

3:15

that the and. Ah,

3:18

there are some fantasy books by. A

3:21

really prolific author and storm like chronicles

3:23

or something. I think that Scotland out

3:25

I got into those Really really a

3:27

lot for a little bit. but for

3:29

the most part I stick to non

3:31

fiction stuff and books that I actually

3:33

did read or like. kind of picture

3:35

a books and climate child. Apparently there's

3:37

this to whatever you think, think the

3:39

opposite and it's not how good you

3:41

are, it's how good you want to

3:43

be on. these are like. Really?

3:45

Thought provoking books. They're very

3:48

graphical so like. Big.

3:50

Graphic Tax to illustrate a point

3:52

on each page. on in their

3:54

brilliant bucks like. You. Know.

3:57

If. You know that they just like micro

3:59

my. Grub points and then like. Everybody

4:02

had done the hijab one way into one guy

4:04

decided to do it is really weird way another

4:06

tell everybody does it you know just but illustrating

4:08

a fun way to just kinda get your brain

4:10

into like different head space and other two bucks

4:12

I think my dad bought me one of them.

4:15

whatever you think that the opposite I think. As

4:17

at, like a Christmas gift. When you're

4:19

not just like holy cow, this is

4:21

great. I'm a book that Ben Vinegar

4:23

recommended to me when I started syntax

4:25

was crucial, conversations and it's kind of

4:27

a cliche. but but it has really

4:30

changed how I approach. Heavy. Or

4:32

not even heavy. But like

4:34

important conversations in my life,

4:36

know whether that is conversations

4:38

with. You. Know family

4:40

or conversations with coworkers or

4:43

whatever. At. A lot of

4:45

value added this book in. There's a

4:47

lot to like stories from, you know,

4:49

influential people who have like bit in

4:51

meetings with Tim Cook and athletic. Oh

4:53

okay ah that is a whole world.

4:55

So yeah, really interesting bucks. Less.

4:58

Yes, And system comes from Electric Ellie

5:00

and their question is what are

5:02

the fundamental web app development principles

5:04

that beginners should know about when

5:07

starting web app development And they

5:09

have in their lists: authentication, test

5:11

driven development deployments, Honestly,

5:13

I don't think any of the things her at

5:15

the top of my list. For beginners, there's actually

5:18

a whole lot more. Yeah, and one of the

5:20

things I think is most important is like really

5:22

understanding the client server model at come across so

5:24

many beginners that just like don't really understand the

5:26

difference between the client side and the server side.

5:29

And being able to differentiate those even if

5:31

you don't do a lot of back in

5:33

development is huge, especially if you're working on

5:35

a team that has back in developers. Could

5:37

you can at least better understand with their

5:39

piece of the puzzle is. And.

5:41

Then along the same lines as understanding that that

5:44

seem security model of back in versus front end

5:46

cause when you're working in front end code that

5:48

codes. It shipped to the browser so there's

5:50

only certain things you you should do with a that

5:52

code because that the end of day. And.

5:55

Users can technically look at the source code and see

5:57

what's happening in there. So really understanding? What's.

5:59

Happening. Where I think it for the most

6:01

important things. Yeah, I have that as a

6:04

big one to understanding the client and server,

6:06

but not not like how eat Unicef to

6:08

even write client or server side code right?

6:10

Because that can be a whole new can

6:12

of worms in the South Atlantic. Simply understanding

6:15

it's role like he said, is like that's

6:17

a big deal, right? Yeah. And.

6:19

Then another when I have is see a lie

6:22

basics so am I know there there are like

6:24

gooey tools for like get and stuff like that

6:26

but especially in more modern frame web development. You're

6:28

gonna come across a lot of. Build.

6:31

Tools and scripts and things you have to run

6:33

so just being somewhat comfortable with the command line

6:35

i think it's pretty important suggests like basic. Commands

6:37

like Cd and Ls and those kinds of

6:40

things because you're gonna be running node

6:42

and in scripts and like the be

6:44

like of the build process or something like

6:46

that. So. Yeah, that's definite stuff my

6:48

list as well. Yeah, if you wanna learn

6:50

some of that, West has a. Belief.

6:53

Of free course command line power user there's also

6:55

I did of course a long time ago on

6:57

the center was that was level of to toil

6:59

that the time but there is on the youtube

7:02

channel if you're watching a new do some and

7:04

another one i have that at all says like

7:06

kinda like nothing to do it's like writing code

7:08

itself is really just working on your your work

7:10

flow and. And how you work. So

7:12

I'm a big proponent of like keyboard shortcuts and

7:14

just like working efficiently. I think that's definitely something

7:16

you should look at. Like is especially for trying

7:19

to mix things up when you're a beginner and

7:21

you're learning as like you don't want to just

7:23

be writing code all the time you can focus

7:25

on your set up, focus on memorizing keyboard shortcuts.

7:27

Also like work on your it like your work

7:29

habits of like actually. Working. for a

7:31

little bit taking breaks the be can try Palmer Droves those kinds

7:34

of things. Yeah. Yeah.

7:36

I agree with all that stuff. In.

7:39

In fact like the only things that I would

7:41

add on on top of their i think you'd

7:43

you mentioned like cel I tools to use I

7:45

get ah but I do I do think you

7:47

know get as one of those things that like

7:49

I remember. Seeing get commands for

7:51

the first time and been like holy cow I

7:53

know. Randy can probably relate to this because he

7:55

had to learn. Good stuff. Kind of.

7:57

As a non develop our the develop I do. Working

8:00

as a developer and get Ill confused our

8:02

to me so yeah to it gets and

8:04

get have an understanding like how to host

8:07

studies preferred like the most basic. I remember

8:09

dragging and dropping stuff an ftp and then

8:11

realizing okay if you know and index that

8:14

a she male files loaded from this directory

8:16

how does that I'll work and obviously the.

8:19

App development has changed substantially since

8:21

then, but yeah, totally yeah. I

8:23

totally green all that stuff. Also,

8:25

Css, Html. Yeah, you couldn't.

8:27

You can get a long way

8:30

despite learning Css and Html. Obviously,

8:32

Javascript, A javascript frameworks become a

8:34

big thing in our industry now

8:36

days, But hey, you can't beat

8:38

learning Css and Html especially nowadays

8:40

are next question here is from

8:42

seven Stephen. Pronunciation.

8:45

Actually, the way it looks. Just not. Stephen

8:47

my wife hate that. Stephen.

8:49

You told us to say Stephen and I

8:51

know you did that on purpose. A. Next

8:55

to an eight. The question here is:

8:57

what are your thoughts on Chris Choirs

8:59

post on his sale of Css tricks

9:01

in what has happened? Yeah, I know.

9:03

I thought sheer. you know I have

9:05

a little personal story. There was an

9:07

acquisition attempt to level up to Torres

9:09

a long time ago and divides were

9:12

bad. Divides or bad. The money was

9:14

bad, everything was bad and I'm so

9:16

thankful I turned it down after seeing.

9:18

What? Happened here because.

9:21

For. A little while. always liked whatever

9:23

to be deterred that down you know

9:25

of nice as is your scene. Maybe

9:27

the pandemic have been. Subscriber numbers are

9:29

like a roller coaster you you really

9:32

stressed out one week to the next

9:34

week. Whatever you're like. Man.

9:36

Was that the right idea? Should I have

9:38

just taken some cash and run? But seeing

9:40

as how this guy. How

9:43

this all played out, I am thankful

9:45

that I chose not to do that

9:47

at that time, especially given the relationship

9:49

that we have with Century through that

9:51

acquisition rights sell. My thoughts are man,

9:54

it sucks. I Love Css Trick. Css

9:56

tricks is like my favorite thing for

9:58

ever and ever. and. Chris

10:00

was the you know huge inspiration of mine

10:02

for you know, getting started and when I

10:05

first got to meet him it was like

10:07

on increases the Man so I was really

10:09

bummed out to read. That

10:11

and I was. I

10:14

feel like you know they do Lotion Folks

10:16

are now saying that they're going to work

10:18

with Chris on that's like the new update

10:20

to this. Since this has come out to

10:22

Chris, read this blog post will have it

10:24

in the show notes. I highly encourage you

10:26

to read it but they since come out

10:28

and he did said you know we're working

10:30

with Chris to get Css tricks back to

10:32

some capacity. I just wish it were never

10:34

happen in the first place. and I used

10:36

to be a fan of Digital Ocean and

10:38

the way that they handled this. I

10:40

know, no thanks man. I you know even if

10:43

they bring Css tricks that all support see as

10:45

districts but I'm I'm not about to give Digital

10:47

Ocean a ton of supports out of canal I

10:49

feel about. I'm a little salty about it. Yes,

10:51

I don't have much incitement more than really just

10:54

like reading the blood was recently and kind of

10:56

like seen Crysis perspective and everything but that's kind

10:58

of. My take on is like this sucks because

11:00

like Css tricks with awesome like it is the

11:02

definitive resource for like so many things like a

11:05

time I wanted to know about Flex Box or

11:07

Css Grid like I would go to Css tricks

11:09

for that. So. It's it's. really sad

11:11

to. Hear the story of of

11:13

of is a los kind of taking over and that really

11:15

doing much with it. Yeah. It

11:17

was really hard for us to when we

11:19

announced that Syntax was getting acquired by Century

11:22

I think rightfully people were concerned that they

11:24

were very concerned that this is going to

11:26

be another Css tricks would obviously hasn't been,

11:28

but I think Century was cognizant of that.

11:31

They were like we need to make sure

11:33

that we're assuring people that this is not

11:35

that we were going to take the thing

11:37

that you like, make it way better or

11:40

by adding Cj and Randy. A

11:43

Us and video and all the cool stuff that

11:45

they've allowed us to do. So you know, And.

11:48

Yeah, it stinks all around. Not a whole lot there

11:50

to it. right? The six

11:52

question comes from Mike and it is

11:54

what advice would you give to someone

11:56

finally looking to migrate and existing react

11:59

project over detachments? Any. Gotchas to keep

12:01

an eye out for any linking to take advantage

12:03

of. Said. The work be done in a

12:05

feature ranch solely dedicated to the migration Or can

12:07

it be done any more piecemeal manner? Any.

12:09

Other advice thanks. So

12:12

give my perspective on it first. I'm A and I

12:14

think it depends on the size of the project and

12:16

also like the number of people on the project. I

12:19

would say it's like a really big project that you

12:21

can't just kind of like. Do.

12:23

All in one go. Where the easiest

12:25

things to do is start one file at a time. So.

12:28

Where the cool things about Ehrlich even like working

12:30

inside of the Us code is you can get

12:32

types group support even inside of javascript files. So

12:34

one the first things you could do is just

12:37

put a a flash as a T S desk

12:39

check at the top of any javascript file. And.

12:41

Then you're gonna start to get some type hints since

12:43

the inside of file and in from their you concerted

12:45

scenes of file select. Go one file at a time

12:47

and you can basically make it so that like if

12:50

you're working on a specific future. Now's.

12:52

The time to also. Converted. Over

12:54

to types of kind of like make it your

12:56

process of any new feature. Also make sure that

12:58

your shipping type of code with it. So swap

13:00

a Js files with Yes file or it's a

13:02

D S X files with Css file. And.

13:05

Then gradually fix the ears within that one

13:07

feature within that when file. And. I

13:09

would also say that when you're early on in

13:11

this process. Keep. Your Ts

13:13

conceived settings like way less strict so

13:15

you should actually allow the any type.

13:18

And allow things like ts ignore nts

13:20

expect error. Of. Because you can

13:22

have an easier time of come know. Obviously you want

13:24

to get to a point where you have like a

13:27

stricter configuration and like you're really like reading the best

13:29

types that you can but early on you definitely want

13:31

to. Be. A little bit less strict so

13:33

that you can make bigger strides in terms of by converting

13:35

the code base. The I totally

13:37

agree with all that I did

13:39

this. I converted a code base.

13:41

Believe it or not, I converted

13:43

the code base that something I

13:45

unfortunately have done way to me

13:48

times in my life. I converted

13:50

a a code base from Meteor

13:52

to this. The same code base

13:54

from Meteor to React. From react

13:56

class components to react function components

13:58

with hooks to then us. Note:

14:00

same code base and at some point in

14:02

their I converted from React to React be

14:04

a type script. So I I've had a

14:07

lot of experience converting a big Kobe's which

14:09

is A. I probably could have been way

14:11

more productive than do that, but I'm. Tied.

14:14

Script for me. Make

14:16

a branch and go for it right? Dedicate

14:19

You can you can like depending on how

14:21

big your code bases the level of Kobe

14:23

suspects be. You can make a substantial moved

14:25

there in the course of a week depending

14:27

on how many people are working on it.

14:30

Even if it's just one person, if you

14:32

grind on a you can grind on it

14:34

makes him real progress on you can do

14:36

things piecemeal. Like you said Cj you don't

14:39

have to have one hundred percent yes completion

14:41

by for for instance I don't think level

14:43

up to toils even after we converted to

14:45

types give out. To get had one

14:47

hundred percent T S Free errors for

14:50

even like a year after that, because.

14:52

For. The large part like Ted script is there

14:54

to help you and if you can see that

14:56

okay I have these following types. Grub there's and

14:58

instead of just tossing and any on it in

15:01

Lenny Guns is gonna leave those errors in. Still

15:03

build the site without. Passing. It

15:05

through. My. Type script. I am the

15:07

Use Tapes group essentially as a litter right

15:09

as and it will find issues and any

15:11

new components you make and it's gonna do

15:13

this companies now. The advice I can give

15:15

on actually. Doing the

15:17

conversion beyond just doing it piecemeal, Is.

15:20

That start at the

15:22

root. Started. The data

15:24

sets because if you started the leafs if

15:27

he started the end, by the time you

15:29

get to the roots were you have the

15:31

data loading. You're gonna be just having a

15:33

mishmash of typed in. Every that in the

15:35

they've you get your pipes. I'll set up

15:37

from the route where the data starts and

15:40

then branch out from there. that. Is.

15:42

How I found it to be the most

15:44

effective. Start with how the data's being loaded

15:46

with that data structure looks like and then

15:48

as you go that will help you get

15:50

further and in into your your leaf components.

15:52

It also makes it easier to kind of

15:54

reason about right you can start your main

15:56

last is up but there will be a

15:58

time when. There's. A lot

16:01

of rights. Gregory's like I've I just

16:03

like your one thousand types. Good bears

16:05

news like are a great let's go.

16:07

You know I'm in. Many of those

16:09

can be. Calm. Down with

16:11

one fell swoop. Yeah. One type in,

16:13

you know, stuff really propagates. But.

16:16

Be prepared for some tears. Go for

16:18

it and I'm. Yeah. Don't

16:20

don't If your application works, don't stress

16:22

about that type script. air number being

16:25

zero. Secondly, I

16:27

completely agree with any like silly people can get

16:29

to, too caught up in like fixing all the

16:31

errors and too caught up of and like trying

16:33

to make like like the perfect take script code

16:35

base. the like you said, it really is at

16:38

it's core, kind of just the winter like it's

16:40

gonna help you with a lot of problems. and

16:42

I completely agree with data first because honestly that's

16:44

really get most of the benefit right if you

16:46

start describing your types in your objects. That's

16:49

gonna float through your code base and now you

16:51

have a bunch of different places where you can

16:53

like cats. little errors like a we made a

16:55

typo in a property name or oh, this object

16:57

is actually missing properties that were required. So yeah,

16:59

I completely agree. Data First is a great approach

17:01

and ah yes, go for. It. Yeah.

17:04

You know it's funny because that we we talked

17:06

a little bit about this. I had a look

17:08

at Tic Tacos from a clip from one of

17:10

the episodes of the next were was like we

17:12

launched with types grip errors for the new syntax

17:14

site and now is like. I

17:17

don't know people think he you can do that but

17:19

we did that in his find like we tested the

17:21

website you know, discuss types group says that there's a

17:23

problem doesn't mean that there's a problems and then there's

17:25

a lot of comments that were like. Man.

17:28

You. Gotta be a new to not be able

17:30

to get all the types you know of you

17:33

can fix up but that's not how it works.

17:35

Mans sometimes Types good. If.

17:37

You haven't like used to hide script

17:39

in a complex project. Sometimes there are

17:42

two types. That. Are really hard

17:44

to rain the land you know

17:46

it's not all the time but

17:48

there there sometimes Like for instance

17:50

we had a a caching mechanisms

17:52

that was a pretty custom were

17:54

what it was doing it was

17:56

accepting. The. Query

17:59

parameter. Is it for a prisoner

18:01

query? It was accepting what type of query

18:03

that was. So we're doing like a find,

18:05

many whatever and then it except in like

18:07

a cast time sort of steel and it

18:09

would it would do is it would do

18:12

like a steel already validate essentially and reddit

18:14

for us and I wrote this by hand.

18:16

And. The. Big problem

18:18

is is. Prisma. Didn't expose

18:20

the right type that we needed to.

18:23

We really get a good handle on

18:25

this so that let's say if I

18:27

passed a find many arguments into this

18:29

thing and a find many or I

18:31

personally find one arguments in a find.

18:33

One like some of those types are

18:35

just really complex in annoying, just straight

18:37

up annoying to right. So hate Another

18:39

caching mechanism works again, I tossed in

18:41

any on that or I can just

18:43

leave it as near For now in

18:46

come back to it later or if

18:48

I want to spend a day. Writing

18:50

these types like sometimes that happens even if

18:52

you don't experience with azubare experienced and in

18:54

types of let me tell you what's is

18:56

so experience and had skipped these reading a

18:59

really detailed course on it. We just added

19:01

episode of stumped We're We're quizzing each other

19:03

and types good stuff. The man knows his

19:05

stuff. And I'll tell you what if

19:07

you do a command signed. In.

19:09

The syntax, code base and

19:12

sentiment do this right this

19:14

second on. I bet

19:16

I could find. Some. Casting or

19:18

some any or something and I don't have

19:20

he wrote. it may be ironic and I

19:23

blame it is a yeah. I'll be able

19:25

to find something where you could say this

19:27

is like a patch on top of something

19:29

you know just because that's just the way

19:31

it is working and types Gibson Times and.

19:34

Yet. And I can just add to that

19:36

like one of the experiences I had Actually

19:38

starting from scratch is just doing like a

19:40

slow ports. So I have several code bases

19:42

that. It's. And it just a mess

19:44

of like copy pasted code. I get it works

19:46

for what I need to, but I was trying

19:48

to like more modernize that code base and one

19:50

thing I'm doing is just converting it to him

19:53

on a repo one product at a time and

19:55

in the process converting it to tie script like

19:57

one project in one file at a time so

19:59

I'll add a new. Package to the money

20:01

Repo. All starts to for

20:03

over the code but any time it's like not

20:05

using types river didn't have the exact right types

20:07

of in the time making it work in in

20:09

making a nice and pretty and using all the

20:11

types that I can. I realize that not everyone

20:14

has that luxury right? You can always start from

20:16

scratch, he can always. Just like port

20:18

everything over piecemeal. but it's It's a personal project, so

20:20

I think it it depends on the size of the

20:22

product, depends on your scenario, but there's definitely a lot

20:24

of ways to approach it. Yeah.

20:27

Absolutely I it's it is one of those things

20:29

he kind of just gotta go for it and

20:31

you will learn lessons along the way and have

20:33

you ever have to do it again your to

20:36

be way better at it. Yes, I definitely down.

20:38

we'd have to get that opportunity. Oh gets next

20:40

question here from it. Tim Wrinkle. Tim.

20:43

Says I am working on a

20:45

couple of counted down apps. One

20:47

is a single timer, the other

20:50

is multiple timers with a com

20:52

and start in different and times

20:54

when scenario a short term like

20:57

fifteen minutes the other is a

20:59

count down to Christmas sort of

21:01

thing. My question is of performance

21:03

and accuracy assuming that timers update

21:06

once per second using set interval.

21:08

Is it better to establish the

21:10

based time using new date or.

21:13

Whatever and just keep subtracting one

21:15

second from that. or do a

21:17

new date every second. Ah

21:21

this is a a fun problem is you

21:23

once you get in and to. Send.

21:25

Interval and said timeout. Hum.

21:28

Sometimes it can He can feel like. A

21:31

little rough. I have done some timers and

21:33

stuff but I'm interested to hear what you

21:35

have to say. See Day shirts. Yet.

21:37

So I I've heard the way that I've approached it

21:39

and and again this is just my place. I think

21:42

the other thing about this is like what Tim as

21:44

described. You'll probably work. I think it egg when it

21:46

comes down to accuracy. that's might were might be were

21:48

there. There are some kind of like holes in the

21:50

plan but let me tell you I guess how I

21:52

would implement it. And in some things about

21:54

said interval and set time out because what you may

21:56

not realize is that with said interval and set time

21:58

out with the you pass and. Five hundred

22:00

milliseconds. That's only a minimum guarantee.

22:03

Of when the the function will be called

22:05

again, it's not that dysfunction will be called

22:07

in exactly five hundred milliseconds. So that's where

22:10

you lose that accuracy if you're saying. Said.

22:12

Interval with with the thousand and milliseconds. Is.

22:15

That a minimal mythos millisecond, but it might

22:17

be one thousand one hundred milliseconds or something

22:19

like that. It all depends on like what's

22:21

happening in your in your javascript codes so

22:23

that's important to know if you're using something

22:25

like said interval are set time out and

22:27

so my advice is don't actually use either

22:29

of those things. Basically the. The. State

22:31

are the source of truth. Here is potentially

22:34

the starts and in time of each of

22:36

your timers rate, so you might have a

22:38

assert time or that you set as like

22:40

of. The. Date when that specific

22:42

time or started and you may be have another

22:44

property that's like duration total duration in milliseconds And

22:46

so that's like kind of like your source of

22:49

truth in that the now that it's completely accurate

22:51

has no no matter how often set interval or

22:53

sets him out, runs. You. Can always do

22:55

the math to figure out when said that timer actually

22:57

and. Say. Yeah to keep your state

23:00

that way. Like have assert timer and in time or

23:02

a. Timer. Duration and. Milliseconds

23:04

and then. You also just have

23:06

a single tic function. So the the idea

23:09

with this is it gets cold once every

23:11

hundred milliseconds or once every two hundred milliseconds.

23:13

And that. Looks at the

23:15

state of all of your timers. The other idea

23:17

with implementing it this way. Is

23:19

you have we listings to manage rates alicea

23:21

like ten timers and they were all using

23:23

said interval. Now you have ten different functions

23:26

that are all potentially firing off at different

23:28

times. But. If you have a single tic function

23:30

that kind of like looks the your state of timers. Determines

23:33

or eight when did that timer start? when is

23:35

that supposed to end and and like update your

23:37

stood state accordingly as can be much easier to

23:39

manage and the other. Thought. With that is,

23:41

actually don't use the said interval for that, just

23:43

use a set time out for you set time

23:45

out in two hundred milliseconds. It's function runs. It

23:48

looks the your states to determine which timers are

23:50

done, how much time in the summer have left.

23:52

And then it calls itself into hundred milliseconds with

23:54

a set time and. Now.

23:57

It's funny as as you're talking I will win.

24:00

In looked up the last time I

24:02

wrote a stopwatch was for a dance

24:04

application isi as have worked on it

24:06

and application l me practice dancing in.

24:09

One of the things I had was

24:11

that every thirty seconds in a club

24:13

air horn would sound in. The reason

24:16

that is is because typically. A

24:18

break dancers when we do our our our

24:21

routines are I said they're like thirty thirty

24:23

seconds to forty seconds and it feels like

24:25

a lot of time when you're doing x.

24:27

It's really hydrant so the way the I

24:29

would train with like. Every thirty

24:31

seconds I would know there's an air horn Saw I

24:34

would. Do. Thirty seconds on Thirty seconds

24:36

Off Thirty seconds on Thirty seconds Off As

24:38

a way of training mind during so I

24:40

wrote this coats and I'm looking at this

24:42

discussion. I'll tell you this is how you

24:44

know how old this is an it is.

24:47

A one is using an

24:49

Auto bind decorator it's export

24:51

default class extends Pure Component

24:53

so he is. Pure

24:55

component from react which. Way.

24:57

Back in the day that's what we had

25:00

to do and a component will announce and

25:02

I haven't seen this style of react code

25:04

in a little while. And

25:07

it is it. Yeah, don't have too much

25:09

to add the I was pleasantly surprised to

25:11

see that the approach I took. That.

25:13

Long ago was exactly what you are

25:15

talking about. I protect function yeah, doing the

25:18

same stuff. So. As. I

25:20

see day. At this accessing comes from

25:22

L a drinker. And other question

25:24

is are you listening to podcasts? Which

25:26

ones? Ah so for Sept syntax I

25:29

listen syntax and say oh yeah me too little

25:31

syntax before I worked there and and know that

25:33

I do as well. but I like some the

25:35

podcast that come from L U N Y C

25:37

so there's This American Life and Radio Lab. Are.

25:41

Always just download some of those episodes if I'm going

25:43

on like a flight or like a long drive or

25:45

something like that. This. American Life is

25:47

literally just like Slice of Life Stories Radio Love

25:49

also kind of like Slice of Life, but they

25:51

do a lot of audio production so there's like

25:54

really interesting like music though add that kind of

25:56

like. A It adds to

25:58

the audio storytelling elements. And.

26:00

And. Then I like a podcast called the A Dark

26:03

Net Diaries. Have you ever listened? Yeah.

26:05

In fact, Jack. Jack

26:07

recite or did he one of our

26:09

spooky stories a couple hour winds ago.

26:11

forests and this on. Yeah, so what

26:13

we're we're candid mercantile. Yeah,

26:16

you see to them to tax on said

26:18

we're tied for. yeah that one's what's If

26:20

you haven't heard of it it's all about

26:22

like hacking and everything is involved with hacking.

26:24

Not not not only like cyber security would

26:26

also like physical penetration testing and so he'll

26:28

get guess a Jack will get guess on

26:30

there that I will kind of like describing.

26:32

talk about their their stories and exploits of

26:34

late breaking. Into buildings like legally because they

26:36

were hired to do so and then also

26:38

just general like hacking story So yeah, that

26:40

one super entertaining. Also since you

26:43

song explode or I hadn't listened more

26:45

recently split this one's cool because they

26:47

will get the actual musicians and producers

26:49

for songs and then kind of breakdown

26:51

What actually happened in the sand in

26:53

there was actually. A a Netflix

26:55

Series that Wants To was like as a companion to

26:57

the audio podcast. the the audio packets is really cool.

27:00

And then a couple more. It. Listen

27:02

to the podcast hold Your Biscuits it's from

27:04

written links some of like the oh gee

27:06

you Tube years. And other tagline

27:08

as to lifelong friends talk about life for a

27:11

long time so it's literally just them talking about.

27:13

Random. Things on, but I'm a big fan of

27:16

the. A good mythical morning,

27:18

so enjoy that. And then last one is

27:20

Wtf with Marc Marin so I sort of

27:22

thing alone. Samuel also like watched Ah Marks

27:24

tv show. He's a comedian and he just

27:27

interviews people I think started off with just

27:29

interviewing comedians. As. One of the episodes that

27:31

really. Sold me on It

27:33

was his interview with him Heidegger from

27:35

that some and Eric comedy duo and

27:37

it's the reason that one. Yeah.

27:39

That that when resonated because like Kim is almost

27:41

always in character like no matter what he's doing

27:44

it's like you kept telling as he pleases. zip

27:46

is is he not with that specific episode are

27:48

marked man like. Actually saw

27:50

him as a real person that likes to take

27:52

a real early good interview to like Really? Yeah,

27:55

just like with him and of address yeah those are some of

27:57

my favorites. Nice. Yes,

28:00

It's funny, I don't listen to too many

28:02

of those, but I have. You know, I

28:04

listen to Radio Lab for a long time.

28:06

Darkness Diaries. I do listen to A every

28:08

time I listen to song explode or I

28:10

really like it but I I took one

28:12

of those ones that I a and in

28:14

some part of my regular flow but I

28:16

just really enjoy it's on. I listen to

28:18

a lot of podcast. I'm in a list,

28:20

some of them, a lot of the opponent

28:22

put it. Word of warning, my comedy podcasts

28:25

are fairly crass. If you're not into a

28:27

juvenile crass humor, Do Not listen to these.

28:29

An. Action Boys is

28:31

one. It's a I. Three comedians

28:33

are talking about action movies from

28:35

the eighties and nineties. Big fan

28:38

of that. They are very funny

28:40

the the episodes typically lasts long

28:42

time he would. Be

28:45

One is a comedy podcast where

28:47

every single episode is the first

28:49

episode of a podcast. So they'll

28:51

be like Science Guys the Science

28:53

Guy Podcast and then they're They're

28:55

essentially they're improving on these characters

28:57

that they make as being like.

28:59

here's you know, three scientists who

29:01

started a podcast in. they get

29:03

absurd. They're very funny. On and

29:05

E your Kickstarter sucks is extremely

29:07

crass. Do not listen to that

29:09

one with your kids in the

29:11

cars. It's about Kickstarter is A

29:13

who are bad Kickstarter. Really are. but

29:15

it's it's. much more than a probably spend

29:18

thirty minutes of each episode just. Making.

29:21

Rude humor Jokes Fitness Podcast

29:23

Ellison stronger by science and

29:25

data driven Strength They basically

29:28

our in depth very scientific

29:30

podcasts about working out to

29:33

going over. Journals. And

29:35

all sorts of stuff. From. Actual

29:37

Trained Scientists Film Podcast I was

29:39

there to pure cinema video archives.

29:41

You must remember this is really

29:43

good history and crime and missing

29:45

right now to the Spy Who.

29:48

And it's about a guy who

29:50

debatably was the inspiration for James

29:52

Bond. This podcast is china like.

29:54

Claimed that he was the inspiration

29:57

but did a dad. That connection

29:59

is tenuous. The right interesting podcast

30:01

First by Stories. At. Dna

30:03

Id is all about how they're

30:05

using Dna Modern Lead to solve

30:07

crimes. It's little gruesome, swindled his

30:10

attorney, the range of like darkness

30:12

diary swindles, really good ones about

30:14

hucksters and also stepped very dark

30:16

net diaries will ask tactile cast,

30:18

the autumn meters. Local. First.fm

30:21

is a new podcast I listen

30:23

to about local for software the

30:25

privacy files. Music.

30:27

Podcast I do what had happened

30:30

was sick, interviews. Of. Rap

30:32

musicians careers over the course of

30:34

their careers. And. Pass

30:36

guess had been Prince Paul. L.

30:38

P Quest Love really good miscellaneous tales

30:40

of Taboo. I sick pick that one

30:42

before. it's a woman reading and out

30:45

in the stories from people who have,

30:47

you know I worked as a housekeeper

30:49

for wealthy people and stuff like that,

30:51

so like just interesting stories. Eighty Hd

30:54

rewired. Good for me, I learned

30:56

a lot and then search engine for kind of

30:58

generic stories. One of the ones I have recently

31:00

was neutered. Where did all the cockroaches go? And.

31:03

Attack in that house in the eighties and seventy

31:05

They were cock roaches everywhere I go. What happened

31:07

to that will? Where did that? You know? Where

31:09

did that go on? In is pretty interesting

31:11

south yet as long winded lot of podcast I like

31:13

in there are me you might be able to find

31:16

something that you enjoy as sick Picked a massive the

31:18

none of these in the past so. It

31:20

didn't. He has like years modify Rat

31:22

wasn't your spouse. I raptor like didn't

31:25

like you listen to an insane number

31:27

of hours less. You're disgusting. Yes it

31:29

is. It is. It's actually embarrassing. Yes,

31:31

it's very embarrassing. Gun or and in

31:33

the majority of those were actually a

31:35

pack as I did not even list

31:37

and this list because you're hockey podcast.

31:39

So I made spiritual my hockey podcast

31:41

list of which and I'm currently angry

31:43

because my. My team is doing

31:45

poorly so. Next.

31:49

Question of from ten snares with a

31:51

I on the rise: Do you think

31:53

free tier plans will become a thing

31:55

of the past? Or do you feel

31:57

that Gp you compute will get cheap?

32:00

For free two years. It

32:02

has to re mail but I it and and don't

32:04

have that's the correct where did he should I say.

32:07

I think that Crypto killed the free plans

32:09

long time ago. You know when was the

32:11

last time you saw like a Free Node

32:13

plans somewhere you know. Yeah,

32:17

I don't I don't think they're coming back.

32:19

The free plans yeah I think that was

32:21

at a time in a place was my

32:23

favorite way to learn meteor was that meteor

32:25

had like meteor upper wealthy meteor of either

32:28

a meteor deploy your something smells like you

32:30

could try out to play it right away.

32:32

I can't imagine anybody doing that. Nowadays.

32:35

Given a how you could just blood

32:37

about a crypto minor, something like that,

32:39

it does. This folks are ravenous. I

32:41

had like one minor security thing in

32:43

my eight of us account that I

32:45

wasn't even using in. somebody spun up

32:47

like one hundred servers overnight internally. you

32:50

know, twenty four thousand dollars so I

32:52

didn't have to pet her. Seat of

32:54

us came through, I shouted down in

32:56

a timely manner and eight of us

32:58

remove the church. But nano yeah, that

33:00

I'd I think you're. Yeah.

33:02

I think any time you give away something for free

33:04

people are gonna take advantage of it. and I think

33:06

like that. I get kind of started and I guess

33:08

was last year and of in this year before. that

33:11

works for a goof rules. they're free plants and one

33:13

of the biggest things they talked about was just. Spammers

33:15

spinning up servers for like.

33:19

Seeking. Schemes and stuff like that and. Yeah.

33:21

If you if you everything for free people are definite take

33:23

advantage of it. Some. I. Think

33:26

you're probably gonna see a shift into some

33:28

more of the three tiers with a site

33:30

flake. Render. In sight outta

33:32

yo the the offer like a a base

33:34

of like five dollars free per month but

33:36

you still need a credit card to sign

33:38

up and you can like said alerts so

33:41

that if you. Go over that

33:43

specific amount of limits then though. they won't charge, you

33:45

really will charge you. But ultimately they're just trying to

33:47

make sure that like you're a real human with a

33:49

credit card and not just trying like user services for

33:51

free. Yeah, Amateur Plug

33:54

Syntax Episode: The host Your

33:56

Own Platform as a service

33:58

because we recently doesn't. Feminists

34:00

in you can host

34:02

a time of things

34:04

on your own. Servers.

34:07

And be not necessarily you're like own set,

34:10

your own virtual private server that you can

34:12

rent from anywhere. And.

34:15

Toss coolest guy on there is a

34:18

self hosting platform similar to for Roka

34:20

who are nullify oversell writes doesn't do

34:22

this. Every was kind of stuff but

34:24

you can connect to get have repo,

34:27

get a site online with an Ssl

34:29

certificates and you can do that for

34:31

you know. A ton of side

34:34

projects on a small server if they're

34:36

not getting hit. So instead of having

34:38

to pay per application that you're deploying

34:40

to something like render, you can do.

34:43

A. Whole bunch of stuff on one

34:45

virtual private server and actually Cj.

34:47

I have in about. Two.

34:50

Hours A Mac Mini arriving that

34:52

I'm going to be using to

34:54

host things out of my office

34:56

so I'm eating into actual self

34:58

hosting. Hear from the enactment a

35:00

sigh. I'll have to do an

35:03

episode to update us on that.

35:05

Have a degree! I started like a whole

35:07

like a home lab. Yeah. I'm

35:09

like a bot like it. I mean I researched

35:11

like actually putting servers in your house, but anyone

35:14

considering doing this, do the research because you get

35:16

what you eat you can use of how loud

35:18

they are. You do not want a server like

35:20

sitting in your office has to be spinning fans

35:22

all the time. That's why when

35:24

Mac Mini route yet or artists who and

35:26

I'm doing is is I have many. I

35:28

have a few Raspberry Pi as and I

35:30

have a have a Mac Mini. So I'm

35:33

going all arm here and I'm not doing

35:35

the classic Home Lab linux server deal. I

35:37

am. There are yeah yeah I have. I've

35:39

done some of their research by. Yeah, it's

35:41

a it's a wild world, the homeless or

35:43

stuff. In fact, When. They say

35:45

that. S. My

35:50

my rack mounted power strip just arrived

35:53

just so my my other arm homeland.

35:55

So sweet! Yeah,

35:58

I couldn't get that excited about. Recommended our

36:00

ship. Or this next question

36:02

comes from Spike. And. Question

36:05

is what is sim ver anyways or which

36:07

is short for some antic version sent version

36:09

and and us they are better at the

36:11

long story. I'm going to summarize and honestly

36:14

the story might even be good for like

36:16

one of the the Spooky Halloween episodes because

36:18

it's about upgrading when they shouldn't have with

36:21

the deal the are is they wanted to

36:23

use Jacory Version Three features. So.

36:25

They just upgraded without realizing that some downstream

36:27

site was actually dependent on ce qui be

36:29

to why it's got really mad they started

36:31

reaching out why is everything broken and they

36:33

just downgraded back to to be too. So.

36:36

I'll dive in really quick to talk about

36:38

what Simmer is if you wanna learn more.

36:40

simple.org has a great explanation of and what

36:43

this is. Flights You've probably seen it before.

36:45

So if you're installing a package from in

36:47

Pm. Is always gonna

36:49

have a three.number So that's the

36:51

major number.the minor number dot the

36:54

past number. The. Print version of

36:56

react is eighteen Point Two Point Zero

36:58

and so eighteen is the major version

37:00

to is a minor version and zero

37:02

is the past number. And. If

37:04

a project is falling, semantic versioning like

37:06

the React library is that major numbers

37:08

that eighteen if that ever goes up.

37:11

That means there are breaking changes. So

37:13

that's why we see the jump from

37:15

like sixteen, seventeen eighteen reactors introduce. Backwards.

37:18

Incompatible changes and they're letting you know by

37:20

other the version number though. Major version number.

37:23

The. Minor version number is four Added functionality.

37:25

Select new features that don't break things.

37:27

So the next version here if react

37:30

as and features would be eighteen point

37:32

three instead of it. For to and.

37:34

Then that last number is four patches and bug

37:36

fixes. So if there's maybe not a new feature

37:38

but the fix a bug, they would bump that

37:40

to eighteen Point Two Point One. And.

37:43

There's other stuff to learn about this like pre release

37:45

and like alpha and and different things like that. Plate.

37:48

When you see a version number like that. It's.

37:50

Very likely that the product is using semantic

37:52

versioning. You. Should note though, that

37:55

any version number bubble below version One.

37:57

There are no guarantees so you can access.

38:00

Breaking changes at any time in I have

38:02

experience with that are more recently whisked off

38:04

J S so as the project from the

38:06

next asked him to make. It. Off

38:08

library that will work with a lot of different

38:10

back in libraries not just next to us and

38:13

it's experimental some and they clearly labeled as on

38:15

their website so they are Version Zero Point Two

38:17

Eight Point Zero so they're not even version one

38:19

yet that each each new feature a lot of

38:21

times actually is a freaking change in. Next time

38:23

it'll be like Zero Point Three years your point

38:25

Four. Thing. You can't

38:27

always guarantee that they're. They're. Falling

38:29

Smith versioning but you didn't like look at

38:32

their at the of look at the library

38:34

and and and see what they say in

38:36

their dogs. And then another interesting one is

38:38

take script subtypes of actually doesn't follow semantic

38:40

versioning at all this yeah. And

38:43

they they have a A linked in the show

38:45

notes there's an article that describes what exactly is

38:47

your. give you the short version here. So. A

38:50

new minor version is released every three months.

38:52

With. New features, And then a

38:54

new major version is released if the minor

38:57

version would have exceeded nine. So if they

38:59

if if they're going from four point nine

39:01

to if to four point ten, he actually

39:03

just bump the whole version to five. So

39:05

they're They're actually. You'll find that

39:08

in types of to lot of times you can upgrade from.

39:10

Four. To five in there actually are breaking changes

39:13

and as because they're actually following semantic versioning.

39:15

Yeah. Was is is I really

39:17

like that explanation about everything would funny

39:20

is that I've always sit and I

39:22

could not tell you why this is.

39:24

Have always said Sen Var. And

39:26

like. Now. That

39:29

you saying Send their. Saying.

39:31

Like that unlike obviously had some there.

39:33

I don't know why I would have

39:35

ever said some bar in the first

39:37

place. I don't have a lot of

39:40

things wrong so many I don't have

39:42

noted. semantic versioning Sen Var that makes

39:44

so much more sense than said bar

39:46

I have no idea why of possibly

39:48

would announce Zealand Barracks I know so

39:50

that on the podcast the whole bunch

39:52

of in a general rule to of

39:54

you're updating packages. Typically you can update

39:56

a patch version but always test your

39:58

code make sure words I pretty. The

40:00

always yolo update patch versions for stuff and

40:02

then just make sure everything's working Afterwards I'll

40:04

update you know, ten or so different of

40:07

this a bad practice but I'll update like

40:09

ten or so different packages to patch version

40:11

that once typically because it doesn't break anything

40:13

but name. Yeah. You never

40:15

can be sure. Yeah, that tested.

40:18

Next question here from Adam Marsala.

40:20

I have a question about your

40:22

home office environment. To do have

40:24

any general specific recommendations of how

40:26

to create a productive but also

40:28

relax workspace it for thinking clearly

40:30

and stain comfortable and focused. I've.

40:33

Been working from home is web developer for

40:35

two years now. I'm still using a room

40:38

in our house that was once used for

40:40

a kid's room judging by the cloud wallpaper.

40:42

Old Estrella, Toy Story. Wallpaper or

40:44

it has never felt like my own

40:46

space. Instead, it just feels like a

40:48

space I am borrowing for the time

40:51

being. It's full of clutter as well

40:53

as my partner and I are sharing

40:55

the office for storage, which doesn't help.

40:57

I'm wondering if either you have any

40:59

experience or ever come across any interior

41:01

design related had to make a home

41:03

office feel more like a home office

41:05

that keeps you productive. unhappy. A funny

41:07

but embarrassing side note. I was in

41:09

a meeting the other day and someone

41:11

saw the cloud wallpaper my background and

41:13

they said. That are they. They

41:15

thought I was just really into sales

41:17

force. Class.

41:20

Ah, what makes your home office feel good

41:22

to you? Have for me.

41:24

Clean air, clean desk, no junk,

41:26

lights and headphones is is a

41:28

big one for me. I have

41:30

a air purifier over here. Distinct

41:33

unum. Cycle. Through the air but I

41:35

also up in the windows as much as possible

41:37

she got windows. That's a good thing to do.

41:39

Get some fresh air in there and. You.

41:41

Know if you have the opportunity to

41:44

put windows or later whatever. yes do

41:46

that are you know some some waiter

41:48

bob's rather than. Oranger. Bulbs

41:50

will definitely give you more of

41:53

a a work feel. It will

41:55

keep you more focused and less

41:57

relaxed and necessarily on. It.

42:00

Those are some just kind of general

42:02

things but leno I think the big

42:04

things are is that you have a

42:06

like it a clean workspace more so

42:08

than like yes sure I have my

42:10

my kung fu movie posters over here

42:12

and I have. Some

42:14

art over there that I did and stuff like

42:16

that in the those things absolutely paint if you,

42:18

if you can get rid of that cloud wallpaper

42:20

Me: do it like just spend the weekend and

42:23

do it painted how you wanted to look and

42:25

throw some art up on the wall. But the

42:27

things that are most important to me is that

42:29

my desk. Is at least clean at

42:31

the beginning of the week as though he goes

42:34

on. It's it's Tuesday. My desk is

42:36

already not Clinton but Monday was clean. I'll

42:38

tell you that are those are some big

42:40

things for me on as long as a

42:42

knock, knock and stuff over when I'm trying

42:44

it, to sit here and be productive or

42:46

I can stand the move around. You have

42:48

that space. But. Also, you

42:50

can pull yourself into a more enclosed

42:52

environment by putting on headphones and by

42:55

doing those types of things, I can

42:57

get you more. Connected. To

42:59

what you're working on a the desert those are for

43:01

me what he will you think? Cj. Yeah.

43:03

I mean, I completely agree. I try to keep my

43:05

workspace clean as appalling the thing I'm worst of out,

43:08

but I always know it like I'm way less productive

43:10

when I'm like tripping over. Staff were like it's all.

43:12

the things are super cluttered so. I. Always

43:14

at least one at once once a

43:16

week or and sometimes six hiding up.

43:19

I recommend calling decorations you know,

43:21

like into greenery, plants, anything that.

43:24

I mean makes your your space milk feel

43:26

more comfortable. End of relaxing am I completely

43:28

agree with lighting. So like if you have

43:30

a window and can do natural lighting was

43:33

probably the best way to go cause of

43:35

our. Circadian rhythm and like actually

43:37

seeing real sunlight when you're working during the

43:39

day fight. If you can't you should look

43:41

into lights that allow you to adjust the

43:43

color temperature. So actually have to lights here

43:45

and they can go all the way from.

43:48

Like. A really low like two thousand and K

43:50

all the way up to like sixty five hundred

43:52

k and daylight is like a much higher key

43:54

value. And so as you can find adjustable lights

43:57

that's that's illegal thing and the no direct mean

43:59

if you can't. Paint You can't You Wallpaper

44:01

just use curtains you have. There's actually a

44:03

like a little behind the scenes. There's no

44:05

wall behind those yellow curtains. There's no way

44:07

he says it's their hundred and are in

44:09

for the for the audio listeners I have

44:11

yellow curtains like way behind me behind all

44:13

my stuff that having up. But.

44:15

I mean like a big basement space? or kind of

44:17

like sex and things off with curtains? basically. So

44:19

yeah, least it's a it's super easy. it's not

44:22

permanent. And. If you

44:24

wanted to be permanent you can like attach a

44:26

curtain rod to the wall or to the ceiling

44:28

or whatever else. But you can also look into

44:30

stock photography backdrop stance. So I go out of

44:32

what people in Like Film and Tv do with

44:34

like set design. It literally will just put up

44:37

a stand and make it appear like there's a

44:39

crow window behind some curtains or something like that.

44:42

And. Then I think see your point of like being

44:44

a little bit embarrassed about the cloud background. Honestly,

44:46

I guess you could be a little bit. Vein about it

44:49

and like how to just focus on your

44:51

back is especially if you're camera not camera

44:53

A lot focus on what people can see

44:55

and your background because if for you people.

44:58

if you feel like you're getting of. Of.

45:00

I guess better vibes are better impressions from people that

45:02

are your rear with on video chat a lot. Like.

45:04

Might also help with your own. Ideas.

45:07

Of your of your workspace so yelling try to make

45:09

an interesting backdrop for at least a com one that

45:11

it's a lot better than just like a beige. walls

45:13

are like a stack of boxes or something like that.

45:16

Yeah in my my own to go

45:18

off of that. My office here. Like.

45:20

You're saying it looks nice behind me, but

45:22

if I were to turn his camera around,

45:25

one of my one of my pictures fell

45:27

off the wall. I got a monitor on

45:29

the Florida Lights over here in Lucky I

45:31

pick up. you know I do once a

45:34

week, but. Yeah. I worry about the

45:36

stuff behind me more to the stuff in front

45:38

of me. That's exactly. Yeah.

45:40

There's a I have a couple linux I think at. The I

45:43

read at the beginning of their question their kind

45:45

of. I kind of interpreted it as like trying

45:47

to find a workspace at home, but mainly they're

45:49

talking about like interior design. But I will say

45:51

for anybody that is new to working from home.

45:54

I'm definitely have a dedicated space for that.

45:56

So like when the when the pandemic hit

45:58

and I was working from home more. Often

46:00

I did all my work from the couch

46:02

and I was not good like I ate.

46:04

It was very hard to like Shut off

46:06

my work brain at five pm. Also.

46:09

Developed Resists used those using the trackpad on with how

46:11

for the same. Here. So if you

46:13

have the luxury of separate space as use them

46:15

to like i actually have a separate hamas is

46:17

from my my like work off the sewage. End

46:19

of the day here I can walk and then.

46:22

It's almost like a mental thing to like. Go.

46:24

Into a different room and like now you're you're not working

46:26

anymore in bickering and side projects and stuff like that are

46:28

like if you're in the living room it's and cilic your

46:31

your outward. Yeah. Separating on

46:33

environments his is key when we we

46:35

butter or most recent house here. It

46:38

has the are in office it has

46:40

to the garage cousin in Denver you

46:42

often have like garages in the alley

46:44

in so. When we were looking

46:46

at houses i don't have that the guy who

46:49

own this house before as I can accountant or

46:51

something so he finished this space that was attached

46:53

the garage and I when i saw like. This.

46:55

Is the perfect work from home environment because

46:58

specifically yeah you can really say I got

47:00

a door I can walk out that I

47:02

doors and got him out of build like

47:04

I'm truly going to work and know that

47:07

obviously a luxury for me year but like

47:09

yeah just separating those spaces is is so

47:11

key in. You note about the couch.

47:14

A. Check this out a minute. Get off my

47:16

gear for a second is move my camera around.

47:18

A. Little. Behind the scenes,

47:26

A dog and it's allies? Yeah,

47:29

Years of mass over here. Yeah.

47:35

Sorry. Out there was a. Sorry

47:38

that was not eating but I I put a

47:40

couch in my office in. Let me tell

47:42

you it does not sit in here. Well it's

47:44

a cheap old Ikea couch that we've had

47:46

for like fifteen years at this point and my

47:48

wife was like let's get rid of this

47:50

thing and as I not so fast I'm going

47:53

to shove it in my tiny little off as

47:55

hear that way I can I have a

47:57

couch of I need to. Later.

48:00

In think nice. Yeah.

48:02

It was in comes from mister javascript and

48:04

he says he's got and west but actually

48:06

he's he's got see dates I do You

48:08

never stopped to consider views a S and

48:11

twenty twenty four. Why or why not? Do

48:13

you like movies with gladiators? I'm on a

48:15

gladiator point. I guess. I don't want a

48:17

lot of gladiator movie. Hum. But.

48:20

Ah, I didn't use actually been

48:22

using Djs for very long time

48:24

and I exclusively like really before it's

48:26

felt really took off. I would

48:28

almost always shoes Djs for side

48:30

projects. And I also ran the

48:32

interviews a a speed up here. So yeah I

48:34

ever a long will have four per view but

48:37

these days I am reaching for spilt more because

48:39

I think one of the reasons that I liked

48:41

you so much is that it it got rid

48:43

of a lot of the boilerplate, have reacted made

48:45

it so easy to. Lead build

48:48

things without a bunch of boilerplate you can mutate

48:50

state was actually I'm a really big fan of.

48:52

Instead of like having to work with Mutable State.

48:54

That. These days I would say in

48:56

Twenty Twenty Four if I were to choose you it

48:58

probably would be because of next. Is not

49:00

is also doing some really cool things and. That's.

49:03

The competitor or the compare compare it to

49:05

like felt kid or next to us but.

49:07

But. For view. I'm but their death

49:10

experience is pretty awesome. I I tried it

49:12

about a year ago like right when a

49:14

three was released in it was still early

49:16

days is because he three had just come

49:18

out. but. It's. It's about the time

49:20

I should. I should try it again because it's the

49:22

ecosystem has definitely matured a lot more. And.

49:24

Then. On the last point of

49:27

view is also still. Doing cool

49:29

things I'm so. Views Three Vapor was

49:31

announced like a few months back, but

49:33

I think it might have been released

49:36

more recently. It is

49:38

basically like a compiler for for your

49:40

view components, so there's definitely been a

49:42

push in the web development world in

49:44

front end to have much more performance.

49:48

From. Encodes and V promote basically allows

49:50

you to opt. So.

49:52

That you can get components that.

49:54

Are actually using the virtual Dom and have basically been

49:56

optimized ahead of time and so that's a cool thing

49:58

they're doing that. Kind of. Get them in line

50:00

with the the cool stuff that like Salt is doing or even

50:02

like solid J S. Yeah.

50:05

Yeah, you know what I'm I'm interview Jay

50:07

as documentary of the Honeypot once. I definitely

50:10

have a history with View and you do.

50:12

I really liked working in View. I. Very

50:15

similar will lead to you. I

50:17

picked abuse because you know it

50:19

was. It was a

50:22

step in the more. Comfortable.

50:24

Direction for me away from React. I worked in

50:26

React for a long time but I you night

50:28

before that I came from Blaze which is what

50:31

meteors framework is in Blaze. Ah,

50:33

Evan actually worked on Blaze for a little bit,

50:35

so. It was very

50:37

similar to view in a lot of ways

50:39

in so when view came out I was

50:41

like this is feals way more at home

50:43

for me compared to when I was dealing

50:45

in react but very similar to you stults

50:47

to me took that. The next

50:49

step in because sell ticket in the next

50:51

step. It's like I didn't need that middle

50:53

ground option and I am opting for salt

50:56

just about one hundred percent on the time

50:58

out. A So for me, I'm in the

51:00

smell world. And. Reactors like and

51:02

the one end of it can do a

51:04

lot but you have to do a lot

51:06

in view is in the other end of.

51:08

It it. Can do a lot but you

51:11

have to do little and views kind of right

51:13

there in the middle and for me like that's

51:15

why I'm picky It it's great if your view

51:17

developer awesome it's great platform in in people often

51:19

ask why we not talk about on the show.

51:22

I think it's mostly just because we're not working

51:24

in it frequently but I I I really do

51:26

love View on Three. Check out onjs.io Cj. I.

51:29

Have So most of what I know about

51:31

it is it's what's powering next. Yeah and

51:33

I gave it a try when I was like

51:35

looking at various like back and frameworks could like

51:37

it. It's inside you similar stuff to like

51:39

oh no and stuff like that yeah. Yes,

51:43

You're you're dead on with all of that in I a

51:46

the exact same thing. I looked at it and was like.

51:49

Ah, and I give it a try. Signs

51:51

thirty, there's some cool stuff. They just announced

51:53

some interesting, you know, Easy to

51:55

add web sockets, all kinds of little things

51:57

in their nature platform. There's a lot of.

52:00

The here and when you go to this N J S website

52:02

year I give you have and uses before you might be thinking.

52:04

Holy cow, There's a lot of stuff here

52:06

in there really is it does allow for

52:08

yourself Stephanie something that to check out anything

52:10

else on the view view subject while we're

52:12

here. See dirty? Want to get into sick

52:14

Texan shameless plugs. It's all I

52:17

got was something that sucks. Cause. I

52:19

have. I have a sick

52:21

tech today actually have one

52:23

ready. It's a yogurt. I'm.

52:26

Bringing yogurt to the show? there is it

52:28

in a minute. Preface this with this is

52:30

a. Boozy. As yogurt,

52:32

this is expensive on, but my

52:34

wife has been getting it from

52:36

Whole Foods lately and ads. Lns

52:39

I think that's how you said

52:41

and it's and Seattle based. Yogurt.

52:44

And. My gosh it is the

52:46

best It's so good and I i

52:49

did not know it was expensive and

52:51

i told to cornea said. Please.

52:53

Only by allah knows and buy tons of

52:56

it and she's like that will bankrupt that's

52:58

that's not gonna happen himself or it's a

53:00

little treat. It's lovely. but if you're if

53:02

you're if you're yogurt person give to try

53:04

and it's a it's greek yogurt so high

53:06

protein, all that good stuff or in the

53:08

bottom very very good. Super yummy. You can

53:10

find it at Whole Foods. I am thinking

53:12

about calling up Cut, my local Costco and

53:14

Helen I'm literally have to do to get

53:17

this and bulkier. Nice. At.

53:19

For me I also taking a food

53:22

and I have as usual cities will

53:24

say I like I like spicy food

53:26

and I recently discovered pepper flakes from

53:28

Flat Iron up Africa. And.

53:31

In Lol Yeah so that's the thing about

53:33

this is like I never thought that pepper

53:35

flakes could like actually have flavor for me

53:38

it was also always like add some pepper

53:40

flakes make it a little more spicy. The

53:42

plate. This. Changed everything Like so.

53:44

I especially like the The Green The

53:46

Hats Hatch Valley Green. Pepper

53:48

Flakes a very Colorado have you had yeah

53:51

school the it's it's flat iron pepper. consider

53:53

their Colorado Anthony ah but you can find

53:55

it like on Amazon. I think they're in

53:57

a lot of like major grocery stores to

53:59

but. If you like spicy foods,

54:01

ah, it's. Super awesome especially for me. I was

54:03

using hot sauce a lot of things but it's want us

54:05

to switch it up every now and then use and you

54:07

some pepper flakes instead. Gonna

54:10

check this out. I you know we have

54:12

sex or just I was make it a

54:14

little spicy loyal yesterday and the pepper flakes

54:16

we had not a huge fan didn't really

54:18

love it and I they can get a

54:20

new pepper flakes oh this is really timely

54:22

for me he said i am I why

54:24

do you got me the at the street

54:26

The three packs a Christmas so they have

54:28

like a smoky you on like a traditional

54:30

read and then like a green one to

54:32

see get a from the savory spice up.

54:35

I don't know. Have you ever been to

54:37

the savory Spice Up Habit? Okay there

54:40

is a a savory a spice

54:42

shop which this. The Savory is

54:44

as name of that is the Savory

54:46

Space Shop and they have these in

54:48

a few cities. I know they're they're

54:50

across but I wanted their the big

54:52

stores in Denver in it's right by.

54:57

Analyzed by that the bridge that goes

54:59

from the highlands to load own about

55:01

little bridge and a what else is

55:03

over there. The are he I flagship

55:05

stores rate over there so it's a

55:08

great across the street from that that

55:10

plays rules If you're in spite of

55:12

deserves our Denver area check out the

55:14

Zebra Spice Shop shoutout to them their

55:16

defense as I think there's one in

55:18

Chicago and Sept do so. In. A

55:23

Shameless Plugs. I'm going to plug

55:25

the Syntax You Tube channel and

55:27

and I gotta say, Cj just.

55:30

Released. A couple of videos and they're

55:32

fantastic. So you been like and Cj on

55:34

the show, head on over to add Syntax

55:36

Fm on you tube and will have a

55:38

link in the show. Notes: Were posting the

55:40

podcast and visual memory If you want to

55:43

see me tilt my camera show my dog

55:45

on the couch that's on their arm. So

55:47

yeah, check it out Syntax on Youtube. Were

55:49

doing a lot of fun stuff and it's

55:51

only gonna get better over there. Nice.

55:54

Amezaga pick the same is a cave. We

55:56

seems like the same thing is it's more

55:58

than okay. Great yeah. You'd you'd

56:00

you Beauty to beauty.com/at since Xfm subscribe.

56:03

Please come and check out my videos

56:05

because it's it's! been fun making them.

56:08

And yeah, to got you to. Yeah.

56:10

Absolutely check out you tube A quote

56:12

what? this has been awesome I hope

56:14

your lot of on Cj and own.

56:17

Yeah. That's. All

56:19

I got. Peace.

Rate

Join Podchaser to...

  • Rate podcasts and episodes
  • Follow podcasts and creators
  • Create podcast and episode lists
  • & much more

Episode Tags

Do you host or manage this podcast?
Claim and edit this page to your liking.
,

Unlock more with Podchaser Pro

  • Audience Insights
  • Contact Information
  • Demographics
  • Charts
  • Sponsor History
  • and More!
Pro Features