-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
527 lines (339 loc) · 7.45 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
<!DOCTYPE html>
<html>
<head>
<title>Here be dragons</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="trabe-slide-pack.css">
<link rel="shortcut icon" href="assets/favicon.png" />
</head>
<body>
<textarea data-slide-pack>
-- trabe
# Trabe
-- who-we-are
* Asís García
* [[email protected]](mailto:[email protected])
* [@asischao](https://twitter.com/asischao)
* David Barral
* [[email protected]](mailto:[email protected])
* [@davidbarral](https://twitter.com/davidbarral)
-- full-image here-be-dragons
![](assets/here_be_dragons.jpg)
# Here be dragons
-- disclaimer
# Warning
## Contradictory opinions ahead
## Argue anytime!
-- tl-dr
# TL;DR
## Computer sucks!
## But it's ok
<!--
Ciclo de la mierda. Avanzar por obligación para no quedarse en la mierda. Meterse en la mierda al avanzar. etc.
-->
-- trabe-green
# What we do at Trabe
<!--
Mayormente aplicaciones web, etc.
-->
--
# Technology
## Diverse
## Many paradigms/langs/tools
## Fast paced change
--
# How to tackle this
--
# Specialization
## Comfort zone
--
# Embrace the change
## Try, change & evolve
## Widen perspective
--
# Easy vs Simple
## Unknown seems complex
<!--
Distinción entre Sencillo y lo simple. Todo lo desconocido parece menos sencillo aunque sea más simple
¿¿ Hacer mención a Hickey?
-->
--
# How we embrace
<!--
Pseudo cover. Imágen de fondo
Unos cogs, una máquina, un dominó de estos grandes...
-->
--
# To be a nerd
## Read, watch, play!
<!-- Feeds, newsletters, twitter, tech trends, popes -->
<!-- Indicadores de tecnologías. Condiciones o cosas que buscamos en las tecnologías. -->
<!-- Elegir/Descartamos. -> Documentados, toolset. Movimento. Enfocado a nuestra área -->
--
# Frustration driven
## Use your hatred
<!-- Solutions to specific problems Mix de tecnologías. Cubrir carencias de una con otra. -->
--
# Invest in happiness
## Seek novelty & fight boredom
--
# Teach someone
## College projects
--
# Some examples
<!-- Prueba de oncepto en mierda interna. Amor al arte pero util. Controlados 100%. PFCs, intranet, mierdas laterales -->
-- big-bullets
# Adoption
1. Ruby on Rails
2. MyFridge
3. Intranet
4. Real projects
-- big-bullets
# Adoption
1. Student project
2. Sidekiq
3. Real project
-- big-bullets
# Sane development
1. Angular
2. React
3. Redux
--
# Workarounds
## JRuby
## Ruby + Java
--
# Better tools
## SlidePack
[github.com/trabe/slide-pack](https://github.com/trabe/slide-pack)
-- big-bullets
# Better tools
1. CVS
2. SVN
3. GIT
4. Bitbucket
-- big-bullets hide-last
# Better tools
1. Eclipse
2. Netbeans
3. gEdit
4. Vim
5. Emacs
6. Vim
-- big-bullets
# Better tools
1. Eclipse
2. Netbeans
3. gEdit
4. Vim
5. Emacs
6. Vim
<!--
También inteliJ
-->
-- big-bullets
# Avoid problems
1. npm
2. yarn
2. Docker
-- big-bullets
# Avoid problems
1. Setup scripts
2. VM
3. Docker
-- full-image
![](assets/lessons.jpg)
# Lessons learned
<!-- Pseudo cover. Imágen de fondo -->
<!-- Lecciones aprendidas (o por aprender) de 10 años -->
--
# Never say never
-- quote
> Vim is crappy. I'll keep on using gEdit. Thanks!
> <cite>David</cite>
<!--
(p.ej VIM)
Ruby
Javascript
-->
--
# Failure is an option
## It's easy to make mistakes
<!--
No tener miedo a tirar cosas. Equivocarse es bueno.
No tener miedo a probar cosas.
No tener miedo a mezclar cosas. -> Tener cuidado con mezclar cosas.
Importancia probar y comprobar.
Cuando decides tu conocimiento es limitado ypuedes euivaocarte pero puedes arreglarlo
-->
--
# Always relativize
## No laws written in stone
<!--
Saber relativizar las verdades absolutas. ej. desacoplar todas las capas. Lo vemos con Rails.
-->
--
# Really embrace
## If you can
--
# OOP
## GlobalConstants / if-else
## vs
## Encapsulation / Polymorphism
--
# Functional javascript
## Classes
## vs
## functions + inmutable data
--
# Really embrace
# but always relativize
![](assets/troll.png)
--
# Beware of the hype!
## Microservices vs monoliths
## SPA vs Server side
--
# Prefer explicitness
## Just in time abstractions
<!--
Evitar la magia por la magia
No abstraer antes de tiempo, el futuro el código explicito
-->
-- quote
> duplication is far cheaper than the wrong abstraction
> <cite>Sandi Metz @sandimetz</cite>
--
# Be flexible
## Better to have code that can be changed/evolved rather than configured
<!--
Soluciones: a veces lo que haces es trasladar la complejidad... Una solución puede generar un problema diferente.
La importancia de ser flexible en una arquitectura para poder cambiar. (preferir flexibilidad a configuración)
No llevar el DRY hasta el extremo: La importancia de poder borrar código sin reventar todo.
-->
-- quote
> Write code that is easy to delete, not easy to extend.
> <cite>tef @ 0x00 @tef_ebooks</cite>
--
# Third party code
## Use a wrapper. Seriously
<!--
Usar librerías/código de terceros... ventajas, problemas. Importancia de los wrappers.
Cómo enfrentarse a casos en que encuentras una librería mejor: no mantener dos maneras de hacer las cosas o migrar o simplemente no cambiar.
-->
-- full-image
![](assets/lessons-hard.jpg)
<!-- Pseudo cover. Imágen de fondo -->
# The many hells of
# Computer Science
## Lessons learned the hard way
<!--
Los infiernos de la informatica: esas cosas que siempre están
ahí a pesar de tener herramientas mejores.
-->
-- quote
> There are only two hard things in Computer Science: cache invalidation and naming things
> <cite>Phil Karlton</cite>
--
# Easy cache invalidation
## LRU Caches<br/>+<br/>Auto expiring keys
--
# Easy naming
## There is no easy naming
## Sorry folks!
--
# There are more
# hard things
## Sorry about that!
--
# Encoding
## "Dear Ass"
<!-- ## Use UTF-8. Use iconv wisely -->
--
# Timezones
## UTC may fail you
<!--
beware of quirks. SQL (date)
-->
-- code
<!-- SELECT from date(created_at) -->
```
SELECT * FROM reports
WHERE (DATE(created_at) = '2016-11-09')
```
-- quote
> For the next two weeks #Turkey is on EEST... Erdogan Engineered Standard Time #SaatKac?
><cite>Ayse Karahasan @aysekarahasan</cite>
-- quote
> By the way: fuck time zones
> <cite>Steve Losh @stevelosh</cite>
--
# i18n, l11n, accessibility
## Some people just doesn't care
<!--
Treat i18n, l11n and accesibility as first class citizens
-->
--
# Floating point
## Money comes in cents
--
# Dependencies
## The npm nightmare
<!--
## A dependency manager is not a guarantee: e.g. npm
## Use virtual machines (docker)
-->
--
# Deployment + environments
## It runs in my laptop!
<!--
## Define enviroments from square one
## Automatize deployment as much as you can
-->
--
# Documentation
## TODO: Fix this
<!--
## Self explanatory code
## Document APIs
## Document wisely
## Treat documentation as part of the code
-->
--
# Multithreading
![](assets/multi_cpu.gif)
<!--
## Use multi process
## Avoid too much low level
# Inter Process Communication
* Unix Sockets
* Queues
* Shared memory
# Or use an abstraction
* Actors
* Promises
* CSP
# Or switch to erlang :P
-->
--
# Browser? fragmentation
![](assets/frag.png)
<!--
* Do your HTML5/CSS3/JS homework (it's all code!)
* Know how to tame browsers
* Know how to tame mobile
Polyfill
-->
--
<!-- Pseudo cover con background -->
# That's it!
## Questions?
-- full-image
![](assets/jake.gif)
# Thanks!
</textarea>
<!-- SlidePack markdown compilation & UI goodies -->
<script src="slide-pack.js"></script>
</body>
</html>