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