<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1719955341651955232</id><updated>2024-09-24T20:21:57.767+02:00</updated><category term="vim"/><category term="Apple"/><category term="Choco solver"/><category term="Erasmus"/><category term="PCP strategy"/><category term="S/MIME"/><category term="TOEFL"/><category term="Utrecht"/><category term="chrome"/><category term="e-mail"/><category term="firefox"/><category term="javascript"/><category term="openSSL"/><category term="opera"/><category term="python"/><category term="pythonchallenge"/><category term="registration"/><category term="teamwork"/><category term="test"/><category term="video download"/><category term="vimtutor"/><category term="web browser"/><category term="youtube"/><title type='text'>Tomik&#39;s Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tomaskypta.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://tomaskypta.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Tomas Kypta</name><uri>http://www.blogger.com/profile/03626810367416360233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1719955341651955232.post-3072483161665665270</id><published>2010-07-10T17:32:00.002+02:00</published><updated>2010-07-10T17:55:24.501+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="e-mail"/><category scheme="http://www.blogger.com/atom/ns#" term="openSSL"/><category scheme="http://www.blogger.com/atom/ns#" term="S/MIME"/><title type='text'>Ověření S/MIME e-mailu pomocí openSSL</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;S/MIME je standart pro zabezpečení elektronické pošty. Pokud dostanete podepsaný e-mail je potřeba ho ověřit. Ověření je jednoduché. Stačí mít nainstalováno openSSL. Potom stačí jen uložit e-mail do souboru, např. &lt;span class=&quot;Apple-style-span&quot;  style=&quot;line-height: 23px;  font-family:Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;mail.txt&lt;/span&gt;&lt;/span&gt; a v příkazové řádce spustit následující příkazy (jde o bash syntaxi, uživatelé woken musí použít cygwin pro přesnou reprodukci). Následující příkaz extrahuje certifikát:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;  color: rgb(0, 153, 0); line-height: 23px; font-family:Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;openssl smime -pk7out -in mail.txt | openssl pkcs7 -print_certs &gt; extract.crt&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;  color: rgb(0, 153, 0); line-height: 23px; font-family:Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Nyní je potřeba extrahovaný certifikat ověřit:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;  line-height: 23px; font-family:Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 153, 0); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;openssl smime -CAfile extract.crt -verify -in mail.txt&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;  line-height: 23px; font-family:Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 153, 0); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Pokud je verifikace úspěšná vypíše se na konci výstupu &lt;span class=&quot;Apple-style-span&quot;  style=&quot;line-height: 23px;  font-family:Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Verification successful&lt;/span&gt;&lt;/span&gt;. V opačném případě je verifikace neúspěšná a s e-mailem je něco špatně (někdo manipuloval s obsahem, špatně podepsaný mail, ...).&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/3072483161665665270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/3072483161665665270'/><link rel='alternate' type='text/html' href='http://tomaskypta.blogspot.com/2010/07/overeni-smime-e-mailu-pomoci-openssl.html' title='Ověření S/MIME e-mailu pomocí openSSL'/><author><name>Tomas Kypta</name><uri>http://www.blogger.com/profile/03626810367416360233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1719955341651955232.post-1721388446776861685</id><published>2010-06-11T10:40:00.002+02:00</published><updated>2010-06-11T10:48:33.185+02:00</updated><title type='text'>HTC Evo 4G - recenze</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Před pár týdny prezentoval Google na své konferenci Google I/O nový supertelefon HTC Evo 4G s operačním systémem Android. HTC Evo je naprosto výjimečný telefon, jako jeden z velice mála zvládá 4G připojení, má HDMI výstup, dvě kamery, velmi užitečný stojánek a mnoho dalších vychytávek. Pokud se o tomto telefonu chcete dozvědět více, čtěte &lt;a href=&quot;http://www.svetandroida.cz/htc-evo-recenze-a-odpovedi-201006&quot;&gt;recenzi&lt;/a&gt; na serveru &lt;a href=&quot;http://www.svetandroida.cz&quot;&gt;www.svetandroida.cz&lt;/a&gt;.&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/1721388446776861685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/1721388446776861685'/><link rel='alternate' type='text/html' href='http://tomaskypta.blogspot.com/2010/06/htc-evo-4g-recenze.html' title='HTC Evo 4G - recenze'/><author><name>Tomas Kypta</name><uri>http://www.blogger.com/profile/03626810367416360233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1719955341651955232.post-6795370411742477096</id><published>2010-06-02T18:45:00.009+02:00</published><updated>2010-06-11T14:59:58.245+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><title type='text'>Menší tip pro linuxáky</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Každý správný linuxový geek už asi zažil, že ve Vimu zeditoval soubor, ale potom zjistil, že zrovna nemá práva pro uložení změn. No prostě opruz. Vždycky jsem si říkal, že to nějak jde, ale byl jsem tak trochu líný hledat ten správný příkaz. Až teď jsem na něj náhodou narazil na: &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;a href=&quot;http://chrisadams.me.uk/2010/06/01/nerdy-vim-tip-ahoy-how-to-save-a-file-as-the-root-user-from-inside-vim/&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;http://chrisadams.me.uk/2010/06/01/nerdy-vim-tip-ahoy-how-to-save-a-file-as-the-root-user-from-inside-vim/&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Příkaz je to opravdu jednoduchý: &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot; color: rgb(51, 51, 51); font-family:monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#CC33CC;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;blockquote  style=&quot;background-;color:#EEEEEE;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;padding-left: 6px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000000;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#CC33CC;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt;w&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt; &lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000000;&quot;&gt;!&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#CC33CC;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt;sudo&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt; &lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt;tee&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt; &lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000000;&quot;&gt;%&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/6795370411742477096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/6795370411742477096'/><link rel='alternate' type='text/html' href='http://tomaskypta.blogspot.com/2010/06/mensi-tip-pro-linuxaky.html' title='Menší tip pro linuxáky'/><author><name>Tomas Kypta</name><uri>http://www.blogger.com/profile/03626810367416360233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1719955341651955232.post-657997052387432092</id><published>2010-01-30T19:49:00.009+01:00</published><updated>2010-01-30T20:47:28.898+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="firefox"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="opera"/><category scheme="http://www.blogger.com/atom/ns#" term="test"/><category scheme="http://www.blogger.com/atom/ns#" term="web browser"/><title type='text'>Web Browser JavaScript Test</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;The quality of web browsers is frequently discussed. Some favour Mozilla Firefox, some Opera, some Google Chrome, and many curse Internet Explorer. I&#39;m not using Windows therefore IE is no concern of mine. &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;I met &lt;a href=&quot;http://www.whatbrowser.org/&quot;&gt;this&lt;/a&gt; web page today and I&#39;ve decided to run all the diagnostic tests that are referenced there. These test include: &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;V8 Benchmark Suite - version 5&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Acid3 Web Standarts Test&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Sunspider JavaScript Benchmark&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Dromaeo Performance Tests&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;I ran all these tests on my 64-bit Karmic Koala. I tested Mozilla Firefox version 3.5.7, Google Chrome version 4.0.249.43 and Opera 10.10.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Guess who the winner is. Not surprisingly, it&#39;s the youngest contestant - Google Chrome. Its V8 JavaScript engine is legen...wait for it...dary. Overall benchmark results are in the table. You can clearly see that Google Chrome dominates in all the JavaScript tests. There is a huge gap between Chrome and the second Firefox. The poorest did Opera. Acid3 test showed some problems in Firefox, all other browsers were flawless.&lt;/div&gt;&lt;center&gt;&lt;br /&gt;&lt;table style=&quot;border: 1px solid black;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;&lt;br /&gt;&lt;/th&gt;&lt;th&gt;Chrome&lt;/th&gt;&lt;th&gt;Firefox&lt;/th&gt;&lt;th&gt;Opera&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;text-align:right&quot;&gt;&lt;td&gt;V8&lt;/td&gt;&lt;td&gt;2763&lt;/td&gt;&lt;td&gt;211&lt;/td&gt;&lt;td&gt;168&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;text-align:right&quot;&gt;&lt;td&gt;Acid3&lt;/td&gt;&lt;td&gt;100/100&lt;/td&gt;&lt;td&gt;93/100&lt;/td&gt;&lt;td&gt;100/100&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;text-align:right&quot;&gt;&lt;td&gt;Sunspider&lt;/td&gt;&lt;td&gt;596.2 ms&lt;/td&gt;&lt;td&gt;2909.4 ms&lt;/td&gt;&lt;td&gt;4953.4 ms&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;text-align:right&quot;&gt;&lt;td&gt;Dromaeo&lt;/td&gt;&lt;td&gt;209.83 runs/s&lt;/td&gt;&lt;td&gt;44.79 runs/s&lt;/td&gt;&lt;td&gt;28.43 runs/s&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/center&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/657997052387432092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/657997052387432092'/><link rel='alternate' type='text/html' href='http://tomaskypta.blogspot.com/2010/01/web-browser-javascript-test.html' title='Web Browser JavaScript Test'/><author><name>Tomas Kypta</name><uri>http://www.blogger.com/profile/03626810367416360233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1719955341651955232.post-8350665439490210726</id><published>2009-12-06T11:33:00.004+01:00</published><updated>2009-12-08T19:55:53.905+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="registration"/><category scheme="http://www.blogger.com/atom/ns#" term="TOEFL"/><title type='text'>TOEFL registration</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Recently, I decided to take the TOEFL exam. TOEFL is really useful if you want to get a position in a foreign company or if you want to study abroad. So I googled where I have to register: &lt;a href=&quot;http://www.ets.org/&quot;&gt;www.ets.org&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To sign up for the test you have to register at the web page at first place. So I tried to do it. I intentionally use a verb &#39;try&#39; here because I failed. Why? The reason is a little strange architecture of the site. It doesn&#39;t allow anyone to have multiple user accounts. If you had registered some time ago you have to remember your login information! Write it down! They are not mailing any login information! Although the architecture of the web page seem really strange and inapt, there&#39;s a reason why ETS needs a web page with limited registration. The delay between two subsequent TOEFL exams is limited.&lt;br /&gt;&lt;br /&gt;If you had registred and you don&#39;t remember you login information, the site provides some assistance to retrieve login information. Unfortunately, I found all these assistance procedures completely useless. I wasn&#39;t even able to figure out my user name. And, due to some lower/uppercase issues, I also failed to provide correct answer for the control question. After few wrong tries the site was blocking all other tries.&lt;br /&gt;&lt;br /&gt;In case you have troubles, you can call a help desk. But it&#39;s an american phone number. I&#39;m not really eager to call to the US! So my last chance was an e-mail. Fortunatelly, several emails and days later, ETS representatives sent me a new password and my forgotten user name. Really, write it down!&lt;br /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/8350665439490210726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/8350665439490210726'/><link rel='alternate' type='text/html' href='http://tomaskypta.blogspot.com/2009/12/toefl-registration.html' title='TOEFL registration'/><author><name>Tomas Kypta</name><uri>http://www.blogger.com/profile/03626810367416360233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1719955341651955232.post-2828419062334786324</id><published>2009-10-16T11:54:00.004+02:00</published><updated>2009-10-16T12:28:06.421+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="pythonchallenge"/><title type='text'>Python Challenge</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Recently, I was writing about a convenient way of learning some Vim basics. Today I&#39;m writing about a convenient way of learning Python. Python is an interpreted programming language, very useful for various computations, it&#39;s an extremely strong &quot;calculator&quot;.&lt;br /&gt;&lt;br /&gt;Learning a new programming language always brings some inconvenience. If you are an experienced programmer, you can usually figure out an algorithm solving the problem quickly. Then the problem is to realise how to write it down in the new language, and learning the syntax remains the biggest problem for you. I came across an interesting way of learning Python - Python Challenge. You can find it on the address &lt;a href=&quot;http://www.pythonchallenge.com&quot;&gt;http://www.pythonchallenge.com&lt;/a&gt;. The learning is done by a series of task you have to fulfil. A task is often in the form of a riddle and you have to write a simple program to solve it.&lt;br /&gt;&lt;br /&gt;So, if you are interested in learning Python and/or enjoy solving riddles, try it!&lt;br /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/2828419062334786324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/2828419062334786324'/><link rel='alternate' type='text/html' href='http://tomaskypta.blogspot.com/2009/10/python-challenge.html' title='Python Challenge'/><author><name>Tomas Kypta</name><uri>http://www.blogger.com/profile/03626810367416360233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1719955341651955232.post-6531314794828332956</id><published>2009-09-25T00:03:00.005+02:00</published><updated>2009-10-16T12:28:44.393+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><category scheme="http://www.blogger.com/atom/ns#" term="vimtutor"/><title type='text'>The Power of Vim</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Every *nix programmer definetely knows Vim editor. Vim is an extremely strong editor. Although there are many GUI-based editors, I think Vim is superior. Once a programmer masters the efficient commands and command combinations, he be much faster in his work.&lt;br /&gt;&lt;br /&gt;Although I know and use Vim several years, I don&#39;t know every command it provides. There are too many of them! Recently, I ran into a blog post mentioning a tutorial for Vim called &#39;&lt;span style=&quot;font-family:courier new;&quot;&gt;vimtutor&lt;/span&gt;&#39; which I hadn&#39;t know before. If you have Vim installed, try it!. Type &#39;&lt;span style=&quot;font-family:courier new;&quot;&gt;vimtutor&lt;/span&gt;&#39; and let it guide you through the tutorial. It shows only the basic commands, still, I think it&#39;s a great start to Vim.&lt;br /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/6531314794828332956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/6531314794828332956'/><link rel='alternate' type='text/html' href='http://tomaskypta.blogspot.com/2009/09/power-of-vim.html' title='The Power of Vim'/><author><name>Tomas Kypta</name><uri>http://www.blogger.com/profile/03626810367416360233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1719955341651955232.post-6254198223741547357</id><published>2009-07-27T14:11:00.003+02:00</published><updated>2009-07-27T14:42:54.925+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Choco solver"/><category scheme="http://www.blogger.com/atom/ns#" term="PCP strategy"/><title type='text'>Precedence Constraint Posting (PCP) search strategy in Choco solvera</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Using a PCP strategy in Choco constraint solver is rather problematic. The solver natively supports search strategies based on assigning a value to a variable. On the other hand PCP strategies are based on posting constraints. This is not natively supported. There are basically two way how to gain this functionality in Choco solver.&lt;br /&gt;&lt;br /&gt;The first way is to extend the model with some extra constraints that can be bound to a variable, then &lt;span style=&quot;font-family: courier new;&quot;&gt;AssignVar&lt;/span&gt; strategy with a specified variable and value selection can be used. To solve a scheduling problem a &lt;span style=&quot;font-family: courier new;&quot;&gt;preceding&lt;/span&gt; constraint is suitable. The constraint has an extra boolean variable that specifies the precedence of given tasks. The search strategy then decides about these boolean variables first. Unfortunately, only several constraints has a variable that can be effectively used to create a PCP strategy.&lt;br /&gt;&lt;br /&gt;Another way to use PCP strategy in Choco is much more complicated, the point is to implement an  extension of abstract class &lt;span style=&quot;font-family: courier new;&quot;&gt;AbstractLargeIntBranching&lt;/span&gt; that does what is required. Likewise, some useful selectors can be defined. The advantage of this approach is the generality, you can implement whichever strategy you like. I implemented some PCP strategies this way. A good pattern for this is &lt;span style=&quot;font-family: courier new;&quot;&gt;CstrBranching&lt;/span&gt; class. It is a PCP implementation that can be found in svn sources in version 2.0.0 of the solver. The svn address is &lt;code&gt;https://choco.svn.sourceforge.net/svnroot/choco.&lt;/code&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/6254198223741547357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/6254198223741547357'/><link rel='alternate' type='text/html' href='http://tomaskypta.blogspot.com/2009/07/precedence-constraint-posting-pcp.html' title='Precedence Constraint Posting (PCP) search strategy in Choco solvera'/><author><name>Tomas Kypta</name><uri>http://www.blogger.com/profile/03626810367416360233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1719955341651955232.post-3974716590785923332</id><published>2009-02-06T15:08:00.005+01:00</published><updated>2009-10-16T12:29:41.247+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="video download"/><category scheme="http://www.blogger.com/atom/ns#" term="youtube"/><title type='text'>Easy youtube video download</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Recently, I found on the internet an easy and tricky way how to download videos from youtube.com. Lots of people surely heard about some programs or plugins enabling video downloads from this website. The way I&#39;m going to write about here is much more easier and moreover you needn&#39;t install any program or plugin on your system. You only have to view the video, that you wish to download, on youtube.com and then write in you address link:&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;;font-family:courier new;font-size:78%;&quot;  &gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;blockquote&gt;javascript:if(document.location.href.match(/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/)){document.location.href=&#39;http://www.youtube.com/get_video?fmt=&#39;+(isHDAvailable?&#39;22&#39;:&#39;18&#39;)+&#39;&amp;amp;video_id=&#39;+swfArgs[&#39;video_id&#39;]+&#39;&amp;amp;t=&#39;+swfArgs[&#39;t&#39;]}&lt;/blockquote&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;The browser (I tested it only with Firefox 3.0) than offers you saving the video. You can also create a bookmark in your browser with the command and put it on the bookmark toolbar. Then you only click on the bookmark while you are watching desired video.&lt;br /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/3974716590785923332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/3974716590785923332'/><link rel='alternate' type='text/html' href='http://tomaskypta.blogspot.com/2009/02/easy-youtube-video-download.html' title='Easy youtube video download'/><author><name>Tomas Kypta</name><uri>http://www.blogger.com/profile/03626810367416360233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1719955341651955232.post-2982780054507641299</id><published>2009-01-19T23:50:00.003+01:00</published><updated>2009-01-20T00:55:40.356+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Erasmus"/><category scheme="http://www.blogger.com/atom/ns#" term="teamwork"/><category scheme="http://www.blogger.com/atom/ns#" term="Utrecht"/><title type='text'>Erasmus and team projects</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;At present I&#39;m studying at Utrecht University in the Netherlands as an Erasmus student. I found interesting that much more team work is required to pass a course there. At my home university it is not so usual.&lt;br /&gt;&lt;br /&gt;Team work offered me less work to do. Well, I thought that first. I soon realised I was wrong! I supposed I would have less work because I would share the work with other team members. The amount of work on a project seemed approximately similar like at my home university, the difference was that I could share it. But doing a team project does not always make it easier! Especially for Erasmus students. Home students usually know each other quite well and set up teams with their friends. But what should an Erasmus student do? Foreign student also find some new friends, mostly among other Erasmus students. So they often work on a project with other Erasmus students. And there is the catch!&lt;br /&gt;&lt;br /&gt;Not everyone is used to the same amount of work and not everyone has sufficient knowledge to be useful for the team. People are coming from different countries and different universities, sometimes they don&#39;t even study the same field at their home universities. The result is that you sometimes have to do others work.&lt;br /&gt;&lt;br /&gt;I had two team project experiences in Utrecht and both wasn&#39;t much positive. The first time I had two other people in my team, fortunately one was my friend from home university, so we were used to work hard and we had both the same knowledge. The third member of our team wasn&#39;t as trained as we are. He for example has never programmed in Java, which was essential for our project. Shortly, we had to finish the project in two people. The second team project required a team of two people. I&#39;ve done my part but my colleague wrote me few days before the deadline that he didn&#39;t intend to finish it, moreover he didn&#39;t do anything. I discussed these problems with other foreign students and some of them had the similar experience.&lt;br /&gt;&lt;br /&gt;To close up I have to say that team projects are basically beneficial but not for Erasmus students. They don&#39;t know their partners enough.&lt;br /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/2982780054507641299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/2982780054507641299'/><link rel='alternate' type='text/html' href='http://tomaskypta.blogspot.com/2009/01/erasmus-and-team-projects.html' title='Erasmus and team projects'/><author><name>Tomas Kypta</name><uri>http://www.blogger.com/profile/03626810367416360233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1719955341651955232.post-3834573704081842025</id><published>2009-01-16T20:16:00.004+01:00</published><updated>2009-01-20T00:57:03.626+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apple"/><title type='text'>Apple&#39;s slide</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;It&#39;s few days since &lt;span style=&quot;font-size:100%;&quot;&gt;Apple CEO Steve Jobs said he&#39;s temporarily stepping away for medical reasons. Many rumours foreran the announcement. The rumours and the temporal resignation caused some 14% stock slid. These 14% means $12 billion in market value.&lt;/span&gt; &lt;span style=&quot;font-size:100%;&quot;&gt;Now look at it again. Does this really mean that Jobs is so essential for Apple? Was everything that Apple shown during last years only one man&#39;s show? &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;Jobs is known to be an outstanding entrepreneur. His management style is said to be temperamental and his personality as demanding and aggressive. Fortune magazine noted that he &lt;/span&gt;&quot;is considered one of Silicon Valley&#39;s leading egomaniacs&quot;. Steve&#39;s biography is voluminous. He co-founded Apple with Steve Wozniak in 1976, in 1985 he resigned from Apple and founded NeXT. Buyout by Apple (paid $429 million) in 1997 drove Jobs back to Apple. But that was not all. He also bought Pixar Animation Studios a former graphics division of Lucasfilm Ltd. in 1986 for the very nice price of $10 million (George Lucas needed to finance his 1983 divorce). Pixar was acquired by the Walt Disney company in 2006 for $7.4 billion. Steve then became Disney&#39;s largest single shareholder with approximately 7% of shares.&lt;br /&gt;&lt;br /&gt;Although I think that Jobs is really good as Apple CEO (better to say as CEO, no matter where), I can&#39;t believe that the invisible hand values Jobs for some $12 billion and that Apple is supposed to be unworthy without Jobs.  Is Apple really a bunch of idlers doing nothing without its lion-tamer?&lt;br /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/3834573704081842025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/3834573704081842025'/><link rel='alternate' type='text/html' href='http://tomaskypta.blogspot.com/2009/01/apples-slide.html' title='Apple&#39;s slide'/><author><name>Tomas Kypta</name><uri>http://www.blogger.com/profile/03626810367416360233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-1719955341651955232.post-6574207315741726640</id><published>2009-01-15T20:29:00.000+01:00</published><updated>2009-01-15T21:00:54.207+01:00</updated><title type='text'>Blogging time</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Recently, I fell in love with blogs. Well, only with the informative and juicy ones of course. I would never read some stupid celebrity blog. I am a man of science and not a man of gossips. I found out that I can learn many really interesting things on blogs. Some blog posts are much more specific and informative than any online news and since I am not much interested in reading printed media, reading blogs is the best way for me to find useful information.&lt;br /&gt;As I wrote, I am fond of science and also a little egoistic so starting to write my own blog was an easy decision. My wish is to reach the same quality some of my favourite blogs show and also to have lots of readers.&lt;br /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/6574207315741726640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1719955341651955232/posts/default/6574207315741726640'/><link rel='alternate' type='text/html' href='http://tomaskypta.blogspot.com/2009/01/blogging-time.html' title='Blogging time'/><author><name>Tomas Kypta</name><uri>http://www.blogger.com/profile/03626810367416360233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>