1
00:00:02,240 --> 00:00:05,840
Testing. 
What's up? 

2
00:00:05,840 --> 00:00:09,400
I'm Jacob Blitzow, your Elixir 
mentor, and I welcome you to the

3
00:00:09,400 --> 00:00:11,760
show. 
This is a place where we discuss

4
00:00:11,760 --> 00:00:15,280
everything related to Elixir, 
from interviews with enthusiasts

5
00:00:15,280 --> 00:00:19,200
and pioneers in the community to
innovative projects and 

6
00:00:19,200 --> 00:00:21,560
libraries that are shaping 
Elixir's future. 

7
00:00:21,560 --> 00:00:24,640
So let's get started. 
Today we've got Andrew Stewart 

8
00:00:24,640 --> 00:00:27,760
with us, a key player in the 
Elixir scene, and the brain's 

9
00:00:27,760 --> 00:00:30,400
behind an awesome YouTube 
channel, which I'll put in the 

10
00:00:30,400 --> 00:00:33,680
description below with tons of 
Elixir content. 

11
00:00:33,680 --> 00:00:37,480
And I think he's even going to 
be doing a lot of other stuff 

12
00:00:37,480 --> 00:00:40,480
that he's interested in, so 
definitely worth checking out. 

13
00:00:41,080 --> 00:00:44,040
Andrew, welcome. 
Could you give us a quick intro 

14
00:00:44,040 --> 00:00:47,440
about yourself and your 
experience with Elixir? 

15
00:00:48,640 --> 00:00:50,800
Yes, definitely. 
Thank you very much. 

16
00:00:52,400 --> 00:00:57,360
I got started with Elixir 
through Ruby originally. 

17
00:00:57,520 --> 00:01:03,960
I was a Ruby web developer for a
while and worked at a company 

18
00:01:03,960 --> 00:01:08,880
that had a little bit of Elixir 
stuff and got really interested 

19
00:01:08,880 --> 00:01:13,000
in it there and quickly got to 
the point where I was like I 

20
00:01:13,000 --> 00:01:17,640
don't want to do Ruby anymore. 
I I want to go full time just 

21
00:01:18,360 --> 00:01:20,160
writing Elixir. 
So that's what we that's what I 

22
00:01:20,160 --> 00:01:26,200
did, and it's been fantastic. 
You know, I'm really glad that I

23
00:01:26,200 --> 00:01:30,440
made the switch to it. 
There's a lot of like 

24
00:01:30,440 --> 00:01:35,400
overlapping knowledge, I think. 
I mean, I was already a Ruby, 

25
00:01:35,400 --> 00:01:41,320
Rails web developer for a while,
but but yeah, so that's kind of 

26
00:01:41,320 --> 00:01:46,600
how I got to writing Elixir. 
And before that point I was 

27
00:01:46,600 --> 00:01:52,080
already really interested in 
doing a little bit more front 

28
00:01:52,080 --> 00:01:59,800
end kind of stuff than most just
back end web developers I guess.

29
00:02:01,400 --> 00:02:05,520
I had a couple people that I 
worked with that were really big

30
00:02:05,520 --> 00:02:09,080
JavaScript people that got me 
more interested in it. 

31
00:02:09,520 --> 00:02:15,000
So on my spare time for quite a 
while, everything I wrote was 

32
00:02:15,000 --> 00:02:19,200
just JavaScript, single page 
apps and that kind of thing. 

33
00:02:20,320 --> 00:02:25,360
So I think I kind of have 
brought that perspective to the 

34
00:02:25,360 --> 00:02:31,840
rest of my career too, of like I
really enjoy doing the full 

35
00:02:31,880 --> 00:02:36,080
spectrum. 
You know, I'm totally fine just 

36
00:02:36,440 --> 00:02:41,360
sitting back and doing back end 
work exclusively if that's what 

37
00:02:41,360 --> 00:02:46,480
the situation calls for. 
But I really enjoy more doing a 

38
00:02:46,480 --> 00:02:52,400
mix of everything and getting to
kind of do true full stack 

39
00:02:52,400 --> 00:02:59,640
developments and that's coming 
around to like Live View. 

40
00:02:59,920 --> 00:03:02,800
That's one of the things that 
really interested me about it. 

41
00:03:03,400 --> 00:03:09,320
I'm not like some people that I 
think get interested in Live 

42
00:03:09,320 --> 00:03:12,840
View are coming at it from the 
perspective of it being an 

43
00:03:12,840 --> 00:03:18,160
alternative to JavaScript and 
that's certainly one way to look

44
00:03:18,160 --> 00:03:20,920
at it. 
But I think it really works 

45
00:03:21,120 --> 00:03:27,440
better if you look at it as it's
just it's another tool. 

46
00:03:27,440 --> 00:03:30,960
You know, there's some things 
that I think Live View does 

47
00:03:30,960 --> 00:03:36,280
really well for doing rich 
interactions on seemingly on the

48
00:03:36,280 --> 00:03:40,280
front end and there's some 
things that are best done still 

49
00:03:40,280 --> 00:03:45,320
in in JavaScript. 
But yeah, so that's kind of like

50
00:03:45,320 --> 00:03:49,720
an overview of what I'm 
interested with regards to the 

51
00:03:50,040 --> 00:03:53,520
Elixir ecosystem, I think. 
I love that I'll. 

52
00:03:54,240 --> 00:03:56,560
I never understood you front end
guys. 

53
00:03:56,560 --> 00:03:59,760
I hated it. 
I never wanted to do it And then

54
00:04:00,040 --> 00:04:03,640
and then I started this YouTube 
channel and I was only, I was 

55
00:04:03,640 --> 00:04:06,120
like originally I called it back
end stuff. 

56
00:04:06,120 --> 00:04:07,640
I was like that's all we're 
going to do. 

57
00:04:08,000 --> 00:04:11,200
And then so many people were 
like, can you please do a 

58
00:04:11,200 --> 00:04:13,200
Phoenix course? 
Do the new Phoenix do. 

59
00:04:13,200 --> 00:04:16,240
And it forced me to learn how to
do front end dev. 

60
00:04:16,680 --> 00:04:20,760
And I'm by no means a pro, but 
I'm figuring it out and it is 

61
00:04:20,760 --> 00:04:25,680
becoming a lot more enjoyable. 
But that kind of, yeah. 

62
00:04:25,720 --> 00:04:28,440
Somehow. 
Oh, go ahead. 

63
00:04:28,440 --> 00:04:31,160
I was going to say it kind of 
brings us into our topic today 

64
00:04:31,160 --> 00:04:34,720
where we're going to talk about 
the learning curve of Live View,

65
00:04:34,720 --> 00:04:38,960
right? 
Definitely, yeah, there there 

66
00:04:38,960 --> 00:04:42,000
is. 
There is a learning curve I'm 

67
00:04:42,000 --> 00:04:48,480
really amazed making, Starting 
to make YouTube content about 

68
00:04:48,480 --> 00:04:51,000
Live View. 
How many people are interested 

69
00:04:51,000 --> 00:04:58,520
in starting with it that seem 
like they, you know, are hitting

70
00:04:58,520 --> 00:05:01,640
the ground running? 
Like learning Phoenix and Live 

71
00:05:01,640 --> 00:05:04,760
View at the same time and maybe 
learning Elixir at the same 

72
00:05:04,760 --> 00:05:05,560
time? 
I don't know. 

73
00:05:06,240 --> 00:05:10,080
That's a big, that's a big 
learning curve. 

74
00:05:10,240 --> 00:05:13,080
I don't know. 
I would be very intimidated if 

75
00:05:13,160 --> 00:05:16,160
that was me trying to start from
scratch. 

76
00:05:16,240 --> 00:05:19,600
It's a huge learning curve. 
I always try to recommend 

77
00:05:20,160 --> 00:05:24,280
learning Elixir, like learn the 
basics of Elixir, then start 

78
00:05:24,280 --> 00:05:27,960
playing around with Phoenix and 
then enter Live view, right? 

79
00:05:27,960 --> 00:05:32,560
But people like to jump all in. 
And I I mean, I think it's the 

80
00:05:32,560 --> 00:05:34,880
best way to learn, especially if
you're building something. 

81
00:05:34,880 --> 00:05:37,480
If you're building a project you
really want to get done, you're 

82
00:05:37,480 --> 00:05:39,720
going to learn a ton. 
You're going to make a lot of 

83
00:05:39,720 --> 00:05:41,360
mistakes, but that's how you 
learn. 

84
00:05:43,280 --> 00:05:48,480
Yeah, when I first started 
getting interested in it, I kind

85
00:05:48,480 --> 00:05:52,280
of took that approach because 
that's what I had done in the 

86
00:05:52,280 --> 00:05:56,400
past in my career or interests, 
just looking at other 

87
00:05:56,400 --> 00:06:00,200
programming languages. 
And I was working as a Ruby 

88
00:06:00,200 --> 00:06:05,640
developer and so I just started 
picking up, you know, Elixir 

89
00:06:06,840 --> 00:06:13,680
tutorial stuff online and doing 
like a lot of what it shows you 

90
00:06:13,680 --> 00:06:18,200
is, you know, talking about the 
whole process system, how it's 

91
00:06:18,200 --> 00:06:21,800
different and inevitably it 
always goes into like writing 

92
00:06:21,800 --> 00:06:28,040
Gen. servers to do something. 
And it's a good way of learning 

93
00:06:28,040 --> 00:06:31,040
Elixir, I guess, But it's very 
impractical to what you're 

94
00:06:31,040 --> 00:06:35,120
probably going to do 99% of the 
time working as a web developer 

95
00:06:35,960 --> 00:06:38,680
in the Elixir space, because 
you're probably going to be 

96
00:06:38,680 --> 00:06:43,040
working with Phoenix. 
So, you know, it's tricky. 

97
00:06:43,200 --> 00:06:46,200
Like I think it's helpful if 
people can get some kind of 

98
00:06:46,200 --> 00:06:51,400
Elixir grounding before they try
more practical project. 

99
00:06:52,080 --> 00:06:56,080
But I think there's only so far 
that you can really go and 

100
00:06:56,080 --> 00:07:02,080
without just kind of digging 
into Phoenix stuff as the best 

101
00:07:02,080 --> 00:07:03,720
path forward, you know what I 
mean? 

102
00:07:03,720 --> 00:07:07,040
Yeah, once you bring in the the 
Phoenix framework, it makes 

103
00:07:07,120 --> 00:07:10,560
everything all the pain points 
of Elixir so much easier, right?

104
00:07:11,400 --> 00:07:16,800
Like I had the idea of building 
just an Elixir API without using

105
00:07:16,800 --> 00:07:23,600
Phoenix and it's for me it it 
wasn't worth the pain points so.

106
00:07:25,240 --> 00:07:29,520
Did you do it with Cowboy or? 
Probably Cowboy. 

107
00:07:29,520 --> 00:07:32,240
I can't remember. 
It was quite a few years ago and

108
00:07:32,400 --> 00:07:36,120
then I just jumped on board with
Phoenix and haven't looked back.

109
00:07:37,280 --> 00:07:41,400
Yeah. 
I I like, I like to always tell 

110
00:07:41,400 --> 00:07:44,920
people I'm not that smart guy 
that's going to create a 

111
00:07:44,920 --> 00:07:46,880
framework or a programming 
language. 

112
00:07:47,160 --> 00:07:51,080
I'm only smart enough to use 
other people's tools that they 

113
00:07:51,120 --> 00:07:52,760
were that they created, you 
know? 

114
00:07:54,440 --> 00:08:01,800
Yeah, I I do think Phoenix right
now and Live View, I've seen a 

115
00:08:01,800 --> 00:08:06,320
lot of posts about the ecosystem
of it being like the most 

116
00:08:06,320 --> 00:08:10,200
powerful part of it right now 
because there's so much that you

117
00:08:10,200 --> 00:08:15,400
can do with Elixir, Phoenix and 
Live View that you can really 

118
00:08:15,400 --> 00:08:18,520
can't do anywhere else. 
If you look at another 

119
00:08:19,120 --> 00:08:25,680
ecosystem, you know, look at 
like JavaScript, if you're doing

120
00:08:25,680 --> 00:08:29,400
next JS apps or something, 
there's so many things that you 

121
00:08:29,400 --> 00:08:34,720
can do with Elixir that are 
going to be basically impossible

122
00:08:35,000 --> 00:08:37,919
to do. 
If you have a an X JS app, you 

123
00:08:37,919 --> 00:08:43,760
can't just bolt on something 
like we have like Obon in an X 

124
00:08:43,760 --> 00:08:48,080
JS app and handle like millions 
of concurrent jobs or anything 

