<?xml version="1.0" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>martinlefebvre.com</title>
		<link>http://www.martinlefebvre.com/viewpost.php</link>
		<description>MartinLefebvre.com</description>
		<atom:link href="http://www.martinlefebvre.com/rss.php" rel="self" type="application/rss+xml" />
		<item>
			<guid>http://www.martinlefebvre.com/viewpost.php?postid=56</guid>
			<pubDate>Thu, 03 Jun 2010 15:24:56 -0400</pubDate>
			<title>This is just priceless...</title>
			<description>
Ok, I can't stop laughing now...


			</description>
		</item>
		<item>
			<guid>http://www.martinlefebvre.com/viewpost.php?postid=55</guid>
			<pubDate>Thu, 03 Jun 2010 14:03:13 -0400</pubDate>
			<title>What is love...</title>
			<description>
No matter how down or pissed off I feel, this always makes me laugh:


			</description>
		</item>
		<item>
			<guid>http://www.martinlefebvre.com/viewpost.php?postid=54</guid>
			<pubDate>Mon, 31 May 2010 12:35:42 -0400</pubDate>
			<title>Fun with Spry: Fluent panels</title>
			<description>
The beauty of Spry is it's simplicity when dealing with data. But it also provides great visual effects that one can implement in a web site in order to keep a consistent look across pages.
One of the widgets included in Spry that I probably use the most is the CollapsiblePanel. Since it is, just like every other Spry component, a javascript object, you can manipulate it as if it was a simple set of Javascript variables.
Click here to see a demo of three panels that fluently open. This is done by calling the three open() methods at the same time while having each panel declared with a slightly different duration.
Don't forget to check out the source code to really see Spry's simplicity!
			</description>
		</item>
		<item>
			<guid>http://www.martinlefebvre.com/viewpost.php?postid=52</guid>
			<pubDate>Mon, 31 May 2010 11:52:53 -0400</pubDate>
			<title>Fun with Spry: Sorting multiple columns</title>
			<description>
At work, I have to display tables of sortable data. This data can be sorted by:

   Type (what happened)
   Date (when it happened)
   Record number


Naturally, my headers have the name of their respective columns as a sort parameter (ie: spry:sort=&quot;Date&quot;). Which works fine, except when a series of related events take place at the same time.

When that happens, sorting the data by date will work, but the important order in which the events took place can sometimes be put to the side. When analyzing a customer's problematic Internet session, for example, it can be bothersome that the authentication happens first, but is shown after the session has started and ended. The solution?

When displayed inside an HTML table, for example, Spry datasets can be sorted by clicking on the element that contains the sort parameter inside the tag. In my case, it's the table header, so it would look like this:



    &amp;lt;th spry:sort=&quot;Date&quot;&amp;gt;Date&amp;lt;/th&amp;gt;


This is where the problem comes from. When sorting using &quot;Date&quot;, the other fields, as expected, are not taken into consideration. The fix in my case is to always use the order in which the events happened, for example the Record Number, as a secondary sort field. To do so, I changed the code to look like:


   &amp;lt;th spry:sort=&quot;Date RecordNumber&quot;&amp;gt;Date&amp;lt;/th&amp;gt;


With this, the records for which the date is identical will be sorted using the RecordNumber field.
			</description>
		</item>
		<item>
			<guid>http://www.martinlefebvre.com/viewpost.php?postid=50</guid>
			<pubDate>Thu, 29 Apr 2010 09:21:37 -0400</pubDate>
			<title>Today's NHL</title>
			<description>
The Montreal Canadiens won, and are moving to round 2. My Ottawa Senators didn't. People now start to talk to me about it. Here's the issue: I don't actually care!

Yes, I am a fan of hockey. And yes, I am also a fan of the Senators. But am I a fan of the NHL? Definitely not. So to all those who think I actually give a damn who wins the Stanley Cup: I don't, unless it's my team.

The QMJHL playoffs are happening, and it's the finals! GO MONCTON!
			</description>
		</item>
		<item>
			<guid>http://www.martinlefebvre.com/viewpost.php?postid=49</guid>
			<pubDate>Mon, 19 Apr 2010 09:12:37 -0400</pubDate>
			<title>Finally...</title>
			<description>
I have been a transit user for close to 15 years now. Bus? Train? Metro/Subway? I took them all. Never tried rail cars yet though... But I doubt that will ever happen. Why?
In Montréal, public transit is the care of the STM. I have been using their service since moving from Ottawa in 2006. And I have to say, no other transit organization can offer crappier service.
9 times out of 10, the bus is not on time. I rarely get a chance to sit. But the real issue is that the STM doesn't give a crap about many of the issues encountered on their buses.
I am fed up with the constant smell of weed and loud music coming from teenagers who apparently don't care enough to use headphones. I am fed up with the terrible driving skills of the STM's employees. There is only so much flooring the gas then slamming the breaks a guy can endure.
So I have done it. I started my driving course a month ago. This wednesday, I get my certificate allowing me to recieve my learner's permit, and get some actual driving done.
In one year, after 15 years of using public transit, I can FINALLY say &quot;The hell with it!&quot;

			</description>
		</item>
		<item>
			<guid>http://www.martinlefebvre.com/viewpost.php?postid=48</guid>
			<pubDate>Mon, 15 Mar 2010 13:30:33 -0400</pubDate>
			<title>Thank you, Captain Obvious!</title>
			<description>
Hello,Currently the card is only available in Ontario.  We apologize for the inconvenience.martin@********.org wrote:&amp;gt;&amp;gt; Why is this card only available in Ontario?
			</description>
		</item>
</channel>
</rss>

