modperl branch collapsed back to MAIN trunk, man!
[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 ",
51                 "args_check"=>{
52                                 "referees"=>'', # Do not bother with '^(?:(?i)referees)?$'
53                                 },
54                 );
55 My::Web->heading();
56
57
58 my %item=( My::Project::item_hash_read() );
59 my @itemnames=sort {
60                 ($item{$b}{"priority"} <=> $item{$a}{"priority"})
61                 or (lc($item{$a}->{"name"}) cmp lc($item{$b}->{"name"}));
62                 } keys(%item);
63
64 my $projectref=sub
65 {
66 my($name)=@_;
67
68         return a_href "/project/$name/",$item{$name}{"name"},"attr"=>'class="project"';
69 };
70
71 my $project=sub
72 {
73 my($name,%args)=@_;
74
75         return &{$projectref}($name).($args{"bare"} ? '' : ': '.$item{$name}{"summary"});
76 };
77
78 my $free_projects=sub (@)
79 {
80 my(@platforms)=@_;
81
82         my $r="";
83         $r.=join ", ",map({ my $platform=$_;
84                 map({ ($item{$_}{"sponsorship"} || $item{$_}{"trivia"}
85                                 || $item{$_}{"platform"} ne $platform ? () : (&{$projectref}($_))); } @itemnames);
86                 } @platforms);
87         return $r;
88 };
89
90
91 my $reference=sub ($$)
92 {
93 my($mail,$fullname)=@_;
94
95         my $r="";
96         $r.='<td>';
97                 $r.=$fullname;
98                 if (lc($W->{"args"}{"referees"}) eq "referees") {
99                         my $rot13=Crypt::Rot13->new();
100                         $rot13->charge($mail);
101                         $mail=($rot13->rot13())[0];
102                         $r.=' &lt;'.a_href("mailto:$mail",$mail).'&gt;';
103                         }
104         $r.='</td>';
105         return $r;
106 };
107
108 sub techs ($)
109 {
110 my($arg)=@_;
111
112         return '<span class="techs">('.$arg.')</span>';
113 }
114
115
116 my $uClinux=a_href 'http://www.uclinux.com/','uClinux';
117 my $mailme=(map({ a_href("mailto:$_",$_); } 'job@jankratochvil.net'))[0];
118 my $now=(localtime())[5]+1900;
119
120 print <<"HERE";
121 <table width="100%" style="border-style: none;"><tr><td align="center"><table>
122 <tr><td rowspan="9" style="padding: 10px; vertical-align: middle;">
123                                 @{[ img "/resume/Resume-JanKratochvil","face" ]}</td>
124                 <td class="tab-head">Name    </td><td>Jan Kratochvil</td></tr>
125 <tr><td class="tab-head">English </td><td>technical: fluent, general: communicable</td></tr>
126 <tr><td class="tab-head">Born    </td><td>1979</td></tr>
127 <tr><td class="tab-head">Status  </td><td>single</td></tr>
128 <tr><td class="tab-head">Licenses</td><td>motorcycle, car</td></tr>
129 <tr><td class="tab-head">eMail   </td><td>$mailme</td></tr>
130 <tr><td class="tab-head">WWW     </td><td>@{[ a_href('http://www.jankratochvil.net/') ]}</td></tr>
131 <tr><td class="tab-head">Resume  </td><td>@{[ a_href('http://www.jankratochvil.net/resume/') ]}</td></tr>
132 <tr><td class="tab-head">OpenPGP </td><td style="font-family: monospace;">@{[ a_href '/pgp-JanKratochvil.txt',''
133                 .'pub  1024D/44FC7632 2002-10-07 Jan Kratochvil &lt;pgp-44FC7632@jankratochvil.net&gt;<br />'
134                 .'sub  2048g/D9F5F44B 2002-10-07 [expires 2004-10-06]' ]}</span></td></tr>
135 </table></td></tr></table>
136
137 @{[ vskip "2ex" ]}
138
139 <table>
140 <tr><td class="tab-head">Platforms    </td><td>GNU/Linux/i386/UNIX/FreeBSD, W32 kernel, Amiga/680x0, MS-DOS,
141                                                ZX Spectrum, handheld PC-E500S</td></tr>
142 <tr><td class="tab-head">Major Areas  </td><td>mobile technologies, filesystems, embedded devices</td></tr>
143 <tr><td class="tab-head">Languages    </td><td>C (Gnome/GCC), Perl, bash/awk/sed...,
144                                                Java, C++, Pascal, Basic, REXX, S-Lang, Foxplus, Prolog</td></tr>
145 <tr><td class="tab-head">Tools/Metalanguages</td>
146                                            <td>autoconf, automake, libtool, m4, CVS, gettext, bison, flex, ld&nbsp;script,
147                                                gdb&nbsp;script, Maple&nbsp;V</td></tr>
148 <tr><td class="tab-head">Assemblers   </td><td>i386, Motorola 680x0, Zilog&nbsp;Z80, Intel 8051, MIPS R2/3000,
149                                                (Hitachi SH-8)</td></tr>
150 <tr><td class="tab-head">WWW-Related  </td><td>(X)HTML, CSS, PHP, SQL (PostgreSQL, MySQL), JavaScript, CGI</td></tr>
151 <tr><td class="tab-head">Documentation</td><td>plainTeX, LaTeX, DocBook, DocBook Lite, XML/NS/Schema, nroff, pod</td></tr>
152 <tr><td class="tab-head">Libraries    </td><td>Gnome/GTK+/GLib, POSIX/BSD/SysV/threads/sockets, X11, OpenGL, NCurses,
153                                                S-Lang, GnomeVFS, libxml, SVGALib, NIS, Qt,...</td></tr>
154 <tr><td class="tab-head">RPC          </td><td>CORBA/ORBit, SOAP, Sun&nbsp;RPC</td></tr>
155 <tr><td class="tab-head">Protocols    </td><td>GSM SMS/PDU/Nokia&nbsp;Smart&nbsp;Messaging/EMS/MMS/SMIL/WAP/WSP/AMR/ETSI stds/3GPP stds,
156                                                IPv4, HTTP, SMTP/RFC822/MIME, FTP, SSH, DHCP, POP3, NFSv2, PPP/LCP/IPCP,...</td></tr>
157 <tr><td class="tab-head">Filesystems  </td><td>ext2, FAT, AmigaFFS, ISO-9660</td></tr>
158 <caption>Each technology involved in at least one of my past projects.</caption>
159 </table>
160
161 @{[ vskip "2ex" ]}
162
163 <table>
164 <tr><td>1984-1991</td><td class="platform">Platform:</td><td>Sinclair ZX Spectrum: Basic, Zilog Z80 machine code</td></tr>
165 <tr><td>1992-1997</td><td class="platform">Platform:</td><td>Amiga: Motorola 680x0 assembler, C, REXX</td></tr>
166 <tr><td>         </td><td class="platform">Projects:</td><td>@{[ &{$free_projects}("amiga") ]}</td></tr>
167 <tr><td>1993-1997</td><td class="platform">Platform:</td><td>PC/MS-DOS: i386 assembler, C, Pascal, OpenGL/Mesa, Foxplus</td></tr>
168 <tr><td>         </td><td class="platform">Unlisted Projects:</td><td>@{[ &{$free_projects}("dos") ]}</td></tr>
169 <tr><td>1993     </td><td class="com">@{[ a_href('http://www.japhila.cz/index_en.htm','Japhila') ]}</td>
170                 <td>StampMan: Database application @{[ techs 'MS-DOS: Pascal, plainTeX' ]}</td></tr>
171 <tr><td>1993-$now</td><td class="platform">Platform:</td><td>PC/GNU/Linux:
172                                                        C, Perl, bash/awk/sed..., Java, C++, ...</td></tr>
173 <tr><td>         </td><td class="platform">Unlisted Projects:</td><td>@{[ &{$free_projects}(qw(unixuser unixdevel web)) ]}</td></tr>
174 <tr><td>1993-1996</td><td class="com">Profes J&amp;K</td>
175                 <td>PC assembly and customer service</td></tr>
176 <tr><td>1998     </td><td class="com">@{[ a_href('http://www.elsa-online.org/',"European Law Students' Association") ]}</td>
177                 <td>@{[ &$project('step') ]} @{[ techs 'PHP, PostgreSQL' ]}<br />
178                     subtasks @{[ &$project('phphash',"bare"=>1) ]}, @{[ &$project('pgsqlsubstr',"bare"=>1) ]}</td></tr>
179 <tr><td>1998-1999</td><td class="com">@{[ a_href('http://www.geoinvest.cz/','Geoinvest') ]}</td>
180                 <td>@{[ a_href 'http://members.tripod.com/Stelios_Cellar/GSM/m1module.htm','Siemens M1' ]}
181                                                 GSM modem daemon, client/server, remote GSM terminals @{[ techs 'C, GSM, GPS, S-Lang' ]}<br />
182                                 GPLed subtask @{[ &$project('vblib') ]} @{[ techs 'C' ]}</td></tr>
183 <tr><td>1999     </td><td class="com">@{[ a_href('http://www.tencom.cz/','TENcom Trade') ]}</td>
184                 <td>@{[ a_href "/project/mdsms/","MobilDock SMS Tool","attr"=>'class="project"' ]} @{[ techs 'GSM/PDU' ]}</td></tr>
185 <tr><td>1999     </td><td class="com">@{[ a_href('http://www.geoinvest.cz/','Geoinvest') ]}</td>
186                 <td>@{[ &$project('332') ]} @{[ techs 'M680x0 asm, C' ]}<br />
187                                 subtask @{[ &$project('mot2as') ]}</td></tr>
188 <tr><td>1999     </td><td class="com">@{[ a_href('http://www.unicom-prague.cz/','Unicom') ]}</td>
189                 <td>Technical translations from English</td></tr>
190 <tr><td>1999-$now</td><td class="com">@{[ a_href('http://www.jklabs.cz/','JKLabs') ]}</td>
191                 <td>sysadmin GNU/Linux and FreeBSD, techsupport: GuestNET,
192                                 @{[ a_href 'http://www.2m.dk/web/html_version/eclipse/eclipse.html','Eclipse' ]},
193                                 @{[ a_href 'http://www.globaloop.com/','GlobaLoop' ]},
194                                 @{[ a_href 'http://www.antlimited.com/products/fresco.htm','Fresco' ]}</td></tr>
195 <tr><td>1999     </td><td class="com">@{[ a_href('http://www.jklabs.cz/','JKLabs') ]}</td>
196                 <td>IRQ redirector for legacy devices @{[ techs 'i386 asm' ]}</td></tr>
197 <tr><td>1999-2000</td><td class="com">@{[ a_href('http://www.suse.com/','SuSE') ]}</td>
198                 <td>@{[ &$project('surprise') ]} @{[ techs 'C, Gnome, m4' ]}<br />
199                                 subtask @{[ &$project('int13sniff') ]}<br />
200                                 subtask @{[ &$project('gladewsrc') ]}</td></tr>
201 <tr><td>2001     </td><td class="com">@{[ a_href('http://www.gtsgroup.cz/','GTS') ]}</td>
202                 <td>@{[ &$project('tac_plus') ]} @{[ techs 'C, Cisco TACACS+' ]}<br />
203                                 subtask @{[ &$project('mod_auth_tacacs') ]} @{[ techs 'C, Cisco TACACS+' ]}</td></tr>
204 <tr><td>2001     </td><td class="com">@{[ a_href('http://www.atspraha.cz/','Advanced Telecom Services') ]}</td>
205                 <td>@{[ &$project('mdsms') ]} - update for
206                                 @{[ a_href 'http://www.transportdata.de/html/produkte/siemens_m20t.php?lang=en',
207                                                 'Siemens M20' ]}
208                                 @{[ techs 'C, GSM PDU' ]}</td></tr>
209 <tr><td>2001     </td><td class="com">@{[ a_href('http://www.atspraha.cz/','Advanced Telecom Services') ]}</td>
210                 <td>@{[ a_href 'http://www.gnokii.org/','gnokii' ]}
211                                                 @{[ a_href 'http://www.jankratochvil.net/priv/gnokii/gnokii-lace-2001-11-17-01.tar.gz',
212                                                                 'driver for SMS gateway' ]}
213                                                 of GSM operator @{[ a_href('http://www.eurotel.cz/','EuroTel') ]}
214                                 (C, PostgreSQL)</td></tr>
215 <tr><td>2001     </td><td class="com">@{[ a_href('http://www.atspraha.cz/','Advanced Telecom Services') ]}</td>
216                 <td>@{[ &$project('gsmperl') ]} @{[ techs 'Perl, GSM EMS' ]}</td></tr>
217 <tr><td>2001     </td><td class="com">@{[ a_href('http://www.netcentrum.cz/','NetCentrum') ]}</td>
218                 <td>@{[ a_href 'http://www.gnokii.org/','gnokii' ]}
219                                 @{[ a_href 'http://www.jankratochvil.net/priv/gnokii/gnokii-0.4.0pre1_lace2001_11_14_01_netcentrum.diff',
220                                                 'driver for custom SMS gateway protocol' ]} @{[ techs 'C' ]}</td></tr>
221 <tr><td>2001     </td><td class="com">@{[ a_href('http://www.readynote.com/','ReadyNote') ]}</td>
222                 <td>@{[ &$project('mdsms') ]} port to embedded $uClinux
223                                 @{[ techs 'GSM, Nokia, uClinux' ]}</td></tr>
224 <tr><td>2002     </td><td class="com">@{[ a_href('http://www.readynote.com/','ReadyNote') ]}</td>
225                 <td>@{[ a_href 'http://www.mwiacek.com/gsm/gammu/gammu.html','mygnokii' ]}
226                                 @{[ a_href 'http://www.jankratochvil.net/priv/gnokii/mygnokii-0.3.3_pre8-gold_2002_03_10--uClinux2002_03_17_23_03/',
227                                                 'port to embedded' ]} $uClinux,
228                 @{[ a_href 'http://www.nokiausa.com/phones/5190/1,1162,,00.html','Nokia 5190' ]}
229                                 @{[ a_href 'http://www.jankratochvil.net/priv/gnokii/mygnokii-0.3.3_pre8-gold_2002_02_24-decodefile/',
230                                                 'sw-modem debugging' ]}
231                 @{[ techs 'GSM, Nokia, uClinux' ]}</td></tr>
232 <tr><td>2002     </td><td class="com">@{[ a_href('http://www.jklabs.cz/','JKLabs') ]}</td>
233                 <td>@{[ &$project('ssht') ]}</td></tr>
234 <tr><td>2002     </td><td class="com">@{[ a_href('http://www.jklabs.cz/','JKLabs') ]}</td>
235                 <td>@{[ &$project('middleman') ]}
236                                 for hotel system @{[ techs 'C, BSD, HTTP' ]}</td></tr>
237 <tr><td>2002     </td><td class="com">@{[ a_href('http://www.atspraha.cz/','Advanced Telecom Services') ]}</td>
238                 <td>MMS framework client via @{[ a_href('http://www.eurotel.cz/site/en/home/','EuroTel') ]} GSM operator
239                                                 (GSM MMS, Perl, XML, SOAP)<br />
240                                 subtasks @{[ a_href "/etmms/",'MMS center debugging',"attr"=>'class="project"' ]},
241                                                 @{[ &$project('etherealmmse',"bare"=>1) ]}, @{[ &$project('etherealwsp',"bare"=>1) ]}</td></tr>
242 <caption>Contractor Jobs</caption>
243 </table>
244
245 @{[ vskip "1ex" ]}
246
247 <table class="referees">
248 <tr><td class="com">@{[ a_href('http://www.japhila.cz/index_en.htm','Japhila') ]}</td>
249                 @{[ &{$reference}('wnavx(ng)wncuvyn.pbz','Bretislav Janik') ]}</tr>
250 <tr><td class="com">@{[ a_href('http://www.geoinvest.cz/','Geoinvest') ]}</td>
251                 @{[ &{$reference}('ohgna(ng)trbvairfg.pm','Lubor Otta') ]}</tr>
252 <tr><td class="com">@{[ a_href('http://www.tencom.cz/','TENcom Trade') ]}</td>
253                 @{[ &{$reference}('grfne(ng)grapbz.pm','Petr Tesar') ]}</tr>
254 <tr><td class="com">@{[ a_href('http://www.unicom-prague.cz/','Unicom') ]}</td>
255                 @{[ &{$reference}('erprcpr(ng)havpbz-centhr.pm','Valerie Bernardova') ]}</tr>
256 <tr><td class="com">@{[ a_href('http://www.jklabs.cz/','JKLabs') ]}</td>
257                 @{[ &{$reference}('wna.xbyne(ng)wxynof.pm','Jan Kolar') ]}</tr>
258 <tr><td class="com">@{[ a_href('http://www.gtsgroup.cz/','GTS') ]}</td>
259                 @{[ &{$reference}('Zvpunry.Znprx(ng)tgftebhc.pm','Michael Macek') ]}</tr>
260 <tr><td class="com">@{[ a_href('http://www.atspraha.cz/','Advanced Telecom Services') ]}</td>
261                 @{[ &{$reference}('zvpuny.ubenx(ng)ngfcenun.pm','Michal Horak') ]}</tr>
262 <tr><td class="com">@{[ a_href('http://www.readynote.com/','ReadyNote') ]}</td>
263                 @{[ &{$reference}('wcehrgg(ng)ernqlabgr.pbz','Jim Pruett') ]}</tr>
264 HERE
265
266 if (lc($W->{"args"}{"referees"}) ne "referees") {
267         print <<"HERE";
268                 <tr><td style="padding: 10px;" colspan="2">
269                         <hr />
270                         <form method="post" action="@{[ $W->{"resume_url"} ]}">
271                                 <p>Enter the word '<b>referees</b>' (without quotes) to disclose e-mail addresses:</p>
272                                 <input type="text" size="15" name="referees" value="@{[ CGI::escapeHTML($W->{"args"}{"referees"}) ]}" />
273                                 <input type="submit" value="Submit" />
274                                 <p>(spambot protection)</p>
275                         </form>
276                 </td></tr>
277 HERE
278         }
279
280 print <<"HERE";
281 <caption>Contractor Jobs Referees (chronologically)</caption>
282 </table>
283
284 @{[ vskip "2ex" ]}
285
286 <table>
287 <tr><td>1995</td><td>7th in the Central European Olympiad in Informatics</td></tr>
288 <tr><td>1996</td><td>4th in the International Competition in Programming</td></tr>
289 <tr><td>1997</td><td>1st in the International Competition in Programming</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>Bronze medal in the International Olympiad in Informatics, South Africa - Cape Town</td></tr>
292 </table>
293
294 @{[ vskip "3ex" ]}
295
296 <p style="font-size: larger;">Looking for a fulltime job. Relocation around the world expected.</p>
297 <p style="font-size: larger;">Contact: $mailme</p>
298 HERE
299
300
301 My::Web->footer();