125
00:08:48,080 --> 00:08:49,840
like that. 
It just can't be done. 

126
00:08:50,880 --> 00:08:54,120
And I think people have, I think
people are really on to 

127
00:08:54,120 --> 00:08:58,280
something when they point out 
that that's the real, the 

128
00:08:58,280 --> 00:09:02,400
powerful thing about the 
language and the ecosystem 

129
00:09:02,400 --> 00:09:05,120
around it. 
Which is ironic because it's 

130
00:09:05,120 --> 00:09:09,560
such a small it's a small 
ecosystem really compared to 

131
00:09:09,680 --> 00:09:16,200
like Rails or JavaScript, but 
it's just powerful, you know, 

132
00:09:17,160 --> 00:09:19,160
People have built so much on top
of it. 

133
00:09:20,000 --> 00:09:23,840
That and what you can build and 
accomplish with very small 

134
00:09:23,840 --> 00:09:27,560
teams. 
Yeah, that's a good point. 

135
00:09:27,560 --> 00:09:30,600
Yeah. 
I feel like you're it's kind of 

136
00:09:30,600 --> 00:09:32,160
like a double edged sword, 
right? 

137
00:09:32,160 --> 00:09:36,320
You can take like a team of 
eight developers from another 

138
00:09:36,440 --> 00:09:40,600
stack and replace it with like 
one or two Elixir devs. 

139
00:09:42,040 --> 00:09:46,560
That's a very good point, yeah. 
Especially with Live View, that 

140
00:09:46,560 --> 00:09:51,280
can really take the place of a 
lot of what you would otherwise 

141
00:09:51,280 --> 00:09:55,840
have to do with JavaScript, and 
you would need you know at least

142
00:09:55,840 --> 00:09:59,280
a couple people, ideally, that 
know it pretty well. 

143
00:10:00,040 --> 00:10:02,960
Not that that always works out 
in practice, but. 

144
00:10:04,480 --> 00:10:08,040
Yeah, no for sure. 
Well, like before I came into 

145
00:10:08,040 --> 00:10:11,120
the Elixir space, I only wanted 
to do, you know, back end 

146
00:10:11,120 --> 00:10:16,120
development, you know, Node JS, 
Express stuff and I hated going 

147
00:10:16,120 --> 00:10:19,960
into the front end world. 
It just wasn't. 

148
00:10:20,080 --> 00:10:22,120
It didn't, I didn't even want it
to be an option. 

149
00:10:22,520 --> 00:10:27,160
And now, yeah, I actually enjoy 
it quite a bit and I don't know,

150
00:10:27,600 --> 00:10:31,200
it's just it's been good. 
Yeah. 

151
00:10:32,000 --> 00:10:34,200
Should we introduce Live View a 
little bit. 

152
00:10:34,200 --> 00:10:38,560
I'm sure our audience and people
that are watching this probably 

153
00:10:38,560 --> 00:10:42,360
know what it is, but maybe we 
should discuss what it is and 

154
00:10:42,360 --> 00:10:46,920
how it solves like real time web
app issues and what what the 

155
00:10:46,920 --> 00:10:50,160
benefits of it are. 
Yeah, definitely. 

156
00:10:50,960 --> 00:10:53,560
Would you like to give it a a 
rundown or should I? 

157
00:10:54,880 --> 00:10:59,240
You know I'll I'll let you do 
the rundown and I'll make 

158
00:10:59,240 --> 00:11:02,600
additions if I feel like you 
miss anything or it doesn't 

159
00:11:02,600 --> 00:11:05,080
really matter to me. 
Perfect. 

160
00:11:05,200 --> 00:11:07,360
All right, well, I've done a 
number. 

161
00:11:07,360 --> 00:11:11,480
I've been recording a video 
about the Phoenix router that 

162
00:11:11,480 --> 00:11:13,040
includes a lot of live view 
stuff. 

163
00:11:13,080 --> 00:11:17,760
And so I felt every time I try 
to like jump into talking about 

164
00:11:17,760 --> 00:11:21,320
Live View, I feel like I have to
give like a short a summation. 

165
00:11:22,560 --> 00:11:26,920
So I'll, I'll go over what's 
been in my head thinking about 

166
00:11:26,920 --> 00:11:32,640
that video. 
So basically the main difference

167
00:11:32,640 --> 00:11:40,640
with Live View is when your app 
kind of has like two different 

168
00:11:40,640 --> 00:11:46,000
ways of loading the Live view 
that would normally replace like

169
00:11:46,120 --> 00:11:48,720
a controller and an MVC 
framework. 

170
00:11:49,520 --> 00:11:54,920
The initial page loads are going
to be just like a controller. 

171
00:11:55,520 --> 00:12:00,360
They're serving regular HTML, 
they go through the plugs in 

172
00:12:00,360 --> 00:12:03,800
Phoenix, they go through the 
regular router and everything 

173
00:12:03,800 --> 00:12:08,360
like that. 
And in the head of the page that

174
00:12:08,360 --> 00:12:12,680
gets sent down, there's going to
be a JavaScript file that's 

175
00:12:12,680 --> 00:12:14,640
going to load. 
It's going to load a JavaScript 

176
00:12:14,640 --> 00:12:20,720
library for live view. 
It's going to mount and open a 

177
00:12:20,720 --> 00:12:26,000
websocket, and it's going to 
look for a specific route that 

178
00:12:26,000 --> 00:12:30,120
the Phoenix endpoint is serving.
It's going to connect to. 

179
00:12:30,800 --> 00:12:36,640
And then once it's mounted, it's
going to send like a connection 

180
00:12:36,640 --> 00:12:40,200
request over the socket. 
And it all uses the Phoenix 

181
00:12:40,360 --> 00:12:44,480
channel implementation under the
hood I'm pretty sure. 

182
00:12:45,400 --> 00:12:52,320
And it sends the connection 
event, it tells it the socket 

183
00:12:52,680 --> 00:12:56,560
process on the Phoenix side, 
what page we're on, and then 

184
00:12:56,560 --> 00:12:59,880
it's going to go open up the 
router again. 

185
00:13:00,400 --> 00:13:02,240
Except it's a little bit 
different because it's only the 

186
00:13:02,240 --> 00:13:07,440
live macros that it builds the 
second router out of, but then 

187
00:13:07,440 --> 00:13:10,480
it matches up the proper live 
view again, it runs all the 

188
00:13:10,480 --> 00:13:13,800
callbacks again, and the whole 
thing happens twice. 

189
00:13:14,680 --> 00:13:21,280
And so it's kind of, you kind of
have to think about it like 

190
00:13:21,640 --> 00:13:26,800
because you have the ability to 
go from one live view to the 

191
00:13:26,800 --> 00:13:30,960
other with just without a full 
page reload. 

192
00:13:30,960 --> 00:13:35,080
Basically you kind of always 
have to be thinking about like 

193
00:13:35,680 --> 00:13:37,480
what's going to happen if I do 
that. 

194
00:13:37,520 --> 00:13:40,880
Because when that happens, it's 
going to skip all of the plug 

195
00:13:40,880 --> 00:13:44,560
requests or all the plugs, all 
the middleware and everything, 

196
00:13:45,040 --> 00:13:47,320
and it's just going to be 
remount. 

197
00:13:47,320 --> 00:13:50,880
It's just going to be changing 
the page live instead of doing a

198
00:13:50,880 --> 00:13:55,160
full page reload, much like a 
single page app in JavaScript 

199
00:13:55,160 --> 00:13:58,000
world. 
So that's kind of the power 

200
00:13:58,000 --> 00:14:00,440
there. 
That's I think what draws most 

201
00:14:00,440 --> 00:14:04,400
people to it. 
Because if you take like a 

202
00:14:04,400 --> 00:14:11,120
regular regular Phoenix app that
has a bunch of live views, like 

203
00:14:11,120 --> 00:14:15,320
just at work recently we had 
like a a whole bunch of live 

204
00:14:15,320 --> 00:14:21,440
views that were all written 
before the live navigate thing. 

205
00:14:21,440 --> 00:14:25,240
Well, I think it was there, but 
like it was a different, it was 

206
00:14:25,240 --> 00:14:28,600
in a a different form and they 
didn't use it to navigate 

207
00:14:28,600 --> 00:14:30,280
between pages for whatever 
reason. 

208
00:14:30,320 --> 00:14:36,160
There's a lot of old live views 
at the app I work on at work and

209
00:14:36,160 --> 00:14:40,960
we added live Navigate to all of
them by just going to all the 

210
00:14:40,960 --> 00:14:46,160
links and replacing the H refs 
with navigate and it's it's 

211
00:14:46,160 --> 00:14:51,480
instantly just amazing how much 
faster they load and just it 

212
00:14:51,480 --> 00:14:53,480
feels weird. 
It feels like it shouldn't load 

213
00:14:53,480 --> 00:14:58,840
that fast because it's still 
pulling everything down, but you

214
00:14:58,840 --> 00:15:02,600
know, whatever is in our head 
tag or whatever I guess is just 

215
00:15:02,600 --> 00:15:06,400
so much slower to load it. 
It just feels like night and 

216
00:15:06,400 --> 00:15:07,880
day. 
Well, and it's only 

217
00:15:07,880 --> 00:15:12,000
concentrating on updating the 
dynamic values of yeah, the 

218
00:15:12,000 --> 00:15:14,720
components, correct? 
Exactly. 

219
00:15:14,720 --> 00:15:16,720
Yeah, yeah, I should have 
mentioned that too. 

220
00:15:16,720 --> 00:15:19,520
Yeah, it's going to do a DIF 
that's going to change. 

221
00:15:19,600 --> 00:15:25,480
It's not just doing inner HTML 
equals whatever, It's going to 

222
00:15:25,480 --> 00:15:28,600
diff the state of the current 
Dom and insert the new stuff. 

223
00:15:30,200 --> 00:15:34,760
And really, with the you're only
really doing a full HTML load on

224
00:15:34,760 --> 00:15:38,000
the first git request, before 
the socket connection is 

225
00:15:38,000 --> 00:15:40,560
created, correct? 
Exactly. 

226
00:15:40,560 --> 00:15:44,360
Yeah. 
And you can kind of if you, I 

227
00:15:44,360 --> 00:15:48,440
was just thinking about all this
because I've been working on 

228
00:15:48,440 --> 00:15:53,120
some content about the router. 
But you also have the ability to

229
00:15:53,120 --> 00:15:58,360
kind of draw session boundaries 
around parts of your live routes

230
00:15:58,640 --> 00:16:04,720
that can force full page reloads
if you are navigating across 

231
00:16:04,720 --> 00:16:07,040
them with the live session 
macro. 

232
00:16:07,840 --> 00:16:11,840
But otherwise, yeah, if you're 
going to do navigate between 

233
00:16:11,840 --> 00:16:15,400
them, then yes. 
That's awesome. 

234
00:16:17,080 --> 00:16:19,440
Yeah, I'm a fan. 
I don't think I've ever had 

235
00:16:19,440 --> 00:16:21,960
issues like live view just is so
fast. 

236
00:16:23,800 --> 00:16:29,480
But with that being said, 
there's a lot of bad practices 

237
00:16:29,480 --> 00:16:32,040
that people get into. 
I think when leveraging live 

238
00:16:32,040 --> 00:16:36,720
views with hidden, maybe the 
server too many times for 

239
00:16:36,720 --> 00:16:40,440
requests and data when they 
don't necessarily need to do it.

240
00:16:41,520 --> 00:16:43,800
What? 
Do you have any experience with 

241
00:16:43,800 --> 00:16:47,080
that or what? 
What are your best practices 

242
00:16:47,080 --> 00:16:52,600
with, you know, flexing the live
view, hitting the server for 

243
00:16:52,600 --> 00:16:57,120
things like handling events 
versus maybe using JavaScript 

244
00:16:57,120 --> 00:17:00,040
hooks? 
Now specifically with data 

245
00:17:00,040 --> 00:17:04,960
loading or just. 
Just I guess in Jet. 

246
00:17:04,960 --> 00:17:08,359
Well, with data loading or I 
guess any kind of web event, 

247
00:17:08,560 --> 00:17:13,079
where do you see a lot of 
mistakes getting made with new 

248
00:17:13,079 --> 00:17:14,480
developers? 
Yeah, yeah. 

249
00:17:15,599 --> 00:17:19,720
Yeah, I think the biggest thing,
if I could point to one thing I 

250
00:17:19,720 --> 00:17:27,079
think people probably do wrong, 
is doing too much stuff, putting

251
00:17:27,079 --> 00:17:30,960
too much state and too many 
interactions happening in the 

