<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Nick Gorbikoff - personal blog.</title>
	<atom:link href="http://www.gorbikoff.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gorbikoff.com</link>
	<description>Pretend there is some smart tag line here.</description>
	<lastBuildDate>Wed, 26 Aug 2009 00:52:57 -0700</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Если бы языки програмирования были бы машинами. by кpacoткa</title>
		<link>http://www.gorbikoff.com/2009/01/28/%d0%b5%d1%81%d0%bb%d0%b8-%d0%b1%d1%8b-%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f-%d0%b1%d1%8b%d0%bb%d0%b8-%d0%b1%d1%8b/comment-page-1/#comment-1053</link>
		<dc:creator>кpacoткa</dc:creator>
		<pubDate>Wed, 26 Aug 2009 00:52:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.gorbikoff.com/?p=4#comment-1053</guid>
		<description>Все-таки действительно нравится мне Ваш блог. Всегда очень интересно читать, включая и эту тему. :)</description>
		<content:encoded><![CDATA[<p>Все-таки действительно нравится мне Ваш блог. Всегда очень интересно читать, включая и эту тему. <img src='http://www.gorbikoff.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to read &amp; write to a dbf database file from ruby. by Nick Gorbikoff</title>
		<link>http://www.gorbikoff.com/2009/02/03/how-to-read-and-write-to-dbf-database-file-from-ruby/comment-page-1/#comment-1041</link>
		<dc:creator>Nick Gorbikoff</dc:creator>
		<pubDate>Fri, 12 Jun 2009 14:59:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.gorbikoff.com/2009/02/03/ruby-dbf-database-file-a-working-solution-2/#comment-1041</guid>
		<description>Rob,

email me a sample of your dbf file I will take a look - I haven&#039;t dealt with fields like that before - so I&#039;m not sure. To avoid that - on our end - we actually save images on the drive and just store absolute links to each image in the dbf file. Image storage in a db is not usually a good idea. - Makes db bloated pretty quickly - doesn&#039;t add search functionality to the db - just slows it down.  My email is nick(dot)gorbikoff(at)gmail.com .

Cheers,
Nick</description>
		<content:encoded><![CDATA[<p>Rob,</p>
<p>email me a sample of your dbf file I will take a look &#8211; I haven&#8217;t dealt with fields like that before &#8211; so I&#8217;m not sure. To avoid that &#8211; on our end &#8211; we actually save images on the drive and just store absolute links to each image in the dbf file. Image storage in a db is not usually a good idea. &#8211; Makes db bloated pretty quickly &#8211; doesn&#8217;t add search functionality to the db &#8211; just slows it down.  My email is nick(dot)gorbikoff(at)gmail.com .</p>
<p>Cheers,<br />
Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to read &amp; write to a dbf database file from ruby. by Rob</title>
		<link>http://www.gorbikoff.com/2009/02/03/how-to-read-and-write-to-dbf-database-file-from-ruby/comment-page-1/#comment-1040</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Fri, 12 Jun 2009 03:19:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.gorbikoff.com/2009/02/03/ruby-dbf-database-file-a-working-solution-2/#comment-1040</guid>
		<description>I have a dBase IV DBF that&#039;s used to store PNG files: each record consists of two text fields and a binary field with the complete PNG file.  (It&#039;s used by a graphics compositing tool.)

I&#039;m trying to develop a script that will automate adding several PNGs at once to the DB, but I&#039;ve run into a problem: DBI seems to think each record has only the text fields--e.g. after selecting all records into rs, rs[0][3] is nil.

I don&#039;t know if this is a problem with Ruby, DBI, or the ODBC dBase driver; similar shortcomings have led me away from Python tools, and I&#039;m beginning to wonder if ANYTHING deals with binary fields in DBFs.  I&#039;m curious if you can shed some light on this dilemma.</description>
		<content:encoded><![CDATA[<p>I have a dBase IV DBF that&#8217;s used to store PNG files: each record consists of two text fields and a binary field with the complete PNG file.  (It&#8217;s used by a graphics compositing tool.)</p>
<p>I&#8217;m trying to develop a script that will automate adding several PNGs at once to the DB, but I&#8217;ve run into a problem: DBI seems to think each record has only the text fields&#8211;e.g. after selecting all records into rs, rs[0][3] is nil.</p>
<p>I don&#8217;t know if this is a problem with Ruby, DBI, or the ODBC dBase driver; similar shortcomings have led me away from Python tools, and I&#8217;m beginning to wonder if ANYTHING deals with binary fields in DBFs.  I&#8217;m curious if you can shed some light on this dilemma.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to read &amp; write to a dbf database file from ruby. by Nick Gorbikoff</title>
		<link>http://www.gorbikoff.com/2009/02/03/how-to-read-and-write-to-dbf-database-file-from-ruby/comment-page-1/#comment-1039</link>
		<dc:creator>Nick Gorbikoff</dc:creator>
		<pubDate>Thu, 14 May 2009 14:36:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.gorbikoff.com/2009/02/03/ruby-dbf-database-file-a-working-solution-2/#comment-1039</guid>
		<description>One more update:
I went through all my major tables and they all seem to have only 4 datatypes used - I don&#039;t know if it&#039;s odbc that reads it that way or tables themselves - I don&#039;t have a dbase environment to access them, but I only get Char, Numeric, Date and nil.

---------
EDIT
---------

Ok it looks like that for some other reasons our dBase expert never used logical - he just used Char to store Y &amp; N or T&amp;F. So I can&#039;t test it here. Email me your sample dbf and I&#039;ll try to take a look.</description>
		<content:encoded><![CDATA[<p>One more update:<br />
I went through all my major tables and they all seem to have only 4 datatypes used &#8211; I don&#8217;t know if it&#8217;s odbc that reads it that way or tables themselves &#8211; I don&#8217;t have a dbase environment to access them, but I only get Char, Numeric, Date and nil.</p>
<p>&#8212;&#8212;&#8212;<br />
EDIT<br />
&#8212;&#8212;&#8212;</p>
<p>Ok it looks like that for some other reasons our dBase expert never used logical &#8211; he just used Char to store Y &#038; N or T&#038;F. So I can&#8217;t test it here. Email me your sample dbf and I&#8217;ll try to take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to read &amp; write to a dbf database file from ruby. by Nick Gorbikoff</title>
		<link>http://www.gorbikoff.com/2009/02/03/how-to-read-and-write-to-dbf-database-file-from-ruby/comment-page-1/#comment-1038</link>
		<dc:creator>Nick Gorbikoff</dc:creator>
		<pubDate>Thu, 14 May 2009 14:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.gorbikoff.com/2009/02/03/ruby-dbf-database-file-a-working-solution-2/#comment-1038</guid>
		<description>Sorry I misread, your question - you are inserting into DBF, not MySql.
I haven&#039;t tried it myself.

Hmm. Logical is indeed a scalar data type - or boolean.  From what I can see everyone suggests to use just put in True or False. 

Hmm can&#039;t test it here. I looked in a couple of my tables and don&#039;t see Logical used anywhere. If you have sample table that you can send me - I can take a look.

Sorry</description>
		<content:encoded><![CDATA[<p>Sorry I misread, your question &#8211; you are inserting into DBF, not MySql.<br />
I haven&#8217;t tried it myself.</p>
<p>Hmm. Logical is indeed a scalar data type &#8211; or boolean.  From what I can see everyone suggests to use just put in True or False. </p>
<p>Hmm can&#8217;t test it here. I looked in a couple of my tables and don&#8217;t see Logical used anywhere. If you have sample table that you can send me &#8211; I can take a look.</p>
<p>Sorry</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to read &amp; write to a dbf database file from ruby. by Nick Gorbikoff</title>
		<link>http://www.gorbikoff.com/2009/02/03/how-to-read-and-write-to-dbf-database-file-from-ruby/comment-page-1/#comment-1037</link>
		<dc:creator>Nick Gorbikoff</dc:creator>
		<pubDate>Thu, 14 May 2009 14:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.gorbikoff.com/2009/02/03/ruby-dbf-database-file-a-working-solution-2/#comment-1037</guid>
		<description>Ryan, 

that&#039;s dBase specific. Not really in ODBC spec. But I think it can be mapped to  to SQL_BIT type in ODBC universe. Also odbc can&#039;t handle indexing columns of field (value)  type Logical. I believe mysql actually supports sql_bit data type as well.

Hope that helps.</description>
		<content:encoded><![CDATA[<p>Ryan, </p>
<p>that&#8217;s dBase specific. Not really in ODBC spec. But I think it can be mapped to  to SQL_BIT type in ODBC universe. Also odbc can&#8217;t handle indexing columns of field (value)  type Logical. I believe mysql actually supports sql_bit data type as well.</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to read &amp; write to a dbf database file from ruby. by Ryan</title>
		<link>http://www.gorbikoff.com/2009/02/03/how-to-read-and-write-to-dbf-database-file-from-ruby/comment-page-1/#comment-1036</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 14 May 2009 13:39:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.gorbikoff.com/2009/02/03/ruby-dbf-database-file-a-working-solution-2/#comment-1036</guid>
		<description>Thanks for the useful information.

I&#039;m trying to use this method to insert data and I&#039;m running into problems with a field of type logical.  No matter what I use (0,1,&quot;F&quot;,&quot;T&quot;,&quot;False&quot;,&quot;True&quot;) I get a &quot;data type mismatch&quot; error.  If I try to use true or false as a parameter I get &quot;can&#039;t convert True into string&quot;.  Any ideas?</description>
		<content:encoded><![CDATA[<p>Thanks for the useful information.</p>
<p>I&#8217;m trying to use this method to insert data and I&#8217;m running into problems with a field of type logical.  No matter what I use (0,1,&#8221;F&#8221;,&#8221;T&#8221;,&#8221;False&#8221;,&#8221;True&#8221;) I get a &#8220;data type mismatch&#8221; error.  If I try to use true or false as a parameter I get &#8220;can&#8217;t convert True into string&#8221;.  Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Если бы языки програмирования были бы машинами. by Nick Gorbikoff</title>
		<link>http://www.gorbikoff.com/2009/01/28/%d0%b5%d1%81%d0%bb%d0%b8-%d0%b1%d1%8b-%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f-%d0%b1%d1%8b%d0%bb%d0%b8-%d0%b1%d1%8b/comment-page-1/#comment-27</link>
		<dc:creator>Nick Gorbikoff</dc:creator>
		<pubDate>Fri, 20 Feb 2009 15:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.gorbikoff.com/?p=4#comment-27</guid>
		<description>Privet Artem.
Nichego strannogo - ya tozhe kogda-to hodil v Kluch :-)

Yaziki eti dostatochno redkie - ya nekotorie iz nih tol&#039;ko vstrechal v literature tozhe :-)</description>
		<content:encoded><![CDATA[<p>Privet Artem.<br />
Nichego strannogo &#8211; ya tozhe kogda-to hodil v Kluch <img src='http://www.gorbikoff.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Yaziki eti dostatochno redkie &#8211; ya nekotorie iz nih tol&#8217;ko vstrechal v literature tozhe <img src='http://www.gorbikoff.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Если бы языки програмирования были бы машинами. by artem</title>
		<link>http://www.gorbikoff.com/2009/01/28/%d0%b5%d1%81%d0%bb%d0%b8-%d0%b1%d1%8b-%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f-%d0%b1%d1%8b%d0%bb%d0%b8-%d0%b1%d1%8b/comment-page-1/#comment-15</link>
		<dc:creator>artem</dc:creator>
		<pubDate>Thu, 19 Feb 2009 18:35:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.gorbikoff.com/?p=4#comment-15</guid>
		<description>интересно,я где-то четверть языков не знаю даже по названиям=)
а вообще странно меня сюда занесло -- группа ключ в контакте,потом переход на Вашу страничку,потом сюда=)</description>
		<content:encoded><![CDATA[<p>интересно,я где-то четверть языков не знаю даже по названиям=)<br />
а вообще странно меня сюда занесло &#8212; группа ключ в контакте,потом переход на Вашу страничку,потом сюда=)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
