<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>domas mituzas &#187; misc</title>
	<atom:link href="http://mituzas.lt/stream/misc/feed/" rel="self" type="application/rss+xml" />
	<link>http://mituzas.lt</link>
	<description></description>
	<lastBuildDate>Fri, 30 Jul 2010 07:36:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>When bad things happen!</title>
		<link>http://mituzas.lt/2009/12/29/when-bad-things-happen/</link>
		<comments>http://mituzas.lt/2009/12/29/when-bad-things-happen/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 16:25:23 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[gdb]]></category>

		<guid isPermaLink="false">http://mituzas.lt/?p=715</guid>
		<description><![CDATA[When bad things happen, like&#8230; &#8216;strace -f&#8217; or &#8216;gdb&#8217; or any other process inspection tool decides to hang your precious processes (they show up in state T in process lists), there&#8217;s always help: #include &#60;sys/ptrace.h&#62; #include &#60;signal.h&#62; main(int ac, char &#8230; <a href="http://mituzas.lt/2009/12/29/when-bad-things-happen/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When bad things happen, like&#8230; &#8216;strace -f&#8217; or &#8216;gdb&#8217; or any other process inspection tool decides to hang your precious processes (they show up in state T in process lists), there&#8217;s always help:</p>
<pre>
#include &lt;sys/ptrace.h&gt;
#include &lt;signal.h&gt;
main(int ac, char **av) {
int pid; if (ac&gt;1) pid=atoi(av[1]);
ptrace(PTRACE_ATTACH,pid,0,0);
ptrace(PTRACE_DETACH,pid,0,0);
kill(pid, SIGCONT); }
</pre>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2009/12/29/when-bad-things-happen/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>update</title>
		<link>http://mituzas.lt/2009/11/18/update/</link>
		<comments>http://mituzas.lt/2009/11/18/update/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 18:36:46 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[wikitech]]></category>

		<guid isPermaLink="false">http://mituzas.lt/?p=641</guid>
		<description><![CDATA[In past few months I had lots of changes going on &#8211; left the Sun/MySQL job, my term on Wikimedia Board of Trustees ended, I joined Facebook and now I got appointed to Wikimedia Advisory Board. This also probably means &#8230; <a href="http://mituzas.lt/2009/11/18/update/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In past few months I had lots of changes going on &#8211; left the Sun/MySQL job, my term on Wikimedia Board of Trustees ended, I joined Facebook and now I <a href="http://lists.wikimedia.org/pipermail/foundation-l/2009-November/056031.html">got appointed</a> to Wikimedia <a href="http://wikimediafoundation.org/wiki/Advisory_Board">Advisory Board</a>. This also probably means that I will have slightly less hands-on work on Wikipedia technology (I&#8217;ll be mostly in &#8220;r<em>elaxed maintenance mode</em>&#8220;), though I don&#8217;t know yet how much less &#8211; time will show :)</p>
<p><span style="color: #c0c0c0;">P.S. I also quit World of Warcraft. ;-) </span></p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2009/11/18/update/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Knight&#8217;s Cross!</title>
		<link>http://mituzas.lt/2009/07/05/knights-cross/</link>
		<comments>http://mituzas.lt/2009/07/05/knights-cross/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 14:27:10 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[wikipedia]]></category>
		<category><![CDATA[dad]]></category>

		<guid isPermaLink="false">http://mituzas.lt/?p=522</guid>
		<description><![CDATA[We had very special State Award Ceremony today. Special, as it happens at the year we celebrate &#8220;thousand years of Lithuania&#8221;, special as it is the last one given by our very special President Valdas Adamkus. Though for me, it &#8230; <a href="http://mituzas.lt/2009/07/05/knights-cross/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/midom/3689536125/" title="Celebrating the Knight's Cross by midom, on Flickr"><img src="http://farm4.static.flickr.com/3644/3689536125_4dd24b1907_m.jpg" width="240" height="180" alt="Celebrating the Knight's Cross" style="float: right; padding: 10px;" /></a><br />
We had very special <a href='http://www.lrp.lt/en/activities/speeches/address_by_h.e._valdas_adamkus_president_of_the_republic_of_lithuania_at_the_state_awards_ceremony_on_the_occasion_of_the_day_of_coronation_of_king_mindaugas.html'>State Award Ceremony</a> today. Special, as it happens at the year we celebrate &#8220;thousand years of Lithuania&#8221;, special as it is the last one given by our very special President <a href='http://en.wikipedia.org/wiki/Valdas_Adamkus'>Valdas Adamkus</a>. </p>
<p>Though for me, it was really special &#8211; Alvydas Mituzas, my Dad, got a Knight&#8217;s Cross, for his lifetime merits and service for our country, spanning forty years of creativity and dedication. Anyone knowing my Dad really know what the award is for, but for me it is also a symbol of support for virtues that I&#8217;ve seen in my whole life &#8211; hard work and imagination combined for public service and public good, no matter how difficult it is to start, or finish. Stories of his past are fascinating, and even I can learn more and more of them over the years. We&#8217;re proud of him, and we&#8217;re lucky to be his family. </p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2009/07/05/knights-cross/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>I&#8217;m a creative commoner</title>
		<link>http://mituzas.lt/2009/03/28/im-a-creative-commoner/</link>
		<comments>http://mituzas.lt/2009/03/28/im-a-creative-commoner/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 16:15:38 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[wikipedia]]></category>
		<category><![CDATA[wikitech]]></category>
		<category><![CDATA[cc]]></category>
		<category><![CDATA[culture]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[license]]></category>

		<guid isPermaLink="false">http://dammit.lt/?p=450</guid>
		<description><![CDATA[Lately Creative Commons is becoming very dominant topic in my life. First of all, I see all the people in free culture world holding their breath and waiting for Wikipedia switch to CC license. I&#8217;m waiting for that too &#8211; &#8230; <a href="http://mituzas.lt/2009/03/28/im-a-creative-commoner/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Lately <a href='http://creativecommons.org'>Creative Commons</a> is becoming very dominant topic in my life. First of all, I see all the people in free culture world holding their breath and waiting for Wikipedia switch to CC license. I&#8217;m waiting for that too &#8211; and personally I really endorse it. Though usually people do not really notice licenses on web content, they really do once they see something they really want to reuse. Wikipedia ends up being isolated island, if it doesn&#8217;t go after sharing and exchanging information with other projects. </p>
<p>It takes time to understand one is &#8216;creative commoner&#8217;. I do have a t-shirt with such caption, but it is much more comfortable once you start feeling real power of use and reuse of information. Few anecdotes&#8230;<br />
<span id="more-450"></span></p>
<blockquote><p>
Dear Mr. Mituzas,</p>
<p>Thank you for making your photographs available under a<br />
Creative Commons license. I am writing to inform you that<br />
the American Society of Civil Engineers has featured a<br />
silhouette of &#8220;Up we go&#8221; on the cover of its new book,<br />
&#8220;Constructability Concepts and Practice.&#8221;</p>
<p>https://www.asce.org/bookstore/book.cfm?book=7742</p>
<p>Per the terms of the license, the following credit appears<br />
on page ii of the book: &#8220;Front cover photograph by Domas<br />
Mituzas used under a Creative Commons license.<br />
http://creativecommons.org/licenses/by/2.0/.&#8221;</p>
<p>I will be happy to send a copy of the book to you if you<br />
will provide me your mailing address.
</p></blockquote>
<p>I got this email back in summer, 2007. Did I just steal a job from professional photographer? Or would they just leave blank book cover? Will this lead to a better bridge in future? Did I join a civil cause? All I know now, is that I&#8217;m book cover photographer, albeit quite cheap one. Also, by using CC license I simply used lingua-franca of world I&#8217;m in &#8211; and now my content can evolve into shapes that I couldn&#8217;t expect, and that would be limited by non-portable licenses. </p>
<p>Other anecdote is way more internal. I have cheap point-and-shoot camera (same one to shoot book cover pictures :) that I use during my travels. It fits well into my jeans pocket, it doesn&#8217;t provide me any self esteem in professional photography. Still, I get to places, I take pictures, I place them on my <a href='http://flickr.com/photos/midom'>flickr</a> photostream, and I license them under creative commons. And fascinating things happen &#8211; my pictures appear on top of Wikipedia articles (like <a href='http://en.wikipedia.org/wiki/List_of_largest_buildings_in_the_world'>this one</a>), without any intervention of mine. People just use it, I can sit back, relax, and see how the contribution widens. </p>
<p>Of course, there other different stories. My colleague (and manager) runs a wiki about his own town, <a href='http://www.bielepedia.de/wiki/Hauptseite'>Bielepedia</a>, and he wants to exchange information with Wikipedia. Now he can&#8217;t, as well as quite a lot of other free content community projects. Though of course, some may believe license difference doesn&#8217;t mean much, in this case it means that we&#8217;re building borders we don&#8217;t need nor we have intent to maintain. </p>
<p>I live and breathe Wikipedia technology, but I do not feel competent enough to go and push content itself around, and it just shows up there itself (oh, of course, there&#8217;s army of committed volunteers who help with that). So, I benefit the project just by being creative commoner, and I may benefit lots of other projects. We at Wikipedia technical team are very open in what we do, and try to spread our know-how in many directions. Documents I wrote about how we do things ended up downloaded hundred thousand times, and I really hope that some of that know-how will end up used and reused. </p>
<p>I guess I&#8217;m taking this to extremes &#8211; I ended up talking to people in government of Lithuania, journalists and non-profit activists. Imagine a government, that would commit to open licensing for produced content. Well, no need to imagine &#8211; US federal institutions release information to public domain, but in Europe it is way more restricted. Still, what one has to realize &#8211; at government level it is not only a right to be given, it also has to be a right that has to be protected. Nowadays that means going to copyright powerhouses that serve large record labels and movie studios, and will charge for services, that government has to provide for free (and does in other areas, like looking for your stolen car). </p>
<p>We have lots and lots of talks about knowledge-societies at government levels, but we never get to the point, that every individual is part of that, and first of all we have to teach those rights, and guard them. But of course, to prove, that our rights have to be guarded, we have to show how great our work is &#8211; and how powerful can our sharing be. To achieve that we have to build bridges between license islands, talk same languages, and of course, create. </p>
<p>I&#8217;m a creative commoner. So should be you.</p>
<p>P.S. So should be Wikimedia Foundation. I&#8217;m extremely excited about the work being done to make it reality (thanks Erik, Mike, Mako, everyone!), and you know my personal position on the matter by now :)<br />
P.P.S. I probably have to do some more investment in free culture. My friends say Nikon D90 is way to go ;-) </p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2009/03/28/im-a-creative-commoner/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Many needles in a haystack</title>
		<link>http://mituzas.lt/2009/02/08/many-needles-in-a-haystack/</link>
		<comments>http://mituzas.lt/2009/02/08/many-needles-in-a-haystack/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 11:45:16 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dammit.lt/?p=337</guid>
		<description><![CDATA[This is probably quite useless experiment I&#8217;ve been doing, but it all started when someone in #mysql@freenode gave a very simple task: Table A has two million rows Table B has two thousand rows Find all rows in A, which &#8230; <a href="http://mituzas.lt/2009/02/08/many-needles-in-a-haystack/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is probably quite useless experiment I&#8217;ve been doing, but it all started when someone in #mysql@freenode gave a very simple task:</p>
<ul>
<li>Table A has two million rows</li>
<li>Table B has two thousand rows</li>
<li>Find all rows in A, which have any B row as substring in some field. </li>
</ul>
<p>So, my colleague <a href='http://dammit.lt/2008/07/03/mysql-support-fun-multiplication/'>Scott</a> was there, and gave the answer which satisfied the guy:</p>
<pre>
SELECT * FROM a JOIN b ON a.field LIKE CONCAT('%',b.field,'%');
</pre>
<p>I started telling Scott, that this will result in too many nested loops, and that better combined pattern matching should be used. Well, my actual words were something like &#8220;use RLIKE&#8221;. So, folks replaced LIKE in above query with RLIKE, didn&#8217;t see too much of improvement and made some fun of me. </p>
<p>So, I thought I should provide some decent response to mocking :-) I downloaded &#8216;most common American last names of 19th century&#8217; from some website out there, took ~2000 of them, also built a list of all Wikipedia article titles, that have space in them (just to reduce dataset a bit, and make more humans show up there). </p>
<p>My initial poking showed around double speed increase when using combined pattern of RLIKE, and using <a href='http://mysqludf.com/lib_mysqludf_preg/'>PCRE UDFs</a> provided double speed over RLIKE. I have no idea what I did wrong back then (or doing wrong now), but simple LIKE with nested row lookup is faster on my current test. Still, there&#8217;s something else I wanted to show :)</p>
<p><a href='http://www.gnu.org/software/grep/'>GNU grep</a> has &#8216;-F&#8217; functionality, which <i>Interprets PATTERN as a list of fixed strings, separated by newlines, any of which is to be matched.</i> Actually, it is quite well optimized, and uses nice algorithm, located in file kwset.c. This is what some comment in that file tells:</p>
<blockquote><p>
The algorithm implemented by these routines bears a startling resemblence to one discovered by Beate Commentz-Walter, although it is not identical.</p>
<p>See &#8220;A String Matching Algorithm Fast on the Average,&#8221; Technical Report, IBM-Germany, Scientific Center Heidelberg, Tiergartenstrasse 15, D-6900  Heidelberg, Germany.  See also Aho, A.V., and M. Corasick, &#8220;Efficient String Matching:  An Aid to Bibliographic Search,&#8221; CACM June 1975, Vol. 18, No. 6, which describes the failure function used below.
</p></blockquote>
<p>So, let&#8217;s try standing on shoulders of giants. Actually, I&#8217;m not even that smart to find this, it was actually Tim who researched and <a href='http://article.gmane.org/gmane.comp.php.pecl.devel/3181'>implemented this</a> as PHP extension to make some of Wikipedia&#8217;s code faster.</p>
<p>So I shamelessly took few files from grep, and wrote some crappy <a href='http://p.defau.lt/?3CIjp6AmApzjJYfnJOH66w'>MySQL UDF glue</a> (it is just for demonstration, would need proper engineering to make it usable for general purposes). </p>
<p>So, what kind of performance would a custom-tailored algorithm for the task give&#8230;</p>
<p>Simple LIKE matching:</p>
<pre>
select straight_join * from names join lasts on
binary name like concat("%",last,"%") limit 1000;
1000 rows in set (3.80 sec)
</pre>
<p>Combined RLIKE matching (I don&#8217;t know why it is slower &#8211; it was much better on some previous test):</p>
<pre>
SELECT CONCAT("(",GROUP_CONCAT(last SEPARATOR "|"),")")
from lasts into @re;

SELECT * FROM names WHERE BINARY name RLIKE @re;
1000 rows in set (25.99 sec)
</pre>
<p>Combined PECL UDF matching:</p>
<pre>
SELECT CONCAT("/(",GROUP_CONCAT(last SEPARATOR "|"),")/")
from lasts into @re;

select * from names where preg_rlike(@re,name) limit 1000;
1000 rows in set (8.10 sec)
</pre>
<p>Algorithm theft:</p>
<pre>
SELECT fss_prepare(last) FROM lasts;
SELECT fss_search(name) FROM names LIMIT 1000;
1000 rows in set (0.02 sec)
</pre>
<p>Damn it, too fast, this must be some mistake, let&#8217;s try more rows:</p>
<pre>
10000 rows in set (0.07 sec)
100000 rows in set (0.62 sec)
551971 rows in set (3.50 sec)
</pre>
<p>So, by using customized algorithm we got 600x performance. What does Scott say about this?</p>
<pre>
domas: my answer took about 10 minutes.
       yours has taken what, week and a half?
</pre>
<p>.. Bastard&#8230; Oh well, priorities priorities :)</p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2009/02/08/many-needles-in-a-haystack/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Memcached for small objects</title>
		<link>http://mituzas.lt/2008/12/25/memcached-for-small-objects/</link>
		<comments>http://mituzas.lt/2008/12/25/memcached-for-small-objects/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 12:06:00 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[efficiency]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[memory]]></category>

		<guid isPermaLink="false">http://dammit.lt/?p=296</guid>
		<description><![CDATA[Memcached quite often ends up as a store for very small objects (small key and some integer value), though it isn&#8217;t really designed to do this kind of work by default. Current memory management is based on slabs (200 of &#8230; <a href="http://mituzas.lt/2008/12/25/memcached-for-small-objects/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Memcached quite often ends up as a store for very small objects (small key and some integer value), though it isn&#8217;t really designed to do this kind of work by default. Current memory management is based on slabs (200 of them), where objects are grouped by similar size &#8211; though actual sizes are pre-defined at startup based on few configuration parameters. </p>
<p>By default memcached would have slabs based on assumption, that smallest object size will have 48 bytes of data (thats without item header), and will increase the slab sizes in +25% steps:</p>
<pre>
slab class   1: chunk size    104 perslab 10082
slab class   2: chunk size    136 perslab  7710
slab class   3: chunk size    176 perslab  5957
slab class   4: chunk size    224 perslab  4681
...
</pre>
<p>So, in this case, it allocates at least 104 bytes per object, and next steps are way behind. Fortunately, there&#8217;re some quick steps to have better efficiency:<span id="more-296"></span></p>
<h3>Configuration!</h3>
<p>There&#8217;re two parameters for this:</p>
<ul>
<li>-n &#8211; minimum space allocated for key+value+flags, defaults at 48</li>
<li>-f &#8211; chunk growth factor, default 1.25</li>
</ul>
<p>With these settings memcached will define just 38 slabs, ranging from 104 to 458992 byte sized chunks. Even in case of mixed workloads one can use <code>-n 5 -f 1.05</code> &#8211; this will define ~170 slabs, where low values will increase in 8-byte chunks, and smallest slabs would look like this:</p>
<pre>
slab class   1: chunk size     64 perslab 16384
slab class   2: chunk size     72 perslab 14563
slab class   3: chunk size     80 perslab 13107
...
</pre>
<p>It would get way higher memory efficiency for larger objects too (6k steps at 100k object sizes, rather than 30k steps with default configuration). Of course, more slabs means that there&#8217;re more eviction queues, and in case distribution of object sizes changes, it would have more memory fragmentation, though thats nothing a restart can&#8217;t resolve ;-)</p>
<h3>Internal storage</h3>
<p>Every data item has a header, which includes pointers to other item structures, and additional metadata. One of obvious things that will be fixed in later releases is the CAS (compare-and-swap) metadata (8 bytes per object), which is stored for every object &#8211; though very rarely used by users (one needs to use special breed commands). In future versions this might get resolved, and a very dirty hack would be changing cas_id to be uint8_t in memcached.h (heeeee!). </p>
<p>There&#8217;re also multiple pointers inside the header &#8211; and on 64 bit systems they take 64 bits &#8211; though in theory chunks inside memory pages (slabs can have multiple memory pages assigned) can be addressed with 16-bit pointers. Of course, the easy workaround here is simply compiling memcached as 32-bit binary &#8211; though then it won&#8217;t be able to address more than ~3GB per-instance (and running multiple memcached instances is straightforward). </p>
<p>There&#8217;s another internal CPU-vs-memory optimization, where objects internally end up aligned at 8-byte boundaries. Hacking CHUNK_ALIGN_BYTES at slabs.c (I set it to 2) allows us to have chunk sizes increased in much smaller steps. </p>
<h3>Data!</h3>
<p>Have small keys. Have small data. Compression at application will reduce network i/o, less roundtrips and system calls, and better memory efficiency in the end. Pack integers inside keys into base250 or so (skip whitespace), store binary data. </p>
<p>It is usually way less cycles to have more efficient storage, compared to additional cycles when a cache miss happens :)</p>
<h3>Testing &#038; summary</h3>
<p>I tried to simulate the most edge case out of all edge cases &#8211; integer key and one byte data objects being inserted into 64M memcached instance.</p>
<ul>
<li>I could fit in 645k objects inside regular memcached, 932k after factor changes.</li>
<li>Simple 32-bit build fit in 763k objects, 1164k after factor changes, 1180k after alignment change</li>
<li>After removing CAS support, it fit 1378k, 1461k after reducing key with base250</li>
</ul>
<p>So, I could have such slab size distribution (it facilitates objects up to 45k in size):</p>
<pre>
slab class   1: chunk size     33 perslab 31775
slab class   2: chunk size     34 perslab 30840
slab class   3: chunk size     35 perslab 29959
slab class   4: chunk size     36 perslab 29127
...
</pre>
<h3>MySQL!</h3>
<p>64M-sized MEMORY table will be able to store 2087k (INT,TINYINT) entries. When people aim for no-eviction storage, MySQL can be way more efficient.</p>
<p>Interesting though, the PK will take as much space as data itself (what simply asks PK to be held together with data, like InnoDB does (it will actually fit 2500k entries in 64M).  With custom MySQL engines this shouldn&#8217;t be too difficult for those who really hit the edge cases, right? :)</p>
<p>Oh well, last I&#8217;ve heard, memcached is going to have storage engine support too, I wonder how fun will be hacking those (someone ages ago plugged BDB into memcached and called it Tugela.. ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2008/12/25/memcached-for-small-objects/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>tax</title>
		<link>http://mituzas.lt/2008/12/19/tax/</link>
		<comments>http://mituzas.lt/2008/12/19/tax/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 10:17:09 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dammit.lt/?p=294</guid>
		<description><![CDATA[I love my country. Yesterday a law came in, in two weeks I&#8217;ll start paying triple income taxes (for all expenses too). I&#8217;m just knocked out today.]]></description>
			<content:encoded><![CDATA[<p>I love my country. Yesterday a law came in, in two weeks I&#8217;ll start paying triple income taxes (for all expenses too). I&#8217;m just knocked out today. </p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2008/12/19/tax/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Computer art</title>
		<link>http://mituzas.lt/2008/08/29/computer-art/</link>
		<comments>http://mituzas.lt/2008/08/29/computer-art/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 11:38:00 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[bugs]]></category>

		<guid isPermaLink="false">http://dammit.lt/?p=215</guid>
		<description><![CDATA[One immediately realizes Apple computers are very artsy, and why they&#8217;re loved by designers and such. Instead of showing BSODs, they start making abstract art. Thats how it shows me my mail:]]></description>
			<content:encoded><![CDATA[<p>One immediately realizes Apple computers are very artsy, and why they&#8217;re loved by designers and such. Instead of showing <a href='http://en.wikipedia.org/wiki/Blue_Screen_of_Death'>BSODs</a>, they start making abstract art.</p>
<p>Thats how it shows me my mail:<br />
<a href="http://www.flickr.com/photos/midom/2808559502/" title="computer art by midom, on Flickr"><img src="http://farm4.static.flickr.com/3091/2808559502_afdbd5f14c.jpg" width="500" height="375" alt="computer art" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2008/08/29/computer-art/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Talks</title>
		<link>http://mituzas.lt/2008/08/25/talks/</link>
		<comments>http://mituzas.lt/2008/08/25/talks/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 10:57:00 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[presentation]]></category>

		<guid isPermaLink="false">http://dammit.lt/?p=212</guid>
		<description><![CDATA[I&#8217;ve opened a talks page, which is supposed to list slides from my talks at various conferences (well, mysqlconf mostly :) &#8211; I had to miss few conferences simply because of time clashes already, so having these public may help &#8230; <a href="http://mituzas.lt/2008/08/25/talks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve opened a <a href='http://dammit.lt/talks/'>talks page</a>, which is supposed to list slides from my talks at various conferences (well, <a href='http://mysqlconf.com'>mysqlconf</a> mostly :) &#8211; I had to miss few conferences simply because of time clashes already, so having these public may help someone, maybe. :) </p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2008/08/25/talks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RAID</title>
		<link>http://mituzas.lt/2008/08/22/raid/</link>
		<comments>http://mituzas.lt/2008/08/22/raid/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 14:41:00 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[raid]]></category>

		<guid isPermaLink="false">http://dammit.lt/?p=198</guid>
		<description><![CDATA[DBA rule #34: Never forget upgrading RAID firmware. It may be more worthy than upgrading anything else. P.S. Can anyone make an island out of Portugal?]]></description>
			<content:encoded><![CDATA[<p>DBA rule #34: Never forget upgrading RAID firmware. It may be more worthy than upgrading anything else. </p>
<p>P.S. Can anyone make an <a href='http://ap.google.com/article/ALeqM5gpsr76aVgkodbb6ibl2greVHEA-gD92NCNQO0'>island</a> out of Portugal? </p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2008/08/22/raid/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>TV movie guide for sunday evening</title>
		<link>http://mituzas.lt/2008/01/13/tv-sunday-company-movies/</link>
		<comments>http://mituzas.lt/2008/01/13/tv-sunday-company-movies/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 15:43:45 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://dammit.lt/2008/01/13/tv-sunday-company-movies/</guid>
		<description><![CDATA[Lithuanians have spectacular movie choices on national TV channels this evening: LTV &#8211; 21:00 &#8211; The Company LNK &#8211; 21:00 &#8211; Bad Company TV1 &#8211; 21:00 &#8211; In Good Company]]></description>
			<content:encoded><![CDATA[<p>Lithuanians have spectacular movie choices on national TV channels this evening:</p>
<ul>
<li>LTV &#8211; 21:00 &#8211; <a href='http://www.imdb.com/title/tt0488352/'>The Company</a>
</li>
<li>LNK &#8211; 21:00 &#8211; <a href='http://www.imdb.com/title/tt0280486/'>Bad Company</a>
</li>
<li>TV1 &#8211; 21:00 &#8211; <a href='http://www.imdb.com/title/tt0385267/'>In Good Company</a>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2008/01/13/tv-sunday-company-movies/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Amazon, go to hell</title>
		<link>http://mituzas.lt/2008/01/03/amazon-go-to-hell/</link>
		<comments>http://mituzas.lt/2008/01/03/amazon-go-to-hell/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 10:54:18 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dammit.lt/2008/01/03/amazon-go-to-hell/</guid>
		<description><![CDATA[Amazon opened MP3 music store. As iTunes is blocked here, it resulted in my &#8216;yay&#8217; &#8211; I opened it and started browsing the catalogue. I immediately got few nice suggestions, and used the 1click shopping &#8211; it suggested installing download &#8230; <a href="http://mituzas.lt/2008/01/03/amazon-go-to-hell/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Amazon opened MP3 music store. As iTunes is blocked here, it resulted in my &#8216;yay&#8217; &#8211; I opened it and started browsing the catalogue. I immediately got few nice suggestions, and used the 1click shopping &#8211; it suggested installing download agent, so I did. Then it confirmed my billing details, and in the end, with me all happy and shining it spew out:</p>
<blockquote><p>We are sorry&#8230;<br />
We could not process your order because of geographical restrictions on the product which you were attempting to purchase. Please refer to the terms of use for this product to determine the geographical restrictions.</p>
<p>We apologize for any inconvenience this may have caused you.
</p></blockquote>
<p>Go to hell, Amazon. </p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2008/01/03/amazon-go-to-hell/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IE finds JS in Images (old xss bug!)</title>
		<link>http://mituzas.lt/2008/01/03/ie-finds-js-in-images-old-xss-bug/</link>
		<comments>http://mituzas.lt/2008/01/03/ie-finds-js-in-images-old-xss-bug/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 23:31:02 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://dammit.lt/2008/01/03/ie-finds-js-in-images-old-xss-bug/</guid>
		<description><![CDATA[Well, this fix was done more than three years ago, but this is one of most evil IE bugs in existence. Even better, it seems to have never been fixed, exists in IE7, and is being discussed in various places &#8230; <a href="http://mituzas.lt/2008/01/03/ie-finds-js-in-images-old-xss-bug/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well, this <a href='http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/specials/SpecialUpload.php?view=diff&#038;r1=5579&#038;r2=5580'>fix</a> was done more than three years ago, but this is one of most evil IE bugs in existence. Even better, it seems to have never been fixed, exists in IE7, and is being discussed in <a href='http://www.splitbrain.org/blog/2007-02/12-internet_explorer_facilitates_cross_site_scripting'>various places</a> lately.</p>
<p>The problem is very simple &#8211; valid PNG files can be uploaded to various sites, and then shown to users. The problem is that IE does autodetection, and if it suspects that the file may be HTML, it executes it as HTML, with all Javascript inside. The images can be properly normal images, that show your kitten or wife or whatever. Still, IE will execute any exploit code that is included in them. Exploit code can actually load the actual image, so nobody will even realize they&#8217;re looking at image and not at an attack that hijacks their sessions, steals cookies and does all other sorts of evil things. </p>
<p>So, whenever anyone says IE is secure, just tell them to look at this problem. </p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2008/01/03/ie-finds-js-in-images-old-xss-bug/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>A perfect christmas story</title>
		<link>http://mituzas.lt/2007/12/28/gsm-christmas-sms/</link>
		<comments>http://mituzas.lt/2007/12/28/gsm-christmas-sms/#comments</comments>
		<pubDate>Fri, 28 Dec 2007 12:22:16 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dammit.lt/2007/12/28/gsm-christmas-sms/</guid>
		<description><![CDATA[This made me laugh. Providers were fighting who will give better &#8216;free sms&#8217; plans. Then my GSM provider decided that they have enough resources for even better campaign &#8211; they offered adding 0.02 LTL to account balance for every SMS &#8230; <a href="http://mituzas.lt/2007/12/28/gsm-christmas-sms/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This made me laugh. Providers were fighting who will give better &#8216;free sms&#8217; plans. Then my GSM provider decided that they have enough resources for even better campaign &#8211; they offered adding 0.02 LTL to account balance for every SMS received. So, smart kids saw business opportunity &#8211; they started spamming SMS messages from one phone (free SMS!) to another (get paid for SMS received). Smarter kids started automating the process using their computers (though didn&#8217;t see to many &#8220;how to use kannel&#8221; guides &#8211; most public solutions were using gui tools and automated mouse movers :). </p>
<p>The best part is that smartest kids immediately found ways to cash out the &#8216;GSM LTLs&#8217; &#8211; by using &#8216;call to pay&#8217; service providers, and getting 50% cash efficiency. </p>
<p>One GSM provider (Omnitel, TeliaSonera company) reacted by establishing daily SMS limit that works (only 6LTL worth of SMSes per day), whereas other provider (Tele2) established limit that doesn&#8217;t (phones would get disconnected next day only). </p>
<p>And of course, this has brought down GSM providers, or at least their SMS networks &#8211; at Christmas. Way to go, marketing people. Way to go.</p>
<p><i>For all the international people: 1 EUR= 3.4528LTL</i></p>
<p><i>Edit: 0.02LTL for SMS</i></p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2007/12/28/gsm-christmas-sms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Live Earth!</title>
		<link>http://mituzas.lt/2007/07/07/live-earth/</link>
		<comments>http://mituzas.lt/2007/07/07/live-earth/#comments</comments>
		<pubDate>Sat, 07 Jul 2007 14:14:08 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://dammit.lt/2007/07/07/live-earth/</guid>
		<description><![CDATA[In Vienna&#8217;s Ratthaus-platz there&#8217;s a screen which shows Live Earth &#8211; great place to think of your own environmental impact. I&#8217;m pretty efficient in that regard &#8211; working at home eliminates daily transportation issues, my electricity consumption is mainly backed &#8230; <a href="http://mituzas.lt/2007/07/07/live-earth/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In Vienna&#8217;s Ratthaus-platz there&#8217;s a screen which shows Live Earth &#8211; great place to think of your own environmental impact. I&#8217;m pretty efficient in that regard &#8211; working at home eliminates daily transportation issues, my electricity consumption is mainly backed by clean nuclear energy, and.. oh, I had 20 plane flights in 2007 already. Probably thats far less, compared to what I&#8217;d have to do if I visited each and every customer. <span id="more-78"></span></p>
<p>Here some Greenpeace activist tried to convert me (don&#8217;t know into what). I knew their position, so went into discussion about nuclear energy. It was fascinating to observe how facts-free religious position was presented, with Chernobyl (the crazy experiment gone wild &#8211; they forgot that) being the only example of what is wrong with energy, as well as the waste (see, you have to secure it, unlike CO2, which can be set free).</p>
<p>Of course, every field has its own problems, but thats where technology and engineering helps. The Greenpeace guy was all for wind or hydro power, but these ones are not intervening only for those who never leave the cities &#8211; the impact on landscape is obvious (and ecologists can measure impact on biosphere). The feeling of Greenpeace being sponsored by Big Oil doesn&#8217;t abandon too much &#8211; wind or water will never replace real needs of energy, and nuclear power is too big of a threat for energy monopolies. </p>
<p>Now, what made me rant about this &#8211; the guy asked me where I was from and after hearing I&#8217;m from Lithuania (Litauen!!) he explained to me that it was different mentality issue. See, us from Eastern Europe are simply Wrong. Even if I just paid a visit to vicinity of <a href='http://www.iaea.org'>IAEA</a> headquarters. </p>
<p>I believe that there&#8217;re far more problem than massive consumption. It is also massive growth of civilization overall, and we&#8217;ll have to achieve technological breakthroughs, or we&#8217;ll somehow will have not only to turn off our lights, but turn off some world population together with their needs. Who are they going to be? </p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2007/07/07/live-earth/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My iPhone post!</title>
		<link>http://mituzas.lt/2007/07/03/my-iphone-post/</link>
		<comments>http://mituzas.lt/2007/07/03/my-iphone-post/#comments</comments>
		<pubDate>Tue, 03 Jul 2007 08:13:47 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dammit.lt/2007/07/03/my-iphone-post/</guid>
		<description><![CDATA[iTunes music store still doesn&#8217;t work in this nice little country, how long will it take to get an iPhone? :)]]></description>
			<content:encoded><![CDATA[<p>iTunes music store still doesn&#8217;t work in this nice little country, how long will it take to get an iPhone? :)</p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2007/07/03/my-iphone-post/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Someone please run REPAIR TABLE, I am hungry!</title>
		<link>http://mituzas.lt/2007/06/20/repair-table-keeps-me-hungry/</link>
		<comments>http://mituzas.lt/2007/06/20/repair-table-keeps-me-hungry/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 10:52:59 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://dammit.lt/2007/06/20/repair-table-keeps-me-hungry/</guid>
		<description><![CDATA[Today I did hit some irony. I went to my favorite &#8216;order home delivery food online&#8217; place, and the shopping cart failed to grow after my ordering clicks. Then I noticed a small line at the bottom of the page: &#8230; <a href="http://mituzas.lt/2007/06/20/repair-table-keeps-me-hungry/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I did hit some irony. I went to my favorite <a href='http://www.cili.lt'>&#8216;order home delivery food online&#8217;</a> place, and the shopping cart failed to grow after my ordering clicks. Then I noticed a small line at the bottom of the page:<br />
<blockquote> (F) [3] mysql. Neteisinga užklausa SELECT * FROM krepselis WHERE uzsakymas_id=220479 ORDER BY laikas. Klaida: Can&#8217;t open file: &#8216;krepselis.MYI&#8217; (errno: 145). File:core.php Line:1824 </p></blockquote>
<p>&#8216;krepselis&#8217; being &#8216;shopping cart&#8217; and &#8216;uzsakymas&#8217; being &#8216;order&#8217;, I realized, that error 145 will keep me hungry. Ah, and error 145 is &#8216;Table was marked as crashed and should be repaired&#8217;. So please, run REPAIR TABLE, I am hungry!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2007/06/20/repair-table-keeps-me-hungry/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>I&#8217;m not lost anymore</title>
		<link>http://mituzas.lt/2007/05/02/im-not-lost-anymore/</link>
		<comments>http://mituzas.lt/2007/05/02/im-not-lost-anymore/#comments</comments>
		<pubDate>Wed, 02 May 2007 08:42:06 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[wikipedia]]></category>

		<guid isPermaLink="false">http://dammit.lt/2007/05/02/im-not-lost-anymore/</guid>
		<description><![CDATA[Dude, that is so good &#8211; the map of online communities. I&#8217;m not lost anymore.]]></description>
			<content:encoded><![CDATA[<p>Dude, that is so good &#8211; the <a href='http://imgs.xkcd.com/comics/online_communities.png'>map of online communities</a>. I&#8217;m not lost anymore. </p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2007/05/02/im-not-lost-anymore/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Tribute to bedjump.com</title>
		<link>http://mituzas.lt/2007/03/20/tribute-to-bedjumpcom/</link>
		<comments>http://mituzas.lt/2007/03/20/tribute-to-bedjumpcom/#comments</comments>
		<pubDate>Tue, 20 Mar 2007 10:53:33 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://dammit.lt/2007/03/20/tribute-to-bedjumpcom/</guid>
		<description><![CDATA[I do that at every hotel, just not every time there&#8217;s someone to capture that:]]></description>
			<content:encoded><![CDATA[<p>I do that at every hotel, just not every time there&#8217;s someone to capture that:</p>
<p><a href="http://www.flickr.com/photos/midom/427977775/" title="Photo Sharing"><img src="http://farm1.static.flickr.com/163/427977775_048b095ad8_m.jpg" width="180" height="240" alt="Hotel bed jumping FTW!!!" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2007/03/20/tribute-to-bedjumpcom/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Travelling is always fun</title>
		<link>http://mituzas.lt/2007/01/17/travelling-is-always-fun/</link>
		<comments>http://mituzas.lt/2007/01/17/travelling-is-always-fun/#comments</comments>
		<pubDate>Wed, 17 Jan 2007 21:42:06 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://dammit.lt/2007/01/17/travelling-is-always-fun/</guid>
		<description><![CDATA[At current trip I already had a few incidents &#8211; like the online ticket ordering fun mentioned before. There were more. Lithuanian airlines (flylal) decided instead of using proper plane to use some chartered one. That plane used to be &#8230; <a href="http://mituzas.lt/2007/01/17/travelling-is-always-fun/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>At current trip I already had a few incidents &#8211; like the <a href='http://dammit.lt/2007/01/06/italy-train-tickets-mess/'>online ticket ordering fun</a> mentioned before. There were more.<br />
<span id="more-54"></span></p>
<p>Lithuanian airlines (<a href='http://flylal.com/en'>flylal</a>) decided instead of using proper plane to use some chartered one. That plane used to be chartered to ferry livestock.. ergh.. tourists to warm countries, but this time it was the one carrying me. The only real trouble about this was simply that they&#8230; had 20% less legroom. Maybe it is slight inconvenience for regular traveller, but it has somewhat more serious implications for anyone who is 2m tall. What saved mine (and possibly their) nerves was that I had no neighbors around. I just stretched my legs on next two seats and crashed sleeping (though woke up with unhappy backbone ;-).</p>
<p>Today I had some &#8220;happy hours&#8221; too. This morning we were going to Bologne, and to save our time we decided to use self-serve ticketing machines. Everything went smooth, we selected our train, class, no-discount tickets (one has to get a special card if wants to use junior rates), did feed all 52EUR where it simply hanged. The screen was showing that 50EUR were given, 2EUR coin was not accounted, coin gates were closed, and&#8230; &#8216;Cancel&#8217; did not work. Some random railroad worker could not help us at all, as we had our interface in &#8216;English&#8217;, but finally, after some running and shouting we got few technicians coming, writing down papers, asking us to sign and finally giving money back. Of course, as just 10 minutes were left until departure of our train we had to whine about it, so we had our tickets without any queues from a human afterwards. Yay for ticket machines!</p>
<p>This was the bestest top-quality train (Eurostar!), where one has to extend the table, in order to place his legs somewhere, so for backwards journey I decided to take first class &#8211; it should deal with it. Indeed it did, the table had much better design, there seemed to be more space, and the chairs were ergonomic. Now the problem with ergonomic chairs is that they&#8217;re very comfortable for people they are designed to be comfortable. Anyone taller is surely excluded, so the huge head support system (it has to have a fancy name) was somewhere behind and below my shoulders. That is the constant problem with any ergonomic chairs, and I&#8217;m still in progress of finding a new chair for my home-office, but at least I can choose to sit on a chair that is not that irritating. Maybe I should&#8217;ve travelled second class, as all normal people. :)</p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2007/01/17/travelling-is-always-fun/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Not reservation, order code!</title>
		<link>http://mituzas.lt/2007/01/06/italy-train-tickets-mess/</link>
		<comments>http://mituzas.lt/2007/01/06/italy-train-tickets-mess/#comments</comments>
		<pubDate>Sat, 06 Jan 2007 17:49:10 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://dammit.lt/2007/01/06/italy-train-tickets-mess/</guid>
		<description><![CDATA[Italians sometimes may be damn frustrating. This time I ordered an international train ticket online, then went to train station (Milano Centrale) to get it (may sound stupid, but they seem to require all those reservations and e-tickets still not &#8230; <a href="http://mituzas.lt/2007/01/06/italy-train-tickets-mess/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Italians sometimes may be damn frustrating. This time I ordered an international train ticket online, then went to train station (Milano Centrale) to get it (may sound stupid, but they seem to require all those reservations and e-tickets still not available). </p>
<p>Of course, the guy at &#8220;international tickets&#8221; counter didn&#8217;t actually speak English (I sure know Italian is most important language, at least in operas). Then&#8230; it appears I didn&#8217;t read the email properly. </p>
<p>The email their automated system sent me did have two sections. One of them was Order details, which contained &#8216;Booking code (DOSSIER)&#8217;. Another was &#8216;Ticket details&#8217;, which contained a reservation number. Of course, I had wrong code. I know it was frustrating for him too, as the intranet application responded to any clicks in about a minute, so he had a really important reason not to try to help me. I already mentioned he did not speak English. </p>
<p>So, after one hour and two metro trips I presented booking/order/dossier code instead of reservation number, and got my tickets. Oh, and by the way, international ticket office starts working at 7:30, train leaves at 7:10. I am all happy I had this story this afternoon, not the morning of departure. </p>
<p><b>Update:</b> Well, now I feel stupid and outdated. I could have opened that email in my mobile phone. :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2007/01/06/italy-train-tickets-mess/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>I knew it &#8211; Metaverse runs on MySQL!</title>
		<link>http://mituzas.lt/2006/08/24/snow-crash/</link>
		<comments>http://mituzas.lt/2006/08/24/snow-crash/#comments</comments>
		<pubDate>Thu, 24 Aug 2006 18:29:28 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[wikipedia]]></category>

		<guid isPermaLink="false">http://dammit.lt/2006/08/24/snow-crash/</guid>
		<description><![CDATA[I was enjoying a fabulous read, Neal Stephenson&#8217;s novel Snow Crash. The book was written back in 1992, but it emphasized virtual reality and collaboration in a way that sounds modern still now. What was fun (and made me write &#8230; <a href="http://mituzas.lt/2006/08/24/snow-crash/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was enjoying a fabulous read, <a href='http://en.wikipedia.org/wiki/Neal_Stephenson'>Neal Stephenson&#8217;s</a> novel <a href='http://en.wikipedia.org/wiki/Snow_Crash'>Snow Crash</a>. The book was written back in 1992, but it emphasized virtual reality and collaboration in a way that sounds modern still now. </p>
<p>What was fun (and made me write this spoiling post), is that it is easy to spot MySQL usage patterns in science fiction:</p>
<ul>
<li><a href='http://en.wikipedia.org/wiki/Metaverse'>Metaverse</a> &#8211; the virtual reality internet, has its counterparts already in our current non-fictional world. <a href='http://en.wikipedia.org/wiki/Second_Life'>&#8220;Second Life&#8221;</a> is a nice [<a href='http://dev.mysql.com/tech-resources/interviews/ian-wilkes-linden-lab.html'>MySQL powered</a>] platform for virtual life and creativity, and it is now in state of early Metaverse evolution. </li>
<li>Central Intelligence Corporation (created after the merger of <a href='http://en.wikipedia.org/wiki/Library_of_Congress'>Library of Congress</a> and <a href='http://en.wikipedia.org/wiki/CIA'>CIA</a>, as they were duplicating each other anyway) operates huge resources of user-provided content, like <a href='http://flickr.com'>Flickr</a>, <a href='http://youtube.com'>YouTube</a> or <a href='http://en.wikipedia.org/wiki/Wikipedia'>Wikipedia</a> [MySQL powered again]. Though it had somewhat better interfaces and APIs, I guess that is what Web 5.0 is about ;-)</li>
</ul>
<p>I really liked the idea how asynchronous replication and lack of locking effects virtual reality worlds &#8211; even these effects were taken into account by the author. Add <a href='http://en.wikipedia.org/wiki/Neurolinguistics'>neurolinguistics</a>, <a href='http://en.wikipedia.org/wiki/Civilization#Early_civilizations'>civilization history</a>, brilliant satire, and you really get the best geek fiction. Thumbs up for the book. <a href='http://en.wikipedia.org/wiki/The_Diamond_Age'>The Diamond Age</a> seems to be the next read.</p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2006/08/24/snow-crash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Amazing coincidences</title>
		<link>http://mituzas.lt/2006/07/30/amazing-coincidences/</link>
		<comments>http://mituzas.lt/2006/07/30/amazing-coincidences/#comments</comments>
		<pubDate>Sun, 30 Jul 2006 09:40:29 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[wikipedia]]></category>

		<guid isPermaLink="false">http://dammit.lt/2006/07/30/amazing-coincidences/</guid>
		<description><![CDATA[The Canadian couple who were sitting in same row as me during my flight to Wikimania&#8217;2005.. are going to fly in same plane I&#8217;m flying to Wikimania&#8217;2006. Talk about coincidences&#8230;.]]></description>
			<content:encoded><![CDATA[<p>The Canadian couple who were sitting in same row as me during my flight to Wikimania&#8217;2005.. are going to fly in same plane I&#8217;m flying to Wikimania&#8217;2006. Talk about coincidences&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2006/07/30/amazing-coincidences/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On dreams that once were there&#8230;</title>
		<link>http://mituzas.lt/2006/07/29/a-dream-screwed-up/</link>
		<comments>http://mituzas.lt/2006/07/29/a-dream-screwed-up/#comments</comments>
		<pubDate>Sat, 29 Jul 2006 14:27:10 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[wikipedia]]></category>

		<guid isPermaLink="false">http://dammit.lt/2006/07/29/a-dream-screwed-up/</guid>
		<description><![CDATA[So, I&#8217;m already packing for my Boston trip, going to wikimania. This time it will be quite different from last meetups, where everyone met was new face (especially the Berlin meeting, where Jimmy, Brion and Tim did meet each other &#8230; <a href="http://mituzas.lt/2006/07/29/a-dream-screwed-up/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;m already packing for my Boston trip, going to <a href='http://wikimania2006.wikimedia.org/wiki/Main_Page'>wikimania</a>. This time it will be quite different from last meetups, where everyone met was new face (especially the Berlin meeting, where Jimmy, Brion and Tim did meet each other for the first time, oh, me too ;-). I expect to see lots of &#8216;usual suspects&#8217; there. Now the location of meeting is important. </p>
<p>Main conference will happen in <a href='http://www.harvard.edu'>Harvard</a> (uh oh!), and the developer meetings at <a href='http://mit.edu/'>MIT</a> (uh oh uh oh!). Few years ago, when I was finishing school, I had a dream to study at MIT. I did do SAT stuff, wrote essays, got recommendations, and then&#8230; didn&#8217;t use all that, because I pitied 50$ (or few hundred $, if I&#8217;d apply to more universities there). That probably was part of screwed up independence feeling I have developed in those years, I didn&#8217;t ask anyone, I didn&#8217;t tell anyone. So, one of my biggest dreams was destroyed not because I failed to reach it. It was blown up simply because I failed to try. </p>
<p>Now I&#8217;ll meet MIT people, I&#8217;ll walk in MIT campus and I&#8217;ll remember how one can fail if he doesn&#8217;t try. At least lately it is somewhat different. I try, and sometimes achieve. If anyone reads this, please do try to achieve your dreams. Otherwise you&#8217;ll end up writing such blog posts. Dreaming sometimes just isn&#8217;t enough.</p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2006/07/29/a-dream-screwed-up/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>military academy training</title>
		<link>http://mituzas.lt/2006/07/02/military-academy-training/</link>
		<comments>http://mituzas.lt/2006/07/02/military-academy-training/#comments</comments>
		<pubDate>Sun, 02 Jul 2006 09:00:35 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dammit.lt/2006/07/02/military-academy-training/</guid>
		<description><![CDATA[My class friend got promoted to lieutenant after military academy training, so we had a nice little party. It ended up at my place, which had one final exam for the guy. There are gates to the yard, which can &#8230; <a href="http://mituzas.lt/2006/07/02/military-academy-training/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My class friend got promoted to lieutenant after military academy training, so we had a nice little party. It ended up at my place, which had one final exam for the guy.
</p>
<p>There are gates to the yard, which can be opened remotely, and there&#8217;s intercom. And few meters inside there&#8217;s a white button to open the gates, if you have to get outside. What is really interesting &#8211; most people do not notice or understand the purpose of the button, though it is the single visible button, and it really contrasts with environment.</p>
<p>Anyway, military academy training proved to be successful, instead of calling me or climbing over the fence (that would be too childish), more sophisticated approach was used:</p>
<p><img src='/misc/undergates.jpg' alt='crawl under gates'/></p>
<p>Priceless.</p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2006/07/02/military-academy-training/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vittel changed the bottle design!</title>
		<link>http://mituzas.lt/2006/05/14/vittel-bottle-design/</link>
		<comments>http://mituzas.lt/2006/05/14/vittel-bottle-design/#comments</comments>
		<pubDate>Sun, 14 May 2006 20:03:32 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dammit.lt/2006/05/14/vittel-bottle-design/</guid>
		<description><![CDATA[And that is extremely painful when I&#8217;ve got a collection of Vittel bottles! Now as collection is finalized, I&#8217;m forced to make some decision with future of this army (>200 units ;-) Hell!]]></description>
			<content:encoded><![CDATA[<p>And that is extremely painful when I&#8217;ve got a collection of Vittel bottles!<br />
<a href="http://www.flickr.com/photos/midom/146257626/" title="Photo Sharing"><img src="http://static.flickr.com/53/146257626_df6499a2b1_m.jpg" width="240" height="180" alt="Image change" /></a></p>
<p>Now as collection is finalized, I&#8217;m forced to make some decision with future of this army (>200 units ;-) Hell!</p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2006/05/14/vittel-bottle-design/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>random search</title>
		<link>http://mituzas.lt/2006/05/05/random-search/</link>
		<comments>http://mituzas.lt/2006/05/05/random-search/#comments</comments>
		<pubDate>Fri, 05 May 2006 17:16:43 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dammit.lt/2006/05/05/random-search/</guid>
		<description><![CDATA[It is always somewhat fun to get special attention, but sometimes too much is too much. A guy at London airport looked at me and spit out &#8220;random search&#8221;. That was just stepping into another row and opening backpack. Flying &#8230; <a href="http://mituzas.lt/2006/05/05/random-search/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It is always somewhat fun to get special attention, but sometimes too much is too much. A guy at London airport looked at me and spit out &#8220;random search&#8221;. That was just stepping into another row and opening backpack.</p>
<p>Flying from LA to Vegas was another &#8220;random search&#8221; &#8211; a guy with gloves was carefully looking for WMDs.</p>
<p>Of course, why I&#8217;m writing this post &#8211; in Vegas I got the SSSS tag on my ticket, which meant changing lanes twice and getting into the fancy one &#8211; the one with dust particle blowers/analyzers, then each electronics equipment (and I did carry _some_) had to be checked for traces of _something_. </p>
<p>I still have two flights to make &#8211; will see how much of random searches I&#8217;ll get. Hail Vilnius airport, travel there isn&#8217;t that bad. But recently they started to ask to take shoes off too. I wonder how much time will it take for them to fire dust particles as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2006/05/05/random-search/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>California</title>
		<link>http://mituzas.lt/2006/04/25/california/</link>
		<comments>http://mituzas.lt/2006/04/25/california/#comments</comments>
		<pubDate>Mon, 24 Apr 2006 23:28:58 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://dammit.lt/2006/04/25/california/</guid>
		<description><![CDATA[More detailed trip report is still work in progress, but here is what Jens found on flickr (he somehow managed to identify me there). So right, this is how the trip goes:]]></description>
			<content:encoded><![CDATA[<p>More detailed trip report is still work in progress, but here is what Jens found on flickr (he somehow managed to identify me there). So right, this is how the trip goes:<br />
<img src='http://static.flickr.com/29/134064542_f67c6ff20d_m.jpg' alt='Wave'/></p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2006/04/25/california/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>one day in london</title>
		<link>http://mituzas.lt/2006/04/04/one-day-in-london/</link>
		<comments>http://mituzas.lt/2006/04/04/one-day-in-london/#comments</comments>
		<pubDate>Tue, 04 Apr 2006 11:08:30 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dammit.lt/?p=33</guid>
		<description><![CDATA[Woo, had one day (actually one and a half ;-) in London. I had a perfect guide, who could walk fast and show whole center on foot in single afternoon. Of course, Trafalgar square was a must for me (as &#8230; <a href="http://mituzas.lt/2006/04/04/one-day-in-london/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Woo, had one day (actually one and a half ;-) in London. I had a perfect guide, who could walk fast and show whole center on foot in single afternoon. Of course, Trafalgar square was a must for me (as I&#8217;ve read about it in detail more than ten years ago). </p>
<p><a href="http://www.flickr.com/photos/midom/123137331/" title="Photo Sharing"><img src="http://static.flickr.com/35/123137331_334d5a2473_m.jpg" width="240" height="192" alt="Nelson in wood" /></a></p>
<p>We were still walking late at night:<br />
<a href="http://www.flickr.com/photos/midom/123137333/" title="Photo Sharing"><img src="http://static.flickr.com/41/123137333_c956b3389c_m.jpg" width="240" height="192" alt="Millennium bridge at night" /></a></p>
<p>Besides riding double-deckers, we did take a tube, where steep and long spiral staircases are common, if you want to get out. And right, you don&#8217;t have to forget you&#8217;re in London &#8211; taking a minor tube journey may surprise you with heavy shower, though before that you could not see clouds :) Here, we went to British Museum, it&#8217;s all wet:</p>
<p><a href="http://www.flickr.com/photos/midom/123137334/" title="Photo Sharing"><img src="http://static.flickr.com/39/123137334_d707e7f14c_m.jpg" width="240" height="192" alt="British museum after rain" /></a></p>
<p>Inside you may spend hours, and variety of cultures represented may force you into deep discussions about all worlds being together (and, heh, Muslim cartoons).. Here, your stairs to the wisdom:<br />
<a href="http://www.flickr.com/photos/midom/123137335/" title="Photo Sharing"><img src="http://static.flickr.com/34/123137335_725b296e88_m.jpg" width="240" height="192" alt="Stairs of wisdom" /></a></p>
<p>So, next early morning, full of impressions I was riding a cab home&#8230;<br />
<a href="http://www.flickr.com/photos/midom/123137336/" title="Photo Sharing"><img src="http://static.flickr.com/39/123137336_8ffa54dd79_m.jpg" width="240" height="192" alt="Riding a cab in early morning" /></a></p>
<p>I always try to get emergency exit seats (not because I&#8217;m afraid, though), so every time I have to hear what should I do in case of disaster. This time it was funny:</p>
<ul>
<li><b>Steward</b>: Please follow instructions how to open emergency door in case of disaster</li>
<li><b>Me</b>: Oh sure, if windows doesn&#8217;t fall off first</li>
<li><b>Steward</b>: ?????</li>
<li>I gently touch the decoration frame around the window and it falls off. Window stays intact.</li>
<li><b>Steward</b>: ?!!!?!!!!?</li>
<li><b>Me:</b> :-D </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2006/04/04/one-day-in-london/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>more of spring in Vilnius</title>
		<link>http://mituzas.lt/2006/03/21/more-of-spring-in-vilnius/</link>
		<comments>http://mituzas.lt/2006/03/21/more-of-spring-in-vilnius/#comments</comments>
		<pubDate>Tue, 21 Mar 2006 12:32:34 +0000</pubDate>
		<dc:creator>Domas Mituzas</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dammit.lt/?p=31</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/81295370@N00/115777338/" title="Photo Sharing"><img src="http://static.flickr.com/41/115777338_bea4782c60.jpg" width="500" height="400" alt="orange dots fight white!" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mituzas.lt/2006/03/21/more-of-spring-in-vilnius/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