252
00:17:30,960 --> 00:17:34,200
live view. 
That could be done entirely 

253
00:17:34,200 --> 00:17:38,680
client side. 
Because live view has a a really

254
00:17:38,680 --> 00:17:44,000
interesting take on a JavaScript
library that's in the live view 

255
00:17:44,000 --> 00:17:47,240
dot JS module. 
And it does this really cool 

256
00:17:47,240 --> 00:17:51,880
thing where it like can 
serialize these JS commands, 

257
00:17:51,880 --> 00:17:56,520
they call it and then you can 
say that when you click a button

258
00:17:56,600 --> 00:18:01,200
it's going to execute a certain 
command and then anything you 

259
00:18:01,200 --> 00:18:03,840
put in there is just going to 
happen entirely client side. 

260
00:18:04,680 --> 00:18:08,560
And it makes a huge difference 
if you're building something 

261
00:18:08,560 --> 00:18:13,840
like a modal or you want to pop 
open a dialogue or something. 

262
00:18:14,520 --> 00:18:20,560
You could go into your component
and put a piece of state in 

263
00:18:20,560 --> 00:18:26,080
there that says open is true or 
false, and you could just toggle

264
00:18:26,080 --> 00:18:31,000
that with a handle event. 
But as soon as you do that, 

265
00:18:31,120 --> 00:18:36,160
every time someone wants to open
the modal, if they're sitting, I

266
00:18:36,160 --> 00:18:39,960
don't know, in a train or a 
plane or something, it has to go

267
00:18:39,960 --> 00:18:43,400
all the way to your server and 
back to open it up. 

268
00:18:44,240 --> 00:18:47,800
And it can feel OK when you're 
developing it locally. 

269
00:18:48,320 --> 00:18:51,560
But as soon as you host it on 
the Internet and you really test

270
00:18:51,560 --> 00:18:54,440
that out, you will kind of 
immediately know that it doesn't

271
00:18:54,440 --> 00:18:56,960
feel right. 
Well, and then you also 

272
00:18:56,960 --> 00:19:00,400
introduce just bandwidth issues 
too. 

273
00:19:01,680 --> 00:19:04,880
We're we're pretty lucky. 
Like being in the United States,

274
00:19:04,880 --> 00:19:06,800
we usually have really good 
Internet speeds. 

275
00:19:07,080 --> 00:19:11,000
But when you start getting into 
other countries, bandwidth and 

276
00:19:11,000 --> 00:19:15,280
speeds change a lot. 
So you could have the snappiest 

277
00:19:15,280 --> 00:19:18,760
web app and perfect for, you 
know, as you test it. 

278
00:19:18,760 --> 00:19:22,320
But then it sucks in a different
country. 

279
00:19:23,840 --> 00:19:27,120
Exactly. 
I like to flex JS hooks a lot, 

280
00:19:27,120 --> 00:19:33,120
and in a project I'm currently 
making the GitHub just clone, we

281
00:19:33,120 --> 00:19:37,120
do a lot of JavaScript hooks and
it's because anything that can 

282
00:19:37,120 --> 00:19:40,040
be done on the client side 
should be done on the client 

283
00:19:40,040 --> 00:19:41,880
side. 
You should take advantage of the

284
00:19:41,960 --> 00:19:45,120
resources, right? 
Exactly. 

285
00:19:45,120 --> 00:19:50,680
It's imperative and I I think 
the docs say something to that 

286
00:19:50,680 --> 00:19:56,600
effect from my memory of them, 
but it's probably not emphasized

287
00:19:56,720 --> 00:19:59,240
enough. 
But it's hard because the 

288
00:19:59,240 --> 00:20:02,680
documentation needs to show off 
how you do things in a live 

289
00:20:02,680 --> 00:20:05,160
view. 
So then it's hard to kind of get

290
00:20:05,160 --> 00:20:08,800
across when not to do that, you 
know what I mean? 

291
00:20:09,120 --> 00:20:13,120
I think what's really hard is 
most people learning only work 

292
00:20:13,120 --> 00:20:18,560
in a local environment, so they 
don't understand that you know 

293
00:20:18,560 --> 00:20:20,920
you're making a server request 
and it's actually going to be 

294
00:20:20,920 --> 00:20:26,240
quite a bit slower when it's on 
a real server in production than

295
00:20:26,240 --> 00:20:27,800
you know, your local host, you 
know. 

296
00:20:29,520 --> 00:20:32,200
Exactly. 
Yeah, yeah, I think that's the 

297
00:20:32,200 --> 00:20:36,160
big one. 
I've even seen big name 

298
00:20:36,680 --> 00:20:42,320
component libraries that do that
very thing of having like way 

299
00:20:42,320 --> 00:20:44,840
too much state in the live view.
Oh no. 

300
00:20:46,320 --> 00:20:48,120
Do we want to mention names? 
No, I'm just kidding. 

301
00:20:48,640 --> 00:20:52,840
I'm not going to name names, but
yeah, it's an easy thing to do. 

302
00:20:53,960 --> 00:20:57,080
We have a couple. 
We have polar pair, baby. 

303
00:20:57,080 --> 00:21:00,000
That said, that he's the kind of
guy who jumps into all the good 

304
00:21:00,000 --> 00:21:04,760
stuff as a newbie and always 
runs into problems with having 

305
00:21:04,760 --> 00:21:10,120
bugs and errors in the future. 
That that reminds me of another 

306
00:21:10,120 --> 00:21:15,760
thing that I had tweeted about 
recently, that basically every 

307
00:21:15,760 --> 00:21:20,440
live view tutorial you see after
going over the basic stuff, they

308
00:21:20,440 --> 00:21:24,480
immediately go to stuff like pub
sub and Presents. 

309
00:21:25,480 --> 00:21:31,000
And I I mean those two things 
are really cool and like I have 

310
00:21:31,000 --> 00:21:34,760
used them here and there, but I 
have not used them anywhere. 

311
00:21:34,760 --> 00:21:39,000
I've not needed them anywhere 
near as much as Live view 

312
00:21:39,000 --> 00:21:43,400
tutorials seem to pull them out.
Yeah, I think tutorials 'cause 

313
00:21:43,400 --> 00:21:44,680
it. 
It's cool, right? 

314
00:21:44,680 --> 00:21:49,320
It looks cool, but you're not 
going to really have the need to

315
00:21:49,320 --> 00:21:53,440
apply in in many cases, like 
presence, obviously. 

316
00:21:53,440 --> 00:21:57,040
Like any kind of interactive 
app, but for the most part 

317
00:21:57,600 --> 00:22:00,280
you're not building a very 
community interactive app where 

318
00:22:00,280 --> 00:22:03,120
you need to know if someone's 
watching what you're doing. 

319
00:22:04,800 --> 00:22:08,400
Yeah, exactly. 
I I saw someone I think it was 

320
00:22:08,400 --> 00:22:12,840
on the Elixir, Discord or 
something asking a question once

321
00:22:13,520 --> 00:22:18,320
and they were talking about how 
they had some kind of app where 

322
00:22:18,320 --> 00:22:23,000
you could like change your 
username or whatever and they 

323
00:22:23,000 --> 00:22:26,080
wanted to store it in presence 
or something so that when they 

324
00:22:26,080 --> 00:22:29,120
changed it, it would get updated
everywhere. 

325
00:22:29,840 --> 00:22:34,080
And I don't really know why they
came to that conclusion because 

326
00:22:34,080 --> 00:22:39,680
the regular thing to do would 
just be if the user's name 

327
00:22:39,680 --> 00:22:42,480
changes then everyone else will 
see it the next time they 

328
00:22:42,480 --> 00:22:45,160
reload. 
You know, most things don't need

329
00:22:45,160 --> 00:22:49,560
to be real time. 
Yeah, I think it's definitely 

330
00:22:49,760 --> 00:22:53,920
something that you want to think
about and plan before you just 

331
00:22:53,960 --> 00:22:57,240
use something that takes 
resources, right? 

332
00:22:59,080 --> 00:23:01,920
Yeah, and it's just it's very 
complex. 

333
00:23:02,440 --> 00:23:07,760
Once you start adding in state, 
that's then stored in presence 

334
00:23:08,120 --> 00:23:10,760
or messages passing around with 
pub sub. 

335
00:23:12,200 --> 00:23:15,720
What about packing on too much 
into your assigns map? 

336
00:23:15,720 --> 00:23:20,720
Do you think that's an issue? 
Yeah, I've seen it. 

337
00:23:21,000 --> 00:23:26,200
I mean like you mentioned, we we
have a lot of live views at work

338
00:23:26,280 --> 00:23:31,520
and some of them definitely fall
into that category of putting 

339
00:23:31,520 --> 00:23:37,840
too much on the assigns. 
Do you find like that's probably

340
00:23:37,840 --> 00:23:40,840
where live components would be 
more beneficial? 

341
00:23:40,840 --> 00:23:44,760
We break that stuff up or. 
I don't know. 

342
00:23:44,760 --> 00:23:51,240
I mean, you know, I have. 
I haven't honestly seen like a 

343
00:23:51,240 --> 00:23:55,240
whole lot of instances of our 
live views at work where they 

344
00:23:55,760 --> 00:23:59,720
where it was very obvious that 
performance problems were 

345
00:23:59,720 --> 00:24:02,920
because of this. 
Like I can definitely find some 

346
00:24:02,920 --> 00:24:07,480
of them if I want to look that 
are like, you know, this has 

347
00:24:07,480 --> 00:24:12,680
more stuff than it needs, but I 
haven't really found. 

348
00:24:12,920 --> 00:24:14,880
I haven't really tracked down a 
whole lot of performance 

349
00:24:14,880 --> 00:24:17,640
problems from it, honestly. 
That's good to know. 

350
00:24:18,320 --> 00:24:24,280
When Speaking of components, how
would you break down the 

351
00:24:24,280 --> 00:24:27,800
difference between like function
components and live components 

352
00:24:27,880 --> 00:24:33,000
and where do you use them both? 
Yeah, this is my favorite 

353
00:24:33,000 --> 00:24:37,280
interview question to give 
people to, so I I hope I answer 

354
00:24:37,280 --> 00:24:40,040
it well. 
But I'm sure, yeah, basic, 

355
00:24:41,840 --> 00:24:45,320
basically functional components.
They're like React components 

356
00:24:45,320 --> 00:24:49,160
kind of they they're pure 
functions. 

357
00:24:49,200 --> 00:24:52,800
They take a set of inputs and 
they render HTML with them. 

358
00:24:53,400 --> 00:24:56,920
They can't like hold mutable 
state or anything like that. 

359
00:24:58,520 --> 00:25:03,360
So yeah, it's a pure function. 
And live components are much 

360
00:25:03,360 --> 00:25:06,680
more like a mini little live 
view. 

361
00:25:07,360 --> 00:25:10,920
Like they run in the same 
process as the parent live view,

362
00:25:11,880 --> 00:25:17,960
but they have their own state. 
However, they can't do certain 

363
00:25:17,960 --> 00:25:20,320
things that a live view can 
like. 

364
00:25:20,320 --> 00:25:23,640
They because they share a 
process, they can't receive 

365
00:25:23,640 --> 00:25:26,320
messages. 
If you need them to receive 

366
00:25:26,320 --> 00:25:29,760
messages, you need to put a 
handle info in the live view and

367
00:25:29,760 --> 00:25:35,160
then pass the information to the
live components. 

368
00:25:37,880 --> 00:25:43,440
So they have some some tricky 
parts like that, but basically 

369
00:25:43,440 --> 00:25:47,920
they're yeah, they're a way to 
like compose a live view itself 

370
00:25:47,920 --> 00:25:50,480
into smaller pieces that you can
reuse. 

371
00:25:51,560 --> 00:25:52,880
That's how I would describe 
them. 

372
00:25:52,880 --> 00:25:56,720
Yeah, I think that's good and I 
actually have a good example in 

373
00:25:56,720 --> 00:26:01,000
my GitHub just clone. 
I just recently in one of in my 

374
00:26:01,000 --> 00:26:08,680
first live stream I refactored 
the create a gist form because 

375
00:26:08,680 --> 00:26:12,960
in in a future in a very near 
episode I haven't recorded it 

376
00:26:12,960 --> 00:26:16,200
yet but I'm going to be we need 
to be able to edit the gist 

377
00:26:16,200 --> 00:26:21,560
clone and why would I rebuild 
the create gist form when we can

378
00:26:21,560 --> 00:26:25,400
use all those features again and
it holds it's it holds you know 

379
00:26:25,400 --> 00:26:27,840
the gist state and all of that 
good stuff. 

