<?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>Autarchy of the Private Cave</title>
	<atom:link href="http://bogdan.org.ua/feed" rel="self" type="application/rss+xml" />
	<link>http://bogdan.org.ua</link>
	<description>Tiny bits of bioinformatics, [web-]programming etc</description>
	<lastBuildDate>Tue, 16 Mar 2010 23:31:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Good online Python book with code examples</title>
		<link>http://bogdan.org.ua/2010/03/01/good-online-python-book-with-code-examples.html</link>
		<comments>http://bogdan.org.ua/2010/03/01/good-online-python-book-with-code-examples.html#comments</comments>
		<pubDate>Mon, 01 Mar 2010 18:03:11 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=1008</guid>
		<description><![CDATA[Building Skills in Python: A Programmer&#8217;s Introduction to Python by Steven F. Lott (© 2002, 2005, 2007, 2008 Steven F. Lott).
          ]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://www.linuxtopia.org/online_books/programming_books/python_programming/index.html">Building Skills in Python: A Programmer&#8217;s Introduction to Python</a> by Steven F. Lott (© 2002, 2005, 2007, 2008 Steven F. Lott).</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fgood-online-python-book-with-code-examples.html&amp;linkname=Good%20online%20Python%20book%20with%20code%20examples" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fgood-online-python-book-with-code-examples.html&amp;linkname=Good%20online%20Python%20book%20with%20code%20examples" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fgood-online-python-book-with-code-examples.html&amp;linkname=Good%20online%20Python%20book%20with%20code%20examples" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fgood-online-python-book-with-code-examples.html&amp;linkname=Good%20online%20Python%20book%20with%20code%20examples" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fgood-online-python-book-with-code-examples.html&amp;linkname=Good%20online%20Python%20book%20with%20code%20examples" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fgood-online-python-book-with-code-examples.html&amp;linkname=Good%20online%20Python%20book%20with%20code%20examples" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fgood-online-python-book-with-code-examples.html&amp;linkname=Good%20online%20Python%20book%20with%20code%20examples" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fgood-online-python-book-with-code-examples.html&amp;linkname=Good%20online%20Python%20book%20with%20code%20examples" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fgood-online-python-book-with-code-examples.html&amp;linkname=Good%20online%20Python%20book%20with%20code%20examples" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fgood-online-python-book-with-code-examples.html&amp;linkname=Good%20online%20Python%20book%20with%20code%20examples" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fgood-online-python-book-with-code-examples.html&amp;linkname=Good%20online%20Python%20book%20with%20code%20examples"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2010/03/01/good-online-python-book-with-code-examples.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>screen mastery with only 3 keyboard shortcuts</title>
		<link>http://bogdan.org.ua/2010/03/01/screen-mastery-with-only-3-keyboard-shortcuts.html</link>
		<comments>http://bogdan.org.ua/2010/03/01/screen-mastery-with-only-3-keyboard-shortcuts.html#comments</comments>
		<pubDate>Mon, 01 Mar 2010 17:11:57 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[screenie]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=1003</guid>
		<description><![CDATA[screen is a must-use for anyone familiar with SSH sessions; it saves your time by keeping your console apps running even after (an unexpected) disconnect from the remote session.
The easiest way to start with screen is screenie &#8211; an interface to screen. To use it, you only need to memorize a single keyboard shortcut: C-a [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><strong>screen</strong> is a must-use for anyone familiar with SSH sessions; it saves your time by keeping your console apps running even after (an unexpected) disconnect from the remote session.</p>
<p>The easiest way to start with screen is <strong>screenie</strong> &#8211; an interface to screen. To use it, you only need to memorize a single keyboard shortcut: <strong>C-a d</strong> (<strong>Ctrl+a, d</strong>). This shortcut detaches (hides) your current screen session, allowing to resume later &#8211; either with the help of <strong>screenie</strong>, or by issuing <strong>screen -r</strong> command.</p>
<p>After a while, with increased screen (and screenie) usage, you will find it inconvenient detaching every time you need a new screen session. Here comes the second keyboard shortcut: <strong>C-a c</strong> (<strong>Ctrl+a, c</strong>), which creates a new window within a current screen session, and switches to it.</p>
<p>Finally, you will find it tiresome detaching to then re-attach to a different screen. <strong>C-a &#8220;</strong> (<strong>Ctrl+a, Shift+&#8217;</strong>) will display a list of screen windows for you to select and switch to.</p>
<p><strong>Screenie</strong>, an excellent beginner&#8217;s interface to screen, is no longer needed after you memorize these 3 keyboard shortcuts.</p>
<p>Many will say that <em>this is a bare minimum</em>, and also <em>there is much more to screen than what you present here</em>, and that will be true. However, these 3 shortcuts are sufficient for simple but convenient everyday screen sessions management.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2010/03/01/screen-mastery-with-only-3-keyboard-shortcuts.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ntfstruncate binary for Debian (resetting NTFS bad clusters counter)</title>
		<link>http://bogdan.org.ua/2010/03/01/ntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html</link>
		<comments>http://bogdan.org.ua/2010/03/01/ntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html#comments</comments>
		<pubDate>Mon, 01 Mar 2010 16:55:56 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[bad clusters]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux-ntfs]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[ntfsprogs]]></category>
		<category><![CDATA[ntfstruncate]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[pending sectors]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=1000</guid>
		<description><![CDATA[There is an excellent step-by-step instruction on resetting the bad clusters counter of an NTFS partition with linux-ntfs tools. I&#8217;ve checked &#8211; it works as expected:

Back up important data from partition just in case
Find out size of &#8216;$Bad&#8217; attribute in $Badclus using ntfsinfo -i 8 partition (partition is for example /dev/sda1). It will be the [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>There is an <a href="http://www.linux-ntfs.org/doku.php?id=ntfsclone#reseting_the_bad_sectors_list_after_cloning">excellent step-by-step instruction</a> on resetting the bad clusters counter of an NTFS partition with linux-ntfs tools. I&#8217;ve checked &#8211; it works as expected:</p>
<blockquote><ol>
<li>Back up important data from partition just in case</li>
<li>Find out size of &#8216;$Bad&#8217; attribute in $Badclus using <strong>ntfsinfo -i 8 <em>partition</em></strong> (<em>partition</em> is for example /dev/sda1). It will be the “Allocated size” value in the “Dumping attribute $DATA (0×80)” (there will be two 0×80 attributes. Only one has an “Allocated size” line). Let us write down (remember) this size as <em>ntfs_size</em>.</li>
<li>Use <strong>ntfstruncate <em>partition</em> 8 0&#215;80 &#8216;$Bad&#8217; 0</strong> to set $Bad&#8217;s attribute length to zero.</li>
<li>Use <strong>ntfstruncate <em>partition</em> 8 0&#215;80 &#8216;$Bad&#8217; <em>ntfs_size</em></strong> to set $Bad&#8217;s attribute length back to proper value <em>ntfs_size</em> which was recorded in step 2.</li>
<li>Boot into Windows and run <strong>chkdsk -f <em>diskname</em></strong>. It will find errors and should fix them.</li>
</ol>
</blockquote>
<p>However, Debian&#8217;s <strong>ntfsprogs</strong> package does not have the <strong>ntfstruncate</strong> binary.</p>
<p>Here&#8217;s how you can easily build one yourself (you may need a few extra packages with build tools for that):<br />
<span id="more-1000"></span></p>
<ol>
<li><strong>apt-get source ntfsprogs</strong></li>
<li><strong>cd linux-ntfs-2.0.0</strong></li>
<li><strong>./configure &#038;&#038; make extra</strong></li>
<li><strong>cd ntfsprogs &#038;&#038; ./ntfstruncate</strong></li>
</ol>
<p>You can also install ntfstruncate system-wide, but I have no idea if that will interfere with the already-installed ntfsprogs package, so I just used this binary directly from linux-ntfs-2.0.0/ntfsprogs.</p>
<p>Bad clusters happen not only when cloning an NTFS partition between 2 physical hard disk drives. Once, after a brief blackout (with a turned on PC, and not on a UPS), the SMART status of my new HDD started showing 1 &#8216;Pending sector&#8217;. Correspondingly, all the SMART tests (performed with a <strong>smartctl</strong> utility) reported read errors. To help my HDD examine and fix the problem itself, I performed a write operation to that single unreadable sector, which restored it (and reset the &#8216;Pending sector&#8217; counter back to zero). It was possible, because not the physical sector itself, but the hidden CRC field had errors after power failure; modern hard drives can detect and fix this kind of errors upon write operations (read operations only mark the sector as &#8216;pending&#8217;, because data read is not consistent with the stored CRC).</p>
<p>However, NTFS partition still had 4096 bytes in &#8216;bad clusters&#8217;. A little research revealed the presence of internal NTFS bad clusters counter, which can be reset following the procedures above.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2010/03/01/ntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Had happiness ever creeped up on you?</title>
		<link>http://bogdan.org.ua/2010/02/16/had-happiness-ever-creeped-up-on-you.html</link>
		<comments>http://bogdan.org.ua/2010/02/16/had-happiness-ever-creeped-up-on-you.html#comments</comments>
		<pubDate>Mon, 15 Feb 2010 22:08:54 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Society]]></category>
		<category><![CDATA[Welfare]]></category>
		<category><![CDATA[appraisal]]></category>
		<category><![CDATA[inner peace]]></category>
		<category><![CDATA[love]]></category>
		<category><![CDATA[value]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=993</guid>
		<description><![CDATA[&#8220;We only value what we loose&#8221;, they say.
Fortunately, I haven&#8217;t lost anything valuable, and don&#8217;t plan to. However, I did come to realize that false leads may and actually do obscure some simple happiness bits we fail to notice in our everyday life. Especially when that happiness comes from someone close, someone you literally got [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><img src="http://bogdan.org.ua/wp-content/uploads/2010/02/mountain_lake.jpg" alt="mountain lake: inner peace" title="mountain lake: inner peace" width="320" height="249" class="alignright size-full wp-image-995" />&#8220;We only value what we loose&#8221;, they say.</p>
<p>Fortunately, I haven&#8217;t lost anything valuable, and don&#8217;t plan to. However, I did come to realize that false leads may and actually do obscure some simple happiness bits we fail to notice in our everyday life. Especially when that happiness comes from someone close, someone you literally got used to as to something inseparable from your life &#8211; but still fail to give value to.</p>
<p>Take care of your happiness and inner peace &#8211; do stop sometimes to thank and praise and value the oh-so-inseparable people around you.</p>
<p><em>Copyrights note: this is not my image, and I do not know who is the proper copyrights holder. It is used here for illustrative non-profit purposes, with a proper disclaimer. Contact me if you own the copyright and wish this image removed.</em></p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F02%2F16%2Fhad-happiness-ever-creeped-up-on-you.html&amp;linkname=Had%20happiness%20ever%20creeped%20up%20on%20you%3F" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F02%2F16%2Fhad-happiness-ever-creeped-up-on-you.html&amp;linkname=Had%20happiness%20ever%20creeped%20up%20on%20you%3F" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F02%2F16%2Fhad-happiness-ever-creeped-up-on-you.html&amp;linkname=Had%20happiness%20ever%20creeped%20up%20on%20you%3F" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F02%2F16%2Fhad-happiness-ever-creeped-up-on-you.html&amp;linkname=Had%20happiness%20ever%20creeped%20up%20on%20you%3F" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F02%2F16%2Fhad-happiness-ever-creeped-up-on-you.html&amp;linkname=Had%20happiness%20ever%20creeped%20up%20on%20you%3F" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F02%2F16%2Fhad-happiness-ever-creeped-up-on-you.html&amp;linkname=Had%20happiness%20ever%20creeped%20up%20on%20you%3F" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F02%2F16%2Fhad-happiness-ever-creeped-up-on-you.html&amp;linkname=Had%20happiness%20ever%20creeped%20up%20on%20you%3F" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F02%2F16%2Fhad-happiness-ever-creeped-up-on-you.html&amp;linkname=Had%20happiness%20ever%20creeped%20up%20on%20you%3F" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F02%2F16%2Fhad-happiness-ever-creeped-up-on-you.html&amp;linkname=Had%20happiness%20ever%20creeped%20up%20on%20you%3F" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F02%2F16%2Fhad-happiness-ever-creeped-up-on-you.html&amp;linkname=Had%20happiness%20ever%20creeped%20up%20on%20you%3F" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F02%2F16%2Fhad-happiness-ever-creeped-up-on-you.html&amp;linkname=Had%20happiness%20ever%20creeped%20up%20on%20you%3F"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2010/02/16/had-happiness-ever-creeped-up-on-you.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>R script to filter probesets with log-expression values below the lowest spike-in</title>
		<link>http://bogdan.org.ua/2010/01/27/r-script-to-filter-probesets-with-log-expression-values-below-the-lowest-spike-in.html</link>
		<comments>http://bogdan.org.ua/2010/01/27/r-script-to-filter-probesets-with-log-expression-values-below-the-lowest-spike-in.html#comments</comments>
		<pubDate>Wed, 27 Jan 2010 12:44:02 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Bioinformatics]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Affymetrix]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[log-expression]]></category>
		<category><![CDATA[microarray]]></category>
		<category><![CDATA[probeset]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[spike-in]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=985</guid>
		<description><![CDATA[Sometimes there is a need to remove all the probesets, which have expression values below the minimal spike-in intensity on the Affymetrix microarray. The reasoning behind this procedure is simple: minimal-expression spike-ins represent the bottom margin of microarray sensitivity, and anything below that margin cannot be reliably quantified - which also means that both fold-change [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Sometimes there is a need to remove all the probesets, which have expression values below the minimal spike-in intensity on the <a href="http://www.affymetrix.com/">Affymetrix</a> microarray. The reasoning behind this procedure is simple: minimal-expression spike-ins represent the bottom margin of microarray sensitivity, and anything below that margin cannot be reliably quantified - which also means that both fold-change and p-value of expression variance will be unreliable for these probesets.</p>
<p>Here's a simple <a href="http://www.r-project.org/">R</a> script to do just that. It is abundantly commented, and also contains an optional (commented out) fragment which allows the removal of more low-variance, low-intensity probesets.</p>
<p><span id="more-985"></span><br />
<em>Hint: click the "plain text" box header to be able to right-click the code, "Select All", and then "Copy".</em></p>
<div class="igBar"><span id="lcode-2"><a href="#" onclick="javascript:showPlainTxt('code-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-2">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">filter_below_spikes = function<span style="color:#006600; font-weight:bold;">&#40;</span>eset<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # Finds max<span style="color:#006600; font-weight:bold;">&#40;</span>lowest<span style="color:#006600; font-weight:bold;">&#41;</span> AFFX/spike-in intensity, and removes rows consisting entirely of values below max<span style="color:#006600; font-weight:bold;">&#40;</span>lowest<span style="color:#006600; font-weight:bold;">&#41;</span>.</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # @param eset</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # ExpressionSet</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # @returns</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # exprs<span style="color:#006600; font-weight:bold;">&#40;</span>ExpressionSet<span style="color:#006600; font-weight:bold;">&#41;</span>, filtered</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # Without Biobase exprs<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> will not work.</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="">require</span><span style="color:#006600; font-weight:bold;">&#40;</span>Biobase<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; expr = exprs<span style="color:#006600; font-weight:bold;">&#40;</span>eset<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # <span style="color:#CC0000;">'expr'</span> sample:</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; #&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#800000;color:#800000;">1</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # <span style="color:#800000;color:#800000;">1367452</span>_at <span style="color:#800000;color:#800000;">10</span>.<span style="color:#800000;color:#800000;">880208</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # <span style="color:#800000;color:#800000;">1367453</span>_at <span style="color:#800000;color:#800000;">10</span>.<span style="color:#800000;color:#800000;">554647</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; cat<span style="color:#006600; font-weight:bold;">&#40;</span>nrow<span style="color:#006600; font-weight:bold;">&#40;</span>expr<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#CC0000;">"rows before filtering.<span style="color:#000099; font-weight:bold;">\n</span>"</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # Make a vector of spike row names.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="">spikes</span> = grep<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">"AFFX"</span>, rownames<span style="color:#006600; font-weight:bold;">&#40;</span>expr<span style="color:#006600; font-weight:bold;">&#41;</span>, value = TRUE<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; cat<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">"Expression matrix has"</span>, length<span style="color:#006600; font-weight:bold;">&#40;</span>spikes<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#CC0000;">"spike-in rows.<span style="color:#000099; font-weight:bold;">\n</span>"</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; cat<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">"Summary of spike-in values distribution follows:<span style="color:#000099; font-weight:bold;">\n</span>"</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; print<span style="color:#006600; font-weight:bold;">&#40;</span>summary<span style="color:#006600; font-weight:bold;">&#40;</span>expr<span style="color:#006600; font-weight:bold;">&#91;</span>spikes, <span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # Find max<span style="color:#006600; font-weight:bold;">&#40;</span>lowest<span style="color:#006600; font-weight:bold;">&#41;</span> spike-in values.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="">minval_max</span> = max<span style="color:#006600; font-weight:bold;">&#40;</span>as.<span style="">double</span><span style="color:#006600; font-weight:bold;">&#40;</span>substr<span style="color:#006600; font-weight:bold;">&#40;</span>grep<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">"Min"</span>, summary<span style="color:#006600; font-weight:bold;">&#40;</span>expr<span style="color:#006600; font-weight:bold;">&#91;</span>spikes, <span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#41;</span>, value = TRUE<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#800000;color:#800000;">10</span>, <span style="color:#800000;color:#800000;">14</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; cat<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">"max(minimal spike-in log-intensity values) ="</span>, minval_max, <span style="color:#CC0000;">"<span style="color:#000099; font-weight:bold;">\n</span>"</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # Remove spike-ins from expr.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="">expr</span> = expr<span style="color:#006600; font-weight:bold;">&#91;</span>grep<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">"AFFX"</span>, rownames<span style="color:#006600; font-weight:bold;">&#40;</span>expr<span style="color:#006600; font-weight:bold;">&#41;</span>, value = TRUE, invert = TRUE<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#006600; font-weight:bold;">&#93;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; nospike_rows = nrow<span style="color:#006600; font-weight:bold;">&#40;</span>expr<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; cat<span style="color:#006600; font-weight:bold;">&#40;</span>nospike_rows, <span style="color:#CC0000;">"rows remaining after the removal of"</span>, length<span style="color:#006600; font-weight:bold;">&#40;</span>spikes<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#CC0000;">"spike-in probesets.<span style="color:#000099; font-weight:bold;">\n</span>"</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # Optional: calculate max<span style="color:#006600; font-weight:bold;">&#40;</span>SD<span style="color:#006600; font-weight:bold;">&#41;</span> of all removed rows.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; #bad_sds_max = max<span style="color:#006600; font-weight:bold;">&#40;</span>apply<span style="color:#006600; font-weight:bold;">&#40;</span>expr<span style="color:#006600; font-weight:bold;">&#91;</span>!apply<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#40;</span>expr&gt; minval_max<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#800000;color:#800000;">1</span>, any<span style="color:#006600; font-weight:bold;">&#41;</span>,<span style="color:#006600; font-weight:bold;">&#93;</span>, <span style="color:#800000;color:#800000;">1</span>, sd<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # Now remove all rows, where each value is &lt;= minval_max.</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="">expr</span> = expr<span style="color:#006600; font-weight:bold;">&#91;</span>!apply<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#40;</span>expr &lt;= minval_max<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#800000;color:#800000;">1</span>, all<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#006600; font-weight:bold;">&#93;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; cat<span style="color:#006600; font-weight:bold;">&#40;</span>nrow<span style="color:#006600; font-weight:bold;">&#40;</span>expr<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#CC0000;">"rows remaining after filtering out"</span>, nospike_rows - nrow<span style="color:#006600; font-weight:bold;">&#40;</span>expr<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#CC0000;">"probesets with all values below"</span>, minval_max, <span style="color:#CC0000;">"<span style="color:#000099; font-weight:bold;">\n</span>"</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; #cat<span style="color:#006600; font-weight:bold;">&#40;</span>bad_sds_max, <span style="color:#CC0000;">"is max(SD) of all"</span>, nospike_rows - nrow<span style="color:#006600; font-weight:bold;">&#40;</span>expr<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#CC0000;">"filtered probesets with all values below"</span>, minval_max, <span style="color:#CC0000;">"<span style="color:#000099; font-weight:bold;">\n</span>"</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; # Optional: Remove *some* of the rows, which have at least one value below minval_max, and row_SD &lt;= bad_sds_max.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; #pre_final_rows = nrow<span style="color:#006600; font-weight:bold;">&#40;</span>expr<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; #expr = expr<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006600; font-weight:bold;">&#40;</span>apply<span style="color:#006600; font-weight:bold;">&#40;</span>expr, <span style="color:#800000;color:#800000;">1</span>, sd<span style="color:#006600; font-weight:bold;">&#41;</span>&gt; bad_sds_max<span style="color:#006600; font-weight:bold;">&#41;</span> | <span style="color:#006600; font-weight:bold;">&#40;</span>apply<span style="color:#006600; font-weight:bold;">&#40;</span>expr, <span style="color:#800000;color:#800000;">1</span>, min<span style="color:#006600; font-weight:bold;">&#41;</span>&gt; minval_max<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#006600; font-weight:bold;">&#93;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; #cat<span style="color:#006600; font-weight:bold;">&#40;</span>pre_final_rows-nrow<span style="color:#006600; font-weight:bold;">&#40;</span>expr<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#CC0000;">"rows with SD &lt;="</span>, bad_sds_max, <span style="color:#CC0000;">"and min(row) &lt;="</span>, minval_max, <span style="color:#CC0000;">"were removed.<span style="color:#000099; font-weight:bold;">\n</span>"</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; #cat<span style="color:#006600; font-weight:bold;">&#40;</span>nrow<span style="color:#006600; font-weight:bold;">&#40;</span>expr<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#CC0000;">"final rows returned.<span style="color:#000099; font-weight:bold;">\n</span>"</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; return<span style="color:#006600; font-weight:bold;">&#40;</span>expr<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Sample use:</p>
<blockquote><p>
> source("script.R")<br />
> expr.filtered = filter_below_spikes(eset)
</p></blockquote>
<p>Comments and suggestions are welcome.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F27%2Fr-script-to-filter-probesets-with-log-expression-values-below-the-lowest-spike-in.html&amp;linkname=R%20script%20to%20filter%20probesets%20with%20log-expression%20values%20below%20the%20lowest%20spike-in" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F27%2Fr-script-to-filter-probesets-with-log-expression-values-below-the-lowest-spike-in.html&amp;linkname=R%20script%20to%20filter%20probesets%20with%20log-expression%20values%20below%20the%20lowest%20spike-in" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F27%2Fr-script-to-filter-probesets-with-log-expression-values-below-the-lowest-spike-in.html&amp;linkname=R%20script%20to%20filter%20probesets%20with%20log-expression%20values%20below%20the%20lowest%20spike-in" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F27%2Fr-script-to-filter-probesets-with-log-expression-values-below-the-lowest-spike-in.html&amp;linkname=R%20script%20to%20filter%20probesets%20with%20log-expression%20values%20below%20the%20lowest%20spike-in" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F27%2Fr-script-to-filter-probesets-with-log-expression-values-below-the-lowest-spike-in.html&amp;linkname=R%20script%20to%20filter%20probesets%20with%20log-expression%20values%20below%20the%20lowest%20spike-in" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F27%2Fr-script-to-filter-probesets-with-log-expression-values-below-the-lowest-spike-in.html&amp;linkname=R%20script%20to%20filter%20probesets%20with%20log-expression%20values%20below%20the%20lowest%20spike-in" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F27%2Fr-script-to-filter-probesets-with-log-expression-values-below-the-lowest-spike-in.html&amp;linkname=R%20script%20to%20filter%20probesets%20with%20log-expression%20values%20below%20the%20lowest%20spike-in" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F27%2Fr-script-to-filter-probesets-with-log-expression-values-below-the-lowest-spike-in.html&amp;linkname=R%20script%20to%20filter%20probesets%20with%20log-expression%20values%20below%20the%20lowest%20spike-in" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F27%2Fr-script-to-filter-probesets-with-log-expression-values-below-the-lowest-spike-in.html&amp;linkname=R%20script%20to%20filter%20probesets%20with%20log-expression%20values%20below%20the%20lowest%20spike-in" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F27%2Fr-script-to-filter-probesets-with-log-expression-values-below-the-lowest-spike-in.html&amp;linkname=R%20script%20to%20filter%20probesets%20with%20log-expression%20values%20below%20the%20lowest%20spike-in" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F27%2Fr-script-to-filter-probesets-with-log-expression-values-below-the-lowest-spike-in.html&amp;linkname=R%20script%20to%20filter%20probesets%20with%20log-expression%20values%20below%20the%20lowest%20spike-in"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2010/01/27/r-script-to-filter-probesets-with-log-expression-values-below-the-lowest-spike-in.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chandler 1.0.3 package for Debian testing amd64</title>
		<link>http://bogdan.org.ua/2010/01/25/chandler-1-0-3-package-for-debian-testing-amd64.html</link>
		<comments>http://bogdan.org.ua/2010/01/25/chandler-1-0-3-package-for-debian-testing-amd64.html#comments</comments>
		<pubDate>Mon, 25 Jan 2010 08:52:26 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[amd64]]></category>
		<category><![CDATA[Chandler]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[package]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=976</guid>
		<description><![CDATA[Recently, I have come across the Chandler project. Chandler is a sophisticated organizer, including tasks, calendar, appointments, invitations, and many more.
The project does provide a 64-bit package for Ubuntu 8.10 "Intrepid Ibex", but it has a dependency on python-zope-interface - which in Debian testing is a virtual package, currently provided by python-zope.interface. That single dependency [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://chandlerproject.org/"><img src="http://bogdan.org.ua/wp-content/uploads/2010/01/chandler-project-logo.png" alt="" title="chandler-project-logo" width="192" height="39" class="alignleft size-full wp-image-979" /></a>Recently, I have come across the <a href="http://chandlerproject.org/">Chandler project</a>. Chandler is a sophisticated organizer, including tasks, calendar, appointments, invitations, and many more.</p>
<p>The project does provide a <a href="http://downloads.osafoundation.org/chandler/releases/1.0.3/#enduserlinux">64-bit package</a> for Ubuntu 8.10 "Intrepid Ibex", but it has a dependency on python-zope-interface - which in Debian testing is a virtual package, currently provided by python-zope.interface. That single dependency made my aptitude complain all the time, so I edited the .deb-file, renaming depends/python-zope-interface to depends/python-zope.interface (following <a href="http://thedarkmaster.wordpress.com/2008/05/24/how-to-create-manipulate-a-deb-file-of-a-compiled-application/">nice and simple instructions</a>). After that - no more aptitude complaints, and Chandler works fine.</p>
<p>Download the <a href="http://bogdan.org.ua/wp-content/uploads/2010/01/chandler-1.0.3-amd64-Debian-testing.deb">modified Chandler 1.0.3 Debian testing amd64 package</a> (md5: 239071715977bea2eb75f3bb54491a02).</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2010/01/25/chandler-1-0-3-package-for-debian-testing-amd64.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Standard deviation and variance in pictures</title>
		<link>http://bogdan.org.ua/2010/01/24/standard-deviation-and-variance-in-pictures.html</link>
		<comments>http://bogdan.org.ua/2010/01/24/standard-deviation-and-variance-in-pictures.html#comments</comments>
		<pubDate>Sun, 24 Jan 2010 14:07:42 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[standard deviation]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[variance]]></category>
		<category><![CDATA[youngling]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=965</guid>
		<description><![CDATA[MathIsFun offers nicely illustrated pages on math, algebra, geometry and maybe more.

For example, there is a step-by-step instruction on calculating variance and standard deviation for a set of measured dog heights, with a final picture (below) illustrating one-sigma distance from the mean. Unfortunately, concepts of normal distribution and %% of data points within each sigma [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://www.mathsisfun.com/"><img src="http://bogdan.org.ua/wp-content/uploads/2010/01/mif120_60.gif" alt="" title="MathIsFun" width="120" height="60" class="alignleft size-full wp-image-966" /></a>MathIsFun offers nicely illustrated pages on math, algebra, geometry and maybe more.</p>
<p></p>
<p>For example, there is a <a href="http://www.mathsisfun.com/standard-deviation.html">step-by-step instruction on calculating variance and standard deviation</a> for a set of measured dog heights, with a final picture (below) illustrating one-sigma distance from the mean. Unfortunately, concepts of normal distribution and %% of data points <a href="http://bogdan.org.ua/2006/09/14/mean-standard-deviation-and-stem-and-leaf-plot.html">within each sigma range</a> are not discussed, but that might as well be too much for a nice explanation. There are also animations, like this <a href="http://www.mathsisfun.com/data/mean-machine.html">mean machine</a>. Overall, MathIsFun is a nice resource for younglings.<br />
<img src="http://bogdan.org.ua/wp-content/uploads/2010/01/statistics-standard-deviation-500x167.gif" alt="" title="one-sigma from mean" width="500" height="167" class="aligncenter size-medium wp-image-967" /></p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F24%2Fstandard-deviation-and-variance-in-pictures.html&amp;linkname=Standard%20deviation%20and%20variance%20in%20pictures"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2010/01/24/standard-deviation-and-variance-in-pictures.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple and efficient Drupal upgrades: patch!</title>
		<link>http://bogdan.org.ua/2010/01/03/simple-efficient-drupal-upgrades-patch.html</link>
		<comments>http://bogdan.org.ua/2010/01/03/simple-efficient-drupal-upgrades-patch.html#comments</comments>
		<pubDate>Sun, 03 Jan 2010 13:50:37 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Notepad]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=953</guid>
		<description><![CDATA[Just a quick note: upgrading Drupal using a patch file is a really efficient and fast method, especially because diff/patch files are available for different Drupal version combinations.
          ]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Just a quick note: <a href="http://drupal.org/node/359234">upgrading Drupal using a patch file</a> is a really efficient and fast method, especially because <a href="http://fuerstnet.de/en/drupal-upgrade-easier">diff/patch files are available</a> for different Drupal version combinations.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F03%2Fsimple-efficient-drupal-upgrades-patch.html&amp;linkname=Simple%20and%20efficient%20Drupal%20upgrades%3A%20patch%21" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F03%2Fsimple-efficient-drupal-upgrades-patch.html&amp;linkname=Simple%20and%20efficient%20Drupal%20upgrades%3A%20patch%21" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F03%2Fsimple-efficient-drupal-upgrades-patch.html&amp;linkname=Simple%20and%20efficient%20Drupal%20upgrades%3A%20patch%21" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F03%2Fsimple-efficient-drupal-upgrades-patch.html&amp;linkname=Simple%20and%20efficient%20Drupal%20upgrades%3A%20patch%21" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F03%2Fsimple-efficient-drupal-upgrades-patch.html&amp;linkname=Simple%20and%20efficient%20Drupal%20upgrades%3A%20patch%21" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F03%2Fsimple-efficient-drupal-upgrades-patch.html&amp;linkname=Simple%20and%20efficient%20Drupal%20upgrades%3A%20patch%21" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F03%2Fsimple-efficient-drupal-upgrades-patch.html&amp;linkname=Simple%20and%20efficient%20Drupal%20upgrades%3A%20patch%21" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F03%2Fsimple-efficient-drupal-upgrades-patch.html&amp;linkname=Simple%20and%20efficient%20Drupal%20upgrades%3A%20patch%21" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F03%2Fsimple-efficient-drupal-upgrades-patch.html&amp;linkname=Simple%20and%20efficient%20Drupal%20upgrades%3A%20patch%21" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F03%2Fsimple-efficient-drupal-upgrades-patch.html&amp;linkname=Simple%20and%20efficient%20Drupal%20upgrades%3A%20patch%21" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F03%2Fsimple-efficient-drupal-upgrades-patch.html&amp;linkname=Simple%20and%20efficient%20Drupal%20upgrades%3A%20patch%21"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2010/01/03/simple-efficient-drupal-upgrades-patch.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Does Google attack your servers, too?</title>
		<link>http://bogdan.org.ua/2009/12/05/does-google-attack-your-servers-too.html</link>
		<comments>http://bogdan.org.ua/2009/12/05/does-google-attack-your-servers-too.html#comments</comments>
		<pubDate>Sat, 05 Dec 2009 12:28:34 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[abuse]]></category>
		<category><![CDATA[attack]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=942</guid>
		<description><![CDATA[
For about 2 weeks now, I am every day alerted of the suspicious behavior of some computer/server from the Google's IP range:


Dec  5 05:39:33 mx suhosin[3701]: ALERT - tried to register forbidden variable '_REQUEST[option]' through GET variables (attacker '66.249.71.20', file 'html/index.php')
Dec  5 05:39:33 mx suhosin[3701]: ALERT - tried to register forbidden variable '_REQUEST[Itemid]' [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div align="center"><img src="http://bogdan.org.ua/wp-content/uploads/2009/12/evil-google.jpg" alt="Evil?" title="Evil?" width="276" height="135" class="aligncenter size-full wp-image-944" /></div>
<p>For about 2 weeks now, I am every day alerted of the suspicious behavior of some computer/server from the Google's IP range:<br />
<span id="more-942"></span></p>
<blockquote><p>
Dec  5 05:39:33 mx suhosin[3701]: ALERT - tried to register forbidden variable '_REQUEST[option]' through GET variables (attacker '66.249.71.20', file 'html/index.php')<br />
Dec  5 05:39:33 mx suhosin[3701]: ALERT - tried to register forbidden variable '_REQUEST[Itemid]' through GET variables (attacker '66.249.71.20', file 'html/index.php')<br />
Dec  5 05:39:33 mx suhosin[3701]: ALERT - tried to register forbidden variable 'GLOBALS' through GET variables (attacker '66.249.71.20', file 'html/index.php')<br />
Dec  5 05:39:33 mx suhosin[3701]: ALERT - ASCII-NUL chars not allowed within request variables - dropped variable 'mosConfig_absolute_path' (attacker '66.249.71.20', file 'html/index.php')<br />
Dec  5 05:39:42 mx suhosin[3701]: ALERT - tried to register forbidden variable '_REQUEST[option]' through GET variables (attacker '66.249.71.20', file 'html/index.php')<br />
Dec  5 05:39:42 mx suhosin[3701]: ALERT - tried to register forbidden variable '_REQUEST[Itemid]' through GET variables (attacker '66.249.71.20', file 'html/index.php')<br />
Dec  5 05:39:42 mx suhosin[3701]: ALERT - tried to register forbidden variable 'GLOBALS' through GET variables (attacker '66.249.71.20', file 'html/index.php')<br />
Dec  5 05:39:42 mx suhosin[3701]: ALERT - ASCII-NUL chars not allowed within request variables - dropped variable 'mosConfig_absolute_path' (attacker '66.249.71.20', file 'html/index.php')
</p></blockquote>
<p>These requests repeat up to several hundred times per hour, with periods of no or very little malicious requests.</p>
<p>Here's WHOIS information about 66.249.71.20:</p>
<blockquote><p>
OrgName:    Google Inc.<br />
OrgID:      GOGL<br />
...<br />
NetRange:   66.249.64.0 - 66.249.95.255<br />
CIDR:       66.249.64.0/19<br />
NetName:    GOOGLE<br />
NetHandle:  NET-66-249-64-0-1<br />
Parent:     NET-66-0-0-0-0
</p></blockquote>
<p><strong>Does Google attack you, too?</strong></p>
<p>These attacks initially started from a different Google IP - 66.249.71.2; I wrote to abuse at google, and got an automated response with the ticket number (in the hundreds of millions range). A week after that, requests started flowing from IP 66.249.71.20. I am not inferring "evil Google abuse department" here, just that there was no response, and the problem shifted to a different IP from the Google's IP range.</p>
<p><ins datetime="2009-12-27T18:54:46+00:00">Update:</ins> I decided just to ignore this.</p>
<p><em>"Evil?" image by copyblogger.com.</em></p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F12%2F05%2Fdoes-google-attack-your-servers-too.html&amp;linkname=Does%20Google%20attack%20your%20servers%2C%20too%3F" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F12%2F05%2Fdoes-google-attack-your-servers-too.html&amp;linkname=Does%20Google%20attack%20your%20servers%2C%20too%3F" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F12%2F05%2Fdoes-google-attack-your-servers-too.html&amp;linkname=Does%20Google%20attack%20your%20servers%2C%20too%3F" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F12%2F05%2Fdoes-google-attack-your-servers-too.html&amp;linkname=Does%20Google%20attack%20your%20servers%2C%20too%3F" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F12%2F05%2Fdoes-google-attack-your-servers-too.html&amp;linkname=Does%20Google%20attack%20your%20servers%2C%20too%3F" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F12%2F05%2Fdoes-google-attack-your-servers-too.html&amp;linkname=Does%20Google%20attack%20your%20servers%2C%20too%3F" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F12%2F05%2Fdoes-google-attack-your-servers-too.html&amp;linkname=Does%20Google%20attack%20your%20servers%2C%20too%3F" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F12%2F05%2Fdoes-google-attack-your-servers-too.html&amp;linkname=Does%20Google%20attack%20your%20servers%2C%20too%3F" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F12%2F05%2Fdoes-google-attack-your-servers-too.html&amp;linkname=Does%20Google%20attack%20your%20servers%2C%20too%3F" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F12%2F05%2Fdoes-google-attack-your-servers-too.html&amp;linkname=Does%20Google%20attack%20your%20servers%2C%20too%3F" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F12%2F05%2Fdoes-google-attack-your-servers-too.html&amp;linkname=Does%20Google%20attack%20your%20servers%2C%20too%3F"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/12/05/does-google-attack-your-servers-too.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fail2ban and Google translate: how to easily cut your WP blog traffic</title>
		<link>http://bogdan.org.ua/2009/11/14/fail2ban-and-google-translate-how-to-easily-cut-your-wp-blog-traffic.html</link>
		<comments>http://bogdan.org.ua/2009/11/14/fail2ban-and-google-translate-how-to-easily-cut-your-wp-blog-traffic.html#comments</comments>
		<pubDate>Sat, 14 Nov 2009 00:11:08 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress PlugIns]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[fail2ban]]></category>
		<category><![CDATA[fopen]]></category>
		<category><![CDATA[global trasnlator]]></category>
		<category><![CDATA[google translate]]></category>
		<category><![CDATA[maxretry]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php-url-fopen]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[rule]]></category>
		<category><![CDATA[traffic]]></category>
		<category><![CDATA[URL]]></category>
		<category><![CDATA[whitelist]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[WP]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=935</guid>
		<description><![CDATA[fail2ban has a php-url-fopen rule.
WordPress has a Global Translator plugin, which - among others - uses Google Translate service.
If someone uses Google Translate (e.g. using Global Translate's mini-language-flags), and goes back to your blog - that someone might get banned by fail2ban (especially if you have set maxretry to 1), as the referrer will contain [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><img src="http://bogdan.org.ua/wp-content/uploads/2009/11/translate_logo.gif" alt="translate_logo" title="translate_logo" width="205" height="40" class="alignleft size-full wp-image-937" /><a href="http://www.fail2ban.org/">fail2ban</a> has a php-url-fopen rule.</p>
<p><a href="http://wordpress.org/">WordPress</a> has a <a href="http://www.nothing2hide.net/wp-plugins/wordpress-global-translator-plugin/">Global Translator plugin</a>, which - among others - uses <a href="http://translate.google.com/">Google Translate</a> service.</p>
<p>If someone uses Google Translate (e.g. using Global Translate's mini-language-flags), and goes back to your blog - that someone might get banned by fail2ban (especially if you have set maxretry to 1), as the referrer will contain the php-URL-fopen attack signature. The bad thing is that you will not realize that until after you check one or several translations yourself, as a random site visitor experiencing the problem is highly unlikely to bother reporting this problem - especially when your blog's Contact page is also inaccessible.</p>
<p>Clearly, Google Translate is not the only legitimate service which will trigger that rule.</p>
<p>Solution: The only solution I have found is to specify the whitelist regex for the php-URL-fopen rule.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F14%2Ffail2ban-and-google-translate-how-to-easily-cut-your-wp-blog-traffic.html&amp;linkname=fail2ban%20and%20Google%20translate%3A%20how%20to%20easily%20cut%20your%20WP%20blog%20traffic" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F14%2Ffail2ban-and-google-translate-how-to-easily-cut-your-wp-blog-traffic.html&amp;linkname=fail2ban%20and%20Google%20translate%3A%20how%20to%20easily%20cut%20your%20WP%20blog%20traffic" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F14%2Ffail2ban-and-google-translate-how-to-easily-cut-your-wp-blog-traffic.html&amp;linkname=fail2ban%20and%20Google%20translate%3A%20how%20to%20easily%20cut%20your%20WP%20blog%20traffic" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F14%2Ffail2ban-and-google-translate-how-to-easily-cut-your-wp-blog-traffic.html&amp;linkname=fail2ban%20and%20Google%20translate%3A%20how%20to%20easily%20cut%20your%20WP%20blog%20traffic" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F14%2Ffail2ban-and-google-translate-how-to-easily-cut-your-wp-blog-traffic.html&amp;linkname=fail2ban%20and%20Google%20translate%3A%20how%20to%20easily%20cut%20your%20WP%20blog%20traffic" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F14%2Ffail2ban-and-google-translate-how-to-easily-cut-your-wp-blog-traffic.html&amp;linkname=fail2ban%20and%20Google%20translate%3A%20how%20to%20easily%20cut%20your%20WP%20blog%20traffic" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F14%2Ffail2ban-and-google-translate-how-to-easily-cut-your-wp-blog-traffic.html&amp;linkname=fail2ban%20and%20Google%20translate%3A%20how%20to%20easily%20cut%20your%20WP%20blog%20traffic" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F14%2Ffail2ban-and-google-translate-how-to-easily-cut-your-wp-blog-traffic.html&amp;linkname=fail2ban%20and%20Google%20translate%3A%20how%20to%20easily%20cut%20your%20WP%20blog%20traffic" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F14%2Ffail2ban-and-google-translate-how-to-easily-cut-your-wp-blog-traffic.html&amp;linkname=fail2ban%20and%20Google%20translate%3A%20how%20to%20easily%20cut%20your%20WP%20blog%20traffic" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F14%2Ffail2ban-and-google-translate-how-to-easily-cut-your-wp-blog-traffic.html&amp;linkname=fail2ban%20and%20Google%20translate%3A%20how%20to%20easily%20cut%20your%20WP%20blog%20traffic" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F14%2Ffail2ban-and-google-translate-how-to-easily-cut-your-wp-blog-traffic.html&amp;linkname=fail2ban%20and%20Google%20translate%3A%20how%20to%20easily%20cut%20your%20WP%20blog%20traffic"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/11/14/fail2ban-and-google-translate-how-to-easily-cut-your-wp-blog-traffic.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloud-based bruteforcing, slowloris, and Golang: links</title>
		<link>http://bogdan.org.ua/2009/11/13/cloud-based-bruteforcing-slowloris-and-golang-links.html</link>
		<comments>http://bogdan.org.ua/2009/11/13/cloud-based-bruteforcing-slowloris-and-golang-links.html#comments</comments>
		<pubDate>Fri, 13 Nov 2009 16:34:51 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[bruteforce]]></category>
		<category><![CDATA[complexity]]></category>
		<category><![CDATA[cost]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[EC]]></category>
		<category><![CDATA[go]]></category>
		<category><![CDATA[golang]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[slowloris]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=931</guid>
		<description><![CDATA[A nice report on the cost of bruteforcing variable-length and variable-complexity passwords using cloud computing services (e.g. Amazon's EC). There's a kind of a tutorial in their previous post.
Slow DoS attack with just 1 computer against a number of web servers, including Apache: slowloris. There is a solution for Apache, packaged for RedHat and also [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>A nice report on the <a href="http://news.electricalchemy.net/2009/10/password-cracking-in-cloud-part-5.html">cost of bruteforcing variable-length and variable-complexity passwords</a> using cloud computing services (e.g. Amazon's <abbr title="Elastic Cloud">EC</abbr>). There's a kind of a tutorial in their previous post.</p>
<p>Slow <abbr title="Denial of Service">DoS</abbr> attack with just 1 computer against a number of web servers, including Apache: <a href="http://ha.ckers.org/slowloris/">slowloris</a>. There is a solution for Apache, packaged for <a href="ftp://ftp.monshouwer.eu/pub/linux/mod_antiloris/">RedHat</a> and also available for <a href="http://www.liranuna.com/securing-your-debian-server-against-slowloris/">Debian</a>.</p>
<p>Finally, there's <a href="http://golang.org/">Go programming language</a>. The most inspiring promise to me personally is the ease of execution parallelization with language's built-in syntactic constructs. That is something highly desired. Also, I like that it is a compiled language. However, it might be 10%-20% slower than pure C. Let's see how it grows.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F13%2Fcloud-based-bruteforcing-slowloris-and-golang-links.html&amp;linkname=Cloud-based%20bruteforcing%2C%20slowloris%2C%20and%20Golang%3A%20links" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F13%2Fcloud-based-bruteforcing-slowloris-and-golang-links.html&amp;linkname=Cloud-based%20bruteforcing%2C%20slowloris%2C%20and%20Golang%3A%20links" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F13%2Fcloud-based-bruteforcing-slowloris-and-golang-links.html&amp;linkname=Cloud-based%20bruteforcing%2C%20slowloris%2C%20and%20Golang%3A%20links" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F13%2Fcloud-based-bruteforcing-slowloris-and-golang-links.html&amp;linkname=Cloud-based%20bruteforcing%2C%20slowloris%2C%20and%20Golang%3A%20links" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F13%2Fcloud-based-bruteforcing-slowloris-and-golang-links.html&amp;linkname=Cloud-based%20bruteforcing%2C%20slowloris%2C%20and%20Golang%3A%20links" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F13%2Fcloud-based-bruteforcing-slowloris-and-golang-links.html&amp;linkname=Cloud-based%20bruteforcing%2C%20slowloris%2C%20and%20Golang%3A%20links" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F13%2Fcloud-based-bruteforcing-slowloris-and-golang-links.html&amp;linkname=Cloud-based%20bruteforcing%2C%20slowloris%2C%20and%20Golang%3A%20links" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F13%2Fcloud-based-bruteforcing-slowloris-and-golang-links.html&amp;linkname=Cloud-based%20bruteforcing%2C%20slowloris%2C%20and%20Golang%3A%20links" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F13%2Fcloud-based-bruteforcing-slowloris-and-golang-links.html&amp;linkname=Cloud-based%20bruteforcing%2C%20slowloris%2C%20and%20Golang%3A%20links" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F13%2Fcloud-based-bruteforcing-slowloris-and-golang-links.html&amp;linkname=Cloud-based%20bruteforcing%2C%20slowloris%2C%20and%20Golang%3A%20links" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F13%2Fcloud-based-bruteforcing-slowloris-and-golang-links.html&amp;linkname=Cloud-based%20bruteforcing%2C%20slowloris%2C%20and%20Golang%3A%20links"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/11/13/cloud-based-bruteforcing-slowloris-and-golang-links.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ocrodjvu: increase accessibility of your DJVU books</title>
		<link>http://bogdan.org.ua/2009/11/05/ocrodjvu-increase-accessibility-of-your-djvu-books.html</link>
		<comments>http://bogdan.org.ua/2009/11/05/ocrodjvu-increase-accessibility-of-your-djvu-books.html#comments</comments>
		<pubDate>Thu, 05 Nov 2009 07:04:23 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technologies]]></category>
		<category><![CDATA[DJVU]]></category>
		<category><![CDATA[OCR]]></category>
		<category><![CDATA[ocropus]]></category>
		<category><![CDATA[tesseract]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=926</guid>
		<description><![CDATA[ocrodjvu = OCRopus (tesseract) + DJVU
It is a small command-line tool to easily convert your image-only DJVU files into image+text DJVU files. In Debian testing, there are language packages for (in no specific order) German, English, French, Spanish, Vietnamese, Brasilian Portuguese, Dutch, and Italian. The original tesseract-ocr software includes training data &#038; code, so it [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://packages.debian.org/squeeze/ocrodjvu">ocrodjvu</a> = <a href="http://packages.debian.org/squeeze/ocropus">OCRopus</a> (<a href="http://packages.debian.org/squeeze/tesseract-ocr">tesseract</a>) + <a href="http://packages.debian.org/squeeze/python-djvu">DJVU</a></p>
<p>It is a small command-line tool to easily convert your image-only DJVU files into image+text DJVU files. In Debian testing, there are language packages for (in no specific order) German, English, French, Spanish, Vietnamese, Brasilian Portuguese, Dutch, and Italian. The original <a href="http://code.google.com/p/tesseract-ocr/">tesseract-ocr</a> software includes training data &#038; code, so it should be (at least in theory) easy to add more recognition languages.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F05%2Focrodjvu-increase-accessibility-of-your-djvu-books.html&amp;linkname=ocrodjvu%3A%20increase%20accessibility%20of%20your%20DJVU%20books" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F05%2Focrodjvu-increase-accessibility-of-your-djvu-books.html&amp;linkname=ocrodjvu%3A%20increase%20accessibility%20of%20your%20DJVU%20books" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F05%2Focrodjvu-increase-accessibility-of-your-djvu-books.html&amp;linkname=ocrodjvu%3A%20increase%20accessibility%20of%20your%20DJVU%20books" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F05%2Focrodjvu-increase-accessibility-of-your-djvu-books.html&amp;linkname=ocrodjvu%3A%20increase%20accessibility%20of%20your%20DJVU%20books" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F05%2Focrodjvu-increase-accessibility-of-your-djvu-books.html&amp;linkname=ocrodjvu%3A%20increase%20accessibility%20of%20your%20DJVU%20books" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F05%2Focrodjvu-increase-accessibility-of-your-djvu-books.html&amp;linkname=ocrodjvu%3A%20increase%20accessibility%20of%20your%20DJVU%20books" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F05%2Focrodjvu-increase-accessibility-of-your-djvu-books.html&amp;linkname=ocrodjvu%3A%20increase%20accessibility%20of%20your%20DJVU%20books" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F05%2Focrodjvu-increase-accessibility-of-your-djvu-books.html&amp;linkname=ocrodjvu%3A%20increase%20accessibility%20of%20your%20DJVU%20books" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F05%2Focrodjvu-increase-accessibility-of-your-djvu-books.html&amp;linkname=ocrodjvu%3A%20increase%20accessibility%20of%20your%20DJVU%20books" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F05%2Focrodjvu-increase-accessibility-of-your-djvu-books.html&amp;linkname=ocrodjvu%3A%20increase%20accessibility%20of%20your%20DJVU%20books" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F11%2F05%2Focrodjvu-increase-accessibility-of-your-djvu-books.html&amp;linkname=ocrodjvu%3A%20increase%20accessibility%20of%20your%20DJVU%20books"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/11/05/ocrodjvu-increase-accessibility-of-your-djvu-books.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ukraine hit by influenza A/H1N1 (swine flu)</title>
		<link>http://bogdan.org.ua/2009/10/31/ukraine-hit-by-influenza-a-h1n1-swine-flu.html</link>
		<comments>http://bogdan.org.ua/2009/10/31/ukraine-hit-by-influenza-a-h1n1-swine-flu.html#comments</comments>
		<pubDate>Fri, 30 Oct 2009 22:21:12 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Society]]></category>
		<category><![CDATA[A/H1N1]]></category>
		<category><![CDATA[epidemic]]></category>
		<category><![CDATA[influenza]]></category>
		<category><![CDATA[pandemic]]></category>
		<category><![CDATA[quarantine]]></category>
		<category><![CDATA[swine flu]]></category>
		<category><![CDATA[Ukraine]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=920</guid>
		<description><![CDATA[Starting October, 30, there is a 3-week quarantine in all primary and higher bodies of education in Ukraine - to limit the spread of the infection.
A total of 80k people were registered with respiratory infections (not classified by flu type). Several small samples tested for A/H1N1 (which is the cause of swine flu pandemic) indicate [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://bogdan.org.ua/wp-content/uploads/2009/10/flu_wiki.jpg"><img src="http://bogdan.org.ua/wp-content/uploads/2009/10/flu_wiki-200x119.jpg" alt="virus" title="virus" width="200" height="119" class="alignleft size-thumbnail wp-image-923" /></a>Starting October, 30, there is a 3-week quarantine in all primary and higher bodies of education in Ukraine - to limit the spread of the infection.</p>
<p>A total of 80k people were registered with respiratory infections (not classified by flu type). Several small samples tested for <a href="http://en.wikipedia.org/wiki/Influenza_A_virus_subtype_H1N1">A/H1N1</a> (which is the cause of <a href="http://en.wikipedia.org/wiki/2009_swine_flu_pandemic">swine flu pandemic</a>) indicate that 30-50% of all cases could be swine flu (with other cases being "seasonal flu" - that is, previously known influenza types and subtypes). It is reported that ~37 died since Monday, with symptoms matching those of swine flu. Most of the statistics come from the Western regions of Ukraine, which were the first to face rapid daily temperatures decrease - which could have been the trigger of massive infections.</p>
<p>Today I've seen a number of people in Kyiv's underground railway wearing medical face masks (or just pulling their scarfs up to cover noses). Drug stores were literally stormed for anti-virus medications, immune system stimulators, medical face masks, vitamins, etc.</p>
<p>If not the virus, then panic is definitely in the air. I do not recollect seeing something like that before.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F31%2Fukraine-hit-by-influenza-a-h1n1-swine-flu.html&amp;linkname=Ukraine%20hit%20by%20influenza%20A%2FH1N1%20%28swine%20flu%29" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F31%2Fukraine-hit-by-influenza-a-h1n1-swine-flu.html&amp;linkname=Ukraine%20hit%20by%20influenza%20A%2FH1N1%20%28swine%20flu%29" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F31%2Fukraine-hit-by-influenza-a-h1n1-swine-flu.html&amp;linkname=Ukraine%20hit%20by%20influenza%20A%2FH1N1%20%28swine%20flu%29" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F31%2Fukraine-hit-by-influenza-a-h1n1-swine-flu.html&amp;linkname=Ukraine%20hit%20by%20influenza%20A%2FH1N1%20%28swine%20flu%29" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F31%2Fukraine-hit-by-influenza-a-h1n1-swine-flu.html&amp;linkname=Ukraine%20hit%20by%20influenza%20A%2FH1N1%20%28swine%20flu%29" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F31%2Fukraine-hit-by-influenza-a-h1n1-swine-flu.html&amp;linkname=Ukraine%20hit%20by%20influenza%20A%2FH1N1%20%28swine%20flu%29" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F31%2Fukraine-hit-by-influenza-a-h1n1-swine-flu.html&amp;linkname=Ukraine%20hit%20by%20influenza%20A%2FH1N1%20%28swine%20flu%29" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F31%2Fukraine-hit-by-influenza-a-h1n1-swine-flu.html&amp;linkname=Ukraine%20hit%20by%20influenza%20A%2FH1N1%20%28swine%20flu%29" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F31%2Fukraine-hit-by-influenza-a-h1n1-swine-flu.html&amp;linkname=Ukraine%20hit%20by%20influenza%20A%2FH1N1%20%28swine%20flu%29" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F31%2Fukraine-hit-by-influenza-a-h1n1-swine-flu.html&amp;linkname=Ukraine%20hit%20by%20influenza%20A%2FH1N1%20%28swine%20flu%29" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F31%2Fukraine-hit-by-influenza-a-h1n1-swine-flu.html&amp;linkname=Ukraine%20hit%20by%20influenza%20A%2FH1N1%20%28swine%20flu%29"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/10/31/ukraine-hit-by-influenza-a-h1n1-swine-flu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search and replace in a MySQL table</title>
		<link>http://bogdan.org.ua/2009/10/27/search-and-replace-in-a-mysql-table.html</link>
		<comments>http://bogdan.org.ua/2009/10/27/search-and-replace-in-a-mysql-table.html#comments</comments>
		<pubDate>Tue, 27 Oct 2009 07:37:34 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Notepad]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=917</guid>
		<description><![CDATA[This query performs a table-wide search-and-repalce:
UPDATE `table_name` SET `table_field` = REPLACE(`table_field`,'string to search for and replace','replacement string');
If you need a database-wide search-and-replace, you could try this script (I haven't tested/used it myself).
Beware of the following gotchas:

wrong query syntax may ruin the field you are performing replace on, so always backup first!
be sure to provide "search-for" [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>This query performs a table-wide search-and-repalce:</p>
<blockquote><p>UPDATE `table_name` SET `table_field` = REPLACE(`table_field`,'string to search for and replace','replacement string');</p></blockquote>
<p>If you need a database-wide search-and-replace, you could try <a href="http://blog.irmsgeekwork.com/2009/phpmysql-full-database-search-and-replace">this script</a> (I haven't tested/used it myself).</p>
<p>Beware of the following gotchas:</p>
<ol>
<li>wrong query syntax may ruin the field you are performing replace on, so <strong>always backup first!</strong></li>
<li>be sure to provide "search-for" string as specific as possible, or you will get<strong> unexpected replacements</strong> (e.g. replacing <em>mini</em> with <em>little</em> will also convert all <em>minivans</em> into <em>littlevans</em>); also, do use WHERE clause when necessary to limit the number of rows modified</li>
<li>the function in the example is <strong>case-sensitive</strong>, so replacing all <em>minivans</em> with <em>vehicles</em> won't replace <em>Minivans</em>. However, I believe there exists a case-insensitive version of REPLACE function</li>
</ol>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F27%2Fsearch-and-replace-in-a-mysql-table.html&amp;linkname=Search%20and%20replace%20in%20a%20MySQL%20table" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F27%2Fsearch-and-replace-in-a-mysql-table.html&amp;linkname=Search%20and%20replace%20in%20a%20MySQL%20table" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F27%2Fsearch-and-replace-in-a-mysql-table.html&amp;linkname=Search%20and%20replace%20in%20a%20MySQL%20table" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F27%2Fsearch-and-replace-in-a-mysql-table.html&amp;linkname=Search%20and%20replace%20in%20a%20MySQL%20table" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F27%2Fsearch-and-replace-in-a-mysql-table.html&amp;linkname=Search%20and%20replace%20in%20a%20MySQL%20table" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F27%2Fsearch-and-replace-in-a-mysql-table.html&amp;linkname=Search%20and%20replace%20in%20a%20MySQL%20table" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F27%2Fsearch-and-replace-in-a-mysql-table.html&amp;linkname=Search%20and%20replace%20in%20a%20MySQL%20table" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F27%2Fsearch-and-replace-in-a-mysql-table.html&amp;linkname=Search%20and%20replace%20in%20a%20MySQL%20table" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F27%2Fsearch-and-replace-in-a-mysql-table.html&amp;linkname=Search%20and%20replace%20in%20a%20MySQL%20table" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F27%2Fsearch-and-replace-in-a-mysql-table.html&amp;linkname=Search%20and%20replace%20in%20a%20MySQL%20table" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F27%2Fsearch-and-replace-in-a-mysql-table.html&amp;linkname=Search%20and%20replace%20in%20a%20MySQL%20table"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/10/27/search-and-replace-in-a-mysql-table.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring web-server: for production and for development</title>
		<link>http://bogdan.org.ua/2009/10/25/configuring-web-server-for-production-and-for-development.html</link>
		<comments>http://bogdan.org.ua/2009/10/25/configuring-web-server-for-production-and-for-development.html#comments</comments>
		<pubDate>Sun, 25 Oct 2009 15:16:10 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Notepad]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[production]]></category>
		<category><![CDATA[web-server]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=680</guid>
		<description><![CDATA[Production: see http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-debian-etch - it is for Debian Etch (which is old-stable), but many of the steps apply equally well to Debian Lenny (current-stable). Also, this is a very basic guide, as if you are going to host multiple sites from multiple clients, you most definitely will need some hosting control panel.
Development: see http://www.ruzee.com/blog/2009/01/apache-virtual-hosts-a-clean-setup-for-php-developers. This [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><strong>Production</strong>: see <a href="http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-debian-etch">http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-debian-etch</a> - it is for Debian Etch (which is old-stable), but many of the steps apply equally well to Debian Lenny (current-stable). Also, this is a very basic guide, as if you are going to host multiple sites from multiple clients, you most definitely will need some <a href="http://bogdan.org.ua/2008/09/27/which-hosting-control-panel-to-use-for-a-debian-server.html">hosting control panel</a>.</p>
<p><strong>Development</strong>: see <a href="http://www.ruzee.com/blog/2009/01/apache-virtual-hosts-a-clean-setup-for-php-developers">http://www.ruzee.com/blog/2009/01/apache-virtual-hosts-a-clean-setup-for-php-developers</a>. This setup works very well, unless you need to create several virtual hosts every day - in which case necessary actions could be partially scripted.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F25%2Fconfiguring-web-server-for-production-and-for-development.html&amp;linkname=Configuring%20web-server%3A%20for%20production%20and%20for%20development" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F25%2Fconfiguring-web-server-for-production-and-for-development.html&amp;linkname=Configuring%20web-server%3A%20for%20production%20and%20for%20development" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F25%2Fconfiguring-web-server-for-production-and-for-development.html&amp;linkname=Configuring%20web-server%3A%20for%20production%20and%20for%20development" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F25%2Fconfiguring-web-server-for-production-and-for-development.html&amp;linkname=Configuring%20web-server%3A%20for%20production%20and%20for%20development" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F25%2Fconfiguring-web-server-for-production-and-for-development.html&amp;linkname=Configuring%20web-server%3A%20for%20production%20and%20for%20development" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F25%2Fconfiguring-web-server-for-production-and-for-development.html&amp;linkname=Configuring%20web-server%3A%20for%20production%20and%20for%20development" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F25%2Fconfiguring-web-server-for-production-and-for-development.html&amp;linkname=Configuring%20web-server%3A%20for%20production%20and%20for%20development" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F25%2Fconfiguring-web-server-for-production-and-for-development.html&amp;linkname=Configuring%20web-server%3A%20for%20production%20and%20for%20development" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F25%2Fconfiguring-web-server-for-production-and-for-development.html&amp;linkname=Configuring%20web-server%3A%20for%20production%20and%20for%20development" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F25%2Fconfiguring-web-server-for-production-and-for-development.html&amp;linkname=Configuring%20web-server%3A%20for%20production%20and%20for%20development" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F25%2Fconfiguring-web-server-for-production-and-for-development.html&amp;linkname=Configuring%20web-server%3A%20for%20production%20and%20for%20development"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/10/25/configuring-web-server-for-production-and-for-development.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>R under Debian testing/i386: permanently set pdfviewer option</title>
		<link>http://bogdan.org.ua/2009/10/21/r-under-debian-testingi386-permanently-set-pdfviewer-option.html</link>
		<comments>http://bogdan.org.ua/2009/10/21/r-under-debian-testingi386-permanently-set-pdfviewer-option.html#comments</comments>
		<pubDate>Wed, 21 Oct 2009 14:06:37 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Notepad]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pdfviewer]]></category>
		<category><![CDATA[R]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=909</guid>
		<description><![CDATA[If you get this message when opening vignettes:
Error in openPDF(vif) :
  getOption('pdfviewer') is ''; please use 'options(pdfviewer=...)'
and you are tired of running this command every time:
> options(pdfviewer="okular")
then you should check if your system-wide Renviron file has proper PDF viewer set:

grep -i pdf /etc/R/Renviron
R_PDFLATEXCMD=${R_PDFLATEXCMD-${PDFLATEX-'/usr/bin/pdflatex'}}
R_RD4PDF=${R_RD4PDF-'times,hyper'}
## Default PDF viewer
R_PDFVIEWER=${R_PDFVIEWER-''}
It wasn't in my case.
To set one, either edit [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>If you get this message when opening vignettes:</p>
<blockquote><p>Error in openPDF(vif) :<br />
  getOption('pdfviewer') is ''; please use 'options(pdfviewer=...)'</p></blockquote>
<p>and you are tired of running this command every time:</p>
<blockquote><p>> options(pdfviewer="okular")</p></blockquote>
<p>then you should check if your system-wide <strong>Renviron</strong> file has proper PDF viewer set:<br />
<span id="more-909"></span><br />
<strong>grep -i pdf /etc/R/Renviron</strong></p>
<blockquote><p>R_PDFLATEXCMD=${R_PDFLATEXCMD-${PDFLATEX-'/usr/bin/pdflatex'}}<br />
R_RD4PDF=${R_RD4PDF-'times,hyper'}<br />
## Default PDF viewer<br />
R_PDFVIEWER=${R_PDFVIEWER-''}</p></blockquote>
<p>It wasn't in my case.</p>
<p>To set one, either edit the system-wide Renviron (e.g. by editing the <strong>R_PDFVIEWER=${R_PDFVIEWER-''}</strong> line to look like <strong>R_PDFVIEWER=${R_PDFVIEWER-'/usr/bin/xdg-open'}</strong> - this will use MIME types to open your preferred PDF viewer), or one of the per-user/per-directory Renviron files to fix this minor annoyance (format is the same, e.g. R_PDFVIEWER=okular ).</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/10/21/r-under-debian-testingi386-permanently-set-pdfviewer-option.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Single password for multiple sites is safe to use with PwdHash</title>
		<link>http://bogdan.org.ua/2009/10/16/single-password-for-multiple-sites-is-safe-to-use-with-pwdhash.html</link>
		<comments>http://bogdan.org.ua/2009/10/16/single-password-for-multiple-sites-is-safe-to-use-with-pwdhash.html#comments</comments>
		<pubDate>Fri, 16 Oct 2009 19:46:23 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[pwdhash]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=902</guid>
		<description><![CDATA[PwdHash uses your "single password" to create a site-unique password (by making a one-way hash of your password and the site's domain).
Although I'm not using "single password for all sites", PwdHash does look very convenient.
          ]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="https://addons.mozilla.org/en-US/firefox/addon/1033">PwdHash</a> uses your "single password" to create a site-unique password (by making a one-way hash of your password and the site's domain).</p>
<p>Although I'm not using "single password for all sites", PwdHash does look very convenient.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F16%2Fsingle-password-for-multiple-sites-is-safe-to-use-with-pwdhash.html&amp;linkname=Single%20password%20for%20multiple%20sites%20is%20safe%20to%20use%20with%20PwdHash" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F16%2Fsingle-password-for-multiple-sites-is-safe-to-use-with-pwdhash.html&amp;linkname=Single%20password%20for%20multiple%20sites%20is%20safe%20to%20use%20with%20PwdHash" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F16%2Fsingle-password-for-multiple-sites-is-safe-to-use-with-pwdhash.html&amp;linkname=Single%20password%20for%20multiple%20sites%20is%20safe%20to%20use%20with%20PwdHash" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F16%2Fsingle-password-for-multiple-sites-is-safe-to-use-with-pwdhash.html&amp;linkname=Single%20password%20for%20multiple%20sites%20is%20safe%20to%20use%20with%20PwdHash" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F16%2Fsingle-password-for-multiple-sites-is-safe-to-use-with-pwdhash.html&amp;linkname=Single%20password%20for%20multiple%20sites%20is%20safe%20to%20use%20with%20PwdHash" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F16%2Fsingle-password-for-multiple-sites-is-safe-to-use-with-pwdhash.html&amp;linkname=Single%20password%20for%20multiple%20sites%20is%20safe%20to%20use%20with%20PwdHash" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F16%2Fsingle-password-for-multiple-sites-is-safe-to-use-with-pwdhash.html&amp;linkname=Single%20password%20for%20multiple%20sites%20is%20safe%20to%20use%20with%20PwdHash" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F16%2Fsingle-password-for-multiple-sites-is-safe-to-use-with-pwdhash.html&amp;linkname=Single%20password%20for%20multiple%20sites%20is%20safe%20to%20use%20with%20PwdHash" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F16%2Fsingle-password-for-multiple-sites-is-safe-to-use-with-pwdhash.html&amp;linkname=Single%20password%20for%20multiple%20sites%20is%20safe%20to%20use%20with%20PwdHash" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F16%2Fsingle-password-for-multiple-sites-is-safe-to-use-with-pwdhash.html&amp;linkname=Single%20password%20for%20multiple%20sites%20is%20safe%20to%20use%20with%20PwdHash" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F16%2Fsingle-password-for-multiple-sites-is-safe-to-use-with-pwdhash.html&amp;linkname=Single%20password%20for%20multiple%20sites%20is%20safe%20to%20use%20with%20PwdHash"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/10/16/single-password-for-multiple-sites-is-safe-to-use-with-pwdhash.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convenient design and debugging of regular expressions under Linux</title>
		<link>http://bogdan.org.ua/2009/10/10/convenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html</link>
		<comments>http://bogdan.org.ua/2009/10/10/convenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html#comments</comments>
		<pubDate>Sat, 10 Oct 2009 15:51:18 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Notepad]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[kodos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[RE]]></category>
		<category><![CDATA[redet]]></category>
		<category><![CDATA[regexp]]></category>
		<category><![CDATA[regular expression]]></category>
		<category><![CDATA[txt2regexp]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=890</guid>
		<description><![CDATA[Regular expressions (regexps) are powerful indeed. But debugging non-trivial regexps is a burden even if you understand how regexps work, and remember most (if not all) regexp syntax.
Miscellaneous tools exist to ease this task. This post was inspired by redet's comparison of regexp helper tools - it could be sufficient to read only that, if [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://bogdan.org.ua/wp-content/uploads/2009/10/redet-supported-languages.png"><img src="http://bogdan.org.ua/wp-content/uploads/2009/10/redet-supported-languages-199x171.png" alt="redet-supported languages" title="redet-supported languages" width="199" height="171" class="alignleft size-thumbnail wp-image-896" /></a>Regular expressions (regexps) are powerful indeed. But debugging non-trivial regexps is a burden even if you understand how regexps work, and remember most (if not all) regexp syntax.</p>
<p>Miscellaneous tools exist to ease this task. This post was inspired by <a href="http://billposer.org/Software/redet.html#comparison">redet's comparison of regexp helper tools</a> - it could be sufficient to read only that, if you're going to try the mentioned tools yourself. Otherwise, read on.<br />
<span id="more-890"></span><br />
<a href="http://kodos.sourceforge.net/">Kodos</a> is an easy-to-use (but powerful enough) Python tool to verify regular expressions against sample user-provided strings. Available for both Linux and Windows. Generates ready-to-use Python regexp code.</p>
<p><a href="http://billposer.org/Software/redet.html">redet</a> <a href="http://billposer.org/Software/redet.html#comparison">assumes some knowledge</a> of REs. Unlike all the other helper tools, it has the widest code generation coverage - just go to "Tools->Save command information" to generate code (Python, Perl, C, grep - just to name a few of the <strong>57 (!)</strong> languages/tools/editors supported). At the same time, redet does not depend on specific versions of all supported RE engines - instead, redet automatically tests for features in available versions.</p>
<p><a href="http://laurent.riesterer.free.fr/regexp/">visual-regexp</a> is similar to kodos in features.</p>
<p><a href="http://txt2regex.sourceforge.net/">txt2regex</a> is a regex wizard written in bash, capable of generating code for <strong>24</strong> languages/editors/programs (by default, these are enabled: perl, php, postgres, python, sed and vim). It is really simple and convenient, though some understanding of "groups" and "character ranges" is highly recommended.</p>
<p><a href="http://docs.kde.org/kde3/en/kdeutils/KRegExpEditor/index.html">KRegExpEditor</a> was a part of kde3-utils, and seems to be missing from current KDE 4.3. It is similar to kodos and visual-regexp in its philosophy and features.</p>
<p>I would recommend using one of kodos/visual-regexp/kregexpeditor to quickly test or design your regular expression, then use redet to generate appropriate source code. As an alternative (and when working in a console), just use txt2regexp to generate the code you need.</p>
<p>Tools I haven't tried include <a href="http://www.weitz.de/regex-coach/">regex coach</a> and <a href="http://freshmeat.net/projects/regexpviewer/">regexpviewer</a>.</p>
<p>Please also see this extensive <a href="http://billposer.org/Linguistics/Computation/Resources.html#patterns">list of regular expression and pattern-matching related</a> software.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/10/10/convenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google barcode day: make one for your site/blog</title>
		<link>http://bogdan.org.ua/2009/10/07/google-barcode-day-make-one-for-your-site-blog.html</link>
		<comments>http://bogdan.org.ua/2009/10/07/google-barcode-day-make-one-for-your-site-blog.html#comments</comments>
		<pubDate>Wed, 07 Oct 2009 13:08:14 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[barcode]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=866</guid>
		<description><![CDATA[ Today Google celebrates the invention of the barcode.
To help in this celebration, you can make a barcode with your site's address (there is at least one more at barcodesinc, but at the moment of writing it is painfully slow).
I find these parameters nearly optimal:

Type: Code 128-B
Styles: Draw value text
Size: 234x60 (half-banner size)
Xres: 1
Text font: [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://bogdan.org.ua/"><img src="http://bogdan.org.ua/wp-content/uploads/2009/10/bogdan-org-ua-barcode.png" alt="bogdan.org.ua barcode" title="bogdan.org.ua barcode" width="234" height="60" class="alignleft size-full wp-image-867" /></a> Today Google celebrates the invention of the barcode.</p>
<p>To help in this celebration, you can <a href="http://www.mribti.com/barcode/sample.php">make a barcode</a> with your site's address (there is at least one more at <a href="http://www.barcodesinc.com/generator/index.php">barcodesinc</a>, but at the moment of writing it is painfully slow).</p>
<p>I find these parameters nearly optimal:
<ul>
<li>Type: Code 128-B</li>
<li>Styles: Draw value text</li>
<li>Size: 234x60 (half-banner size)</li>
<li>Xres: 1</li>
<li>Text font: 5</li>
<li>Value: bogdan.org.ua <img src='http://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>If you wish, you can also exactly replicate today's Google logo - which says "Google", as you could have guessed.</p>
<p>You can place this barcode on your "souvenirs" - pens, cups, t-shirts. Many phones now have barcode scanners (e.g. Nokia E71), so put this code onto your namecard.</p>
<p>Read on to learn about matrix barcodes.<br />
<span id="more-866"></span><br />
<a href="http://bogdan.org.ua/"><img src="http://bogdan.org.ua/wp-content/uploads/2009/10/qrcode-bogdan-org-ua.png" alt="qrcode for bogdan.org.ua" title="qrcode for bogdan.org.ua" width="155" height="155" class="alignleft size-full wp-image-874" /></a>You may also investigate further into matrix/2D codes, which may contain much more information. To the left is the QR code of my blog's address - try and scan it with your cameraphone! Or <a href="http://qrcode.kaywa.com/">make one for yourself</a>.</p>
<p style="clear:both;text-align:center;">Here's an encrypted message:<br /><a href="http://bogdan.org.ua/"><img src="http://bogdan.org.ua/wp-content/uploads/2009/10/qr-message.png" alt="message" title="message" width="312" height="312" class="aligncenter size-full wp-image-878" /></a></p>
<p><a href="http://bogdan.org.ua/"><img src="http://bogdan.org.ua/wp-content/uploads/2009/10/datamatrix-bogdan-org-ua.png" alt="datamatrix bogdan.org.ua" title="datamatrix bogdan.org.ua" width="172" height="172" class="alignleft size-full wp-image-880" /></a><a href="http://bogdan.org.ua/"><img src="http://bogdan.org.ua/wp-content/uploads/2009/10/semacode-bogdan-org-ua.png" alt="semacode bogdan.org.ua" title="semacode bogdan.org.ua" width="172" height="172" class="alignright size-full wp-image-882" /></a>There are many types of matrix/2D barcodes. QR code (above), <a href="http://datamatrix.kaywa.com/">datamatrix</a> (left picture) and <a href="http://www.racoindustries.com/barcodegenerator/2d/semacode.aspx">Semacode</a> (right picture) were all successfully recognized by my phone.</p>
<p style="clear:both;">&nbsp;</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F07%2Fgoogle-barcode-day-make-one-for-your-site-blog.html&amp;linkname=Google%20barcode%20day%3A%20make%20one%20for%20your%20site%2Fblog" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F07%2Fgoogle-barcode-day-make-one-for-your-site-blog.html&amp;linkname=Google%20barcode%20day%3A%20make%20one%20for%20your%20site%2Fblog" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F07%2Fgoogle-barcode-day-make-one-for-your-site-blog.html&amp;linkname=Google%20barcode%20day%3A%20make%20one%20for%20your%20site%2Fblog" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F07%2Fgoogle-barcode-day-make-one-for-your-site-blog.html&amp;linkname=Google%20barcode%20day%3A%20make%20one%20for%20your%20site%2Fblog" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F07%2Fgoogle-barcode-day-make-one-for-your-site-blog.html&amp;linkname=Google%20barcode%20day%3A%20make%20one%20for%20your%20site%2Fblog" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F07%2Fgoogle-barcode-day-make-one-for-your-site-blog.html&amp;linkname=Google%20barcode%20day%3A%20make%20one%20for%20your%20site%2Fblog" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F07%2Fgoogle-barcode-day-make-one-for-your-site-blog.html&amp;linkname=Google%20barcode%20day%3A%20make%20one%20for%20your%20site%2Fblog" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F07%2Fgoogle-barcode-day-make-one-for-your-site-blog.html&amp;linkname=Google%20barcode%20day%3A%20make%20one%20for%20your%20site%2Fblog" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F07%2Fgoogle-barcode-day-make-one-for-your-site-blog.html&amp;linkname=Google%20barcode%20day%3A%20make%20one%20for%20your%20site%2Fblog" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F07%2Fgoogle-barcode-day-make-one-for-your-site-blog.html&amp;linkname=Google%20barcode%20day%3A%20make%20one%20for%20your%20site%2Fblog" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F07%2Fgoogle-barcode-day-make-one-for-your-site-blog.html&amp;linkname=Google%20barcode%20day%3A%20make%20one%20for%20your%20site%2Fblog"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/10/07/google-barcode-day-make-one-for-your-site-blog.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IOMMU: This costs you 64 MB of RAM</title>
		<link>http://bogdan.org.ua/2009/09/30/iommu-this-costs-you-64-mb-of-ram.html</link>
		<comments>http://bogdan.org.ua/2009/09/30/iommu-this-costs-you-64-mb-of-ram.html#comments</comments>
		<pubDate>Wed, 30 Sep 2009 12:36:34 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[AGP]]></category>
		<category><![CDATA[AMD]]></category>
		<category><![CDATA[amd64]]></category>
		<category><![CDATA[GART]]></category>
		<category><![CDATA[IOMMU]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[RAM]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=853</guid>
		<description><![CDATA[If you have happened to observe similar messages in your dmesg:

[    0.004000] Checking aperture...
[    0.004000] No AGP bridge found
[    0.004000] Node 0: aperture @ 20000000 size 32 MB
[    0.004000] Aperture pointing to e820 RAM. Ignoring.
[    0.004000] Your BIOS doesn't leave [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>If you have happened to observe similar messages in your dmesg:</p>
<p><img src="http://bogdan.org.ua/wp-content/uploads/2009/09/aperture.png" alt="aperture" title="aperture" width="540" height="184" class="aligncenter size-full wp-image-862" /></p>
<blockquote><p>[    0.004000] Checking aperture...<br />
[    0.004000] No AGP bridge found<br />
[    0.004000] Node 0: aperture @ 20000000 size 32 MB<br />
[    0.004000] Aperture pointing to e820 RAM. Ignoring.<br />
[    0.004000] Your BIOS doesn't leave a aperture memory hole<br />
[    0.004000] Please enable the IOMMU option in the BIOS setup<br />
[    0.004000] <strong>This costs you 64 MB of RAM</strong><br />
[    0.004000] Mapping aperture over 65536 KB of RAM @ 20000000</p></blockquote>
<p>and you are using AMD-based system w/o AGP video, then my advice is: <strong>just leave that as is, do not bother "improving"</strong>! Any tinkering with kernel boot options won't do you any good, as the kernel has already done the best it could.</p>
<p>Just a note: all those messages at the top of the post should only happen if you have 4 or more GiBs of RAM. If you have less than that, and do have those messages – my experience might be inappropriate for your case.</p>
<p>Another note: my BIOS does not have any IOMMU settings (or “Memory hole remapping” settings), so I didn’t try that. You should check if your BIOS has IOMMU-related options first, just as kernel message suggests. </p>
<p>Read on for details.<br />
<span id="more-853"></span><br />
My system's kernel at the moment of writing is 2.6.30-1-amd64 (Debian testing), running on MSI's 790GX-G65 with integrated Radeon HD 3300 video, with 4 GiB DDR3 RAM and a quad-core Phenom II CPU.</p>
<p>Following are the options you shouldn't try on a similar system:</p>
<ul>
<li>passing <strong>iommu=noagp</strong> kernel boot option. If you run <strong>dmesg|grep -i agp</strong>, most likely you will see something in the lines of<br />
<blockquote><p>$ dmesg|grep -i agp<br />
[    0.004000] No AGP bridge found<br />
[    0.392098] PCI-DMA: Disabling AGP.<br />
[    0.392142] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture<br />
[    0.774847] Linux agpgart interface v0.103
</p></blockquote>
<p>which tells you that your kernel has automatically discovered the absence of AGP bridge, disabled it and is using 64MB of AGP aperture for IOMMU. On my system, adding that boot option had no effect.</li>
<li>passing <strong>iommu=off</strong> kernel boot option. When I did this, there were loads of "nommu overflow" errors during boot, so I didn't wait until GDM start and rebooted immediately. Clearly, tons of "overflow" errors won't do any better than a harmless "This costs you 64 MB of RAM". Also, systems with over 3 GiB RAM do need IOMMU.</li>
<li>passing <strong>iommu=noaperture</strong> kernel boot option. On my system, this option has taken 1 more MiB from my available RAM (as reported by <strong>free -m</strong> or <strong>htop</strong>), and also enabled software double-buffering IOMMU method (in <strong>dmesg</strong>, a string similar to <strong>SW TIOLB</strong>). Performance-wise this is worse than AMD's GART-based IOMMU, and you loose 1 more MiB of RAM <img src='http://bogdan.org.ua/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , so don't do this.</li>
<li>passing <strong>iommu=noagp,noaperture</strong> for me had the same effect as passing <strong>iommu=noaperture</strong> alone, for the reason from point #1 of this list.</li>
<li>I haven't tried any of the <strong>memaper=[1|2|3|...]</strong> options, as I had no problems with the default 64 MiB.</li>
<li>passing <strong>mem=4G</strong> may remove that message (I do not recollect if it did for me), but will eat a good deal more of your available RAM (might be because devices are now mapped within those 4G, and not above). So don't do this.</li>
</ul>
<p>I'm not aware of any other solutions to the missing 64 MiB RAM message. There were notices of using <strong>pci=nommconf</strong> boot option, but that is too much for such a simple message - unless you have problems booting.</p>
<p>Below I'm pasting IOMMU-relevant part of the <strong>linux-source-2.6.30/Documentation/x86/x86_64/boot-options.txt</strong> file, which I believe is the source of ultimate knowledge <img src='http://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  You should read that file whenever you feel like tinkering with boot options of your AMD64 machine.</p>
<p>I ***highlighted*** some fragments, to support the points from the list above.</p>
<pre>IOMMU (input/output memory management unit)

 Currently four x86-64 PCI-DMA mapping implementations exist:

   1. <arch/x86_64/kernel/pci-nommu.c>: use ***no hardware/software IOMMU at all***
      (e.g. ***because you have < 3 GB memory***).
      Kernel boot message: "PCI-DMA: Disabling IOMMU"

   2. <arch/x86_64/kernel/pci-gart.c>: ***AMD GART based hardware IOMMU***.
      Kernel boot message: "PCI-DMA: using GART IOMMU"

   3. <arch/x86_64/kernel/pci-swiotlb.c> : Software IOMMU implementation. Used
      e.g. ***if there is no hardware IOMMU*** in the system and it is need because
      you have ***>3GB memory*** or told the kernel to us it (iommu=soft))
      Kernel boot message: "PCI-DMA: Using software bounce buffering
      for IO (SWIOTLB)"

   4. <arch/x86_64/pci-calgary.c> : IBM Calgary hardware IOMMU. Used in IBM
      ***pSeries and xSeries servers***. This hardware IOMMU supports DMA address
      mapping with memory protection, etc.
      Kernel boot message: "PCI-DMA: Using Calgary IOMMU"

 iommu=[<size>][,noagp][,off][,force][,noforce][,leak[=<nr_of_leak_pages>]
	[,memaper[=<order>]][,merge][,forcesac][,fullflush][,nomerge]
	[,noaperture][,calgary]

  General iommu options:
    off                Don't initialize and use any kind of IOMMU.
    noforce            Don't force hardware IOMMU usage when it is not needed.
                       (default).
    force              Force the use of the hardware IOMMU even when it is
                       not actually needed (e.g. because < 3 GB memory).
    soft               Use software bounce buffering (SWIOTLB) (default for
                       Intel machines). This can be used to prevent the usage
                       of an available hardware IOMMU.

  iommu options only relevant to the AMD GART hardware IOMMU:
    <size>             Set the size of the remapping area in bytes.
    allowed            Overwrite iommu off workarounds for specific chipsets.
    fullflush          Flush IOMMU on each allocation (default).
    nofullflush        Don't use IOMMU fullflush.
    leak               Turn on simple iommu leak tracing (only when
                       CONFIG_IOMMU_LEAK is on). Default number of leak pages
                       is 20.
    memaper[=<order>]  Allocate an own aperture over RAM with size 32MB<<order.
                       (default: order=1, i.e. 64MB)
    merge              Do scatter-gather (SG) merging. Implies "force"
                       (experimental).
    nomerge            Don't do scatter-gather (SG) merging.
    noaperture         Ask the IOMMU not to touch the aperture for AGP.
    forcesac           Force single-address cycle (SAC) mode for masks <40bits
                       (experimental).
    noagp              Don't initialize the AGP driver and use full aperture.
    allowdac           Allow double-address cycle (DAC) mode, i.e. DMA >4GB.
                       DAC is used with 32-bit PCI to push a 64-bit address in
                       two cycles. When off all DMA over >4GB is forced through
                       an IOMMU or software bounce buffering.
    nodac              Forbid DAC mode, i.e. DMA >4GB.
    panic              Always panic when IOMMU overflows.
    calgary            Use the Calgary IOMMU if it is available

  iommu options only relevant to the software bounce buffering (SWIOTLB) IOMMU
  implementation:
    swiotlb=
<pages>[,force]
<pages>            Prereserve that many 128K pages for the software IO
                       bounce buffering.
    force              Force all IO through the software TLB.

  Settings for the IBM Calgary hardware IOMMU currently found in IBM
  pSeries and xSeries machines:

    calgary=[64k,128k,256k,512k,1M,2M,4M,8M]
    calgary=[translate_empty_slots]
    calgary=[disable=<PCI bus number>]
    panic              Always panic when IOMMU overflows

    64k,...,8M - Set the size of each PCI slot's translation table
    when using the Calgary IOMMU. This is the size of the translation
    table itself in main memory. The smallest table, 64k, covers an IO
    space of 32MB; the largest, 8MB table, can cover an IO space of
    4GB. Normally the kernel will make the right choice by itself.

    translate_empty_slots - Enable translation even on slots that have
    no devices attached to them, in case a device will be hotplugged
    in the future.

    disable=<PCI bus number> - Disable translation on a given PHB. For
    example, the built-in graphics adapter resides on the first bridge
    (PCI bus number 0); if translation (isolation) is enabled on this
    bridge, X servers that access the hardware directly from user
    space might stop working. Use this option if you have devices that
    are accessed from userspace directly on some PCI host bridge.</pre>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/09/30/iommu-this-costs-you-64-mb-of-ram.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screem HTML editor dies with &#8216;GSlice: assertion failed: sinfo-&gt;n_allocated &gt; 0&#8242;</title>
		<link>http://bogdan.org.ua/2009/08/20/screem-html-editor-dies-with-gslice-assertion-failed-sinfo-n_allocated.html</link>
		<comments>http://bogdan.org.ua/2009/08/20/screem-html-editor-dies-with-gslice-assertion-failed-sinfo-n_allocated.html#comments</comments>
		<pubDate>Thu, 20 Aug 2009 11:51:20 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[XHTML/CSS]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[screem]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=847</guid>
		<description><![CDATA[Screem HTML/XML editor has tag-specific auto-complete, and is a nice editor for web-developers (at least as long as Quanta is not available for Debian testing).
However, version 0.16.1 is very unstable, and dies with
***MEMORY-ERROR***: screem[5527]: GSlice: assertion failed: sinfo->n_allocated > 0
As a workaround (initially suggested for the highly similar Firestarter crashes), try running screem with this [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://www.screem.org/">Screem HTML/XML editor</a> has tag-specific auto-complete, and is a nice editor for web-developers (at least as long as Quanta is not available for Debian testing).</p>
<p>However, version 0.16.1 is very unstable, and dies with</p>
<blockquote><p>***MEMORY-ERROR***: screem[5527]: GSlice: assertion failed: sinfo->n_allocated > 0</p></blockquote>
<p>As a workaround (initially suggested for the highly similar Firestarter crashes), try running screem with this command:</p>
<blockquote><p>G_SLICE=always-malloc screem</p></blockquote>
<p>Too bad last development version of Screem is dated March 2006.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F08%2F20%2Fscreem-html-editor-dies-with-gslice-assertion-failed-sinfo-n_allocated.html&amp;linkname=Screem%20HTML%20editor%20dies%20with%20%26%238216%3BGSlice%3A%20assertion%20failed%3A%20sinfo-%3En_allocated%20%3E%200%26%238242%3B" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F08%2F20%2Fscreem-html-editor-dies-with-gslice-assertion-failed-sinfo-n_allocated.html&amp;linkname=Screem%20HTML%20editor%20dies%20with%20%26%238216%3BGSlice%3A%20assertion%20failed%3A%20sinfo-%3En_allocated%20%3E%200%26%238242%3B" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F08%2F20%2Fscreem-html-editor-dies-with-gslice-assertion-failed-sinfo-n_allocated.html&amp;linkname=Screem%20HTML%20editor%20dies%20with%20%26%238216%3BGSlice%3A%20assertion%20failed%3A%20sinfo-%3En_allocated%20%3E%200%26%238242%3B" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F08%2F20%2Fscreem-html-editor-dies-with-gslice-assertion-failed-sinfo-n_allocated.html&amp;linkname=Screem%20HTML%20editor%20dies%20with%20%26%238216%3BGSlice%3A%20assertion%20failed%3A%20sinfo-%3En_allocated%20%3E%200%26%238242%3B" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F08%2F20%2Fscreem-html-editor-dies-with-gslice-assertion-failed-sinfo-n_allocated.html&amp;linkname=Screem%20HTML%20editor%20dies%20with%20%26%238216%3BGSlice%3A%20assertion%20failed%3A%20sinfo-%3En_allocated%20%3E%200%26%238242%3B" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F08%2F20%2Fscreem-html-editor-dies-with-gslice-assertion-failed-sinfo-n_allocated.html&amp;linkname=Screem%20HTML%20editor%20dies%20with%20%26%238216%3BGSlice%3A%20assertion%20failed%3A%20sinfo-%3En_allocated%20%3E%200%26%238242%3B" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F08%2F20%2Fscreem-html-editor-dies-with-gslice-assertion-failed-sinfo-n_allocated.html&amp;linkname=Screem%20HTML%20editor%20dies%20with%20%26%238216%3BGSlice%3A%20assertion%20failed%3A%20sinfo-%3En_allocated%20%3E%200%26%238242%3B" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F08%2F20%2Fscreem-html-editor-dies-with-gslice-assertion-failed-sinfo-n_allocated.html&amp;linkname=Screem%20HTML%20editor%20dies%20with%20%26%238216%3BGSlice%3A%20assertion%20failed%3A%20sinfo-%3En_allocated%20%3E%200%26%238242%3B" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F08%2F20%2Fscreem-html-editor-dies-with-gslice-assertion-failed-sinfo-n_allocated.html&amp;linkname=Screem%20HTML%20editor%20dies%20with%20%26%238216%3BGSlice%3A%20assertion%20failed%3A%20sinfo-%3En_allocated%20%3E%200%26%238242%3B" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F08%2F20%2Fscreem-html-editor-dies-with-gslice-assertion-failed-sinfo-n_allocated.html&amp;linkname=Screem%20HTML%20editor%20dies%20with%20%26%238216%3BGSlice%3A%20assertion%20failed%3A%20sinfo-%3En_allocated%20%3E%200%26%238242%3B" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F08%2F20%2Fscreem-html-editor-dies-with-gslice-assertion-failed-sinfo-n_allocated.html&amp;linkname=Screem%20HTML%20editor%20dies%20with%20%26%238216%3BGSlice%3A%20assertion%20failed%3A%20sinfo-%3En_allocated%20%3E%200%26%238242%3B"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/08/20/screem-html-editor-dies-with-gslice-assertion-failed-sinfo-n_allocated.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DIYbio, biohackers, and Open Source Medicine</title>
		<link>http://bogdan.org.ua/2009/07/25/diybio-biohackers-open-source-medicine-openwetware.html</link>
		<comments>http://bogdan.org.ua/2009/07/25/diybio-biohackers-open-source-medicine-openwetware.html#comments</comments>
		<pubDate>Sat, 25 Jul 2009 14:19:38 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Society]]></category>
		<category><![CDATA[Welfare]]></category>
		<category><![CDATA[bio]]></category>
		<category><![CDATA[biohacker]]></category>
		<category><![CDATA[biohacking]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[DIYbio]]></category>
		<category><![CDATA[dreams]]></category>
		<category><![CDATA[open]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=837</guid>
		<description><![CDATA[DIYbio is 
an organization that aims to help make biology a worthwhile pursuit for citizen scientists, amateur biologists, and DIY biological engineers who value openness and safety.

DIYbio also has a google group, where a wide range of questions - from bio-patents to DIY gel electrophoresis shopping list and model organisms is dicussed. There is also [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://diybio.org/">DIYbio</a> is </p>
<blockquote><p>an organization that aims to help make biology a worthwhile pursuit for citizen scientists, amateur biologists, and DIY biological engineers who value openness and safety.</p></blockquote>
<p><object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=3454392&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=3454392&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object></p>
<p>DIYbio also has a google group, where a wide range of questions - from <a href="http://groups.google.com/group/diybio/browse_thread/thread/1ce947eb355f1a02">bio-patents</a> to <a href="http://groups.google.com/group/diybio/web/gel-electrophoresis-shopping-list">DIY gel electrophoresis shopping list</a> and <a href="http://groups.google.com/group/diybio/web/diybio-model-organisms">model organisms</a> is dicussed. There is also a <a href="http://openwetware.org/wiki/DIYbio/FAQ">DIYbio/biohacking FAQ</a>.</p>
<p>Today for me is the day of discoveries. I learned about the International Open Space Initiative (to give robotics enthusiasts a way to send their tele-controlled and/or intelligent robots to the Moon and Mars), about the DIYbio and biohackers, about OpenManufacturing (which doesn't seem to have produced enough content to link to), <a href="http://groups.google.com/group/opensourcemedicine">Open Source Medicine</a> (ouch!), <a href="http://partsregistry.org/Main_Page">BioBrick Assembly Kit</a> (with an assembly manual), <a href="http://openwetware.org/wiki/Main_Page">OpenWetWare</a>, and a whole bunch of other awesome and inspiring community efforts, which do not belong here.</p>
<p>Do <em>you</em> feel the wind of change?</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F25%2Fdiybio-biohackers-open-source-medicine-openwetware.html&amp;linkname=DIYbio%2C%20biohackers%2C%20and%20Open%20Source%20Medicine" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F25%2Fdiybio-biohackers-open-source-medicine-openwetware.html&amp;linkname=DIYbio%2C%20biohackers%2C%20and%20Open%20Source%20Medicine" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F25%2Fdiybio-biohackers-open-source-medicine-openwetware.html&amp;linkname=DIYbio%2C%20biohackers%2C%20and%20Open%20Source%20Medicine" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F25%2Fdiybio-biohackers-open-source-medicine-openwetware.html&amp;linkname=DIYbio%2C%20biohackers%2C%20and%20Open%20Source%20Medicine" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F25%2Fdiybio-biohackers-open-source-medicine-openwetware.html&amp;linkname=DIYbio%2C%20biohackers%2C%20and%20Open%20Source%20Medicine" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F25%2Fdiybio-biohackers-open-source-medicine-openwetware.html&amp;linkname=DIYbio%2C%20biohackers%2C%20and%20Open%20Source%20Medicine" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F25%2Fdiybio-biohackers-open-source-medicine-openwetware.html&amp;linkname=DIYbio%2C%20biohackers%2C%20and%20Open%20Source%20Medicine" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F25%2Fdiybio-biohackers-open-source-medicine-openwetware.html&amp;linkname=DIYbio%2C%20biohackers%2C%20and%20Open%20Source%20Medicine" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F25%2Fdiybio-biohackers-open-source-medicine-openwetware.html&amp;linkname=DIYbio%2C%20biohackers%2C%20and%20Open%20Source%20Medicine" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F25%2Fdiybio-biohackers-open-source-medicine-openwetware.html&amp;linkname=DIYbio%2C%20biohackers%2C%20and%20Open%20Source%20Medicine" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F25%2Fdiybio-biohackers-open-source-medicine-openwetware.html&amp;linkname=DIYbio%2C%20biohackers%2C%20and%20Open%20Source%20Medicine"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/07/25/diybio-biohackers-open-source-medicine-openwetware.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DrupalCamp 2009 in Kyiv, Ukraine: August, 28-29, 2009</title>
		<link>http://bogdan.org.ua/2009/07/23/drupalcamp-kyiv-ukraine-august-2009.html</link>
		<comments>http://bogdan.org.ua/2009/07/23/drupalcamp-kyiv-ukraine-august-2009.html#comments</comments>
		<pubDate>Thu, 23 Jul 2009 13:45:17 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Kyiv]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[DrupalCamp]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=834</guid>
		<description><![CDATA[ This will be the 2nd DrupalCamp in Kyiv. Please click the logo to visit the official web-site to learn more.
          ]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://camp09.drupal.ua/?ref=bogdan.org.ua"><img align="left" width="212" height="212" src="http://camp09.drupal.ua/files/212x212.png" alt="DrupalCamp Kyiv 2009" /></a> This will be the 2nd DrupalCamp in Kyiv. Please click the logo to visit the official web-site to learn more.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F23%2Fdrupalcamp-kyiv-ukraine-august-2009.html&amp;linkname=DrupalCamp%202009%20in%20Kyiv%2C%20Ukraine%3A%20August%2C%2028-29%2C%202009" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F23%2Fdrupalcamp-kyiv-ukraine-august-2009.html&amp;linkname=DrupalCamp%202009%20in%20Kyiv%2C%20Ukraine%3A%20August%2C%2028-29%2C%202009" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F23%2Fdrupalcamp-kyiv-ukraine-august-2009.html&amp;linkname=DrupalCamp%202009%20in%20Kyiv%2C%20Ukraine%3A%20August%2C%2028-29%2C%202009" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F23%2Fdrupalcamp-kyiv-ukraine-august-2009.html&amp;linkname=DrupalCamp%202009%20in%20Kyiv%2C%20Ukraine%3A%20August%2C%2028-29%2C%202009" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F23%2Fdrupalcamp-kyiv-ukraine-august-2009.html&amp;linkname=DrupalCamp%202009%20in%20Kyiv%2C%20Ukraine%3A%20August%2C%2028-29%2C%202009" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F23%2Fdrupalcamp-kyiv-ukraine-august-2009.html&amp;linkname=DrupalCamp%202009%20in%20Kyiv%2C%20Ukraine%3A%20August%2C%2028-29%2C%202009" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F23%2Fdrupalcamp-kyiv-ukraine-august-2009.html&amp;linkname=DrupalCamp%202009%20in%20Kyiv%2C%20Ukraine%3A%20August%2C%2028-29%2C%202009" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F23%2Fdrupalcamp-kyiv-ukraine-august-2009.html&amp;linkname=DrupalCamp%202009%20in%20Kyiv%2C%20Ukraine%3A%20August%2C%2028-29%2C%202009" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F23%2Fdrupalcamp-kyiv-ukraine-august-2009.html&amp;linkname=DrupalCamp%202009%20in%20Kyiv%2C%20Ukraine%3A%20August%2C%2028-29%2C%202009" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F23%2Fdrupalcamp-kyiv-ukraine-august-2009.html&amp;linkname=DrupalCamp%202009%20in%20Kyiv%2C%20Ukraine%3A%20August%2C%2028-29%2C%202009" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F23%2Fdrupalcamp-kyiv-ukraine-august-2009.html&amp;linkname=DrupalCamp%202009%20in%20Kyiv%2C%20Ukraine%3A%20August%2C%2028-29%2C%202009"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/07/23/drupalcamp-kyiv-ukraine-august-2009.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SciVee.TV: YouTube for science</title>
		<link>http://bogdan.org.ua/2009/07/15/scivee-tv-youtube-for-science.html</link>
		<comments>http://bogdan.org.ua/2009/07/15/scivee-tv-youtube-for-science.html#comments</comments>
		<pubDate>Wed, 15 Jul 2009 14:00:17 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[scivee]]></category>
		<category><![CDATA[TV]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=829</guid>
		<description><![CDATA[Stumbled upon SciVee.TV - an open video upload service for research-related videos.
I believe it is highly useful. Compare: watching an 8-10 minute video of someone's research to reading their article on that same subject. For me, those 8-10 minutes make video option a clear winner.
One of the envisioned uses of SciVee is to upload videos [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><img src="http://bogdan.org.ua/wp-content/uploads/2009/07/scivee.png" alt="SciVee" title="SciVee" width="244" height="105" class="alignleft size-full wp-image-831" />Stumbled upon <a href="http://scivee.tv/">SciVee.TV</a> - an open video upload service for research-related videos.</p>
<p>I believe it is highly useful. Compare: watching an 8-10 minute video of someone's research to reading their article on that same subject. For me, those 8-10 minutes make video option a clear winner.</p>
<p>One of the envisioned uses of SciVee is to upload videos describing peer-reviewed published articles. This has two benefits for the reader: quickly getting acquainted with the essence of the article, and having that article as a complete reference for any questions not discussed in the video. For the author, this gives an additional bonus of higher visibility of his research.</p>
<p>Personally, I've immediately found 3 videos pertinent to my topic. Of those, one was accompayning an article in PloS Biology, one was an hour-long lecture, and one was a poor quality audio recording of someone's intended research.</p>
<p>SciVee is young, and that is currently the largest drawback: not much could be found in a narrow research field. But I'm sure it will grow.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F15%2Fscivee-tv-youtube-for-science.html&amp;linkname=SciVee.TV%3A%20YouTube%20for%20science" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F15%2Fscivee-tv-youtube-for-science.html&amp;linkname=SciVee.TV%3A%20YouTube%20for%20science" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F15%2Fscivee-tv-youtube-for-science.html&amp;linkname=SciVee.TV%3A%20YouTube%20for%20science" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F15%2Fscivee-tv-youtube-for-science.html&amp;linkname=SciVee.TV%3A%20YouTube%20for%20science" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F15%2Fscivee-tv-youtube-for-science.html&amp;linkname=SciVee.TV%3A%20YouTube%20for%20science" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F15%2Fscivee-tv-youtube-for-science.html&amp;linkname=SciVee.TV%3A%20YouTube%20for%20science" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F15%2Fscivee-tv-youtube-for-science.html&amp;linkname=SciVee.TV%3A%20YouTube%20for%20science" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F15%2Fscivee-tv-youtube-for-science.html&amp;linkname=SciVee.TV%3A%20YouTube%20for%20science" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F15%2Fscivee-tv-youtube-for-science.html&amp;linkname=SciVee.TV%3A%20YouTube%20for%20science" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F15%2Fscivee-tv-youtube-for-science.html&amp;linkname=SciVee.TV%3A%20YouTube%20for%20science" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F15%2Fscivee-tv-youtube-for-science.html&amp;linkname=SciVee.TV%3A%20YouTube%20for%20science"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/07/15/scivee-tv-youtube-for-science.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bad memory handling and server stability</title>
		<link>http://bogdan.org.ua/2009/07/13/bad-memory-handling-and-server-stability.html</link>
		<comments>http://bogdan.org.ua/2009/07/13/bad-memory-handling-and-server-stability.html#comments</comments>
		<pubDate>Mon, 13 Jul 2009 09:29:27 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[mtrace]]></category>
		<category><![CDATA[RAM]]></category>
		<category><![CDATA[valgrind]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=813</guid>
		<description><![CDATA[The two graphs below (clickable) are for CPU and RAM use during a period of a program going wild between 23:17 and 23:41 (24+ minutes of server's downtime). The program was run non-root, it just consumed all the memory it could. It was killed by kernel, so the server started responding without any interventions - [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>The two graphs below (clickable) are for CPU and RAM use during a period of a program going wild between 23:17 and 23:41 (24+ minutes of server's downtime). The program was run non-root, it just consumed all the memory it could. It was killed by kernel, so the server started responding without any interventions - which were hard to perform, because none of the services (including ssh) were responding during downtime.<br />
<a href="http://bogdan.org.ua/wp-content/uploads/2009/07/cpugraph.png"><img src="http://bogdan.org.ua/wp-content/uploads/2009/07/cpugraph-500x130.png" alt="cpugraph" title="cpugraph" width="500" height="130" class="aligncenter size-medium wp-image-814" /></a><br />
<a href="http://bogdan.org.ua/wp-content/uploads/2009/07/memgraph.png"><img src="http://bogdan.org.ua/wp-content/uploads/2009/07/memgraph-500x138.png" alt="memgraph" title="memgraph" width="500" height="138" class="aligncenter size-medium wp-image-815" /></a></p>
<p>If you happen to be developing a C/C++ program - do use mtrace and valgrind, those are huge helpers against the problems akin to that shown on the graphs.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F13%2Fbad-memory-handling-and-server-stability.html&amp;linkname=Bad%20memory%20handling%20and%20server%20stability" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F13%2Fbad-memory-handling-and-server-stability.html&amp;linkname=Bad%20memory%20handling%20and%20server%20stability" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F13%2Fbad-memory-handling-and-server-stability.html&amp;linkname=Bad%20memory%20handling%20and%20server%20stability" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F13%2Fbad-memory-handling-and-server-stability.html&amp;linkname=Bad%20memory%20handling%20and%20server%20stability" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F13%2Fbad-memory-handling-and-server-stability.html&amp;linkname=Bad%20memory%20handling%20and%20server%20stability" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F13%2Fbad-memory-handling-and-server-stability.html&amp;linkname=Bad%20memory%20handling%20and%20server%20stability" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F13%2Fbad-memory-handling-and-server-stability.html&amp;linkname=Bad%20memory%20handling%20and%20server%20stability" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F13%2Fbad-memory-handling-and-server-stability.html&amp;linkname=Bad%20memory%20handling%20and%20server%20stability" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F13%2Fbad-memory-handling-and-server-stability.html&amp;linkname=Bad%20memory%20handling%20and%20server%20stability" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F13%2Fbad-memory-handling-and-server-stability.html&amp;linkname=Bad%20memory%20handling%20and%20server%20stability" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F13%2Fbad-memory-handling-and-server-stability.html&amp;linkname=Bad%20memory%20handling%20and%20server%20stability"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/07/13/bad-memory-handling-and-server-stability.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Harness the power of rsync</title>
		<link>http://bogdan.org.ua/2009/07/06/harness-the-power-of-rsync.html</link>
		<comments>http://bogdan.org.ua/2009/07/06/harness-the-power-of-rsync.html#comments</comments>
		<pubDate>Mon, 06 Jul 2009 20:59:36 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[man]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[super-cow]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=804</guid>
		<description><![CDATA[I have read manpages of rsync today.
I feel enlightened.
I had a dream of rsync being one of the legendary nix Super-Cows.
A tiny perversive part of self created a PDF version of rsync manpages.
It seems that Super-Cows can damage the brain, when stared at too intensely.
          ]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>I have read manpages of rsync today.<br />
I feel enlightened.</p>
<p>I had a dream of rsync being one of the legendary nix Super-Cows.</p>
<p>A tiny perversive part of self created a <a href='http://bogdan.org.ua/wp-content/uploads/2009/07/rsync.pdf'>PDF version of rsync manpages</a>.</p>
<p>It seems that Super-Cows can damage the brain, when stared at too intensely.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/07/06/harness-the-power-of-rsync.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WolframAlpha: sophisticated online calculations resource</title>
		<link>http://bogdan.org.ua/2009/06/29/wolframalpha-sophisticated-online-calculations-resource.html</link>
		<comments>http://bogdan.org.ua/2009/06/29/wolframalpha-sophisticated-online-calculations-resource.html#comments</comments>
		<pubDate>Mon, 29 Jun 2009 19:59:27 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[calculation]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[knowledge]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[resource]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=800</guid>
		<description><![CDATA[If you ever need to glimpse at the properties of the Poisson distribution with lambda=0.16, or find the factorial of 6163338 (as a gamma function), then Wolfram&#124;Alpha is a perfect tool for you (unless you have some math package at hand).
The motto of Wolfram&#124;Alpha is Making the world's knowledge computable. Basically, it is like Mathematica [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>If you ever need to glimpse at the properties of the <a href="http://www82.wolframalpha.com/input/?i=Poisson+distribution+mean%3D0.16">Poisson distribution with lambda=0.16</a>, or find the <a href="http://www82.wolframalpha.com/input/?i=Gamma%286163339%29">factorial of 6163338</a> (as a gamma function), then <a href="http://wolframalpha.com/">Wolfram|Alpha</a> is a perfect tool for you (unless you have some math package at hand).</p>
<p>The motto of Wolfram|Alpha is <em>Making the world's knowledge computable</em>. Basically, it is like Mathematica plus a growing corpus of factual numeric data, plus a system to interpret user's input. This is a nice online reference and computation platform.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F29%2Fwolframalpha-sophisticated-online-calculations-resource.html&amp;linkname=WolframAlpha%3A%20sophisticated%20online%20calculations%20resource" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F29%2Fwolframalpha-sophisticated-online-calculations-resource.html&amp;linkname=WolframAlpha%3A%20sophisticated%20online%20calculations%20resource" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F29%2Fwolframalpha-sophisticated-online-calculations-resource.html&amp;linkname=WolframAlpha%3A%20sophisticated%20online%20calculations%20resource" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F29%2Fwolframalpha-sophisticated-online-calculations-resource.html&amp;linkname=WolframAlpha%3A%20sophisticated%20online%20calculations%20resource" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F29%2Fwolframalpha-sophisticated-online-calculations-resource.html&amp;linkname=WolframAlpha%3A%20sophisticated%20online%20calculations%20resource" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F29%2Fwolframalpha-sophisticated-online-calculations-resource.html&amp;linkname=WolframAlpha%3A%20sophisticated%20online%20calculations%20resource" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F29%2Fwolframalpha-sophisticated-online-calculations-resource.html&amp;linkname=WolframAlpha%3A%20sophisticated%20online%20calculations%20resource" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F29%2Fwolframalpha-sophisticated-online-calculations-resource.html&amp;linkname=WolframAlpha%3A%20sophisticated%20online%20calculations%20resource" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F29%2Fwolframalpha-sophisticated-online-calculations-resource.html&amp;linkname=WolframAlpha%3A%20sophisticated%20online%20calculations%20resource" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F29%2Fwolframalpha-sophisticated-online-calculations-resource.html&amp;linkname=WolframAlpha%3A%20sophisticated%20online%20calculations%20resource" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F29%2Fwolframalpha-sophisticated-online-calculations-resource.html&amp;linkname=WolframAlpha%3A%20sophisticated%20online%20calculations%20resource"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/06/29/wolframalpha-sophisticated-online-calculations-resource.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 simple rules for getting published</title>
		<link>http://bogdan.org.ua/2009/06/26/ten-10-simple-rules-for-getting-published.html</link>
		<comments>http://bogdan.org.ua/2009/06/26/ten-10-simple-rules-for-getting-published.html#comments</comments>
		<pubDate>Fri, 26 Jun 2009 14:20:56 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[rules]]></category>
		<category><![CDATA[simple]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=796</guid>
		<description><![CDATA[Recently, I have come across an excellent piece of advice called Ten simple rules for getting published. The only thing I have to add is that final rule #10 should be kept in mind while checking through all the previous rules - e.g. when editing someone's submission, make sure that you are in position to [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Recently, I have come across an excellent piece of advice called <a href="http://www.ncbi.nlm.nih.gov/pubmed/16261197">Ten simple rules for getting published</a>. The only thing I have to add is that final rule #10 should be kept in mind while checking through all the previous rules - e.g. when editing someone's submission, make sure that you are in position to be the editor for that article, and make sure your decision will influence chief editor's decision - otherwise there's no use reviewing.</p>
<p><a href="http://www.ploscompbiol.org/">PLoS Computational Biology</a>, where the "simple rules" were published, has a <a href="http://collections.plos.org/ploscompbiol/tensimplerules.php">Ten simple rules collection</a>, which includes a handful of other useful advice articles, like <a href="http://www.ploscompbiol.org/article/info:doi/10.1371/journal.pcbi.0020121">10 simple rules for selecting a postdoctoral position</a>.</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F26%2Ften-10-simple-rules-for-getting-published.html&amp;linkname=10%20simple%20rules%20for%20getting%20published" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F26%2Ften-10-simple-rules-for-getting-published.html&amp;linkname=10%20simple%20rules%20for%20getting%20published" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F26%2Ften-10-simple-rules-for-getting-published.html&amp;linkname=10%20simple%20rules%20for%20getting%20published" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F26%2Ften-10-simple-rules-for-getting-published.html&amp;linkname=10%20simple%20rules%20for%20getting%20published" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F26%2Ften-10-simple-rules-for-getting-published.html&amp;linkname=10%20simple%20rules%20for%20getting%20published" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F26%2Ften-10-simple-rules-for-getting-published.html&amp;linkname=10%20simple%20rules%20for%20getting%20published" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F26%2Ften-10-simple-rules-for-getting-published.html&amp;linkname=10%20simple%20rules%20for%20getting%20published" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F26%2Ften-10-simple-rules-for-getting-published.html&amp;linkname=10%20simple%20rules%20for%20getting%20published" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F26%2Ften-10-simple-rules-for-getting-published.html&amp;linkname=10%20simple%20rules%20for%20getting%20published" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F26%2Ften-10-simple-rules-for-getting-published.html&amp;linkname=10%20simple%20rules%20for%20getting%20published" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F26%2Ften-10-simple-rules-for-getting-published.html&amp;linkname=10%20simple%20rules%20for%20getting%20published"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/06/26/ten-10-simple-rules-for-getting-published.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My readers are natural-born workaholics</title>
		<link>http://bogdan.org.ua/2009/06/12/my-readers-are-natural-born-workaholics.html</link>
		<comments>http://bogdan.org.ua/2009/06/12/my-readers-are-natural-born-workaholics.html#comments</comments>
		<pubDate>Thu, 11 Jun 2009 22:43:14 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[visitors]]></category>
		<category><![CDATA[workaholic]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=787</guid>
		<description><![CDATA[Here's the ultimate proof   :

One can clearly see that on weekends the number of unique visitors of my blog drops drastically to about 40-50% of the working week average.
And yes, that is an almost perfect 5+2 pattern, which I'm observing for many months, like a week-long circadian rhythm. "Almost perfect" must be due [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Here's the ultimate proof <img src='http://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  :</p>
<p><img src="http://bogdan.org.ua/wp-content/uploads/2009/06/visitors.png" alt="visitors" title="visitors" width="408" height="92" class="aligncenter size-full wp-image-788" /></p>
<p>One can clearly see that on weekends the number of unique visitors of my blog drops drastically to about 40-50% of the working week average.</p>
<p>And yes, that is an almost perfect 5+2 pattern, which I'm observing for many months, like a week-long circadian rhythm. "Almost perfect" must be due to the differences in time zones.</p>
<p>I wonder if the same pattern is characteristic for most web-sites... That is, if people mostly do the browsing at work, and not at home.</p>
<p>Anybody wants to share the secret cycles of one's blog audience?</p>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F12%2Fmy-readers-are-natural-born-workaholics.html&amp;linkname=My%20readers%20are%20natural-born%20workaholics" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F12%2Fmy-readers-are-natural-born-workaholics.html&amp;linkname=My%20readers%20are%20natural-born%20workaholics" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F12%2Fmy-readers-are-natural-born-workaholics.html&amp;linkname=My%20readers%20are%20natural-born%20workaholics" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F12%2Fmy-readers-are-natural-born-workaholics.html&amp;linkname=My%20readers%20are%20natural-born%20workaholics" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F12%2Fmy-readers-are-natural-born-workaholics.html&amp;linkname=My%20readers%20are%20natural-born%20workaholics" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F12%2Fmy-readers-are-natural-born-workaholics.html&amp;linkname=My%20readers%20are%20natural-born%20workaholics" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F12%2Fmy-readers-are-natural-born-workaholics.html&amp;linkname=My%20readers%20are%20natural-born%20workaholics" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F12%2Fmy-readers-are-natural-born-workaholics.html&amp;linkname=My%20readers%20are%20natural-born%20workaholics" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F12%2Fmy-readers-are-natural-born-workaholics.html&amp;linkname=My%20readers%20are%20natural-born%20workaholics" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F12%2Fmy-readers-are-natural-born-workaholics.html&amp;linkname=My%20readers%20are%20natural-born%20workaholics" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F12%2Fmy-readers-are-natural-born-workaholics.html&amp;linkname=My%20readers%20are%20natural-born%20workaholics"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/06/12/my-readers-are-natural-born-workaholics.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>C: how to specify comparison operators floating precision</title>
		<link>http://bogdan.org.ua/2009/06/11/c-how-to-specify-comparison-operators-floating-precision.html</link>
		<comments>http://bogdan.org.ua/2009/06/11/c-how-to-specify-comparison-operators-floating-precision.html#comments</comments>
		<pubDate>Thu, 11 Jun 2009 17:47:37 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[comparison]]></category>
		<category><![CDATA[double]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[float]]></category>
		<category><![CDATA[floating]]></category>
		<category><![CDATA[operator]]></category>
		<category><![CDATA[precision]]></category>

		<guid isPermaLink="false">http://bogdan.org.ua/?p=774</guid>
		<description><![CDATA[There is no way I'm aware of to do what the title says. However...
I'm sure that you are aware of the fact that floats representation in any programming language is limited by the precision of the internal binary representations. In other words, you can never have an exact float representation - there will always be [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>There is no way I'm aware of to do what the title says. However...</p>
<p>I'm sure that you are aware of the fact that floats representation in any programming language is limited by the precision of the internal binary representations. In other words, you can never have an <strong>exact</strong> float representation - there will always be some precision associated with the float you are working with. The simplest example is the difference in precision between the <em>float</em> and <em>double</em> types in <strong>C</strong>.</p>
<p>Suppose I have the following code fragment:</p>
<div class="igBar"><span id="lc-6"><a href="#" onclick="javascript:showPlainTxt('c-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">C:</span>
<div id="c-6">
<div class="c">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span> result.<span style="color: #202020;">score</span> &gt;= input-&gt;raw_cut_off <span style="color: #66cc66;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Both <em>result.score</em> and <em>input->raw_cut_off</em> are of type <strong>float</strong>, and can have positive and negative values. When compared with the greater than or equal ( >= ) operator, it is not always that condition is true - for the precision reasons shortly mentioned above.</p>
<p>As I already said, there is no precision specification for equality operators in <strong>C</strong>. But it is quite simple to "invent" precision specification; e.g. if I wanted to test for equality only, I could write</p>
<div class="igBar"><span id="lc-7"><a href="#" onclick="javascript:showPlainTxt('c-7'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">C:</span>
<div id="c-7">
<div class="c">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span> fabsf<span style="color: #66cc66;">&#40;</span> result.<span style="color: #202020;">score</span> - input-&gt;raw_cut_off <span style="color: #66cc66;">&#41;</span> &lt; <span style="color: #cc66cc;color:#800000;">0</span>.<span style="color: #cc66cc;color:#800000;">000001</span> <span style="color: #66cc66;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>In this example, I'm effectively asking for 6-digit precision for the equality comparison of floating-point values. Note, that if you replace that 0.000001 with the actual precision limit of the floating type you are using, you will be "exactly" comparing floating-point numbers - up to that type's precision, of course <img src='http://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p>The first-most example with the >= operator can be rewritten as</p>
<div class="igBar"><span id="lc-8"><a href="#" onclick="javascript:showPlainTxt('c-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">C:</span>
<div id="c-8">
<div class="c">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span> result.<span style="color: #202020;">score</span> &gt; <span style="color: #66cc66;">&#40;</span> input-&gt;raw_cut_off - precision<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
where <em>precision</em> is exactly what it is named, e.g. <em>precision</em> = 0.000001.</p>
<p>Sources used:</p>
<ul>
<li>comment by <a href="http://bytes.com/groups/net-c/233215-float-double-arithmetic-precision-error#post953273">Randy A. Ynchausti</a></li>
<li><a href="http://www.shokhirev.com/nikolai/abc/sciprog/sciprognum.html">scientific programming</a></li>
</ul>
<!-- google_ad_section_end --><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F11%2Fc-how-to-specify-comparison-operators-floating-precision.html&amp;linkname=C%3A%20how%20to%20specify%20comparison%20operators%20floating%20precision" title="Delicious" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F11%2Fc-how-to-specify-comparison-operators-floating-precision.html&amp;linkname=C%3A%20how%20to%20specify%20comparison%20operators%20floating%20precision" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F11%2Fc-how-to-specify-comparison-operators-floating-precision.html&amp;linkname=C%3A%20how%20to%20specify%20comparison%20operators%20floating%20precision" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/windows_live_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F11%2Fc-how-to-specify-comparison-operators-floating-precision.html&amp;linkname=C%3A%20how%20to%20specify%20comparison%20operators%20floating%20precision" title="Windows Live Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/live.png" width="16" height="16" alt="Windows Live Favorites"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F11%2Fc-how-to-specify-comparison-operators-floating-precision.html&amp;linkname=C%3A%20how%20to%20specify%20comparison%20operators%20floating%20precision" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F11%2Fc-how-to-specify-comparison-operators-floating-precision.html&amp;linkname=C%3A%20how%20to%20specify%20comparison%20operators%20floating%20precision" title="Digg" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F11%2Fc-how-to-specify-comparison-operators-floating-precision.html&amp;linkname=C%3A%20how%20to%20specify%20comparison%20operators%20floating%20precision" title="Slashdot" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F11%2Fc-how-to-specify-comparison-operators-floating-precision.html&amp;linkname=C%3A%20how%20to%20specify%20comparison%20operators%20floating%20precision" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/read_it_later?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F11%2Fc-how-to-specify-comparison-operators-floating-precision.html&amp;linkname=C%3A%20how%20to%20specify%20comparison%20operators%20floating%20precision" title="Read It Later" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/read_it_later.png" width="16" height="16" alt="Read It Later"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F11%2Fc-how-to-specify-comparison-operators-floating-precision.html&amp;linkname=C%3A%20how%20to%20specify%20comparison%20operators%20floating%20precision" title="Twitter" rel="nofollow" target="_blank"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F11%2Fc-how-to-specify-comparison-operators-floating-precision.html&amp;linkname=C%3A%20how%20to%20specify%20comparison%20operators%20floating%20precision"><img src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://bogdan.org.ua/2009/06/11/c-how-to-specify-comparison-operators-floating-precision.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
