1
00:00:00,120 --> 00:00:03,600
Hey, I'm Kimberly with Elixir 
mentor Jacob recently added 

2
00:00:03,600 --> 00:00:06,960
recruitment services to help 
companies hire pre vetted Elixir

3
00:00:06,960 --> 00:00:09,960
devs. 
I help with company outreach, so

4
00:00:09,960 --> 00:00:13,240
if you're hiring, I may be 
reaching out, or you can connect

5
00:00:13,240 --> 00:00:15,440
with us anytime at 
elixirmentor.com. 

6
00:00:17,200 --> 00:00:19,800
Secure your Elixir apps with 
paraxial IO. 

7
00:00:19,960 --> 00:00:23,000
From code analysis and bot 
defense to dependency checks, 

8
00:00:23,000 --> 00:00:26,280
they've got you covered. 
Elixir first design with GitHub 

9
00:00:26,280 --> 00:00:28,680
integration. 
Elevate your security at 

10
00:00:28,680 --> 00:00:39,240
paraxial dot IO testing What's 
up? 

11
00:00:39,240 --> 00:00:41,840
I'm Jacob Litzow, your Elixir 
mentor and welcome to another 

12
00:00:41,840 --> 00:00:44,400
exciting episode of the Elixir 
Mentor podcast. 

13
00:00:44,600 --> 00:00:46,720
This is where we discuss 
everything related to Elixir, 

14
00:00:46,720 --> 00:00:48,760
from interviews with 
enthusiasts, pioneers in the 

15
00:00:48,760 --> 00:00:51,360
community, to innovative 
projects and libraries shaping 

16
00:00:51,360 --> 00:00:55,120
Elixir's future. 
Isaac is back, I believe last 

17
00:00:55,120 --> 00:00:59,120
time we talked about ecto 
modeling and a book that you 

18
00:00:59,120 --> 00:01:02,000
recently wrote. 
And now this time we're going to

19
00:01:02,000 --> 00:01:05,880
be talking about REST API design
and architectural patterns and 

20
00:01:05,920 --> 00:01:07,400
who knows, we'll go from there, 
right? 

21
00:01:07,400 --> 00:01:10,200
I think we'll we'll have a good 
conversation. 

22
00:01:10,320 --> 00:01:11,200
How are you doing? 
Good. 

23
00:01:12,040 --> 00:01:14,760
I'm doing great. 
Lots of work, a lot of it in 

24
00:01:14,760 --> 00:01:18,600
Elixir, increasingly so. 
So I'm happy about this and lots

25
00:01:18,600 --> 00:01:23,560
of rewriting. 
For those that may not know you,

26
00:01:23,560 --> 00:01:26,080
you want to do a brief 
introduction and I didn't want 

27
00:01:26,080 --> 00:01:28,320
to butcher your last name so 
I'll leave that to. 

28
00:01:28,320 --> 00:01:31,280
You the last name is. 
I mean it's how you read it. 

29
00:01:31,280 --> 00:01:34,960
It's Alico Blue. 
Just read it straight on how you

30
00:01:34,960 --> 00:01:37,120
see it. 
I'm a mechanic engineer by 

31
00:01:37,120 --> 00:01:40,640
training, did a lot of R&D, did 
fishing neural networks and 

32
00:01:40,800 --> 00:01:45,320
classical machine learning back 
like 10 years ago, then switched

33
00:01:45,320 --> 00:01:47,640
to, did an MBA, switched to 
management, product management, 

34
00:01:47,640 --> 00:01:50,440
product development management. 
And now for the past six years 

35
00:01:50,440 --> 00:01:54,240
back in Greece where I've been 
running two or three different 

36
00:01:54,240 --> 00:01:57,680
businesses depending on how you 
count them primarily. 

37
00:01:57,680 --> 00:02:00,440
I mean, I'm always AB2B guy. 
I grew up in a family business. 

38
00:02:00,440 --> 00:02:02,040
So we discussed this last time, 
right? 

39
00:02:02,720 --> 00:02:06,320
And now I'm continuing 
industrial equipment sales. 

40
00:02:06,520 --> 00:02:09,680
I've been building over the past
four years a set of little 

41
00:02:09,680 --> 00:02:12,000
programs that I use. 
And that's how I basically got 

42
00:02:12,000 --> 00:02:15,040
into API clients, got back into 
programming. 

43
00:02:15,040 --> 00:02:19,520
And part of what I'm building 
now with this book is primarily 

44
00:02:19,520 --> 00:02:22,400
for my own needs. 
But I saw that it's something 

45
00:02:22,400 --> 00:02:23,760
that deserves to be talked 
about. 

46
00:02:24,240 --> 00:02:27,520
I didn't find a guide like this.
So I turn into a book and open 

47
00:02:27,520 --> 00:02:31,800
sourcing the the result. 
I could have really used, I 

48
00:02:31,800 --> 00:02:34,720
couldn't really use this book 
because it was a REST API 

49
00:02:34,720 --> 00:02:37,120
project that actually got me 
into Elixir. 

50
00:02:37,120 --> 00:02:41,560
And it was I, I actually would 
would not want to go back and 

51
00:02:41,560 --> 00:02:42,840
look at that code base right 
now. 

52
00:02:43,280 --> 00:02:45,640
It's probably. 
No, no, I our part of the 

53
00:02:45,640 --> 00:02:48,720
motivation is that that's how I 
got back into programming 

54
00:02:48,720 --> 00:02:50,080
because for years I was not 
programming. 

55
00:02:50,080 --> 00:02:53,200
And then in 2021, I wrote some 
programs from my father's 

56
00:02:53,200 --> 00:02:58,000
business to manage product data,
to manage a customer list, to 

57
00:02:58,000 --> 00:03:02,000
pull data from the Greek tax 
authorities for company 

58
00:03:02,040 --> 00:03:03,880
registration numbers and 
addresses. 

59
00:03:04,160 --> 00:03:10,280
And I built a little suite of of
API APIs actually with Jungle, 

60
00:03:10,280 --> 00:03:14,160
Jungle Ninja and Fast API, which
is more fantastic. 

61
00:03:14,160 --> 00:03:16,280
Like, OK, don't talk about 
performance, but I don't need 

62
00:03:16,280 --> 00:03:18,160
performance in a way purely for 
internal use. 

63
00:03:18,200 --> 00:03:19,640
And that's how I got back into 
programming. 

64
00:03:19,640 --> 00:03:21,920
And then I started writing 
little API clients for other 

65
00:03:22,200 --> 00:03:26,480
APIs like here Maps, and that 
got me back into programming. 

66
00:03:26,480 --> 00:03:30,920
But the problem is after four 
years of no development on 

67
00:03:30,920 --> 00:03:32,960
those, I, I started to outgrow 
them. 

68
00:03:33,200 --> 00:03:35,720
So now I've started 
reimplementing everything for my

69
00:03:35,800 --> 00:03:37,960
own business that does the same 
as my father's business, 

70
00:03:37,960 --> 00:03:40,800
industrial equipment training. 
I've been writing everything in 

71
00:03:40,800 --> 00:03:43,000
Elixir, in Phoenix, in Phoenix 
Live View. 

72
00:03:43,600 --> 00:03:49,320
And this book is part of what I 
need in order to manage files 

73
00:03:49,800 --> 00:03:51,880
because for example, I share 
files with customers, I will 

74
00:03:51,880 --> 00:03:54,960
send them the technical manual. 
And I, I really hate attaching 

75
00:03:55,360 --> 00:03:59,160
documents to 2 emails and send 
me like a 10 megabyte emails 

76
00:03:59,160 --> 00:04:02,480
with three PDFs inside. 
So I use it as my job self 

77
00:04:02,480 --> 00:04:04,440
hosted. 
It's not distributed. 

78
00:04:04,480 --> 00:04:07,040
It's not like S3 or garage or 
Minio. 

79
00:04:07,320 --> 00:04:10,880
Minio, by the way, painful story
for everyone who's been 

80
00:04:10,880 --> 00:04:12,240
relaying. 
I don't know if you read about 

81
00:04:12,240 --> 00:04:15,160
it. 
I don't you want you want to 

82
00:04:15,160 --> 00:04:17,920
catch everyone up on it. 
They clawed it back, right? 

83
00:04:17,920 --> 00:04:21,839
So they stopped maintenance and 
everybody who's been relying on 

84
00:04:21,839 --> 00:04:27,560
Minio is now sadly out of luck. 
So, so I mean, I like S3, the S3

85
00:04:27,560 --> 00:04:31,520
API because the standard and we 
use it in in on brick dot GR. 

86
00:04:31,520 --> 00:04:35,040
We use it on digital ocean 
spaces, but it's also overkill. 

87
00:04:35,040 --> 00:04:37,440
If you want to share a file, you
don't need to use S3 or a 

88
00:04:37,440 --> 00:04:39,760
bucket. 
Plus it's it's in transparent 

89
00:04:39,760 --> 00:04:42,040
how the files are stored. 
You cannot access them directly.

90
00:04:42,040 --> 00:04:46,560
It's like a Hass BLOB somewhere.
And I prefer to have simpler 

91
00:04:46,560 --> 00:04:49,680
solutions. 
So that book is now about an API

92
00:04:51,320 --> 00:04:54,880
API client that targets a 
specific undocumented API or 

93
00:04:54,880 --> 00:04:57,480
file browser. 
It's like a drop Dropbox self 

94
00:04:57,480 --> 00:05:01,120
hosted to Dropbox and also 
talking about how to build this 

95
00:05:01,120 --> 00:05:04,040
and about the mental process 
behind it. 

96
00:05:04,040 --> 00:05:06,760
Because I document, I document 
basically everything that comes 

97
00:05:06,760 --> 00:05:08,520
to mind. 
That's the same approach as the 

98
00:05:08,520 --> 00:05:11,720
other books. 
I feel like I need to I need to 

99
00:05:11,720 --> 00:05:15,600
do this for kill switch. 
Yeah, it takes time though. 

100
00:05:15,680 --> 00:05:18,080
It takes a lot of time. 
Like if I if I want to be done 

101
00:05:18,480 --> 00:05:22,040
in one week. 
But The thing is, yeah, that's 

102
00:05:22,040 --> 00:05:25,280
how I did it back in 2021 with 
the other APIs. 

103
00:05:25,480 --> 00:05:27,480
I did them in one week. 
I don't want to ever touch them 

104
00:05:27,480 --> 00:05:29,960
again because they are crappily 
designed. 

105
00:05:30,240 --> 00:05:34,400
They just work, but they just 
properly work and get the job 

106
00:05:34,400 --> 00:05:36,520
done sometimes. 
Yeah, I need the solution, you 

107
00:05:36,520 --> 00:05:39,560
need the solution and the 
results faster than good 

108
00:05:39,560 --> 00:05:43,200
architecture, but. 
If you can do well, yeah. 

109
00:05:43,240 --> 00:05:46,080
At the time we need the solution
because we have the, the, the 

110
00:05:46,080 --> 00:05:48,240
government in Greece established
electronic mandatory and 

111
00:05:48,240 --> 00:05:50,640
electronic invoicing. 
So you have to codify all the 

112
00:05:50,640 --> 00:05:52,920
products that you offer so that 
you can eventually invoice them 

113
00:05:52,920 --> 00:05:55,720
using electronic means. 
And we had absolutely no 

114
00:05:55,720 --> 00:05:58,720
codification for 20 years. 
It was never mandatory. 

115
00:05:58,760 --> 00:06:02,160
So we needed something really 
fast by end of September 2021. 

116
00:06:02,160 --> 00:06:06,760
And I just sat down and wrote 
like 7-7 API, little AP is 

117
00:06:07,040 --> 00:06:08,440
called the micro services. 
Doesn't matter. 

118
00:06:08,440 --> 00:06:10,160
They're not like deployed like 
micro services. 

119
00:06:10,720 --> 00:06:15,400
Wrote them in six weeks, worked 
fantastically well but I don't 

120
00:06:15,400 --> 00:06:17,400
want to touch them again. 
It's like toxic. 

121
00:06:19,080 --> 00:06:21,720
Like micro lifts instead of 
monoliths, right? 

122
00:06:23,520 --> 00:06:25,040
Yeah, it would be a bit of a 
stretch. 

123
00:06:25,040 --> 00:06:28,200
I mean each one would be a bit 
of a stretch. 

124
00:06:28,200 --> 00:06:31,440
Each one has its own SQLite 
database because Escalite, I 

125
00:06:31,440 --> 00:06:35,560
love Escalite or I mean Django 
is the one. 

126
00:06:35,680 --> 00:06:39,480
One of them is public facing. 
Facing with shows your QR codes.

127
00:06:39,480 --> 00:06:43,360
So you can scan the QR code on 
an offer that we send and it 

128
00:06:43,360 --> 00:06:46,040
takes you to the tracking page 
where we used to enter data of 

129
00:06:46,040 --> 00:06:48,920
where the order is along the way
like it's been shipped awaiting 

130
00:06:48,920 --> 00:06:53,600
confirmation. 
But part of the the new business

131
00:06:53,600 --> 00:06:57,280
is to make everything as 
streamlined digital as possible 

132
00:06:57,280 --> 00:07:01,240
so that I could basically even 
send offers via isotech dot GR, 

133
00:07:01,240 --> 00:07:03,840
which is the company website. 
So this will this already 

134
00:07:03,840 --> 00:07:06,600
finished slide and I've been 
working on the on the 

135
00:07:06,600 --> 00:07:09,880
authenticated pages now. 
That's awesome, very cool. 

136
00:07:10,920 --> 00:07:16,440
So this current book, it's, it's
chunky and you're only 65% done.

137
00:07:16,440 --> 00:07:19,240
It's called Elixir software 
engineering, correct? 

138
00:07:20,000 --> 00:07:21,440
Yeah, it used to be called 
something else. 

139
00:07:21,440 --> 00:07:23,360
It used to be called Elixir File
Browsing. 

140
00:07:23,960 --> 00:07:28,120
I know it confused me. 
Yeah, it confused me too, 

141
00:07:28,120 --> 00:07:31,400
because I got confused many 
times while writing this. 

142
00:07:32,200 --> 00:07:38,000
I started off as a little quick 
line for the undocumented API of

143
00:07:38,040 --> 00:07:40,720
file browser. 
They haven't documented it fine,

144
00:07:40,720 --> 00:07:43,720
but it works really well. 
And it's also really well built.

145
00:07:43,720 --> 00:07:45,320
I mean, file browser is in 
building Go. 

146
00:07:45,480 --> 00:07:49,040
I actually like Go. 
I think it's, it's easy to read.

147
00:07:49,120 --> 00:07:51,480
Yes, it has a thing with if 
error and so on. 

148
00:07:51,480 --> 00:07:55,560
It's a bit verbose. 
But there is also something new 

149
00:07:55,560 --> 00:07:58,320
that came out. 
It's called, I don't remember 

150
00:07:58,320 --> 00:08:01,240
the name, but basically you 
write in a more concise way and 

151
00:08:01,240 --> 00:08:06,080
it it converts it to Go. 
So Go actually looks more 

152
00:08:06,840 --> 00:08:08,640
natural to someone who writes a 
lecture. 

153
00:08:09,240 --> 00:08:11,200
And so anyway, it's easy to 
parse. 

154
00:08:11,200 --> 00:08:12,840
It's easy to understand what's 
what happens. 

155
00:08:12,840 --> 00:08:15,720
And the book actually contain an
exploration of the Go code, even

156
00:08:15,720 --> 00:08:17,080
though it's an Elixir focus 
book. 

157
00:08:17,680 --> 00:08:19,760
It all shows you how to spellunk
into code. 

158
00:08:19,760 --> 00:08:22,120
And how do you discover what is 
in there? 

159
00:08:22,120 --> 00:08:24,320
It's undocumented. 
OK, but how do we figure out 

160
00:08:24,320 --> 00:08:26,120
what we target? 
Because there's no documentation

161
00:08:26,120 --> 00:08:29,360
to be found online about this. 
Yeah. 

162
00:08:29,360 --> 00:08:35,320
And I know as a simple client I 
wrote almost all of it and 

163
00:08:35,320 --> 00:08:39,200
realised it is way too difficult
to understand because it was 

164
00:08:39,200 --> 00:08:43,200
jumping back and forth. 
Scrapped it, wrote it again, 

165
00:08:43,280 --> 00:08:46,840
focused on the authentication 
flow initially and then what 

166
00:08:46,840 --> 00:08:49,360
this enables. 
Scrapped it and this is now the 

167
00:08:49,360 --> 00:08:51,560
third version. 
It's the one that's stuck where 

168
00:08:52,240 --> 00:08:54,040
it is deliberately over 
engineered. 

169
00:08:54,040 --> 00:08:57,920
Like you would never probably 
write an API client like this. 

170
00:08:57,920 --> 00:09:00,200
I think it is way over 
engineered. 

171
00:09:00,200 --> 00:09:02,880
But it's deliberately done to 
say, OK, let's look at it 

172
00:09:02,880 --> 00:09:06,040
through the mind of somebody who
likes the whole software 

173
00:09:06,040 --> 00:09:09,360
engineering perspective and do 
it based on capabilities and you

174
00:09:09,360 --> 00:09:12,120
derive the state of the client 
and use that to inform something

175
00:09:12,120 --> 00:09:13,520
else. 
But it's, it's also an 

176
00:09:13,520 --> 00:09:15,080
exploration of what could you 
do. 

177
00:09:15,320 --> 00:09:18,240
It's not necessarily what you 
should do, but it expose all the

178
00:09:18,240 --> 00:09:21,000
thoughts about how do we 
structure it, how we split 

179
00:09:21,000 --> 00:09:24,600
modules. 
And it's by no means pretense 

180
00:09:24,600 --> 00:09:27,360
that I'm some kind of an expert 
software engineer, but expose 

181
00:09:27,360 --> 00:09:30,480
you also to some kind of growth 
of thinking about how you do. 

182
00:09:30,480 --> 00:09:34,240
You make things complex enough 
to make it cleaner and hopefully

183
00:09:34,240 --> 00:09:36,680
not too complex so that it takes
ages. 

184
00:09:36,760 --> 00:09:39,920
Unfortunately, like every every 
book I've written, it starts off

185
00:09:39,920 --> 00:09:43,600
like a little nugget of an idea 
and I get enthusiastic about it 

186
00:09:43,600 --> 00:09:46,240
and it starts to grow and it's 
now 600 something pages. 

187
00:09:46,880 --> 00:09:48,960
That's wild. 
And you're only half done. 

188
00:09:49,800 --> 00:09:53,760
A little more than half done. 
I would say it's a gut feeling 

189
00:09:53,760 --> 00:09:56,320
like 65%. 
It's it's certainly not 90. 

190
00:09:57,200 --> 00:10:02,080
We're going to have a a Bible. 
Yeah, that's why it never goes 

191
00:10:02,080 --> 00:10:04,480
to print, because it's 
uneconomical to ship and to do 

192
00:10:04,480 --> 00:10:06,160
everything. 
So it remains an e-book. 

193
00:10:06,720 --> 00:10:08,880
That's wild. 
You should just call it the 

194
00:10:08,880 --> 00:10:10,640
Elixir Bible when you're 
finished. 

195
00:10:10,720 --> 00:10:16,200
No, the two pretensions. 
I mean, I'm no, by no means, but

196
00:10:17,240 --> 00:10:19,920
The thing is that that's a good 
part about writing books. 

197
00:10:19,920 --> 00:10:21,840
Not professional, not like to 
make money. 

198
00:10:22,000 --> 00:10:24,600
I mean, it's nice to get the 
royalties, but for me the 

199
00:10:24,600 --> 00:10:26,600
process is more interesting than
the result is all. 

200
00:10:26,960 --> 00:10:30,400
I mean. 
Northwind Elixir Traders has now

201
00:10:30,400 --> 00:10:33,320
sold around 500 copies, which I 
never expected. 

202
00:10:33,560 --> 00:10:37,840
I wrote it primarily in for 
myself and I don't care that 

203
00:10:37,840 --> 00:10:39,640
much. 
I think it has a big value. 

204
00:10:39,640 --> 00:10:43,720
It has gotten great reviews, but
the process of writing it taught

205
00:10:43,720 --> 00:10:46,040
me a lot, which people 
appreciate because they look 

206
00:10:46,040 --> 00:10:49,200
through the thinking behind all 
the decisions when you search 

207
00:10:49,200 --> 00:10:51,200
for. 
When you have to teach a topic, 

208
00:10:51,200 --> 00:10:53,160
you do the deep dive and you'll 
learn. 

209
00:10:53,160 --> 00:10:57,080
I think you benefit when you 
write or like make videos. 

210
00:10:57,360 --> 00:11:00,080
You benefit more than the people
consuming them. 

211
00:11:01,320 --> 00:11:04,840
I think the tricky part here is 
to be able to think through the 

212
00:11:04,840 --> 00:11:07,360
eyes of the reader, and that is 
the most difficult part. 

213
00:11:07,960 --> 00:11:11,080
So part of the rewrite, the 1st 
2, is that it was jumping around

214
00:11:11,080 --> 00:11:13,160
too much. 
Like it's OK to say we'll 

215
00:11:13,160 --> 00:11:17,040
explore how to build this, but 
it's not OK to just brain dump 

216
00:11:17,040 --> 00:11:19,000
on how you approach it. 
It needs to have a narrative 

217
00:11:19,000 --> 00:11:20,920
somehow. 
You need to have a progression, 

218
00:11:21,400 --> 00:11:24,760
and that's the most tricky part.
The most arduous part is called 

219
00:11:24,760 --> 00:11:26,200
the assuring. 
It is what I call the replay, 

220
00:11:26,200 --> 00:11:30,400
where I sit down and replay the 
entire book, every EXIX command,

221
00:11:30,480 --> 00:11:32,640
every, everything, every edit to
files. 

222
00:11:33,000 --> 00:11:36,560
That takes ages, but it's part 
of the process. 

223
00:11:37,360 --> 00:11:40,600
Yeah. 
What's up, Brian? 

224
00:11:40,600 --> 00:11:42,840
We got Brian Cardarella tuning 
in. 

225
00:11:44,560 --> 00:11:46,720
I think that might be the first 
time I didn't completely butcher

226
00:11:46,720 --> 00:11:51,920
your last name. 
You're like a mechanical 

227
00:11:51,920 --> 00:11:53,800
engineering from like trade, 
right? 

228
00:11:55,520 --> 00:11:57,680
How do you think like that 
background? 

229
00:11:57,680 --> 00:12:00,480
Do you think that helps you in 
like API design? 

230
00:12:00,480 --> 00:12:03,640
Are there like physical systems 
that help you design like 

231
00:12:03,640 --> 00:12:09,040
interfaces and digital systems? 
From for me, I've enrolled to 

232
00:12:09,040 --> 00:12:12,480
something always in the summer. 
I, I have more free time, so I 

233
00:12:12,560 --> 00:12:15,480
do deep dives and things I like.
So no time pressure. 

234
00:12:15,480 --> 00:12:19,280
So I wrote an article about how 
software exceptionalism 

235
00:12:19,280 --> 00:12:23,160
exceptionalism is overrated. 
Like it's software engineering 

236
00:12:23,560 --> 00:12:27,120
is systems engineering, it's 
just domain specific systems 

237
00:12:27,120 --> 00:12:28,760
engineering. 
It, it might take, it might be a

238
00:12:28,760 --> 00:12:31,240
whole take, but after having 
done a lot of system 

239
00:12:31,240 --> 00:12:34,040
engineering, I really think that
it's about understanding the 

240
00:12:34,040 --> 00:12:36,880
system, the interfaces, 
splitting the parts into 

241
00:12:36,880 --> 00:12:39,240
subsystems, understanding the 
requirements, the interfaces 

242
00:12:39,240 --> 00:12:42,880
without, without going all the 
way to automotive style system 

243
00:12:42,880 --> 00:12:45,440
engineering where you get bogged
down to requirements and specs 

244
00:12:45,440 --> 00:12:47,680
for ages before you release 
something. 

245
00:12:48,760 --> 00:12:52,360
So certainly it has impacted a 
lot of how I split things and 

246
00:12:52,360 --> 00:12:55,240
how I organize things, plus the 
exploratory because I'm deeply 

247
00:12:55,240 --> 00:13:02,280
an R&D animal. 
So I I hesitate to stop, I mean,

248
00:13:02,320 --> 00:13:04,760
or to put differently, I do not 
hesitate to do a deep dive into 

249
00:13:04,760 --> 00:13:06,800
something and nerd out on 
something and see, well, 

250
00:13:06,840 --> 00:13:10,000
something interesting came up, 
or maybe not, but we looked into

251
00:13:10,000 --> 00:13:13,080
it. 
That is, that is just fun. 

252
00:13:13,080 --> 00:13:15,680
It's fun writing about something
that you you understand. 

253
00:13:15,920 --> 00:13:17,760
Yeah, you understand really well
afterwards. 

254
00:13:18,760 --> 00:13:22,760
And the it's part of part of the
fun of writing something like 

255
00:13:22,760 --> 00:13:25,280
this without any time pressure, 
without any editor. 

256
00:13:25,600 --> 00:13:28,720
But you are the editor. 
Yeah, yeah. 

257
00:13:28,960 --> 00:13:31,720
I mean, the time pressure is a 
real thing. 

258
00:13:31,720 --> 00:13:35,920
Like I feel like even though I 
release like free tutorials, 

259
00:13:36,040 --> 00:13:38,160
right? 
Like I always over promise and 

260
00:13:38,160 --> 00:13:42,400
think like I'm going to be so 
dialed in in my weekends. 

261
00:13:42,400 --> 00:13:45,200
I'm going to like pump out 10 
videos a weekend and have a 

262
00:13:45,200 --> 00:13:47,160
backlog. 
It never happens. 

263
00:13:47,480 --> 00:13:50,960
And then I always feel like I 
put added pressure on myself to 

264
00:13:50,960 --> 00:13:54,280
release free content. 
Yeah. 

265
00:13:54,280 --> 00:13:59,800
But in the end, I find if I load
myself at 120%, I get more done.

266
00:13:59,840 --> 00:14:02,040
It's just I, it's just how I 
work. 

267
00:14:02,480 --> 00:14:05,280
Like I always open more 
construction sites that I can 

268
00:14:05,280 --> 00:14:07,760
afford to and then I dynamically
reprioritize. 

269
00:14:07,760 --> 00:14:08,920
And it's the same thing with the
book. 

270
00:14:10,320 --> 00:14:14,040
There's a lot of, it's not 
really a linear explanation of 

271
00:14:14,040 --> 00:14:16,480
how things came up. 
It's, it's a restructuring of 

272
00:14:16,480 --> 00:14:20,120
how I arrive at conclusions and 
I document them in a way that 

273
00:14:20,120 --> 00:14:23,720
makes into a narrative. 
Because if you do it in the 

274
00:14:23,720 --> 00:14:27,720
other way, you end up with A2 
rewrites that I did where you 

275
00:14:27,720 --> 00:14:31,640
open up a lot of contraction 
sites and then you figure things

276
00:14:31,640 --> 00:14:34,880
out and then it's a mess and 
it's not easy to understand. 

277
00:14:34,880 --> 00:14:39,200
But so I'm deeply influenced by 
Toyota product development 

278
00:14:39,200 --> 00:14:41,280
system because I've done all the
product development of hardware 