380
00:26:28,120 --> 00:26:29,880
So that's a good example of 
that. 

381
00:26:30,080 --> 00:26:32,480
And then I would say as far as 
like function components, it 

382
00:26:32,480 --> 00:26:35,120
would just kind of be. 
Views that you. 

383
00:26:35,120 --> 00:26:42,640
Reuse everywhere that it's more 
UI related than you know, not a 

384
00:26:42,640 --> 00:26:44,920
live view. 
It doesn't need state or any 

385
00:26:44,920 --> 00:26:48,120
more functionality than just 
presenting data, right? 

386
00:26:49,760 --> 00:26:54,560
Yeah, yeah. 
And I think the docs do say 

387
00:26:55,160 --> 00:26:58,120
something to the effect of. 
You know, you should prefer to 

388
00:26:58,120 --> 00:27:00,920
use functional components as 
much as possible because they're

389
00:27:00,920 --> 00:27:03,800
easier to compose functionality 
with. 

390
00:27:03,800 --> 00:27:05,680
They don't have any state to 
think about. 

391
00:27:07,720 --> 00:27:11,880
And I have said on Twitter and 
elsewhere that like you should 

392
00:27:11,880 --> 00:27:15,040
honestly just try to avoid live 
components as much as you can. 

393
00:27:15,600 --> 00:27:19,960
Because I think it's easy to 
just kind of make build 

394
00:27:19,960 --> 00:27:26,560
spaghetti with them, because 
they suffer from the same thing 

395
00:27:26,560 --> 00:27:31,040
that like React components have 
that in React world they call 

396
00:27:31,040 --> 00:27:35,440
prop drilling where you need to 
pass state down to them. 

397
00:27:36,280 --> 00:27:38,280
Live components suffer from the 
same thing. 

398
00:27:38,320 --> 00:27:42,520
As soon as you are building 
something with live with live 

399
00:27:42,520 --> 00:27:46,080
view and live components for 
every piece of state, you need 

400
00:27:46,080 --> 00:27:50,520
to ask yourself do I want the 
live component to own this or do

401
00:27:50,520 --> 00:27:52,440
I want the live view to own 
this? 

402
00:27:53,120 --> 00:27:55,800
And depending on which decision 
you make, you will face a 

403
00:27:55,800 --> 00:27:59,040
different set of problems. 
Neither one of them is the right

404
00:27:59,040 --> 00:28:03,080
answer all the time. 
If you put the state in the live

405
00:28:03,080 --> 00:28:07,480
component, well then if the live
view, parent live view needs to 

406
00:28:07,480 --> 00:28:09,560
know about it that somehow you 
need to communicate that 

407
00:28:09,560 --> 00:28:13,560
information back up. 
And if you put it in the live 

408
00:28:13,560 --> 00:28:18,520
view, then you have to do a lot 
of this, you know, prop drilling

409
00:28:18,560 --> 00:28:22,600
kind of thing where you're 
constantly passing like a lot of

410
00:28:22,600 --> 00:28:26,440
information back down. 
So they're very hard. 

411
00:28:26,440 --> 00:28:30,040
There's a very hard, like state 
management problem there, which 

412
00:28:30,040 --> 00:28:33,400
is not easy to solve. 
And it can be easy to kind of 

413
00:28:33,400 --> 00:28:35,440
end up with spaghetti. 
Yeah. 

414
00:28:35,440 --> 00:28:37,080
And to. 
Go off of that. 

415
00:28:37,560 --> 00:28:40,920
Like the more spaghetti that you
create, it's harder for other 

416
00:28:40,920 --> 00:28:43,800
developers to jump into your 
project too, because you can 

417
00:28:43,800 --> 00:28:48,640
kind of make a nightmare of 
coding components that just kind

418
00:28:48,640 --> 00:28:51,720
of make debugging and tracking 
things down difficult, right? 

419
00:28:54,760 --> 00:28:58,040
Yeah, some. 
Old live components can be very 

420
00:28:58,040 --> 00:29:01,920
hard that someone else has 
written to jump into and really 

421
00:29:01,920 --> 00:29:07,600
make sense of, yeah. 
I I'm not a big fan of making 

422
00:29:07,600 --> 00:29:13,160
them too often. 
I I feel like in the gist clone 

423
00:29:13,680 --> 00:29:18,000
it's a good use case and I still
don't like to overuse them 

424
00:29:18,000 --> 00:29:20,680
because I've had questions like 
why don't you break things up 

425
00:29:20,680 --> 00:29:24,760
into live components more and it
complicates things. 

426
00:29:25,360 --> 00:29:30,080
I'm also that person that likes 
my Higgs templates in a separate

427
00:29:30,080 --> 00:29:34,080
file and I know a lot of people 
don't like that, but I like 

428
00:29:34,080 --> 00:29:39,040
think like I like my separation 
of code and I don't know how do 

429
00:29:39,040 --> 00:29:41,400
you feel about that? 
Do you like everything in your 

430
00:29:41,400 --> 00:29:46,480
live view dot EX as in the 
render function if my render 

431
00:29:46,480 --> 00:29:50,120
function is very small. 
I'll keep it in. 

432
00:29:50,200 --> 00:29:55,120
My live view file, but if it's a
normal page that gets its own 

433
00:29:55,120 --> 00:29:57,400
file. 
Yeah. 

434
00:29:58,000 --> 00:30:00,280
That's basically how I treat it.
It just depends. 

435
00:30:00,280 --> 00:30:06,760
If it's just like a tiny little 
thing, then then yeah, and you 

436
00:30:06,760 --> 00:30:12,160
know, one of the ways to. 
I've been one of the patterns 

437
00:30:12,160 --> 00:30:17,080
that I use a lot with using live
components and everything. 

438
00:30:18,040 --> 00:30:21,640
That does make a lot of sense 
and won't really end up with 

439
00:30:21,640 --> 00:30:27,600
spaghetti is if you have like 
regular Restful kind of routes 

440
00:30:27,600 --> 00:30:31,720
for something. 
Like you have a a new page to 

441
00:30:31,720 --> 00:30:35,000
make something and then edit 
page and an index page or 

442
00:30:35,000 --> 00:30:39,680
whatever to have like a live 
view for each one of those and 

443
00:30:39,680 --> 00:30:42,640
then a live component for the 
form. 

444
00:30:43,160 --> 00:30:45,920
That usually works out really 
good and I think the generators 

445
00:30:45,920 --> 00:30:51,800
do that same thing and it makes 
it generally works out fine. 

446
00:30:52,320 --> 00:30:57,080
The thing that gets trickier is 
when you're building like actual

447
00:30:57,680 --> 00:31:00,720
like what you would think of as 
like React component kind of 

448
00:31:00,720 --> 00:31:04,240
things like a type ahead or a 
drop down. 

449
00:31:05,000 --> 00:31:08,120
Those things start to get really
tricky to write in a way that's 

450
00:31:08,120 --> 00:31:11,480
composable with. 
Live components. 

451
00:31:14,360 --> 00:31:19,560
Yeah, I agree with that. 
All right, let's see here. 

452
00:31:20,320 --> 00:31:23,680
We got a lot of people chatting.
You're a popular guy, Andrew. 

453
00:31:26,000 --> 00:31:30,280
Oh and go ahead, sorry, I was 
just going to say the other 

454
00:31:30,280 --> 00:31:36,880
addendum to that is live render 
the same exact problem, but 10 

455
00:31:36,880 --> 00:31:40,000
times worse. 
If you start to like compose 

456
00:31:40,000 --> 00:31:43,520
functionality with more than one
live view on the page, you are 

457
00:31:43,520 --> 00:31:49,160
going into the pain realm and 
it's really really bad and no 

458
00:31:49,160 --> 00:31:50,840
one should ever do that. 
Can you explain? 

459
00:31:50,840 --> 00:31:55,160
That a little more, I don't know
if I understand it well live. 

460
00:31:55,160 --> 00:31:57,320
Component. 
I don't remember when it got 

461
00:31:57,320 --> 00:31:59,480
added, but it wasn't always in 
live view. 

462
00:32:01,200 --> 00:32:06,080
And especially if you look at 
like earlier material on live 

463
00:32:06,080 --> 00:32:09,680
view from some of the early 
versions like guides and stuff 

464
00:32:09,680 --> 00:32:14,600
like that. 
You do see where people were 

465
00:32:14,600 --> 00:32:20,560
making websites that had like 
one live view that did like the 

466
00:32:20,560 --> 00:32:25,280
navigation bar and one live view
that did the sidebar and they 

467
00:32:25,280 --> 00:32:29,120
used live render to render them 
into a dead view. 

468
00:32:30,840 --> 00:32:32,960
You would see that kind of thing
sometimes. 

469
00:32:33,560 --> 00:32:38,680
And it's just a mess. 
Like if you inherit, working on 

470
00:32:38,680 --> 00:32:43,160
a project that has any of that, 
the message passing to and from 

471
00:32:43,160 --> 00:32:45,800
those things is just. 
Oh, I see. 

472
00:32:45,800 --> 00:32:51,120
Yeah, that would be messy, yeah.
But also, does anyone ever enjoy

473
00:32:51,120 --> 00:32:53,200
inheriting code? 
I think you'll always talk 

474
00:32:53,240 --> 00:32:57,640
straight about code that you 
inherit, like everyone is always

475
00:32:57,640 --> 00:32:59,720
an idiot before you got there, 
right? 

476
00:33:01,880 --> 00:33:05,760
That's very true, but. 
That's funny, we have Daniel 

477
00:33:05,960 --> 00:33:08,680
Berg, he said. 
He lives in Brazil and sometimes

478
00:33:08,680 --> 00:33:12,560
Live View experience is not 
super fast and that's because 

479
00:33:13,760 --> 00:33:15,600
the the server's getting hit too
much. 

480
00:33:17,240 --> 00:33:21,760
Yeah, exactly. 
It's so noticeable and if you're

481
00:33:21,760 --> 00:33:25,000
making like a drop down or 
something and it's it has to go 

482
00:33:25,000 --> 00:33:28,240
all the way to the server to 
open, it will feel awful. 

483
00:33:28,400 --> 00:33:32,200
Like 100 times out of 100. 
It may feel OK when you're 

484
00:33:32,200 --> 00:33:34,600
working on it, but it's never 
going to feel right. 

485
00:33:35,560 --> 00:33:38,040
Yeah, you got to. 
Add that latency to it that. 

486
00:33:39,760 --> 00:33:42,520
'D be a good idea. 
Yeah, probably be good for more 

487
00:33:42,520 --> 00:33:45,240
people to just leave that on I 
I. 

488
00:33:45,240 --> 00:33:49,280
Used to work for a start up 
where I was just an iOS 

489
00:33:49,280 --> 00:33:52,400
developer, but it was basically 
it's like a music streaming app 

490
00:33:53,240 --> 00:33:58,160
and it works great on good 
Internet And we had the craziest

491
00:33:58,160 --> 00:34:02,520
bugs when low latency became an 
issue to the point where I 

492
00:34:02,520 --> 00:34:07,560
constantly kept like a latency 
filter on my computer just on. 

493
00:34:07,840 --> 00:34:12,080
So I was always developing in a 
crappy Internet environment 

494
00:34:12,080 --> 00:34:17,199
because we had to make sure our 
app worked and buffered properly

495
00:34:17,199 --> 00:34:22,000
for, you know, crappy bandwidth.
That's really interesting. 

496
00:34:22,000 --> 00:34:26,000
Yeah, I do have a big interest 
in like web performance. 

497
00:34:26,120 --> 00:34:29,800
There's like a whole nother 
realm that's kind of more 

498
00:34:29,800 --> 00:34:35,880
relevant to like the front end 
world because they've got apps 

499
00:34:35,880 --> 00:34:39,840
with a MB of JavaScript and so 
they really need to care about 

500
00:34:39,840 --> 00:34:43,840
the performance of loading all 
those assets. 

501
00:34:44,520 --> 00:34:49,199
But there's such a deep like 
knowledge that you can learn 

502
00:34:49,199 --> 00:34:54,560
there of like literally like the
most minute stuff of like what 

503
00:34:54,560 --> 00:34:56,679
order to put stuff in your head 
tag. 

504
00:34:57,160 --> 00:35:00,440
There's that's literally a thing
of like what is the right order 

505
00:35:00,440 --> 00:35:04,200
to do that in can make a slight 
difference in web performance. 

506
00:35:05,000 --> 00:35:09,800
And every company I've ever 
worked for has not been like an 

507
00:35:09,800 --> 00:35:14,680
e-commerce site like eBay or 
something where they really have

508
00:35:14,680 --> 00:35:19,120
metrics on this and a couple 
milliseconds here or there means

