/
yapc-eu-2008.html
273 lines (234 loc) · 7.95 KB
/
yapc-eu-2008.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>YAPC Europe 2008</title>
<!-- metadata -->
<meta name="version" content="S5 1.1" />
<meta name="presdate" content="20080827" />
<meta name="author" content="Jozef Kutej"/>
<meta name="company" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<!-- configuration parameters -->
<meta name="defaultView" content="slideshow" />
<!-- <meta name="defaultView" content="outline" /> -->
<meta name="controlVis" content="hidden" />
<!-- style sheet links -->
<link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" />
<!-- S5 JS -->
<script src="ui/default/slides.js" type="text/javascript"></script>
<!-- syntax highlighting -->
<link rel="stylesheet" type="text/css" href="ui/sh/sh_style.css" />
<script type="text/javascript" src="ui/sh/sh_main.js"></script>
<script type="text/javascript" src="ui/sh/sh_perl.js"></script>
<script type="text/javascript" src="ui/sh/sh_sql.js"></script>
</head>
<body><!-- onload='sh_highlightDocument();' -->
<div class="layout">
<div id="controls"><!-- DO NOT EDIT --></div>
<div id="currentSlide"><!-- DO NOT EDIT --></div>
<div id="header"></div>
<div id="footer">
<!-- added by Jozef :) -->
<div id="counter" style="float: right; margin-right: 10px;">60</div>
<span id="ignoreClicks" />
<h1>27. Aug 2008</h1>
<h2>YAPC Europe 2008</h2>
</div>
</div>
<div class="presentation">
<div class="slide">
<h1>YAPC Europe 2008</h1>
<h3>Jozef</h3>
<p><img src='yapc-eu-2008/yapc_logo_2008.png'/></p>
</div>
<div class="slide">
<h1>Stefan Hornburg (racke) </h1>
<!--
<div style="background-image: url('yapc-eu-2008/interchange.jpg'); background-repeat: no-repeat; background-position:center;">
-->
<h2>Interchange - The Open Source Online Shop Platform</h2>
<ul>
<li>released in 1995 => older architecture</li>
<li>build for more shops in one instalation</li>
<li>Business::UPS, Business::OnlinePayment</li>
<li>works in many production instalations</li>
</ul>
<!--
</div>
-->
</div>
<div class="slide">
<h1>Jan Henning Thorsen</h1>
<h2>The web, HTML and all that stuff</h2>
<ul>
<li>DOCTYPE - IMPORTANT! At char 1, line 1</li>
<li>all styles and js atributes belong to external files</li>
<li>external js at the end of the document</li>
<li>test page with linx/links/w3m that is how search engines "see" it</li>
<li>"Frames? They don't exist, forget you ever heard of them!"</li>
</ul>
</div>
<div class="slide">
<h1>Paul Johnson (pjcj)</h1>
<h2>Effective Code Coverage</h2>
<ul>
<li>cover -test</li>
<li>cover solaris_db other_db # join coverage from more machines</li>
<li>"# uncoverable subroutine" - to mark sub as "covered" in the report so that the red fields are not bothering over and over</li>
<li>.. and more # like uncoverable condition left, right, branch true, ...</li>
<li>reports: text, text2, html-basic, compilation, ... custom?</li>
</ul>
<p style="text-align: center;"><img src="" alt="" title=""></p>
</div>
<div class="slide">
<h1>Chris BinGOs Williams</h1>
<h2>Rough Guide to CPAN Testing</h2>
<ul>
<li>send test reports while installing:</li>
<ul>
<li>CPAN + CPAN::Reporter<br/>cpan, install CPAN::Reporter, reload CPAN, o conf init test_report</li>
<li>CPANPLUS + Test::Reporter<br/>i YAML::Tiny, i Test::Reporter, s conf email xyz@whatever.org, s conf cpantest 1, s conf cpantest_mx smtp.somedomain.com, s conf verbose 1, s save</li>
</ul>
<li>$ENV{AUTOMATED_TESTING} is set during smoking</li>
</ul>
</div>
<div class="slide">
<h1>Darko Obradovic</h1>
<h2>CoSAIR.org - Making of a Game AI Programming Platform</h2>
<ul>
<li>page where you can program and test AI in Perl</li>
<li>running malicious code using Safe.pm</li>
<li>use Time::HiRes qw(setitimer ITIMER_VIRTUAL);<br/>
timeout only on cpu time spend by the process</li>
<li>use Devel::Mallinfo qw(mallinfo);</li>
</ul>
</div>
<div class="slide">
<h1></h1>
<h2>Amazon webService</h2>
<ul>
<li>Amazon EC2 and S3 used a lot</li>
<li>easy way to get to storage/server</li>
<li>Net::Amazon::EC2</li>
<li>Catalyst::Model::S3</li>
<li>DBIx::Class::S3</li>
</ul>
<p style="text-align: center;"><img src="" alt="" title=""></p>
</div>
<div class="slide">
<h1>Léon Brocard (acme)</h1>
<h2>Working in the cloud</h2>
<ul>
<li>DNS by Gandi</li>
<li>Email & IM by Google</li>
<li>TODO by Hiveminder</li>
<li>Hosting, storage & network by Amazon</li>
</ul>
</div>
<div class="slide">
<h1>Erwan Lemonnier (R1)</h1>
<h2>Pragmatic Contract Programming in Perl</h2>
<ul><li>Sub::Contract</li></ul>
<pre>
contract('add')
->in( \&is_integer,
\&is_integer,
c => \&is_integer )
->enable;
sub add {
my ($a,$b,%args) = @_;
return $a+$b+$args{c};
}
</pre>
</div>
<div class="slide">
<h1>Lars Jorgensen</h1>
<h2>Making (large) legacy systems beautiful</h2>
<ul>
<li>Work towards a complete mental model of the system - by testing, installing</li>
<li>Keep it simple - remove code</li>
<li>Break it early - remove code</li>
<li>Always move forward</li>
<li>Choose small targets</li>
<li>Don’t take it personal</li>
</ul>
<p style="text-align: center;"><img src="" alt="" title=""></p>
</div>
<div class="slide">
<h1>Leo Lapworth (Ranguard)</h1>
<h2>Evolving Architecture - further</h2>
<ul>
<li>Apache::Size::limit</li>
<li>perlbal</li>
<li>mod_gzip</li>
<li>cache thinks for ever with versioning</li>
<li>MogileFS</li>
<li>manage systems using Puppet</li>
<li>monitor using Munin</li>
<li>distribute using TheSchwartz</li>
<li>use VMs (Xen) for testing constructing the whole system</li>
</ul>
</div>
<div class="slide">
<h1>Jesse Vincent</h1>
<h2>Step 3: Prophet - A peer to peer replicated property database</h2>
<ul>
<li>Prophet is a new 'distributed database'</li>
<li>db with history like wiki</li>
<li>offline operation</li>
<li>REST API</li>
<li>sd - P2P bug tracker with foreigh replicas (RT, Trac)</li>
<li>http://syncwith.us/</li>
</ul>
</div>
<div class="slide">
<h1>Michael Zedeler</h1>
<h2>Stream oriented processing with DSlib</h2>
<ul>
<li>Source -> Transformation -> Transformation -> Target</li>
<li>chained filter concept</li>
</ul>
</div>
<div class="slide">
<h1>Edmund von der Burg</h1>
<h2>Modifying databases - changing the schema in a controlled way</h2>
<ul>
<li>Developers are not sys-admins</li>
<li>Add metadata to the schema<br/>create table __metadata (...);</li>
<li>Put schema changes in version control</li>
<li>Make it easy for sys-admins</li>
<li>__PACKAGE__->add_step( comment => "bla", do => "alter ...", rollback => "alter ...")</li>
</ul>
</div>
<div class="slide">
<h1></h1>
<h2>.deb + .rpm</h2>
<ul>
<li>rpm</li>
<ul>
<li>Never mix CPAN-installed modules and package installed modules in the same Perl installation</li>
<li>cpanspec Calendar-Simple.1.20.tar.gz</li>
<li>rpmbuild -ba perl-Calendar-Simple.spec</li>
<li>rpm -Uvh perl-Calendar-Simple-1.20-1.fc9.noarch.rpm</li>
</ul>
<li>deb</li>
<ul>
<li>use pbuilder || cowbuilder</li>
<li>cpanp bas build in package creation capabilities</li>
<li>http://debian.pkgs.cpan.org/ - autogenerated debian repository from cpan</li>
</ul>
</ul>
</div>
<!-- <div class="slide" style="background: url('catalyst-tricks/view.jpg') right top no-repeat;"> -->
<div class="slide">
<h1>And that's it...</h1>
<h2>Questions?</h2>
<p style="text-align: center;"><img src="catalyst-tricks/questions.jpg" alt="" title=""></p>
</div>
</div>
</body>
</html>