279
00:14:41,360 --> 00:14:43,760
in the past. 
And that's where you converge 

280
00:14:43,760 --> 00:14:46,400
towards something. 
So you don't start with the 

281
00:14:46,400 --> 00:14:50,960
absolute perfect specs or 
requirements first, but you you 

282
00:14:50,960 --> 00:14:53,640
try to understand the system and
then you see where the 

283
00:14:53,640 --> 00:14:56,480
interfaces are and you start to 
have them converge so that you 

284
00:14:56,480 --> 00:14:59,080
open multiple things and maybe 
some paths are useless. 

285
00:14:59,080 --> 00:15:02,240
OK, so you cut them out and what
remains is like scalping 

286
00:15:02,240 --> 00:15:05,240
something out of marble. 
In a way that has influenced my 

287
00:15:05,240 --> 00:15:06,840
thinking a lot. 
Like you don't need to know 

288
00:15:06,840 --> 00:15:09,120
everything to start, but you 
need to get started somewhere. 

289
00:15:09,120 --> 00:15:11,840
And because there's a risk that 
if you get started somewhere 

290
00:15:12,800 --> 00:15:15,560
where you might get blocked, you
will get stuck there and not 

291
00:15:15,560 --> 00:15:17,240
proceed. 
You open two or three things in 

292
00:15:17,240 --> 00:15:21,200
parallel, you move them along 
somehow, and then you start to 

293
00:15:21,200 --> 00:15:23,720
to converge them and combine 
them and see how things gel 

294
00:15:23,720 --> 00:15:25,800
together. 
And it's already a process you 

295
00:15:25,800 --> 00:15:27,200
can describe. 
That's the tricky part. 

296
00:15:27,760 --> 00:15:29,800
There's no, there's no standard 
resources to do that. 

297
00:15:32,200 --> 00:15:37,240
No, Yeah, but I like, I agree. 
The busier I am, the more I get 

298
00:15:37,240 --> 00:15:39,640
done and the more efficient I am
too with working. 

299
00:15:39,640 --> 00:15:42,680
Like if you have downtime, 
you'll end up having too much 

300
00:15:42,680 --> 00:15:44,760
downtime and then you 
procrastinate everything you're 

301
00:15:44,760 --> 00:15:47,400
doing. 
But if you're so busy and you 

302
00:15:47,400 --> 00:15:49,640
have to get crap done, you have 
no choice. 

303
00:15:49,640 --> 00:15:52,520
I like that. 
And then Brian, Brian said shoot

304
00:15:52,520 --> 00:15:54,320
for the moon. 
You'll probably at least hit 

305
00:15:54,320 --> 00:15:55,680
orbit. 
That's true. 

306
00:15:55,760 --> 00:15:56,800
Yeah, I agree. 
Shoot from. 

307
00:15:56,800 --> 00:16:00,160
The hip. 
Sometimes you shoot from the hip

308
00:16:00,200 --> 00:16:05,000
like It's fun because the at 
some point while writing this 

309
00:16:05,440 --> 00:16:11,560
API client, I needed a way to 
show, you know, to trial how we 

310
00:16:11,600 --> 00:16:14,080
make some requests to the file 
browser API. 

311
00:16:14,280 --> 00:16:16,640
But I haven't yet written the 
authentication part. 

312
00:16:16,840 --> 00:16:20,680
So, so I just wrote a module 
called Junkie because there's 

313
00:16:20,680 --> 00:16:23,600
like the junkie client and you 
have junkie dot token. 

314
00:16:23,600 --> 00:16:26,760
Just fetch A token and use it. 
And you see how you have 

315
00:16:26,760 --> 00:16:29,560
basically different levels of 
how complex you can build 

316
00:16:29,560 --> 00:16:31,240
things. 
So build a REST API client that 

317
00:16:31,240 --> 00:16:32,720
just, yeah, just sends a 
request. 

318
00:16:32,720 --> 00:16:35,080
It's trivial. 
It's not even worth writing 

319
00:16:35,080 --> 00:16:36,480
anything about, not even a 
tutorial. 

320
00:16:36,480 --> 00:16:42,960
You read the rec or HT poison 
XPM docs and you're done. 

321
00:16:43,920 --> 00:16:48,320
But the idea here is to write 
something where you altogether 

322
00:16:48,320 --> 00:16:51,440
prevent useless requests to the 
to the server. 

323
00:16:51,480 --> 00:16:56,080
So the idea is a lot of the 
logic of the API server is built

324
00:16:56,080 --> 00:17:01,000
into the client so that requests
are cut before you you dispatch 

325
00:17:01,000 --> 00:17:02,600
them. 
Which is an unnecessary 

326
00:17:02,600 --> 00:17:04,480
requirement. 
But it does open up some 

327
00:17:04,839 --> 00:17:07,839
questions about how you say, 
well, now we have this client 

328
00:17:07,839 --> 00:17:09,960
struct. 
What state is it in? 

329
00:17:10,160 --> 00:17:14,000
What state is it in regarding? 
I mean, is it, what can it be 

330
00:17:14,000 --> 00:17:17,079
used for, which routes? 
And so there's a lot of logic 

331
00:17:17,079 --> 00:17:21,520
how to parse options like it's 
a, it's a good opportunity to 

332
00:17:21,520 --> 00:17:24,160
explore Nimble options, which I 
absolutely love Nimble options. 

333
00:17:24,160 --> 00:17:29,440
Fantastic to write your own 
modules for parsing options, 

334
00:17:30,360 --> 00:17:33,000
streaming HTTP, streaming to 
stream in, stream out. 

335
00:17:33,640 --> 00:17:36,600
Add features actually to to how 
you use file browser which are 

336
00:17:36,600 --> 00:17:40,520
not part of the of the API. 
For example, one interesting one

337
00:17:40,520 --> 00:17:43,000
is let's say you want to upload 
a Linux ISO. 

338
00:17:44,560 --> 00:17:48,360
OK, do you now download it and 
then upload it? 

339
00:17:48,600 --> 00:17:51,040
Or can you do it with streaming 
where you stream in and stream 

340
00:17:51,040 --> 00:17:53,280
out? 
So you stream it from from an 

341
00:17:53,280 --> 00:17:57,640
ACP address directly to the to 
the file browser server? 

342
00:17:57,920 --> 00:18:01,960
How do you verify that what you 
uploaded is correct? 

343
00:18:02,080 --> 00:18:03,880
How do you catch errors that you
made? 

344
00:18:03,880 --> 00:18:06,080
And there's a lot of little 
gremlins to find there. 

345
00:18:06,080 --> 00:18:08,960
And that's part of the the fun 
of writing some that's robust. 

346
00:18:08,960 --> 00:18:13,720
So the idea is to make it more 
intelligent than it will be, 

347
00:18:13,800 --> 00:18:17,880
more safe, just for fun, just to
see how. 

348
00:18:18,000 --> 00:18:22,040
I'm curious what what are your 
like creative ways of handling 

349
00:18:22,040 --> 00:18:26,200
like time outs, rate limits, 
like malformed responses, like 

350
00:18:26,200 --> 00:18:30,600
how do you like to handle those 
things and like a simplified 

351
00:18:31,440 --> 00:18:34,560
like coherent way though? 
So. 

352
00:18:35,280 --> 00:18:39,120
So since it's a, it's a client, 
not not an API server. 

353
00:18:39,280 --> 00:18:43,880
There's not much with this 
except qualifying the the query 

354
00:18:43,880 --> 00:18:47,800
parameters using a module that 
does query parameter validation.

355
00:18:48,280 --> 00:18:51,280
One of them is for example 
validating the body have helper 

356
00:18:51,280 --> 00:18:55,400
functions do that purpose 
specific depending on what 

357
00:18:55,400 --> 00:18:57,600
operation you're in. 
So you have operations, I 

358
00:18:57,600 --> 00:19:01,760
generate an operation for me is 
is a combination of a route and 

359
00:19:01,920 --> 00:19:04,800
HTTP method. 
Then I declaratively have the 

360
00:19:04,800 --> 00:19:07,520
configuration of the API. 
So that's also part of the idea 

361
00:19:07,520 --> 00:19:09,240
to to see how you can do it 
declaratively. 

362
00:19:09,240 --> 00:19:14,240
So maybe you can take this code 
and adapt some things and use 

363
00:19:14,240 --> 00:19:17,280
some part of the code which will
be Apache 2.0 license like all 

364
00:19:17,280 --> 00:19:20,720
of my books code to to do 
something similar so you don't 

365
00:19:20,720 --> 00:19:22,680
have to rewrite everything. 
Maybe there's even a framework 

366
00:19:22,680 --> 00:19:23,880
idea in there somewhere. 
I don't know. 

367
00:19:23,880 --> 00:19:26,320
I just don't know enough of 
Elixir to build my own little 

368
00:19:26,320 --> 00:19:30,160
framework for API clients for 
API servers. 

369
00:19:30,880 --> 00:19:32,080
Oh, I. 
Feel like you know enough? 

370
00:19:32,120 --> 00:19:35,400
You could do it. 
Yeah, well, maybe I don't just I

371
00:19:35,480 --> 00:19:37,160
just don't have enough time 
because of too many things. 

372
00:19:37,160 --> 00:19:42,120
But for API servers, well, I 
mean I absolutely love Ecto. 

373
00:19:42,120 --> 00:19:45,520
I love Ecto and changes so much 
that for brick dot GR where the 

374
00:19:45,520 --> 00:19:48,920
back end is in PHP I built from 
scratch. 

375
00:19:48,920 --> 00:19:52,880
I wrote two classes 1 is called 
schema and one is called chain 

376
00:19:52,880 --> 00:19:57,080
set and basically does what ecto
dot schema and what ecto dot 

377
00:19:57,080 --> 00:20:01,400
change it does in PHP and it cut
down boilerplate. 

378
00:20:01,400 --> 00:20:05,200
You know the repetitive in in in
PHP always check if something is

379
00:20:05,200 --> 00:20:08,760
null and all that just go on. 
Just all the route handlers are 

380
00:20:08,760 --> 00:20:11,400
now using facto as I call it 
PHP. 

381
00:20:11,480 --> 00:20:13,560
Oh. 
You're handling that like client

382
00:20:13,560 --> 00:20:17,760
side essentially then or no? 
No server side. 

383
00:20:17,760 --> 00:20:19,080
Server side. 
OK. 

384
00:20:19,120 --> 00:20:22,680
Yeah, yeah, yeah. 
OK, so the back end of brick dot

385
00:20:22,680 --> 00:20:25,360
GRE, it's written in PHP. 
It uses those two classes. 

386
00:20:25,360 --> 00:20:28,680
So you write a schema for every 
entity essentially. 

387
00:20:29,160 --> 00:20:32,360
And you can optimize the schema 
depending on what purpose you 

388
00:20:32,360 --> 00:20:34,040
want it for. 
You write a base schema and then

389
00:20:34,040 --> 00:20:37,000
you can basically say switch off
those fields or make them 

390
00:20:37,000 --> 00:20:39,320
required or not. 
So you have like a base template

391
00:20:39,960 --> 00:20:43,160
and then you have a change of 
class which does the same thing 

392
00:20:43,160 --> 00:20:45,400
that ectopl changes does without
the change tracking. 

393
00:20:45,400 --> 00:20:46,480
Because we don't care about 
this. 

394
00:20:47,280 --> 00:20:49,880
Will you create? 
Like an ectos schema for most 

395
00:20:49,880 --> 00:20:53,280
like REST API responses or not 
necessarily? 

396
00:20:55,200 --> 00:21:00,640
For API responses. 
Like third party API responses? 

397
00:21:00,640 --> 00:21:03,040
Would you build an ectos schema 
for it? 

398
00:21:04,040 --> 00:21:07,720
So I remember I did something 
like this for the Elixir file 

399
00:21:07,720 --> 00:21:10,840
browser client, and I came to 
the conclusion that it's 

400
00:21:10,840 --> 00:21:16,400
overcomplicating things. 
You can do it, but I remember, I

401
00:21:16,400 --> 00:21:18,640
don't remember the specifics, 
it's been like now seven months,

402
00:21:18,640 --> 00:21:21,760
but I remember coming to the 
conclusion that it's overkill to

403
00:21:21,760 --> 00:21:26,280
to use Ecto internally for your 
own like internally for the own 

404
00:21:26,320 --> 00:21:28,760
own project. 
So you consider the. 

405
00:21:28,760 --> 00:21:32,200
Operations internally, that's 
what you stick to, but not. 

406
00:21:32,320 --> 00:21:34,600
Yeah, necessarily overly 
complex. 

407
00:21:34,600 --> 00:21:37,960
It's overly complex in the end. 
In the end, I split it into 

408
00:21:37,960 --> 00:21:39,400
modules. 
There's a query params 

409
00:21:39,400 --> 00:21:41,640
validation module, there's a 
body validation module, there's 

410
00:21:41,640 --> 00:21:45,040
a header validation module. 
And it is easier to work like 

411
00:21:45,040 --> 00:21:48,040
this because then you have to 
basically make a. 

412
00:21:48,040 --> 00:21:50,560
Now I'll collect a bit what I 
did. 

413
00:21:50,560 --> 00:21:53,680
We have a schema, we have the 
headers, the body, and then you 

414
00:21:53,680 --> 00:21:56,400
have custom validation functions
for the header and the body, the

415
00:21:56,400 --> 00:21:59,520
query params. 
It just becomes too much navel 

416
00:21:59,520 --> 00:22:03,480
gazing, too much abstraction on 
top of something that's already 

417
00:22:03,480 --> 00:22:05,520
abstract enough. 
And but it's also splitting. 

418
00:22:05,600 --> 00:22:08,320
This is that this is a body, 
it's a Stringer, it's a binary 

419
00:22:08,320 --> 00:22:10,440
or whatever. 
And I remember that I scrapped 

420
00:22:10,440 --> 00:22:12,880
it was part of the second 
rewrite and I simplified it. 

421
00:22:13,840 --> 00:22:16,280
Yeah, but Eileen, that makes. 
Sense like it's easy. 

422
00:22:16,280 --> 00:22:20,680
It's easy to think adding all 
these layers will simplify 

423
00:22:20,680 --> 00:22:23,880
things and make your code more 
robust, but it's not necessarily

424
00:22:23,880 --> 00:22:27,280
true. 
Yeah, that's also part of the my

425
00:22:27,320 --> 00:22:31,480
my big finding about the term of
good practices in software 

426
00:22:31,480 --> 00:22:36,240
engineering. 
In the end, it a lot of advice 

427
00:22:36,240 --> 00:22:37,720
out there. 
It's just over complicating 

428
00:22:37,720 --> 00:22:40,320
things. 
It's whether you want to make 

429
00:22:40,520 --> 00:22:43,720
like what what do you call the 
separation of concerns? 

430
00:22:43,760 --> 00:22:45,920
Oh, separation of concerns super
important. 

431
00:22:45,920 --> 00:22:48,240
I mean, OK, it's like functional
decomposition in system 

432
00:22:48,240 --> 00:22:50,320
engineering. 
It's important, but it it's at 

433
00:22:50,360 --> 00:22:54,480
some at some point you don't 
need to go all the way to the 

434
00:22:54,560 --> 00:22:56,640
the full blown software 
engineering. 

435
00:22:56,640 --> 00:23:00,000
A lot of it is also inspired a 
lot by object oriented 

436
00:23:00,000 --> 00:23:02,000
programming. 
I find. 

437
00:23:02,080 --> 00:23:04,520
Yeah, a lot to Brian. 
Said software developers are 

438
00:23:04,520 --> 00:23:07,600
naturally attracted to 
complexity, and I feel like 

439
00:23:07,600 --> 00:23:10,440
that's true. 
Engineers are also natural 

440
00:23:10,800 --> 00:23:12,880
complexity, by the way we like 
to. 

441
00:23:13,960 --> 00:23:18,120
Anyone with an engineering 
mindset, you know, like you, you

442
00:23:18,120 --> 00:23:20,600
overcomplicate everything. 
And yeah, he said. 

443
00:23:20,600 --> 00:23:24,080
Resisting complexity is a skill.
And I feel like once you realize

444
00:23:24,080 --> 00:23:27,680
like the best feeling in the 
world is when you overcomplicate

445
00:23:27,680 --> 00:23:31,240
a solution and then you refactor
it and you delete like 1000 

446
00:23:31,240 --> 00:23:33,600
lines of code and you have 200 
left, you know? 

447
00:23:34,920 --> 00:23:37,880
So I picked up brick dot GR 
software development after it 

448
00:23:37,880 --> 00:23:42,000
was delivered in version 1.0. 
Let's say it was an MVP by 

449
00:23:42,000 --> 00:23:47,800
external contractors and I've 
basically deleted half of the 

450
00:23:48,320 --> 00:23:51,320
front end. 
And so next GS front end, next 

451
00:23:51,320 --> 00:23:53,320
GS 13. 
So React 18, no React to shell 

452
00:23:53,320 --> 00:23:56,680
issues there. 
Plus PHP, pure PHP in the back 

453
00:23:56,680 --> 00:23:58,720
end. 
And I have rewritten half of it.

454
00:23:58,920 --> 00:24:04,240
And to be honest, it's the first
time I realized what's the point

455
00:24:04,240 --> 00:24:07,280
of object orientation because 
what I did was I wrapped a lot 

456
00:24:07,280 --> 00:24:13,000
of things in classes and things 
became much easier than having 

457
00:24:13,000 --> 00:24:16,160
the same code again. 
Again, the same database queries

458
00:24:16,240 --> 00:24:18,560
everywhere. 
But you need to be careful 

459
00:24:18,560 --> 00:24:21,640
because there you, I got 
infatuated with traits, for 

460
00:24:21,640 --> 00:24:23,320
example, Oh, everything's a 
trait. 

461
00:24:23,320 --> 00:24:25,600
This is an accountable trait. 
It's a billable trait. 

462
00:24:26,160 --> 00:24:28,200
Then you start to over complete 
again. 

463
00:24:28,320 --> 00:24:30,640
And then as somebody realize, 
maybe we overdid it. 

464
00:24:30,640 --> 00:24:34,000
So let's bring it back down. 
So I think it's a it's a design 

465
00:24:34,000 --> 00:24:36,280
process in the end. 
And people talk about design 

466
00:24:36,280 --> 00:24:37,840
thinking. 
So it's it's an opening of the 

467
00:24:37,840 --> 00:24:40,360
final, closing of the final. 
I mean, you need to converge in 

468
00:24:40,360 --> 00:24:43,480
a way to something that makes 
sense without pretending that 

469
00:24:43,480 --> 00:24:46,000
you're Google or someone else 
who's like a superior software 

470
00:24:46,000 --> 00:24:48,400
engineer who does everything by 
the book, clean code and all 

471
00:24:48,400 --> 00:24:51,760
that. 
And you get better at it 

472
00:24:51,800 --> 00:24:54,120
specifically for the code base 
as you progress. 

473
00:24:54,120 --> 00:24:57,080
Plus, as you learn more about 
software development, you start 

474
00:24:57,080 --> 00:25:00,280
to have a gut feeling of, yeah, 
we've tried this again and it 

475
00:25:00,280 --> 00:25:03,680
didn't end well. 
So maybe, you know, dial it down

476
00:25:03,680 --> 00:25:05,680
a notch in terms of how 
ambitious we are with the 

477
00:25:05,680 --> 00:25:09,200
abstractions because 
abstractions kill like I overdid

478
00:25:09,200 --> 00:25:10,800
it. 
I spent two weeks building a 

479
00:25:10,800 --> 00:25:15,000
master query class in in PHP and
I've tried to do like things 

480
00:25:15,000 --> 00:25:19,400
like that in, in Ecto and write 
some kind of a master query 

481
00:25:19,720 --> 00:25:23,360
module that can do everything. 
And you realize, no, make it 

482
00:25:23,360 --> 00:25:25,840
purpose specific. 
You are never going to need it. 

483
00:25:25,920 --> 00:25:29,320
You're maybe going to need that 
kind of one thing to do 

484
00:25:29,320 --> 00:25:32,760
everything module. 
The problem with like over 

485
00:25:32,760 --> 00:25:35,560
abstraction of things too. 
And like, maybe it's because I'm

486
00:25:35,560 --> 00:25:38,520
just not very smart. 
But like if you enter a code 

487
00:25:38,520 --> 00:25:43,960
base that has just like 
behaviors and interfaces and you

488
00:25:43,960 --> 00:25:47,480
know, crap everywhere, I feel 
like it's way harder to like dig

489
00:25:47,480 --> 00:25:49,920
into the code, figure out what's
going on and like find your way 

490
00:25:49,920 --> 00:25:52,760
around 'cause it's less clear 
when you're not like directly 

491
00:25:52,760 --> 00:25:56,960
calling modules and thing. 
I I don't know, it might be my 

492
00:25:56,960 --> 00:25:59,800
brain size limitation. 
No, I, I do, I do. 

493
00:26:00,040 --> 00:26:04,960
I think it's, does it make 
things more maintainable? 

494
00:26:05,760 --> 00:26:07,560
Not really. 
Actually, I think it makes 

495
00:26:07,560 --> 00:26:11,360
things more difficult because, 
yeah, it's cleaner in terms of, 

496
00:26:11,360 --> 00:26:14,040
I mean, you use behaviors which 
I've never used. 

497
00:26:14,480 --> 00:26:16,160
Have I used them? 
Probably not. 

498
00:26:16,160 --> 00:26:18,600
I don't think so. 
So yeah, I use more of the 

499
00:26:18,600 --> 00:26:22,320
language. 
If you're good, super smart, 

500
00:26:22,320 --> 00:26:26,280
super experienced, it comes a 
second nature, but you massively

501
00:26:26,280 --> 00:26:29,040
increase the entry barrier to 
somebody else who's picking it 

502
00:26:29,040 --> 00:26:30,920
up. 
And a lot of the talk about 

503
00:26:30,920 --> 00:26:35,720
developer experience DX ignores 
the fact that when you jump 

504
00:26:35,720 --> 00:26:38,360
around files a lot, you lose 
track. 

505
00:26:38,440 --> 00:26:41,320
Like you, oh, this calls that. 
Oh, and this calls that and this

506
00:26:41,320 --> 00:26:43,680
calls that module this, this is 
killer. 

507
00:26:43,680 --> 00:26:47,000
I mean, already you are trying 
to understand and hold your mind

508
00:26:47,000 --> 00:26:50,080
the complexity of what the 
business logic is doing, and you

509
00:26:50,080 --> 00:26:52,640
only make your life different 
the more you split things into 

510
00:26:52,960 --> 00:26:56,160
1000 places where things are 
clean because there's a clear 

511
00:26:56,160 --> 00:26:59,080
interface and everything. 
But it's so green that when you 

512
00:26:59,080 --> 00:27:01,160
try to get back into it, you 
first need to understand the 

513
00:27:01,160 --> 00:27:05,040
universe like you need to. 
What is it to build the universe

514
00:27:05,040 --> 00:27:07,640
to bake an apple pie? 
The second code, I think that's 

515
00:27:07,640 --> 00:27:10,640
the code and depends on what you
need the software for. 

516
00:27:11,640 --> 00:27:13,920
You don't. 
I think requirements depend on 

517
00:27:14,600 --> 00:27:16,040
not. 
I think the requirements depend 

518
00:27:16,040 --> 00:27:18,840
on what also the life cycle of 
the of the application will be 

519
00:27:19,000 --> 00:27:21,640
when you build something for 
yourself plus maybe for others. 

520
00:27:21,640 --> 00:27:23,240
It depends on where you're on 
the spectrum. 

521
00:27:23,240 --> 00:27:26,360
Is it something for me? 
Is it something to be a library 

522
00:27:26,360 --> 00:27:29,640
used by others? 
Is it an app that is for a small

523
00:27:29,640 --> 00:27:32,120
scope, like small range of 
people? 

524
00:27:32,120 --> 00:27:35,400
Is it a full blown SAS? 
It's there's not one truth along

525
00:27:35,400 --> 00:27:37,640
the way. 
You can over complexify a tool 

526
00:27:37,640 --> 00:27:39,560
for yourself. 
And yeah, you are proud that 

527
00:27:39,560 --> 00:27:42,000
yeah, I put myself in the back. 
I made things more complex than 

528
00:27:42,000 --> 00:27:44,640
I needed to, so I'm prepared for
more, more complex things. 

529
00:27:45,160 --> 00:27:47,080
Most things are not that complex
in the end. 

530
00:27:47,440 --> 00:27:56,560
Right, I feel like your video is
lagging on my end. 

531
00:27:56,560 --> 00:28:03,040
Let me see what can we do here? 
Maybe I can just refresh you. 

532
00:28:03,040 --> 00:28:05,560
It's. 
OK, here I mean a green 

533
00:28:05,560 --> 00:28:08,080
indicator. 
Yeah, you're coming through 

534
00:28:08,080 --> 00:28:14,080
great for me, but then the 
connection to OBS is not great. 

535
00:28:15,520 --> 00:28:17,800
I'm going to just try doing a 
little refresh here. 

536
00:28:19,760 --> 00:28:21,480
There you are. 
You're back. 

537
00:28:21,480 --> 00:28:24,200
All right. 
Let's see how it works this 

538
00:28:24,200 --> 00:28:27,160
time. 
No IDSL so no, no issues. 

539
00:28:27,560 --> 00:28:29,720
I think no. 
Yeah, it's not you, it's me. 

540
00:28:32,160 --> 00:28:35,960
I'm pretty sure Brian throwing a
little shade out there in the 

541
00:28:35,960 --> 00:28:37,800
chat, he said. 
This entire chat can be summed 

542
00:28:37,800 --> 00:28:40,280
up to why doesn't anybody 
contribute to live view. 

543
00:28:42,240 --> 00:28:44,400
Yeah, I know. 
I follow Brian and he has his 

544
00:28:44,400 --> 00:28:46,400
beef with Live View Native, 
right? 

545
00:28:46,480 --> 00:28:50,200
But I am staying from Mini 
Market. 

546
00:28:51,520 --> 00:28:52,200
Yeah. 
Yeah. 

547
00:28:54,280 --> 00:28:56,640
Not my circus, not my monkeys or
the Polish, say. 

548
00:28:59,400 --> 00:29:03,760
Yeah, some, you know, I feel 
like, like. 

549
00:29:05,080 --> 00:29:06,800
The. 
The hard conversations are good 

550
00:29:06,800 --> 00:29:09,480
to have though. 
I think it's an eye opening 

551
00:29:09,480 --> 00:29:13,560
exchange, right? 
And like everyone's goal is to 

552
00:29:13,560 --> 00:29:18,280
like make elixir more readily 
available. 

553
00:29:18,280 --> 00:29:20,920
People need to adopt it. 
They need to see the light at 

554
00:29:20,920 --> 00:29:24,440
the end of the tunnel. 
And I think like all these hard 

555
00:29:24,440 --> 00:29:26,080
conversations need to be 
discussed. 

556
00:29:26,480 --> 00:29:29,360
Like why isn't it being adopted,
you know? 

557
00:29:30,200 --> 00:29:32,720
But I just don't know whether it
needs to be adopted because 

558
00:29:32,720 --> 00:29:37,480
every everything that becomes 
popular eventually becomes gets 

559
00:29:37,480 --> 00:29:39,800
its own issues. 
That's true, yeah. 

