<?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>Thibauld &#187; bug</title>
	<atom:link href="http://thibauld.com/category/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://thibauld.com</link>
	<description>- Imagination and Execution -</description>
	<lastBuildDate>Sat, 02 Oct 2010 01:14:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>postgresql, date input format and black magic</title>
		<link>http://thibauld.com/2010/09/postgresql-date-input-format-and-black-magic/</link>
		<comments>http://thibauld.com/2010/09/postgresql-date-input-format-and-black-magic/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 22:00:55 +0000</pubDate>
		<dc:creator>Thibauld</dc:creator>
				<category><![CDATA[bug]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://thibauld.com/?p=298</guid>
		<description><![CDATA[I hate when I have the impression that black magic took the control of my PC. If you're a developer, you know it happens sometimes... when something is obviously wrong but you just can't figure out *what* is wrong. Hopefully, we work in IT, a field where we can reasonably assume that *everything* happens for [...]]]></description>
			<content:encoded><![CDATA[<p>I hate when I have the impression that black magic took the control of my PC. If you're a developer, you know it happens sometimes... when something is obviously wrong but you just can't figure out *what* is wrong. Hopefully, we work in IT, a field where we can reasonably assume that *everything* happens for a reason. So after digging a while, you eventually end up finding where the issue comes from.</p>
<p>It happened this week while trying to figure out why Postgresql had a different behavior on apparently completely similar platforms. I'm born April 1st, let's say I want to save my birthday in a table, I'd go with the following SQL statement :<br />
<code>INSERT INTO birthdays (date) VALUES ('01-04-1981');</code></p>
<p>As I'm french, each time I deal with dates, I tend to verify that they were understood correctly. Indeed, the above date format was french ('dd-mm-YYYY') but postgresql could have interpreted as a US date format ('mm-dd-YYY'). So let's check with the following statement:<br />
<code>SELECT date_part('month',date) FROM  birthdays;</code></p>
<p>Here comes the problem. On 2 different machines with (apparently) the same setup, this statement would return 2 different results. One would return '04' (correct) and the other one would return '01' (wrong).</p>
<p>I took me a while to find out that postgresql had <a href="http://www.postgresql.org/docs/8.2/static/runtime-config-client.html#GUC-DATESTYLE">datestyle</a> option (in postgresql.conf) which defines the rule to interpret ambiguous date input values. </p>
<p>So if datestyle is set to 'iso, dmy', it means dates will be interpreted as 'date-month-year' and if it is set to 'iso-mdy', dates will be interpreted as 'month-date-year'. It is that simple... once you found it <img src='http://thibauld.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://thibauld.com/2010/09/postgresql-date-input-format-and-black-magic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Société Générale en panne ?</title>
		<link>http://thibauld.com/2009/12/societe-generale-en-panne/</link>
		<comments>http://thibauld.com/2009/12/societe-generale-en-panne/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 18:44:46 +0000</pubDate>
		<dc:creator>Thibauld</dc:creator>
				<category><![CDATA[bug]]></category>
		<category><![CDATA[feedback]]></category>
		<category><![CDATA[fr]]></category>
		<category><![CDATA[banque]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[société générale]]></category>

		<guid isPermaLink="false">http://thibauld.com/?p=257</guid>
		<description><![CDATA[J'aime quand le site de ma banque fonctionne bien... sans commentaires


]]></description>
			<content:encoded><![CDATA[<p>J'aime quand le <a href="http://particuliers.societegenerale.fr" target="_blank">site de ma banque</a> fonctionne bien... sans commentaires</p>
<p><br/><br />
<a href="http://thibauld.com/wp-content/uploads/2009/12/societe_generale_website.png"><img src="http://thibauld.com/wp-content/uploads/2009/12/societe_generale_website.png" alt="societe_generale_website" title="societe_generale_website" width="500" class="aligncenter size-full wp-image-258" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://thibauld.com/2009/12/societe-generale-en-panne/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Bug squashing goes on&#8230; and new position!</title>
		<link>http://thibauld.com/2008/08/bug-squashing-goes-on-and-new-position/</link>
		<comments>http://thibauld.com/2008/08/bug-squashing-goes-on-and-new-position/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 22:17:00 +0000</pubDate>
		<dc:creator>Thibauld</dc:creator>
				<category><![CDATA[announcements]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[fbc]]></category>

		<guid isPermaLink="false">urn:md5:18f54a7fa81da2c49807d11c26ea3c01</guid>
		<description><![CDATA[Beginning of september, despite a truly awful weather in Paris, I'm glad because today I had my first 'official' bug report on google code! The bug is still open right now but obviously I will try to fix as soon as I can!
Some of you noticed that I'm a little bit less reactive these times [...]]]></description>
			<content:encoded><![CDATA[<p>Beginning of september, despite a truly awful weather in Paris, I'm glad because today I had <a href="http://code.google.com/p/savemyconf-client/issues/list">my first 'official' bug report</a> on google code! The bug is still open right now but obviously I will try to fix as soon as I can!</p>
<p>Some of you noticed that I'm a little bit less reactive these times on savemyconf, that's true and it's because I accepted working as a CTO on another cool project. It means that most of my time in august and september is dedicated to <a href="http://www.freelancebusinessclub.com">Freelance Business Club</a>, a social network for freelances in IT that has a lot of potential. They are currently in beta and my role is basically to technically turn this beta into a v1.0 version, a very good experience! For info, the new version will be released in end october...</p>
<p>And here's my new business card:</p>
<p align="center"><a href="http://www.flickr.com/photos/thibs/2824724910/" title="Nouvelle carte de visite by thibauld, on Flickr"><img src="http://farm4.static.flickr.com/3260/2824724910_fc42a58096.jpg" alt="Nouvelle carte de visite" width="500" height="375" /></a></p>
<p>Don't you find it pretty ? <img src='http://thibauld.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Obviously, working for Freelance Business Club slows me down a little on savemyconf, but development on savemyconf goes on! More about that soon...</p>
]]></content:encoded>
			<wfw:commentRss>http://thibauld.com/2008/08/bug-squashing-goes-on-and-new-position/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

