<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>capacity</title>
	
	<link>http://capacity.electronest.com</link>
	<description>in fact, it’s just before it reaches its maximum</description>
	<pubDate>Mon, 27 Oct 2008 04:35:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/electronest/capacity" type="application/rss+xml" /><item>
		<title>WP 2.6.2 posts revisions &amp; Twitter Updater</title>
		<link>http://feeds.feedburner.com/~r/electronest/capacity/~3/411965144/</link>
		<comments>http://capacity.electronest.com/2008/10/05/wp-262-posts-revisions-twitter-updater/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 15:27:21 +0000</pubDate>
		<dc:creator>jerome</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[patch]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[twitter]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://capacity.electronest.com/?p=147</guid>
		<description><![CDATA[* Tlktlk is using the Twitter Updater plugins. It’s quite a nice plugin, really usefull to do automated posting to a twitter account.
But for a reason I didn’t quite grok, the twitter account was updated even when editing (save post) and/or (maybe) trough the autosave function of the new 2.6. On a few other blogs [...]]]></description>
			<content:encoded><![CDATA[<p>* <a href="http://london.tlktlk.com/" onclick="javascript:urchinTracker ('/outbound/article/london.tlktlk.com');">Tlktlk</a> is using the <a href="http://blog.victoriac.net/blog/twitter-updater" onclick="javascript:urchinTracker ('/outbound/article/blog.victoriac.net');">Twitter Updater</a> plugins. It’s quite a nice plugin, really usefull to do automated posting to a twitter account.<br />
But for a reason I didn’t quite grok, the twitter account was updated even when editing (save post) and/or (maybe) trough the autosave function of the new 2.6. On a few other blogs I decided to desactivate it since it was creating twits based on revision not accessible to general plugin and resulting in a 404.</p>
<p>This afternoon I had a look in the WP Codex page for <a href="http://codex.wordpress.org/Plugin_API/Action_Reference" onclick="javascript:urchinTracker ('/outbound/article/codex.wordpress.org');">Actions’ Hook</a> and I tried to replace the hook from the plugin (line 108: twitter_updater.php) and posted a new event on the blog; so far it seems it worked like a charm:</p>
<p><code><br />
add_action ( 'publish_post', 'vc_twit');<br />
//add_action ( 'save_post', 'vc_twit');<br />
</code></p>
<img src="http://feeds.feedburner.com/~r/electronest/capacity/~4/411965144" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://capacity.electronest.com/2008/10/05/wp-262-posts-revisions-twitter-updater/feed/</wfw:commentRss>
		<feedburner:origLink>http://capacity.electronest.com/2008/10/05/wp-262-posts-revisions-twitter-updater/</feedburner:origLink></item>
		<item>
		<title>Magpie &amp; Feedburner - the 404 issue</title>
		<link>http://feeds.feedburner.com/~r/electronest/capacity/~3/407491977/</link>
		<comments>http://capacity.electronest.com/2008/09/30/magpie-feedburner-the-404-issue/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 18:07:05 +0000</pubDate>
		<dc:creator>jerome</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[feed]]></category>

		<category><![CDATA[feedburner]]></category>

		<category><![CDATA[magpie]]></category>

		<category><![CDATA[user agent]]></category>

		<guid isPermaLink="false">http://capacity.electronest.com/?p=145</guid>
		<description><![CDATA[I just had some troubles for a few days trying to figure out why some of my feed were disappearing from Magpie when the website was using feedburner’s services ; the problem was coming from user agent - feedburners apparently has some troubles answering application with a ‘weird’ name.
The solution I found (here) is to [...]]]></description>
			<content:encoded><![CDATA[<p>I just had some troubles for a few days trying to figure out why some of my feed were disappearing from Magpie when the website was using feedburner’s services ; the problem was coming from user agent - feedburners apparently has some troubles answering application with a ‘weird’ name.<br />
The solution I found (<a href="http://groups.google.com/group/feedburner-for-developers/browse_thread/thread/7370d936688910e8/70fe35c9d1e65a1a" onclick="javascript:urchinTracker ('/outbound/article/groups.google.com');">here</a>) is to declare Magpie useragent as being something more traditionnal:</p>
<p><code>define('MAGPIE_USER_AGENT', 'Mozilla/5.0 (Windows; U; Windows NT 5.1;<br />
en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1');</code></p>
<p>* <a href="http://magpierss.sourceforge.net/" onclick="javascript:urchinTracker ('/outbound/article/magpierss.sourceforge.net');">Magpie</a> is a RSS parser for PHP; it allows for quick prototyping. It is super simple and easy to use. It is a very nice way for using similar concepts as the Yahoo Pipes RSS parser in custom code.</p>
<img src="http://feeds.feedburner.com/~r/electronest/capacity/~4/407491977" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://capacity.electronest.com/2008/09/30/magpie-feedburner-the-404-issue/feed/</wfw:commentRss>
		<feedburner:origLink>http://capacity.electronest.com/2008/09/30/magpie-feedburner-the-404-issue/</feedburner:origLink></item>
		<item>
		<title>Dalston driving lessons type</title>
		<link>http://feeds.feedburner.com/~r/electronest/capacity/~3/393636165/</link>
		<comments>http://capacity.electronest.com/2008/09/15/dalston-driving-lessons-type/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 23:01:08 +0000</pubDate>
		<dc:creator>pierre</dc:creator>
		
		<category><![CDATA[fontnest]]></category>

		<category><![CDATA[ideas]]></category>

		<category><![CDATA[ongoing design]]></category>

		<category><![CDATA[dalston]]></category>

		<category><![CDATA[posters]]></category>

		<category><![CDATA[public notices]]></category>

		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://capacity.electronest.com/?p=111</guid>
		<description><![CDATA[

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/jrgd/2847913223/" onclick="javascript:urchinTracker ('/outbound/article/www.flickr.com');"><img src="http://farm4.static.flickr.com/3037/2847913223_233d09a6b8_m.jpg" alt="" /></a></p>
<p><a href="http://www.flickr.com/photos/piotch/2469434500/" onclick="javascript:urchinTracker ('/outbound/article/www.flickr.com');"><img src="http://farm4.static.flickr.com/3192/2469434500_1a6c3a29fc_m.jpg" alt="" /></a></p>
<img src="http://feeds.feedburner.com/~r/electronest/capacity/~4/393636165" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://capacity.electronest.com/2008/09/15/dalston-driving-lessons-type/feed/</wfw:commentRss>
		<feedburner:origLink>http://capacity.electronest.com/2008/09/15/dalston-driving-lessons-type/</feedburner:origLink></item>
		<item>
		<title>fun loop</title>
		<link>http://feeds.feedburner.com/~r/electronest/capacity/~3/383712636/</link>
		<comments>http://capacity.electronest.com/2008/09/04/fun-loop/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 00:33:39 +0000</pubDate>
		<dc:creator>pierre</dc:creator>
		
		<category><![CDATA[ideas]]></category>

		<category><![CDATA[documentation]]></category>

		<category><![CDATA[formal systems]]></category>

		<category><![CDATA[humour]]></category>

		<category><![CDATA[jokes]]></category>

		<category><![CDATA[litteracy]]></category>

		<category><![CDATA[philosophy]]></category>

		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://capacity.electronest.com/?p=103</guid>
		<description><![CDATA[There has been two intresting posts on Word Aligned about software documentation as a &#8220;genre&#8221; and more specifically humour in documentation. The first one was a review of the documentation litteracy ideas and was a quite interesting starting point. But I found the second post yet more interesting : it explores the link between this form [...]]]></description>
			<content:encoded><![CDATA[<p>There has been two intresting posts on Word Aligned about software documentation as a &#8220;genre&#8221; and more specifically humour in documentation. <a href="http://wordaligned.org/articles/entertaining-documentation" onclick="javascript:urchinTracker ('/outbound/article/wordaligned.org');">The first one</a> was a review of the documentation litteracy ideas and was a quite interesting starting point. But I found <a href="http://wordaligned.org/articles/syntactic-sugar" onclick="javascript:urchinTracker ('/outbound/article/wordaligned.org');">the second post</a> yet more interesting : it explores the link between this form of humour and the notion of &#8220;syntactic sugar&#8221; in programming&#8230; and it is very simple and well written, I recommend it.</p>
<p>Makes me think of another idea that I like: the fact that formal systems like programming languages or math proofs (any form of constructed, artificial language) can be used for <a href="http://pierre.lunarpages.net/archives/2008/03/26/taos-patterns-continued/" onclick="javascript:urchinTracker ('/outbound/article/pierre.lunarpages.net');">other things</a> than computing or calculating, for example things like jokes or poetry*, usually associated to natural languages (english, body lanuage, etc&#8230;).</p>
<p><img src="http://imgs.xkcd.com/comics/fetishes.png" alt="xkcd comic completeness" /></p>
<p>To which, <a href="http://possiblyphilosophy.wordpress.com/2008/08/27/xkcd-on-godel/" onclick="javascript:urchinTracker ('/outbound/article/possiblyphilosophy.wordpress.com');">Possibly Philosophy</a> answered :</p>
<blockquote><p>They eventually resolved this self-reference, but Cantor&#8217;s &#8216;everything-in-the-fetish-book-twice&#8217; parties finally sunk the idea.</p></blockquote>
<p>* or music. Speaking of which: I like a lot the non-orthodox definition on the first line of the <a href="http://en.wikipedia.org/wiki/Serial_music" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">wikipedia article on serial</a> music :</p>
<blockquote><p>&#8220;a technique for composition that uses sets to describe musical elements, and allows the manipulation of those sets.&#8221;</p></blockquote>
<p>there is an intresting <a href="http://plato.stanford.edu/entries/set-theory/" onclick="javascript:urchinTracker ('/outbound/article/plato.stanford.edu');">Stanford Encyclopedia of Philosophy article</a> on set theory for some background.</p>
<img src="http://feeds.feedburner.com/~r/electronest/capacity/~4/383712636" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://capacity.electronest.com/2008/09/04/fun-loop/feed/</wfw:commentRss>
		<feedburner:origLink>http://capacity.electronest.com/2008/09/04/fun-loop/</feedburner:origLink></item>
		<item>
		<title>summer readings</title>
		<link>http://feeds.feedburner.com/~r/electronest/capacity/~3/366207085/</link>
		<comments>http://capacity.electronest.com/2008/08/15/summer-readings/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 03:24:57 +0000</pubDate>
		<dc:creator>pierre</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://capacity.electronest.com/?p=101</guid>
		<description><![CDATA[Ian M. Banks, Consider Phlebas (thanks Jérôme!), The Algebraist. First time I read a book from the Culture cycle. The Algebraist is sci-fi as well but not from the same cycle.
William Gibson, Pattern Recognition and Spook Country.
Greg Egan, Riding the Crocodile and the serie Oracle &#124; Singleton. Via Tom Moody
Three lectures by Per Martin-Löf. &#8220;On [...]]]></description>
			<content:encoded><![CDATA[<p>Ian M. Banks, <a href="http://www.amazon.com/gp/product/0553292811" onclick="javascript:urchinTracker ('/outbound/article/www.amazon.com');">Consider Phlebas</a> (thanks Jérôme!), <a href="http://www.amazon.com/Algebraist-Iain-M-Banks/dp/1597800449/" onclick="javascript:urchinTracker ('/outbound/article/www.amazon.com');">The Algebraist</a>. First time I read a book from <a href="http://en.wikipedia.org/wiki/The_Culture" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">the Culture</a> cycle. The Algebraist is sci-fi as well but not from the same cycle.</p>
<p>William Gibson, <a href="http://www.williamgibsonbooks.com/books/pattern.asp" onclick="javascript:urchinTracker ('/outbound/article/www.williamgibsonbooks.com');">Pattern Recognition</a> and <a href="http://www.williamgibsonbooks.com/books/spook.asp" onclick="javascript:urchinTracker ('/outbound/article/www.williamgibsonbooks.com');">Spook Country</a>.</p>
<p>Greg Egan, <a href="http://gregegan.customer.netspace.net.au/INCANDESCENCE/00/Crocodile.html" onclick="javascript:urchinTracker ('/outbound/article/gregegan.customer.netspace.net.au');">Riding the Crocodile</a> and the serie <a href="http://gregegan.customer.netspace.net.au/MISC/ORACLE/Oracle.html" onclick="javascript:urchinTracker ('/outbound/article/gregegan.customer.netspace.net.au');">Oracle</a> | <a href="http://gregegan.customer.netspace.net.au/MISC/SINGLETON/Singleton.html" onclick="javascript:urchinTracker ('/outbound/article/gregegan.customer.netspace.net.au');">Singleton</a>. Via <a href="http://twitter.com/tommoody/statuses/874261594" onclick="javascript:urchinTracker ('/outbound/article/twitter.com');">Tom Moody</a></p>
<p>Three lectures by Per Martin-Löf. &#8220;On the Meanings of the Logical Constants and the Justifications of the Logical Laws.&#8221; Nordic Journal of Philosophical Logic, 1(1): 11-60, 1996 <a href="http://www.hf.uio.no/filosofi/njpl/vol1no1/meaning/meaning.html" onclick="javascript:urchinTracker ('/outbound/article/www.hf.uio.no');">http://www.hf.uio.no/filosofi/njpl/vol1no1/meaning/meaning.html</a></p>
<p>Uh&#8230; this is not what I read all the time, but it happened like this.</p>
<img src="http://feeds.feedburner.com/~r/electronest/capacity/~4/366207085" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://capacity.electronest.com/2008/08/15/summer-readings/feed/</wfw:commentRss>
		<feedburner:origLink>http://capacity.electronest.com/2008/08/15/summer-readings/</feedburner:origLink></item>
		<item>
		<title>next bigger interger</title>
		<link>http://feeds.feedburner.com/~r/electronest/capacity/~3/363348081/</link>
		<comments>http://capacity.electronest.com/2008/08/12/next-bigger-interger/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 23:00:28 +0000</pubDate>
		<dc:creator>pierre</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[maths]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[type]]></category>

		<guid isPermaLink="false">http://capacity.electronest.com/2008/08/12/next-bigger-interger/</guid>
		<description><![CDATA[I&#8217;m working on PDF templates using FPDF, the templates are based on a grid and I had to find how much of the grid&#8217;s units different images are using, e.g. if an image width is 1.3 units I need to make 2 units space for it in the the grid.
In other words I needed to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on PDF templates using FPDF, the templates are based on a grid and I had to find how much of the grid&#8217;s units different images are using, e.g. if an image width is 1.3 units I need to make 2 units space for it in the the grid.</p>
<p>In other words I needed to &#8220;round&#8221; a floating point number, but always to a bigger number so the <code>round</code> php function would not be usefull :</p>
<p><code>echo round(1.2);  // 1<br />
echo round(1.6);  // 2</code></p>
<p>Then I thought that what I wanted was the &#8220;next bigger integer&#8221;, and it felt in place : change the float to an integer and add one.</p>
<p><code>echo ((int) 1.2) + 1;  // 2<br />
echo ((int) 1.6) + 1;  // 2</code></p>
<p>This is super simple but it seem to me a good exemple of how formulating what you want  to do in english can help when programming.</p>
<img src="http://feeds.feedburner.com/~r/electronest/capacity/~4/363348081" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://capacity.electronest.com/2008/08/12/next-bigger-interger/feed/</wfw:commentRss>
		<feedburner:origLink>http://capacity.electronest.com/2008/08/12/next-bigger-interger/</feedburner:origLink></item>
		<item>
		<title>An experiment in the economics of production</title>
		<link>http://feeds.feedburner.com/~r/electronest/capacity/~3/344466330/</link>
		<comments>http://capacity.electronest.com/2008/07/24/an-experiment-in-the-economics-of-production/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 10:35:14 +0000</pubDate>
		<dc:creator>jerome</dc:creator>
		
		<category><![CDATA[ideas]]></category>

		<category><![CDATA[ongoing design]]></category>

		<guid isPermaLink="false">http://capacity.electronest.com/2008/07/24/an-experiment-in-the-economics-of-production/</guid>
		<description><![CDATA[An experiment in the economics of production: how can we shift focus from consumption of a finished product to investment in the processes of design, print &#038; production?

This is a poster and a text: an analog R-Echos
Would you be interested in investing in the tangible production of this work?
   1. You can download [...]]]></description>
			<content:encoded><![CDATA[<h3>An experiment in the economics of production: how can we shift focus from consumption of a finished product to investment in the processes of design, print &#038; production?</h3>
<p><a href="http://electronest.com/&#038;MP/" ><img src="http://electronest.com/&#038;MP/preview.jpg" alt="R-Echos issue 1 - AMP001" /></a></p>
<p>This is a poster and a text: an analog R-Echos<br />
Would you be interested in investing in the tangible production of this work?</p>
<p>   1. You can download the digital archive<br />
            and decide wether or not you&#8217;re interested in particpating in this project.<br />
   2. Each participant donate a minimum of £8<br />
   3. The publication is produced<br />
   4. We share the publications<br />
            which means each participant own a fair amount of publications and participants decide (collectively or individually) what to do with it.</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
                    <img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1"></p>
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----">
                </form>
<p> <br />
<h3 style="font-family:helvetica, sans-serif; color:red;">minimum &pound;8</h3>
<img src="http://feeds.feedburner.com/~r/electronest/capacity/~4/344466330" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://capacity.electronest.com/2008/07/24/an-experiment-in-the-economics-of-production/feed/</wfw:commentRss>
		<feedburner:origLink>http://capacity.electronest.com/2008/07/24/an-experiment-in-the-economics-of-production/</feedburner:origLink></item>
		<item>
		<title>(can’t) insert uploaded images in WP 2.5+</title>
		<link>http://feeds.feedburner.com/~r/electronest/capacity/~3/325709367/</link>
		<comments>http://capacity.electronest.com/2008/07/03/cant-insert-uploaded-images-in-wp-25/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 11:17:01 +0000</pubDate>
		<dc:creator>jerome</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[resources]]></category>

		<category><![CDATA[gallery]]></category>

		<category><![CDATA[image]]></category>

		<category><![CDATA[insert]]></category>

		<category><![CDATA[upload]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://capacity.electronest.com/2008/07/03/cant-insert-uploaded-images-in-wp-25/</guid>
		<description><![CDATA[With Wordpress 2.5 came a new way of handling files upload: the image gallery. Very neat and simple to use. One single issue made it so far a pain in the bum for me: for some reason, some times, it was impossible to use the button &#8216;Insert into Post&#8217;.
Firebug was indicating that the AJAX call [...]]]></description>
			<content:encoded><![CDATA[<p>With Wordpress 2.5 came a new way of handling files upload: the image gallery. Very neat and simple to use. One single issue made it so far a pain in the bum for me: for some reason, some times, it was impossible to use the button &lsquo;Insert into Post&rsquo;.</p>
<p>Firebug was indicating that the AJAX call was left with no answer - it is apparently related with server configuration - this happen all the time and it&rsquo;s a real problem when developing on a shared hosting machine; I had these issues on a shared hosted account at IX web hosting and I still have to test on a DreamHost account to see if it solves this issue there too.</p>
<p>I finally found out a solution for my WP 2.5.1 installation:<br />
Thanks to Otto42 on the <a href="http://wordpress.org/support/topic/171870/page/4" onclick="javascript:urchinTracker ('/outbound/article/wordpress.org');">WP forum</a>, after following the whole discussion - i had to edit my .htaccess and add the following lines.<br />
<code><br />
&lt;IfModule mod_security.c&gt;<br />
	SecFilterEngine Off<br />
	SecFilterScanPOST Off<br />
&lt;/IfModule&gt;<br />
</code></p>
<p>The &lsquo;.htaccess&rsquo; file provides additional configuration instruction to the Apache server, specific for the files accessed in the same directory where it is located - in this case it should be the root directory of your WP installation, if you have no .htaccess file you can just create one and call it this way, with the dot in front of the name: it means the file will be hidden using http, but you still can see it trough ftp - when downloading this file, if your are on a Mac OS X, the file will not be listed in the directory, but it still is there, it is just hidden.  </p>
<p>* Please note that disabling mod_security apparently opens wide door to comment and referrer spam, and possibly nastier attack of other forms.</p>
<img src="http://feeds.feedburner.com/~r/electronest/capacity/~4/325709367" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://capacity.electronest.com/2008/07/03/cant-insert-uploaded-images-in-wp-25/feed/</wfw:commentRss>
		<feedburner:origLink>http://capacity.electronest.com/2008/07/03/cant-insert-uploaded-images-in-wp-25/</feedburner:origLink></item>
		<item>
		<title>Electronest Projects &amp; see through pages</title>
		<link>http://feeds.feedburner.com/~r/electronest/capacity/~3/307952653/</link>
		<comments>http://capacity.electronest.com/2008/06/08/electronest-projects-see-through-pages/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 07:36:33 +0000</pubDate>
		<dc:creator>jerome</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[ongoing design]]></category>

		<category><![CDATA[collection]]></category>

		<category><![CDATA[flux]]></category>

		<category><![CDATA[portfolio]]></category>

		<category><![CDATA[see through]]></category>

		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://capacity.electronest.com/2008/06/08/electronest-projects-see-trough-pages/</guid>
		<description><![CDATA[
Inspired by a few research and a certain trend we decided to give see-through website a first go and this weekend, we finally managed to group a few works and an archive links list on two pages: Electronest Websites Work Selection and Electronest&#8217;s Projects Archive; these page simply use an iframe objects to display other&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://electronest.com/projects.php" ><img src="http://capacity.electronest.com/wp-content/uploads/2008/06/empty_page.jpg" alt="empty_page.jpg" /></a></p>
<p>Inspired by a few research and a certain trend we decided to give see-through website a first go and this weekend, we finally managed to group a few works and an archive links list on two pages: Electronest <a href="http://electronest.com/projects.php" >Websites Work Selection</a> and Electronest&#8217;s <a href="http://electronest.com/projects.archive.php" >Projects Archive</a>; these page simply use an iframe objects to display other&#8217;s websites. Some of the many problem we usually faced when presenting our online portfolio, are:</p>
<p>1/ it&#8217;s bad to have a huge list of links - no one is going to ever click on each links; it&#8217;s better to keep track with reality and we reduced the quantity by focusing on just a few websites.<br />
2/ visual concision - no images and not a list either, but a simple drown menu which stays in the corner. you&#8217;re two click away from any content at any given time.<br />
3/ browsing efficiency - you don&#8217;t have to open in a new window, or to browse back to the page if you decided to see a bit more of the showcased websites.<br />
4/ un-obstrusiveness - you can remove the navigation at any given time to explore further in an de-clustered window.<br />
5/ the most interesting bit: you see the real thing.</p>
<p>This way still requires certainly a lot of improvements - but it is a very effective and straight to the point way to share a few things we liked to work on and it gives a good overview of our online work.<br />
For a more complete picture of all our activities, we developed a prototype following the same principle of the see through website, but we expanded the list to a 88 elements list - our beta <a href="http://electronest.com/projects.archive.php" >archive</a> for the past 4 years, which is approximatively 22 projects per year.</p>
<p><a href="http://electronest.com/projects.archive.php" ><img src="http://capacity.electronest.com/wp-content/uploads/2008/06/projects_list.jpg" alt="projects_list.jpg" /></a></p>
<p>The page is made of 2 main elements: an iframe and a navigation form. The navigation form is simply made of a select element where option&#8217;s values are giving the url of the listed elements. The javascript we are using on this page remains quite simple:</p>
<p>- in the form&#8217;s OnChange:<br />
<code><br />
document.getElementById('where_to_go_next').src = this.options[this.selectedIndex].value;<br />
</code>where &#8220;where_to_go_next&#8221; is the ID of the iframe</p>
<p>- in the link to remove the iFrame and reload the selected page:<br />
<code><br />
the_local_form = document.getElementById('author_list'); window.location=the_local_form.options[the_local_form.selectedIndex].value<br />
</code>where &#8220;author_list&#8221; is the Select ID inside the form; the value being set from the Selected option (<code>value="http://..."</code>), we can access it to define the new location of the window DOM element.</p>
<img src="http://feeds.feedburner.com/~r/electronest/capacity/~4/307952653" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://capacity.electronest.com/2008/06/08/electronest-projects-see-through-pages/feed/</wfw:commentRss>
		<feedburner:origLink>http://capacity.electronest.com/2008/06/08/electronest-projects-see-through-pages/</feedburner:origLink></item>
		<item>
		<title>php.ini locations</title>
		<link>http://feeds.feedburner.com/~r/electronest/capacity/~3/301574420/</link>
		<comments>http://capacity.electronest.com/2008/05/30/phpini-locations/#comments</comments>
		<pubDate>Sat, 31 May 2008 00:30:01 +0000</pubDate>
		<dc:creator>pierre</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[command line]]></category>

		<category><![CDATA[configuration]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[php.ini]]></category>

		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://capacity.electronest.com/2008/05/30/phpini-locations/</guid>
		<description><![CDATA[Once it is compiled, PHP can be configured using a file called &#8220;php.ini&#8221;.
If you are using PHP as a server module (mod_php in Apache) this file is read when the server is started, this implies that you need to restart the server to update the configuration. But using php via CGI or command line interface, [...]]]></description>
			<content:encoded><![CDATA[<p>Once it is compiled, PHP can be <a href="http://uk2.php.net/configuration" onclick="javascript:urchinTracker ('/outbound/article/uk2.php.net');">configured</a> using a file called &#8220;php.ini&#8221;.</p>
<p>If you are using PHP as a server module (mod_php in Apache) this file is read when the server is started, this implies that you need to restart the server to update the configuration. But using php via CGI or command line interface, it is read each time a script is executed.</p>
<p>You can have several php.ini files and it is searched in an ordered orthodox serie of locations. Thanks to this feature you can have specific configurations of PHP per level of directory trees on your server. In some systems though (we just experienced this on a Site5 shared hosting account) you can somehow bypass this list (I don&#8217;t know exaclty how you do this) and have php.ini files setting the defaults for only the folder that contains it. In other words each php.ini files can then only affect scripts that are in the same folder.</p>
<p>For example if you are using a script to upload files bigger than than <code>upload_max_filesize</code> you can reset this limit in a php.ini file but it then has to be in the same folder as your uploading script. In this situation if you are using a framework like Code Igniter or CakePHP the code that is executed when you upload a file will be scattered in many files and directories. We thought and googled hard for a cleaner solution (please comment if you know a better way!), but we ended up duplicating the php.ini file in all the application and framework core dirs so that our settings are applied correctly.</p>
<p>To do this from the command line, cd to the top dir containing the php.ini file and do something like:</p>
<pre>for i in `ls -aR | grep \: | cut -f 1 -d :`; do if [ -d $i ]; then cp php.ini $i; fi; done</pre>
<img src="http://feeds.feedburner.com/~r/electronest/capacity/~4/301574420" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://capacity.electronest.com/2008/05/30/phpini-locations/feed/</wfw:commentRss>
		<feedburner:origLink>http://capacity.electronest.com/2008/05/30/phpini-locations/</feedburner:origLink></item>
	</channel>
</rss>
