b1cbcfd6cb7d8caeb3228319d7ccbfcfa0a5f1f6
[www.jankratochvil.net.git] / resume / ResumeJanKratochvil.pm
1 # $Id$
2 # Resume page Perl template.
3 # Copyright (C) 2003-2005 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
18
19 package resume::ResumeJanKratochvil;
20 require 5.6.0;  # at least 'use warnings;' but we need some 5.6.0+ modules anyway
21 use vars qw($VERSION $CVS_ID);
22 $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
23 $CVS_ID=q$Id$;
24 use strict;
25 use warnings;
26
27 use My::Web;
28 require Crypt::Rot13;
29 Wrequire 'project::Lib';
30
31
32 sub Contact($)
33 {
34 my($self)=@_;
35
36         return (
37                 "Name"    =>"Jan Kratochvil",
38                 "English" =>"technical: fluent, general: communicable",
39                 "Born"    =>"1979",
40                 "Sex"     =>"male",
41                 "Licenses"=>"motorcycle, car",
42                 "eMail"   =>(map({ a_href("mailto:$_",$_); } 'job@jankratochvil.net'))[0],
43                 "Projects"=>a_href('http://www.jankratochvil.net/project/'),
44                 "Resume"  =>a_href('http://www.jankratochvil.net/resume/')."<br />"
45                            ."[ ".a_href('/resume/Resume-JanKratochvil.pdf','PDF')
46                            ."| ".a_href('/resume/Resume-JanKratochvil.txt','text')
47                            ."]",
48                 "OpenPGP" =>a_href('/pgp-JanKratochvil.txt','')
49                             .'pub  1024D/26A802B2 2004-01-17'."<br />"
50                             .'sub  2048g/A74DF86D 2004-01-17 [expires: 2007-01-16]'
51         );
52 }
53
54 sub handler
55 {
56 my $W=My::Web->init(
57                 "title"=>"Resume",
58                 "section"=>"Resume",
59                 "heading"=>0,
60                 "footer"=>0,
61                 "css_push"=>"/resume/ResumeJanKratochvil.css",
62                 "args_check"=>{
63                                 "referees"=>'', # Do not bother with '^(?:(?i)referees)?$'
64                                 "print"=>'^(?:print)?$',
65                                 },
66                 );
67 $W->{"args"}{"Wabs"}=1;
68 My::Web->heading();
69
70
71 my %item=project::Lib->name_to_hashref();
72 my @itemnames=sort {
73                 ($item{$b}{"priority"} <=> $item{$a}{"priority"})
74                 or (lc($item{$a}->{"name"}) cmp lc($item{$b}->{"name"}));
75                 } keys(%item);
76
77 my $projectref=sub
78 {
79 my($name)=@_;
80
81         return a_href "/project/$name/",$item{$name}{"name"},"attr"=>'class="project"';
82 };
83
84 my $project=sub
85 {
86 my($name,%args)=@_;
87
88         my $r=&{$projectref}($name);
89         if (!$args{"bare"}) {
90                 my $summary=$item{$name}{"summary"};
91                 $summary=~s#(?:<a\s[^>]*>|</a>)##gi;    # if $args{"unhref"};
92                 if (!$args{"parenthesis"}) {
93                         $r.=": $summary";
94                         }
95                 else {
96                         $r.=" ($summary)";
97                         }
98                 }
99         return $r;
100 };
101
102 my $free_projects=sub (@)
103 {
104 my(@platforms)=@_;
105
106         my $r="";
107         $r.=join ", ",map({ my $platform=$_;
108                 map({ ($item{$_}{"sponsorship"} || $item{$_}{"trivia"}
109                                 || $item{$_}{"platform"} ne $platform ? () : (&{$projectref}($_))); } @itemnames);
110                 } @platforms);
111         return $r;
112 };
113
114
115 my $reference=sub ($$)
116 {
117 my($mail,$fullname)=@_;
118
119         my $r="";
120         $r.='<td>';
121                 $r.=$fullname;
122                 if (lc($W->{"args"}{"referees"}) eq "referees") {
123                         my $rot13=Crypt::Rot13->new();
124                         $rot13->charge($mail);
125                         $mail=($rot13->rot13())[0];
126                         $r.=' &lt;'.a_href("mailto:$mail",$mail).'&gt;';
127                         }
128         $r.='</td>';
129         return $r;
130 };
131
132 sub techs ($)
133 {
134 my($arg)=@_;
135
136         return '<span class="techs">('.$arg.')</span>';
137 }
138
139
140 my $uClinux=a_href 'http://www.uclinux.com/','uClinux';
141 my $now=(localtime())[5]+1900;
142
143 print <<"HERE";
144 <table border="0" class="margin-center">
145 HERE
146 my @contact=__PACKAGE__->Contact();
147 while (@contact) {
148         my $key=shift @contact;
149         my $val=shift @contact;
150         print <<"HERE";
151 <tr>
152         <td class="tab-head">$key</td>
153         <td@{[ ($key ne "OpenPGP" ? '' : ' style="font-family: monospace; text-align: left;"') ]}>$val</td>
154 </tr>
155 HERE
156         }
157 print <<"HERE";
158 </table>
159
160 @{[ vskip "3ex" ]}
161
162 <table border="1" frame="border" rules="rows" class="jobs">
163 <caption>Fulltime Jobs</caption>
164 <tr><th>Date</th><th>Company</th>
165                 <th>Description</th></tr>
166 <tr><td>2005/04-now</td><td class="com">@{[ a_href 'http://www.valinux.co.jp/','VA Linux Systems Japan' ]}</td>
167                 <td>@{[ a_href 'http://www.kernel.org/','Linux kernel' ]}
168                                                 based development</td></tr>
169 <tr><td>2004/01-11</td><td class="com">@{[ a_href 'http://www.sun.com/','Sun Microsystems' ]}</td>
170                 <td>@{[ a_href 'http://www.sun.com/software/javaenterprisesystem/','Java Enterprise System' ]}
171                                                 Quality Assurance (JES&nbsp;QA), technical lead<br />
172                                 JES components compatibility analysis, automation of QA&nbsp;tasks,
173                                 JES testing, QA&nbsp;frameworks pilot deployments,
174                                 architecture and lead of the team projects, team programming guidelines
175                                 </td></tr>
176 </table>
177
178 @{[ vskip "1ex" ]}
179
180 <table border="1" frame="border" rules="rows" class="jobs">
181 <caption>Contractor Jobs</caption>
182 <tr><th>Date</th><th>Client</th>
183                 <th>Description</th></tr>
184 <tr><td>2002-2003</td><td class="com">- (freelance project)</td>
185                 <td>@{[ &$project('captive') ]}<br />
186                         Featured @{[ a_href 'http://slashdot.org/article.pl?sid=03/12/02/1536227','on slashdot' ]}.<br />
187                         Analysis of portions of 80MB+ i386 disassembly dumps of MS-Windows XP kernel and ntfs.sys
188                         for the first binary compatible reimplementation of the undocumented XP kernel subsystems.<br />
189                         Written @{[ &$project('TraceFS') ]}: MS-Windows Kernel API Tracer
190                         as native W32 kernel hooking driver for run-time analysis of the NT Cache Manager
191                         XP kernel subsystem.<br />
192                         UNIX userland of Captive provides GnomeVFS interface to the MS-Windows kernel
193                         based MS-Windows filesystem isolated by the CORBA/ORBit interface.
194                 </td></tr>
195 <tr><td>2001-2002</td><td class="com">@{[ a_href('http://www.atspraha.cz/','Advanced Telecom Services') ]}</td>
196                 <td>Mobile technologies
197                         <ul>
198                                 <li>MMS framework client via EuroTel GSM operator
199                                                 by technologies GSM&nbsp;MMS, Perl, XML, SOAP<br />
200                                                 Project included
201                                                 @{[ a_href "/etmms/",'pilot MMS Center debugging',"attr"=>'class="project"' ]} with
202                                                 Ethereal (@{[ a_href 'http://www.ethereal.com','external link' ]}), fixes of Ethereal
203                                                 (@{[ a_href '/project/etherealmmse/','1' ]}, @{[ a_href '/project/etherealwsp/','2' ]}).
204                                                 </li>
205                                 <li>Multimedia EMS support implemented by @{[ &$project('gsmperl',"bare"=>1) ]}</li>
206                                 <li>Implementation of protocol BIP (based on Nokia CIMD2 protocol) for GSM SMS Center direct communication
207                                                 by extending gnokii (@{[ a_href 'http://www.gnokii.org/','external link' ]})
208                                                 for EuroTel GSM operator</li>
209                         </ul>
210                 </td></tr>
211 <tr><td>1999-2000</td><td class="com">@{[ a_href('http://www.suse.com/','SuSE') ]}</td>
212                 <td>@{[ &$project('surprise') ]}<br />
213                         Project was completed as a team work. The code is based on Gnome technologies.
214                         As one of the subtasks to keep system bootability I implemented @{[ &$project('int13sniff',"bare"=>1) ]}
215                         to ease Microsoft boot loaders disassembly across partition modifications.
216                         </td></tr>
217 <tr><td>2001-2002</td><td class="com">@{[ a_href('http://www.readynote.com/','ReadyNote') ]}</td>
218                 <td>Mobile technologies for embedded devices
219                 <ul>
220                         <li>Completed debugging of gnokii (@{[ a_href 'http://www.gnokii.org/','external link' ]}) GSM software modem
221                                         for Nokia 5190</li>
222                         <li>Port of gnokii and my @{[ &$project('mdsms',"parenthesis"=>1) ]} to embedded
223                                         uClinux (@{[ a_href 'http://www.uclinux.org/','external link' ]})</li>
224                 </ul>
225                 </td></tr>
226 <tr><td>1999-2003</td><td class="com">@{[ a_href('http://www.jklabs.cz/','JKLabs') ]}</td>
227                 <td>System administration of GNU/Linux and FreeBSD, techsupport: GuestNET,
228                                 @{[ a_href 'http://www.2m.dk/web/html_version/eclipse/eclipse.html','Eclipse' ]},
229                                 @{[ a_href 'http://www.globaloop.com/','GlobaLoop' ]},
230                                 @{[ a_href 'http://www.antlimited.com/products/fresco.htm','Fresco' ]}<br />
231                         Ad hoc technical support challenges such as i386 IRQ redirector,
232                         @{[ &$project('middleman',"parenthesis"=>1,"unhref"=>1) ]} or @{[ &$project('ssht',"parenthesis"=>1,"unhref"=>1) ]}.
233                 </td></tr>
234 <tr><td>2001     </td><td class="com">@{[ a_href('http://www.gtsgroup.cz/','GTS') ]}</td>
235                 <td>@{[ &$project('tac_plus') ]}</td></tr>
236 <tr><td>1999     </td><td class="com">@{[ a_href('http://www.unicom-prague.cz/','Unicom') ]}</td>
237                 <td>Technical translations from English</td></tr>
238 <tr><td>1998-1999</td><td class="com">@{[ a_href('http://www.geoinvest.cz/','Geoinvest') ]}</td>
239                 <td>Mobile technologies, embedded devices
240                         <ul>
241                                 <li>@{[ &$project('332') ]}</li>
242                                 <li>Siemens M1 GSM modem daemon for GPS, client/server setup, remote GSM terminals</li>
243                         </ul>
244                 </td></tr>
245 <tr><td>1999     </td><td class="com">@{[ a_href('http://www.tencom.cz/','TENcom Trade') ]}</td>
246                 <td>Mobile technologies
247                         <ul>
248                                 <li>@{[ a_href "/project/mdsms/","MobilDock SMS Tool","attr"=>'class="project"' ]}:
249                                                 SMS communication software for Digital UNIX</li>
250                         </ul>
251                 </td></tr>
252 <tr><td>1998     </td><td class="com">@{[ a_href('http://www.elsa-online.org/',"European Law Students' Association") ]}</td>
253                 <td>@{[ &$project('step') ]} incl. fixes of
254                                 @{[ a_href "/project/phphash/","PHP","attr"=>'class="project"' ]} and
255                                 @{[ a_href "/project/pgsqlsubstr/","PostgreSQL","attr"=>'class="project"' ]}</td></tr>
256 <tr><td>1993-1996</td><td class="com">Profes J&amp;K</td>
257                 <td>PC assembly and customer service</td></tr>
258 <tr><td>1993     </td><td class="com">@{[ a_href('http://www.japhila.cz/index_en.htm','Japhila') ]}</td>
259                 <td>StampMan: Database application @{[ techs 'MS-DOS: Pascal, plainTeX' ]}</td></tr>
260 </table>
261
262 @{[ vskip "1ex" ]}
263
264 <table class="referees">
265 <caption>Contractor Jobs Referees (reversed chronological order)</caption>
266 <tr><td class="com">@{[ a_href('http://www.sun.com/','Sun Microsystems') ]}</td>
267                 @{[ &{$reference}('xnery.mngybhxny(ng)fha.pbz','Karel Zatloukal') ]}</tr>
268 <tr><td class="com">@{[ a_href('http://www.atspraha.cz/','Advanced Telecom Services') ]}</td>
269                 @{[ &{$reference}('zvpuny.ubenx(ng)ngfcenun.pm','Michal Horak') ]}</tr>
270 <tr><td class="com">@{[ a_href('http://www.readynote.com/','ReadyNote') ]}</td>
271                 @{[ &{$reference}('wcehrgg(ng)ernqlabgr.pbz','Jim Pruett') ]}</tr>
272 <tr><td class="com">@{[ a_href('http://www.jklabs.cz/','JKLabs') ]}</td>
273                 @{[ &{$reference}('wna.xbyne(ng)wxynof.pm','Jan Kolar') ]}</tr>
274 <tr><td class="com">@{[ a_href('http://www.gtsgroup.cz/','GTS') ]}</td>
275                 @{[ &{$reference}('Zvpunry.Znprx(ng)tgftebhc.pm','Michael Macek') ]}</tr>
276 <tr><td class="com">@{[ a_href('http://www.unicom-prague.cz/','Unicom') ]}</td>
277                 @{[ &{$reference}('erprcpr(ng)havpbz-centhr.pm','Valerie Bernardova') ]}</tr>
278 <tr><td class="com">@{[ a_href('http://www.geoinvest.cz/','Geoinvest') ]}</td>
279                 @{[ &{$reference}('ohgna(ng)trbvairfg.pm','Lubor Otta') ]}</tr>
280 <tr><td class="com">@{[ a_href('http://www.tencom.cz/','TENcom Trade') ]}</td>
281                 @{[ &{$reference}('grfne(ng)grapbz.pm','Petr Tesar') ]}</tr>
282 <tr><td class="com">@{[ a_href('http://www.japhila.cz/index_en.htm','Japhila') ]}</td>
283                 @{[ &{$reference}('wnavx(ng)wncuvyn.pbz','Bretislav Janik') ]}</tr>
284 HERE
285
286 if (lc($W->{"args"}{"referees"}) ne "referees") {
287         print <<"HERE";
288                 <tr><td style="padding: 10px;" colspan="2">
289                         <hr />
290                         <form method="post" action="@{[ uri_escaped(path_web $W->{"resume_url"}) ]}">
291                                 <p>Enter the word '<b>referees</b>' (without quotes) to disclose e-mail addresses:<br />
292                                 <input type="text" size="15" name="referees" value="@{[ escapeHTML($W->{"args"}{"referees"}) ]}" /><br />
293                                 <input type="submit" value="Submit" /><br />
294                                 (spambot protection)</p>
295                         </form>
296                 </td></tr>
297 HERE
298         }
299
300 print <<"HERE";
301 </table>
302
303 @{[ vskip "2ex" ]}
304
305 <table>
306 <caption>Awards</caption>
307 <tr><td>1997</td><td>Bronze medal in the International Olympiad in Informatics, South Africa - Cape Town</td></tr>
308 <tr><td>1997</td><td>2nd in an MO-P national contest - mathematics Olympiad, the programming category</td></tr>
309 <tr><td>1997</td><td>1st in the International Competition in Programming</td></tr>
310 <tr><td>1996</td><td>4th in the International Competition in Programming</td></tr>
311 <tr><td>1995</td><td>7th in the Central European Olympiad in Informatics</td></tr>
312 </table>
313
314 @{[ vskip "2ex" ]}
315
316 <table>
317 <caption>Experience Summary</caption>
318 <tr><td class="tab-head">Major Areas  </td><td>mobile technologies, filesystems, embedded devices</td></tr>
319 <tr><td class="tab-head">Platforms    </td><td>GNU/Linux/i386/UNIX/FreeBSD, W32 kernel, Amiga/680x0, MS-DOS,
320                                                ZX Spectrum, handheld PC-E500S</td></tr>
321 <tr><td class="tab-head">Languages    </td><td>C (Gnome/GCC), Perl, bash/awk/sed...,
322                                                Java, C++, Pascal, Basic, REXX, S-Lang, Foxplus, Prolog</td></tr>
323 <tr><td class="tab-head">Tools/Metalanguages</td>
324                                            <td>autoconf, automake, libtool, m4, CVS, gettext, bison, flex, ld&nbsp;script,
325                                                gdb&nbsp;script, Maple&nbsp;V</td></tr>
326 <tr><td class="tab-head">Assemblers   </td><td>i386/x86_64, Motorola 680x0, Zilog&nbsp;Z80, Intel 8051, MIPS R2/3000,
327                                                (Hitachi SH-8)</td></tr>
328 <tr><td class="tab-head">WWW-Related  </td><td>HTML/XHTML, CSS, PHP, SQL (PostgreSQL, MySQL), JavaScript, CGI</td></tr>
329 <tr><td class="tab-head">Documentation</td><td>plainTeX, LaTeX, DocBook, DocBook Lite, XML/NS/Schema,
330                                                gtk-doc, nroff, pod</td></tr>
331 <tr><td class="tab-head">Libraries    </td><td>Gnome/GTK+/GLib, POSIX/BSD/SysV/threads/sockets, X11, OpenGL, NCurses,
332                                                S-Lang, GnomeVFS, libxml, SVGALib, NIS, Qt,...</td></tr>
333 <tr><td class="tab-head">RPC          </td><td>CORBA/ORBit, SOAP, WSDL, Sun&nbsp;RPC</td></tr>
334 <tr><td class="tab-head">Protocols    </td><td>GSM SMS/PDU/Nokia&nbsp;Smart&nbsp;Messaging/EMS/WAP/WTP/WSP/MMSE/SMIL/WML/AMR/ETSI stds/3GPP stds,
335                                                IPv4, HTTP, SMTP/RFC822/MIME, FTP, SSH, DHCP, POP3, NFS v2/v3, PPP/LCP/IPCP,...</td></tr>
336 <tr><td class="tab-head">Filesystems  </td><td>ext2, FAT, AmigaFFS, ISO-9660</td></tr>
337 </table>
338
339 @{[ vskip "2ex" ]}
340
341 <table border="1" frame="border" rules="groups">
342 <caption>My Own Free Projects</caption>
343 <thead>
344         <tr><td colspan="2" style="font-size: larger;" align="center">
345                 Detailed listing available at: @{[ a_href 'http://www.jankratochvil.net/projects/' ]}
346         </td></tr>
347 </thead>
348 <tbody>
349         <tr><th>Platform</th><th>Available Free Projects</th></tr>
350 HERE
351         my @platforms=@project::Lib::platforms;
352         while (@platforms) {
353                 my $platform_sym =shift @platforms;
354                 my $platform_name=shift @platforms;
355                 print "<tr>";
356                         print '<td>'.a_href('/project/#'.$platform_sym,$platform_name).'</td>';
357                         print '<td>'.&{$free_projects}($platform_sym).'</td>';
358                 print "</tr>\n";
359                 }
360 print <<"HERE";
361 </tbody>
362 </table>
363 HERE
364
365
366 My::Web->footer();
367 }
368 1;