560
00:29:40,080 --> 00:29:44,600
I mean, I like, I mean, I, I 
know it's like not great overall

561
00:29:44,600 --> 00:29:47,320
that, but I like the community. 
I like the size of the 

562
00:29:47,320 --> 00:29:49,200
community. 
And. 

563
00:29:49,760 --> 00:29:54,680
I I like the fruits of the labor
that like benefit me and my 

564
00:29:54,680 --> 00:29:56,560
projects. 
Like I feel like no one knows 

565
00:29:56,560 --> 00:30:00,680
the cheat code, but we do, yeah.
That's what it feels exactly. 

566
00:30:00,680 --> 00:30:04,160
And I I fear that if if Elixir 
becomes super complicated, will 

567
00:30:04,160 --> 00:30:07,080
attract the same degree of 
overcomplexification and the and

568
00:30:07,080 --> 00:30:10,240
the churn that happens in the in
the JavaScript ecosystem. 

569
00:30:10,520 --> 00:30:15,960
That's what drives me mad about 
coding in TypeScript in XJS. 

570
00:30:16,760 --> 00:30:20,120
So much churn. 
Like every time you run all the,

571
00:30:20,160 --> 00:30:24,320
all the vulnerabilities and then
you run NPM install and oh, this

572
00:30:24,320 --> 00:30:27,000
has been deprecated. 
Why, Why do you, it's, it's a 

573
00:30:27,000 --> 00:30:28,680
simple library. 
Why do you deprecate? 

574
00:30:28,680 --> 00:30:31,040
Because maybe you wrote 
something else. 

575
00:30:31,040 --> 00:30:33,560
You put it on your GitHub. 
I mean, there's a lot, there's a

576
00:30:33,560 --> 00:30:36,080
lot of people, there are a lot 
of people who write JavaScript 

577
00:30:36,080 --> 00:30:39,720
and types libraries and they 
just love deprecating things. 

578
00:30:39,720 --> 00:30:43,320
Just some things need to be more
stable and I, I particularly 

579
00:30:43,320 --> 00:30:47,080
like Phoenix and Phoenix Live 
View have been handled. 

580
00:30:47,360 --> 00:30:49,560
Yes, there are a lot of changes 
happening like recently with 

581
00:30:49,560 --> 00:30:53,160
Phoenix 1.8, the scopes that I 
have to now wrap my brain around

582
00:30:53,160 --> 00:30:56,840
it, but I don't have to. 
It's, it's whether I choose. 

583
00:30:56,880 --> 00:31:00,360
I, I went back to projects I 
wrote two years ago in Phoenix 

584
00:31:00,360 --> 00:31:05,720
Live View before it hit 1.0, it 
was Phoenix Live View 0.17 or 

585
00:31:05,720 --> 00:31:08,800
something, I think. 
And it was not difficult to to 

586
00:31:08,800 --> 00:31:13,160
convert the code base to to 
their latest versions. 

587
00:31:13,640 --> 00:31:17,760
And this is not the case with 
Next JS, React, whatever. 

588
00:31:17,760 --> 00:31:21,280
It's just modelling how things 
get deprecated and breaking 

589
00:31:21,280 --> 00:31:23,360
changes every time. 
Like you spend most of your time

590
00:31:23,360 --> 00:31:25,720
if you want to keep things up to
date, especially with 

591
00:31:25,720 --> 00:31:28,400
vulnerabilities chasing after a 
moving target. 

592
00:31:28,600 --> 00:31:33,160
PDFJS, disc, react dash, PDF 
like Oh my God we have nothing 

593
00:31:33,160 --> 00:31:36,360
better to do chase after NPM 
packages. 

594
00:31:37,000 --> 00:31:40,600
I I will say normally, like if 
you're updating projects to the 

595
00:31:40,640 --> 00:31:44,440
latest Elixir version, OTP 
version, whatever it may be, 

596
00:31:44,600 --> 00:31:48,880
it's usually pretty pain free. 
Yes, it is 1.18. 

597
00:31:48,880 --> 00:31:51,880
Many packages don't do things 
the way they expect to do. 

598
00:31:51,880 --> 00:31:53,240
That's true. 
That's why I stayed in. 

599
00:31:53,480 --> 00:31:56,800
I found it works OK with one 
point 18.3. 

600
00:31:57,040 --> 00:31:59,120
That's where I'm at now. 
OK. 

601
00:32:00,520 --> 00:32:05,120
Yeah. 
I pushed a couple products to 

602
00:32:05,120 --> 00:32:10,440
19, but yeah, relatively 
painless and depending on how 

603
00:32:10,440 --> 00:32:15,160
big the code base is, right? 
Yeah, my code bases are still 

604
00:32:15,160 --> 00:32:16,640
small. 
What I do is I have a lot of 

605
00:32:16,640 --> 00:32:22,480
little things in parallel, like 
I have 3 little apps, but again 

606
00:32:22,640 --> 00:32:27,000
I do things on the side at some 
point reaching the point of 

607
00:32:27,000 --> 00:32:29,000
deployment. 
So far none of them has reached 

608
00:32:29,000 --> 00:32:32,000
it besides my company website 
which is not fully built. 

609
00:32:32,960 --> 00:32:36,840
But I'm still on the path of of 
Elixir of discovery, learning, 

610
00:32:37,680 --> 00:32:42,480
updating and now with BRIC will 
bric dot GR will take it to 

611
00:32:42,520 --> 00:32:44,440
production over the next six 
months. 

612
00:32:44,440 --> 00:32:48,080
A sister API because PHP. 
If you don't have a runtime, you

613
00:32:48,080 --> 00:32:51,880
need to have workarounds like 
use Redis or use Cron jobs to 

614
00:32:51,880 --> 00:32:55,320
make some requests. 
It's like all this nonsense. 

615
00:32:55,760 --> 00:32:59,440
I Why would I do it? 
If I if I write an API in 

616
00:32:59,440 --> 00:33:03,160
Phoenix and that's what I'm 
porting now, I get all this for 

617
00:33:03,160 --> 00:33:05,280
free. 
I don't need to have, I don't 

618
00:33:05,280 --> 00:33:07,800
need to babysit two or three 
other dependencies. 

619
00:33:07,800 --> 00:33:11,400
I have AI prefer the moment. 
You can spin up processes for 

620
00:33:11,400 --> 00:33:17,080
whatever you need. 
You don't need to baby different

621
00:33:17,080 --> 00:33:18,600
dependencies. 
That's for me the biggest one, 

622
00:33:18,600 --> 00:33:20,560
especially when you're a small 
team and we're a very small 

623
00:33:20,560 --> 00:33:25,760
team, you need to be able to 
easily without a lot of ceremony

624
00:33:25,760 --> 00:33:28,160
because we are at the stage now 
with the software where we get 

625
00:33:28,160 --> 00:33:31,720
feature requests every couple of
days, which improvements, bug 

626
00:33:31,720 --> 00:33:34,920
reports and you need to be able 
to say they're fixed. 

627
00:33:35,200 --> 00:33:38,760
You gain customer trust. 
You see the number go up. 

628
00:33:38,760 --> 00:33:41,280
Oh, you also release a 
newsletter every time you have a

629
00:33:41,280 --> 00:33:43,560
a new point release or a major 
release. 

630
00:33:43,560 --> 00:33:48,000
And the more moving pieces you 
have, the more you have to chase

631
00:33:48,000 --> 00:33:49,440
after. 
Oh yeah, this now works. 

632
00:33:49,440 --> 00:33:51,800
But this doesn't work now. 
This broke because the interface

633
00:33:51,800 --> 00:33:53,840
broke. 
I'd rather have one thing, one 

634
00:33:53,840 --> 00:33:57,600
code base deployed, done it 
simple. 

635
00:33:57,680 --> 00:33:59,960
Easy. 
Well I mean I think so many 

636
00:33:59,960 --> 00:34:05,240
people underestimate like the 
amount of traffic like a single 

637
00:34:05,240 --> 00:34:08,880
node can handle too without even
having to complicate things with

638
00:34:09,000 --> 00:34:14,120
distribution and all of that. 
But if you need to, it's really 

639
00:34:14,120 --> 00:34:18,520
easy to do. 
Yeah, I haven't dug into this 

640
00:34:18,520 --> 00:34:20,360
yet. 
It was one. 

641
00:34:20,920 --> 00:34:23,719
I see that Chris McCoy was 
posting something about 

642
00:34:23,719 --> 00:34:29,719
distributed SQ Lite. 
I want to stick with this. 

643
00:34:31,239 --> 00:34:34,239
Yeah, as long as it will carry 
me again, then fine. 

644
00:34:34,239 --> 00:34:36,360
I switched to Postgres with 
Ecto. 

645
00:34:36,480 --> 00:34:42,800
Change the adapter, maybe adopt 
a couple of schemas, reimport I 

646
00:34:42,800 --> 00:34:46,440
I personally find that starting 
low tech easy is the best thing 

647
00:34:46,480 --> 00:34:48,400
because you need to understand 
domain first. 

648
00:34:49,239 --> 00:34:54,120
Absolutely, I agree avoid 
overcomplicating things, but 

649
00:34:54,679 --> 00:34:58,240
it's like the same same approach
as you do with like creating a 

650
00:34:58,240 --> 00:35:00,880
product right? 
You want as few, you want just 

651
00:35:00,880 --> 00:35:04,360
the viable features. 
You don't want to have the Swiss

652
00:35:04,360 --> 00:35:07,200
army knife day one. 
And honestly, I think any 

653
00:35:07,200 --> 00:35:09,960
product that turns into a Swiss 
army knife is the death of that 

654
00:35:09,960 --> 00:35:12,720
product. 
Yeah, because the UI gets so 

655
00:35:12,720 --> 00:35:16,040
complex, like for this SAS, 
which is property management 

656
00:35:16,040 --> 00:35:18,880
specifically for Greece, would 
get great reviews for the UXUI 

657
00:35:18,880 --> 00:35:21,280
because with the liberal, it 
didn't go the route of saying 

658
00:35:21,280 --> 00:35:23,160
this is an ERP. 
Yeah, it is an ERP. 

659
00:35:23,160 --> 00:35:26,120
It's an asset management 
software, but it's designed to 

660
00:35:26,120 --> 00:35:27,960
work equally well on a on an 
iPad. 

661
00:35:27,960 --> 00:35:32,560
So when you look at things. 
So I call it the Dixon's laptop.

662
00:35:32,600 --> 00:35:37,000
Imagine somebody has bought a 
laptop with 1280 by 800 pixels 

663
00:35:37,000 --> 00:35:38,240
wide. 
Like a crappy laptop. 

664
00:35:39,080 --> 00:35:42,720
If you target this, this 
viewport, this kind of specs, 

665
00:35:43,240 --> 00:35:46,800
then you will make a website 
that looks good on a small 

666
00:35:46,800 --> 00:35:51,040
screen, looks good on a tablet, 
make some adjustments, make it 

667
00:35:51,040 --> 00:35:54,800
also look good on the on the 
smallest iPhone AC, which not 

668
00:35:54,800 --> 00:35:59,240
many people have now and then 
it's easy to you can, you can 

669
00:35:59,240 --> 00:36:02,240
add bells and whistles for 
larger viewports, but I'd like 

670
00:36:02,240 --> 00:36:05,560
to be conservative with what I'm
targeting, not assume that 

671
00:36:05,560 --> 00:36:09,640
everyone has an M4 MacBook Air 
with tons of memory and 

672
00:36:09,640 --> 00:36:13,320
everything. 
And then you can deal with more 

673
00:36:13,320 --> 00:36:15,000
things. 
Same thing same thing by the 

674
00:36:15,000 --> 00:36:17,920
way. 
Interesting thing is when I hit 

675
00:36:17,920 --> 00:36:23,480
the MySQL database from PHP, I 
get far worse times, far worse 

676
00:36:23,480 --> 00:36:25,080
performance than when I hit with
Elixir. 

677
00:36:25,080 --> 00:36:27,560
I was totally impressed. 
Same connection. 

678
00:36:28,400 --> 00:36:30,840
Yeah, yeah. 
Plus you get all the goodness of

679
00:36:30,920 --> 00:36:33,400
Vecto and making theories with 
Ecto. 

680
00:36:33,400 --> 00:36:35,440
Is magical. 
We're lucky to have that 

681
00:36:35,520 --> 00:36:39,080
library. 
I'm going to just, yeah. 

682
00:36:39,960 --> 00:36:42,320
I'm going to pause us for 18 
seconds and then we'll be right 

683
00:36:42,320 --> 00:36:44,360
back. 
Hey, I'm Kimberly with Elixir 

684
00:36:44,360 --> 00:36:47,840
mentor Jacob recently added 
recruitment services to help 

685
00:36:47,840 --> 00:36:50,040
companies hire pre vetted Elixir
devs. 

686
00:36:50,560 --> 00:36:53,800
I help with company outreach, so
if you're hiring, I may be 

687
00:36:53,800 --> 00:36:56,800
reaching out, or you can connect
with us anytime at 

688
00:36:56,800 --> 00:37:03,640
elixirmentor.com. 
And we're back. 

689
00:37:05,840 --> 00:37:09,560
But yeah, like, I don't know, I 
think we're really lucky to have

690
00:37:09,560 --> 00:37:10,880
ecto. 
Like we don't have to think 

691
00:37:10,880 --> 00:37:14,520
about much performance wise if 
you're using ecto properly. 

692
00:37:15,720 --> 00:37:19,240
Ecto is we can talk about the 
lecture, but in the end the 

693
00:37:19,240 --> 00:37:21,120
language. 
I love the language, but the one

694
00:37:21,120 --> 00:37:25,240
thing that really changed how I 
think about doing operational 

695
00:37:25,240 --> 00:37:27,920
databases or even without 
databases, like you can use Ecto

696
00:37:27,920 --> 00:37:31,720
fantastically as mentioned the 
other episode about N Maliksi 

697
00:37:31,720 --> 00:37:35,280
traders to just validate data 
and many people don't come to 

698
00:37:35,280 --> 00:37:38,640
this idea even though the 
documents especially mention it.

699
00:37:40,160 --> 00:37:43,120
We change sets and so on. 
Ecto is incredible. 

700
00:37:43,520 --> 00:37:46,600
Like if, if I take imagine it's 
so, it's so clean. 

701
00:37:46,680 --> 00:37:48,920
The whole idea of the schema and
the change set. 

702
00:37:48,920 --> 00:37:53,120
It's a simple pair of ideas. 
You take the same concept, you 

703
00:37:53,120 --> 00:37:57,960
transport it into two PHP 
classes, and it cuts down all 

704
00:37:57,960 --> 00:38:02,400
the boilerplate of validating 
incoming theory parameters and 

705
00:38:02,400 --> 00:38:06,200
bodies and whatever. 
OK, the cure parameters mostly 

706
00:38:07,320 --> 00:38:15,160
cut validate these. 
So what cast it validate 

707
00:38:15,160 --> 00:38:18,640
required all the different 
validate number validate it just

708
00:38:18,640 --> 00:38:20,480
reads well. 
So I think it's an under 

709
00:38:20,480 --> 00:38:22,320
appreciated gem of the 
ecosystem. 

710
00:38:23,440 --> 00:38:27,240
Yeah, I guess this already for 
for I think Ruby an active 

711
00:38:27,240 --> 00:38:28,920
record is called the active 
record pattern. 

712
00:38:28,920 --> 00:38:33,720
But OK, whatever, wherever it's 
coming from, Ecto is is the tool

713
00:38:33,720 --> 00:38:37,680
for so many cases. 
And nibble options also be good.

714
00:38:37,960 --> 00:38:42,840
Nibble options break. 
I'm sorry, say that again. 

715
00:38:42,840 --> 00:38:46,960
What was that? 
Nimble options to validate. 

716
00:38:50,280 --> 00:38:56,880
Oh, yeah. 
Yeah, yeah, Yep, yeah, yeah, we 

717
00:38:56,880 --> 00:38:58,760
are. 
We're definitely spoiled. 

718
00:38:59,800 --> 00:39:07,160
All right, let's see. 
I we have questions, comments. 

719
00:39:08,200 --> 00:39:13,400
Let's see. 
No, not, not any new ones, but 

720
00:39:13,400 --> 00:39:16,400
let's see. 
I have got questions for you, 

721
00:39:16,440 --> 00:39:18,720
Isaac. 
Let's go. 

722
00:39:21,320 --> 00:39:30,040
Let's see, so you've mentioned 
like numerous times that you're 

723
00:39:30,280 --> 00:39:33,440
just a big fan of just REST API 
is right. 

724
00:39:33,440 --> 00:39:37,200
And when you like create, like 
when you put a production like 

725
00:39:37,200 --> 00:39:41,520
API client, like architectural 
decisions that like you early on

726
00:39:41,520 --> 00:39:45,040
made, pushed to production that 
you later regretted and then 

727
00:39:45,040 --> 00:39:49,000
like what were those? 
And then like how would you have

728
00:39:49,160 --> 00:39:55,320
fixed your solutions now like 
old Isaac versus new Isaac? 

729
00:39:56,080 --> 00:39:59,240
Yeah, I can tell you for the 
past two years. 

730
00:40:01,920 --> 00:40:06,760
First of all, design your routes
to be clean. 

731
00:40:07,080 --> 00:40:12,040
Look at the Restful approach, at
least how you handle resources 

732
00:40:12,040 --> 00:40:16,560
and and so on. 
Like I inherited code that was 

733
00:40:16,600 --> 00:40:20,560
just a mess in that sense. 
And now part of the job was to 

734
00:40:20,640 --> 00:40:23,600
to clean it up because at some 
point we'd like to expose parts 

735
00:40:23,600 --> 00:40:27,120
of the API to to clients who 
will be enterprise customers to,

736
00:40:27,440 --> 00:40:29,920
to interact with it. 
So instead of going through the 

737
00:40:29,920 --> 00:40:36,680
website and a terrible thing to 
do is to write an API that is 

738
00:40:36,760 --> 00:40:42,000
tightly coupled to the UI that 
is that is one of the stupidest 

739
00:40:42,000 --> 00:40:43,920
things that I've. 
I hated it. 

740
00:40:44,000 --> 00:40:46,880
I followed while I didn't know 
any better and I just had to 

741
00:40:46,880 --> 00:40:50,200
implement features because of 
the everything was burning. 

742
00:40:50,280 --> 00:40:55,560
I, I stepped in the on the same 
patterns that of the code that I

743
00:40:55,560 --> 00:41:00,520
got and I deeply regret it 
because had I known better, I 

744
00:41:00,520 --> 00:41:04,360
would have already refactored 
the API much earlier, like maybe

745
00:41:04,360 --> 00:41:08,120
1/2 years ago, so that I don't 
have to rewrite everything to 

746
00:41:08,120 --> 00:41:11,880
make it less tightly coupled to 
the UII think it starts well 

747
00:41:11,880 --> 00:41:16,080
when you think first about the 
different routes, how you'll 

748
00:41:16,080 --> 00:41:19,880
organize them, whether you will 
have actions like you can have 

749
00:41:20,120 --> 00:41:24,840
resource, last slug or whatever 
ID slash actions. 

750
00:41:24,840 --> 00:41:29,080
And then how you how do you map 
the operations that will be done

751
00:41:29,600 --> 00:41:35,120
on on 2 routes if you start? 
So I saw proliferation on the 

752
00:41:35,120 --> 00:41:37,920
code I got of basically ad hoc 
things. 

753
00:41:37,920 --> 00:41:40,840
Sometimes thing would be nested 
down the property, sometimes 

754
00:41:40,840 --> 00:41:44,680
under properties, sometimes 
under occupancy, other times 

755
00:41:44,680 --> 00:41:46,760
under occupancy. 
Some actions would be just 

756
00:41:46,760 --> 00:41:49,520
straight under occupancies or 
there would be a slash actions. 

757
00:41:49,960 --> 00:41:51,600
This this cause a lot of 
confusion. 

758
00:41:52,680 --> 00:41:56,040
Yeah, it works in the end 
because the, the UI is tightly 

759
00:41:56,040 --> 00:42:00,400
coupled to the to that API. 
But if you take your time to to 

760
00:42:00,400 --> 00:42:03,720
think about how you organize 
things, it gets so much cleaner 

761
00:42:03,720 --> 00:42:07,320
and you get, you end up with 
much less confusion when you 

762
00:42:07,320 --> 00:42:09,080
need to work things. 
In fact, you mentioned something

763
00:42:09,080 --> 00:42:11,600
earlier which I didn't comment 
on, but re factoring for me is, 

764
00:42:11,600 --> 00:42:14,520
is a is a joy. 
It's I like cleaning things up. 

765
00:42:14,880 --> 00:42:19,280
I like, I like putting things in
order and making it less 

766
00:42:19,280 --> 00:42:21,880
cognitively difficult for me to,
to add things on. 

767
00:42:22,120 --> 00:42:25,520
Once I did my re factoring of 
that code base, for example, it 

768
00:42:25,520 --> 00:42:27,080
doesn't matter. 
It's the same thing with with 

769
00:42:27,080 --> 00:42:30,080
other APIs I've written and I've
been writing like I have another

770
00:42:30,080 --> 00:42:32,880
book, which is Phoenix product 
Codex, which is about writing 

771
00:42:32,880 --> 00:42:35,520
the, my PDM approach, product 
data management approach that I 

772
00:42:35,520 --> 00:42:39,800
wrote in Python years ago. 
We write it clean all this time 

773
00:42:40,160 --> 00:42:43,280
with Elixir in Phoenix. 
And I spend a lot of time 

774
00:42:43,280 --> 00:42:46,560
explaining how things will be 
interrelated and everything. 

775
00:42:47,080 --> 00:42:51,440
And you cut down complexity a 
lot because you also how you 

776
00:42:51,440 --> 00:42:55,000
write the Jason and whether you 
load the related data or not 

777
00:42:55,000 --> 00:42:56,440
because it's going to lead to 
cycles. 

778
00:42:56,440 --> 00:43:02,200
And I would say one thing I 
regret is not thinking about 

779
00:43:02,200 --> 00:43:04,160
things more. 
But when you when you are in a 

780
00:43:04,160 --> 00:43:08,200
rush, we so when anybody is a 
rush, the first thing is not to 

781
00:43:08,200 --> 00:43:12,640
stop and sharpen the axe is to 
OK, we need to fix it because 

782
00:43:12,640 --> 00:43:15,520
somebody requires it and we have
a client coming up and they want

783
00:43:15,520 --> 00:43:18,240
to see it working. 
And you you're just building in 

784
00:43:18,480 --> 00:43:19,880
plant refactoring from the get 
go. 

785
00:43:20,160 --> 00:43:25,800
It it helps to to plan ahead a 
bit enough you don't shoot your 

786
00:43:25,800 --> 00:43:29,120
own foot. 
Can can you talk about like what

787
00:43:29,120 --> 00:43:34,080
you mean by like too tightly 
coupling like UI to like 

788
00:43:34,560 --> 00:43:38,240
endpoints or API requests like 
yeah. 

789
00:43:38,680 --> 00:43:43,800
I mean that the I mean that the 
API serves the UI almost 

790
00:43:43,800 --> 00:43:44,840
exclusively. 
So. 

791
00:43:45,040 --> 00:43:50,360
So if you then want to want to 
hit the API programmatically and

792
00:43:50,360 --> 00:43:53,840
not to serve the the front end, 
you end up with a lot of data 

793
00:43:53,840 --> 00:43:57,840
structured in a way that is that
serves the API the the front 

794
00:43:57,840 --> 00:44:02,480
end, but is redundant, almost 
clean or the one the one, the 

795
00:44:02,480 --> 00:44:07,160
one route returns data metadata,
the other one turns data nested 

796
00:44:07,200 --> 00:44:09,880
underneath metadata, the other 
one returns data metadata 

797
00:44:09,880 --> 00:44:12,400
results. 
That also is a big lesson over 

798
00:44:12,400 --> 00:44:14,120
the last months. 
Yeah, I feel like. 

799
00:44:14,120 --> 00:44:18,520
That's that's like a very easy 
trap to fall into with like the 

800
00:44:18,520 --> 00:44:21,920
basic like Restful API solution 
too, right? 

801
00:44:21,920 --> 00:44:26,720
Like you're either over serving 
too much information or 

802
00:44:27,040 --> 00:44:31,040
underserving or making more 
requests than you actually need 

803
00:44:31,040 --> 00:44:33,640
to. 
And like what are what's your 

804
00:44:33,640 --> 00:44:37,120
advice to like avoiding 
returning too much data? 

805
00:44:37,120 --> 00:44:43,640
Not enough data, requiring 10 
API requests instead of like 1. 

806
00:44:44,640 --> 00:44:48,240
Yeah, assuming that you don't 
have Phoenix live you where you 

807
00:44:48,240 --> 00:44:51,200
just talk directly and assuming 
that you have a split between 

808
00:44:51,200 --> 00:44:54,920
front end and back end. 
My first advice is, if you can 

809
00:44:54,920 --> 00:44:58,560
avoid it, stop with a stupid 
split between a front end guy 

810
00:44:58,680 --> 00:45:01,080
and a back end guy. 
This is just a mess. 

811
00:45:01,080 --> 00:45:03,200
This. 
But this kind of splitting 

812
00:45:03,200 --> 00:45:05,840
things across brains just causes
transaction cost. 

813
00:45:06,800 --> 00:45:10,240
That is that is that is the 
essence of the problem where the

814
00:45:10,240 --> 00:45:13,080
front end guy will say, yeah, 
well, I need to show this field 

815
00:45:13,080 --> 00:45:15,160
here, you need to give me that 
field. 

816
00:45:15,200 --> 00:45:17,440
And the other guy will say, OK, 
now you have that field. 

817
00:45:17,720 --> 00:45:21,000
And gradually the responses 
balloon to serve something that 

818
00:45:21,000 --> 00:45:25,840
was ad hoc designed. 
And that is sometimes, well, in 

819
00:45:25,840 --> 00:45:29,240
my case, the problem was that 
we're returning a whole sheet of

820
00:45:29,240 --> 00:45:33,680
Jason as H EE. 
So yeah, so a whole sheet of 

821
00:45:33,680 --> 00:45:35,840
Jason because the pages were not
componentized. 

822
00:45:35,880 --> 00:45:40,360
So vice versa, if you're serving
dead views with Phoenix, make 

823
00:45:40,640 --> 00:45:44,240
components, functional 
components and return the data 

824
00:45:44,240 --> 00:45:46,840
that this component needs 
instead of just here, here, have

825
00:45:46,920 --> 00:45:48,800
have everything and you can pick
and choose. 

826
00:45:48,800 --> 00:45:52,680
That's like the all you can eat 
buffet, but you will return too 

827
00:45:52,680 --> 00:45:57,200
much data, which is convenient. 
That maybe is a good choice when

828
00:45:57,200 --> 00:45:59,800
you are starting out and you 
haven't yet finalized what 

829
00:46:00,040 --> 00:46:01,920
content will be what you're 
showing. 

830
00:46:02,760 --> 00:46:06,240
Or you're returning too little 
data specifically for that 

831
00:46:06,240 --> 00:46:08,840
functional component, in which 
case you make too many requests.

832
00:46:09,440 --> 00:46:12,680
Now in in in my with Elixir, I 
wouldn't mind because Elixir is 

833
00:46:12,680 --> 00:46:15,720
faster than PHP. 
But I find that in my case, 