509
00:35:19,440 --> 00:35:23,280
like real money to them. 
Every place I've worked at has 

510
00:35:23,280 --> 00:35:27,360
had like a more or less captive 
audience of people that are 

511
00:35:27,360 --> 00:35:29,440
going to use the app for one 
reason or another. 

512
00:35:30,040 --> 00:35:35,240
And yeah, I mean, to me a little
bit of performance increases a 

513
00:35:35,240 --> 00:35:41,840
big deal, but it's kind of hard 
to sell that to, you know, 

514
00:35:41,920 --> 00:35:45,680
non-technical people like why? 
Why should we stop everything 

515
00:35:45,680 --> 00:35:48,880
and make the app load 50 
milliseconds faster? 

516
00:35:48,960 --> 00:35:51,600
It goes into all. 
The the memes of like the 

517
00:35:51,600 --> 00:35:54,760
ignored back end developer, 
they're like you know, what have

518
00:35:54,760 --> 00:35:56,960
you done? 
Well, I increased this endpoint 

519
00:35:57,680 --> 00:36:00,080
to you know make it more 
responsive by like 20 

520
00:36:00,080 --> 00:36:01,800
milliseconds. 
No one cares. 

521
00:36:01,800 --> 00:36:05,720
And then the front end guys like
I made this button red and they 

522
00:36:05,880 --> 00:36:07,480
they get all the love and 
attention. 

523
00:36:09,720 --> 00:36:11,800
Yeah, I haven't. 
Seen a whole lot of people 

524
00:36:11,800 --> 00:36:16,840
talking about performance in 
Live View and I think I'll it's 

525
00:36:17,040 --> 00:36:22,200
kind of an unknown waters like 
the performance characteristics 

526
00:36:22,280 --> 00:36:27,480
of multi page apps and single 
page apps is pretty well known 

527
00:36:27,640 --> 00:36:31,800
how to optimize those two things
and Live View is like a weird 

528
00:36:31,800 --> 00:36:35,560
amalgamation of both. 
So I don't think there is a 

529
00:36:35,560 --> 00:36:38,880
really good understanding out 
there right now of how to 

530
00:36:38,880 --> 00:36:42,960
optimize Live View apps. 
And probably also because it's 

531
00:36:42,960 --> 00:36:48,120
pretty new and I don't know of 
like a giant website that uses 

532
00:36:48,120 --> 00:36:50,120
it. 
I feel like the biggest one I 

533
00:36:50,120 --> 00:36:54,520
could think of would be like 
cars.com, you know, they use 

534
00:36:54,520 --> 00:36:56,320
Live view. 
See, I didn't. 

535
00:36:56,400 --> 00:36:58,360
I didn't even know. 
That that's kind of cool to 

536
00:36:58,360 --> 00:37:02,320
know. 
Yeah, they do so. 

537
00:37:03,760 --> 00:37:07,440
But as it becomes more popular, 
maybe we'll learn more about 

538
00:37:07,440 --> 00:37:12,320
what are the common performance 
problems, and especially as more

539
00:37:12,320 --> 00:37:16,120
frameworks copy the live view 
model, yeah. 

540
00:37:16,120 --> 00:37:20,200
It'll be interesting I. 
I so I. 

541
00:37:20,200 --> 00:37:23,520
Love the server side rendering 
with live view right? 

542
00:37:23,520 --> 00:37:26,680
But I also think that makes it 
difficult because a lot of 

543
00:37:26,680 --> 00:37:31,440
people want performance web apps
and it makes like caching and 

544
00:37:31,440 --> 00:37:35,080
dealing with, you know, offline 
support very difficult. 

545
00:37:35,480 --> 00:37:38,520
And I don't think there's a good
solution for that with Live 

546
00:37:38,520 --> 00:37:41,280
View, at least that I know of 
right now either. 

547
00:37:42,520 --> 00:37:44,400
That it, that's that's a very 
good point. 

548
00:37:44,400 --> 00:37:48,160
Yeah, caching basically dead on 
arrival. 

549
00:37:48,160 --> 00:37:51,840
If you want to do that at the 
level of the browser, it's not 

550
00:37:51,840 --> 00:37:56,440
going to happen. 
But on the other hand, Graph QL 

551
00:37:56,440 --> 00:38:00,720
is wildly popular and that also 
has basically 0 caching, so 

552
00:38:00,840 --> 00:38:02,440
that's true. 
But. 

553
00:38:02,440 --> 00:38:06,560
Depending on what you're using 
right? 

554
00:38:06,560 --> 00:38:10,120
Like if you're using view for 
instance, you can still cache 

555
00:38:10,160 --> 00:38:13,240
things even using Graph QL. 
You would just have to have 

556
00:38:13,240 --> 00:38:17,880
another service that holds your 
data like yeah, Realm or 

557
00:38:17,880 --> 00:38:19,440
something like that. 
I think Realm is. 

558
00:38:21,440 --> 00:38:24,840
This is like. 
A totally wild speculation 

559
00:38:24,840 --> 00:38:28,120
territory, but I've always 
wondered if it would be possible

560
00:38:28,120 --> 00:38:31,920
for someone to build something 
that takes advantage of service 

561
00:38:31,920 --> 00:38:35,600
workers to make something like 
live view function offline. 

562
00:38:36,360 --> 00:38:41,360
I feel like it would probably be
possible, but you'd have to have

563
00:38:41,360 --> 00:38:43,800
a very good knowledge of live 
view to do it. 

564
00:38:43,880 --> 00:38:48,520
So yeah, like this is where I. 
Would be like, no, I'm not smart

565
00:38:48,520 --> 00:38:51,280
enough, but I hope someone does 
that because that would be 

566
00:38:51,280 --> 00:38:54,080
pretty cool. 
I think it would be. 

567
00:38:54,080 --> 00:38:58,360
Possible. 
I mean, you know, I at least I 

568
00:38:58,360 --> 00:39:00,960
think it is. 
I I don't know a whole lot about

569
00:39:01,360 --> 00:39:05,560
how service workers interact 
with the with web sockets, but I

570
00:39:05,560 --> 00:39:09,040
think they can play messages 
over the socket. 

571
00:39:09,040 --> 00:39:12,720
I I don't know. 
I know that live view can fall 

572
00:39:12,720 --> 00:39:18,880
back to the long polling, so if 
it did that you can definitely 

573
00:39:18,880 --> 00:39:23,400
like hijack http://requests with
service workers. 

574
00:39:23,400 --> 00:39:25,760
So maybe that would be a way to 
do it, I don't know. 

575
00:39:26,400 --> 00:39:28,960
Now I'm going to. 
Go on this rabbit hole of 

576
00:39:29,200 --> 00:39:33,000
looking into this stuff. 
I'm sure someone out. 

577
00:39:33,000 --> 00:39:35,200
There is thinking about it for 
sure. 

578
00:39:37,320 --> 00:39:39,640
Thank you for making. 
This stream in this channel, 

579
00:39:39,640 --> 00:39:41,840
You're welcome, Felix. 
It's been fun. 

580
00:39:42,240 --> 00:39:45,200
The the best part about like, 
and I'm sure you're learning 

581
00:39:45,200 --> 00:39:48,240
this, Andrew 'cause you have a 
YouTube channel as well and guys

582
00:39:48,240 --> 00:39:50,640
go subscribe 'cause he actually 
makes really good content. 

583
00:39:52,240 --> 00:39:56,520
Thank you. 
The level of understanding. 

584
00:39:56,520 --> 00:39:59,320
When you go to regurgitate 
something you already know, you 

585
00:39:59,320 --> 00:40:04,200
realize you have to learn it. 
So much better just to teach it 

586
00:40:04,680 --> 00:40:07,520
and. 
I found myself having to reteach

587
00:40:07,520 --> 00:40:12,960
myself just so I know how to 
communicate it, Yes. 

588
00:40:13,040 --> 00:40:18,680
Yeah, I think that was like I 
had been writing a little bit of

589
00:40:18,680 --> 00:40:22,800
like, blog stuff for a while, 
but not like a lot of learning 

590
00:40:22,800 --> 00:40:25,480
materials. 
And when I started my YouTube 

591
00:40:25,480 --> 00:40:30,400
channel, I think that was the 
most interesting thing was once 

592
00:40:30,400 --> 00:40:34,480
I started trying to think about 
how to really explain some of 

593
00:40:34,480 --> 00:40:37,760
these things to someone that's 
getting started, you realize 

594
00:40:37,760 --> 00:40:43,560
that you literally cannot 
explain everything in one go. 

595
00:40:44,080 --> 00:40:47,760
Not because it's impossible. 
Like you could make a several 

596
00:40:47,760 --> 00:40:51,320
hour video and just talk about 
every detail of everything, I 

597
00:40:51,320 --> 00:40:56,720
guess, but it won't be effective
because there's only a certain 

598
00:40:56,720 --> 00:41:00,520
amount of attention you can keep
to one thing. 

599
00:41:01,280 --> 00:41:05,680
And so you need to pick and 
choose what you're going to talk

600
00:41:05,680 --> 00:41:10,440
about and what you're going to 
leave unsaid and trust that 

601
00:41:10,440 --> 00:41:14,000
either the audience already 
knows or they are capable of 

602
00:41:14,000 --> 00:41:17,360
finding it out on their own. 
And that's really challenging 

603
00:41:17,360 --> 00:41:20,440
knowing what that boundary is I 
have found. 

604
00:41:20,520 --> 00:41:24,800
Going over 20 minutes is not 
ideal and interesting. 

605
00:41:25,160 --> 00:41:27,960
And it's really. 
Easy to hit that 20 minute mark.

606
00:41:28,000 --> 00:41:30,240
Like a lot of my videos go over 
20 minutes. 

607
00:41:30,520 --> 00:41:36,440
I just find that I get the most 
like interaction and comments 

608
00:41:36,440 --> 00:41:40,360
and everyone loves the 10 to 20 
minute videos. 

609
00:41:40,360 --> 00:41:44,800
But it's so hard to get a point 
across in 20 minutes you don't 

610
00:41:44,800 --> 00:41:46,560
realize until you start 
recording. 

611
00:41:46,920 --> 00:41:50,560
Like, wow, This little chunk of 
text that I wanted to go over 

612
00:41:50,760 --> 00:41:53,240
just took me 10 minutes to talk 
about. 

613
00:41:54,800 --> 00:41:56,640
See. 
I wanna hit that. 4000 watch 

614
00:41:56,640 --> 00:41:59,120
hours, though, so you'll you'll 
get there. 

615
00:41:59,120 --> 00:42:01,080
How long have? 
When did you start your channel?

616
00:42:02,080 --> 00:42:03,520
It's only been in. 
December. 

617
00:42:03,760 --> 00:42:06,240
So this been super long this 
last December. 

618
00:42:07,200 --> 00:42:10,800
Oh yeah, you'll be good. 
Dude, I think I hit my 4000 

619
00:42:10,800 --> 00:42:16,040
watch hours at like a year. 
I think a year. 

620
00:42:16,160 --> 00:42:18,360
Almost a year exactly, which was
pretty cool. 

621
00:42:20,160 --> 00:42:23,640
Yeah, I didn't realize how. 
Much slower that grows then just

622
00:42:23,880 --> 00:42:25,120
it's. 
Subscribers. 

623
00:42:26,080 --> 00:42:27,000
Yeah. 
You'll you'll hit your 

624
00:42:27,000 --> 00:42:30,280
subscribers probably before the 
watch hours, but you'll get 

625
00:42:30,280 --> 00:42:33,160
there 'cause you got you have 
good content, man, and you 

626
00:42:33,160 --> 00:42:36,280
explain things well. 
I think that's. 

627
00:42:36,400 --> 00:42:40,280
Where a lot a lot of people 
struggle at explaining difficult

628
00:42:40,280 --> 00:42:42,960
subjects. 
Yeah. 

629
00:42:42,960 --> 00:42:48,200
The the Elixir community as a 
whole is really amazing. 

630
00:42:48,200 --> 00:42:54,200
Like, I I don't know, I was 
really just surprised how just 

631
00:42:54,200 --> 00:42:59,200
welcoming people are and. 
You know, like. 

632
00:42:59,720 --> 00:43:05,240
I had used Twitter for a while 
before making any content, Not 

633
00:43:05,240 --> 00:43:10,680
for very long but and I was 
really amazed, like how quickly 

634
00:43:10,680 --> 00:43:15,240
people wanted to actually 
interact with it on online. 

635
00:43:16,760 --> 00:43:19,320
I just kind of assumed that 
you'd put it out there and like 

636
00:43:19,320 --> 00:43:22,200
you would get no interaction for
months and months and months. 

