<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>ahinea</title>
	<atom:link href="http://ahinea.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ahinea.wordpress.com</link>
	<description>by Ivan Kurmanov</description>
	<lastBuildDate>Tue, 13 Sep 2011 08:42:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ahinea.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/4643f9d315b95787cec6eb406f825601?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>ahinea</title>
		<link>http://ahinea.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ahinea.wordpress.com/osd.xml" title="ahinea" />
	<atom:link rel='hub' href='http://ahinea.wordpress.com/?pushpress=hub'/>
		<item>
		<title>DB Error: mismatch (in a PHP script)</title>
		<link>http://ahinea.wordpress.com/2007/08/28/db-error-mismatch-in-a-php-script/</link>
		<comments>http://ahinea.wordpress.com/2007/08/28/db-error-mismatch-in-a-php-script/#comments</comments>
		<pubDate>Mon, 27 Aug 2007 22:02:53 +0000</pubDate>
		<dc:creator>Ivan</dc:creator>
				<category><![CDATA[bugs]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ahinea.wordpress.com/2007/08/28/db-error-mismatch-in-a-php-script/</guid>
		<description><![CDATA[If you get something like the &#8220;DB Error: mismatch&#8221; message in a PHP script, this is probably caused by a bug in the script. If I get it right, the message means: there is a mismatch between the number of placeholders (e.g. &#8220;?&#8221; signs) in your database query and the number of parameters given to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahinea.wordpress.com&amp;blog=200397&amp;post=9&amp;subd=ahinea&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you get something like the &#8220;DB Error: mismatch&#8221; message in a PHP script, this is probably caused by a bug in the script. If I get it right, the message means: there is a mismatch between the number of placeholders (e.g. &#8220;?&#8221; signs) in your database query and the number of parameters given to the query() method.</p>
<p>For instance, if your query is &#8220;SELECT * FROM people WHERE honesty&gt;3&#8243;, but you mistakenly call it like this:</p>
<blockquote><p><code>$dbh-&gt; query( "SELECT * FROM people WHERE honesty&gt;3", $threshold );</code></p></blockquote>
<p>Where you probably meant:</p>
<blockquote><p><code>$dbh-&gt; query( "SELECT * FROM people WHERE honesty&gt;?", $threshold );</code></p></blockquote>
<p>I think this is reported by the DB_Common class (since a certain version).</p>
<p>On the topic: </p>
<ul>
<li><a href='http://pear.php.net/bugs/bug.php?id=780'>PEAR bug #780</a></li>
<li><a href='http://www.php-library.com/pear_man/package.database.db.db-common.query.html'>DB_Common: query() method</a></li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ahinea.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ahinea.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ahinea.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ahinea.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ahinea.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ahinea.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ahinea.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ahinea.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ahinea.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ahinea.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ahinea.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ahinea.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ahinea.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ahinea.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ahinea.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ahinea.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahinea.wordpress.com&amp;blog=200397&amp;post=9&amp;subd=ahinea&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ahinea.wordpress.com/2007/08/28/db-error-mismatch-in-a-php-script/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30afe1ddc245d533fa182a2a0f8f410f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iku</media:title>
		</media:content>
	</item>
		<item>
		<title>Subversion / Apache griefs: can&#8217;t commit, MERGE failed</title>
		<link>http://ahinea.wordpress.com/2007/03/03/subversion-apache-griefs/</link>
		<comments>http://ahinea.wordpress.com/2007/03/03/subversion-apache-griefs/#comments</comments>
		<pubDate>Sat, 03 Mar 2007 12:05:54 +0000</pubDate>
		<dc:creator>Ivan</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://ahinea.wordpress.com/2007/03/03/subversion-apache-griefs/</guid>
		<description><![CDATA[Installed Subversion. Configured Apache to run as a Subversion server. Seems to work. I even tried some WebDAV applications (davfs) on it. Work. Not perfectly (some strange errors), but it does work. Until I tried to checkout, modify and commit with SVN itself: svn: Commit failed (details follow): svn: MERGE request failed on '/' svn: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahinea.wordpress.com&amp;blog=200397&amp;post=7&amp;subd=ahinea&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Installed <a href="http://subversion.tigris.org/">Subversion</a>.  Configured Apache to <a href='http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html'>run as a Subversion server</a>.  Seems to work.  I even tried some WebDAV applications (<a href='http://dav.sourceforge.net/'>davfs</a>) on it. Work. Not perfectly (some strange errors), but it does work.</p>
<p>Until I tried to checkout, modify and commit with SVN itself:</p>
<blockquote><pre>svn: Commit failed (details follow):
svn: MERGE request failed on '/'
svn: Can't open directory '/home/ivan/bsite/svn-repo/db/transactions/0-1.txn/transactions': No such file or directory</pre>
</blockquote>
<p>No matter what I tried SVN can&#8217;t commit into a repository without an error.</p>
<p>Turns out this <b>problem is caused by Apache and Subversion being compiled against different versions of the <a href='http://apr.apache.org/'>APR libraries</a></b>. I got it fixed by rebuilding apache and subversion from their fresh sources.</p>
<p>Thank you, <a href='http://www.nesser.org/blog/'>Christopher Ness</a>!  Your <a href='http://svn.haxx.se/users/archive-2005-12/0553.shtml'>post</a> helped me a lot.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ahinea.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ahinea.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ahinea.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ahinea.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ahinea.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ahinea.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ahinea.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ahinea.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ahinea.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ahinea.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ahinea.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ahinea.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ahinea.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ahinea.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ahinea.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ahinea.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahinea.wordpress.com&amp;blog=200397&amp;post=7&amp;subd=ahinea&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ahinea.wordpress.com/2007/03/03/subversion-apache-griefs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30afe1ddc245d533fa182a2a0f8f410f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iku</media:title>
		</media:content>
	</item>
		<item>
		<title>Low-profile AGP video card with 3D acceleration</title>
		<link>http://ahinea.wordpress.com/2007/01/23/low-profile-agp-video-card-with-3d-acceleration/</link>
		<comments>http://ahinea.wordpress.com/2007/01/23/low-profile-agp-video-card-with-3d-acceleration/#comments</comments>
		<pubDate>Tue, 23 Jan 2007 06:54:32 +0000</pubDate>
		<dc:creator>Ivan</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://ahinea.wordpress.com/2007/01/23/low-profile-agp-video-card-with-3d-acceleration/</guid>
		<description><![CDATA[I was looking for a good low-profile AGP video card. nVidia GeForce- or ATI Radeon-based. With DVI output. Preferably silent (with no cooler). Here is what I&#8217;ve found so far. nVidia GeForce: Gigabyte GV-N62128DS or GV-N55128DS Asus N6200/TD/128M XFX Geforce 6200 AGP: PVT44APANG, PV-T44A-WANG. MSI Video 8998010 GeForce FX5200 or MSI GeForce 6200 (NX6200AX-TD128LF). ATI: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahinea.wordpress.com&amp;blog=200397&amp;post=6&amp;subd=ahinea&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was looking for a good low-profile AGP video card. nVidia GeForce- or ATI Radeon-based. With DVI output. Preferably silent (with no cooler). Here is what I&#8217;ve found so far.</p>
<p>nVidia GeForce:</p>
<ul>
<li>Gigabyte GV-N62128DS or GV-N55128DS</li>
<li>Asus N6200/TD/128M</li>
<li>XFX Geforce 6200 AGP: PVT44APANG, PV-T44A-WANG.</li>
<li>MSI Video 8998010 GeForce FX5200 or MSI GeForce 6200 (NX6200AX-TD128LF).</li>
</ul>
<p>ATI:</p>
<ul>
<li>SAPPHIRE 100576L Radeon 9550SE 128MB DDR AGP 4X/8X Low Profile</li>
<li>PowerColor RADEON 9200SE AGP.</li>
<li>Gigabyte GV-R925128DE.</li>
<li>Asus <a href='http://asus.com/products4.aspx?modelmenu=1&amp;model=290&amp;l1=2&amp;l2=9&amp;l3=19'>A9250/TD/128M</a>.</li>
</ul>
<p>And I got myself Asus N6200/TD/128. </p>
<p>The problem with nVidia cards is that their Linux driver is closed source.  That wouldn&#8217;t be a problem at all if the driver in it&#8217;s current state didn&#8217;t break one important thing in my PC usage: hibernate function (swsusp, to be precise).  With an old Radeon I could send my PC to sleep and be 100% sure that it would wake back up.  Not anymore with GeForge 6200 and the latest nVidia driver.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ahinea.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ahinea.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ahinea.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ahinea.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ahinea.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ahinea.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ahinea.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ahinea.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ahinea.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ahinea.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ahinea.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ahinea.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ahinea.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ahinea.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ahinea.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ahinea.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahinea.wordpress.com&amp;blog=200397&amp;post=6&amp;subd=ahinea&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ahinea.wordpress.com/2007/01/23/low-profile-agp-video-card-with-3d-acceleration/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30afe1ddc245d533fa182a2a0f8f410f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iku</media:title>
		</media:content>
	</item>
		<item>
		<title>Proper XPath/XSLT error reporting in XML::LibXSLT. The patch</title>
		<link>http://ahinea.wordpress.com/2006/07/14/libxslt-error-reporting-fix/</link>
		<comments>http://ahinea.wordpress.com/2006/07/14/libxslt-error-reporting-fix/#comments</comments>
		<pubDate>Fri, 14 Jul 2006 03:44:19 +0000</pubDate>
		<dc:creator>Ivan</dc:creator>
				<category><![CDATA[LibXSLT]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">https://ahinea.wordpress.com/2006/07/14/libxslt-error-reporting-fix/</guid>
		<description><![CDATA[UPDATE: This post and this patch are no longer needed. A new version of XML::LibXSLT fixes the error reporting and some other issues. Below is the original post for purely historical reasons. XML::LibXSLT is a perl module, written and maintaned by Matt Sergeant. The module provides access to the fine Gnome project&#8217;s XSLT library libxslt. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahinea.wordpress.com&amp;blog=200397&amp;post=3&amp;subd=ahinea&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><b>UPDATE:</b> This post and this patch are no longer needed.  A <a href='http://search.cpan.org/search?query=XML::LibXSLT'>new version of XML::LibXSLT</a> fixes the error reporting and some other issues.  Below is the original post for purely historical reasons.</p>
<hr />
<p><a href="http://search.cpan.org/dist/XML-LibXSLT/">XML::LibXSLT</a> is a perl module, written and maintaned by <a href='http://sergeant.org/view/Matt'>Matt Sergeant</a>.  The module provides access to the fine Gnome project&#8217;s XSLT library <a href="http://www.xmlsoft.org/XSLT/">libxslt</a>.  XML::LibXSLT versions up to and including <a href="http://search.cpan.org/%7Emsergeant/XML-LibXSLT-1.58/">1.58</a> have one serious deficiency though: they provide rudimentary reporting of XPath and XSLT processing errors.</p>
<p>This patch tries to fix this deficiency and makes XML::LibXSLT die in case of error with a full error message, often multiple lines.  The generated message will be similar to the one <a href='http://www.xmlsoft.org/XSLT/xsltproc.html'>xsltproc tool</a> would produce.</p>
<h2>Get the patch</h2>
<p>Download: <a href='http://ahinea.files.wordpress.com/2007/07/xml-libxslterror-reporting-patch.txt'>xml-libxslterror-reporting-patch.txt</a></p>
<p>A summary of the patch changes follows.</p>
<p><span id="more-3"></span></p>
<p>I figured some important errors, like invalid XPath expression errors were generated in libxml2 library and handled by XML::LibXML module.  XML::LibXML module installs its own error handler for libxml2 errors and this handler croak()s immediatly in case of error. But that handling isn&#8217;t appropriate for LibXSLT, because we can&#8217;t really trap it.  Or we can trap it, but in that case it is the libxslt library that should trap it and continue it&#8217;s processing (to construct a full error message), which it surely wouldn&#8217;t do.</p>
<p>So I suggest to temporarily set global xmlGenericErrorFunc variable to our own handler (but then reset it back after each transform or parsestyle operation).</p>
<p>Also in this patch I put LibXSLT_error_handler() function to use.  The function was there already before me,  but wasn&#8217;t used for some reason.</p>
<p>And, finally, I slightly change some wording in the error message phrases of XML::LibXSLT itself.  (Remove that depressing <code>Error applying stylesheet: (get error out of libxslt)</code> message&#8230;)</p>
<p>* * * </p>
<p>Work on this patch was sponsored by the <a href='http://buildsite.com/'>BuildSite</a> company.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ahinea.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ahinea.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ahinea.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ahinea.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ahinea.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ahinea.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ahinea.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ahinea.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ahinea.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ahinea.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ahinea.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ahinea.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ahinea.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ahinea.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ahinea.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ahinea.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahinea.wordpress.com&amp;blog=200397&amp;post=3&amp;subd=ahinea&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ahinea.wordpress.com/2006/07/14/libxslt-error-reporting-fix/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30afe1ddc245d533fa182a2a0f8f410f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iku</media:title>
		</media:content>
	</item>
	</channel>
</rss>