834
00:46:15,720 --> 00:46:17,760
sometimes you you over fetch 
you. 

835
00:46:17,760 --> 00:46:21,120
You could just you need to find 
a balance with how you if you 

836
00:46:21,120 --> 00:46:24,520
split it too much, you have too 
many independent things that are

837
00:46:24,520 --> 00:46:26,560
pinging the server back and 
forth and you have to manage 

838
00:46:26,560 --> 00:46:29,480
state and update in next years. 
You have to mutate. 

839
00:46:31,120 --> 00:46:33,680
If you're casting something, you
remember to invalidate if 

840
00:46:33,680 --> 00:46:35,120
something changes from that 
component. 

841
00:46:35,120 --> 00:46:38,600
Like if a component is is is 
self-contained and you have an 

842
00:46:38,600 --> 00:46:42,360
edit button and it makes a POST 
request and you have already 

843
00:46:42,360 --> 00:46:44,440
casted, you need to remember 
somewhat invalidated. 

844
00:46:44,440 --> 00:46:46,520
That's all complexity because 
you're essentially creating a 

845
00:46:46,520 --> 00:46:50,440
distributed pattern of, of how 
data is is shown on the page. 

846
00:46:50,920 --> 00:46:53,840
And there's a, there's a middle 
ground there that is specific to

847
00:46:53,920 --> 00:46:57,080
the page you're modelling and 
what you're doing with it, where

848
00:46:57,080 --> 00:47:00,000
you find that OK, now things 
kind of flow, but you can 

849
00:47:00,000 --> 00:47:03,400
certainly go overboard on either
direction where you're just 

850
00:47:03,400 --> 00:47:05,560
returning. 
Here you go. 

851
00:47:06,120 --> 00:47:09,360
Take like you have. 
We have this issue with 

852
00:47:09,560 --> 00:47:12,800
returning documents. 
Imagine you have properties like

853
00:47:12,800 --> 00:47:14,880
real estate properties, and 
every property can have 

854
00:47:14,880 --> 00:47:16,960
documents. 
The documents list grows. 

855
00:47:17,240 --> 00:47:20,640
So you have a page on the left 
on the on the sidebar where you 

856
00:47:20,640 --> 00:47:24,960
turn all the documents while the
software was young. 

857
00:47:25,120 --> 00:47:27,280
Sure, return all the documents. 
How many properties will it 

858
00:47:27,280 --> 00:47:28,640
have? 
You have 5 properties and each 

859
00:47:28,640 --> 00:47:30,720
one still has like 5 documents. 
Yeah. 

860
00:47:30,720 --> 00:47:33,320
Well, now comes the first 
customer has 100 properties 

861
00:47:33,320 --> 00:47:37,400
listed and starts with 20 
documents and a partner I found 

862
00:47:37,400 --> 00:47:40,960
I'm a big fan of is here to us. 
Like when you 10 fields like 

863
00:47:41,280 --> 00:47:45,760
previous page, next page, you 
have a separate structure within

864
00:47:45,760 --> 00:47:49,600
the Jason. 
That way you have the and that's

865
00:47:49,600 --> 00:47:54,480
what I also like. 
And increasingly I I turn my 

866
00:47:54,480 --> 00:48:00,680
APIs into. 
So I shift logic away from the 

867
00:48:00,680 --> 00:48:02,880
front end. 
If it's not related to display, 

868
00:48:03,000 --> 00:48:05,800
I shift it back to the server. 
Because I want the server to 

869
00:48:05,920 --> 00:48:09,840
tell the page whether it can 
render something, whether some 

870
00:48:09,840 --> 00:48:12,880
actions are permitted, and just 
make a quick check in the in the

871
00:48:12,880 --> 00:48:16,760
front and say, well, OK, not 
permitted or no, no such key. 

872
00:48:16,760 --> 00:48:19,120
So I don't show the button, I 
don't show the action. 

873
00:48:19,640 --> 00:48:21,320
And that is another major 
learning. 

874
00:48:22,000 --> 00:48:25,200
Not everything needs to be 
server side, but when you 

875
00:48:25,200 --> 00:48:28,480
centralized logic in the on the 
server side, at least the 

876
00:48:28,480 --> 00:48:32,760
important things you also are. 
You sleep better knowing that 

877
00:48:32,760 --> 00:48:35,360
there's no chance that something
will be rendered just because 

878
00:48:35,360 --> 00:48:39,160
you or somebody change the 
condition on the template, 

879
00:48:39,160 --> 00:48:42,360
regardless of whether you're 
doing HAS React or Phoenix Live.

880
00:48:42,480 --> 00:48:46,760
Right now I'm curious like you 
mentioned, like get rid of the 

881
00:48:46,800 --> 00:48:49,280
front end crew and the back end 
crew because you just start 

882
00:48:49,280 --> 00:48:51,880
requesting more and more data 
and your responses are just 

883
00:48:51,880 --> 00:48:55,840
going to grow. 
I'm curious to have your take on

884
00:48:56,200 --> 00:48:59,280
and like the introduction of 
like graph QL where you just get

885
00:48:59,280 --> 00:49:03,120
what you asked for. 
Or do you do you shy away from 

886
00:49:03,120 --> 00:49:06,320
it? 
Yeah, I so far shy away from it 

887
00:49:06,320 --> 00:49:10,120
because I read an article that 
kind of colored my perception 

888
00:49:10,120 --> 00:49:14,000
negatively about permissions 
with Graph QL that you have. 

889
00:49:14,480 --> 00:49:16,840
Apparently there are solutions 
to apply permissions of what's 

890
00:49:16,840 --> 00:49:20,320
being fetched. 
But in in my case for this big 

891
00:49:20,320 --> 00:49:24,560
app, because I was also flirting
with having a graph QLAPI for 

892
00:49:24,560 --> 00:49:29,680
the for the Lexi rewrite of the 
of the server of the back end, 

893
00:49:30,120 --> 00:49:31,680
because we have a lot of 
interrelated entities. 

894
00:49:31,680 --> 00:49:35,160
You have a property that has 
occupancies that might have 

895
00:49:35,160 --> 00:49:37,360
finances or tasks that have 
finances. 

896
00:49:37,360 --> 00:49:39,040
You have a lot of interrelated 
data. 

897
00:49:39,040 --> 00:49:42,920
So graph QL on paper looks super
interesting because you just 

898
00:49:42,920 --> 00:49:45,920
say, well, give me all that 
belong to this property and 

899
00:49:45,920 --> 00:49:48,280
accessed by this user and you 
get what you need. 

900
00:49:48,600 --> 00:49:50,040
And it might still be a good 
idea. 

901
00:49:50,680 --> 00:49:53,000
But The thing is, because we 
have three different roles or 

902
00:49:53,000 --> 00:49:56,360
assumed 4 roles, 4 different 
views, depending whether you're 

903
00:49:56,360 --> 00:49:59,080
a property manager, property 
owner, property tenant or a 

904
00:49:59,080 --> 00:50:01,560
supplier. 
You need to get access to 

905
00:50:01,560 --> 00:50:04,720
information not only depending 
on the role, but also depending 

906
00:50:04,720 --> 00:50:07,560
on whether from a business 
perspective you want, for 

907
00:50:07,560 --> 00:50:10,920
example, the tenant to see, to 
be able to see the the owners of

908
00:50:10,920 --> 00:50:14,840
the property they're renting. 
And I have a gut feeling I have,

909
00:50:14,880 --> 00:50:17,440
it's totally shooting from the 
hip point of view. 

910
00:50:17,760 --> 00:50:23,520
Happy to be corrected by anyone 
listen to this that permission 

911
00:50:23,520 --> 00:50:25,600
checking and getting access to 
data. 

912
00:50:25,640 --> 00:50:27,480
It will be. 
I'll just move the complexity 

913
00:50:27,480 --> 00:50:30,200
there like it will be easier to 
cure related stuff. 

914
00:50:30,640 --> 00:50:33,840
But then I will have to write a 
lot of logic to to to hide 

915
00:50:33,840 --> 00:50:35,920
fields from the response that 
are that you have. 

916
00:50:35,920 --> 00:50:39,160
To do your own, your own 
authentication and role checking

917
00:50:39,200 --> 00:50:40,920
for sure. 
Yeah, yeah. 

918
00:50:41,840 --> 00:50:45,640
Depending on what field what 
field you're accessing right 

919
00:50:45,640 --> 00:50:47,160
you. 
Don't do it anyway. 

920
00:50:47,160 --> 00:50:49,880
And that's what I'm really 
interested in in the Phoenix 

921
00:50:49,880 --> 00:50:53,440
scopes, because right now we are
passing to the back end QA 

922
00:50:53,520 --> 00:50:56,920
parameter role equals something 
which we qualify on the on the 

923
00:50:56,920 --> 00:50:59,640
back end. 
And depending on that all our 

924
00:50:59,640 --> 00:51:03,400
functions are polluted with a 
role parameter that calls 

925
00:51:03,400 --> 00:51:09,160
different checking and so on. 
But with with scopes, you could 

926
00:51:09,440 --> 00:51:12,480
simplify this so that you don't 
even have the possibility to 

927
00:51:12,480 --> 00:51:16,080
make a query to the database to 
ever get something returned that

928
00:51:16,080 --> 00:51:17,760
the user should not be allowed 
to see. 

929
00:51:18,160 --> 00:51:21,040
That's that's why I decided 
eventually I was thinking about 

930
00:51:21,040 --> 00:51:23,800
this for obviously from very 
early on. 

931
00:51:23,800 --> 00:51:27,960
Like had I had I known two years
ago, what I know now would have 

932
00:51:27,960 --> 00:51:32,800
gone straight to Phoenix and 
Postgres and not PHP and my SQL.

933
00:51:34,200 --> 00:51:39,080
But OK, hindsight is 2020. 
So now that I see that there are

934
00:51:39,080 --> 00:51:43,640
scopes, I, I start to imagine 
that, oh, this will actually cut

935
00:51:43,640 --> 00:51:46,760
down a lot of of permissions 
checking and the worry that 

936
00:51:46,760 --> 00:51:50,400
somebody might be exposed 
because we are casting their all

937
00:51:50,400 --> 00:51:53,160
differently. 
I don't know if graft fuel could

938
00:51:53,160 --> 00:51:55,040
be a solution. 
It's something that it's on my 

939
00:51:55,040 --> 00:51:58,840
backlog of things to investigate
and maybe there's when I do it, 

940
00:51:59,240 --> 00:52:00,400
there's going to be another 
book. 

941
00:52:01,800 --> 00:52:04,520
Hey, that would be a good one. 
I mean, there's pros and cons to

942
00:52:04,520 --> 00:52:08,680
graph QLI feel like like a lot 
of people don't like to give 

943
00:52:08,680 --> 00:52:14,520
that much freedom to like the 
client side front end app and 

944
00:52:14,680 --> 00:52:19,280
you, you are like you're 
essentially overexposing things 

945
00:52:19,280 --> 00:52:22,960
right, but then leaving it up to
the front end to not over 

946
00:52:22,960 --> 00:52:26,240
request data. 
So if if your front end 

947
00:52:26,240 --> 00:52:29,720
engineers aren't mindful of 
that, it can be, it could be a 

948
00:52:29,720 --> 00:52:34,040
nightmare too. 
Like every solution it has its 

949
00:52:34,040 --> 00:52:37,200
robots and its pro. 
I just think it shifts my gut 

950
00:52:37,200 --> 00:52:39,320
feeling again without having to 
do it extensively. 

951
00:52:39,440 --> 00:52:42,640
It's just it's like squeezing a 
water balloon behind your 

952
00:52:42,640 --> 00:52:43,880
fingers. 
How I imagine it. 

953
00:52:44,320 --> 00:52:46,440
You know the water balloon is 
out somewhere. 

954
00:52:46,480 --> 00:52:49,880
You can squeeze complexity of 
something up until a given 

955
00:52:49,880 --> 00:52:51,040
point. 
At some point you just 

956
00:52:51,400 --> 00:52:56,480
reallocate it to something else.
You solve 3 problems, you create

957
00:52:56,480 --> 00:53:01,920
another five in some cases. 
And, and in our case, because 

958
00:53:01,920 --> 00:53:05,320
we're in, in the EU, we operate 
exclusively in Greece. 

959
00:53:05,520 --> 00:53:11,840
Therefore we are, you know, DPR.
Even though DPR is a joke, we 

960
00:53:11,840 --> 00:53:13,960
still want to play things by the
book. 

961
00:53:14,160 --> 00:53:17,240
And this means that I am super 
dreadful of exposing to private 

962
00:53:17,240 --> 00:53:20,400
information because we have 
information there about who has 

963
00:53:20,400 --> 00:53:23,560
paid which amount to whom to 
which bank accounts. 

964
00:53:23,880 --> 00:53:26,880
You have private information 
about who owns what to what 

965
00:53:26,880 --> 00:53:30,880
percent you have contracts. 
So it's it's tricky. 

966
00:53:30,880 --> 00:53:33,840
I always think super hard about 
what I expose. 

967
00:53:33,960 --> 00:53:37,160
Yeah, yeah. 
Master is the human. 

968
00:53:37,680 --> 00:53:38,960
What do you do? 
You who? 

969
00:53:38,960 --> 00:53:41,600
Wants to? 
Who wants? 

970
00:53:41,600 --> 00:53:42,000
No. 
No. 

971
00:53:42,040 --> 00:53:45,880
Sorry, I was going to say, do 
you with like sensitive 

972
00:53:45,880 --> 00:53:48,440
information like that? 
Do you start to dive more into 

973
00:53:48,440 --> 00:53:51,000
like multi tenancy and stuff 
then for solutions? 

974
00:53:54,280 --> 00:53:57,880
In our case, no, because it's 
it's a platform where anybody 

975
00:53:57,880 --> 00:54:02,880
can sign up, but there's so you 
sign up, you you have a profile 

976
00:54:02,880 --> 00:54:06,240
and people can connect to you. 
So I have you as my contact, I 

977
00:54:06,400 --> 00:54:09,120
can assign you as a tenant. 
Therefore multi tenancy in the 

978
00:54:09,120 --> 00:54:14,680
sense of every customer has his 
own has their own prefix on the 

979
00:54:14,680 --> 00:54:18,320
database could work up to a 
certain point, but will make 

980
00:54:18,320 --> 00:54:20,040
things more difficult for 
everything. 

981
00:54:20,800 --> 00:54:23,600
Certainly something that I have 
on my mind to check to check 

982
00:54:23,600 --> 00:54:28,800
out, but so far not yet. 
OK, you could do I forget what 

983
00:54:28,800 --> 00:54:30,280
it's called. 
I know what it's called in Ash, 

984
00:54:30,280 --> 00:54:34,000
but they do like the attribute 
multi tenancy where you're just 

985
00:54:34,000 --> 00:54:37,240
essentially filtering by like an
organization ID for everything. 

986
00:54:38,200 --> 00:54:40,600
Yeah, you can do it with an 
association field. 

987
00:54:40,600 --> 00:54:41,400
Essentially. 
Check out. 

988
00:54:41,400 --> 00:54:45,160
Instead of having separate 
database schemas or the prefix, 

989
00:54:45,840 --> 00:54:47,840
I forget what that one's. 
Called is that context? 

990
00:54:49,120 --> 00:54:51,880
Your recent videos about us and 
the multi tenancy actually got 

991
00:54:51,880 --> 00:54:57,440
me thinking about when I started
the rewrite implement things in 

992
00:54:57,520 --> 00:55:00,320
with with us, because that's 
kind of where it goes. 

993
00:55:01,000 --> 00:55:04,160
However, I decided against it 
because I know Phoenix well 

994
00:55:04,160 --> 00:55:07,600
enough to to implement things. 
But I think that now in on also 

995
00:55:07,600 --> 00:55:10,800
the US learning which I I was 
early on. 

996
00:55:10,800 --> 00:55:13,440
I was interested in US three 
years ago when it was just 

997
00:55:13,440 --> 00:55:16,680
getting started and I had even 
joined the Discord and it was 

998
00:55:16,680 --> 00:55:20,080
still very, very early. 
Now it has grown so much, so it 

999
00:55:20,080 --> 00:55:21,280
starts to become really 
interesting. 

1000
00:55:22,240 --> 00:55:24,640
Yeah, I mean, I get it. 
Like when you're sitting there 

1001
00:55:24,640 --> 00:55:27,520
and you're like, I already know 
Elixir in Phoenix and I can move

1002
00:55:27,520 --> 00:55:29,920
quickly. 
And then like learning Ash is 

1003
00:55:29,920 --> 00:55:33,400
like learning a different 
language because you have to 

1004
00:55:33,400 --> 00:55:36,840
pick up their DSL. 
And I like gave up on it the 

1005
00:55:36,840 --> 00:55:39,600
first time I picked it up. 
And then when I actually sat 

1006
00:55:39,600 --> 00:55:42,720
down with the book and started 
understanding things better. 

1007
00:55:42,720 --> 00:55:46,760
Like once you understand the 
little ash paradigm, there's 

1008
00:55:46,760 --> 00:55:49,480
only like so much you can do. 
But like once you know how to do

1009
00:55:49,480 --> 00:55:52,960
it the ash way, everything is 
like you move very quickly. 

1010
00:55:54,880 --> 00:55:58,280
I don't know, I'm a big fan. 
Like I, if I were to build like 

1011
00:55:58,320 --> 00:56:01,640
any SaaS product that I'm 
building, like there's usually 

1012
00:56:01,640 --> 00:56:03,640
not, you're not doing anything 
special. 

1013
00:56:03,800 --> 00:56:06,200
It's just, you know, CRUD 
operations, right? 

1014
00:56:07,040 --> 00:56:10,200
I would suggest, you know, 
probably checking out ash 

1015
00:56:10,200 --> 00:56:12,720
because you'll especially if 
you're working by yourself and 

1016
00:56:12,720 --> 00:56:14,480
just building a product, you can
move quick. 

1017
00:56:15,240 --> 00:56:20,320
I just lost the light. 
But yeah, I'm a, I'm a fan. 

1018
00:56:20,320 --> 00:56:23,840
I like it, but I also like 
understand, I understand both 

1019
00:56:23,840 --> 00:56:27,080
takes. 
Like is it worth learning this 

1020
00:56:27,120 --> 00:56:30,520
new framework or just move fast 
and do what I'm already used to 

1021
00:56:30,520 --> 00:56:32,600
doing? 
And then LLMS change everything 

1022
00:56:32,600 --> 00:56:37,000
too, because now you can just 
move quickly with LLM assisted 

1023
00:56:37,000 --> 00:56:41,440
coding, you know? 
I haven't drunk the vibe code in

1024
00:56:41,440 --> 00:56:45,440
kool-aid yet. 
I I drank a bit, I drank a bit 

1025
00:56:45,440 --> 00:56:47,480
of the vibe. 
I mean, I didn't drink the 

1026
00:56:47,480 --> 00:56:51,960
kool-aid, but in in the summer I
sat down and by not reading 

1027
00:56:51,960 --> 00:56:56,200
carefully the documentation of 
something in the in the BVM, I 

1028
00:56:56,200 --> 00:56:58,760
thought that I needed something 
to check this space. 

1029
00:56:59,400 --> 00:57:05,520
And I I let Grok Grok 3, then 
Grok 4, Gemini and so on. 

1030
00:57:05,520 --> 00:57:08,920
Vibe code and NIF, an Elixir 
NIF. 

1031
00:57:10,720 --> 00:57:14,160
And it was full of bugs and full
of memory leaks and everything 

1032
00:57:14,160 --> 00:57:15,920
was disasters. 
I wrote an article about it. 

1033
00:57:16,960 --> 00:57:19,520
Yeah, but one of the hardest 
things possible. 

1034
00:57:20,000 --> 00:57:21,600
It might be better now, 
honestly. 

1035
00:57:22,600 --> 00:57:24,800
It worked but then I want to 
make it multi platform so 

1036
00:57:24,800 --> 00:57:28,920
eventually I have them rewrite 
it and and each one was checking

1037
00:57:28,920 --> 00:57:32,000
each other so each one was 
reviewing and when the one was 

1038
00:57:32,000 --> 00:57:33,920
getting stuck it was getting the
code from the other one. 

1039
00:57:33,920 --> 00:57:38,640
Not automated just copy paste OK
for which I I got a negative 

1040
00:57:38,640 --> 00:57:42,240
comment that what is this like 
2023 you do this by hand and 

1041
00:57:42,240 --> 00:57:44,200
copy paste yeah because I want 
to understand what what is 

1042
00:57:44,200 --> 00:57:46,320
happening I don't want to just 
say yeah I have vibe coded for 

1043
00:57:46,320 --> 00:57:50,440
me and go it's very. 
Important to understand the code

1044
00:57:50,440 --> 00:57:52,200
that it's generating, I'll tell 
you that. 

1045
00:57:54,280 --> 00:57:57,360
Yeah, I know it because I used. 
I used, I used especially for 

1046
00:57:57,360 --> 00:58:01,200
things that I'm bored to write, 
like writing the yet another 

1047
00:58:01,200 --> 00:58:02,840
query for something. 
I use. 

1048
00:58:02,840 --> 00:58:05,440
I subscribe to group and Group 4
has been really good. 

1049
00:58:05,920 --> 00:58:10,600
Bob Gemini three 2.5 Pro is 
already excellent and captures 

1050
00:58:10,600 --> 00:58:12,280
things that Croke sometimes 
doesn't. 

1051
00:58:13,120 --> 00:58:16,280
What what it helps me with is 
review like I will review code. 

1052
00:58:16,320 --> 00:58:18,840
I will have review. 
Review is nice because then you 

1053
00:58:18,840 --> 00:58:22,520
already know the best comment I 
read about vibe code. 

1054
00:58:22,560 --> 00:58:24,960
The best comment ever is 
somebody wrote on hacking news. 

1055
00:58:25,320 --> 00:58:29,200
The problem with Vibe coding is 
that you become the junior A 

1056
00:58:29,200 --> 00:58:31,880
software developer on your own 
code. 

1057
00:58:32,280 --> 00:58:35,040
And I hate that feeling. 
I hate that feeling where I 

1058
00:58:35,040 --> 00:58:37,400
don't know exactly you haven't 
followed through. 

1059
00:58:37,400 --> 00:58:40,040
I haven't built a mental mental 
model of what the code is 

1060
00:58:40,040 --> 00:58:42,880
supposed to do. 
And I have to to understand what

1061
00:58:42,880 --> 00:58:44,960
the element gives me, which 
sometimes is total crap. 

1062
00:58:45,240 --> 00:58:47,880
I. 
Am correct and I hate that I'm. 

1063
00:58:47,880 --> 00:58:51,320
Going to I'm going to fight back
against that article viewpoint, 

1064
00:58:51,320 --> 00:58:53,120
though. 
I think if you allow yourself to

1065
00:58:53,120 --> 00:58:55,960
be a junior, you'll turn into 
the junior dev. 

1066
00:58:55,960 --> 00:59:01,920
But I look at LLM assisted code 
is my junior dev and I'm 

1067
00:59:01,920 --> 00:59:05,440
reviewing their code and nothing
goes past me unless I approve 

1068
00:59:05,440 --> 00:59:08,320
it. 
And that's exactly how I do it 

1069
00:59:08,320 --> 00:59:09,840
too. 
Or I will have it if I'm 

1070
00:59:09,840 --> 00:59:12,960
uncertain about if something is 
written in a concise way or if I

1071
00:59:12,960 --> 00:59:15,560
want to make some functions more
composable. 

1072
00:59:15,560 --> 00:59:20,400
Because I I abide by the idea 
that first I would write it in a

1073
00:59:20,400 --> 00:59:23,960
way that works even though there
might be duplicate code, and 

1074
00:59:23,960 --> 00:59:28,720
only then will I see whether 
whether it deserves to be more 

1075
00:59:28,720 --> 00:59:31,600
composable. 
In Elixir this comes naturally 

1076
00:59:31,720 --> 00:59:33,880
because the language somehow 
guides you to make things more 

1077
00:59:33,880 --> 00:59:35,720
composable, which is why I like 
it so much. 

1078
00:59:36,280 --> 00:59:39,560
PHP, not so much. 
There's this excellent article 

1079
00:59:39,560 --> 00:59:41,880
about semantic compressions, 
very popular semantic 

1080
00:59:41,880 --> 00:59:45,240
compression, which talks about 
the same thing, which I agree 

1081
00:59:45,240 --> 00:59:50,240
with even before reading it. 
And so I use LLMS for that 

1082
00:59:50,240 --> 00:59:53,280
purpose. 
Like review this code, catch any

1083
00:59:53,400 --> 00:59:56,400
any stupid things I made because
you know you called many hours. 

1084
00:59:56,400 --> 00:59:58,840
At some point fatigue sets in 
and you start making stupid 

1085
00:59:58,840 --> 01:00:02,240
mistakes. 
So for that role is fantastic. 

1086
01:00:02,480 --> 01:00:07,240
Like I replaced team of five 
people as one person. 

1087
01:00:09,240 --> 01:00:12,880
I found it like really useful to
like track down bugs too. 

1088
01:00:12,880 --> 01:00:15,680
Like if you give it a very 
detailed thing like, hey, can 

1089
01:00:15,680 --> 01:00:19,120
you go check out this specific 
feature, the flow it goes 

1090
01:00:19,120 --> 01:00:22,920
through and describe it to me. 
And I'll let it go and just 

1091
01:00:22,920 --> 01:00:26,000
investigate that area of code 
and then I'll start asking it 

1092
01:00:26,000 --> 01:00:29,520
questions about the bug. 
And like, honestly, I've tracked

1093
01:00:29,520 --> 01:00:33,360
down some crazy bugs and code 
bases with LLMS and that's 

1094
01:00:33,360 --> 01:00:34,080
pretty cool. 
Do you? 

1095
01:00:34,400 --> 01:00:37,360
Use. 
Do you just copy paste or do you

1096
01:00:37,360 --> 01:00:40,680
use cloud and let it run or open
whatever is called I'll? 

1097
01:00:40,720 --> 01:00:48,360
Use, yeah, I'll use Claude code.
So I usually make it like make a

1098
01:00:48,360 --> 01:00:51,880
plan and then I'll approve it 
and I'll just let it RIP, right.

1099
01:00:52,120 --> 01:00:57,280
But I, I keep an eye on my get 
difference and so I'm constantly

1100
01:00:57,280 --> 01:01:00,960
watching the code, right? 
And if I don't like what it's 

1101
01:01:00,960 --> 01:01:04,320
doing, I'll interrupt it or 
I'll, you know, I just do code 

1102
01:01:04,320 --> 01:01:07,840
review as it as it goes. 
Yeah, I use it. 

1103
01:01:09,320 --> 01:01:13,960
Yeah, still manually like I 
maybe my stage of my learning of

1104
01:01:13,960 --> 01:01:15,880
programming. 
I always enjoy programming. 

1105
01:01:15,880 --> 01:01:21,080
I like to build things by myself
and so I enjoy writing the code.

1106
01:01:21,080 --> 01:01:24,040
I just, I just get bored writing
things that I've written 10 

1107
01:01:24,040 --> 01:01:26,000
times before. 
So for that I will let, I will 

1108
01:01:26,000 --> 01:01:28,120
say, well, this is the context. 
This is what we're building. 

