<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Piotr Gabryjeluk dev blog</title>
		<link>http://piotr.gabryjeluk.pl</link>
		<description>Blog, photos and developer notes of Piotr Gabryjeluk, one of Wikidot.com developers.</description>
				<copyright></copyright>
		<lastBuildDate>Thu, 09 Feb 2012 20:46:57 +0000</lastBuildDate>
		
					<item>
				<guid>http://piotr.gabryjeluk.pl/dev:nowa-strona-nowy-temat</guid>
				<title>Nowa Strona -- Nowy Temat</title>
				<link>http://piotr.gabryjeluk.pl/dev:nowa-strona-nowy-temat</link>
				<description>

&lt;p&gt;Stworzyłem dziś nowy temat do Wikidota będący modyfikacją Łukaszowego Orange-Black:&lt;/p&gt;
&lt;p&gt;by &lt;span class=&quot;printuser avatarhover&quot;&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;&lt;img class=&quot;small&quot; src=&quot;http://www.wikidot.com/avatar.php?userid=2462&amp;amp;size=small&amp;amp;timestamp=1328820417&quot; alt=&quot;Gabrys&quot; style=&quot;background-image:url(http://www.wikidot.com/userkarma.php?u=2462)&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;Gabrys&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
				<pubDate>Thu, 10 Dec 2009 19:09:18 +0000</pubDate>
												<content:encoded>
					<![CDATA[
						 <p>Stworzyłem dziś nowy temat do Wikidota będący modyfikacją Łukaszowego Orange-Black:</p> <div class="content-separator" style="display: none:"></div> <p style="text-align: center;"><img src="http://thumbnail.s.wdfiles.com/thumbnail/theme/orange-black/240.jpg" alt="240.jpg" class="image" /></p> <p>Oto wynik:</p> <p style="text-align: center;"><img src="http://thumbnail.s.wdfiles.com/thumbnail/theme/orange-black-improved/240.jpg" alt="240.jpg" class="image" /></p> <p>Poza tym co widać, zmiany dotyczą użytego fonta, wyglądu komentarzy i forum, uproszczenia okienka nowego komentarza, ustalenia pozycji tła (żeby przewijanie przewijało samą treść, a nie tło) i dodanie lekkiego prześwitywania tła, żeby było bardziej sexy.</p> <p>Temat jest hostowany pod adresem: <a href="http://themes.wikidot.com/orange-black-improved">http://themes.wikidot.com/orange-black-improved</a>.</p> <p>A wszystko po to, żeby nadać naszej nowej stronce: <a href="http://parapetowa.wikidot.com/">http://parapetowa.wikidot.com/</a> ładnego wyglądu. A na stronce oprócz informacji co można nam kupić z okazji zbliżającej się parapetówy (jeszcze dokładnie nie wiadomo kiedy) uruchomiliśmy też bloga, gdzie pisać będziemy (a przynajmniej ja) o trudzie przystosowania mieszkania do wymagających lokatorów (czyli nas). Link do bloga:</p> <p style="text-align: center;"><a href="http://parapetowa.wikidot.com/blog">http://parapetowa.wikidot.com/blog</a></p> <p>Serdecznie zapraszamy!</p> <p>by <span class="printuser avatarhover"><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank"><img class="small" src="http://www.wikidot.com/avatar.php?userid=2462&amp;size=small&amp;timestamp=1328820417" alt="Gabrys" style="background-image:url(http://www.wikidot.com/userkarma.php?u=2462)" /></a><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank">Gabrys</a></span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://piotr.gabryjeluk.pl/dev:wikidot-org-refresh</guid>
				<title>Refreshing www.wikidot.org</title>
				<link>http://piotr.gabryjeluk.pl/dev:wikidot-org-refresh</link>
				<description>

&lt;p&gt;Yesterday I started refreshing &lt;a href=&quot;http://www.wikidot.org/&quot;&gt;www.wikidot.org&lt;/a&gt; website &amp;#8212; the home of Wikidot open source software.&lt;/p&gt;
&lt;p&gt;Also we decided to move from managing our code in SVN to Git &amp;#8212; more precisely to www.github.com. Our project page at GitHub is the following: &lt;a href=&quot;http://github.com/gabrys/wikidot&quot;&gt;http://github.com/gabrys/wikidot&lt;/a&gt;. Feel free to just follow it or even fork!&lt;/p&gt;
&lt;p&gt;Last times, I made Wikidot insanely easy to install (check out the &lt;a href=&quot;http://www.wikidot.org/installation-guide&quot;&gt;installation guide&lt;/a&gt;). It totally rocks (you can install Wikidot within 10 commands and no file editing).&lt;/p&gt;
&lt;p&gt;by &lt;span class=&quot;printuser avatarhover&quot;&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;&lt;img class=&quot;small&quot; src=&quot;http://www.wikidot.com/avatar.php?userid=2462&amp;amp;size=small&amp;amp;timestamp=1328820417&quot; alt=&quot;Gabrys&quot; style=&quot;background-image:url(http://www.wikidot.com/userkarma.php?u=2462)&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;Gabrys&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
				<pubDate>Thu, 21 May 2009 18:11:17 +0000</pubDate>
												<content:encoded>
					<![CDATA[
						 <p>Yesterday I started refreshing <a href="http://www.wikidot.org/">www.wikidot.org</a> website &#8212; the home of Wikidot open source software.</p> <p>Also we decided to move from managing our code in SVN to Git &#8212; more precisely to www.github.com. Our project page at GitHub is the following: <a href="http://github.com/gabrys/wikidot">http://github.com/gabrys/wikidot</a>. Feel free to just follow it or even fork!</p> <p>Last times, I made Wikidot insanely easy to install (check out the <a href="http://www.wikidot.org/installation-guide">installation guide</a>). It totally rocks (you can install Wikidot within 10 commands and no file editing).</p> <div class="content-separator" style="display: none:"></div> <p>I want to state, that this post is the last about the Wikidot open source software on this blog, as I'm running a new blog just about the Wikidot software at <a href="http://www.wikidot.org/blog">wikidot.org</a>. This will be more practical to filter the posts and will push some life into that site.</p> <p>At the end I want to invite you to the <a href="http://www.wikidot.org/irc-channel">Wikidot IRC channel</a> #wikidot at irc.freenode.org. That would be probably the easiest way to contact the Wikidot team without much formalism.</p> <p>(As many posts here were about Wikidot software, this blog will be less regularly updated, but if really care about Wikidot software news, just follow the new one and you won't be spammed about posts about Python, BASH or other things. I hope that blog-split will really help everyone.)</p> <p>by <span class="printuser avatarhover"><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank"><img class="small" src="http://www.wikidot.com/avatar.php?userid=2462&amp;size=small&amp;timestamp=1328820417" alt="Gabrys" style="background-image:url(http://www.wikidot.com/userkarma.php?u=2462)" /></a><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank">Gabrys</a></span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://piotr.gabryjeluk.pl/dev:po-devcampie</guid>
				<title>Po Devcampie</title>
				<link>http://piotr.gabryjeluk.pl/dev:po-devcampie</link>
				<description>

&lt;p&gt;Zdecydowałem, że mój blog musi być bardziej pozytywny.&lt;/p&gt;
&lt;p&gt;by &lt;span class=&quot;printuser avatarhover&quot;&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;&lt;img class=&quot;small&quot; src=&quot;http://www.wikidot.com/avatar.php?userid=2462&amp;amp;size=small&amp;amp;timestamp=1328820417&quot; alt=&quot;Gabrys&quot; style=&quot;background-image:url(http://www.wikidot.com/userkarma.php?u=2462)&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;Gabrys&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
				<pubDate>Sun, 26 Oct 2008 15:59:46 +0000</pubDate>
												<content:encoded>
					<![CDATA[
						 <p>Zdecydowałem, że mój blog musi być bardziej pozytywny.</p> <p>Zatem, po pierwsze: iPhone rządzi, bo ma basha.</p> <p>Po drugie: devcamp rządził :]. Chłopaki z www.socjum.pl też są spoko i zapraszają do Krakowa na imprezę, jaką długo spamiętamy.</p> <p>Po trzecie: z pomocą Zająca odpaliłem na moim lapie Compiza w konfiguracji Dual Head na karcie graficznej Intela (a jak wszyscy wiedzą mam dwie karty graficzne, w moim kompie).</p> <p>Niedługo będzie o pisaniu aplikacji do facebooka. A teraz sobie wymyślam jak powinien wyglądać serwis opiwo.com (czy raczej jak działać), żeby każdego chwycił za serce i spowodował efekt ŁAŁ.</p> <p>Szczegóły wkrótce.</p> <p>PS: Jeszcze chciałem przeprosić, że przynudzałem tak długo o tym JSON-RPC. Jak ktoś chętny: <a href="http://piotr.gabryjeluk.pl/local--files/dev:po-devcampie/od-ramek-do-json-rpc.pdf">oto prezentacja</a>.</p> <p>by <span class="printuser avatarhover"><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank"><img class="small" src="http://www.wikidot.com/avatar.php?userid=2462&amp;size=small&amp;timestamp=1328820417" alt="Gabrys" style="background-image:url(http://www.wikidot.com/userkarma.php?u=2462)" /></a><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank">Gabrys</a></span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://piotr.gabryjeluk.pl/dev:green-fresh</guid>
				<title>Green Fresh Theme</title>
				<link>http://piotr.gabryjeluk.pl/dev:green-fresh</link>
				<description>

&lt;p&gt;Hi, the theme I&#039;ve worked on is added to the &lt;a href=&quot;http://themes.wikidot.com/&quot;&gt;theme repository&lt;/a&gt;. And now it&#039;s the theme of my whole site!&lt;/p&gt;
&lt;p&gt;by &lt;span class=&quot;printuser avatarhover&quot;&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;&lt;img class=&quot;small&quot; src=&quot;http://www.wikidot.com/avatar.php?userid=2462&amp;amp;size=small&amp;amp;timestamp=1328820417&quot; alt=&quot;Gabrys&quot; style=&quot;background-image:url(http://www.wikidot.com/userkarma.php?u=2462)&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;Gabrys&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
				<pubDate>Sun, 14 Sep 2008 19:44:24 +0000</pubDate>
												<content:encoded>
					<![CDATA[
						 <p>Hi, the theme I've worked on is added to the <a href="http://themes.wikidot.com/">theme repository</a>. And now it's the theme of my whole site!</p> <p>You can rate and comment and grab it from:</p> <p style="text-align: center;"><a href="http://themes.wikidot.com/green-fresh">http://themes.wikidot.com/green-fresh</a></p> <p>I've successfully tested it on following browsers:</p> <ul> <li>Firefox 3, Ubuntu</li> <li>Opera 9.5, Wine</li> <li>Google Chrome Beta, Wine</li> <li>IE6, ies4linux (has some minor bugs)</li> <li>IE7, IE8 &#8212; <a href="http://ipinfo.info/netrenderer/">http://ipinfo.info/netrenderer/</a></li> <li>Konqueror, Ubuntu</li> </ul> <p>I hope you like it.</p> <p>by <span class="printuser avatarhover"><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank"><img class="small" src="http://www.wikidot.com/avatar.php?userid=2462&amp;size=small&amp;timestamp=1328820417" alt="Gabrys" style="background-image:url(http://www.wikidot.com/userkarma.php?u=2462)" /></a><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank">Gabrys</a></span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://piotr.gabryjeluk.pl/dev:regular-news</guid>
				<title>Regular News</title>
				<link>http://piotr.gabryjeluk.pl/dev:regular-news</link>
				<description>

&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;by &lt;span class=&quot;printuser avatarhover&quot;&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;&lt;img class=&quot;small&quot; src=&quot;http://www.wikidot.com/avatar.php?userid=2462&amp;amp;size=small&amp;amp;timestamp=1328820417&quot; alt=&quot;Gabrys&quot; style=&quot;background-image:url(http://www.wikidot.com/userkarma.php?u=2462)&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;Gabrys&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
				<pubDate>Thu, 11 Sep 2008 21:53:23 +0000</pubDate>
												<content:encoded>
					<![CDATA[
						 <p>Hello,</p> <p>today is <strong>my birthday</strong>. Some of you asked&#8230; I was born 11 September 1987, so I'm 21 years old now. I'm just back from concert of some local guitar bands. I received nice gifts today, like a chair (named &quot;Chef&quot;), a Children Of Bodom t-shirt (thanks <a href="http://squark.wikidot.com/">squark</a> and <a href="http://karlahunter.wikidot.com/">his half</a>), a chestnut (or <em>kasztan</em> if you wish) and I was going to be gifted a present from my girl, but unfortunately, she learns for her exam, so we'll meet tomorrow. I have no idea what the gift would be and I'm very curious about it.</p> <p>Other news: I have <strong>passed</strong> the object DB in Python. The caching is just as fast as running query in a few seconds instead of 4 minutes in certain situation, so this seems a lot, and as a matter of fact, this is only a prototype of caching mechanism.</p> <p>Nature (as some flowers) highers the <strong>work efficiency</strong>, so I set a ladybird as my new wallpaper. It motivates me.</p> <p>I have though of my future (i.e. what to do AFTER being a successful programmer) being asked by my girl. I would like to manage some project (I believe I would be good in it).</p> <p>And a time for <strong>confession</strong>: I really really love my Marta, and I will be very happy to be her beloved husband some day.</p> <p>This is the end of the birthday blog post. The next will be here in year I hope.</p> <p>The next post will be in Polish and will be about binary formats, helping people with them and Wikidot pro features. Keep tuned folks.</p> <p>by <span class="printuser avatarhover"><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank"><img class="small" src="http://www.wikidot.com/avatar.php?userid=2462&amp;size=small&amp;timestamp=1328820417" alt="Gabrys" style="background-image:url(http://www.wikidot.com/userkarma.php?u=2462)" /></a><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank">Gabrys</a></span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://piotr.gabryjeluk.pl/dev:python-database-the-work-continues</guid>
				<title>Python Database: The Work Continues</title>
				<link>http://piotr.gabryjeluk.pl/dev:python-database-the-work-continues</link>
				<description>

&lt;p&gt;Today more work was done by me on the object oriented database implemented in Python.&lt;/p&gt;
&lt;p&gt;by &lt;span class=&quot;printuser avatarhover&quot;&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;&lt;img class=&quot;small&quot; src=&quot;http://www.wikidot.com/avatar.php?userid=2462&amp;amp;size=small&amp;amp;timestamp=1328820417&quot; alt=&quot;Gabrys&quot; style=&quot;background-image:url(http://www.wikidot.com/userkarma.php?u=2462)&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;Gabrys&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
				<pubDate>Thu, 28 Aug 2008 21:36:18 +0000</pubDate>
												<content:encoded>
					<![CDATA[
						 <p>Today more work was done by me on the object oriented database implemented in Python.</p> <p>I dealt with some problems I came across like proper object encapsulation. Now, my database allows any object to be stored in it, even of classes that are internally used by my database.</p> <p>I implemented &quot;.&quot; and &quot;WHERE&quot; operators, which seemed the worst, because they needed working environmental stack.</p> <p>Now comes, what's the most individual &#8212; optimizing things with query cache. Actually it's not a query cache, but rather a evaluateNode cache, but this works very similar (the only difference is that the evaluateNode cache is more deep in operation and can be used inside of queries. This means it can accelerate the processing even for one query!</p> <p>More work will come for sure on this, because the cache seems to be really tricky with such a flexible database model we've assumed.</p> <p>Keep tuned for more news</p> <p>by <span class="printuser avatarhover"><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank"><img class="small" src="http://www.wikidot.com/avatar.php?userid=2462&amp;size=small&amp;timestamp=1328820417" alt="Gabrys" style="background-image:url(http://www.wikidot.com/userkarma.php?u=2462)" /></a><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank">Gabrys</a></span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://piotr.gabryjeluk.pl/dev:badge</guid>
				<title>Badge</title>
				<link>http://piotr.gabryjeluk.pl/dev:badge</link>
				<description>

&lt;p&gt;Wonder why blog on Wikidot, not on Wordpress?&lt;/p&gt;
&lt;p&gt;by &lt;span class=&quot;printuser avatarhover&quot;&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;&lt;img class=&quot;small&quot; src=&quot;http://www.wikidot.com/avatar.php?userid=2462&amp;amp;size=small&amp;amp;timestamp=1328820417&quot; alt=&quot;Gabrys&quot; style=&quot;background-image:url(http://www.wikidot.com/userkarma.php?u=2462)&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;Gabrys&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
				<pubDate>Sat, 16 Aug 2008 16:30:33 +0000</pubDate>
												<content:encoded>
					<![CDATA[
						 <p>Wonder why blog on Wikidot, not on Wordpress?</p> <p>With Wikidot, you can give your badges a reflection:</p> <div style="width: 190px; margin: 5px auto; overflow: hidden; background: transparent"><a href="http://piotr.gabryjeluk.pl/"><img src="http://piotr.gabryjeluk.pl/local--files/blog:side/badge.gif" class="reflect" width="190" alt="badge.gif" /></a></div> <p>(this one was created with <a href="http://cooltext.com/">Cooltext</a>)</p> <p>Welcome on Wikidot. Where dreams come true.</p> <h2><span>How to do this</span></h2> <p>Put somewhere on your wiki:</p> <div class="code"> <pre> <code>[[image http://piotr.gabryjeluk.pl/local--files/blog:side/badge.gif class=&quot;reflect&quot;]] [[embed]] &lt;script type=&quot;text/javascript&quot; src=&quot;http://static.wikidot.com/common--misc/reflection.js&quot;&gt;&lt;/script&gt; [[/embed]]</code> </pre></div> <p>by <span class="printuser avatarhover"><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank"><img class="small" src="http://www.wikidot.com/avatar.php?userid=2462&amp;size=small&amp;timestamp=1328820417" alt="Gabrys" style="background-image:url(http://www.wikidot.com/userkarma.php?u=2462)" /></a><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank">Gabrys</a></span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://piotr.gabryjeluk.pl/dev:blog-theme</guid>
				<title>Blog Theme</title>
				<link>http://piotr.gabryjeluk.pl/dev:blog-theme</link>
				<description>

&lt;p&gt;I&#039;ve managed to create a draft of blog theme for wikidot.&lt;br /&gt;
I&#039;ve applied it to my dev blog to test it and show off.&lt;/p&gt;
&lt;p&gt;It&#039;s based on &lt;a href=&quot;http://www.oswd.org/design/preview/id/2251&quot;&gt;this template&lt;/a&gt; by Open Source Web Design.&lt;/p&gt;
&lt;p&gt;by &lt;span class=&quot;printuser avatarhover&quot;&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;&lt;img class=&quot;small&quot; src=&quot;http://www.wikidot.com/avatar.php?userid=2462&amp;amp;size=small&amp;amp;timestamp=1328820417&quot; alt=&quot;Gabrys&quot; style=&quot;background-image:url(http://www.wikidot.com/userkarma.php?u=2462)&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;Gabrys&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
				<pubDate>Thu, 26 Jun 2008 12:59:26 +0000</pubDate>
												<content:encoded>
					<![CDATA[
						 <p>I've managed to create a draft of blog theme for wikidot.<br /> I've applied it to my dev blog to test it and show off.</p> <p>It's based on <a href="http://www.oswd.org/design/preview/id/2251">this template</a> by Open Source Web Design.</p> <p>by <span class="printuser avatarhover"><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank"><img class="small" src="http://www.wikidot.com/avatar.php?userid=2462&amp;size=small&amp;timestamp=1328820417" alt="Gabrys" style="background-image:url(http://www.wikidot.com/userkarma.php?u=2462)" /></a><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank">Gabrys</a></span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://piotr.gabryjeluk.pl/dev:mirror-server</guid>
				<title>Mirror Server</title>
				<link>http://piotr.gabryjeluk.pl/dev:mirror-server</link>
				<description>

&lt;p&gt;Today I&#039;ve (almost) managed to create a mirror server for wikidot.com service.&lt;/p&gt;
&lt;p&gt;by &lt;span class=&quot;printuser avatarhover&quot;&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;&lt;img class=&quot;small&quot; src=&quot;http://www.wikidot.com/avatar.php?userid=2462&amp;amp;size=small&amp;amp;timestamp=1328820417&quot; alt=&quot;Gabrys&quot; style=&quot;background-image:url(http://www.wikidot.com/userkarma.php?u=2462)&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;Gabrys&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
				<pubDate>Tue, 24 Jun 2008 12:55:35 +0000</pubDate>
												<content:encoded>
					<![CDATA[
						 <p>Today I've (almost) managed to create a mirror server for wikidot.com service.</p> <p>Features:</p> <ul> <li><strong>CentOS</strong> distribution</li> <li>almost live Wikidot read only mirror</li> <li>database is replicated from the original service in real time to this server</li> <li>user uploaded files are replicated in real time to this server using <a href="http://piotr.gabryjeluk.pl/fs-mirror">FS mirror</a></li> <li>avatars <strong>are to be</strong> mirrored with rsync every now and then</li> <li>uses Portable IP address: 67.228.37.27</li> <li><strong>lighttpd</strong> serves ALL content with FastCGI PHP</li> <li>database is <strong>read-only</strong> (as being replication slave)</li> <li>CVS configured to use SSH keys (no password asking)</li> <li>Wikidot PHP source mainly from the current production server</li> <li>Improvements (from CVS): uploaded files served like in OpenSource version</li> </ul> <p>Problems:</p> <ul> <li><a href="http://piotr.gabryjeluk.pl/fs-mirror">FS mirror</a> is not 100% exact, it may not synchronize some (little fraction of) files every now and then, so we must rsync them additionally, to make sure nothing's lost</li> <li>if you were logged in to Wikidot before, it'll complain about not being able to write to ozone_session (because it's read only)</li> <li><span style="text-decoration: line-through;">Flickr Gallery not working and causing the whole page to display just nothing</span></li> <li><span style="text-decoration: line-through;">magic file recognition not working (it may be a problem in PHP configuration or an extension):</span></li> </ul> <div class="code"> <pre> <code>PHP Warning: finfo_open(): Failed to load magic database at '/usr/share/misc/magic'. in /var/www/www.wikidot.com/wikidot/php/utils/- on line 3 PHP Warning: finfo_file(): supplied argument is not a valid file_info resource in /var/www/www.wikidot.com/wikidot/php/utils/- on line 4 PHP Warning: finfo_close(): supplied argument is not a valid file_info resource in /var/www/www.wikidot.com/wikidot/php/utils/- on line 5</code> </pre></div> <p>UPDATE: Flickr problem solution:</p> <ol> <li>yum install php-pear-HTTP-Request</li> <li>chgrp lighttpd /var/lib/php/session</li> </ol> <p>Remember:</p> <ul> <li>when switching to mirror, we must restart memcached (or force to invalidate every item in it)</li> </ul> <p>by <span class="printuser avatarhover"><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank"><img class="small" src="http://www.wikidot.com/avatar.php?userid=2462&amp;size=small&amp;timestamp=1328820417" alt="Gabrys" style="background-image:url(http://www.wikidot.com/userkarma.php?u=2462)" /></a><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank">Gabrys</a></span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://piotr.gabryjeluk.pl/dev:pingbacks-to-come-to-wikidot</guid>
				<title>PingBacks To Come To Wikidot</title>
				<link>http://piotr.gabryjeluk.pl/dev:pingbacks-to-come-to-wikidot</link>
				<description>

&lt;p&gt;I&#039;m currently working on PingBack implementation (both server and client) for current Wikidot software.&lt;/p&gt;
&lt;p&gt;by &lt;span class=&quot;printuser avatarhover&quot;&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;&lt;img class=&quot;small&quot; src=&quot;http://www.wikidot.com/avatar.php?userid=2462&amp;amp;size=small&amp;amp;timestamp=1328820417&quot; alt=&quot;Gabrys&quot; style=&quot;background-image:url(http://www.wikidot.com/userkarma.php?u=2462)&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;Gabrys&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
				<pubDate>Fri, 06 Jun 2008 15:52:11 +0000</pubDate>
												<content:encoded>
					<![CDATA[
						 <p>I'm currently working on PingBack implementation (both server and client) for current Wikidot software.</p> <p>The documentation for PingBack is located here: <a href="http://hixie.ch/specs/pingback/pingback">http://hixie.ch/specs/pingback/pingback</a></p> <p>The changes will be available on the wiki farm www.wikidot.com and will be incorporated in the open-sourced version www.wikidot.org</p> <p>We've noticed there are many posts on Wordpress about Wikidot, bunch of them:</p> <ul> <li><a href="http://docudork.wordpress.com/2008/02/10/wikidot-platform-released-as-open-source-under-affero-gplv3-license/">http://docudork.wordpress.com/2008/02/10/wikidot-platform-released-as-open-source-under-affero-gplv3-license/</a></li> <li><a href="http://joeos.wordpress.com/english-education/wikidot/">http://joeos.wordpress.com/english-education/wikidot/</a></li> <li><a href="http://compmatsci.wordpress.com/2007/12/29/wikidot-ing/">http://compmatsci.wordpress.com/2007/12/29/wikidot-ing/</a></li> <li><a href="http://jonnyengland.wordpress.com/2007/05/08/wikidot/">http://jonnyengland.wordpress.com/2007/05/08/wikidot/</a></li> </ul> <p>and we want to make a smart move to let people from both services (and many more) know what happens on the other.</p> <p>PingBack is also known to work for many many other services than just WordPress.</p> <p>by <span class="printuser avatarhover"><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank"><img class="small" src="http://www.wikidot.com/avatar.php?userid=2462&amp;size=small&amp;timestamp=1328820417" alt="Gabrys" style="background-image:url(http://www.wikidot.com/userkarma.php?u=2462)" /></a><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank">Gabrys</a></span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://piotr.gabryjeluk.pl/dev:ubuntu-server-7-10-wikidot-clean-install</guid>
				<title>Ubuntu Server 7.10 Wikidot Clean Install</title>
				<link>http://piotr.gabryjeluk.pl/dev:ubuntu-server-7-10-wikidot-clean-install</link>
				<description>

&lt;p&gt;After &lt;a href=&quot;http://piotr.gabryjeluk.pl/dev:creating-a-space-for-virtual-machines-host&quot;&gt;creating-a-space-for-virtual-machines-host&lt;/a&gt; it&#039;s time to prepare a very first productional Wikidot installation on a virtual disk image.&lt;/p&gt;
&lt;p&gt;by &lt;span class=&quot;printuser avatarhover&quot;&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;&lt;img class=&quot;small&quot; src=&quot;http://www.wikidot.com/avatar.php?userid=2462&amp;amp;size=small&amp;amp;timestamp=1328820417&quot; alt=&quot;Gabrys&quot; style=&quot;background-image:url(http://www.wikidot.com/userkarma.php?u=2462)&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;Gabrys&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
				<pubDate>Wed, 12 Mar 2008 21:10:52 +0000</pubDate>
												<content:encoded>
					<![CDATA[
						 <p>After <a href="http://piotr.gabryjeluk.pl/dev:creating-a-space-for-virtual-machines-host">creating-a-space-for-virtual-machines-host</a> it's time to prepare a very first productional Wikidot installation on a virtual disk image.</p> <p>The problems I've encountered:</p> <p>1. Compiling the PCRE not gave me the expected results (using heap for recursion matches).</p> <p>More to come&#8230;</p> <p>by <span class="printuser avatarhover"><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank"><img class="small" src="http://www.wikidot.com/avatar.php?userid=2462&amp;size=small&amp;timestamp=1328820417" alt="Gabrys" style="background-image:url(http://www.wikidot.com/userkarma.php?u=2462)" /></a><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank">Gabrys</a></span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://piotr.gabryjeluk.pl/dev:creating-a-space-for-virtual-machines-host</guid>
				<title>Creating a space for Virtual Machines host</title>
				<link>http://piotr.gabryjeluk.pl/dev:creating-a-space-for-virtual-machines-host</link>
				<description>

&lt;p&gt;Look at this:&lt;/p&gt;
&lt;p&gt;by &lt;span class=&quot;printuser avatarhover&quot;&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;&lt;img class=&quot;small&quot; src=&quot;http://www.wikidot.com/avatar.php?userid=2462&amp;amp;size=small&amp;amp;timestamp=1328820417&quot; alt=&quot;Gabrys&quot; style=&quot;background-image:url(http://www.wikidot.com/userkarma.php?u=2462)&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;Gabrys&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
				<pubDate>Tue, 11 Mar 2008 22:43:24 +0000</pubDate>
												<content:encoded>
					<![CDATA[
						 <p>Look at this:</p> <p><a href="http://dev.wikidot.com/farm-hosting">http://dev.wikidot.com/farm-hosting</a></p> <p>We want to make some Virtual hosting</p> <p>I prepare the environment for it.</p> <p>At first, it'll be the same server like the wikidot.com. In order to install VirtualBox i needed to:</p> <p>yum install SDL.x86_64<br /> yum install qt.x86_64<br /> ldconfig<br /> rpm -ihv VirtualBox-1.5.6_28266_rhel5-1.x86_64.rpm<br /> (got from here: <a href="http://www.virtualbox.org/download/1.5.6/">http://www.virtualbox.org/download/1.5.6/</a>)<br /> then:<br /> /etc/init.d/vboxdrv setup</p> <p>I added user vbuser with</p> <ul> <li>the group vboxusers (added by the RPM installation) &#8212; group of users that can run VirtualBox</li> <li>home: /vol/disk1/home-vbuser</li> <li>/home/vbuser links to /vol/disk1/home-vbuser</li> </ul> <p>I started the VNC session with some gnome-panel and metacity for the user.</p> <p>To do this again (in order one killed that) do:</p> <p>vncserver</p> <p>To stop:</p> <p>killall Xvnc (this will probably kill all running virtual machines).</p> <p>To connect to it just forward 5903 (this is :3 session of VNC) to localhost, in ssh:<br /> ssh -L 5903:localhost:5903</p> <p>and connect with a VNC client to the localhost:3</p> <p>this way you don't transfer the plain password via the network. (the plain password goes through the SSH tunnel).</p> <p>I created some test machine with a UbuntuServer on it (version 7.10 Gutsy Gibbon i386!!) and needed pkgs for wikidot.com (and the source from svn).</p> <ul> <li>RAM: 750MB</li> <li>disk: 20&#160;GB auto-resize, LVM, guided partition scheme</li> <li>network: NAT &#8212; <strong>change to tun interface</strong></li> </ul> <h2><span>NOTE</span></h2> <p>This does not work out of the box, we must exchange the kernel like described here: <a href="http://tombuntu.com/index.php/2007/09/05/making-ubuntu-server-work-in-virtualbox/">http://tombuntu.com/index.php/2007/09/05/making-ubuntu-server-work-in-virtualbox/</a></p> <p>Rescue the system, go to sheel and then:<br /> mount /boot<br /> apt-get remove linux-server<br /> apt-get install linux-generic</p> <p>then boot from the disk and press ESC when GRUB boots, select generic.</p> <h2><span>TODO</span></h2> <p>install OSE version.</p> <p>by <span class="printuser avatarhover"><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank"><img class="small" src="http://www.wikidot.com/avatar.php?userid=2462&amp;size=small&amp;timestamp=1328820417" alt="Gabrys" style="background-image:url(http://www.wikidot.com/userkarma.php?u=2462)" /></a><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank">Gabrys</a></span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://piotr.gabryjeluk.pl/dev:snapshots-of-filesystems-under-linux</guid>
				<title>Snapshots Of Filesystems Under Linux</title>
				<link>http://piotr.gabryjeluk.pl/dev:snapshots-of-filesystems-under-linux</link>
				<description>

&lt;p&gt;Today I&#039;ve learnt about making snapshots of regular filesystems in Linux.&lt;/p&gt;
&lt;p&gt;by &lt;span class=&quot;printuser avatarhover&quot;&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;&lt;img class=&quot;small&quot; src=&quot;http://www.wikidot.com/avatar.php?userid=2462&amp;amp;size=small&amp;amp;timestamp=1328820417&quot; alt=&quot;Gabrys&quot; style=&quot;background-image:url(http://www.wikidot.com/userkarma.php?u=2462)&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://piotr.gabryjeluk.pl/profile2:2462&quot; target=&quot;_blank&quot;&gt;Gabrys&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
				<pubDate>Fri, 07 Mar 2008 21:47:09 +0000</pubDate>
												<content:encoded>
					<![CDATA[
						 <p>Today I've learnt about making snapshots of regular filesystems in Linux.</p> <p>First of all, this is a link to the article I've found and seems to be quite OK: <a href="http://howtoforge.com/linux_lvm_snapshots_p2">http://howtoforge.com/linux_lvm_snapshots_p2</a></p> <p>The idea is simple. We have to:</p> <ol> <li>Have LVM partition</li> <li>Set up some (I believe this is not limited to standard ext3) partitions on it</li> <li>Prepare some place for backups (over network or on a separate disk)</li> <li>Then at any time, we can just create a snapshot - this does not really consume MUCH resources &#8212; but consumes SOME.</li> <li>This takes not more than 1 second and creates a device/file/something that is an image of the filesystem in the exact moment of creating the snapshot.</li> <li>Having the image (snapshot) we can do anything with it (like with a block device) &#8212; mount (and backup the files), create a raw-copy, export to another machine, clone, whatever.</li> </ol> <h3><span>Notes</span></h3> <ul> <li>The author believes one can safely restore a backup without even restarting services. <ul> <li>Will we need to rely on this? 60 seconds of down-time is acceptable and guaranties that nothing bad happens.</li> </ul> </li> </ul> <p>by <span class="printuser avatarhover"><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank"><img class="small" src="http://www.wikidot.com/avatar.php?userid=2462&amp;size=small&amp;timestamp=1328820417" alt="Gabrys" style="background-image:url(http://www.wikidot.com/userkarma.php?u=2462)" /></a><a href="http://piotr.gabryjeluk.pl/profile2:2462" target="_blank">Gabrys</a></span></p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>
