<?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>Guillaume Boudreau Geek Blog &#187; Open Source</title>
	<atom:link href="http://www.pommepause.com/blog/category/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pommepause.com/blog</link>
	<description>My Geek Life</description>
	<lastBuildDate>Mon, 03 Oct 2011 14:53:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Videotron Internet Usage Monitor</title>
		<link>http://www.pommepause.com/blog/2011/03/videotron_internet_usage_monitor/</link>
		<comments>http://www.pommepause.com/blog/2011/03/videotron_internet_usage_monitor/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 17:29:26 +0000</pubDate>
		<dc:creator>Guillaume Boudreau</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.pommepause.com/blog/?p=362</guid>
		<description><![CDATA[Would you like to monitor your monthly Videotron Internet quota easily? Use either my Mac Dashboard widget, or my Google Chrome Extension.]]></description>
			<content:encoded><![CDATA[<div style="text-align: center; border: 1px solid #E6DB55; background: lightYellow; width: 500px; padding: 10px 0 10px 0; margin: 0 auto;"><strong><span style="color: #ff0000;"><span style="color: #000000;">Important note:</span> the softwares below are now officially unsupported.<br />
</span>I&#8217;m not a Videotron client anymore, so it became difficult, and without interest, for me to continue development on both of those solutions to track your bandwidth quota.<br />
</strong><br />
<strong>If you know any developer that might be interested in continuing development and support, feel free to send them a note.</strong><br />
<strong>(JavaScript is the main programming language of both softwares.)</strong></div>
<p>Would you like to monitor your monthly Videotron Internet quota easily?</p>
<p>I offer two choices:</p>
<p>1) a <a class="vt-p" href="https://chrome.google.com/webstore/detail/fnhepcakkcnkaehfhpagimbbkpelkdha">Google Chrome extension</a></p>
<p><a class="vt-p" href="http://www.pommepause.com/blog/wp-content/uploads/2011/03/videotron_chrome_ext_ss.png"><img class="alignnone size-full wp-image-425" title="videotron_chrome_ext_ss" src="http://www.pommepause.com/blog/wp-content/uploads/2011/03/videotron_chrome_ext_ss.png" alt="" width="400" height="275" /></a></p>
<p>2) a <a class="vt-p" href="http://www.pommepause.com/blog/2010/01/mac-widget-videotron-internet-usage-monitor/">Mac Dashboard widget</a></p>
<p><img class="alignnone" src="http://www.pommepause.com/blog/wp-content/uploads/2010/01/screenshot1.png" alt="Mac Dashboard widget screenshot" width="400" height="180" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pommepause.com/blog/2011/03/videotron_internet_usage_monitor/feed/</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
		<item>
		<title>Chrome Extension &#8211; Get comments in RSS format</title>
		<link>http://www.pommepause.com/blog/2011/03/chrome-extension-get-comments-in-rss-format/</link>
		<comments>http://www.pommepause.com/blog/2011/03/chrome-extension-get-comments-in-rss-format/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 01:34:50 +0000</pubDate>
		<dc:creator>Guillaume Boudreau</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.pommepause.com/blog/?p=349</guid>
		<description><![CDATA[So you got a nice Google Chrome extension, right?
And people do leave comments / questions / hate mail on the extension page all the time.
Here's how to receive those in your RSS reader.]]></description>
			<content:encoded><![CDATA[<p>So you got a <a class="vt-p" title="Videotron Internet Usage Monitor - Chrome Extension" href="https://chrome.google.com/webstore/detail/fnhepcakkcnkaehfhpagimbbkpelkdha">nice Google Chrome extension</a>, right?<br />
And people do leave comments / questions / hate mail on the extension page all the time.<br />
But the only way for you to get those is to visit that page in your browser&#8230; Not cool. Not cool at all, Google!</p>
<p>Wanting to get the comments in Google Reader, I simply looked in the Inspect Element &gt; Network tab, to see what was going on, when I visited the Chrome Store page for my extension. And lo and behold, there&#8217;s an AJAX request to fetch the comments, with the results returned as a nice JSON-encoded object!</p>
<p>A <a class="vt-p" title="Source code for my RSS generator" href="dataproxy.pommepause.com/chrome_reviews_rss.phps">couple of LOCs of PHP later</a>, I now have an URL that takes in parameter an extension ID (that 32-characters-long string of letters you see in the URL, when you visit the extension URL; eg. fnhepcakkcnkaehfhpagimbbkpelkdha), and an optional extension name (to beautify the RSS a little), and gives me a RSS feed of all the comments for that extension.</p>
<p>Want to use it yourself? Easy peasy!</p>
<p>Just go here: <a href="http://dataproxy.pommepause.com/chrome_reviews_rss.php">Google Chrome Extension Comments RSS Generator</a></p>
<p>Enjoy, fellow extensions developers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pommepause.com/blog/2011/03/chrome-extension-get-comments-in-rss-format/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Greyhole Roadmap &#8211; version 0.9</title>
		<link>http://www.pommepause.com/blog/2010/12/greyhole-roadmap-version-0-9/</link>
		<comments>http://www.pommepause.com/blog/2010/12/greyhole-roadmap-version-0-9/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 02:39:45 +0000</pubDate>
		<dc:creator>Guillaume Boudreau</dc:creator>
				<category><![CDATA[Greyhole]]></category>

		<guid isPermaLink="false">http://www.pommepause.com/blog/?p=302</guid>
		<description><![CDATA[WIth 0.8 just out the door, I began thinking about 0.9.
That version will focus on fixing Greyhole's greatest bug creator: the rename operation!]]></description>
			<content:encoded><![CDATA[<p>WIth 0.8 just out the door, I began thinking about 0.9.<br />
That version will focus on fixing Greyhole&#8217;s greatest bug creator: the rename operation!<br />
There has been, and probably always will be, problems with the current implementation that Greyhole has to handle file and directory renames.<br />
I have some ideas on how to fix them all, once and for all, but this will require some non-trial development, clean up and regression testing.<br />
I&#8217;m hopeful that re-implementing this part of Greyhole will make it much less bug-prone, when renames are concerned.<br />
More about this soon (when 0.9 will be released I guess&#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pommepause.com/blog/2010/12/greyhole-roadmap-version-0-9/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Greyhole 0.8 &amp; Samba module</title>
		<link>http://www.pommepause.com/blog/2010/12/greyhole-0-8-samba-module/</link>
		<comments>http://www.pommepause.com/blog/2010/12/greyhole-0-8-samba-module/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 02:39:25 +0000</pubDate>
		<dc:creator>Guillaume Boudreau</dc:creator>
				<category><![CDATA[Greyhole]]></category>

		<guid isPermaLink="false">http://www.pommepause.com/blog/?p=300</guid>
		<description><![CDATA[I just built and uploaded version 0.8 of Greyhole on Google Code.
This version doesn't change much of what is normally visible to the end users (except the regular bugfixes). Instead, 0.8 focused on improving an area of Greyhole that has always been messy: the communication channel between Samba and the Greyhole daemon.]]></description>
			<content:encoded><![CDATA[<p>I just built and uploaded version 0.8 of Greyhole on Google Code.<br />
This version doesn&#8217;t change much of what is normally visible to the end users (except the regular bugfixes). Instead, 0.8 focused on improving an area of Greyhole that has always been messy: the communication channel between Samba and the Greyhole daemon.</p>
<p>In the past, Greyhole used a log file to log all file operations that happened on Greyhole-enabled Samba shares. At one point, it used it&#8217;s own log file, then switched to using syslog (/var/log/messages usually).<br />
In version 0.8, Greyhole now use spool files to log those operations.<br />
This is similar to how email servers (like sendmail and postfix) work.<br />
Basically, Samba will create small data files in /var/spool/greyhole/, with filenames being timestamps of when the event happened.<br />
When the Greyhole daemon needs something to do, it will look in that directory, and process any files it finds.</p>
<p>All of this serves multiple purposes. One is to simplify Greyhole code.<br />
Parsing a log file wasn&#8217;t that pleasant: we had to remember where we stopped parsing the log the last time we looked at it, and we had to handle log rotation in order to not miss any operations.<br />
All of this is now a thing of the past. We now simply list a directory, and process the files we find there, before deleting them. Quite simple really!</p>
<p>Another goal which we&#8217;re aiming for with 0.8 is to have the Samba module that Greyhole use become part of Samba. That would mean that everyone with Samba installed would have at least one of the many blocks required to run Greyhole. That would also mean a lot more visibility for Greyhole than what we currently have. I&#8217;m currently working with Samba developers to make that a reality, and I expect to get this committed in the Samba mainline repository in the upcoming weeks.</p>
<p>Next up is <a href="http://www.pommepause.com/blog/2010/12/greyhole-roadmap-version-0-9/">version 0.9</a>, and <a href="http://www.pommepause.com/blog/2010/12/greyhole-new-website/">a new website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pommepause.com/blog/2010/12/greyhole-0-8-samba-module/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Greyhole new website</title>
		<link>http://www.pommepause.com/blog/2010/12/greyhole-new-website/</link>
		<comments>http://www.pommepause.com/blog/2010/12/greyhole-new-website/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 02:38:56 +0000</pubDate>
		<dc:creator>Guillaume Boudreau</dc:creator>
				<category><![CDATA[Greyhole]]></category>

		<guid isPermaLink="false">http://www.pommepause.com/blog/?p=306</guid>
		<description><![CDATA[This week, I created a new website for Greyhole.
This website centralize all the information one could want about Greyhole.]]></description>
			<content:encoded><![CDATA[<p>This week, I created a <a href="http://www.greyhole.net">new website for Greyhole</a>.</p>
<p>This website centralize all the information one could want about Greyhole:</p>
<ul>
<li>A presentation of what Greyhole is (homepage)</li>
<li>Links to download the latest version</li>
<li>Links to past versions downloads</li>
<li>Links to the code repository, issues tracker &#038; wiki (documentation), all hosted on Google Code</li>
<li>Link to &#8220;Fund a Feature | Donate&#8221;, hosted by <a href="http://fundry.com">fundry.com</a></li>
<li>RSS feeds for Greyhole news (which you really should subscribe to if you&#8217;re reading this!), downloads, issues or commits</li>
<li>Link to <a href="http://twitter.com/greyholeapp">@GreyholeApp</a> Twitter account</li>
<li>And links to a support forum (GetSatisfaction), and live chat (IRC channel on FreeNode)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.pommepause.com/blog/2010/12/greyhole-new-website/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fuel Consumption Tracker</title>
		<link>http://www.pommepause.com/blog/2010/06/fuel-consumption-tracker/</link>
		<comments>http://www.pommepause.com/blog/2010/06/fuel-consumption-tracker/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 00:12:29 +0000</pubDate>
		<dc:creator>Guillaume Boudreau</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.pommepause.com/blog/?p=271</guid>
		<description><![CDATA[I wanted to keep track of fuel consumption (L/100km) for our two vehicles. I wanted to be able to send email to enter data, or use a simple web interface. The email part was important, because I don't have a data plan on my cellphone, so being able to compose and queue an email at the pump, to have it sent automatically when I was later within reach of a known Wifi network, was a very nice to have.

Implemented in PHP, the result is not that pretty, but it's nice enough, and the ease of use allows me to keep it updated without too much hassle.]]></description>
			<content:encoded><![CDATA[<p>I wanted to keep track of fuel consumption (L/100km) for our two vehicles. I wanted to be able to send email to enter data, or use a simple web interface. The email part was important, because I don&#8217;t have a data plan on my cellphone, so being able to compose and queue an email at the pump, to have it sent automatically when I was later within reach of a known Wifi network, was a very nice to have.</p>
<p>Implemented in PHP, the result is not that pretty, but it&#8217;s nice enough, and the ease of use allows me to keep it updated without too much hassle.<span id="more-271"></span></p>
<p>Data entry takes a date (default to today), and distance-price-quantity, aka &#8220;KPL&#8221;: Kilometrage, Price, Liters.</p>
<p>The webpage has 4 simple text fields to enter those values, and an email just needs to contain the KPL in whitespace-separated format. The webpage has one form per car, and an email just needs to contain the name of the car anywhere in the email (subject or body): &#8220;corolla&#8221; or &#8220;highlander&#8221;.</p>
<p>The database is simple enough: date, car ID, KPL (3 fields), and an auto-filled (using MySQL triggers) consumption field. A simple cars domain table links the car ID to it&#8217;s user-readable model, make and year, used to display the reports.</p>
<p>Throw in some <a class="vt-p" href="http://code.google.com/apis/visualization/interactive_charts.html">Google Chart Tools</a> to display graphs, and some general statistics (average consumption, total mileage, total fuel bought (in $ and L), and you&#8217;re done!</p>
<p>A nice to have I added later on is a next_service table, which contains a car ID, and a mileage. When data is entered that makes the total mileage of a car reach the mileage indicated in that table, an email is sent to the car owner, to remind him that his next service is due. Not that the dealer won&#8217;t remind me anyway, but still&#8230;</p>
<p>Here&#8217;s what it looks like, for the recent Highlander Hybrid (bought April 2008), and the 2002 Corolla:</p>
<p><a class="vt-p" href="http://cl.ly/d211838720b0899241f4"><img class="alignnone" title="Hybrid Fuel Consumption" src="http://cl.ly/d211838720b0899241f4/content" alt="Hybrid Fuel Consumption" width="545" height="407" /></a></p>
<p><a class="vt-p" href="http://cl.ly/3f9a2ce9fdbc9c59f644"><img class="alignnone" title="Corolla Fuel Consumption" src="http://cl.ly/3f9a2ce9fdbc9c59f644/content" alt="Corolla Fuel Consumption" width="545" height="406" /></a></p>
<p>The code that makes this work will be open-sourced if anyone is interested.</p>
<p>Or if you&#8217;d like to simply use it yourself as-is, I can set you up on my server, no problem. Just <a class="vt-p" href="/contact.php">poke me</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pommepause.com/blog/2010/06/fuel-consumption-tracker/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hacking Crome extensions &#8211; How I added keyboard shortcuts to 1Password in Chrome</title>
		<link>http://www.pommepause.com/blog/2010/05/hacking-crome-extensions-how-i-added-keyboard-shortcuts-to-1password-in-chrome/</link>
		<comments>http://www.pommepause.com/blog/2010/05/hacking-crome-extensions-how-i-added-keyboard-shortcuts-to-1password-in-chrome/#comments</comments>
		<pubDate>Fri, 14 May 2010 13:02:30 +0000</pubDate>
		<dc:creator>Guillaume Boudreau</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.pommepause.com/blog/?p=249</guid>
		<description><![CDATA[I love 1Password. It looks good, it's safe, it has a web-accessible UI, it has an iPhone/iPad application...

What I didn't like about it was it's Chrome extension, which required me to use the mouse to click the 1Password icon in the toolbar each time I wanted to auto-fill a form with login details!! That was so annoying.

So annoying in fact that I took upon myself to implement keyboard shortcuts in the 1Password extensions.]]></description>
			<content:encoded><![CDATA[<p>I love <a class="vt-p" href="http://agilewebsolutions.com/products/1Password">1Password</a>. It looks good, it&#8217;s safe, it has a web-accessible UI, it has an iPhone/iPad application&#8230;</p>
<p>What I didn&#8217;t like about it was it&#8217;s Chrome extension, which required me to use the mouse to click the 1Password icon in the toolbar each time I wanted to auto-fill a form with login details!! That was so annoying.</p>
<p>So annoying in fact that I took upon myself to implement keyboard shortcuts in the 1Password extensions.<span id="more-249"></span> I knew it wouldn&#8217;t be that hard, since Chrome extensions are basically JavaScript &amp; HTML files.</p>
<p>And it turned out to be pretty easy indeed:</p>
<p>I added an event listener for keyUp in the content script (that&#8217;s executed each time a page is loaded):</p>
<pre>window.addEventListener("keyup", keyListener, false);</pre>
<p>Then in the keyListener function, I simply check for the keyboard shortcuts I want:</p>
<pre>if (e.ctrlKey &amp;&amp; e.keyCode) {
  if (e.keyCode == 220 || e.keyCode == 191 || (e.altKey &amp;&amp; e.keyCode == 80)) {
    chrome.extension.sendRequest({name: "openPopUp"});
  }
}</pre>
<p>That sendRequest line simply calls another JavaScript function, but a function that is defined and executed in the &#8216;background&#8217; context (the equivalent of a singleton pattern for Chrome extensions).<br />
In the background HTML file, I simply added some code in that function that would popup a small window that would show the same popup.html file as when I clicked the 1Password button in the toolbar.</p>
<pre>var url = chrome.extension.getURL('popup.html');
[...]
window.popUpWindow = window.open(url, "1Password for Chrome", options);</pre>
<p>The only thing left was to change the existing functions from popup.html that fetched the available login informations, and auto-filled the forms, to use the parent tab, instead of the current tab, when invoked from the popup.<br />
And how lucky I was; there was already a null parameter used for the target window in both those functions! I simply changed that parameter to the parent window id, if the popup was invoked from the keyboard, and that&#8217;s it! <img src='http://www.pommepause.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I now have a working 1Password extension that I can use without my hands leaving the keyboard.</p>
<p>I created a patch of my changes, and posted it in the <a class="vt-p" href="http://support.agilewebsolutions.com/showthread.php?22830-Does-this-mean-that-we-could-use-a-keystroke&amp;p=117474#post117474">1Password forums</a>, so that them developers could take it and base the official implementation from there.</p>
<p>If you really must try it yourself, you can try to patch your extension (version 0.6.2; might not work on future versions; but you can try).<br />
Download <a class="vt-p" href="http://www.pommepause.com/blog/wp-content/uploads/2010/05/1password_chrome_extension_keyboard_shorcut.patch.txt">1password_chrome_extension_keyboard_shorcut.patch.txt</a> first on your desktop.</p>
<p>In Terminal.app:</p>
<pre>cd Library/Application\ Support/Google/Chrome/Default/Extensions/gkndfifopckmhdkohjeoljlbfnjhekfg/0.6.2/
patch &lt; ~/Desktop/1password_chrome_extension_keyboard_shorcut.patch.txt</pre>
<p>Result should look like:</p>
<pre>patching file onepassword_background.html
patching file onepassword_loader.js
patching file popup.html
patch unexpectedly ends in middle of line</pre>
<p>Restart Chrome.<br />
Then try the shortcuts: Ctrl-/ or Ctrl-\</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pommepause.com/blog/2010/05/hacking-crome-extensions-how-i-added-keyboard-shortcuts-to-1password-in-chrome/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Videos5 &#8211; A web application to stream videos to your iPad (and all)</title>
		<link>http://www.pommepause.com/blog/2010/05/videos5-a-web-application-to-stream-videos-to-your-ipad-and-all/</link>
		<comments>http://www.pommepause.com/blog/2010/05/videos5-a-web-application-to-stream-videos-to-your-ipad-and-all/#comments</comments>
		<pubDate>Wed, 12 May 2010 15:26:11 +0000</pubDate>
		<dc:creator>Guillaume Boudreau</dc:creator>
				<category><![CDATA[Home Server]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.pommepause.com/blog/?p=205</guid>
		<description><![CDATA[The iPad is now very popular in the house.
I seldom can use it as a recipe book to cook something, as it was intended... It's either in my oldest's hands, playing Labyrinth 2 HD, either on my wife's lap, browsing her Facebook &#038; reading her emails.

But still, sometimes, it's nice to use it for other things.
One such other thing would be to stream videos from the Amahi home server sitting in a closet upstairs.
One can watch a recorded TV show in bed, or hand the iPad to the big kid to let him watch Cars or Nemo while we're watching the news, or something non kid-friendly.

Being of the DIY kind, I made my own web-app to achieve this, using the new HTML5 videos tag.]]></description>
			<content:encoded><![CDATA[<p>The iPad is now very popular in the house.<br />
I seldom can use it as a recipe book to cook something, as it was intended&#8230; It&#8217;s either in my oldest&#8217;s hands, playing <a class="vt-p" title="iTunes Link" href="http://itunes.apple.com/us/app/labyrinth-2-hd/id307758975?mt=8">Labyrinth 2 HD</a>, either on my wife&#8217;s lap, browsing her Facebook &amp; reading her emails.</p>
<p>But still, sometimes, it&#8217;s nice to use it for other things.<br />
One such other thing would be to stream videos from the <a class="vt-p" title="Amahi Home Server" href="http://www.amahi.org/">Amahi</a> home server sitting in a closet upstairs.<br />
One can watch a recorded TV show in bed, or hand the iPad to the big kid to let him watch Cars or Nemo while we&#8217;re watching the news, or something non kid-friendly.</p>
<p>Being of the DIY kind, I made my own web-app to achieve this, using the new HTML5 videos tag.<span id="more-205"></span> Yes, I know, there are existing &#8216;solutions&#8217; that would allow me do to something very similar, but what&#8217;s the fun in that. Plus, building my own, I&#8217;ll be sure the features I need and want will be implemented in a timely fashion!</p>
<p>The result can be witnessed on the Google Code page that hosts the application code:<br />
<a class="vt-p" href="http://code.google.com/p/videos5/">http://code.google.com/p/videos5/</a></p>
<p>I&#8217;m pretty happy with the end result. <img src='http://www.pommepause.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul>
<li>There&#8217;s user profiles, that can be password protected, that allows me to hide the inappropriate videos from my children.</li>
<li>It integrates nicely with XBMC, that I was already using for those videos, to use the same thumbnails, and import ratings.</li>
<li>There&#8217;s batch encode and batch ratings, for movies and TV shows.</li>
<li>There&#8217;s an Encode Queue page allowing me to monitor progress of all the queued encodes.</li>
<li>Encoded videos will play nicely on all devices (iPad, iPhone, Apple TV, XBMC).</li>
<li>The home page shown after selecting user profile can be bookmarked (in the browser bookmarks, or the iPad home screen) to allow easy access to that specific profile. Perfect to allow the kids to reach their videos easily.</li>
</ul>
<p><a class="vt-p" title="Click for more screenshots" href="http://code.google.com/p/videos5/#Screenshots"><img src="http://dl.dropbox.com/u/3022105/Amahi/html5-videos/screenshots2/videos5-encode_all.png" alt="Videos5 screenshot" /></a></p>
<p>If you want to try it, I created a pretty thorough <a class="vt-p" href="http://code.google.com/p/videos5/source/browse/trunk/README">README</a> that you can follow.</p>
<p>You&#8217;ll need an HTTP server, PHP, MySQL, HandBrake-CLI, mediainfo and mplayer (command-line version), all of which are pretty easy to obtain for any OS.<br />
Final note: You&#8217;ll probably need to manually edit the index.php file to point to the correct paths for some executables. And I doubt it would work in it&#8217;s current state on Windows, though it should be able to, with a couple of minor modifications.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pommepause.com/blog/2010/05/videos5-a-web-application-to-stream-videos-to-your-ipad-and-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Greyhole: How cool is that?</title>
		<link>http://www.pommepause.com/blog/2010/03/greyhole-how-cool-is-that/</link>
		<comments>http://www.pommepause.com/blog/2010/03/greyhole-how-cool-is-that/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 15:10:12 +0000</pubDate>
		<dc:creator>Guillaume Boudreau</dc:creator>
				<category><![CDATA[Greyhole]]></category>
		<category><![CDATA[Home Server]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.pommepause.com/blog/?p=180</guid>
		<description><![CDATA[Not long ago, a 1 TB  hard drive that was part of my storage pool died (my fault really, handling it while it was powered up). Greyhole handled this beautifully, re-creating duplicate copies of the files that were stored on that drive to continue protecting all my data. But I didn't have enough free space on the other drives to allow all the duplicates I want to be created.

Perfect timing to test a very nice feature of Greyhole: inclusion of remote hard drives in the storage pool.]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;m now happily using <a class="vt-p" href="/blog/2009/12/greyhole-easily-expandable-redundant-storage-pool-using-samba/">Greyhole</a>. Good for me, you say?</p>
<p>Not long ago, a 1 TB  hard drive that was part of my storage pool died (my fault really, handling it while it was powered up). Greyhole handled this beautifully, re-creating duplicate copies of the files that were stored on that drive to continue protecting all my data. But I didn&#8217;t have enough free space on the other drives to allow all the duplicates I want to be created.</p>
<p>Perfect timing to test a very nice feature of Greyhole: inclusion of remote hard drives in the storage pool.</p>
<p>I have a 1 TB hard drive attached to my Airport Extreme router, that I use as my Time Machine backup destination (the Airport makes it available through AFP and Samba). It had about 600 GB free. Perfect candidate for this.<br />
I simply mounted that drive on my file server, and included it in my Greyhole storage pool. I then launched &#8220;greyhole &#8211;balance&#8221; to force Greyhole to balance the available space evenly on all drives. Files transferred at about 5MB/s from my file server to the remote drive, so I had to wait a couple of hours for the 600GB to get filled.</p>
<p>I now have about 10-12 GB free on all the drives included in my storage pool, and all my files are correctly protected once more.</p>
<p>Further thinking revealed an interesting use of such remote hard drive in a Greyhole storage pool. Since remote access is much slower than local access, it wouldn&#8217;t make much sense to keep a remote drive in my pool forever, since I do care about performance. But, for some files, performance is not an issue. For example, for my Photos share, I keep a copy of each file on all available drives in my storage pool (I do care about those files!) A remote drive could be used to store a copy of those files, and nothing else. The trick to achieve this is to simply indicate a very high number as the minimum free space for that drive in the Greyhole configuration.<br />
With such a configuration, the remote drive will only be used as a last resort choice when Greyhole chooses where a file copy should be kept. And, minimum free space will be ignored in the case of files that needs to go on all drives.<br />
What this means is that the remote drive will be used to store a copy of the files in my Photos share, and it will be used to store file copies on other shares only if all other hard drives are filled to capacity. Which is nice.<br />
My important files are now backed up remotely (well, in the next room is remote to the file server!), plus if all my fast drives get filled, this slower option will be used until I can free up some space (by adding another internal drive, most likely).</p>
<p>How cool is that? Very cool I think. I don&#8217;t know any other pooling / redundancy system that would allow you to do something like that with such ease! <img src='http://www.pommepause.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I&#8217;m glad to be using Greyhole right now. And you? <img src='http://www.pommepause.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.pommepause.com/blog/2010/03/greyhole-how-cool-is-that/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Mac Widget: Vidéotron Internet Usage Monitor</title>
		<link>http://www.pommepause.com/blog/2010/01/mac-widget-videotron-internet-usage-monitor/</link>
		<comments>http://www.pommepause.com/blog/2010/01/mac-widget-videotron-internet-usage-monitor/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 17:13:02 +0000</pubDate>
		<dc:creator>Guillaume Boudreau</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.pommepause.com/online_files/videotron_usage_monitor_widget.html#unique-entry-id-11</guid>
		<description><![CDATA[Having received earlier this week a letter from Vidéotron, my ISP, about my account getting capped at 100GB monthly in the upcoming months, I decided I needed an easy way to monitor my monthly bandwidth usage. A Dashboard widget was a good fit.]]></description>
			<content:encoded><![CDATA[<div style="text-align: center; border: 1px solid #E6DB55; background: lightYellow; width: 500px; padding: 10px 0 10px 0; margin: 0 auto;"><strong><span style="color: #ff0000;"><span style="color: #000000;">Important note:</span> the software below is now officially unsupported.<br />
</span>I&#8217;m not a Videotron client anymore, so it became difficult, and without interest, for me to continue development of this solution to track your bandwidth quota.<br />
</strong><br />
<strong>If you know any developer that might be interested in continuing development and support, feel free to send them a note.</strong><br />
<strong>(JavaScript is the main programming language.)</strong></div>
<p>&nbsp;</p>
<h3 style="text-align: center; border: 1px solid #E6DB55; background: lightYellow; width: 300px; padding: 10px 0 10px 0; margin: 0 auto;"><a class="vt-p" href="http://www.pommepause.com/blog/wp-content/uploads/2010/01/Videotron-Internet-Usage-Monitor.wdgt-139.zip">Download the widget</a> version 1.3.9</h3>
<p style="text-align: center;"><strong>What&#8217;s new in 1.3.9</strong><br />
Bugfix: During the 1st day of the month, you could see<br />
a warning about reaching &#8216;infinity&#8217; at the end of the month!</p>
<hr />
<p><strong>Update</strong>: There is now a <a class="vt-p" href="https://chrome.google.com/webstore/detail/fnhepcakkcnkaehfhpagimbbkpelkdha">Google Chrome extension</a> that replicates this widget&#8217;s functionalities (and adds notifications). Get it on the <a class="vt-p" href="https://chrome.google.com/webstore/detail/fnhepcakkcnkaehfhpagimbbkpelkdha">Chrome Web Store</a>.</p>
<hr />
<p>Having received earlier this week a letter from Vidéotron, my ISP, about my account getting capped at 100GB monthly in the upcoming months, I decided I needed an easy way to monitor my monthly bandwidth usage. A Dashboard widget was a good fit.</p>
<p>I downloaded a couple of widget samples from Apple.com, and started a new widget from there.</p>
<p>The end result:</p>
<p><img class="alignnone size-full wp-image-170" title="screenshot" src="http://www.pommepause.com/blog/wp-content/uploads/2010/01/screenshot1.png" alt="" width="400" height="180" /></p>
<p>A nice little widget, sitting on my Dashboard, that can tell me how much of my monthly quota I&#8217;ve used so far.<br />
Preferences are: Vidéotron Use Key (something that looks like FFFFFF1234567890), and if you&#8217;d like to visualize upload (versus download) using a different color, on the graph.</p>
<p>Enjoy, fellow Vidéotron users.</p>
<h3>Changelog</h3>
<ul>
<li><strong>1.3.9 - Bugfix: During the 1st day of the month, you could see a warning about reaching &#8216;infinity&#8217; at the end of the month!</strong></li>
<li>1.3.8 - Improvement: Give a warning when the entered User Key is not the right length (16 characters).</li>
<li>1.3.7 - Bugfix: date conversions were broken!</li>
<li>1.3.6 &#8211; Bugfix: Small fix for the &#8216;now&#8217; arrow in the small UI.<br />
Bugfix: finally working on 10.4 and Lion (10.7).<br />
Improvement: New version available looks better in French and on small UI.</li>
<li>1.3.5 &#8211; Bugfix: Incorrect end date calculation placed the &#8217;now&#8217; cursor at the wrong position.<br />
Bugfix: trying to make it work on 10.4.</li>
<li>1.3.4 &#8211; Improvement: try to prevent getting blocked by Videotron, for sending too many requests too fast. Also, better overall error handling.</li>
<li>1.3.3 &#8211; Bugfix: minimal UI was broken since 1.3.0. Also added surplus calculation details in Console, and changed back surplus number in green (was changed to red for no reason).</li>
<li>1.3.2 &#8211; Bugfix &amp; improvements: spinning wheel now disappears when it should. Current now appears in the preferences. New versions notifications will appear below the widget.</li>
<li>1.3.1 &#8211; Bugfix for Mac OS X 10.6 and lower (1.3.0 only worked on Lion&#8230; Sorry!)</li>
<li>1.3.0 &#8211; Bugfix &amp; Improvement: Now using the new public Videotron API, instead of data scraping the consumption web page! You&#8217;ll need your User Key. You can find it in your Videotron Customer Center, in the <a class="vt-p" href="https://www.videotron.com/client/user-management/secur/InitProfile.do?dispatch=initProfile&amp;tab=token&amp;lang=en&amp;caller=videotron-chrome.pommepause.com" target="_blank">User Key tab</a> of the Your Profile page.</li>
<li>1.2.8 &#8211; Bugfix: wrong plan would become selected when new plans became available. Improvement: the bandwidth used today is now accounted for. Improvement: better warning text when your limit is busted, including the approx. amount you&#8217;ll be charged for the extra.</li>
<li>1.2.7 &#8211; Bugfix: typo in JavaScript made the widget unusable on Lion. Fixed. (Thanks Anonymous for the pointer.)</li>
<li>1.2.6 &#8211; Bugfix: regression in 1.2.5; couldn&#8217;t save preferences!</li>
<li>1.2.5 &#8211; Bugfix: Basic (2GB) plan couldn&#8217;t be selected.</li>
<li>1.2.4 &#8211; Updated Vidéotron logo; bug fixed: accumulated daily surplus and &#8216;now&#8217; arrow were 1 day off; clarified that the last updated date was in fact &#8220;$date @ 23h59&#8243;; visual fix when new versions are available.</li>
<li>1.2.3 &#8211; Changed text in options, to clarify that the data transfer packages are &#8216;extras&#8217;, and the &#8216;Plan&#8217; option is what will define your monthly limit.</li>
<li>1.2.2 &#8211; Added option to select data transfer packages bought this month. The selected value will be reset when the billing month changes.</li>
<li>1.2.1 &#8211; Missing Business plans from 1.2.0; added an option to display upload using a different color on the graph.</li>
<li>1.2.0 &#8211; Easier configuration; new version available notification; now displaying numeric deviation from daily limit (surplus) &#8211; this was only shown using a small arrow on the graph before; added overcharge ($) you should expect on your invoice, if you&#8217;re over your limit.</li>
<li>1.1.6 &#8211; Better handling for wrong username; people entering anything else than their VLXXXXXX Vidéotron username will now get a relevant error message.</li>
<li>1.1.5 &#8211; Fetch new data less often; was previously checking for new data every 15 minutes when the Dashboard was open; changed that to once a day.</li>
<li>1.1.4 &#8211; Added small arrows on meters to show the current date. If the meter is higher than the arrow, it means you&#8217;ve transferred too much in regard to the current date versus the date you&#8217;re invoiced. Red arrow = bad; green arrow = good.</li>
<li>1.1.3 &#8211; Beta for 1.1.4</li>
<li>1.1.2 &#8211; Small visual changes: loading animated GIF, numbers formatted as <strong>0.xx</strong> instead of <strong>.xx</strong>.</li>
<li>1.1.1 &#8211; New French localization option; new minimal look option; fixed incorrect dates (all dates were one month early).</li>
<li>1.0.1 &#8211; Fixed missing percentage when using combined quota.</li>
<li>1.0 &#8211; First version.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.pommepause.com/blog/2010/01/mac-widget-videotron-internet-usage-monitor/feed/</wfw:commentRss>
		<slash:comments>268</slash:comments>
		</item>
	</channel>
</rss>