1109
01:01:28,760 --> 01:01:31,560
I have a briefing or in Grok, I 
will have a like a separate 

1110
01:01:31,560 --> 01:01:37,040
project and I'm, I'm building 
the sorry, just let me 

1111
01:01:37,280 --> 01:01:41,280
deactivate this. 
So I will give it. 

1112
01:01:41,400 --> 01:01:44,120
I have, I open a project in Grog
and I give it the context of 

1113
01:01:44,120 --> 01:01:45,760
what it is that we're building 
and so on. 

1114
01:01:45,760 --> 01:01:48,520
So it's like kind of an agents 
dot MD so that I don't have to 

1115
01:01:48,520 --> 01:01:51,200
repeat the actions like what are
the entities, how it is 

1116
01:01:51,200 --> 01:01:53,360
structured, what is the database
schema and so on. 

1117
01:01:53,800 --> 01:01:58,880
And then I, I start having 
discussions and for me, the top 

1118
01:01:58,880 --> 01:02:02,120
feature of of something like 
Grog, I don't know if Google has

1119
01:02:02,120 --> 01:02:04,440
it probably does, is the voice 
mode. 

1120
01:02:04,480 --> 01:02:07,920
What happens is I, I'm, I work 
across three locations. 

1121
01:02:07,920 --> 01:02:11,280
So twice a week I will go to 
another location, which is our 

1122
01:02:12,000 --> 01:02:14,400
old families business 
headquarters. 

1123
01:02:15,960 --> 01:02:18,400
I have my dog there. 
So I go to visit my dog and to, 

1124
01:02:18,680 --> 01:02:20,560
just to, to change the 
environment. 

1125
01:02:21,120 --> 01:02:24,400
And what I'll do is I'll stay 
super long and work and, and 

1126
01:02:24,400 --> 01:02:27,120
code and do anything else. 
And I believe maybe at one or 

1127
01:02:27,120 --> 01:02:30,040
two in the morning because then 
I also find no traffic to come 

1128
01:02:30,040 --> 01:02:32,880
back to the central of Arkansas,
which is notorious for being 

1129
01:02:32,880 --> 01:02:36,080
difficult to park at. 
And when as soon as I get into 

1130
01:02:36,080 --> 01:02:38,160
the car, I open the Grok voice 
mode. 

1131
01:02:38,320 --> 01:02:42,240
And so I have a backlog of ideas
and concepts and so on. 

1132
01:02:42,280 --> 01:02:48,480
And for 30 minutes I am 
discussing with with Grok how I 

1133
01:02:48,480 --> 01:02:50,680
could do this, what you think 
could we do this? 

1134
01:02:50,760 --> 01:02:56,280
And it sometimes has let me down
blind allays like it really it 

1135
01:02:56,280 --> 01:02:59,880
really messed it up once and I 
it over complexified things. 

1136
01:03:00,240 --> 01:03:06,240
But it's like making a after 
action view and sitting the next

1137
01:03:06,240 --> 01:03:08,320
day. 
I used a lot for this. 

1138
01:03:09,080 --> 01:03:11,720
It's an excellent thing. 
It's totally worth the 

1139
01:03:11,720 --> 01:03:13,360
subscription. 
I would even pay more. 

1140
01:03:13,360 --> 01:03:14,240
That's a cool. 
Approach. 

1141
01:03:14,240 --> 01:03:18,000
You're just rubber ducking when 
you can't sit at a keyboard. 

1142
01:03:18,000 --> 01:03:20,640
You're making your car drive 
useful. 

1143
01:03:21,200 --> 01:03:24,280
Like, I listen to a lot of audio
books when I'm driving. 

1144
01:03:24,520 --> 01:03:28,560
And I started carrying around 
like a little notebook so I 

1145
01:03:28,560 --> 01:03:31,560
could write, you know, like when
something comes up and I'm like,

1146
01:03:31,560 --> 01:03:33,440
oh, I got to check that out. 
I'll write it down. 

1147
01:03:33,920 --> 01:03:37,080
But I feel like just talking 
into your phone is so much 

1148
01:03:37,080 --> 01:03:40,840
easier. 
This is an under appreciated 

1149
01:03:41,120 --> 01:03:43,680
role. 
I know that people talk to LLMS 

1150
01:03:43,920 --> 01:03:46,120
as if they're therapists and so 
on, which I find horrendous. 

1151
01:03:46,120 --> 01:03:48,320
First of all, you're sharing 
deeply private information. 

1152
01:03:48,320 --> 01:03:50,240
I would never, but I have 
absolutely no I'm a locked box, 

1153
01:03:50,240 --> 01:03:52,440
no. 
One's going to know about me. 

1154
01:03:55,960 --> 01:04:00,400
The nowhere man. 
But it's underappreciated. 

1155
01:04:00,560 --> 01:04:05,440
I mean, for me when I, when I 
leave work, the the Angel is 

1156
01:04:05,440 --> 01:04:07,360
still firing on some of the 
cylinders. 

1157
01:04:07,480 --> 01:04:10,920
Like it takes me time to, to 
kind of calm down. 

1158
01:04:11,160 --> 01:04:14,120
So during my drive, I get it out
of my system. 

1159
01:04:14,120 --> 01:04:17,760
Like I, I see the discussion and
the when I return to it, like I 

1160
01:04:17,760 --> 01:04:21,160
have multiple, multiple 
discussions open about concepts,

1161
01:04:21,760 --> 01:04:25,080
about the refactoring to things 
like you about using casting, 

1162
01:04:25,080 --> 01:04:27,560
about anything that comes to 
mind is a drive. 

1163
01:04:27,560 --> 01:04:31,040
Basically it's 30 minutes worth 
of discussion back and forth and

1164
01:04:31,480 --> 01:04:35,000
so I have multiple I don't I 
don't write things down my 

1165
01:04:35,240 --> 01:04:37,520
backlog of ideas for the future 
part of this. 

1166
01:04:37,520 --> 01:04:40,000
For example, discussion about 
graph 2 Li have a discussion 

1167
01:04:40,000 --> 01:04:44,200
about this three weeks ago while
coming back from from that 

1168
01:04:44,200 --> 01:04:49,680
location 2530 minutes pros cons 
How could you do it? 

1169
01:04:49,680 --> 01:04:55,120
What are the downsides? 
And you already built a not, 

1170
01:04:55,480 --> 01:04:58,640
it's not solid, sometimes not 
even good enough, but you're not

1171
01:04:58,640 --> 01:05:00,800
starting at 0. 
You have already exposed 

1172
01:05:00,800 --> 01:05:03,080
yourself to what are people 
saying about it? 

1173
01:05:03,280 --> 01:05:06,440
What are the usual criticisms? 
This is an under appreciated 

1174
01:05:06,440 --> 01:05:07,760
role of what you can do with a 
lamps. 

1175
01:05:07,760 --> 01:05:09,640
You don't have to use them to 
give you code. 

1176
01:05:09,640 --> 01:05:12,720
I mean, the code is sometimes 
suspect, but you can certainly 

1177
01:05:12,760 --> 01:05:16,960
use it as a, as a, as a 
repository of ideas of concepts 

1178
01:05:16,960 --> 01:05:18,680
that you plan to explore at some
point. 

1179
01:05:19,600 --> 01:05:22,400
And so prepare yourself for the 
next part of, of development. 

1180
01:05:22,520 --> 01:05:25,080
I, I, I absolutely love it. 
I favorite. 

1181
01:05:25,600 --> 01:05:29,400
It has turned my boring drive, 
which I've done hundreds or 

1182
01:05:29,400 --> 01:05:32,160
thousands of times, into 
something I look forward to. 

1183
01:05:32,160 --> 01:05:34,640
I know I get in the car and I 
will bring them and discuss 

1184
01:05:34,640 --> 01:05:37,440
something and kind of relax 
discussing about potential 

1185
01:05:37,440 --> 01:05:42,720
ideas, changing things around. 
It's like a custom podcast 

1186
01:05:42,720 --> 01:05:44,680
curated to what you want to talk
about. 

1187
01:05:45,440 --> 01:05:46,440
It is that. 
It is that. 

1188
01:05:46,600 --> 01:05:50,160
Yeah. 
And you get, The thing is, I 

1189
01:05:50,160 --> 01:05:52,760
always find that LLMS are 
excellent for summarization. 

1190
01:05:52,760 --> 01:05:55,240
I think that's, that is the one 
thing that they do well is 

1191
01:05:55,240 --> 01:05:59,000
summarization. 
They, they and so on. 

1192
01:05:59,000 --> 01:06:01,720
But when you have given a lot of
context, when you want to get, 

1193
01:06:01,720 --> 01:06:05,480
when you want to get back into 
the game, when I want to do 

1194
01:06:05,480 --> 01:06:08,200
this, I just opened the old 
discussion and say, well, it's 

1195
01:06:08,200 --> 01:06:11,720
been a while since we discussed.
So just summarize the core ideas

1196
01:06:11,720 --> 01:06:15,640
of what we discussed and you get
a nice list of the idea was to 

1197
01:06:15,640 --> 01:06:18,920
change this to that. 
And we discussed risks and 

1198
01:06:18,920 --> 01:06:21,800
opportunities for this. 
And you start already at the 

1199
01:06:22,560 --> 01:06:27,000
it's like having a secretary 
that that documents conceptual 

1200
01:06:27,000 --> 01:06:31,360
ideas, anything. 
And for me, they have been a 

1201
01:06:31,360 --> 01:06:34,040
massive enabler. 
But coming back to the vibe 

1202
01:06:34,040 --> 01:06:37,360
coding, then what is I give? 
I decided to make it multi 

1203
01:06:37,360 --> 01:06:41,240
platform. 
So I have the, I have the LLM to

1204
01:06:41,240 --> 01:06:43,520
write it in, in Ras worked 
really well. 

1205
01:06:44,400 --> 01:06:47,920
GitHub Actions, lots of back and
forth, especially for the 

1206
01:06:47,920 --> 01:06:50,800
Windows builds and for the Mac 
builds and everything and it all

1207
01:06:50,800 --> 01:06:52,560
worked out well. 
Did you do? 

1208
01:06:52,680 --> 01:06:56,080
Native for everything or did you
use OK? 

1209
01:06:57,160 --> 01:06:59,880
Yeah, it compiles natively 
everywhere and it works. 

1210
01:07:00,040 --> 01:07:02,200
And it's useless because you 
kind of get the same information

1211
01:07:02,200 --> 01:07:05,360
on the BMVM. 
But it was a nice opportunity. 

1212
01:07:05,600 --> 01:07:09,240
But it left me with a sour tail 
because what it what it brought 

1213
01:07:09,240 --> 01:07:13,680
me to is the situation that I 
lived back in 2008 and 9 when I 

1214
01:07:13,680 --> 01:07:16,440
was a development engineer for 
turbines and turbocharger 

1215
01:07:16,440 --> 01:07:19,840
components where I felt like I'm
an input output machine. 

1216
01:07:19,840 --> 01:07:24,040
I'm just shoveling data, 
correcting, trying again, trying

1217
01:07:24,040 --> 01:07:26,280
again. 
And I, I don't enjoy this at 

1218
01:07:26,280 --> 01:07:27,920
all. 
I'd rather sit down, understand 

1219
01:07:27,920 --> 01:07:30,760
it well, write it by myself, ask
for advice or review where I 

1220
01:07:30,760 --> 01:07:34,680
need it, and come out smarter 
about what I did instead of 

1221
01:07:34,760 --> 01:07:37,720
offloading the task entirely to 
an LLM. 

1222
01:07:37,800 --> 01:07:39,200
Because then I don't gain 
anything. 

1223
01:07:39,200 --> 01:07:42,720
Yeah, I got the fruit of the 
labor of the LLM, which might or

1224
01:07:42,720 --> 01:07:46,480
might not be correct, but I come
out emptier, like it's also time

1225
01:07:46,480 --> 01:07:48,520
for me. 
It's absolutely boring. 

1226
01:07:49,720 --> 01:07:55,240
Yeah, I like that so. 
I'm not a huge fan in Full Auto 

1227
01:07:55,240 --> 01:07:58,560
mode. 
Yeah, yeah, I might have to take

1228
01:07:58,560 --> 01:08:03,920
up that and start talking to an 
LLM cuz when I first started 

1229
01:08:03,920 --> 01:08:08,360
architecting kill switch, I was 
like, all right, how can I 

1230
01:08:08,360 --> 01:08:10,720
approach the zero knowledge 
encryption? 

1231
01:08:10,720 --> 01:08:13,040
I didn't know that much about 
it, so I had to do a ton of 

1232
01:08:13,040 --> 01:08:17,319
research and like Claude 
actually helped me like quite a 

1233
01:08:17,319 --> 01:08:21,040
bit with how I should handle the
client side encryption and what 

1234
01:08:21,040 --> 01:08:23,359
I can do. 
And it helped a lot. 

1235
01:08:23,359 --> 01:08:27,600
And it helped me put in place a 
lot of the, the workflows of 

1236
01:08:27,600 --> 01:08:29,720
actually implementing things 
properly. 

1237
01:08:30,120 --> 01:08:34,000
But I also didn't just like let 
it RIP and write that code for 

1238
01:08:34,000 --> 01:08:37,279
me either because it's like 
super important to make sure. 

1239
01:08:37,279 --> 01:08:41,600
That what is really nice is also
to transpose concepts. 

1240
01:08:42,080 --> 01:08:48,760
I use this a lot, for example, 
now rewrite, I explain to it how

1241
01:08:48,800 --> 01:08:52,439
the app is working with the 
front and the PHP front, the PHP

1242
01:08:52,439 --> 01:08:55,880
back in the next GS front end. 
And then I say look, we're going

1243
01:08:55,880 --> 01:08:58,240
to rework this. 
I'm reworking this in Phoenix 

1244
01:08:58,319 --> 01:09:03,080
and Phoenix live view. 
So how do the ideas of that map 

1245
01:09:03,080 --> 01:09:05,880
to the other? 
Is my understanding correct? 

1246
01:09:05,880 --> 01:09:07,840
How? 
What is the closest pallet that 

1247
01:09:07,840 --> 01:09:11,359
we can find, for example, to 
componentize to write the 

1248
01:09:11,359 --> 01:09:14,560
queries to cache? 
So things that I might already 

1249
01:09:14,560 --> 01:09:17,720
know to a large extent, but it 
helps to have them qualified and

1250
01:09:17,720 --> 01:09:22,040
just record them and document 
them like a list of things that 

1251
01:09:22,040 --> 01:09:23,760
yes indeed, your understanding 
is correct. 

1252
01:09:23,880 --> 01:09:25,479
OK good. 
I take this as an input. 

1253
01:09:25,720 --> 01:09:27,960
Might be hallucinator. 
Actually, it's not the nowadays 

1254
01:09:27,960 --> 01:09:29,760
I think for very specific 
things. 

1255
01:09:30,319 --> 01:09:32,319
Rarely do I ever get 
hallucinations. 

1256
01:09:32,319 --> 01:09:35,640
I mean, most of the things that 
I get from an LM from Group 4 is

1257
01:09:35,720 --> 01:09:38,080
pretty solid. 
Yeah, that's awesome. 

1258
01:09:38,120 --> 01:09:40,319
I don't. 
I haven't used Grok that much, 

1259
01:09:40,319 --> 01:09:46,479
but I'll have to check it out. 
It was better than GPT 4 or GPT 

1260
01:09:46,479 --> 01:09:48,680
4. 
It's worse than Gemini. 

1261
01:09:49,600 --> 01:09:53,880
OK, my. 
Yeah. 

1262
01:09:54,000 --> 01:09:56,360
Are you constantly jumping in 
between them all, or do you just

1263
01:09:56,360 --> 01:10:01,920
kind of lean towards a favorite?
I have a subscription to grow 

1264
01:10:02,160 --> 01:10:06,600
and I use this mostly and I 
think also there's a locking 

1265
01:10:06,600 --> 01:10:08,400
effect because I have all my 
discussions there. 

1266
01:10:08,400 --> 01:10:09,960
So it's unlikely that I will 
switch. 

1267
01:10:10,440 --> 01:10:15,200
But there are many, many cases 
where a problem seems to be 

1268
01:10:15,200 --> 01:10:17,120
intractable for Grok. 
It will just get stuck 

1269
01:10:17,120 --> 01:10:19,000
somewhere. 
And then I take this and put it 

1270
01:10:19,000 --> 01:10:22,560
into Gemini and say, hey, grok 
cannot figure this out. 

1271
01:10:23,120 --> 01:10:27,920
Maybe I don't know if the 
antagonism helps the the LLM 

1272
01:10:27,920 --> 01:10:31,520
work better, but I say you need 
to fix this because we are in a 

1273
01:10:31,520 --> 01:10:33,120
tight scale. 
You know, you kind of course it 

1274
01:10:33,120 --> 01:10:37,040
a bit say pinpoint the issue and
recommend the solution. 

1275
01:10:37,040 --> 01:10:39,600
Here's the code and it usually 
finds it. 

1276
01:10:40,560 --> 01:10:43,040
I I find that you cannot rely on
just one of them. 

1277
01:10:46,200 --> 01:10:50,400
Yeah, I sorry, I'm trying to see
if Claude has a chat feature 

1278
01:10:50,400 --> 01:10:53,600
because I feel like it doesn't, 
but I'm not sure. 

1279
01:10:55,520 --> 01:10:59,120
Maybe people watching now like 
I'm so curious, like I love 

1280
01:10:59,120 --> 01:11:02,200
this, this use case for it, and 
apparently I don't know. 

1281
01:11:02,240 --> 01:11:05,520
It's not a use case. 
It's not a use case that I use a

1282
01:11:05,520 --> 01:11:09,360
lot. 
Obviously knowing the coverage 

1283
01:11:09,400 --> 01:11:11,720
of of asking, of prompting sound
like this. 

1284
01:11:11,840 --> 01:11:16,720
I have a prompt which I I, I 
tell the LLM you are a composite

1285
01:11:16,720 --> 01:11:22,760
character of George Valim, Chris
McCord, Sasa Jurich, Dave Thomas

1286
01:11:22,920 --> 01:11:27,440
and Martin Fowler. 
Your goal, I can talk. 

1287
01:11:27,520 --> 01:11:29,600
To it. 
By the way, it has a voice mode 

1288
01:11:29,720 --> 01:11:30,680
I just discussed. 
What? 

1289
01:11:30,840 --> 01:11:34,080
Yeah, you changed my you. 
Changed my life, Isaac. 

1290
01:11:35,800 --> 01:11:37,920
So maybe I'll change your life 
with another one, which is a 

1291
01:11:38,040 --> 01:11:40,560
favorite one for for learning. 
I don't know if you've heard me.

1292
01:11:40,560 --> 01:11:44,320
So I, I tell it, I have a prompt
where I say it's a copy paste. 

1293
01:11:45,680 --> 01:11:51,240
You are to act as a composite 
character of Joseph Valim, Chris

1294
01:11:51,240 --> 01:11:54,320
McCord, Martin Fowler, Dave 
Thomas Sassajurich. 

1295
01:11:55,120 --> 01:11:58,160
And your goal is to review, 
review what I give you through 

1296
01:11:58,600 --> 01:12:01,480
the lens of someone who's a 
composite character of all those

1297
01:12:01,480 --> 01:12:05,960
people, and help me learn and 
understand better and review my 

1298
01:12:05,960 --> 01:12:09,120
code and my concepts. 
I like that. 

1299
01:12:09,240 --> 01:12:12,120
That's cool, and does it work 
pretty well? 

1300
01:12:12,960 --> 01:12:14,400
Yeah, it works fantastically 
well. 

1301
01:12:14,800 --> 01:12:18,160
Works fantastically well. 
There were also, for example, I 

1302
01:12:18,200 --> 01:12:22,840
upload architectural decisions 
for the REST API client in the 

1303
01:12:22,840 --> 01:12:26,000
book. 
After I over complexified it, 

1304
01:12:26,320 --> 01:12:30,320
complexified it and I realized, 
well, how would other people do 

1305
01:12:30,320 --> 01:12:31,760
it? 
If I were an expert, how would I

1306
01:12:31,760 --> 01:12:34,200
do it? 
And this helped me get unstuck a

1307
01:12:34,200 --> 01:12:36,320
lot because we get a solid 
review. 

1308
01:12:36,360 --> 01:12:38,720
Now do I know whether this is 
what the people would actually 

1309
01:12:38,720 --> 01:12:39,800
say? 
No, nobody knows. 

1310
01:12:39,800 --> 01:12:42,880
But at least it it pretends, I 
guess to it. 

1311
01:12:43,000 --> 01:12:46,080
It guides the discussion down a 
path, for example, tell you so 

1312
01:12:46,080 --> 01:12:49,800
also jurors will appreciate your
approach towards this because 

1313
01:12:49,800 --> 01:12:55,280
it's distributed then it's good 
it's good enough to to learn 

1314
01:12:55,280 --> 01:12:58,320
things you can never qualify 
whether this what people say. 

1315
01:12:58,320 --> 01:13:02,000
Obviously I'm not pretending 
that it's it's like opposite, 

1316
01:13:02,000 --> 01:13:04,520
but it has been pretty 
insightful. 

1317
01:13:04,520 --> 01:13:06,160
Don't. 
Ever use my name in a prompt? 

1318
01:13:06,160 --> 01:13:07,720
You'll get all the wrong 
answers. 

1319
01:13:12,840 --> 01:13:17,360
Well, now I have to try that. 
It'd be really funny actually. 

1320
01:13:17,920 --> 01:13:21,760
I wonder if any LLM who Elixir 
mentor is? 

1321
01:13:23,720 --> 01:13:26,120
Probably know because it's great
now, so they know they know. 

1322
01:13:27,160 --> 01:13:30,640
That's crazy I'm going to just 
start making fake content just 

1323
01:13:30,760 --> 01:13:33,920
AI generated. 
Alex, your mentor videos. 

1324
01:13:35,000 --> 01:13:37,920
Fantastic bring bring in the 
dark forest, the one called the 

1325
01:13:37,920 --> 01:13:40,120
dark Internet theory faster to 
fruition. 

1326
01:13:40,320 --> 01:13:44,320
Exactly, but you know, coming 
like lens, I think it's a it's a

1327
01:13:44,320 --> 01:13:46,680
boom in the end, for me 
personally, it's a it's a 

1328
01:13:46,680 --> 01:13:48,960
fantastic tool. 
Are there risks? 

1329
01:13:48,960 --> 01:13:50,920
Yes, there are. 
Are there problems? 

1330
01:13:50,920 --> 01:13:52,680
Yes. 
Is it AGI? 

1331
01:13:52,680 --> 01:13:55,880
No. 
Do I like file coding also 

1332
01:13:55,880 --> 01:13:56,600
heavily? 
No. 

1333
01:13:56,600 --> 01:13:59,680
But if you know how to use it, 
it's a tool, and a tool is only 

1334
01:13:59,680 --> 01:14:01,600
as good as how well you yield, 
you wield it. 

1335
01:14:01,600 --> 01:14:04,720
So for me, it doesn't look in a 
way. 

1336
01:14:04,720 --> 01:14:07,880
So I cannot say anything overly 
critical about this. 

1337
01:14:07,920 --> 01:14:10,640
Yes, OK, energy consumption, 
blah, blah, blah, blah. 

1338
01:14:10,640 --> 01:14:12,560
Yeah. 
I will. 

1339
01:14:12,560 --> 01:14:17,600
I think like the whole, I don't 
know, I feel like something is 

1340
01:14:17,600 --> 01:14:21,440
going to implode like every it's
just so expensive to run these 

1341
01:14:21,440 --> 01:14:25,040
huge models. 
So I don't, I don't know, I have

1342
01:14:25,040 --> 01:14:29,000
a hard time wrapping my head 
around a future of like these 

1343
01:14:29,000 --> 01:14:33,880
giant models out there doing 
everything when you got like 

1344
01:14:36,160 --> 01:14:40,400
ChatGPT out there saying that 
like begging for money, begging 

1345
01:14:40,400 --> 01:14:44,120
for government bailout money. 
And like, so where does this 

1346
01:14:44,120 --> 01:14:46,600
lead us? 
Like you guys aren't profitable.

1347
01:14:46,960 --> 01:14:50,520
So either all of a sudden we're 
going to start having to pay 

1348
01:14:50,520 --> 01:14:56,120
thousands of dollars a month to 
use this stuff, or we got to 

1349
01:14:56,120 --> 01:14:57,800
figure out a more efficient way 
to use it. 

1350
01:14:59,000 --> 01:15:03,560
Do you play at all with self 
hosted LLMS? 

1351
01:15:04,600 --> 01:15:07,840
But I feel like that's going to 
be that's going to be the right 

1352
01:15:07,840 --> 01:15:10,720
route to go. 
Right is an affordable way to 

1353
01:15:10,720 --> 01:15:14,920
self host your own LLMS. 
That's what we do with with 

1354
01:15:14,920 --> 01:15:19,760
Greek dot GR because it's also 
part of a vital position. 

1355
01:15:19,760 --> 01:15:21,760
Like it goes down really well on
a pitch. 

1356
01:15:21,840 --> 01:15:25,200
When I talk to potential 
customers, I tell them we have 

1357
01:15:26,480 --> 01:15:28,160
AI. 
I tell them we have AI features 

1358
01:15:28,160 --> 01:15:30,480
that we have implemented, just 
not yet released to production. 

1359
01:15:30,840 --> 01:15:33,240
I've shown them the I've shown 
people the AI features. 

1360
01:15:33,240 --> 01:15:38,400
When I, I had a booth at an Expo
in June, they were amazed that 

1361
01:15:38,400 --> 01:15:41,320
you can upload the power bill 
and it says, well, it's a power 

1362
01:15:41,320 --> 01:15:44,280
bill. 
It's a bill in general, a 

1363
01:15:44,280 --> 01:15:46,400
utility bill. 
What kind of utility bill is it?

1364
01:15:46,880 --> 01:15:50,280
It's an electricity bill stamped
like auto auto categorization. 

1365
01:15:50,880 --> 01:15:52,680
Is it difficult? 
Well, yes and no. 

1366
01:15:52,680 --> 01:15:55,480
You have to extract the text 
from APDF or from the Doc X or 

1367
01:15:55,800 --> 01:15:57,960
whatever. 
Technically it's not difficult 

1368
01:15:58,160 --> 01:16:01,800
to find the right prompt. 
Pretty tricky to structure the 

1369
01:16:01,800 --> 01:16:05,520
taxonomy of the documents to to 
guide the LLM to make sure they 

1370
01:16:05,520 --> 01:16:08,160
don't have ambiguity. 
But that's part of the of the 

1371
01:16:08,160 --> 01:16:11,480
problem. 
But to to us who are 

1372
01:16:11,480 --> 01:16:14,520
technologists, it doesn't seem 
like something amazing. 

1373
01:16:14,520 --> 01:16:17,880
To a layperson, it looks 
incredible, but you just dump 30

1374
01:16:17,880 --> 01:16:22,440
files to the to the web app, 
step back, look it, look at the 

1375
01:16:22,440 --> 01:16:25,520
spinner and it gives you 
recommendation for the for the 

1376
01:16:26,280 --> 01:16:29,480
for the categories. 
Plus it derives a very nice 

1377
01:16:29,640 --> 01:16:32,280
short explanation which 
includes, for example, kilowatt 

