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