637
00:43:22,200 --> 00:43:26,200
But no, I agree the. 
Elixir Community is awesome and 

638
00:43:27,120 --> 00:43:31,480
I don't want to like curse 
myself, but the amount of like 

639
00:43:31,480 --> 00:43:34,440
positivity behind everything is 
awesome too. 

640
00:43:34,480 --> 00:43:39,360
Like, I get yeah, I get a lot 
more love than hate, and that's 

641
00:43:39,560 --> 00:43:44,240
pretty awesome. 
Yeah, I it is amazing. 

642
00:43:44,520 --> 00:43:48,600
I I'm always surprised seeing 
any comment on YouTube that's 

643
00:43:48,600 --> 00:43:51,680
positive because I feel like my 
brain is just conditioned to 

644
00:43:51,680 --> 00:43:55,640
think that everyone trolls. 
Trolls and haters, right? 

645
00:43:57,200 --> 00:43:59,000
Yeah. 
Exactly. 

646
00:43:59,440 --> 00:44:03,480
But, but actually, it's like, 
yeah, overwhelmingly positive 

647
00:44:03,480 --> 00:44:06,560
all the time. 
And it's just really surprising,

648
00:44:06,720 --> 00:44:08,440
I guess. 
Maybe I don't have enough faith 

649
00:44:08,440 --> 00:44:12,520
in people, I don't know. 
But yeah, that's funny. 

650
00:44:12,520 --> 00:44:15,920
No, I feel the same way, but 
it's it's nice, it's kind of, 

651
00:44:16,360 --> 00:44:22,480
it's refreshing I guess like 
with that being said, we can, we

652
00:44:22,480 --> 00:44:26,920
can wrap this up. 
It was awesome meeting you and I

653
00:44:26,920 --> 00:44:28,640
know we've been chatting quite a
bit. 

654
00:44:28,640 --> 00:44:33,000
We we chat on Twitter quite a 
bit, but it's awesome, you know,

655
00:44:33,000 --> 00:44:38,560
having a conversation with you 
and I I love my new live streams

656
00:44:38,560 --> 00:44:42,640
with guests because I'm going 
to, I have been meeting tons of 

657
00:44:42,640 --> 00:44:45,760
awesome people and I'm going to 
just keep this going and it's 

658
00:44:45,760 --> 00:44:48,760
been fun and maybe we'll be able
to have you back on. 

659
00:44:49,720 --> 00:44:54,600
And yeah, and I know we were 
talking about my Gist clone a 

660
00:44:54,600 --> 00:44:58,080
little bit and when it turns 
into an open source project, you

661
00:44:58,080 --> 00:45:00,360
have a lot of awesome ideas with
that as well. 

662
00:45:00,360 --> 00:45:03,920
So yeah, that is a really cool. 
Series. 

663
00:45:04,080 --> 00:45:06,240
Yeah, so. 
I'm sure we'll bring you back 

664
00:45:06,240 --> 00:45:09,800
and talk about turning it into 
an open source project when I 

665
00:45:09,800 --> 00:45:12,600
get a little closer. 
Awesome. 

666
00:45:12,840 --> 00:45:13,320
I. 
Love it? 

667
00:45:13,840 --> 00:45:16,160
Yeah, let's. 
See, Mike Wilson Would love to 

668
00:45:16,160 --> 00:45:18,120
see more advanced Live View 
content. 

669
00:45:18,240 --> 00:45:21,280
Kind of sick of seeing the same 
Twitter button counters, dude. 

670
00:45:21,280 --> 00:45:25,280
I agree. 
That's why I'm I went with the 

671
00:45:25,320 --> 00:45:28,680
Gist clone like I thought that 
was a fun project and I can hit 

672
00:45:28,680 --> 00:45:30,440
on a lot of things with that, 
you know? 

673
00:45:31,880 --> 00:45:36,680
Yeah, you know. 
I I haven't actually. 

674
00:45:37,440 --> 00:45:41,520
I never looked at the the 
pragmatic studio guide or 

675
00:45:41,520 --> 00:45:45,240
whatever. 
Everyone says that it's really 

676
00:45:45,240 --> 00:45:48,440
good, but I never looked at it 
when learning Live View. 

677
00:45:49,200 --> 00:45:55,120
And I had looked at it a little 
bit recently just to get a feel 

678
00:45:55,120 --> 00:45:59,920
for what people like, I guess. 
And I was kind of surprised that

679
00:46:00,760 --> 00:46:04,320
it it too kind of starts pretty 
early on with the example of 

680
00:46:04,320 --> 00:46:08,200
like a light switch or something
like that, like a bit of state 

681
00:46:08,200 --> 00:46:12,680
like that. 
And it's kind of like the 

682
00:46:12,680 --> 00:46:17,080
opposite of pragmatic like the 
the real thing you're doing 90% 

683
00:46:17,080 --> 00:46:20,840
of the time is forms. 
So that's it's kind of boring I 

684
00:46:20,840 --> 00:46:22,480
guess. 
But that if you want to know how

685
00:46:22,480 --> 00:46:24,760
to make an app with Live View, 
that is kind of the thing you 

686
00:46:24,760 --> 00:46:26,400
need to know. 
Yeah, I. 

687
00:46:26,760 --> 00:46:30,680
I think they they make a lot of 
really good content for sure. 

688
00:46:31,160 --> 00:46:33,480
And I think they probably 
started that 'cause, you know, 

689
00:46:33,480 --> 00:46:39,240
creating buttons and whatever it
is, is a lot flashier and more 

690
00:46:39,240 --> 00:46:40,800
satisfying right out of the 
gate. 

691
00:46:40,880 --> 00:46:44,600
And maybe it's maybe it's the 
responsiveness, the reactiveness

692
00:46:44,600 --> 00:46:47,560
and they can just teach how like
how you handle an event and 

693
00:46:47,560 --> 00:46:51,200
things like that, but. 
It is, yeah. 

694
00:46:51,960 --> 00:46:55,880
They do have a. 
Lot of good content and yeah, I 

695
00:46:55,880 --> 00:46:58,840
definitely appreciate people 
like that just with like their 

696
00:46:58,840 --> 00:47:01,760
publishing company and then the 
courses that they put out. 

697
00:47:03,360 --> 00:47:08,400
Yeah, I'd be interested in. 
Purchasing the paid 1 cause I've

698
00:47:08,400 --> 00:47:11,240
only seen the free materials 
but. 

699
00:47:11,680 --> 00:47:21,960
Yeah, I I went through like 
right when Phoenix 1.7. 1.7 

700
00:47:21,960 --> 00:47:24,640
right? 
But yeah, right when that was 

701
00:47:24,640 --> 00:47:30,320
released I got their like 
updated course and it's it's 

702
00:47:30,320 --> 00:47:32,880
pretty good. 
I thought it was pretty bad. 

703
00:47:33,160 --> 00:47:34,200
Check it out. 
Yeah. 

704
00:47:35,320 --> 00:47:37,560
It's. 
It's real hard right now. 

705
00:47:37,560 --> 00:47:40,160
If you want to make like a 
comprehensive thing like a 

706
00:47:40,160 --> 00:47:45,360
course or a book. 
I mean, you can't really do it 

707
00:47:45,360 --> 00:47:47,240
right now until Live View is at 
one point. 

708
00:47:47,360 --> 00:47:51,600
OI mean it's changed so much 
over the last year. 

709
00:47:52,440 --> 00:47:55,000
It's a totally Yeah, you'd be 
screwed. 

710
00:47:55,000 --> 00:47:56,800
Everything you would write would
be out of date. 

711
00:47:57,640 --> 00:47:58,520
So I'm. 
Sure, a lot of. 

712
00:47:58,520 --> 00:48:01,080
People. 
Yeah, I'm sure a lot of people 

713
00:48:01,080 --> 00:48:05,160
are waiting for one point O to 
really dig into more learning 

714
00:48:05,160 --> 00:48:09,000
material in the form of like a 
book or that kind of thing. 

715
00:48:09,000 --> 00:48:11,680
Yeah, I'm sure. 
Well, like currently I'm 

716
00:48:12,160 --> 00:48:17,040
building an Elixir course and 
that is kind of why I'm staying 

717
00:48:17,040 --> 00:48:20,440
away from live view right now, 
but just like. 

718
00:48:20,440 --> 00:48:22,840
Building A. 
Comprehensive like introductory 

719
00:48:22,840 --> 00:48:26,240
course is very hard and I 
actually just recorded. 

720
00:48:26,240 --> 00:48:30,320
I'll be releasing Gen. 
A Gen. server video today and 

721
00:48:31,120 --> 00:48:33,960
the A supervisor video today to 
my course. 

722
00:48:33,960 --> 00:48:37,320
So that's exciting. 
Yeah, that. 

723
00:48:37,320 --> 00:48:39,840
Would be. 
That would be some cool stuff to

724
00:48:40,280 --> 00:48:44,600
do, some content about. 
Genservers are a lot of fun. 

725
00:48:44,600 --> 00:48:46,040
There's a lot of power behind 
them. 

726
00:48:47,280 --> 00:48:50,440
That's another one. 
Too where I will say I think 

727
00:48:52,240 --> 00:48:57,040
there's like a tendency to I 
have seen people like. 

728
00:48:58,560 --> 00:49:02,080
Try to. 
Solve problems with OTP that 

729
00:49:02,080 --> 00:49:06,000
maybe they shouldn't like. 
Maybe there's a better solution 

730
00:49:06,520 --> 00:49:08,640
you can definitely. 
You can definitely overuse it, 

731
00:49:08,640 --> 00:49:13,720
and you know, get you can pretty
much F up your your your 

732
00:49:13,720 --> 00:49:17,320
statefulness really easily if 
you're trying to hold. 

733
00:49:17,560 --> 00:49:20,720
If you're trying to have too 
many things communicate with a 

734
00:49:20,720 --> 00:49:23,880
single stateful process, right 
that. 

735
00:49:23,880 --> 00:49:25,600
Is the problem. 
Yeah, you could probably write a

736
00:49:25,600 --> 00:49:29,520
whole book about architecting 
Gen. servers for web 

737
00:49:29,520 --> 00:49:34,720
applications. 
But there's so many things that 

738
00:49:35,160 --> 00:49:43,720
like for instance if you want to
send emails or something or you 

739
00:49:43,720 --> 00:49:46,760
know, storing some kind of 
notification state or something 

740
00:49:46,760 --> 00:49:51,520
like that. 
You could like say you want to 

741
00:49:51,520 --> 00:49:54,720
like deliver them later and you 
need to have them go out at a 

742
00:49:54,720 --> 00:49:57,160
certain time. 
I've seen people solve this 

743
00:49:57,160 --> 00:50:01,680
problem by having a Gen. server 
that that holds the state of all

744
00:50:01,680 --> 00:50:05,000
the messages or the emails or 
the text messages that need to 

745
00:50:05,000 --> 00:50:08,920
go out. 
But there's a lot that can go 

746
00:50:08,920 --> 00:50:12,640
wrong there, like you need to 
worry about handling it 

747
00:50:12,640 --> 00:50:15,800
crashing. 
Well, yeah, if your. 

748
00:50:15,800 --> 00:50:18,120
Process crashes, you lose your 
queue. 

749
00:50:19,120 --> 00:50:23,280
Yeah, unless. 
Unless you're using a database 

750
00:50:23,280 --> 00:50:26,480
to also track, I don't know. 
There's a lot of things you can 

751
00:50:26,480 --> 00:50:28,960
do. 
Yeah, I. 

752
00:50:29,600 --> 00:50:31,800
That's another thing I've been 
wanting to make some kind of 

753
00:50:31,800 --> 00:50:36,200
content about TOO is like 
recovering from those crashes, 

754
00:50:36,600 --> 00:50:44,440
particularly as it pertains to 
multi like clustered Elixir like

755
00:50:44,440 --> 00:50:48,760
multi node Phoenix deployments. 
I'm really surprised how many 

756
00:50:48,760 --> 00:50:52,840
people don't do it because the 
company that I worked at, where 

757
00:50:52,840 --> 00:50:57,400
I first used Elixir, we had 
everything, Kubernetes was 

758
00:50:57,400 --> 00:51:00,760
everything. 
So from day one all everything 

759
00:51:00,760 --> 00:51:07,440
Phoenix we did was deployed in a
in a cluster and so we didn't 

760
00:51:07,440 --> 00:51:10,600
have the luxury of writing Gen. 
servers that didn't work in a 

761
00:51:10,600 --> 00:51:12,720
cluster. 
Like, you know, I think it's 

