<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>ThinkPart</title>
	    <link>http://hristov.com/oblog/</link>
	    <description>Andrey's blog</description>
	    <pubDate>Thu, 18 Mar 2010 21:53:20 +0200</pubDate>
	    <language><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Notice</p>
<p>Message:  Undefined index:  language</p>
<p>Filename: feed/rss_posts.php</p>
<p>Line Number: 14</p>

</div></language>
	    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	
	    <dc:rights>Copyright 2010</dc:rights>
	    
	    		    		    <item>
				<title>mysqlnd and the compressed protocol, again</title>
				<link>http://hristov.com/oblog/blog/post/2009/09/07/mysqlnd-and-the-compressed-protocol-again/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/09/07/mysqlnd-and-the-compressed-protocol-again/</guid>
				<description><![CDATA[
				<p class="UIIntentionalStory_Message">mysqlnd patched for compressed protocol passes almost all tests, but all of the most relevant and those who test with big result sets. I have a few failures due to "Packet out of order" which is due to the crippled packet numbering when com<span class="text_exposed_hide">...</span><span class="text_exposed_show">pressed is turned on-the outter layer has different counter than the inner, compressed one, and it is unknown how the server resets them (for example in the COM_CHANGE_USER tests).</span></p>
<p>&nbsp;</p>		      	]]>
		      	</description>
				<pubDate>Mon, 07 Sep 2009 00:00:00 +0300</pubDate>
		     </item>
		    		    <item>
				<title>The MySQL compressed protocol</title>
				<link>http://hristov.com/oblog/blog/post/2009/09/04/the-mysql-compressed-protocol/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/09/04/the-mysql-compressed-protocol/</guid>
				<description><![CDATA[
				<p>MySQL's compressed protocol is not so widely used, but there are still users that use it. Thus, the need to implement it in mysqlnd.</p>
<p>Unfortunately the compressed protocol is full of landmines, a lot of them, exploding one by one.</p>		      	]]>
		      	</description>
				<pubDate>Fri, 04 Sep 2009 00:00:00 +0300</pubDate>
		     </item>
		    		    <item>
				<title>100 000 queries per second against MySQL</title>
				<link>http://hristov.com/oblog/blog/post/2009/06/05/100-000-queries-per-second-against-mysql/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/06/05/100-000-queries-per-second-against-mysql/</guid>
				<description><![CDATA[
				<p>No! There is no error in the topic. You can see yourself:</p>		      	]]>
		      	</description>
				<pubDate>Fri, 05 Jun 2009 00:00:00 +0300</pubDate>
		     </item>
		    		    <item>
				<title>Query caching in PHP/mysqlnd &#45; Reloaded</title>
				<link>http://hristov.com/oblog/blog/post/2009/04/26/query-caching-in-phpmysqlnd-reloaded/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/04/26/query-caching-in-phpmysqlnd-reloaded/</guid>
				<description><![CDATA[
				<p>The MySQL UC 2009 is over and I got bored in the evening before I had to leave Santa Clara and decided to play again with query caching in mysqlnd. I have always said that mysqlnd is ready for it, the infrastructure is there and that we need just few changes to make it work. Well, I decided to bite the bullet and do it. Spent about 4h in the evening and on the next day 2h while waiting on the San Jose (SJC) airport and continued on the flight to Denver, where I am having vacation. On the plane I was almost ready and today I made the final changes to the preliminary patch, that seems to work :)</p>
<p>I did a small benchmark, a microbenchmark.</p>		      	]]>
		      	</description>
				<pubDate>Sun, 26 Apr 2009 00:00:00 +0300</pubDate>
		     </item>
		    		    <item>
				<title>mysqlnd talk this afternoon</title>
				<link>http://hristov.com/oblog/blog/post/2009/04/22/mysqlnd-talk-this-afternoon/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/04/22/mysqlnd-talk-this-afternoon/</guid>
				<description><![CDATA[
				<p>In a few hours I will give my talk on mysqlnd. Well, the talk is not mine but we wrote it together with Ulf Wendel, of the MySQL Connectors Team fame. Although we haven't added much functionality to mysqlnd in the recent months mysqlnd is still pretty advanced and started to mature. I will talk about why mysqlnd is unique, why is it cool, why is it <strong>fast</strong>, and why you should use it!</p>		      	]]>
		      	</description>
				<pubDate>Wed, 22 Apr 2009 00:00:00 +0300</pubDate>
		     </item>
		    		    <item>
				<title>Connector/C++ talk already in the history</title>
				<link>http://hristov.com/oblog/blog/post/2009/04/22/connectorc-talk-already-in-the-history/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/04/22/connectorc-talk-already-in-the-history/</guid>
				<description><![CDATA[
				<p>Yesterday I gave my talk, in front of not that many people, about Connector/C++ at the MySQL UC 2009. Not too many questions came from the public, but this is a new product which very specific target group. You know, almost nobody writes Web applications in C++. And Java is the server language for the Enterprise. So I should have expected not many people in the room.</p>
<p>If you have missed the talk, don't worry. In May there will be a webinar which you can attend and if you miss it, you can just watch it at later time. The webinars are recorded and offered freely.</p>
<p>Yesterday the Connector/C++ got the GA stamp and we officially support it. Although we are going to make changes, mostly backward compatible, because this GA, 1.0.5, added the basic functionality the people need to use MySQL with C++ without using the weird libmysql API, which makes your life hard, if you don't use boost and start to get exceptions - you are gonna leak big time.</p>		      	]]>
		      	</description>
				<pubDate>Wed, 22 Apr 2009 00:00:00 +0300</pubDate>
		     </item>
		    		    <item>
				<title>Connector/C++ @ MySQL UC 2009</title>
				<link>http://hristov.com/oblog/blog/post/2009/04/15/connectorc-mysql-uc-2009/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/04/15/connectorc-mysql-uc-2009/</guid>
				<description><![CDATA[
				<p>I will give a talk about Connector/C++ (and mysqlnd in another slot) next week at the MySQL UC 2009. We had to fit the presentation in about 20 slides to be able to fit in the small timeframe of 45 mins. So far I have given only presentations of about 90 minutes, incl. the shoot me with your questions part. I rehearsed today, both talks. Everything seems fine and I will fit. So, if you are an ISV that uses MySQL and use C++ come to see my presentation, there is something to learn. If you are open source developer, who uses C++, come to the room and allow me to introduce MySQL Connector/C++ to you. I am sure you will never get back to libmysql and MySQL Connector/C&nbsp;<img title="Wink" src="http://hristov.com/oblog/application/views/admin/static/javascript/tiny_mce/plugins/emotions/img/smiley-wink.gif" border="0" alt="Wink" /></p>		      	]]>
		      	</description>
				<pubDate>Wed, 15 Apr 2009 00:00:00 +0300</pubDate>
		     </item>
		    		    <item>
				<title>The long waited Connector/C++ review article is there</title>
				<link>http://hristov.com/oblog/blog/post/2009/04/15/the-long-waited-connectorc-review-article-is-there/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/04/15/the-long-waited-connectorc-review-article-is-there/</guid>
				<description><![CDATA[
				<p>Hurry up. Click <a title="Giri Mandalika's article on Connector/C++" href="http://dev.mysql.com/tech-resources/articles/mysql-connector-cpp.html" target="_blank">here</a> to read Giri Mandalika's article on MySQL Connection C++. He is using 1.0.4-beta for his tests and shows how simple it is to use the connector. It is all about developing in C++ for MySQL that became easier!</p>		      	]]>
		      	</description>
				<pubDate>Wed, 15 Apr 2009 00:00:00 +0300</pubDate>
		     </item>
		    		    <item>
				<title>Broken dual&#45;head in Ubuntu and how to fix it</title>
				<link>http://hristov.com/oblog/blog/post/2009/04/09/broken-dual-head-in-ubuntu-and-how-to-fix-it/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/04/09/broken-dual-head-in-ubuntu-and-how-to-fix-it/</guid>
				<description><![CDATA[
				<p>Since some time I am a dual-head user. I recently bought a 19" Ilyama 1680x1050 (cool resolution for 19") and it served me well. It is much more smaller than the 24" Dell UltraSharp I have. The differences in the resolution is not that big. The Dell is 1920x1200. Yesterday I saw that Ilyama have a Prolite series monitor, the same as the 19", 22" which has 1920x1200. I have followed in the recent times the 23" line of Samsung - the 2343 NW. Which is about 160 Euro and offers not that standard resolution (<span style="color: #2d2d2d;">2048 x 1152 / 16:9). The resolution is strange, right? But gives the possibility to have 2 browsers at 1024 pixel width next to each other. In the last years the monitors got bigger and cheaper, more real estate. And they got wider. Probably driven by the multimedia market, although widescreen is good also for those who use IDEs.<br /></span></p>		      	]]>
		      	</description>
				<pubDate>Thu, 09 Apr 2009 00:00:00 +0300</pubDate>
		     </item>
		    		    <item>
				<title>How big are the basic types on the most used systems</title>
				<link>http://hristov.com/oblog/blog/post/2009/04/08/how-big-are-the-basic-types-on-the-most-used-systems/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/04/08/how-big-are-the-basic-types-on-the-most-used-systems/</guid>
				<description><![CDATA[
				<p>After I yesterday checked the size of wchar_t on range number of platforms I decided to extend this to many more types. Again the same systems were used, a few more were added (MacOSX 10.5 x86 and x86_64 are the ones most used). The information is in pretty raw state bug my blog software is not able to present big tables correctly, thus I am going the raw way.</p>
<p>What is most interesting?</p>
<ul>
<li><strong>long double</strong> varies a lot. Between 8 bytes (AIX 5.2 and 5.3 (ppc32/ppc64), Windows 32 &amp; 64) through 12 bytes (Linux/FreeBSD/Solaris but not MacOSX on&nbsp; x86) to 16 byte (x86_64, ia64, hppa32, hppa64, ia64, ppc32/ppc64 (all MacOSX), sparc32, sparc64)</li>
<li>Windows is missing few types</li>
<li>MacOSX (10.4 &amp; 10.5) doesn't have <strong>clock_id</strong> and <strong>timer_t</strong></li>
<li><strong>time_t</strong> is 4 bytes on x86, ppc32, hppa32</li>
<li><strong>time_t</strong> is 8 bytes on x86_64, ia64, ppc64, hppa64, Windows 32&amp;64</li>
<li><strong>int</strong> is always 4 bytes :)</li>
<li><strong>long</strong> is always 4 bytes on 32bit</li>
<li><strong>long</strong> is always 8 bytes on 64bit except on Win64</li>
<li><strong>long long</strong> is present on all systems and is always 8 bytes</li>
<li><strong>float</strong> is always 4 bytes and <strong>double</strong> 8 bytes</li>
<li>as expected <strong>size_</strong>t is 4 byte on 32bit and 8byte on 64bit, the same is valid for <strong>ssize_t</strong>, where available</li>
<li><strong>off_t</strong> is 4 byte on AIX 5.x ppc32, i5OS ppc32, x86(Linux, Solaris), sparc32, Win32 &amp; 64</li>
<li><strong>off_t</strong> is 8 byte on x86 (FreeBSD 6&amp;7, MacOSX), x86_64,  ia64, hppa64, ppc64, sparc64, MacOSX 10.x ppc32</li>
<li><strong>intmax_t</strong>/<strong>uintmax_t</strong> are always 8 byte but missing on Win32 &amp; 64</li>
<li><strong>short</strong> is always 2 bytes</li>
</ul>
<p>&nbsp;</p>
<ul>
</ul>		      	]]>
		      	</description>
				<pubDate>Wed, 08 Apr 2009 00:00:00 +0300</pubDate>
		     </item>
		    		    <item>
				<title>Named pipe support in MySQL Connector/C++</title>
				<link>http://hristov.com/oblog/blog/post/2009/04/07/named-pipe-support-in-mysql-connectorc/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/04/07/named-pipe-support-in-mysql-connectorc/</guid>
				<description><![CDATA[
				<p>I suppose you have already heard from Ulf what MySQL Connector/C++ is. Today Ulf was looking at the test cases and out of the blue asked whether we support named pipes. Well, it wasn't tested but one can pass OPT_NAMED_PIPE to the connect method of the driver (or the MySQL_Connection constructor).</p>		      	]]>
		      	</description>
				<pubDate>Tue, 07 Apr 2009 00:00:00 +0300</pubDate>
		     </item>
		    		    <item>
				<title>Of wchar_t</title>
				<link>http://hristov.com/oblog/blog/post/2009/04/07/of-wchar_t/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/04/07/of-wchar_t/</guid>
				<description><![CDATA[
				<p>wchar_t was introduced long ago as wider version of char that should be enough while doing programs that grok Unicode. Unfortunately, as with all other C types the standard doesn't define the length. Thus some platforms have 2 byte others 4 byte wchar_t. I decided to check what are the sizes using an internal build tool at SUN/MySQL. And here are the results.</p>		      	]]>
		      	</description>
				<pubDate>Tue, 07 Apr 2009 00:00:00 +0300</pubDate>
		     </item>
		    		    <item>
				<title>We just broke Connector C++&#39;s interface</title>
				<link>http://hristov.com/oblog/blog/post/2009/04/01/we-just-broke-connector-cs-interface/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/04/01/we-just-broke-connector-cs-interface/</guid>
				<description><![CDATA[
				<p>The topic sounds scary, right? Don't be afraid, we just wanted to mention that we introduced a change in the interface, after we released the beta yesterday. Previous examples which use <em>ConnectionMetaData</em>, <em>ResultSetMetaData</em> and <em>ParameterMetaData</em> won't work anymore. They used to use std::auto_ptr to keep the code from leaking.</p>		      	]]>
		      	</description>
				<pubDate>Wed, 01 Apr 2009 00:00:00 +0300</pubDate>
		     </item>
		    		    <item>
				<title>mysql client cmdline option which easies the life of the connector developer</title>
				<link>http://hristov.com/oblog/blog/post/2009/03/25/mysql-client-cmdline-option-which-easies-the-life-of-the-connector-developer/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/03/25/mysql-client-cmdline-option-which-easies-the-life-of-the-connector-developer/</guid>
				<description><![CDATA[
				<p>MySQL 5.1 was released as GA not long ago (current version 5.1.32). I work at SUN/MySQL as a connector developer. Currently working on Connector/C++, previously I used to develop mysqlnd of the PHP fame, currently I maintain it. Every single day I work with the MySQL Server and like everything in this world, it's imperfect. You know perpetuum mobile doesn't exist.</p>		      	]]>
		      	</description>
				<pubDate>Wed, 25 Mar 2009 00:00:00 +0200</pubDate>
		     </item>
		    		    <item>
				<title>Of strtold, strto(u), strto(u)ll, strtoumax(), strtoimax()</title>
				<link>http://hristov.com/oblog/blog/post/2009/03/25/of-strtold-strtou-strtoull-strtoumax-strtoimax/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/03/25/of-strtold-strtou-strtoull-strtoumax-strtoimax/</guid>
				<description><![CDATA[
				<p>We are trying to compile Connector/C++ in the OpenOffice.Org environment, however dmake, the OO.Org build too (Ubuntu/Debian has it) can't work currently with CMake. CMake is the meta-make system we use for Connector/C++ to easy the portability. I had a blog entry which platforms are supported, a vast number. Without CMake this wouldn't have been that easy.</p>		      	]]>
		      	</description>
				<pubDate>Wed, 25 Mar 2009 00:00:00 +0200</pubDate>
		     </item>
		    		    <item>
				<title>MySQL Connector/C++ 1.0.4&#45;beta comming soon</title>
				<link>http://hristov.com/oblog/blog/post/2009/03/24/mysql-connectorc-1.0.4-beta-comming-soon/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/03/24/mysql-connectorc-1.0.4-beta-comming-soon/</guid>
				<description><![CDATA[
				<p>We are in the last stages of preparing the next release, which will be the first beta. I expect that <a href="http://blog.ulf-wendel.de/">Ulf</a> will blog thoroughly on it.</p>		      	]]>
		      	</description>
				<pubDate>Tue, 24 Mar 2009 00:00:00 +0200</pubDate>
		     </item>
		    		    <item>
				<title>i5OS, what are you doing?</title>
				<link>http://hristov.com/oblog/blog/post/2009/03/17/i5os-what-are-you-doing/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/03/17/i5os-what-are-you-doing/</guid>
				<description><![CDATA[
				<p>Very strange results when executing CMake on within MySQL Connector/C++ on i5OS.</p>		      	]]>
		      	</description>
				<pubDate>Tue, 17 Mar 2009 00:00:00 +0200</pubDate>
		     </item>
		    		    <item>
				<title>First MySQL post</title>
				<link>http://hristov.com/oblog/blog/post/2009/03/16/first-mysql-post/</link>
				<guid>http://hristov.com/oblog/blog/post/2009/03/16/first-mysql-post/</guid>
				<description><![CDATA[
				<p>First MySQL post</p>		      	]]>
		      	</description>
				<pubDate>Mon, 16 Mar 2009 00:00:00 +0200</pubDate>
		     </item>
		    	       
	</channel>
</rss> 