<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
        <title>Ludovic Chabant</title>
        <description />
        <link>http://ludovic.chabant.com/</link>
        <lastBuildDate>Sat, 04 Feb 2012 23:01:13 +0000</lastBuildDate>
        <generator>PieCrust</generator>
        <sy:updatePeriod>hourly</sy:updatePeriod>
        <sy:updateFrequency>1</sy:updateFrequency>
                 
            <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/dotnetisnice" /><feedburner:info uri="dotnetisnice" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
                <title>The Journey to Digital Comics: Reading Device</title>
                <link>http://feedproxy.google.com/~r/dotnetisnice/~3/KiKLDzce45c/the-journey-to-digital-comics-reading-device</link>
                <comments>http://ludovic.chabant.com/devblog/2012/02/02/the-journey-to-digital-comics-reading-device#disqus_thread</comments>
                <pubDate>Thu, 02 Feb 2012 22:42:00 +0000</pubDate>
                <dc:creator>ludovic</dc:creator>
                
                                <category>journey</category>
                                <category>ipad</category>
                                <category>hardware</category>
                                <category>comics</category>
                                
                <description />
         
                <content:encoded><![CDATA[
                    <p>The first step in the <a href="http://ludovic.chabant.com/devblog/2012/01/22/the-journey-to-digital-comics">journey to digital comics</a> is to figure out what
you&#8217;re going to <em>read them on</em>. These days, the answer is pretty much going to
always be &#8220;a tablet&#8221;&#8230; but which one?</p>

<p>I had a quick look at the market back in late 2011 and here&#8217;s how I made up my
mind. First, I focused on the main ~10 inch tablets of the market. This included,
for instance, the <strong>Motorola Xoom</strong>, the <strong>Asus Transformer</strong> and the
<strong>Apple iPad 2</strong>.</p>


					
									    <p><a href="http://ludovic.chabant.com/devblog/2012/02/02/the-journey-to-digital-comics-reading-device">Read more...</a></p>
					                
<p><a href="http://feedads.g.doubleclick.net/~a/DttwU8OE2TGL0cNGkwyL7BmEOE4/0/da"><img src="http://feedads.g.doubleclick.net/~a/DttwU8OE2TGL0cNGkwyL7BmEOE4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/DttwU8OE2TGL0cNGkwyL7BmEOE4/1/da"><img src="http://feedads.g.doubleclick.net/~a/DttwU8OE2TGL0cNGkwyL7BmEOE4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/dotnetisnice/~4/KiKLDzce45c" height="1" width="1"/>]]></content:encoded>
            <feedburner:origLink>http://ludovic.chabant.com/devblog/2012/02/02/the-journey-to-digital-comics-reading-device</feedburner:origLink></item>
         
            <item>
                <title>PieCrust 0.4.0</title>
                <link>http://feedproxy.google.com/~r/dotnetisnice/~3/98tZ4H-IOoE/piecrust-0-4-0</link>
                <comments>http://ludovic.chabant.com/devblog/2012/01/31/piecrust-0-4-0#disqus_thread</comments>
                <pubDate>Tue, 31 Jan 2012 00:00:00 +0000</pubDate>
                <dc:creator>ludovic</dc:creator>
                
                                <category>piecrust</category>
                                
                <description />
         
                <content:encoded><![CDATA[
                    <p>The holidays have not just been a time spent with the family eating unhealthy
amounts of equally unhealthy food: it was also a time of great changes for
<a href="http://bolt80.com/piecrust/">PieCrust</a>. So much, actually, that I bumped the version number up <em>twice</em>.
This is not just because those changes are pretty significant but also because
they break things a bit.</p>

<p><a href="http://www.flickr.com/photos/57753982@N05/6790327979/" title="Apple pie by alaczek, on Flickr"><img src="http://farm8.staticflickr.com/7141/6790327979_8e0484f778.jpg" width="333" height="500" alt="Apple pie"></a></p>


					
									    <p><a href="http://ludovic.chabant.com/devblog/2012/01/31/piecrust-0-4-0">Read more...</a></p>
					                
<p><a href="http://feedads.g.doubleclick.net/~a/7i8KV_h1I6A_rJSnhHuXdXE027M/0/da"><img src="http://feedads.g.doubleclick.net/~a/7i8KV_h1I6A_rJSnhHuXdXE027M/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/7i8KV_h1I6A_rJSnhHuXdXE027M/1/da"><img src="http://feedads.g.doubleclick.net/~a/7i8KV_h1I6A_rJSnhHuXdXE027M/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/dotnetisnice/~4/98tZ4H-IOoE" height="1" width="1"/>]]></content:encoded>
            <feedburner:origLink>http://ludovic.chabant.com/devblog/2012/01/31/piecrust-0-4-0</feedburner:origLink></item>
         
            <item>
                <title>The Journey to Digital Comics</title>
                <link>http://feedproxy.google.com/~r/dotnetisnice/~3/hMr6aaZIcJk/the-journey-to-digital-comics</link>
                <comments>http://ludovic.chabant.com/devblog/2012/01/22/the-journey-to-digital-comics#disqus_thread</comments>
                <pubDate>Sun, 22 Jan 2012 22:42:00 +0000</pubDate>
                <dc:creator>ludovic</dc:creator>
                
                                <category>journey</category>
                                <category>ipad</category>
                                <category>comics</category>
                                
                <description />
         
                <content:encoded><![CDATA[
                    <p>You <a href="http://ludovic.chabant.com/devblog/2011/10/22/simple-workaround-for-the-ipads-smart-covers-design-flaws">may have noticed that</a>, a couple months ago, I bought myself an iPad 2
as an early Christmas present. This was the result of some market research
based on a few requirements I had for my next big household change:
 <strong>transition from paper comics to digital comics</strong>.</p>

<p>The incentive to start reading digital comics was pretty obvious: after moving
my music, movies, TV shows and books to the digital world, it was only a matter
of time before I would do the same with my comics. Sure, just like I still like
to own some books in physical form, I will still buy some of my comics at my
friendly local store, but, realistically speaking, more than two thirds of my
collection is just enjoyable stuff I don&#8217;t care so much about &#8212; I want to read
it, but the book itself is not especially beautiful, and it&#8217;s not something
that would impress my guess when they spot it on the shelves.</p>

<p><a href="http://www.flickr.com/photos/ludovicchabant/6796052347/" title="IMG_5680.jpg by Ludovic Chabant, on Flickr"><img src="http://farm8.staticflickr.com/7175/6796052347_9c7e374fd0.jpg" width="333" height="500" alt="IMG_5680.jpg"></a></p>

<p>For me, going digital is all about <strong>reclaiming space</strong> and <strong>uncluttering the
house where it makes sense</strong>.</p>

<p>As a result, here&#8217;s my &#8220;<em>Journey to Digital Comics</em>&#8221;, in the tradition of
Mike Vardy&#8217;s <a href="http://vardy.me/the-journey-to-markdown/">&#8220;<em>Journey to&#8230;</em>&#8221; series</a>:</p>

<ol>
<li><a href="http://ludovic.chabant.com/devblog/2012/02/02/the-journey-to-digital-comics-reading-device">The Journey to Digital Comics: Reading Device</a></li>
<li>The Journey to Digital Comics: Apps and Publishers</li>
<li>The Journey to Digital Comics: On Ownership and Stuff</li>
<li>The Journey to Digital Comics: Conclusion</li>
</ol>

					
					                
<p><a href="http://feedads.g.doubleclick.net/~a/hdrZF5YTOMVefYPBHqt3wp1Gaxs/0/da"><img src="http://feedads.g.doubleclick.net/~a/hdrZF5YTOMVefYPBHqt3wp1Gaxs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/hdrZF5YTOMVefYPBHqt3wp1Gaxs/1/da"><img src="http://feedads.g.doubleclick.net/~a/hdrZF5YTOMVefYPBHqt3wp1Gaxs/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/dotnetisnice/~4/hMr6aaZIcJk" height="1" width="1"/>]]></content:encoded>
            <feedburner:origLink>http://ludovic.chabant.com/devblog/2012/01/22/the-journey-to-digital-comics</feedburner:origLink></item>
         
            <item>
                <title>PieCrust 0.2.0</title>
                <link>http://feedproxy.google.com/~r/dotnetisnice/~3/P782ZYAv7S0/piecrust-0-2-0</link>
                <comments>http://ludovic.chabant.com/devblog/2011/12/12/piecrust-0-2-0#disqus_thread</comments>
                <pubDate>Mon, 12 Dec 2011 21:07:00 +0000</pubDate>
                <dc:creator>ludovic</dc:creator>
                
                                <category>piecrust</category>
                                
                <description />
         
                <content:encoded><![CDATA[
                    <p>It&#8217;s been a busy few weeks, both on <a href="http://bolt80.com/piecrust/">PieCrust</a> and on a couple other projects. I pushed versions <a href="https://bitbucket.org/ludovicchabant/piecrust/changeset/124ea02a73f4">0.2.0</a> through <a href="https://bitbucket.org/ludovicchabant/piecrust/changeset/cf094b324be0">0.2.3</a> and didn&#8217;t even have time to write about it until now! Here are some details about what&#8217;s new and what&#8217;s changed.</p>

<p><a href="http://www.flickr.com/photos/stefnoble/214239680/" title="Hot Pie by Stef Noble, on Flickr"><img src="http://farm1.staticflickr.com/97/214239680_1c9af8ea53.jpg" width="500" height="338" alt="Hot Pie"></a></p>

<h2>New Stuff</h2>

<ul>
<li><p><strong>Pagination</strong>: that was the main focus for this version. On the <code>pagination</code> object you&#8217;ll find a whole bunch of new properties and functions, like the number of posts actually on the page, the total number of posts and pages for the current filter, or the indices for the previous and next pages. This will let you build layouts like <a href="http://developer.yahoo.com/ypatterns/navigation/pagination/">Yahoo&#8217;s pagination patterns</a>.</p>

<p>There are also a few methods you can call to change the pagination filters for the current page, like <code>skip()</code>, <code>limit()</code>, <code>with_tag()</code> or <code>in_category()</code>. This is pretty handy for special pages that need to list a specific set of articles.</p>

<p>Last, but not least, the complete set of categories and tags are exposed as (wait for it) <code>categories</code> and <code>tags</code>. You can iterate on them to get their name and their post count. This lets you build things like tag clouds and archive listings. This one may change a bit in the future, however, since I&#8217;m not too happy yet about how it works. Feedback is welcome!</p>

<p>Use the <a href="http://ludovic.chabant.com/devblog/2011/11/22/new-piecrust-debug-window">template data debugging window</a> to inspect the <code>pagination</code> object and see what you can use.</p></li>
<li><p><strong>Twig Filters</strong>: There&#8217;s a new <em>Twig</em> filter called <code>nocache</code>, which appends a timestamp to an URL. This is useful for preventing cache issues on resources like CSS files. You can of course combine it with <code>pcurl</code>: <code>{{ pcurl('styles/default.css')|nocache }}</code></p></li>
<li><p><strong>WordPress Import</strong>: The WordPress import was broken for a while, but it&#8217;s been rewritten completely so it&#8217;s as good as new. Also, it now not only supports importing from an XML file exported from WordPress&#8217; dashboard, but also importing directly from WordPress&#8217; MySQL database, which is faster in some cases, and necessary in others (like when your blog was hosted on <a href="http://wordpress.com">wordpress.com</a>.</p></li>
</ul>

<h2>Changed Stuff</h2>

<ul>
<li><p>The <code>skip_patterns</code> configuration setting for excluding files from a bake is now evaluated against the root-relative paths instead of the filenames. This means that if your pattern was a regular expression like <code>^_</code>, it will no longer exclude any file or folder starting with an underscore &#8212; instead, it will only exclude any file or folder starting with an underscore <em>at the root of the website</em>. It unfortunately makes some scenarios a bit harder to do, but the point is to make brand new scenarios possible.</p></li>
<li><p>The <code>chef init</code> command, which creates a new empty website, doesn&#8217;t add files for Apache or IIS hosting anymore. You can create them by passing the <code>--apache</code> or <code>--iis</code> parameters.</p></li>
<li><p>Old bugs have been fixed, new bugs have been written!</p></li>
</ul>

<h2>Next Up</h2>

<p>The next tasks involve actually updating the documentation on the <a href="http://bolt80.com/piecrust/">PieCrust website</a>, and working on version 0.3.x, which will feature support for user plugins (effectively making it easier to add formatters, template engines and bake processors).</p>

<p>As usual, grab the latest version of PieCrust from the <a href="https://bitbucket.org/ludovicchabant/piecrust">BitBucket</a> or <a href="https://github.com/ludovicchabant/PieCrust">GitHub</a> repositories.</p>

					
					                
<p><a href="http://feedads.g.doubleclick.net/~a/ckBsSaFRKLOenSw2d3Vp9pE_-GY/0/da"><img src="http://feedads.g.doubleclick.net/~a/ckBsSaFRKLOenSw2d3Vp9pE_-GY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ckBsSaFRKLOenSw2d3Vp9pE_-GY/1/da"><img src="http://feedads.g.doubleclick.net/~a/ckBsSaFRKLOenSw2d3Vp9pE_-GY/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/dotnetisnice/~4/P782ZYAv7S0" height="1" width="1"/>]]></content:encoded>
            <feedburner:origLink>http://ludovic.chabant.com/devblog/2011/12/12/piecrust-0-2-0</feedburner:origLink></item>
         
            <item>
                <title>New PieCrust debug window</title>
                <link>http://feedproxy.google.com/~r/dotnetisnice/~3/CGEG00A-3r4/new-piecrust-debug-window</link>
                <comments>http://ludovic.chabant.com/devblog/2011/11/22/new-piecrust-debug-window#disqus_thread</comments>
                <pubDate>Tue, 22 Nov 2011 23:01:00 +0000</pubDate>
                <dc:creator>ludovic</dc:creator>
                
                                <category>piecrust</category>
                                
                <description />
         
                <content:encoded><![CDATA[
                    <p>There&#8217;s a new experimental feature (meaning: only in the <a href="http://ludovic.chabant.com/devblog/2011/11/20/piecrust-code-changes">new default branch</a>) that makes the debug window more useful. The <a href="http://bolt80.com/piecrust/doc/debugging/">debug window</a> is a little known PieCrust feature that used to only show you some caching and performance information on the bottom right corner of your website. But now you&#8217;ll notice a second line about &#8220;<em>template engine data</em>&#8221;:</p>

<p><img src="http://ludovic.chabant.com/devblog/2011/11/22/new-piecrust-debug-window/debug-window-closed.png" alt="Debug window (closed)" /></p>

<p>If you click on it, you will see all the <a href="http://bolt80.com/piecrust/doc/templates/">template variables</a> exposed for the page you&#8217;re currently viewing.</p>

<p><img src="http://ludovic.chabant.com/devblog/2011/11/22/new-piecrust-debug-window/debug-window-open.png" alt="Debug window (open)" /></p>

<p>Not only is it useful for troubleshooting things, but it&#8217;s also a great learning tool. Tell me what you think!</p>

					
					                
<p><a href="http://feedads.g.doubleclick.net/~a/ywt9Sjkp8uG_sRVE_pqG_Z680Tw/0/da"><img src="http://feedads.g.doubleclick.net/~a/ywt9Sjkp8uG_sRVE_pqG_Z680Tw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ywt9Sjkp8uG_sRVE_pqG_Z680Tw/1/da"><img src="http://feedads.g.doubleclick.net/~a/ywt9Sjkp8uG_sRVE_pqG_Z680Tw/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/dotnetisnice/~4/CGEG00A-3r4" height="1" width="1"/>]]></content:encoded>
            <feedburner:origLink>http://ludovic.chabant.com/devblog/2011/11/22/new-piecrust-debug-window</feedburner:origLink></item>
         
            <item>
                <title>PieCrust code changes</title>
                <link>http://feedproxy.google.com/~r/dotnetisnice/~3/RrilLiC_-LY/piecrust-code-changes</link>
                <comments>http://ludovic.chabant.com/devblog/2011/11/20/piecrust-code-changes#disqus_thread</comments>
                <pubDate>Sun, 20 Nov 2011 21:09:00 +0000</pubDate>
                <dc:creator>ludovic</dc:creator>
                
                                <category>piecrust</category>
                                <category>announcement</category>
                                
                <description />
         
                <content:encoded><![CDATA[
                    <p>There&#8217;s been some big changes in the PieCrust codebase recently: some refactoring to make unit-testing easier, the creation of a second branch, and the creation of a satellite repository for the application&#8217;s code alone.</p>

<p>You won&#8217;t care much about the first one (the refactoring) although you may have to expect a whole bunch of new bugs, which will hopefully be easy to test and fix since the whole point of this refactoring is to make testing easier. The other changes are important, however:</p>

<ul>
<li><p>There&#8217;s a new <a href="https://bitbucket.org/ludovicchabant/piecrust/changesets/tip/branch(%22stable%22)"><code>stable</code> branch</a> which will, well, be kept as stable as possible. This means that new features introduced in the <code>default</code> branch will stay there for a little while until they&#8217;re merged into <code>stable</code>. This branching policy is simple yet quite common, as <a href="http://stevelosh.com/blog/2010/05/mercurial-workflows-stable-default/">explained by Steve Losh</a>.</p></li>
<li><p>The <a href="https://bitbucket.org/ludovicchabant/piecrust_sample">&#8220;<em>PieCrust Sample</em>&#8221; repository</a> now contains the partial history of the main repository. Yeah, I&#8217;ve decided to read the Mercurial documentation and found that the <a href="http://mercurial.selenic.com/wiki/ConvertExtension"><code>hg convert</code> command</a> is pretty useful in this case.</p></li>
<li><p>The new <a href="https://bitbucket.org/ludovicchabant/piecrust_app">&#8220;<em>PieCrust App</em>&#8221; repository</a> contains only the PieCrust app&#8217;s code in the root directory. This is useful if you want to include it as a sub-repository of your website&#8217;s repository &#8212; <em>e.g.</em> in a <a href="http://bolt80.com/piecrust/doc/structure/"><code>_piecrust</code> directory</a>. This way, you don&#8217;t need mix the PieCrust files with your own, and you can easily update by pulling the sub-repo. This one is also <a href="https://github.com/ludovicchabant/PieCrust_App">mirrored on GitHub</a> in case you don&#8217;t want a Mercurial sub-repo for some reason.</p></li>
</ul>

					
					                
<p><a href="http://feedads.g.doubleclick.net/~a/PzmCKwxtqOnM294y-HwN1mYtAKQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/PzmCKwxtqOnM294y-HwN1mYtAKQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/PzmCKwxtqOnM294y-HwN1mYtAKQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/PzmCKwxtqOnM294y-HwN1mYtAKQ/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/dotnetisnice/~4/RrilLiC_-LY" height="1" width="1"/>]]></content:encoded>
            <feedburner:origLink>http://ludovic.chabant.com/devblog/2011/11/20/piecrust-code-changes</feedburner:origLink></item>
         
            <item>
                <title>Abandoning Remember The Milk</title>
                <link>http://feedproxy.google.com/~r/dotnetisnice/~3/-GkaB7nvdS4/abandoning-remember-the-milk</link>
                <comments>http://ludovic.chabant.com/devblog/2011/10/30/abandoning-remember-the-milk#disqus_thread</comments>
                <pubDate>Sun, 30 Oct 2011 00:00:00 +0000</pubDate>
                <dc:creator>ludovic</dc:creator>
                
                                <category>announcement</category>
                                <category>milkify</category>
                                <category>ironcow</category>
                                
                <description />
         
                <content:encoded><![CDATA[
                    <p>The <code>milkify.com</code> domain recently expired, and I didn&#8217;t really feel like renewing it. If you look at the (absence of) recent commits in either <a href="http://ironcow.codeplex.com/">IronCow</a> or <a href="http://milkify.codeplex.com/">Milkify</a>, it&#8217;s easy to understand why: I&#8217;m not really working on those projects anymore. And that&#8217;s because I&#8217;m not using <a href="http://www.rememberthemilk.com/">Remember The Milk</a> anymore either.</p>

<p>To be fair, <a href="http://ironcow.codeplex.com/">IronCow</a> is pretty stable already &#8212; most of the latest changes were configuration management stuff and upgrades to <em>Visual Studio 2010</em> &#8212; so it&#8217;s still usable. I&#8217;ll be available for bug fixes, of course, but if the guys at <a href="http://www.rememberthemilk.com/">Remember The Milk</a> add new features, I would probably not know about it and it wouldn&#8217;t be ported to <a href="http://ironcow.codeplex.com/">IronCow</a> unless somebody forks the project and submits a patch.</p>

<p><a href="http://milkify.codeplex.com/">Milkify</a>, however, won&#8217;t see any improvements unless somebody picks it up. It&#8217;s just not worth it to work on a tool I&#8217;m not using myself.</p>

<p>This means I get more time to focus on my new home projects like <a href="http://ludovic.chabant.com/devblog/tag/piecrust">PieCrust</a> and a couple of other bigger ones in progress.</p>

					
					                
<p><a href="http://feedads.g.doubleclick.net/~a/GhkAAp-w3uAtqJsWn_csLbzLBKg/0/da"><img src="http://feedads.g.doubleclick.net/~a/GhkAAp-w3uAtqJsWn_csLbzLBKg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/GhkAAp-w3uAtqJsWn_csLbzLBKg/1/da"><img src="http://feedads.g.doubleclick.net/~a/GhkAAp-w3uAtqJsWn_csLbzLBKg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/dotnetisnice/~4/-GkaB7nvdS4" height="1" width="1"/>]]></content:encoded>
            <feedburner:origLink>http://ludovic.chabant.com/devblog/2011/10/30/abandoning-remember-the-milk</feedburner:origLink></item>
         
            <item>
                <title>Simple workaround for the iPad's smart cover's design flaws</title>
                <link>http://feedproxy.google.com/~r/dotnetisnice/~3/S2rRc63xr1A/simple-workaround-for-the-ipads-smart-covers-design-flaws</link>
                <comments>http://ludovic.chabant.com/devblog/2011/10/22/simple-workaround-for-the-ipads-smart-covers-design-flaws#disqus_thread</comments>
                <pubDate>Sat, 22 Oct 2011 00:00:00 +0000</pubDate>
                <dc:creator>ludovic</dc:creator>
                
                                <category>gotcha</category>
                                <category>hardware</category>
                                <category>apple</category>
                                <category>ipad</category>
                                
                <description />
         
                <content:encoded><![CDATA[
                    <p>I recently got an <a href="http://www.apple.com/ipad/">iPad</a> (more on this later), and with it I got the much hyped <a href="http://www.apple.com/ipad/smart-cover/">smart cover</a>.</p>

<p><a href="http://www.flickr.com/photos/ludovicchabant/6275074251/" title="IMG_4353.jpg by Ludovic Chabant, on Flickr"><img src="http://farm7.static.flickr.com/6220/6275074251_4d566341a0.jpg" width="500" height="333" alt="IMG_4353.jpg"></a></p>

<p>I loved the simplicity of it, and how quickly you can take it off and put it back on again&#8230; However, I quickly realized that I probably had <em>more</em> dust on the screen while using that thing than if I didn&#8217;t have any cover at all. Among the problems I had the infamous &#8220;dust lines&#8221; &#8212; those three lines you get on the screen at exactly the same spot as the cover&#8217;s folds.</p>

<p>The problem was pretty obvious: the natural way to fold the cover, and the way <a href="http://youtu.be/naVZDRcI0p4">Apple advertises it</a>, is as follows:</p>

<p><a href="http://www.flickr.com/photos/ludovicchabant/6275083461/" title="IMG_4357.jpg by Ludovic Chabant, on Flickr"><img src="http://farm7.static.flickr.com/6091/6275083461_9541cbc45d.jpg" width="500" height="333" alt="IMG_4357.jpg"></a></p>

<p>But this results in the following situation:</p>

<p><a href="http://www.flickr.com/photos/ludovicchabant/6275601412/" title="IMG_4354.jpg by Ludovic Chabant, on Flickr"><img src="http://farm7.static.flickr.com/6036/6275601412_30be71e0ec.jpg" width="500" height="333" alt="IMG_4354.jpg"></a></p>

<p>The iPad rests on the folded cover as expected, but the outer faces of that triangular stand are the faces that go against the screen when the cover is closed! They would therefore pick up dust and other particle directly from the table and all around, and put them back onto your screen as soon as you walk away&#8230; I don&#8217;t know where Steve Jobs used to go with his iPad, but my house is not always spotless clean, and neither are any restaurant tables or office desks that I want to put my iPad on.</p>

<p>An easy workaround for this problem is to fold the cover the other way:</p>

<p><a href="http://www.flickr.com/photos/ludovicchabant/6275604244/" title="IMG_4355.jpg by Ludovic Chabant, on Flickr"><img src="http://farm7.static.flickr.com/6057/6275604244_f85d7c20ab.jpg" width="500" height="333" alt="IMG_4355.jpg"></a></p>

<p>This way, the faces that go against the screen are actually <em>inside</em> the triangular stand, where they&#8217;re very unlikely to pick up any dust. This way of folding is a lot less intuitive, but once you get the hang of it, you can actually close and open it as fast as before. I haven&#8217;t had much dust on my screen ever since I started using this technique.</p>

<p>There&#8217;s just one big caveat to this workaround: it doesn&#8217;t work with the &#8220;stand up&#8221; mode.</p>

<p><a href="http://www.flickr.com/photos/ludovicchabant/6275086231/" title="IMG_4358.jpg by Ludovic Chabant, on Flickr"><img src="http://farm7.static.flickr.com/6100/6275086231_0e71407d05.jpg" width="500" height="333" alt="IMG_4358.jpg"></a></p>

<p>If you look closely at the picture above, you&#8217;ll notice what&#8217;s wrong: gravity alone can unfold the cover and make your iPad fall down on the table. In my case, the magnetic strength of the cover is barely enough to counteract the iPad&#8217;s weight and make it stand on its own, but the slightest touch can make it crumble down like a house of a couple of very expensive cards. However, I don&#8217;t care because I&#8217;ve never felt the need to use that position so far.</p>

					
					                
<p><a href="http://feedads.g.doubleclick.net/~a/YGREtryn6U1hcTZPhNAZpxg0wto/0/da"><img src="http://feedads.g.doubleclick.net/~a/YGREtryn6U1hcTZPhNAZpxg0wto/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/YGREtryn6U1hcTZPhNAZpxg0wto/1/da"><img src="http://feedads.g.doubleclick.net/~a/YGREtryn6U1hcTZPhNAZpxg0wto/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/dotnetisnice/~4/S2rRc63xr1A" height="1" width="1"/>]]></content:encoded>
            <feedburner:origLink>http://ludovic.chabant.com/devblog/2011/10/22/simple-workaround-for-the-ipads-smart-covers-design-flaws</feedburner:origLink></item>
         
            <item>
                <title>Article drafts in PieCrust</title>
                <link>http://feedproxy.google.com/~r/dotnetisnice/~3/XYi9npZXLZo/article-drafts-in-piecrust</link>
                <comments>http://ludovic.chabant.com/devblog/2011/10/12/article-drafts-in-piecrust#disqus_thread</comments>
                <pubDate>Wed, 12 Oct 2011 00:00:00 +0000</pubDate>
                <dc:creator>ludovic</dc:creator>
                
                                <category>piecrust</category>
                                <category>cookbook</category>
                                
                <description />
         
                <content:encoded><![CDATA[
                    <p>A common feature of a blog engine is to let the user work on an article for a while before actually publishing it. Thanks to <a href="http://bolt80.com/piecrust/doc/pagination/">pagination filtering</a>, it&#8217;s pretty easy to do in <a href="http://bolt80.com/piecrust/">PieCrust</a>.</p>

<p>All you have to do is add the following to your blog&#8217;s home page&#8217;s configuration header:</p>

<pre><code>posts_filters:
    not:
        has_tags: draft
</code></pre>

<p>This will skip any post that has the <code>draft</code> tag.</p>

<p>You will probably need to add some similar filtering to other pages such as the <a href="http://bolt80.com/piecrust/doc/categories-and-tags/"><code>_tag</code> or <code>_category</code> pages</a>.</p>

					
					                
<p><a href="http://feedads.g.doubleclick.net/~a/ozwq067dY3gzTnO3x0VkSDzq7I0/0/da"><img src="http://feedads.g.doubleclick.net/~a/ozwq067dY3gzTnO3x0VkSDzq7I0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ozwq067dY3gzTnO3x0VkSDzq7I0/1/da"><img src="http://feedads.g.doubleclick.net/~a/ozwq067dY3gzTnO3x0VkSDzq7I0/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/dotnetisnice/~4/XYi9npZXLZo" height="1" width="1"/>]]></content:encoded>
            <feedburner:origLink>http://ludovic.chabant.com/devblog/2011/10/12/article-drafts-in-piecrust</feedburner:origLink></item>
         
            <item>
                <title>Fresh PieCrust available</title>
                <link>http://feedproxy.google.com/~r/dotnetisnice/~3/_qYpnYEJjxY/fresh_piecrust_available</link>
                <comments>http://ludovic.chabant.com/devblog/2011/10/07/fresh_piecrust_available#disqus_thread</comments>
                <pubDate>Fri, 07 Oct 2011 20:37:00 +0000</pubDate>
                <dc:creator>ludovic</dc:creator>
                
                                <category>piecrust</category>
                                <category>announcement</category>
                                
                <description />
         
                <content:encoded><![CDATA[
                    <p>I just pushed <a href="https://bitbucket.org/ludovicchabant/piecrust/changeset/094c13665c7c">version 0.1.2 of PieCrust</a>, the lovely <a href="http://bolt80.com/piecrust/">static website generator</a> that powers this blog, and most of my other websites.</p>

<p><a href="http://www.flickr.com/photos/luzbonita/3070333806/" title="Pie, anyone? by - luz -, on Flickr"><img src="http://farm4.static.flickr.com/3045/3070333806_86cc39171a.jpg" width="333" height="500" alt="Pie, anyone?"></a></p>

<p>Yep, the version was bumped from 0.0.4 to 0.1.2. The main reason is that I very heavily refactored the code to make it a lot more readable and maintanable. This also means a whole new batch of bugs are lurking in the dark!</p>

<p>The main change for users is that there&#8217;s no <code>_chef</code> directory anymore. It&#8217;s all a lot cleaner, with everything living in <code>_piecrust</code>. Just be sure to delete your old directories before getting the new ones, so you don&#8217;t have old junk lying around. This also means that you need to (slightly) change your bootstraping code for running PieCrust. If you didn&#8217;t customize anything, you can just grab the new <code>index.php</code> from the <a href="https://bitbucket.org/ludovicchabant/piecrust_sample/src/bdc07069570f/website/index.php">sample website</a> and overwrite your own. If not, you may want to check out the <a href="http://bolt80.com/piecrust/code">updated documentation on PieCrust bootstraping</a>.</p>

<p>Among the new features, you&#8217;ll find:</p>

<ul>
<li>A <code>chef init</code> command, which creates an empty skeleton for a new website.</li>
<li>Configuration variants when <a href="http://bolt80.com/piecrust/doc/baking">baking your website</a>.</li>
<li>A <code>not</code> <a href="http://bolt80.com/piecrust/doc/pagination">filtering clause</a>.</li>
</ul>

<p>If you want to see what&#8217;s planned in the future, there&#8217;s also a brand new <a href="https://trello.com/board/piecrust/4e797b35c05d6df3e8a7ea3e">public
Trello project board</a>.</p>

<p>Finally, check out the slightly redesigned and reorganized <a href="http://bolt80.com/piecrust/">PieCrust website</a>!</p>

					
					                
<p><a href="http://feedads.g.doubleclick.net/~a/b_m8bhnWMopuznXqjb7QNb4Ct4g/0/da"><img src="http://feedads.g.doubleclick.net/~a/b_m8bhnWMopuznXqjb7QNb4Ct4g/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/b_m8bhnWMopuznXqjb7QNb4Ct4g/1/da"><img src="http://feedads.g.doubleclick.net/~a/b_m8bhnWMopuznXqjb7QNb4Ct4g/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/dotnetisnice/~4/_qYpnYEJjxY" height="1" width="1"/>]]></content:encoded>
            <feedburner:origLink>http://ludovic.chabant.com/devblog/2011/10/07/fresh_piecrust_available</feedburner:origLink></item>
                </channel>
</rss>