762
00:51:12,720 --> 00:51:13,600
hard to. 
Get that out. 

763
00:51:14,000 --> 00:51:18,960
It's hard to. 
Find content on like distributed

764
00:51:18,960 --> 00:51:21,720
systems and like on a production
level. 

765
00:51:21,720 --> 00:51:24,920
It's not easy and I'm like 
eventually I'd like to make 

766
00:51:24,920 --> 00:51:27,920
content on it too, but I have a 
lot to learn myself. 

767
00:51:29,520 --> 00:51:30,760
But it's a really. 
Hard. 

768
00:51:30,760 --> 00:51:33,280
Problem. 
Yeah, it is 'cause there's just 

769
00:51:33,280 --> 00:51:39,400
so many things you can do to 
recover from those crashes. 

770
00:51:39,880 --> 00:51:43,200
There's so many ways you can 
store state there's you have 

771
00:51:43,200 --> 00:51:45,120
like an infinite amount of 
options. 

772
00:51:45,200 --> 00:51:49,240
So yeah, it's hard to have like 
a comprehensive guide on this is

773
00:51:49,240 --> 00:51:52,200
what you should do, but right? 
Yeah. 

774
00:51:52,400 --> 00:51:55,520
But I mean, I think any content 
on the subject would be 

775
00:51:55,520 --> 00:51:57,960
beneficial just because there's 
not a lot out there. 

776
00:51:59,760 --> 00:52:01,400
Yeah. 
Yeah, I don't know. 

777
00:52:01,400 --> 00:52:06,160
I was just going to say I think 
the alternative there is if you,

778
00:52:06,200 --> 00:52:09,640
if you happen to be architecting
something like that, don't be 

779
00:52:09,640 --> 00:52:14,120
afraid to just put the state in 
something like Redis or a 

780
00:52:14,120 --> 00:52:16,120
database, you know? 
Yep. 

781
00:52:16,920 --> 00:52:20,120
Yeah, it doesn't have. 
To go in OTPI built just. 

782
00:52:20,120 --> 00:52:24,560
Some like a basically public 
tooling for my dev shop, my own 

783
00:52:24,560 --> 00:52:28,200
company. 
But I have an API with common 

784
00:52:28,200 --> 00:52:33,080
tools that I use for like in 
house projects and I use Redis 

785
00:52:33,080 --> 00:52:38,200
for. 
Now I'm going blank. 

786
00:52:38,280 --> 00:52:46,080
On the word but basically. 
Tracking Dude I hit. 

787
00:52:46,080 --> 00:52:49,160
Why does my brain have to stop 
working on a on a live stream, 

788
00:52:50,200 --> 00:52:55,680
but when you? 
When someone's hitting an. 

789
00:52:55,680 --> 00:52:57,640
Endpoint too many times and you 
want to cut them off. 

790
00:52:57,640 --> 00:52:59,080
What is the word I'm looking 
for? 

791
00:52:59,400 --> 00:53:01,280
Oh, Ray limiting. 
Yeah, so I. 

792
00:53:01,280 --> 00:53:04,840
Use Dreadis for a rate limiting 
system and it it works amazing. 

793
00:53:06,400 --> 00:53:08,200
What did did you use the? 
Library for it? 

794
00:53:08,200 --> 00:53:11,360
Or did you just write it by hand
I. 

795
00:53:11,360 --> 00:53:14,360
Wrote it by hand. 
I spun up basically just a Redis

796
00:53:15,840 --> 00:53:20,240
instance in a docker container 
and then I looked at some 

797
00:53:20,240 --> 00:53:24,320
examples and just ended up 
writing my own rate limiting 

798
00:53:24,320 --> 00:53:27,160
software or script. 
Yeah. 

799
00:53:27,960 --> 00:53:34,760
I think I saw one called Hammer 
that had like a bunch of like 

800
00:53:35,240 --> 00:53:37,600
backends that you could plug in 
or out. 

801
00:53:37,600 --> 00:53:42,760
Like there was one that was I 
think ETS based. 

802
00:53:42,760 --> 00:53:45,280
There's one that was Amnesia 
based, There's one that was 

803
00:53:45,280 --> 00:53:46,600
Redis. 
OK. 

804
00:53:47,320 --> 00:53:49,680
But it like worked. 
At the plug level, yeah, I was 

805
00:53:49,680 --> 00:53:52,080
gonna say. 
I wrote my own plug and just 

806
00:53:52,080 --> 00:53:55,960
threw it in and so it rate. 
It rate limits all my routes, 

807
00:53:55,960 --> 00:53:59,960
which is nice, and then I can 
whitelist like my IP address if 

808
00:53:59,960 --> 00:54:02,880
I want to. 
Speaking of which, that would. 

809
00:54:02,880 --> 00:54:07,360
Be another interesting thing to 
put more content out about would

810
00:54:07,360 --> 00:54:14,400
be like ETS and amnesia. 
How to use that more? 

811
00:54:14,800 --> 00:54:18,520
Although that is one thing that 
I never really have messed 

812
00:54:18,520 --> 00:54:23,400
around with a whole lot because 
I guess I've just always felt 

813
00:54:23,400 --> 00:54:27,720
like if I needed that, 
especially Amnesia, because I 

814
00:54:27,720 --> 00:54:30,880
guess I personally probably 
wouldn't use ETSA whole lot. 

815
00:54:31,040 --> 00:54:34,880
Not saying that you can't use 
it, but because it's hard to 

816
00:54:34,880 --> 00:54:39,280
work in a cluster and you have 
to kind of use Amnesia, I've 

817
00:54:39,280 --> 00:54:41,920
just always looked at it as like
well, if I was ever going to 

818
00:54:41,920 --> 00:54:44,560
want Amnesia, I'm just going to 
use Redis. 

819
00:54:45,120 --> 00:54:48,520
But maybe I should learn Amnesia
more to try to. 

820
00:54:49,320 --> 00:54:50,880
I don't know. 
I yeah, I. 

821
00:54:50,880 --> 00:54:54,440
Wish I wish I knew more about it
to contribute to this 

822
00:54:54,440 --> 00:54:57,960
conversation. 
But yeah, I don't really know 

823
00:54:57,960 --> 00:55:00,960
that much. 
I know I know what like what ETS

824
00:55:00,960 --> 00:55:04,400
is. 
I actually plan to learn how to 

825
00:55:04,520 --> 00:55:08,480
like I I want to in my Elixir 
course I'm building out. 

826
00:55:11,560 --> 00:55:13,880
An analytic. 
Server and I'm trying to 

827
00:55:13,880 --> 00:55:18,440
integrate as much of that, like 
as much of as many concepts as 

828
00:55:18,440 --> 00:55:22,000
possible into the final project 
so people see real world 

829
00:55:22,000 --> 00:55:25,840
applications of all this stuff 
instead of just like yeah, you 

830
00:55:25,840 --> 00:55:29,440
learn that like you know you 
have your stateful Gen. server 

831
00:55:29,680 --> 00:55:34,240
and it can process a queue of 
messages at you know you can 

832
00:55:34,320 --> 00:55:37,760
hammer it with 1000 new messages
and it goes through as fast as 

833
00:55:37,760 --> 00:55:41,400
it can and does that. 
Like great, but give me a real 

834
00:55:41,400 --> 00:55:45,360
example of that which would be 
like an analytics endpoint 

835
00:55:45,360 --> 00:55:49,160
getting hit from a website 
because now you can have 

836
00:55:49,160 --> 00:55:53,240
thousands of hits coming into 
your your processes. 

837
00:55:54,480 --> 00:55:56,560
Did you use? 
Plausible for that? 

838
00:55:56,560 --> 00:55:59,000
Or is it just all written by 
hand? 

839
00:55:59,000 --> 00:55:59,440
I'm. 
A. 

840
00:55:59,560 --> 00:56:04,000
So for my course it's Plausible 
gave me the idea, and I actually

841
00:56:04,000 --> 00:56:09,000
use Plausible for my HG as 
websites for analytics. 

842
00:56:09,000 --> 00:56:11,760
It's great. 
Open source project, highly 

843
00:56:11,760 --> 00:56:16,040
recommend, but that's what gave 
me the idea of I'm I'm going to 

844
00:56:16,040 --> 00:56:19,040
build a very like simplified 
version of Plausible for the 

845
00:56:19,040 --> 00:56:24,640
project, but it like teaches you
how you can, you know, have a 

846
00:56:24,720 --> 00:56:29,240
JavaScript script hit your 
endpoints, all from just, you 

847
00:56:29,240 --> 00:56:31,520
know your live session on a 
website. 

848
00:56:32,040 --> 00:56:33,920
And it's it's going to be a lot 
of fun. 

849
00:56:35,240 --> 00:56:38,760
Now are you? 
Using Postgres for that, Or 

850
00:56:39,280 --> 00:56:40,600
yeah, it'll be. 
Postgres. 

851
00:56:41,720 --> 00:56:45,680
Because plausible. 
Uses click house for querying 

852
00:56:45,680 --> 00:56:49,160
and indexing and everything. 
Which I've always been 

853
00:56:49,160 --> 00:56:51,280
interested. 
In, but I've I haven't messed 

854
00:56:51,280 --> 00:56:53,200
around with Click House very 
much. 

855
00:56:53,200 --> 00:56:57,560
I haven't, dude. 
I I wish I had four times the 

856
00:56:57,560 --> 00:57:01,360
amount of time in a day, but 
then I would, I probably still 

857
00:57:01,360 --> 00:57:05,560
wouldn't have time to do things.
Yeah, I mean. 

858
00:57:05,560 --> 00:57:09,720
I know you can. 
I know Postgres can handle the 

859
00:57:09,720 --> 00:57:14,840
scale of like an analytics tool.
I think the like I said, I'm not

860
00:57:14,840 --> 00:57:18,600
a click house expert, but I 
think the reason they use it is 

861
00:57:18,600 --> 00:57:25,960
it's got more indexing ability 
and you can just query stuff 

862
00:57:26,240 --> 00:57:29,000
about the data better than you 
can in Postgres. 

863
00:57:29,000 --> 00:57:31,640
Oh, OK, I think. 
Like for. 

864
00:57:31,640 --> 00:57:36,280
As far as my examples going, 
it's going to be fine, like it's

865
00:57:36,280 --> 00:57:40,480
going to be a very small version
of a large analytic server, 

866
00:57:40,480 --> 00:57:43,320
right? 
But it will give a lot of. 

867
00:57:45,600 --> 00:57:48,320
Principles that you. 
Need to actually build a more 

868
00:57:48,840 --> 00:57:52,360
robust system, you know. 
Yeah, I I've been wanting. 

869
00:57:52,360 --> 00:57:58,240
To build something kind of like 
a like a developer tool for 

870
00:57:58,240 --> 00:58:04,480
Phoenix for like user tracking 
in like your own app. 

871
00:58:04,680 --> 00:58:10,000
Like I don't know if you've ever
seen these services like replay 

872
00:58:10,000 --> 00:58:14,520
dot IO or a couple other ones 
like that. 

873
00:58:15,000 --> 00:58:20,680
They call them like real user 
monitoring and it's like instead

874
00:58:20,680 --> 00:58:27,160
of just knowing what pages got 
visited, it's like an actual 

875
00:58:27,160 --> 00:58:30,080
thing that's running and 
tracking like what the user 

876
00:58:30,080 --> 00:58:32,680
clicked on. 
And down to that level of 

877
00:58:32,680 --> 00:58:40,040
granularity, which I guess can 
maybe be a little ethically 

878
00:58:40,040 --> 00:58:42,720
Gray. 
But I feel like if you are not 

879
00:58:42,720 --> 00:58:48,800
selling that and you are doing 
that in your app and not giving 

880
00:58:48,800 --> 00:58:52,520
it out to some third party that 
they never agreed to feel like 

881
00:58:52,520 --> 00:58:58,800
it's kind of like, yeah, what's?
Funny is, so I have a podcast 

882
00:58:58,800 --> 00:59:02,440
called Big App Energy and we 
talk about ethics and software 

883
00:59:02,440 --> 00:59:06,240
all the time where you just have
to, if you're using third party 

884
00:59:06,240 --> 00:59:08,560
analytic software, you have to 
be well aware of what's being 

885
00:59:08,560 --> 00:59:13,120
collected and you need to, you 
know, be transparent about that.

886
00:59:13,680 --> 00:59:16,960
But then also if you're only 
using it for in house, just be 

887
00:59:16,960 --> 00:59:19,080
responsible with how you store 
their data. 

888
00:59:19,080 --> 00:59:22,160
So if you ever get hacked or 
information gets leaked, you're 