1378
01:16:32,280 --> 01:16:35,680
hours consumption for the month 
of this beneficiary that and 

1379
01:16:35,680 --> 01:16:39,400
that. 
And that's why I think the 

1380
01:16:39,400 --> 01:16:42,720
reason why I haven't pushed AI 
hard for the product is nobody 

1381
01:16:42,720 --> 01:16:44,080
cares. 
Nobody cares. 

1382
01:16:44,080 --> 01:16:45,520
You need to focus on the 
benefit. 

1383
01:16:45,760 --> 01:16:49,360
And when you see the understand 
the benefit, they don't care if 

1384
01:16:49,360 --> 01:16:51,720
it's AI, but it's to look to 
them, it's magical. 

1385
01:16:52,000 --> 01:16:54,320
It means I don't have to anymore
choose from the drop downs. 

1386
01:16:54,680 --> 01:16:58,000
But to do this and part of the 
pitch is look, this is our own 

1387
01:16:58,000 --> 01:17:01,360
infrastructure, it's self 
hosted, it's our own infra on 

1388
01:17:01,440 --> 01:17:03,600
GPU's on everything, which is 
absolutely true. 

1389
01:17:04,320 --> 01:17:11,520
And it uses a Greek, a Llama 3.1
I think model which has been 

1390
01:17:11,520 --> 01:17:15,240
specialized into Greek by the 
University of Iraq, Leone. 

1391
01:17:16,000 --> 01:17:20,440
And it is amazingly proficient, 
like it detects text, 

1392
01:17:20,440 --> 01:17:22,400
everything, and it's self 
hosted. 

1393
01:17:22,520 --> 01:17:26,440
Which also means it covers one 
of my biggest worries in life 

1394
01:17:26,440 --> 01:17:32,000
now that in the software world, 
getting built external, getting 

1395
01:17:32,000 --> 01:17:36,960
built, API keys leaking, too 
many tokens being consumed, I 

1396
01:17:36,960 --> 01:17:41,080
don't want to. 
I don't remember who it was 

1397
01:17:41,080 --> 01:17:43,840
someone I follow on X, they were
just, they just threw out a 

1398
01:17:43,840 --> 01:17:48,120
question about how people handle
token regeneration and stuff 

1399
01:17:48,120 --> 01:17:51,880
when you're like, 'cause if you 
have environment files sitting 

1400
01:17:51,880 --> 01:17:54,240
on your local machine for 
testing or whatever you're 

1401
01:17:54,240 --> 01:17:58,600
doing. 
I know like Claude code pretends

1402
01:17:58,600 --> 01:18:02,080
that they don't like read those 
files and they kind of like shy 

1403
01:18:02,080 --> 01:18:05,720
away from it, but they have full
access to that stuff and so. 

1404
01:18:06,240 --> 01:18:08,440
I think. 
I think it's a very important 

1405
01:18:08,440 --> 01:18:11,720
conversation, like how do you 
handle token regeneration and 

1406
01:18:11,720 --> 01:18:16,560
access and API key leaks? 
Because you want to make sure. 

1407
01:18:18,320 --> 01:18:21,400
Who knows? 
Can someone ask Claude code for 

1408
01:18:21,400 --> 01:18:24,160
my API keys? 
I don't know. 

1409
01:18:26,040 --> 01:18:28,280
That's my worry. 
That's part of the pitch is that

1410
01:18:28,440 --> 01:18:32,480
look, your data never goes to a 
server of Open AI, Microsoft or 

1411
01:18:32,480 --> 01:18:34,760
whatever. 
We have our own infra. 

1412
01:18:35,040 --> 01:18:38,320
The model is inside your data 
never leaves our infrastructure,

1413
01:18:38,320 --> 01:18:41,200
which is hosted on the solution 
GDPR compliant everything, 

1414
01:18:41,200 --> 01:18:42,920
secure everything. 
I mean, we don't have we don't 

1415
01:18:42,920 --> 01:18:45,040
do something weird. 
So security hold. 

1416
01:18:45,040 --> 01:18:46,680
I mean, you need to be very 
exotic. 

1417
01:18:46,720 --> 01:18:49,640
Also, we follow some good 
practices all last and so on. 

1418
01:18:50,480 --> 01:18:53,720
So it goes on really well 
because you show that you care, 

1419
01:18:53,880 --> 01:18:55,600
right? 
You are effectively telling them

1420
01:18:55,840 --> 01:18:59,440
that you're not telling them. 
But for sure, if you give a self

1421
01:18:59,440 --> 01:19:02,680
hosted 8 billion parameter 
model, which is this Cree model 

1422
01:19:02,680 --> 01:19:06,280
that we use called Creek Creeses
go Mountain Goat of Crete. 

1423
01:19:06,320 --> 01:19:09,600
That's how they named it. 
You give it a Greek document, 

1424
01:19:10,520 --> 01:19:13,840
it's fantastic. 
Would I get better results if I 

1425
01:19:13,840 --> 01:19:18,040
were to ask for structured Jason
output from Grog or Open AI? 

1426
01:19:18,080 --> 01:19:19,560
Probably. 
Would it cost me more? 

1427
01:19:19,560 --> 01:19:20,840
Yes. 
At which cost? 

1428
01:19:20,840 --> 01:19:23,560
Potentially a high cost also in 
terms of privacy because my 

1429
01:19:23,560 --> 01:19:26,960
biggest worry is that the data I
give to the to the public LLM 

1430
01:19:26,960 --> 01:19:30,560
providers end up in the training
set and at the end you might be.

1431
01:19:31,120 --> 01:19:33,960
Absolutely. 
Does Yeah, I mean, imagine 

1432
01:19:33,960 --> 01:19:38,800
somebody being able to ask down 
the road a Tell me about Mr. 

1433
01:19:38,800 --> 01:19:41,600
John Papadopoulos. 
Joe Papadopoulos owns 3 

1434
01:19:41,600 --> 01:19:43,920
apartments in Athens and they 
have those capsule. 

1435
01:19:43,920 --> 01:19:45,760
Wow, that is you can never pull 
it back. 

1436
01:19:46,120 --> 01:19:48,960
So once it's. 
Held so he's also he's also 

1437
01:19:48,960 --> 01:19:53,520
depressed because he talks to 
our AI about his his therapy 

1438
01:19:53,560 --> 01:19:57,160
sessions you know like. 
That's why I never use them. 

1439
01:19:57,160 --> 01:20:00,440
I'm super skeptical and very 
cynical about big tech. 

1440
01:20:01,360 --> 01:20:03,720
And I don't think you need to 
try to be hard to be cynical, 

1441
01:20:03,720 --> 01:20:06,080
especially after all the Snowden
revelations and all that. 

1442
01:20:06,080 --> 01:20:08,880
I mean, it's you have to be 
stupid to not be cynical and, 

1443
01:20:08,880 --> 01:20:10,760
and, and cautious. 
So I. 

1444
01:20:11,440 --> 01:20:13,720
Agree. 
Back to the other part of the 

1445
01:20:13,720 --> 01:20:15,040
discussion about engineering, 
right? 

1446
01:20:15,040 --> 01:20:20,560
So yes, obviously using 
state-of-the-art Gemini 3 Pro 

1447
01:20:20,560 --> 01:20:22,880
will give you better results, 
more predictable. 

1448
01:20:23,600 --> 01:20:25,480
What do you really need that if 
you can? 

1449
01:20:26,120 --> 01:20:30,440
I run a self hosted 8 billion 
parameter model on an NVIDIA RTX

1450
01:20:30,440 --> 01:20:34,880
4070 Super with 12 gigabytes. 
I have plenty of headroom for 

1451
01:20:34,880 --> 01:20:38,000
lots of context. 
Do I need to go outside? 

1452
01:20:38,480 --> 01:20:41,440
What does it cost me? 
It's like a one off expense, 

1453
01:20:41,440 --> 01:20:44,240
business expense. 
Never worry about tokens or 

1454
01:20:44,240 --> 01:20:46,920
billing ever again. 
Yeah, it takes a bit longer. 

1455
01:20:46,920 --> 01:20:48,800
Fine, people don't care, don't 
care. 

1456
01:20:48,800 --> 01:20:52,440
I don't care for the for the 
like this even there's even 

1457
01:20:52,440 --> 01:20:54,280
something magical. 
You know people say that about 

1458
01:20:54,280 --> 01:20:56,000
UX interactions, UI 
interactions. 

1459
01:20:56,440 --> 01:20:58,960
There's even something magical 
about seeing the little spinner 

1460
01:20:58,960 --> 01:21:04,280
because I use server streamed 
events with Phoenix. 

1461
01:21:04,280 --> 01:21:10,040
So this certainly portable to to
the Phoenix back end bill 

1462
01:21:11,560 --> 01:21:16,360
electricity spin yeah 
description people go wow, 

1463
01:21:16,360 --> 01:21:17,800
that's amazing. 
So you have. 

1464
01:21:18,040 --> 01:21:21,880
And you don't have variable 
costs on your end at this point 

1465
01:21:21,920 --> 01:21:24,960
either, not. 
My goal as a start up start-ups 

1466
01:21:24,960 --> 01:21:28,880
last scale up. 
That's my goal to avoid somebody

1467
01:21:28,880 --> 01:21:34,040
else's opportunity now to pitch 
AI Tralala, as I call it in hype

1468
01:21:34,440 --> 01:21:37,680
so that I incur the cost because
wrong because I expose 

1469
01:21:37,680 --> 01:21:40,400
credential or I was overcharged.
And that's also part of the 

1470
01:21:40,400 --> 01:21:44,480
motivation behind the behind not
using AWS and write and using 

1471
01:21:44,480 --> 01:21:48,880
file browser, which I you know, 
the API of the book is that I 

1472
01:21:48,880 --> 01:21:52,240
don't want to have to self host 
menial, which is they just made 

1473
01:21:52,240 --> 01:21:54,440
the rack pool or to go to 
Amazon. 

1474
01:21:54,440 --> 01:21:57,280
I don't want to ever go to 
Amazon for anything. 

1475
01:21:59,200 --> 01:22:02,640
Why don't I just spin up a file 
browser server, which is trivial

1476
01:22:03,240 --> 01:22:05,480
self hosted here. 
I don't need distribution. 

1477
01:22:06,120 --> 01:22:08,920
I could however still distribute
files with same thing because 

1478
01:22:08,920 --> 01:22:13,120
between the nodes I just won't 
have the data, which is somehow 

1479
01:22:13,680 --> 01:22:16,320
might be a nice feature addition
to file browser. 

1480
01:22:17,040 --> 01:22:20,240
File browser is unmaintained in 
terms of being in maintenance. 

1481
01:22:20,240 --> 01:22:21,720
So I mean it's in maintenance 
mode. 

1482
01:22:21,720 --> 01:22:24,560
So there's still little patches 
coming up, but it has been 

1483
01:22:24,560 --> 01:22:29,880
superseded by something called 
file Quantum, which now adds all

1484
01:22:29,880 --> 01:22:31,680
of and all that which I don't 
care for. 

1485
01:22:31,840 --> 01:22:33,400
I don't care. 
I want things simple. 

1486
01:22:33,920 --> 01:22:36,640
It is rock. 
So I mean, for sure, everyone 

1487
01:22:36,640 --> 01:22:38,920
who's listening to this really 
do check out file browser. 

1488
01:22:38,920 --> 01:22:41,520
It's one of the fun, most 
fantastic open source projects 

1489
01:22:41,520 --> 01:22:45,120
out there. 
And I have my file storage, I 

1490
01:22:45,120 --> 01:22:46,600
can access the files through a 
web UI. 

1491
01:22:46,600 --> 01:22:53,520
I can just SSH into the the the 
instance VPS or in that in my 

1492
01:22:53,520 --> 01:22:59,440
case, I self hosted on my own 
server and I can grab the files 

1493
01:22:59,440 --> 01:23:02,000
I need. 
They're not Hass blogs, they're 

1494
01:23:02,000 --> 01:23:07,440
not unstructured data on the 
drive somehow keep things 

1495
01:23:07,440 --> 01:23:09,000
simple. 
You don't need to you don't need

1496
01:23:09,000 --> 01:23:13,080
to go to the standard solution 
because of for some for some 

1497
01:23:13,080 --> 01:23:15,440
time I was also thinking about 
garage. 

1498
01:23:15,440 --> 01:23:16,640
I don't know if you know garage,
No, I mean. 

1499
01:23:17,320 --> 01:23:23,520
Not a good. 
Projectyeahgarage.garage-hq.org 

1500
01:23:24,720 --> 01:23:26,240
It's it's a nice three bucket 
out there. 

1501
01:23:26,400 --> 01:23:30,400
It also has a key value store. 
Really good project. 

1502
01:23:30,440 --> 01:23:33,320
Really, really cool project. 
Geo replication. 

1503
01:23:33,320 --> 01:23:36,200
Fantastic. 
But why? 

1504
01:23:36,240 --> 01:23:38,480
I don't need it. 
I don't need all that stuff. 

1505
01:23:38,480 --> 01:23:41,160
I don't need to use. 
I don't need to have to use an 

1506
01:23:41,160 --> 01:23:46,920
S3 client. 
So XAWS S3 to just store a file.

1507
01:23:46,920 --> 01:23:48,800
I just want to post a file and 
goodbye. 

1508
01:23:49,400 --> 01:23:51,920
Nice. 
I think people underestimate the

1509
01:23:51,920 --> 01:23:53,520
push for simplicity. 
Yeah. 

1510
01:23:53,560 --> 01:23:59,440
Yeah, well, like I, I use, I'm 
using like a Digital Ocean S3 

1511
01:23:59,760 --> 01:24:03,560
box right now for file storage. 
And I feel like I need to go 

1512
01:24:03,680 --> 01:24:07,600
this route and host my own and 
then I have more control of 

1513
01:24:07,600 --> 01:24:10,520
everything. 
Yeah. 

1514
01:24:10,520 --> 01:24:12,120
And in that case, I would 
recommend Garage. 

1515
01:24:12,440 --> 01:24:13,600
It works really well. 
That's awesome. 

1516
01:24:13,600 --> 01:24:14,880
I have Garage running. 
I have. 

1517
01:24:15,600 --> 01:24:18,760
So I have servers, I have 
Overwriting Labs as my business,

1518
01:24:18,760 --> 01:24:20,600
right. 
So I provide fractional 

1519
01:24:20,600 --> 01:24:22,080
management software development 
services. 

1520
01:24:22,080 --> 01:24:26,200
So I have locations around 
Greece plus a server at Ketzner 

1521
01:24:26,560 --> 01:24:29,760
in Helsinki, plus a server 
Digital ocean Frankfurt just to 

1522
01:24:29,760 --> 01:24:32,240
have a static IP. 
And then I use it Brazil, which 

1523
01:24:32,240 --> 01:24:35,760
is an IPV 6 mesh to network 
everything together running over

1524
01:24:35,760 --> 01:24:38,280
wire guard. 
So it's all non public. 

1525
01:24:38,360 --> 01:24:42,320
I never peer with public so the 
traffic is internal. 

1526
01:24:42,320 --> 01:24:44,080
It's like having my own end grog
essentially. 

1527
01:24:44,560 --> 01:24:48,840
And I deploy things on Proxmox 
and I have them across locations

1528
01:24:48,960 --> 01:24:50,680
and I have Proxmox backup 
servers. 

1529
01:24:50,680 --> 01:24:54,440
So I store off site backups and 
it's super solid. 

1530
01:24:54,640 --> 01:24:56,520
And garage runs on different 
nodes. 

1531
01:24:57,320 --> 01:25:00,360
And because there are different 
locations, it's pretty, I mean, 

1532
01:25:00,360 --> 01:25:03,320
if all three locations or four 
or five locations that are 

1533
01:25:03,320 --> 01:25:06,480
running garage all lose 
connectivity and power, then 

1534
01:25:06,480 --> 01:25:09,760
we're probably worried about 
something bigger like war with 

1535
01:25:09,760 --> 01:25:14,760
Turkey or something. 
So it's improbable which gives 

1536
01:25:14,760 --> 01:25:20,840
me an S3 bucket on which I have 
no variable cause I can do 

1537
01:25:20,840 --> 01:25:23,360
whatever I want whenever I want 
from wherever I want. 

1538
01:25:23,600 --> 01:25:26,080
So this freedom with self 
hosting is incredible. 

1539
01:25:26,680 --> 01:25:30,920
Self hosting is one of the 
nicest hobbies and skill sets 

1540
01:25:30,920 --> 01:25:34,320
you can pick up. 
I agree. 

1541
01:25:35,920 --> 01:25:40,600
Yeah, I like at some point I'd 
like to just host my own boxes 

1542
01:25:40,960 --> 01:25:44,160
in my own house, but I haven't 
gotten there yet. 

1543
01:25:44,480 --> 01:25:47,960
But I'm always inspired 
especially by like the every all

1544
01:25:47,960 --> 01:25:52,120
the blog posts DHH writes about 
with their their hosting 

1545
01:25:52,120 --> 01:25:54,560
solutions. 
It just motivates me to go down 

1546
01:25:54,560 --> 01:25:58,240
that road so much. 
DHH has a scale that is 

1547
01:25:58,680 --> 01:26:03,960
incomparable, but even starting 
with hosting I would never go 

1548
01:26:03,960 --> 01:26:06,320
with one location because I got 
burned by this. 

1549
01:26:06,440 --> 01:26:08,800
I was hosting the so we sell 
host. 

1550
01:26:08,800 --> 01:26:11,960
For brick, we need maps. 
For Greece we use Google Maps. 

1551
01:26:12,040 --> 01:26:16,280
Google Maps in Greece is good 
enough but it is not perfect in 

1552
01:26:16,280 --> 01:26:19,040
some locations. 
So I self host the nominating 

1553
01:26:19,040 --> 01:26:24,920
API of Open St. maps and the and
the tile server only for Greece 

1554
01:26:26,000 --> 01:26:29,080
across 3 or 4 locations. 
And I have a caddy server on 

1555
01:26:29,080 --> 01:26:33,440
AVPS that does round Robin with 
round Rd. weighted round Robin 

1556
01:26:33,440 --> 01:26:36,320
across the locations. 
It has never gone down if I want

1557
01:26:36,320 --> 01:26:38,560
to reverse your locate or search
in Greece. 

1558
01:26:39,000 --> 01:26:41,400
Always solid. 
If I want to deploy something 

1559
01:26:41,400 --> 01:26:44,400
for Cyprus, which is a new use 
case because we have customers 

1560
01:26:44,400 --> 01:26:47,200
now from Cyprus who are 
interested, I just copy paste 

1561
01:26:47,200 --> 01:26:54,040
the same recipe of those VMS or 
containers specifically with the

1562
01:26:54,040 --> 01:26:56,160
data for Cyprus. 
I create a sub domain and I'm 

1563
01:26:56,160 --> 01:27:00,200
golden. 
And this is immensely frugal if 

1564
01:27:00,200 --> 01:27:03,560
you think about it, because I 
could entirely get rid of Google

1565
01:27:03,560 --> 01:27:07,040
Maps, which is not even as good 
as open Street Map for those 

1566
01:27:07,080 --> 01:27:09,160
geographies. 
It's surprising, but it has 

1567
01:27:09,160 --> 01:27:10,160
better data. 
Yeah, it is. 

1568
01:27:10,160 --> 01:27:12,680
That's wild. 
It's wild, It's wild. 

1569
01:27:12,680 --> 01:27:19,440
So imagine we fetch data from 
Google Maps and we complement it

1570
01:27:19,640 --> 01:27:21,320
with data come from open St. 
maps. 

1571
01:27:22,720 --> 01:27:26,400
We correct like visions, areas, 
postal codes. 

1572
01:27:30,480 --> 01:27:33,760
It's a boom I guess. 
There's so much good open source

1573
01:27:33,760 --> 01:27:35,840
software out there. 
Sync thing garage. 

1574
01:27:36,440 --> 01:27:40,440
Do you host your, like, do you 
buy your own machines for 

1575
01:27:40,440 --> 01:27:43,160
hosting them at that point or is
that what you're doing? 

1576
01:27:43,840 --> 01:27:46,120
And then are you renting? 
Are you putting it in like a 

1577
01:27:46,120 --> 01:27:49,720
data center or do you just host 
it at different locations? 

1578
01:27:50,800 --> 01:27:55,240
No different locations. 
I have for example a family 

1579
01:27:55,240 --> 01:28:02,120
business, ex family business HQ,
one location here which is my 

1580
01:28:03,080 --> 01:28:07,800
well basically Home Office, one 
location, parents place with 

1581
01:28:07,800 --> 01:28:13,440
good upstream, one location, 
another business that is all a 

1582
01:28:13,440 --> 01:28:18,360
friend in a different location, 
4th plus the two VPS's you work 

1583
01:28:18,360 --> 01:28:20,600
so far. 
And of course you have to lock 

1584
01:28:20,600 --> 01:28:23,600
it down and lock it down so you 
have wired guard tunnels between

1585
01:28:23,600 --> 01:28:26,280
them so nobody else can Snoop on
the traffic because it's not 

1586
01:28:26,280 --> 01:28:30,640
under your control. 
I don't see it has served me 

1587
01:28:30,640 --> 01:28:32,960
really well and this started 
things with the lockdown. 

1588
01:28:34,360 --> 01:28:36,360
That's awesome. 
I need to go down that route. 

1589
01:28:36,360 --> 01:28:39,200
You inspire me. 
I want, I want to do that. 

1590
01:28:39,720 --> 01:28:42,720
I just feel like it's so 
important, especially like with 

1591
01:28:43,280 --> 01:28:46,920
sensitive data like kill switch,
I feel like it's so important to

1592
01:28:46,920 --> 01:28:52,680
really control and own your data
even though everything. 

1593
01:28:53,080 --> 01:28:56,000
But make sure to have offsite. 
Offsite backups, yeah. 

1594
01:28:58,280 --> 01:29:01,360
Offset backup like the idea is 
that I have I'm on actually, I 

1595
01:29:01,360 --> 01:29:03,520
have another location which I 
didn't mention is the office of 

1596
01:29:03,600 --> 01:29:08,160
of brick has a has a front 
office. 

1597
01:29:08,160 --> 01:29:10,600
Nobody gets in. 
So it's totally secure has a 

1598
01:29:10,960 --> 01:29:15,320
very nice fiber connection and a
lot of the services of the brick

1599
01:29:15,840 --> 01:29:19,320
web app they run, they rely on 
the self hosted server, which is

1600
01:29:19,400 --> 01:29:24,160
which is imagine it's a 
refurbished Lenovo desktop PC 

1601
01:29:24,160 --> 01:29:29,120
cost me €150 added a bit more 
RAM. 

1602
01:29:29,120 --> 01:29:33,760
So it went up to 180 or 190. 
So 30 gigabytes of RAM by five 

1603
01:29:33,760 --> 01:29:38,240
6500. 
By all means rather anemic CPUs 

1604
01:29:38,240 --> 01:29:42,960
by modern standards. 
I mean it's now what almost 10 

1605
01:29:42,960 --> 01:29:45,920
years old and yet it works 
amazingly well. 

1606
01:29:46,160 --> 01:29:50,160
Never let me down. 
So this one bugs bugs. 

1607
01:29:50,160 --> 01:29:55,440
It's containers and VMS to a 
Proxmux backup server somewhere 

1608
01:29:55,440 --> 01:29:58,600
else and that other server backs
it somewhere else so you always 

1609
01:29:58,600 --> 01:30:01,800
have them. 
You also have backup 

1610
01:30:01,800 --> 01:30:06,800
distributing with Proxmux you 
can recover from a remote server

1611
01:30:06,800 --> 01:30:10,760
so never had any issues. 
Why don't you write in a book 

1612
01:30:10,760 --> 01:30:14,640
about this? 
Well, I started. 

1613
01:30:15,400 --> 01:30:21,880
I started to use, but then came 
traders and I I parked it. 

1614
01:30:22,120 --> 01:30:27,720
I started writing self host all 
the objects, which is like shows

1615
01:30:27,720 --> 01:30:29,840
a series of buckets. 
It's on limpop and I started 

1616
01:30:29,840 --> 01:30:32,160
writing how to self host garage 
because garage is excellent. 

1617
01:30:32,160 --> 01:30:34,480
I mean, garage is fantastic, is 
a fantastic, but check it out. 

1618
01:30:34,480 --> 01:30:38,000
Everyone who listens to what is.
The what would you say like 

1619
01:30:38,000 --> 01:30:40,640
what's the difference between 
like file browser and then like 

1620
01:30:40,760 --> 01:30:45,160
garage is just S3? 
Yeah, Garage is S3 compatible, 

1621
01:30:45,680 --> 01:30:48,520
whereas File browser is just 
basically like yourself, hosted 

1622
01:30:48,520 --> 01:30:51,400
Dropbox and has a nice. 
Work. 

1623
01:30:53,040 --> 01:30:54,680
I see. 
Cool. 

1624
01:30:56,280 --> 01:30:59,880
What do you do as far as like 
storage then on like your 

1625
01:30:59,880 --> 01:31:03,280
servers that you're hosting? 
Typically. 

1626
01:31:03,720 --> 01:31:06,000
Like RAID boxes? 
Yeah. 

1627
01:31:07,680 --> 01:31:13,240
So my my my recipe for anyone 
who cares is was up until the 

1628
01:31:13,240 --> 01:31:16,320
RAM increases. 
But so I've built three boxes 

1629
01:31:16,320 --> 01:31:24,440
with the same recipe, AMD Ryzen 
550006600G because it's an APU 

1630
01:31:24,440 --> 01:31:25,960
and APUS are very power 
efficient. 

1631
01:31:26,080 --> 01:31:28,040
In particular, this one is very 
power efficient. 

1632
01:31:28,760 --> 01:31:33,600
It's way more powerful than 
you'll ever need and it's miles 

1633
01:31:33,600 --> 01:31:36,920
be one beyond what you get from 
Hetsner or this the lotion 

1634
01:31:36,920 --> 01:31:42,440
anyway. 32 to 64 gigabytes of 
ram. 64 in the case where I'm 

1635
01:31:42,440 --> 01:31:44,880
running something heavy but 
rarely ever the case. 

1636
01:31:45,160 --> 01:31:49,880
Mostly I have one box with 64 
because I used to run CPU based 

1637
01:31:49,880 --> 01:31:54,760
inference and this can take up a
lot of ram but in the end it's 

1638
01:31:54,760 --> 01:31:57,720
uneconomical because it's too 
slow when you use up so much 

1639
01:31:57,720 --> 01:31:58,880
ram. 
But it's good to have the 

1640
01:31:58,880 --> 01:32:02,400
headroom now. 64 gigabytes of 
the R4 is still super expensive 

1641
01:32:02,760 --> 01:32:08,360
with the recent price hikes. 2 
Two solid SSDs like good good 

1642
01:32:08,360 --> 01:32:10,280
brands don't go for cheapo 
stuff. 

1643
01:32:10,480 --> 01:32:14,880
I got burned once by buying Team
Group SSDs which had a known bug

1644
01:32:14,880 --> 01:32:20,000
and I got burned. 
BT RFS which is supposedly 

1645
01:32:20,000 --> 01:32:21,760
experimental but has never let 
me down. 

1646
01:32:21,760 --> 01:32:25,240
BT RFS and I'll get out of hate 
because EFS is so much better. 