889
00:59:22,160 --> 00:59:26,000
not losing, you know, sensitive 
customer data, but you 

890
00:59:26,000 --> 00:59:29,160
definitely need to collect 
things like that just to improve

891
00:59:29,400 --> 00:59:32,480
UX experience across the board 
to actually build a good 

892
00:59:32,480 --> 00:59:36,240
product, right. 
So the way people use your app 

893
00:59:36,240 --> 00:59:39,520
is usually a lot different than 
the way you designed your app. 

894
00:59:41,360 --> 00:59:44,720
Yeah, exactly. 
And I like, I wish I was a 

895
00:59:44,720 --> 00:59:48,760
lawyer and knew exactly how to 
comply with everything. 

896
00:59:48,760 --> 00:59:55,000
But I mean, I try. 
I do my best to learn how to 

897
00:59:55,000 --> 00:59:57,240
comply with, like, GDPR and 
everything. 

898
00:59:57,720 --> 01:00:01,480
That's what lawyers. 
Are for, yeah, I guess that's. 

899
01:00:01,480 --> 01:00:04,560
True but. 
It but it is the big. 

900
01:00:04,560 --> 01:00:07,080
Burden. 
If you want to get into like the

901
01:00:07,080 --> 01:00:10,880
indie hacker thing and like, 
launch your own SAS apps, it's 

902
01:00:11,000 --> 01:00:14,760
really kind of terrifying to 
think that you're gonna run 

903
01:00:14,760 --> 01:00:18,600
afoul of some regulatory body. 
Yeah, you got to be careful. 

904
01:00:19,000 --> 01:00:22,160
It's definitely an eye opener. 
You can't just build whatever 

905
01:00:22,160 --> 01:00:24,400
you want without thinking things
through. 

906
01:00:25,160 --> 01:00:28,600
Mike Wilson said that Plausible 
started out on Postgres but 

907
01:00:28,600 --> 01:00:31,760
migrated to Click House because 
Postgres couldn't keep up. 

908
01:00:32,200 --> 01:00:34,920
It's good to know I. 
Would love to. 

909
01:00:35,400 --> 01:00:37,080
I'd love to know what the 
bottlenecks were. 

910
01:00:38,480 --> 01:00:40,520
Yeah, I. 
I would, well, I would like to 

911
01:00:40,520 --> 01:00:44,920
know 'cause I think, I mean, I 
think you can shove as much data

912
01:00:44,920 --> 01:00:49,240
in either one, but I I think 
it's something about doing 

913
01:00:49,240 --> 01:00:52,240
queries on Click house again. 
Like. 

914
01:00:53,000 --> 01:00:56,080
Yeah, like giant sets of data. 
I think is easier for some 

915
01:00:56,080 --> 01:00:59,280
reason, and I thought that's. 
Like, isn't that where 

916
01:00:59,280 --> 01:01:02,840
relational databases shine? 
Or like SQL in general? 

917
01:01:04,000 --> 01:01:05,080
Yeah, I don't know. 
I really. 

918
01:01:05,080 --> 01:01:07,600
Need to learn more about Click 
House. 

919
01:01:07,680 --> 01:01:10,960
I only know enough. 
To do what I do, honestly. 

920
01:01:12,720 --> 01:01:16,240
So what I was I was going to. 
Say I the whole thing with the 

921
01:01:16,240 --> 01:01:18,920
like user real user monitoring 
thing. 

922
01:01:19,520 --> 01:01:23,440
I saw a talk, I think it was at 
the last elixir conf. 

923
01:01:25,520 --> 01:01:28,680
I don't know, I saw clips of it 
online I feel like. 

924
01:01:29,200 --> 01:01:32,200
Or maybe it was the one in 
Europe that just happened, or 

925
01:01:32,200 --> 01:01:34,920
someone was showing off 
something similar where they had

926
01:01:34,920 --> 01:01:39,320
like the live view thing where 
they're using presents to show 

927
01:01:39,320 --> 01:01:44,800
all the cursors on the page of 
everyone else and they like 

928
01:01:44,920 --> 01:01:46,480
Mike. 
Actually in the comments just 

929
01:01:46,480 --> 01:01:49,800
said at a previous company, they
literally would replay their 

930
01:01:49,800 --> 01:01:52,560
session. 
Helpful, but kind of. 

931
01:01:52,560 --> 01:01:56,280
Wild that a user can be tracked 
like that, yeah? 

932
01:01:56,360 --> 01:02:00,200
That is kind of scary. 
Yeah, well, I mean, if. 

933
01:02:00,200 --> 01:02:03,560
You're using like Sentry. 
Sentry has a real user 

934
01:02:03,560 --> 01:02:08,400
monitoring component built in, 
so it is tracking all your 

935
01:02:08,480 --> 01:02:10,920
users. 
If you're using that, yeah, 

936
01:02:10,920 --> 01:02:13,600
that's wild. 
I think you got to pay. 

937
01:02:13,600 --> 01:02:17,200
For it but. 
Do either of you? 

938
01:02:17,280 --> 01:02:21,240
Happen to know what the general 
Elixir Phoenix job market looks 

939
01:02:21,240 --> 01:02:24,560
like in Europe versus USI have 
no idea. 

940
01:02:24,560 --> 01:02:27,880
Honestly, it's a hard market to 
be in right now, that's for sure

941
01:02:29,160 --> 01:02:31,160
in. 
Europe, yeah, I have no, I mean 

942
01:02:31,800 --> 01:02:35,640
I have no idea about Europe. 
I can tell you it's not very 

943
01:02:35,640 --> 01:02:39,680
good in the States right now. 
So I would imagine it's probably

944
01:02:39,680 --> 01:02:42,520
similar, but maybe not. 
I don't know. 

945
01:02:42,520 --> 01:02:46,440
I mean I think here it's mainly 
driven by the interest rates 

946
01:02:46,840 --> 01:02:49,200
have just dried up tech 
investment. 

947
01:02:49,280 --> 01:02:52,360
So maybe that's not the case in 
Europe, I don't know. 

948
01:02:52,360 --> 01:02:56,240
The tech space is. 
Not a comfortable one right now.

949
01:02:57,840 --> 01:02:59,920
Yeah, it's not. 
Very good right now. 

950
01:02:59,920 --> 01:03:05,280
But I guess the flip side of 
that is it's, I mean we are 

951
01:03:05,280 --> 01:03:09,440
seeing like a contraction bigger
than any other part of the 

952
01:03:09,440 --> 01:03:12,560
economy right now. 
Like all there's these big tech 

953
01:03:12,560 --> 01:03:16,920
layoffs that are happening. 
They're not happening in any 

954
01:03:16,920 --> 01:03:19,000
other industry. 
There's no other industry right 

955
01:03:19,000 --> 01:03:20,920
now that's laying off thousands 
of people. 

956
01:03:20,960 --> 01:03:24,200
It's only tech. 
So in that respect it is kind of

957
01:03:24,200 --> 01:03:28,200
uniquely bad. 
But I think there is like 

958
01:03:28,200 --> 01:03:32,920
fundamental thing there too of 
like there's worse things to 

959
01:03:32,920 --> 01:03:35,720
there's worse industries to be 
in right now. 

960
01:03:35,720 --> 01:03:39,160
From the long term outlook, I 
would still rather be a 

961
01:03:39,160 --> 01:03:43,840
programmer in 2024 than any than
anything else. 

962
01:03:43,840 --> 01:03:45,080
It's fun. 
I. 

963
01:03:45,160 --> 01:03:49,080
Enjoy it because you you each 
day is never the same. 

964
01:03:50,520 --> 01:03:52,120
That's true. 
You get to. 

965
01:03:52,680 --> 01:03:54,560
Solve new problems all the time,
right? 

966
01:03:56,360 --> 01:04:00,360
Yeah, and. 
You get to, yeah, you get to 

967
01:04:00,600 --> 01:04:06,200
solve new problems. 
And I really like, I really 

968
01:04:06,200 --> 01:04:09,520
enjoy working at companies where
there's a lot of like ownership 

969
01:04:09,520 --> 01:04:13,120
over the product and the 
processes. 

970
01:04:15,440 --> 01:04:17,480
I think a lot of companies try 
to foster that. 

971
01:04:17,480 --> 01:04:20,680
But it's it's hard, you know, 
but if you can get. 

972
01:04:22,160 --> 01:04:25,840
Yeah, if you can get. 
Developers that really just know

973
01:04:26,640 --> 01:04:30,400
almost what needs to happen 
before you have to tell them. 

974
01:04:31,120 --> 01:04:36,280
That's where you really unlock 
like real efficiency, I think. 

975
01:04:36,560 --> 01:04:39,200
Yeah, I agree. 
If you can, give your developers

976
01:04:39,200 --> 01:04:42,800
some freedom and that's actually
how you build a good engineering

977
01:04:42,800 --> 01:04:48,160
team as well as just let them 
manage their own project, be 

978
01:04:48,160 --> 01:04:51,120
their own cost. 
Yeah, exactly. 

979
01:04:51,120 --> 01:04:53,720
Not everyone. 
Is capable of doing that either?

980
01:04:53,720 --> 01:04:57,480
Because I've I've met people 
that are from both sides where 

981
01:04:57,480 --> 01:05:00,840
you have to delegate and 
micromanage everything they do 

982
01:05:00,840 --> 01:05:02,840
and always tell them what to do 
next. 

983
01:05:03,240 --> 01:05:05,400
And then there's people that 
will just take the ball and run.

984
01:05:06,600 --> 01:05:08,840
I mean, yeah. 
It is really interesting 

985
01:05:08,840 --> 01:05:12,600
Speaking of the job market 
because we we've been hiring at 

986
01:05:12,720 --> 01:05:17,200
at my company for a while and 
you would think with the amount 

987
01:05:17,200 --> 01:05:21,640
of layoffs we have had, you 
would just get like a tremendous

988
01:05:21,640 --> 01:05:26,200
increase in like the kind of 
like resumes you get and 

989
01:05:26,200 --> 01:05:28,800
everything. 
But it's the exact same, it's 

990
01:05:28,800 --> 01:05:34,120
just more so it's just a lot of 
resumes and it's still really 

991
01:05:34,120 --> 01:05:39,520
hard to find people with 
multiple years of Elixir 

992
01:05:39,520 --> 01:05:42,520
experience. 
It's still just a really small 

993
01:05:44,480 --> 01:05:50,520
industry and but you are just 
competing with way more people, 

994
01:05:50,720 --> 01:05:51,920
you know? 
Yep. 

995
01:05:52,400 --> 01:05:55,880
Yeah, for sure as of right now. 
All right. 

996
01:05:55,960 --> 01:05:58,400
Well, I think we should wrap 
this thing up. 

997
01:05:58,400 --> 01:06:01,320
It's been fun. 
If there's any plugs that you 

998
01:06:01,320 --> 01:06:05,040
want to give, like your Twitter 
handle, your YouTube channel, 

999
01:06:05,520 --> 01:06:13,080
share them right now my. 
Yeah, my YouTube SRC dot RIP is 

1000
01:06:13,080 --> 01:06:18,320
my Twitter. 
If you go to SRC dot RIP it'll 

1001
01:06:18,360 --> 01:06:26,600
take you to my Twitter and my 
YouTube channel is at SRCRIP and

1002
01:06:26,600 --> 01:06:31,160
I'll put it in the chat. 
And yeah, I think that's about 

1003
01:06:31,160 --> 01:06:33,680
it. 
I am working on like free 

1004
01:06:33,680 --> 01:06:39,800
YouTube content right now but 
I'm hoping in 2024 to branch out

1005
01:06:39,800 --> 01:06:46,720
into some paid courses. 
And also what I'm working on is 

1006
01:06:46,720 --> 01:06:51,040
a like a paid live view 
component library that I don't 

1007
01:06:51,040 --> 01:06:56,440
have a whole lot to show of yet 
but I'm hoping to since I have a

1008
01:06:56,440 --> 01:07:01,000
big front end. 
I'm a big front end aficionado. 

1009
01:07:01,440 --> 01:07:04,840
I'm hoping to produce something 
that's like of the caliber of 

1010
01:07:04,840 --> 01:07:09,200
what they have and react in live
view I think that would be. 

1011
01:07:09,600 --> 01:07:11,720
Awesome man, keep everyone 
posted. 

1012
01:07:12,040 --> 01:07:15,160
Follow this guy, he puts out 
good content. 

1013
01:07:15,640 --> 01:07:19,680
And for everyone that joined us 
and watched today, thank you so 

1014
01:07:19,680 --> 01:07:23,040
much and we will we'll see you 
in the next one. 

1015
01:07:25,040 --> 01:07:25,640
Testing.