1647
01:32:25,320 --> 01:32:30,440
No problem with BT, RFS and 
typically a four terabyte hard 

1648
01:32:30,440 --> 01:32:34,480
drive. 
Not not RAID, just to store data

1649
01:32:34,560 --> 01:32:37,920
because the data anyway gets 
copied over between nodes. 

1650
01:32:38,600 --> 01:32:40,240
Or if you want, you can have to 
so you. 

1651
01:32:40,240 --> 01:32:43,840
Kind of have your redundancy 
built in with your like round 

1652
01:32:43,840 --> 01:32:46,880
Robin effect. 
Yeah. 

1653
01:32:46,880 --> 01:32:53,000
And then CADI on the CADI on the
VPS with round Robin and Let's 

1654
01:32:53,000 --> 01:32:56,400
Encrypt certificates. 
Basically you, what you do is 

1655
01:32:56,400 --> 01:33:03,720
you build, you connect some 
parts with Wire guard and then 

1656
01:33:03,720 --> 01:33:05,960
you have, so you have one 
Wiregard network, you have 

1657
01:33:05,960 --> 01:33:09,440
multiple points, so you don't 
have a single point of failure. 

1658
01:33:09,480 --> 01:33:15,920
And then on top of this, you 
layer IPV 6 with Igdrazzle, my 

1659
01:33:15,920 --> 01:33:20,280
favorite, my favorite open 
source project because Igdrazzle

1660
01:33:21,640 --> 01:33:24,760
is a mess. 
So it will route around anything

1661
01:33:24,840 --> 01:33:28,400
that is residential fiber or 
VDSL and isn't connected. 

1662
01:33:28,480 --> 01:33:30,240
So you'll always, it will always
find a path. 

1663
01:33:30,240 --> 01:33:32,880
So it rides on wire guard. 
So it's already encrypted. 

1664
01:33:32,880 --> 01:33:36,240
And then you have this on top 
of, of the, of the wire guard 

1665
01:33:36,560 --> 01:33:38,880
network. 
So you have a mesh and IPV 6 

1666
01:33:38,880 --> 01:33:42,880
mesh on top of the wire guard 
network, which means that you 

1667
01:33:42,880 --> 01:33:49,000
don't know of the of your nodes 
of a Drazzle peering ever or 

1668
01:33:49,000 --> 01:33:52,880
appearing through multicast to 
the public mesh of in Brazil. 

1669
01:33:53,440 --> 01:33:58,520
So you have your own internal 
IPV 6 and everything is you can 

1670
01:33:58,520 --> 01:34:00,160
hit anything from anywhere 
that's. 

1671
01:34:00,200 --> 01:34:01,320
Awesome. 
Very cool. 

1672
01:34:01,520 --> 01:34:07,720
Yeah, in fact. 
I tell I have a friend, Brazil, 

1673
01:34:07,720 --> 01:34:11,880
who who runs his own SAS, starts
to get himself hosting and I was

1674
01:34:11,880 --> 01:34:15,480
telling him music drazzle and 
says is it not experimental? 

1675
01:34:16,760 --> 01:34:19,400
It's experimental, but I've used
now for four or five years and 

1676
01:34:19,400 --> 01:34:23,000
has never let me down. 
So, you know, software version 

1677
01:34:23,000 --> 01:34:24,960
numbers are also kind of 
misleading. 

1678
01:34:27,240 --> 01:34:29,840
That's true. 
It's Drazzle. 

1679
01:34:30,880 --> 01:34:37,920
Or drazzle YG GB RASIL network 
dot GitHub dot IO here. 

1680
01:34:38,920 --> 01:34:43,520
We go. 
Awesome. 

1681
01:34:43,560 --> 01:34:45,720
I mean, even run, even runs on 
your phone. 

1682
01:34:47,720 --> 01:34:49,000
That's awesome. 
Very cool. 

1683
01:34:50,240 --> 01:34:52,520
I might be thinking now with a 
lot of questions. 

1684
01:34:53,680 --> 01:34:59,880
Same thing on the phone, same 
thing on across the servers, all

1685
01:34:59,880 --> 01:35:03,080
my files everywhere. 
I In fact, it was a funny Story 

1686
01:35:03,840 --> 01:35:07,720
3 or 4 years ago or three years 
ago when I we used to have 

1687
01:35:07,720 --> 01:35:11,280
Dropbox in the family business. 
Now Dropbox grew explosively 

1688
01:35:11,600 --> 01:35:14,080
because they were handing out 
gigabytes left and right. 

1689
01:35:14,360 --> 01:35:18,560
I remember we got one GB excess 
storage because way back when we

1690
01:35:18,560 --> 01:35:23,160
bought a digital camera Pentax 
and they part of the package was

1691
01:35:23,160 --> 01:35:25,080
you also get like 1 GB of free 
storage. 

1692
01:35:25,080 --> 01:35:27,480
So we ended up having 11 
gigabytes of storage and 

1693
01:35:27,480 --> 01:35:29,960
Dropbox, which is way more than 
we ever needed. 

1694
01:35:30,520 --> 01:35:34,000
And then Dropbox started and 
shit defying trying to upsell 

1695
01:35:34,000 --> 01:35:37,680
you the UI chains. 
They deprecated all the clients.

1696
01:35:37,680 --> 01:35:39,080
They made it generally more 
difficult. 

1697
01:35:39,560 --> 01:35:41,880
And at some point I switched 
this to file browser for the 

1698
01:35:41,880 --> 01:35:44,400
business and we started sending 
manuals and invoices and 

1699
01:35:44,400 --> 01:35:49,160
everything just as public share 
links to files dot tektra dot 

1700
01:35:49,160 --> 01:35:54,160
GR, which doesn't exist anymore.
Cut down on, on on e-mail sizes 

1701
01:35:54,160 --> 01:35:56,760
made everything look nicer 
because you send someone to 

1702
01:35:56,760 --> 01:35:59,680
afiles.yourcompany.com. 
It looks more professional. 

1703
01:36:00,160 --> 01:36:02,040
Yeah. 
And I posted, I posted on 

1704
01:36:02,040 --> 01:36:04,000
LinkedIn. 
Goodbye Dropbox. 

1705
01:36:04,320 --> 01:36:08,200
I wrote a little article and the
then head of growth of Dropbox 

1706
01:36:08,200 --> 01:36:15,080
reached out to ask me about why 
I'm leaving Dropbox and we had a

1707
01:36:15,080 --> 01:36:16,840
nice discussion. 
I told you, you add too many 

1708
01:36:16,840 --> 01:36:18,640
bells and whistle. 
Nobody means and you don't add 

1709
01:36:18,640 --> 01:36:20,680
killer features. 
Like for example, give me a 

1710
01:36:20,680 --> 01:36:23,120
summary of the document, which 
is what I built for brick where 

1711
01:36:23,120 --> 01:36:26,040
you just let it auto categorize 
documents. 

1712
01:36:26,040 --> 01:36:28,320
Why do you have this? 
Well, something's coming. 

1713
01:36:28,320 --> 01:36:31,760
Nothing ever came out of this. 
And it was funny because we we 

1714
01:36:32,240 --> 01:36:34,880
ended the call and soon after, 
as I think I got something like 

1715
01:36:34,880 --> 01:36:39,200
60 gigabytes on Dropbox. 
I don't use anymore. 

1716
01:36:40,400 --> 01:36:42,920
I. 
I stopped using Dropbox too, 

1717
01:36:42,920 --> 01:36:46,520
because, yeah, they were nickel 
and dime in like, they just, 

1718
01:36:46,520 --> 01:36:50,560
like any space that you had kind
of disappeared and then they 

1719
01:36:50,560 --> 01:36:54,320
just were like trying to get 
you, you know, to pay for. 

1720
01:36:54,960 --> 01:36:58,200
I feel like their tears were 
very small too, Like you 

1721
01:36:58,200 --> 01:37:00,640
couldn't afford, like you 
couldn't get your foot in the 

1722
01:37:00,640 --> 01:37:03,720
door just to use Dropbox as a 
convenient feature for less than

1723
01:37:03,720 --> 01:37:09,440
like $10 a month. 
File browser, file browser, file

1724
01:37:09,440 --> 01:37:13,040
browser, round Robin in front of
it, sync thing between them to 

1725
01:37:13,040 --> 01:37:14,600
sync the files. 
Put it on your phone. 

1726
01:37:14,640 --> 01:37:16,920
Yes, it's not Dropbox. 
It's like the old hacking news 

1727
01:37:16,920 --> 01:37:19,560
coma that I could just as easily
build this with R sync and so 

1728
01:37:19,560 --> 01:37:20,800
on. 
Yeah, you can build it, but it's

1729
01:37:20,800 --> 01:37:23,960
trivial, techie. 
It takes you like 2 hours to set

1730
01:37:23,960 --> 01:37:26,840
it up at most. 
And I have for the past three or

1731
01:37:26,840 --> 01:37:31,120
four years, I have all my files 
synchronized to my phone at any 

1732
01:37:31,120 --> 01:37:33,120
moment, all the documents I 
need. 

1733
01:37:33,160 --> 01:37:35,680
Never pay a dime to anyone off 
site backups. 

1734
01:37:36,080 --> 01:37:38,200
What do I care about cloud, 
cloud storage? 

1735
01:37:38,240 --> 01:37:41,960
It's it's a stupid outdated 
approach that you sell gigabytes

1736
01:37:41,960 --> 01:37:43,720
big whoop, you sold me 
gigabytes. 

1737
01:37:43,720 --> 01:37:46,520
I can self host a four terabyte 
disk here and a four terabyte 

1738
01:37:46,520 --> 01:37:51,320
disk there and you sell me like 
how much was it for? 

1739
01:37:51,320 --> 01:37:53,800
100 gigabytes? 
You pay something like $30.00 

1740
01:37:53,800 --> 01:37:55,320
per month. 
Are you kidding me? 

1741
01:37:55,760 --> 01:37:59,760
I could just, I mean, everybody 
can do it, but if you can do it,

1742
01:38:00,400 --> 01:38:05,640
why give them money, right? 
Yeah, I was like, I'm going to 

1743
01:38:05,640 --> 01:38:09,080
bother you now I'm going to 
bother you and start building my

1744
01:38:09,080 --> 01:38:11,680
own servers. 
But many people bother me about 

1745
01:38:11,760 --> 01:38:15,600
this because I have a friend who
have converted to self hosting 

1746
01:38:15,600 --> 01:38:19,160
and now they have their own 
servers immediately on Malta, in

1747
01:38:19,160 --> 01:38:22,600
Scotland, in Greece, doing 
backups and so on. 

1748
01:38:22,600 --> 01:38:24,720
It's a fantastic hobby also too.
You learn a lot. 

1749
01:38:24,720 --> 01:38:26,960
It's. 
A good reason to write off of a 

1750
01:38:26,960 --> 01:38:29,200
vacation like I got to go set up
a server. 

1751
01:38:31,960 --> 01:38:34,880
You know in so many years I've 
never had an issue. 

1752
01:38:34,880 --> 01:38:39,600
But I have been self hosting for
the family business since 2002, 

1753
01:38:39,920 --> 01:38:45,440
back then with Susa Linux 7/3. 
So I was early into the Linux 

1754
01:38:45,440 --> 01:38:48,360
game since 97 and I was always 
tinkering. 

1755
01:38:49,160 --> 01:38:54,240
So when the when the time came, 
get rid of of Windows or at 

1756
01:38:54,240 --> 01:38:57,800
least of Microsoft Office in the
beginning, we switched to Star 

1757
01:38:57,800 --> 01:39:01,680
Office back, then Star Office, 
Sun Star Office, then 

1758
01:39:01,680 --> 01:39:05,360
Openoffice, then LibreOffice. 
And around the time I installed 

1759
01:39:05,360 --> 01:39:11,040
the server, which was a Pentium,
Pentium 4, Pentium 3, something 

1760
01:39:11,040 --> 01:39:16,080
ridiculous by today's standards 
with 80 GB disks, IDE disks, 

1761
01:39:16,600 --> 01:39:19,280
storing all the emails and 
storing all the files with Samba

1762
01:39:19,280 --> 01:39:21,840
and everything. 
And this server lasted for 10 

1763
01:39:21,840 --> 01:39:23,240
years. 
And then I upgraded with 

1764
01:39:23,240 --> 01:39:27,840
something equally anemic and it 
lasted for another crazy number 

1765
01:39:27,840 --> 01:39:30,040
of years. 
And then another server, which 

1766
01:39:30,040 --> 01:39:34,000
was always a server got smaller,
lower in power consumption, a 

1767
01:39:34,000 --> 01:39:36,480
bit more powerful because a 
generation that runs on a seller

1768
01:39:36,480 --> 01:39:40,360
on like some crappy seller on 
which I go for 100 bucks or 

1769
01:39:40,360 --> 01:39:44,960
something and it does, has never
needed anything. 

1770
01:39:44,960 --> 01:39:47,720
And meanwhile I have friends who
have because Greece family 

1771
01:39:47,720 --> 01:39:51,000
businesses are small businesses 
is the way to go because of 

1772
01:39:51,000 --> 01:39:54,800
taxation and labor laws. 
And I have friends who they 

1773
01:39:54,800 --> 01:39:58,000
brought in an IT consultancy and
they pay someone for a contract 

1774
01:39:58,000 --> 01:40:00,880
because they run Windows, 
whatever Windows Server and 

1775
01:40:00,960 --> 01:40:04,320
outlook. 
And they bother all the time 

1776
01:40:04,320 --> 01:40:06,440
about the, the firewall and the 
anti fire. 

1777
01:40:06,440 --> 01:40:09,200
It's like, Oh my God, like who 
has time for that nonsense? 

1778
01:40:09,200 --> 01:40:14,960
It's 00 odd value. 
Meanwhile, we're we, we have 0 

1779
01:40:14,960 --> 01:40:17,360
calls for Microsoft Office 
licenses. 

1780
01:40:18,400 --> 01:40:20,920
But of course we never needed 
PowerPoint, which is good. 

1781
01:40:21,160 --> 01:40:23,400
Generally life is good to not 
have to do PowerPoint. 

1782
01:40:23,560 --> 01:40:27,560
It's a. 
It's if any job requires. 

1783
01:40:29,240 --> 01:40:32,080
Yeah, it's a problem. 
Yeah, creating PowerPoint 

1784
01:40:32,080 --> 01:40:33,520
presentations. 
I'll pass. 

1785
01:40:33,520 --> 01:40:36,600
Thanks. 
I did this for a few years. 

1786
01:40:36,600 --> 01:40:38,680
It's as part of my job. 
It's like. 

1787
01:40:40,720 --> 01:40:43,560
It's very. 
Corporate waste of human 

1788
01:40:43,560 --> 01:40:45,240
potential. 
It's corporate, that's the 

1789
01:40:45,240 --> 01:40:50,160
definition. 
Corporate bore I. 

1790
01:40:50,160 --> 01:40:53,920
Have very strong, very strong 
opinions about corporate and 

1791
01:40:53,920 --> 01:40:56,760
I've lived through a couple of 
corporate environments and I 

1792
01:40:56,760 --> 01:40:59,640
don't think I will ever change 
them, especially not after 

1793
01:41:00,400 --> 01:41:03,960
experiencing now the freedom of 
doing your own thing and finding

1794
01:41:03,960 --> 01:41:07,360
your own path. 
I luckily have never been in too

1795
01:41:07,360 --> 01:41:10,440
corporate of a situation, but I 
know enough that I don't ever 

1796
01:41:10,440 --> 01:41:14,120
want to be just from friends 
stories and things like the 

1797
01:41:14,160 --> 01:41:16,720
hoops you have to jump through 
just to get things done like no 

1798
01:41:16,720 --> 01:41:19,200
thanks. 
No, no, no. 

1799
01:41:19,200 --> 01:41:20,720
I mean, it's good because learn 
a lot. 

1800
01:41:20,720 --> 01:41:23,400
Like I travel the world, that's 
all the things, learn many 

1801
01:41:23,400 --> 01:41:25,760
things. 
But at some point the the longer

1802
01:41:25,760 --> 01:41:29,560
you go along the corporate 
career path, my impression is 

1803
01:41:29,920 --> 01:41:32,960
the more you learn to deal with 
the pathological issues of the 

1804
01:41:32,960 --> 01:41:36,000
organization in which you're 
working and the less you 

1805
01:41:36,000 --> 01:41:39,080
actually things that are useful 
skills. 

1806
01:41:39,400 --> 01:41:43,200
So my biggest worry was by the 
by the time I reach maybe 50 or 

1807
01:41:43,200 --> 01:41:47,080
54, I will be totally the 
skilled. 

1808
01:41:47,560 --> 01:41:51,920
And also there's ageism in every
corporate always, always. 

1809
01:41:52,240 --> 01:41:56,440
So what happens when you're 5455
and you're being made redundant 

1810
01:41:56,440 --> 01:41:58,840
because of cost cutting, because
of AI or whatever? 

1811
01:42:00,120 --> 01:42:01,760
So what do you do? 
What can you do? 

1812
01:42:02,200 --> 01:42:05,080
Yes, you learn to manage your 
culture, it's functional team. 

1813
01:42:05,320 --> 01:42:07,160
What do you actually do? 
What can you do? 

1814
01:42:07,920 --> 01:42:10,800
Right, It's, it's the trap of 
safety, right? 

1815
01:42:10,960 --> 01:42:13,720
Everyone says they're in the 
safe, they have a safe job, 

1816
01:42:13,720 --> 01:42:16,400
right? 
It's comfort, but it's really 

1817
01:42:16,400 --> 01:42:19,800
not safe because you can be 
replaced at any moment and 

1818
01:42:19,800 --> 01:42:26,880
you're just another cog in the 
system, you know? 

1819
01:42:27,720 --> 01:42:30,640
I would never trade my 10 years 
incorporate 3 different 

1820
01:42:30,640 --> 01:42:36,400
companies away because they were
very useful but I would not want

1821
01:42:36,400 --> 01:42:38,520
to repeat them or staying up on 
the path. 

1822
01:42:39,320 --> 01:42:42,600
Yeah, I mean, everyone needs to 
learn, right? 

1823
01:42:42,600 --> 01:42:46,040
And it's, it's important to see 
how corporations operate too. 

1824
01:42:46,040 --> 01:42:49,960
I think like that's probably 
like that's one thing I probably

1825
01:42:49,960 --> 01:42:54,400
missed out on avoiding it. 
Well, you learn. 

1826
01:42:54,440 --> 01:42:59,680
You learn how human incentives 
work in in structures, in 

1827
01:42:59,680 --> 01:43:02,280
hierarchies. 
You approach discussions. 

1828
01:43:02,280 --> 01:43:04,560
For example, when I talk to 
procurement departments, which 

1829
01:43:04,560 --> 01:43:08,920
are famously bureaucratic, no 
matter where you are, you learn 

1830
01:43:09,480 --> 01:43:12,360
who you're talking to, how they 
get incentivized, what kind of 

1831
01:43:12,360 --> 01:43:15,760
criteria they have for picking a
supplier, what they care about 

1832
01:43:15,840 --> 01:43:18,280
this kind of informed decisions.
It's not a must have. 

1833
01:43:18,800 --> 01:43:21,440
But most importantly for me was 
to see the differences in the 

1834
01:43:21,520 --> 01:43:24,680
product development culture 
between a company that was doing

1835
01:43:24,680 --> 01:43:29,040
Provo Chargers, super advanced 
engineering. 

1836
01:43:29,320 --> 01:43:32,480
I was super lucky because I was 
doing machine learning in 2009 

1837
01:43:32,480 --> 01:43:35,920
to 2012. 
It was I had a cluster of my 

1838
01:43:35,920 --> 01:43:38,080
disposal like a high performance
computing cluster. 

1839
01:43:38,080 --> 01:43:40,760
It was a dream come true like 
for a Linux geek. 

1840
01:43:41,720 --> 01:43:44,920
Then a company that is more 
sales oriented and has good 

1841
01:43:44,920 --> 01:43:47,880
products but approaches it in a 
more structured way. 

1842
01:43:48,280 --> 01:43:50,240
Then a company that is a digital
container. 

1843
01:43:50,240 --> 01:43:54,760
So it's good to see a variety of
things because you you see what 

1844
01:43:54,760 --> 01:43:57,520
works and what doesn't. 
You can qualify easier whether 

1845
01:43:57,520 --> 01:43:59,720
something works or not. 
For example, the books are right

1846
01:43:59,720 --> 01:44:03,640
and the engineering mindset I 
put into them could never have 

1847
01:44:03,640 --> 01:44:06,920
come without the the the 
friction in those companies and 

1848
01:44:06,920 --> 01:44:08,600
learning what doesn't work and 
what does. 

1849
01:44:11,120 --> 01:44:13,920
A hardware product. 
The company gets a technology in

1850
01:44:13,920 --> 01:44:16,920
one year. 
For one company it is doable. 

1851
01:44:16,920 --> 01:44:18,720
For another company it is 
unthinkable. 

1852
01:44:19,000 --> 01:44:21,800
What is the difference? 
The assumptions they make for a 

1853
01:44:21,800 --> 01:44:23,920
large part, not so much 
technology. 

1854
01:44:24,520 --> 01:44:28,720
An impressive thing I found out.
What just happened to me? 

1855
01:44:31,440 --> 01:44:33,040
My camera failed. 
There we are. 

1856
01:44:33,120 --> 01:44:36,400
You're still. 
Do you still see me? 

1857
01:44:39,640 --> 01:44:44,680
Do you hear me or no? 
I think one second, sorry. 

1858
01:44:45,920 --> 01:44:50,440
Oops Hello everyone, this is 
Alexa mentor podcast. 

1859
01:44:50,440 --> 01:44:52,400
I'm your new host, but he. 
Can't hear me? 

1860
01:44:55,400 --> 01:44:56,360
All right. 
Can you hear me? 

1861
01:44:58,000 --> 01:44:58,960
I can hear you. 
I can't see you. 

1862
01:44:59,280 --> 01:45:02,640
OK, something just happened with
video, but not OBS. 

1863
01:45:03,240 --> 01:45:06,480
What's funny is Zach Daniels 
just dropped in the chat and to 

1864
01:45:06,480 --> 01:45:11,400
go back to when we were talking 
about complex abstraction and he

1865
01:45:11,400 --> 01:45:14,200
just goes the argument for 
complexity is job security. 

1866
01:45:15,800 --> 01:45:18,880
Absolutely so. 
Many people do say that. 

1867
01:45:18,920 --> 01:45:21,160
Or, you know, they believe that,
right? 

1868
01:45:21,160 --> 01:45:24,160
The smarter they are, the more 
irreplaceable they are, and 

1869
01:45:24,160 --> 01:45:28,720
that's just never actually true.
And the argument for 

1870
01:45:28,720 --> 01:45:31,840
overspecialization is also job 
security, because you can. 

1871
01:45:32,320 --> 01:45:36,400
It also is in corporations. 
It's also a measure of pretense,

1872
01:45:36,400 --> 01:45:39,080
of expertise. 
You give people titles, a 

1873
01:45:39,080 --> 01:45:42,360
senior, whatever developer or 
senior, whatever, engineer or 

1874
01:45:42,360 --> 01:45:45,120
principal, something, something 
or global something, something 

1875
01:45:45,120 --> 01:45:49,080
manager, and people get put 
themselves into this role as if 

1876
01:45:49,280 --> 01:45:51,840
suddenly we have to respect 
whatever they're saying because 

1877
01:45:51,840 --> 01:45:53,640
they have been made responsible 
for something. 

1878
01:45:54,040 --> 01:45:56,560
And that's part of the problem 
that I mentioned earlier. 

1879
01:45:56,560 --> 01:45:59,360
When you split back in and front
end, you will usually have two 

1880
01:45:59,360 --> 01:46:01,520
people at least. 
And that's where the problems 

1881
01:46:01,520 --> 01:46:03,640
begin for sure. 
You have to do it at some point 

1882
01:46:03,640 --> 01:46:06,840
because because the software 
grows, the product grows, you 

1883
01:46:06,840 --> 01:46:10,160
have more interfaces. 
Every interface, every interface

1884
01:46:10,160 --> 01:46:12,720
you have, you slow down 
massively. 

1885
01:46:14,200 --> 01:46:17,400
And that's that's why LLMS are 
so great for, for people who 

1886
01:46:17,520 --> 01:46:20,760
build stuff on their own or if 
they want to build stuff on 

1887
01:46:20,760 --> 01:46:24,000
their own until they find the 
need to say, well, now it's 

1888
01:46:24,000 --> 01:46:26,800
worth it bringing somebody in 
because now many things are 

1889
01:46:26,800 --> 01:46:29,480
settled. 
And now the transactional costs 

1890
01:46:30,320 --> 01:46:34,880
to coordinate 2 brains, let 
alone 3 or 4 is at least worth 

1891
01:46:34,880 --> 01:46:38,680
it because we, we can scale. 
But with LLMS I replaced 5 

1892
01:46:38,680 --> 01:46:42,640
people with me plus an LLM or 
two or three that was. 

1893
01:46:43,240 --> 01:46:45,240
That is probably the real 
disruption that it brings. 

1894
01:46:45,240 --> 01:46:49,400
It lowers the barrier to entry. 
I started at PHP understanding 

1895
01:46:49,400 --> 01:46:53,720
of 2005, which was the last time
I wrote PHP 0, JavaScript 0, 

1896
01:46:53,720 --> 01:46:56,040
TypeScript. 
I had my first. 

1897
01:46:56,280 --> 01:47:00,000
I had my first major version 
upgrade to the software within 

1898
01:47:00,120 --> 01:47:02,080
three months. 
It was way better than the 

1899
01:47:02,080 --> 01:47:05,320
previous one. 
You already need to have it, but

1900
01:47:06,080 --> 01:47:08,520
why did it go so fast? 
Because I didn't need any more 

1901
01:47:08,520 --> 01:47:10,960
to coordinate my brain with a 
project manager. 

1902
01:47:11,000 --> 01:47:13,080
We're going to have a meeting 
with a senior back end developer

1903
01:47:13,080 --> 01:47:15,720
and a senior front developer who
need to cascade this down to the

1904
01:47:15,720 --> 01:47:20,080
to the junior to bring it all 
together to get code of varying 

1905
01:47:20,080 --> 01:47:23,560
quality. 
Up to a certain point it is 

1906
01:47:23,800 --> 01:47:27,720
totally doable, especially 
nowadays and way faster and 

1907
01:47:27,720 --> 01:47:32,520
better to go through a single 
Mind U plus DLM as a as a Robert

1908
01:47:32,520 --> 01:47:36,480
Ducky or something and then see 
when you need it and then scale.

1909
01:47:37,240 --> 01:47:41,160
Yeah, yeah. 
Like, well, like with for 

1910
01:47:41,160 --> 01:47:44,400
instance, like kill switch, it's
like a weekend project for me 

1911
01:47:44,400 --> 01:47:48,080
right now. 
And I'm able to do and 

1912
01:47:48,080 --> 01:47:51,680
accomplish so much using an LLM 
to help me. 

1913
01:47:51,960 --> 01:47:54,920
And like most of it's just 
because I'm not a front end dev,

1914
01:47:54,920 --> 01:47:59,560
so I'm very slow with building 
UI interfaces and things and not

1915
01:47:59,560 --> 01:48:02,680
anymore. 
Now I prompt it and like once, 

1916
01:48:03,080 --> 01:48:06,520
once you have a theme and you 
have like the way things flow 

1917
01:48:06,520 --> 01:48:09,480
and look, it's really easy just 
to continue and create new 

1918
01:48:09,480 --> 01:48:16,040
components with with Claude. 
It's also a boon for people who 

1919
01:48:16,040 --> 01:48:18,400
are not technologists, but they 
have good ideas. 

1920
01:48:18,400 --> 01:48:21,880
I have a friend who has built 
now two things with Lovable. 

1921
01:48:22,640 --> 01:48:26,920
He needed my help in a couple of
locations to prompt the the LM 

1922
01:48:27,000 --> 01:48:29,600
to, to make the right choices or
to refactor or something. 

1923
01:48:30,040 --> 01:48:32,640
But he came up with two OK 
ideas. 

1924
01:48:32,640 --> 01:48:35,600
We'll see how they fly. 
And at least he has a proof of 

1925
01:48:35,600 --> 01:48:39,840
concept that then he can engage 
others to see how they can 

1926
01:48:39,840 --> 01:48:41,560
develop. 
It doesn't start anymore with a 

1927
01:48:41,560 --> 01:48:44,480
vague idea of, you know, it 
needs to look a bit like this, 

1928
01:48:44,480 --> 01:48:48,360
you know, just figure it out. 
No, you have an actual UI 

1929
01:48:48,400 --> 01:48:51,400
prototype, even even functional 
at a certain point, depending on

1930
01:48:51,400 --> 01:48:53,600
what you do. 
And then you can engage the 

1931
01:48:53,600 --> 01:48:56,720
services of somebody who will 
clean it up, build it the proper

1932
01:48:56,720 --> 01:48:58,840
way. 
That is a huge shift to the 

1933
01:48:58,840 --> 01:49:00,160
market, especially the 
requirements. 

1934
01:49:00,160 --> 01:49:02,520
Gathering from senior 
stakeholders is famously the 

1935
01:49:02,520 --> 01:49:04,920
most painful thing you can do 
because they all have their own 

1936
01:49:04,920 --> 01:49:08,680
ideas and they, they kind of 
expect you to mind read what 

1937
01:49:08,680 --> 01:49:10,760
they, what they mean when they 
say that they want this to be 

1938
01:49:10,760 --> 01:49:14,360
fluid or nice or good looking or
blue or whatever. 

1939
01:49:14,800 --> 01:49:18,560
And now you just say, well, 
prompt the lovable or whatever 

1940
01:49:18,560 --> 01:49:22,720
to build it, bring it to the 
state where it satisfies you, 

1941
01:49:23,520 --> 01:49:26,200
including the effort better than
doing requirements, pretending 

1942
01:49:26,200 --> 01:49:28,920
that you've documented your 
requirements and your user 

1943
01:49:28,920 --> 01:49:31,400
stories or whatever. 
And then we'll pick it up from 

1944
01:49:31,400 --> 01:49:33,120
there. 
Whether we can iterate that is 

1945
01:49:33,120 --> 01:49:35,680
another change that people don't
look at. 

1946
01:49:36,440 --> 01:49:38,800
I'm not saying that a pure 
business person could build a 

1947
01:49:39,600 --> 01:49:42,560
complex up by themselves in 
lovable, right? 

1948
01:49:42,560 --> 01:49:45,560
But you can at. 
Least make a proof of concept 

1949
01:49:45,560 --> 01:49:48,480
probably. 
Yeah, and you have a better 

1950
01:49:48,480 --> 01:49:51,360
starting point for discussion 
with anyone who will develop it 

1951
01:49:51,360 --> 01:49:54,280
further, which is not what you 
could say up until two years 

1952
01:49:54,280 --> 01:49:57,840
ago. 
And Zach brought up another good

1953
01:49:57,840 --> 01:50:00,120
point. 
Problem is, getting too clever 

1954
01:50:00,120 --> 01:50:03,720
tanks your company. 
So your job is secure, but only 

1955
01:50:03,720 --> 01:50:06,840
while your company can succeed 
in spite of crappy engineering. 

1956
01:50:08,080 --> 01:50:10,040
Yeah, I agree. 
I've seen it happen. 

1957
01:50:10,040 --> 01:50:11,720
Doesn't it look exclusive to 
software? 

1958
01:50:11,800 --> 01:50:16,360
I mean, I wrote it was so the 
discussion on on Elixir forum, 

1959
01:50:16,360 --> 01:50:18,680
which is, by the way, what a 
great website and what a great 

1960
01:50:18,680 --> 01:50:21,720
community Elixir forum. 
It's so, so such a good web, 

1961
01:50:21,720 --> 01:50:25,440
such a fantastic place to you 
can learn so many things there, 

1962
01:50:25,680 --> 01:50:28,800
find so many solutions. 
So there was a discussion about,

1963
01:50:29,240 --> 01:50:32,800
I think was about how is 
software different to hardware 

1964
01:50:32,800 --> 01:50:35,560
and how software development is 
different. 

1965
01:50:35,880 --> 01:50:38,040
And there was a back and forth 
and I wrote a couple of replies 

1966
01:50:38,040 --> 01:50:41,880
and turn them into, into an 
article about exactly that 

1967
01:50:42,040 --> 01:50:44,800
software exceptionalism is 
overrated in the end. 

1968
01:50:45,360 --> 01:50:47,800
Yeah, it's different, but it's 
not massively different. 

1969
01:50:47,800 --> 01:50:50,000
I used to believe that it's 
totally different up until I 

1970
01:50:50,000 --> 01:50:53,800
started to, to develop software,
perhaps with an engineering 

1971
01:50:53,800 --> 01:50:55,280
mindset. 
So it's system engineering. 

1972
01:50:55,280 --> 01:50:59,320
I realized it's, it's different,
but you can certainly transpose 

1973
01:50:59,320 --> 01:51:01,640
a lot of concept if you 
developed other kinds of, of 

1974
01:51:01,640 --> 01:51:04,080
product. 
And maybe they believe that 

1975
01:51:04,080 --> 01:51:06,920
software is so incredibly 
different to everything else, 

1976
01:51:06,920 --> 01:51:11,880
every other artefact, it also 
causes people to pretend that 

1977
01:51:11,920 --> 01:51:15,320
they can just do cowboy 
development. 

1978
01:51:15,760 --> 01:51:16,960
A it's different. 
You don't need to do 

1979
01:51:16,960 --> 01:51:18,720
requirements. 
Yeah, you don't have to do 

1980
01:51:18,720 --> 01:51:20,800
requirements as if you're a 
Volkswagen. 

1981
01:51:20,800 --> 01:51:23,360
But maybe it doesn't hurt to do 
a bit of systems engineering 

1982
01:51:23,360 --> 01:51:27,480
system architecture. 
Yeah, that is true. 

1983
01:51:28,720 --> 01:51:31,240
But Elixir forum, yeah it is 
great. 

1984
01:51:31,360 --> 01:51:34,680
I agree with you there because 
we got a lot of smart people 

1985
01:51:34,680 --> 01:51:38,440
that hang out and I feel like we
Elixir community in general is 

1986
01:51:38,440 --> 01:51:43,680
very generous with knowledge 
sharing and take and taking the 

1987
01:51:43,680 --> 01:51:48,400
time to help people. 
And low drama. 

1988
01:51:48,400 --> 01:51:54,000
And to some degree, I think it's
also part of the reason why I 

1989
01:51:54,000 --> 01:51:57,240
think that the Elixir is 
probably better that it doesn't 

1990
01:51:58,200 --> 01:52:03,560
grow like for example, RASP or 
Zig does have the same hype is 

1991
01:52:03,560 --> 01:52:05,720
that it attracts people who will
think more about their 

1992
01:52:05,720 --> 01:52:08,480
decisions. 
And I have a feeling that the 

1993
01:52:08,640 --> 01:52:12,560
the perception that it's an 
underdog or under appreciated or

1994
01:52:12,560 --> 01:52:16,080
underused, many of us actually 
like it. 

1995
01:52:16,560 --> 01:52:19,000
We like feeling that we know the
cheat code as you say it. 

1996
01:52:19,480 --> 01:52:23,880
I mean, I certainly do like. 
I know all the answers to your 

1997
01:52:23,880 --> 01:52:26,920
software problems. 
It's called Elixir and the Beam.

1998
01:52:28,720 --> 01:52:31,840
Well, I have a new a new project
inquiry that came in on Monday 

1999
01:52:32,800 --> 01:52:35,840
and the question was whether 
we're going to make it to a 

2000
01:52:36,600 --> 01:52:39,080
mobile app for a proof of 
concept. 

2001
01:52:39,080 --> 01:52:42,920
I said no, we can do it. 
I I got the scope I discussed 

2002
01:52:43,800 --> 01:52:48,560
can easily be done in 4 evenings
with Phoenix Live view as a 

2003
01:52:48,560 --> 01:52:51,360
proof of concept and then you 
see where you take it. 

2004
01:52:51,400 --> 01:52:54,760
When you start having solid 
stuff, then you can say, well 

2005
01:52:54,760 --> 01:52:56,160
now it deserves to become owned 
by a lot. 

2006
01:52:56,240 --> 01:53:00,240
Yeah, you kind of go so far so 
on incredibly. 

2007
01:53:00,240 --> 01:53:02,080
Nothing wrong with. 
The nice. 

2008
01:53:02,120 --> 01:53:05,520
Mobile responsive web app. 
You can do a lot with that. 

2009
01:53:08,440 --> 01:53:10,400
You can. 
I just, I've never done it and 

2010
01:53:10,400 --> 01:53:13,760
I'm worried about the whole 
approvals process and all that. 

2011
01:53:13,760 --> 01:53:16,040
It may be good. 
I'm just saying, just like the 

2012
01:53:16,240 --> 01:53:17,480
first web app. 
Yeah, yeah. 

2013
01:53:18,760 --> 01:53:21,800
Yeah, PWA, Yeah, you can do PWA.
And actually that was a 

2014
01:53:21,800 --> 01:53:24,680
discussion how to was it last 
night? 

2015
01:53:27,680 --> 01:53:30,280
Yeah, last night I was driving 
back home and I have this 

2016
01:53:30,280 --> 01:53:34,280
exactly this discussion. 
Like if I want to do a mobile 

2017
01:53:34,280 --> 01:53:39,000
first web app with Phoenix live 
view, how can I turn to APWA? 

2018
01:53:39,000 --> 01:53:40,960
How can I make it have nicer 
transitions? 

2019
01:53:40,960 --> 01:53:42,560
Is it possible? 
Is it doable? 

2020
01:53:44,240 --> 01:53:48,880
How much can I then use reuse if
I want to go to Flutter or React

2021
01:53:48,880 --> 01:53:51,480
Native, which then it starts to 
get complicated. 

2022
01:53:51,480 --> 01:53:57,200
I've done a bit of React Native.
I'm not amazingly, I don't know,

2023
01:53:57,200 --> 01:53:59,040
I'm not enthusiastic about 
building a mobile app. 

2024
01:53:59,040 --> 01:54:03,720
You know, sometimes I have this 
avoidance of totally new things 

2025
01:54:03,720 --> 01:54:06,120
where I know nothing about. 
But then again, it's one of 

2026
01:54:06,120 --> 01:54:09,640
those things that you can ask 
Grog or Gemline you can. 

2027
01:54:10,280 --> 01:54:15,920
I was an iOS developer for like 
5-6 years and I don't miss 

2028
01:54:15,920 --> 01:54:20,880
dealing with the App Store. 
But there's also there are 

2029
01:54:20,880 --> 01:54:24,440
reasons that you need to right? 
Like I get it, but if you can 

2030
01:54:24,440 --> 01:54:27,560
avoid it, I think it's better 
just to build web apps. 

2031
01:54:30,480 --> 01:54:34,200
I find it's good for the 
Internet to build web apps in 

2032
01:54:34,200 --> 01:54:35,400
general. 
That's a more altruistic 

2033
01:54:35,400 --> 01:54:37,320
approach. 
I think we are, we have given 

2034
01:54:37,680 --> 01:54:42,960
app stores too much control now 
for notifications that for for 

2035
01:54:42,960 --> 01:54:47,320
brick, we have got an increase 
for a, for a mobile app. 

2036
01:54:47,800 --> 01:54:50,320
And when I show them that it 
works just as well on the iPhone

2037
01:54:50,320 --> 01:54:53,120
5 AC, they're like, OK, what 
about notifications? 

2038
01:54:53,120 --> 01:54:57,280
That's where you say, well, 
unfortunately the two cartels of

2039
01:54:57,280 --> 01:55:00,520
notification, push 
notifications, that's what 

2040
01:55:00,520 --> 01:55:02,920
forces us to eventually do our 
web mobile now. 

2041
01:55:03,160 --> 01:55:06,640
What would be nice is if Apple 
just played nice and what gave 

2042
01:55:06,640 --> 01:55:11,360
us access to notification their 
API, but they don't want to do 

2043
01:55:11,360 --> 01:55:14,000
that. 
It would be fantastic if 

2044
01:55:14,320 --> 01:55:17,080
corporate giants who are 
dinosaurs now but pretend to be 

2045
01:55:17,080 --> 01:55:23,320
dynamic would not be well like. 
I feel like the cheat code for 

2046
01:55:23,320 --> 01:55:29,000
just doing Pwas Android you can 
do notifications. 

2047
01:55:29,000 --> 01:55:34,080
I believe it's just Apple, but 
you can just do SMS messages, 

2048
01:55:34,280 --> 01:55:37,040
right? 
Yeah, and that's probably what 

2049
01:55:37,040 --> 01:55:40,320
we'll do. 
It will be a big, and I'm not 

2050
01:55:40,320 --> 01:55:44,480
even sure that if you go with 
one established API like Twilio,

2051
01:55:44,480 --> 01:55:49,880
that will be so much more 
expensive to send SMSS them to, 

2052
01:55:51,360 --> 01:55:54,080
you know, to pay for Firebase or
whatever else you're using. 

2053
01:55:54,080 --> 01:55:57,400
I don't know if Apple's API is 
free, probably these right? 

2054
01:55:58,920 --> 01:56:02,800
I'm not sure I probably. 
But look at, look at the market 

2055
01:56:02,880 --> 01:56:04,760
in Greece, for example, we have 
Viber. 

2056
01:56:04,840 --> 01:56:07,000
Viber, I don't know if you know 
it, it's in Greece. 

2057
01:56:07,000 --> 01:56:09,920
It's so popular for some reason 
it has exploded over the last 

2058
01:56:09,920 --> 01:56:12,720
five or ten years. 
But when you look at how much 

2059
01:56:12,760 --> 01:56:15,760
they, they, they ask you to pay 
to have a business account that 

2060
01:56:15,760 --> 01:56:19,840
send messages, then you start 
thinking, are you kidding me? 

2061
01:56:19,920 --> 01:56:24,000
Just because you you have a 
stronghold on the stronghold on 

2062
01:56:24,000 --> 01:56:28,440
the market, I will pay €300 per 
month to have an account. 

2063
01:56:28,440 --> 01:56:32,400
Something crazy I searched a 
while ago, it is too expensive. 

2064
01:56:32,400 --> 01:56:38,560
So the government. 
Yeah, I just had to go through. 

2065
01:56:39,160 --> 01:56:41,720
I'm using Twilio. 
I don't know if I'll stay there,

2066
01:56:42,080 --> 01:56:45,200
but you have to like, apply for 
campaigns just for 

2067
01:56:45,200 --> 01:56:48,600
notifications. 
Show them that like people are 

2068
01:56:48,600 --> 01:56:53,320
opting in and they're OK with 
your texting and like what a 

2069
01:56:53,320 --> 01:56:56,520
pain in the butt. 
But it is what it is. 

2070
01:56:57,000 --> 01:57:00,200
Because I actually got some 
really good feedback with like 

2071
01:57:00,200 --> 01:57:03,240
Killswitch. 
I was only doing emails and one 

2072
01:57:03,240 --> 01:57:07,080
of my beta testers is like, I 
don't think I would ever pay for

2073
01:57:07,080 --> 01:57:10,960
this service if it was just 
emails because emails easily get

2074
01:57:10,960 --> 01:57:14,960
buried and like missed or even 
spam folded. 

2075
01:57:15,200 --> 01:57:21,360
He's like, honestly, like text 
messaging and then like in like 

2076
01:57:21,840 --> 01:57:24,560
really urgent cases, even like 
phone calls. 

2077
01:57:24,800 --> 01:57:26,640
And I was like, yeah, that's a 
good point. 

2078
01:57:26,640 --> 01:57:29,960
So now I'm implementing it 
because I just feel like it's an

2079
01:57:30,200 --> 01:57:34,880
important feature. 
What do you think about Magic 

2080
01:57:34,880 --> 01:57:42,040
Link authentication? 
I like it. 

2081
01:57:42,120 --> 01:57:50,920
I think it works. 
I, I think it's great for people

2082
01:57:50,920 --> 01:57:52,520
that don't use password 
managers. 

2083
01:57:54,240 --> 01:57:55,840
Like it's a lot more secure, 
right? 

2084
01:57:56,120 --> 01:57:59,560
But with like for like in the 
case of kill switch, I don't 

2085
01:57:59,560 --> 01:58:04,680
know a good way to do it because
you need to have like Right now 

2086
01:58:04,680 --> 01:58:08,440
I'm doing like basically like 
master key. 

2087
01:58:08,440 --> 01:58:12,320
Like I'm wrapping my encryption 
master key with a password. 

2088
01:58:12,680 --> 01:58:16,280
And there's like not an easy way
to do it without having a 

2089
01:58:16,280 --> 01:58:19,920
password, you know what I mean? 
Yeah, yeah, yeah. 

2090
01:58:19,920 --> 01:58:22,320
So you need to do the end, do 
you? 

2091
01:58:22,880 --> 01:58:29,120
So do you do OTP? 
Not not yet, but it's on my To 

2092
01:58:29,120 --> 01:58:32,480
Do List. 
I do plan to implement it, yeah.

2093
01:58:33,560 --> 01:58:36,120
Coming back to something you you
asked before, which I didn't 

2094
01:58:36,120 --> 01:58:39,360
answer is how do I do rate 
limiting and so on. 

2095
01:58:39,400 --> 01:58:43,200
I mean, the standard approach is
hammer right on on Elixir. 

2096
01:58:43,200 --> 01:58:46,800
It's it's a good one. 
I've used it, but I've I wrote 

2097
01:58:46,880 --> 01:58:53,080
my own Genserver with buckets 
without like a regressive curve 

2098
01:58:53,080 --> 01:58:56,600
of how many are allowed per five
per one minute per 5 minutes for

2099
01:58:56,600 --> 01:59:00,480
10 per whatever to rate limit 
queries. 

2100
01:59:00,640 --> 01:59:04,120
So I have a web app where people
are entering so they're using my

2101
01:59:04,120 --> 01:59:08,120
API key to ask the government 
for the company tails with a 

2102
01:59:08,120 --> 01:59:13,720
certain tax ID and it's free. 
The the limit is very generous. 

2103
01:59:13,720 --> 01:59:16,400
We're talking about 100,000 
requests, never going to reach 

2104
01:59:16,400 --> 01:59:20,720
it, but somebody could have used
it and exhaust my allotment for 

2105
01:59:20,720 --> 01:59:23,200
whatever reason. 
So I just wrote a gem server 

2106
01:59:23,200 --> 01:59:26,640
that does basic rate limiting. 
So you can use Hammer, but you 

2107
01:59:26,640 --> 01:59:30,120
don't need to. 
You can if you just think of one

2108
01:59:30,120 --> 01:59:33,360
simple rate limiting scheme. 
It's doable with a Genserver. 

2109
01:59:34,280 --> 01:59:39,360
Yeah, but why? 
As you said with Oban, why write

2110
01:59:39,360 --> 01:59:41,800
your own queuing system? 
It's, it's already there, the 

2111
01:59:41,800 --> 01:59:44,120
standard solution. 
It works and it's reliable and 

2112
01:59:44,120 --> 01:59:47,240
it does so many more things than
you'll ever do, especially if 

2113
01:59:47,240 --> 01:59:48,960
you assume that you'll ever do 
them correctly. 

2114
01:59:49,760 --> 01:59:51,800
Yeah, yeah. 
That's the problem, building it 

2115
01:59:51,800 --> 01:59:55,800
correctly, right? 
Or passing Cass X and goodbye. 

2116
01:59:55,840 --> 01:59:59,400
I have a web app that I wrote. 
It was my first big web app. 

2117
02:00:00,120 --> 02:00:03,960
Never launched but is now 
influencing the scope of the 

2118
02:00:04,080 --> 02:00:09,680
update of Brick the SAS. 
And it was running like 6 or 7 

2119
02:00:09,680 --> 02:00:13,880
caches for data from open street
map, for data from APIs 

2120
02:00:14,760 --> 02:00:16,800
amazingly well. 
It worked amazingly well. 

2121
02:00:16,800 --> 02:00:19,840
That was an app where I, I look 
at the app I built in the summer

2122
02:00:19,840 --> 02:00:26,520
of 2024 and I'm thinking I built
this like that mean I built 

2123
02:00:26,520 --> 02:00:30,280
this, I built this, yeah, but 
and it's still maintainable. 

2124
02:00:30,360 --> 02:00:32,800
It's still easy to read. 
It's still easy to understand 

2125
02:00:32,920 --> 02:00:36,880
because Elixir it somehow. 
I don't know about you, but it 

2126
02:00:36,880 --> 02:00:40,600
leads me to write cleaner code. 
Not in the clean code sense, but

2127
02:00:42,040 --> 02:00:47,000
better structured, nice modules,
composable functions, pipelines 

2128
02:00:47,480 --> 02:00:51,080
with pipeline operator. 
Every moment I spend writing PHP

2129
02:00:51,080 --> 02:00:55,760
and mix JS TypeScript, I wish I 
would be writing Elixir night 

2130
02:00:55,760 --> 02:00:59,080
right now. 100% I feel the same 
way. 

2131
02:00:59,840 --> 02:01:04,600
I have another project where 
it's like a Chrome extension and

2132
02:01:05,520 --> 02:01:09,280
I hate when I'm writing 
TypeScript for my Chrome 

2133
02:01:09,280 --> 02:01:11,840
extension but I love my back end
because it's Elixir. 

2134
02:01:13,360 --> 02:01:16,240
I don't have such a big problem 
with TypeScript because it saved

2135
02:01:16,240 --> 02:01:18,480
my butt. 
What happened was when the first

2136
02:01:18,480 --> 02:01:22,440
version went well, the 0.5 
version of the app was being 

2137
02:01:23,160 --> 02:01:25,800
written. 
It was still in JavaScript and 

2138
02:01:25,800 --> 02:01:30,080
it was a disaster. 
My God, it was just endless, 

2139
02:01:30,200 --> 02:01:33,920
endless bugs all over the place,
responses not matching for the 

2140
02:01:33,920 --> 02:01:36,640
server and so on. 
And at some point the CEO of our

2141
02:01:36,800 --> 02:01:40,320
development partner forced them 
to switch to TypeScript and 

2142
02:01:40,320 --> 02:01:42,160
sound lead was full of red 
squiggles. 

2143
02:01:42,160 --> 02:01:44,000
And then they squashed them to a
large part. 

2144
02:01:44,400 --> 02:01:51,120
And so now I do when I'm writing
XJS that I can define the types 

2145
02:01:51,120 --> 02:01:53,040
that I expect. 
I thought you. 

2146
02:01:53,120 --> 02:01:55,800
Just put any every. 
You just put any everywhere when

2147
02:01:55,800 --> 02:01:59,120
you use TypeScript. 
I put any in things that are 

2148
02:01:59,240 --> 02:02:01,560
obvious. 
Like if I have a mutator, it is 

2149
02:02:01,560 --> 02:02:03,560
called mutate. 
It's any. 

2150
02:02:03,560 --> 02:02:05,520
It's never going to turn 
anything else other than 

2151
02:02:05,520 --> 02:02:10,400
whatever a mutate. 
Why do you need to specify? 

2152
02:02:10,400 --> 02:02:14,240
It's like this is not this is 
this is too much. 

2153
02:02:14,240 --> 02:02:18,480
It's too much new tape is any I 
don't care whatever user SWR 

2154
02:02:18,480 --> 02:02:21,480
returns, but all the others 
strings, nulls, undefined, 

2155
02:02:21,480 --> 02:02:23,280
whatever that I find it quite 
useful. 

2156
02:02:23,280 --> 02:02:27,680
And for that is an LM is also 
useful like here's the API 

2157
02:02:27,680 --> 02:02:29,560
response. 
Just write me the interfaces 

2158
02:02:30,000 --> 02:02:37,040
copy paste goodbye by hand. 
So for me, for that web app, if 

2159
02:02:37,040 --> 02:02:41,520
I ever ever ever, which I hope I
never ever do, I needed to 

2160
02:02:41,520 --> 02:02:45,600
develop something next JS, which
I will not do because next JS is

2161
02:02:45,600 --> 02:02:49,320
going to crap. 
Also, there's no way I would 

2162
02:02:49,320 --> 02:02:53,360
ever write JavaScript. 
No way JavaScript just a pile 

2163
02:02:53,400 --> 02:02:55,640
of. 
But at least TypeScript makes it

2164
02:02:55,640 --> 02:03:00,280
tight, like tighter. 
And I like the function too. 

2165
02:03:02,400 --> 02:03:04,280
Yeah. 
All right. 

2166
02:03:04,640 --> 02:03:07,560
Well, this was fun. 
I think we can wrap it up. 

2167
02:03:07,560 --> 02:03:10,880
We've gone on like 2 hours, but 
it's always good having you on. 

2168
02:03:11,440 --> 02:03:15,840
And yeah, yeah. 
And you're, let's plug your new 

2169
02:03:15,840 --> 02:03:18,440
book that you're currently 
writing again, and the link for 

2170
02:03:18,440 --> 02:03:19,760
it is in the description of 
this. 

2171
02:03:19,760 --> 02:03:22,040
So you guys should go check it 
out and support Isaac. 

2172
02:03:23,200 --> 02:03:26,240
Thank you. 
But I forget what it's called. 

2173
02:03:26,280 --> 02:03:29,880
Elixir Engineering. 
Software engineering and there's

2174
02:03:29,880 --> 02:03:32,280
another one which is called 
Phoenix product codecs, which 

2175
02:03:32,280 --> 02:03:33,800
is. 
I've parked them for the time 

2176
02:03:33,800 --> 02:03:36,120
being because I'm too busy end 
of the year, but I will resume 

2177
02:03:36,120 --> 02:03:39,120
them in January. 
And the one is about writing an 

2178
02:03:39,120 --> 02:03:41,480
API client, the other one is 
about writing an API server. 

2179
02:03:41,960 --> 02:03:44,640
So it covers both sides. 
Amazing. 

2180
02:03:44,640 --> 02:03:45,720
That's awesome. 
Yeah. 

2181
02:03:45,760 --> 02:03:50,160
Well, again, thanks for sharing 
your knowledge with us and I 

2182
02:03:50,160 --> 02:03:52,760
always have a good time chatting
with you and everyone else. 

2183
02:03:52,760 --> 02:03:55,840
Thanks for tuning in and hope 
you guys have a good, good 

2184
02:03:55,840 --> 02:03:56,360
weekend.
