<?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/"
	>

<channel>
	<title>loopback</title>
	<atom:link href="http://pierrelucbacon.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://pierrelucbacon.com</link>
	<description></description>
	<pubDate>Sun, 20 Dec 2009 02:19:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Latex your instant messaging</title>
		<link>http://pierrelucbacon.com/2009/12/16/latex-your-instant-messaging/</link>
		<comments>http://pierrelucbacon.com/2009/12/16/latex-your-instant-messaging/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 18:12:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pierrelucbacon.com/?p=267</guid>
		<description><![CDATA[Probably one of the most useful thing that I&#8217;ve discovered this month:
http://sourceforge.net/projects/pidgin-latex/
Pidgin-latex lets you write Latex code normally in your chat conversation and renders the result in real time.
For both parties to be able to see the result, they will have to install this plugin or any other one that is handling the mime type [...]]]></description>
			<content:encoded><![CDATA[<p>Probably one of the most useful thing that I&#8217;ve discovered this month:</p>
<p><a title="Pidgin Latex" href="http://sourceforge.net/projects/pidgin-latex/  ">http://sourceforge.net/projects/pidgin-latex/</a></p>
<p>Pidgin-latex lets you write Latex code normally in your chat conversation and renders the result in real time.</p>
<p>For both parties to be able to see the result, they will have to install this plugin or any other one that is handling the mime type latex.</p>
<p>To switch to math mode, it suffices to enclose the content between &#8220;$$&#8221; symbols.</p>
<p><img class="size-full wp-image-268 alignnone" title="latex-pidgin" src="http://pierrelucbacon.com/wp-content/uploads/2009/12/latex-pidgin.png" alt="latex-pidgin" width="333" height="354" /></p>
<p>The install process is straightforward. No trick needed. Just follow the one line instruction from the README.</p>
]]></content:encoded>
			<wfw:commentRss>http://pierrelucbacon.com/2009/12/16/latex-your-instant-messaging/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tilda: The ubiquitous drop-down terminal</title>
		<link>http://pierrelucbacon.com/2009/10/24/tilda-the-ubiquitous-drop-down-terminal/</link>
		<comments>http://pierrelucbacon.com/2009/10/24/tilda-the-ubiquitous-drop-down-terminal/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 06:19:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pierrelucbacon.com/?p=265</guid>
		<description><![CDATA[I was commenting on Guake in http://pierrelucbacon.com/2008/09/19/3-useful-applications/ but found that it was slightly buggy and polluting the tray in the top panel under gnome with its icon.
A few weeks ago, I stumbled upon Tilda which turned out to be at least equally, and so far, much more usable and interesting to use than Guake. My point [...]]]></description>
			<content:encoded><![CDATA[<p>I was commenting on Guake in <a href="http://">http://pierrelucbacon.com/2008/09/19/3-useful-applications/</a> but found that it was slightly buggy and polluting the tray in the top panel under gnome with its icon.</p>
<p>A few weeks ago, I stumbled upon <a href="http://tilda.sourceforge.net/wiki/index.php/Main_Page">Tilda</a> which turned out to be at least equally, and so far, much more usable and interesting to use than Guake. My point behind this is that I loved the fact that the GUI is kept just as clean as I like it: a black border-less window.</p>
<p>Currently on my system, Tilda is launched at startup (System-&gt;Preferences-&gt;Startup Applications) and is invoked with SUPER-A on the keyboard.</p>
<p>It&#8217;s good to have an unobtrusive terminal at the tip of our fingers anytime you need it.</p>
<p>Here is a little screencast to give you  a sense of how it can interact on your desktop:</p>
<p><object width="425" height="350" data="http://www.youtube.com/v/6XDRU6nxP1M" type="application/x-shockwave-flash"><param name="src" value="http://www.youtube.com/v/6XDRU6nxP1M" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://pierrelucbacon.com/2009/10/24/tilda-the-ubiquitous-drop-down-terminal/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PGF and Expected Value of the Poisson Distribution</title>
		<link>http://pierrelucbacon.com/2009/05/24/pgf-and-expected-value-of-the-poisson-distribution/</link>
		<comments>http://pierrelucbacon.com/2009/05/24/pgf-and-expected-value-of-the-poisson-distribution/#comments</comments>
		<pubDate>Sun, 24 May 2009 20:56:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pierrelucbacon.com/?p=231</guid>
		<description><![CDATA[Probability Generating Function for the Poisson Distribution
Let p(y) be the probability generating function for Y.
Expected Value of the Poisson Distribution
]]></description>
			<content:encoded><![CDATA[<h3>Probability Generating Function for the Poisson Distribution</h3>
<p>Let p(y) be the probability generating function for Y.</p>
<img src='http://s.wordpress.com/latex.php?latex=%20%5Cbegin%7Baligned%7D%20p_y%28t%29%20%3D%20E%28t%5Ey%29%20%26%3D%20%7B%5Csum_%7By%3D0%7D%5E%7B%5Cinfty%7D%7D%20t%5Ey%20p%28y%29%20%5C%5C%20%26%3D%20%5Csum_%7By%3D0%7D%5E%7B%5Cinfty%7D%20t%5E%7By%7D%20%5Clambda%5E%7By%7De%5E%7B-%5Clambda%7D%20%5C%5C%20%26%3D%20e%5E%7B-%5Clambda%7D%5Csum_%7By%3D0%7D%5E%7B%5Cinfty%7D%20%7B%7Bt%5E%7By%7D%5Clambda%5E%7By%7D%7D%20%5Cover%20%7By%21%7D%7D%20%5C%5C%20%26%3D%20e%5E%7B-%5Clambda%7D%5Csum_%7By%3D0%7D%5E%7B%5Cinfty%7D%20%7B%28t%5Clambda%29%5E%7By%7D%20%5Cover%20%7By%21%7D%7D%20%7E%7E%7E%7E%5Cmbox%7BPower%20Series%7D%5C%5C%26%3D%20e%5E%7B-%5Clambda%7De%5E%7Bt%5Clambda%7D%20%5C%5C%26%3D%20e%5E%7Bt%5Clambda%20-%20%5Clambda%7D%20%5C%5C%26%3D%20e%5E%7B%5Clambda%28t-1%29%7D%5Cend%7Baligned%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt=' \begin{aligned} p_y(t) = E(t^y) &amp;= {\sum_{y=0}^{\infty}} t^y p(y) \\ &amp;= \sum_{y=0}^{\infty} t^{y} \lambda^{y}e^{-\lambda} \\ &amp;= e^{-\lambda}\sum_{y=0}^{\infty} {{t^{y}\lambda^{y}} \over {y!}} \\ &amp;= e^{-\lambda}\sum_{y=0}^{\infty} {(t\lambda)^{y} \over {y!}} ~~~~\mbox{Power Series}\\&amp;= e^{-\lambda}e^{t\lambda} \\&amp;= e^{t\lambda - \lambda} \\&amp;= e^{\lambda(t-1)}\end{aligned}' title=' \begin{aligned} p_y(t) = E(t^y) &amp;= {\sum_{y=0}^{\infty}} t^y p(y) \\ &amp;= \sum_{y=0}^{\infty} t^{y} \lambda^{y}e^{-\lambda} \\ &amp;= e^{-\lambda}\sum_{y=0}^{\infty} {{t^{y}\lambda^{y}} \over {y!}} \\ &amp;= e^{-\lambda}\sum_{y=0}^{\infty} {(t\lambda)^{y} \over {y!}} ~~~~\mbox{Power Series}\\&amp;= e^{-\lambda}e^{t\lambda} \\&amp;= e^{t\lambda - \lambda} \\&amp;= e^{\lambda(t-1)}\end{aligned}' class='latex' />
<h3>Expected Value of the Poisson Distribution</h3>
<img src='http://s.wordpress.com/latex.php?latex=%20%5Cbegin%7Baligned%7DE%28Y%29%20%3D%20%5Cmu_%7B%5B1%5D%7D%20%26%3D%20%7B%5Cfrac%7Bd%28P_%7By%7D%28t%29%7D%7Bdt%7D%7D%5Cleft.%7B%5C%21%5C%21%5Cfrac%7B%7D%7B%7D%7D%5Cright%7C_%7Bt%3D1%7D%5C%5C%26%3D%20%7B%5Cfrac%7Bd%28e%5E%7B%5Clambda%28t-1%29%7D%29%7D%7Bdt%7D%7D%5Cleft.%7B%5C%21%5C%21%5Cfrac%7B%7D%7B%7D%7D%5Cright%7C_%7Bt%3D1%7D%5C%5C%26%3D%20%7Be%5E%7B%5Clambda%28t-1%29%7D%20%5Ccdot%20%5Clambda%7D%5Cleft.%7B%5C%21%5C%21%5Cfrac%7B%7D%7B%7D%7D%5Cright%7C_%7Bt%3D1%7D%5C%5C%26%3D%20%5Clambda%5Cend%7Baligned%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt=' \begin{aligned}E(Y) = \mu_{[1]} &amp;= {\frac{d(P_{y}(t)}{dt}}\left.{\!\!\frac{}{}}\right|_{t=1}\\&amp;= {\frac{d(e^{\lambda(t-1)})}{dt}}\left.{\!\!\frac{}{}}\right|_{t=1}\\&amp;= {e^{\lambda(t-1)} \cdot \lambda}\left.{\!\!\frac{}{}}\right|_{t=1}\\&amp;= \lambda\end{aligned}' title=' \begin{aligned}E(Y) = \mu_{[1]} &amp;= {\frac{d(P_{y}(t)}{dt}}\left.{\!\!\frac{}{}}\right|_{t=1}\\&amp;= {\frac{d(e^{\lambda(t-1)})}{dt}}\left.{\!\!\frac{}{}}\right|_{t=1}\\&amp;= {e^{\lambda(t-1)} \cdot \lambda}\left.{\!\!\frac{}{}}\right|_{t=1}\\&amp;= \lambda\end{aligned}' class='latex' />
]]></content:encoded>
			<wfw:commentRss>http://pierrelucbacon.com/2009/05/24/pgf-and-expected-value-of-the-poisson-distribution/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Merging pdf files together</title>
		<link>http://pierrelucbacon.com/2009/04/22/merging-pdf-files-together/</link>
		<comments>http://pierrelucbacon.com/2009/04/22/merging-pdf-files-together/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 17:20:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pierrelucbacon.com/?p=229</guid>
		<description><![CDATA[From the gs package in Ubuntu:
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=outputMerged.pdf file1.pdf file2.pdf
jPdf Tweak, the &#8220;Swiss Army Knife for PDF files&#8221;, is also a great tool and run out of the box with Java but it might be faster just using the above command rather than browsing through jpdftweak&#8217;s GUI.
]]></description>
			<content:encoded><![CDATA[<p>From the gs package in Ubuntu:</p>
<p>gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=outputMerged.pdf file1.pdf file2.pdf</p>
<p><a title="Jpdf Tweak" href="http://jpdftweak.sourceforge.net/">jPdf Tweak</a>, the &#8220;Swiss Army Knife for PDF files&#8221;, is also a great tool and run out of the box with Java but it might be faster just using the above command rather than browsing through jpdftweak&#8217;s GUI.</p>
]]></content:encoded>
			<wfw:commentRss>http://pierrelucbacon.com/2009/04/22/merging-pdf-files-together/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing a LaTeX package under Ubuntu</title>
		<link>http://pierrelucbacon.com/2009/04/20/installing-a-latex-package-under-ubuntu/</link>
		<comments>http://pierrelucbacon.com/2009/04/20/installing-a-latex-package-under-ubuntu/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 21:06:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pierrelucbacon.com/?p=226</guid>
		<description><![CDATA[In two easy steps:

Download, extract and create a directory under /usr/share/texmf-texlive/tex/latex/ if necessary. Copy the entire directory, or the single .sty file to that location. (You need to be root)
Run &#8220;sudo mktexlsr&#8220;

From the man pages:
mktexlsr  is  used  to generate the ls-R databases used by the kpathsea library.  Kpathsea: A library for path [...]]]></description>
			<content:encoded><![CDATA[<p>In two easy steps:</p>
<ol>
<li>Download, extract and create a directory under <strong>/usr/share/texmf-texlive/tex/latex/</strong> if necessary. Copy the entire directory, or the single .sty file to that location. (You need to be root)</li>
<li>Run &#8220;<strong>sudo mktexlsr</strong>&#8220;</li>
</ol>
<p>From the man pages:</p>
<blockquote><p>mktexlsr  is  used  to generate the ls-R databases used by the kpathsea library.  Kpathsea: A library for path searching.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://pierrelucbacon.com/2009/04/20/installing-a-latex-package-under-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>RDI en direct sous Linux</title>
		<link>http://pierrelucbacon.com/2009/01/29/rdi-en-direct-sous-linux/</link>
		<comments>http://pierrelucbacon.com/2009/01/29/rdi-en-direct-sous-linux/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 02:05:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[francais]]></category>

		<category><![CDATA[gossage]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://pierrelucbacon.com/?p=167</guid>
		<description><![CDATA[Depuis quelques temps, j&#8217;arrive à écouter sans problème le flux video de Radio-Canada sous Ubuntu Linux. Il en va pas de même avec tous les vidéos sur le site cependant.
Je ne sais trop comment je suis abouti à la bonne configuration. Dans tout les cas, il faut se procurer les codecs appropriés dans les bons [...]]]></description>
			<content:encoded><![CDATA[<p>Depuis quelques temps, j&#8217;arrive à écouter sans problème le flux video de Radio-Canada sous Ubuntu Linux. Il en va pas de même avec tous les vidéos sur le site cependant.</p>
<p>Je ne sais trop comment je suis abouti à la bonne configuration. Dans tout les cas, il faut se procurer les codecs appropriés dans les bons canaux d&#8217;abord (restricted), et ensuite installer Mplayer et Mplayer-plugin.</p>
<p>Ensuite, on peut lancer Mplayer directement en ligne de commande, ou en créant un &#8220;lanceur&#8221; sur l&#8217;espace de bureau de Gnome. C&#8217;est ce que j&#8217;ai fini par faire puisque j&#8217;oubliais toujours l&#8217;adresse. Alors, la voilà, justement:</p>
<p><code>mplayer -playlist http://www.radio-canada.ca/util/endirect/rdidirect.asx</code></p>
<p>Un logo svg de Radio-Canada peut être trouvé ici <a href="http://upload.wikimedia.org/wikipedia/fr/thumb/9/92/Logo_Television_de_Radio-Canada.svg/617px-Logo_Television_de_Radio-Canada.svg.png" rel="shadowbox[post-167];player=img;">http://upload.wikimedia.org/wikipedia/fr/thumb/9/92/Logo_Television_de_Radio-Canada.svg/617px-Logo_Television_de_Radio-Canada.svg.png</a></p>
<p>pour servir d&#8217;icone au lanceur.</p>
<div id="attachment_168" class="wp-caption aligncenter" style="width: 580px"><a href="http://pierrelucbacon.com/wp-content/uploads/2009/01/rdi3.png" rel="shadowbox[post-167];player=img;"><img class="size-medium wp-image-168" title="RDI en direct avec Mplayer" src="http://pierrelucbacon.com/wp-content/uploads/2009/01/rdi3-950x593.png" alt="RDI en direct avec Mplayer" width="570" height="356" /></a><p class="wp-caption-text">RDI en direct avec Mplayer</p></div>
]]></content:encoded>
			<wfw:commentRss>http://pierrelucbacon.com/2009/01/29/rdi-en-direct-sous-linux/feed/</wfw:commentRss>
<enclosure url="http://www.radio-canada.ca/util/endirect/rdidirect.asx" length="528" type="video/x-ms-asf" />
		</item>
		<item>
		<title>Running Kamikaze with WRT54G under Client Mode</title>
		<link>http://pierrelucbacon.com/2009/01/15/running-kamikaze-with-wrt54g-under-client-mode/</link>
		<comments>http://pierrelucbacon.com/2009/01/15/running-kamikaze-with-wrt54g-under-client-mode/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 05:47:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[hacking]]></category>

		<category><![CDATA[hacking wifi opentwrt]]></category>

		<category><![CDATA[wifi]]></category>

		<category><![CDATA[wrt54g]]></category>

		<guid isPermaLink="false">http://pierrelucbacon.com/?p=157</guid>
		<description><![CDATA[Having the internet cable modem and the router in one place in the apartment, I needed a way to connect all my gadgets in my room/office without having to run a dozen of ethernet cables in the hallway. More specifically, I wanted to have my IP phone close to the bed and not to have [...]]]></description>
			<content:encoded><![CDATA[<p>Having the internet cable modem and the router in one place in the apartment, I needed a way to connect all my gadgets in my room/office without having to run a dozen of ethernet cables in the hallway. More specifically, I wanted to have my IP phone close to the bed and not to have to run a wire just for that purpose. The main router is an old TEW-432BRP from Trendnet and I had a also an unused WRT54G running Openwrt. Here is the setup I have at the moment and the configuration follows bellow:</p>
<div id="attachment_159" class="wp-caption aligncenter" style="width: 684px"><a href="http://pierrelucbacon.com/wp-content/uploads/2009/01/networkappartment.png" rel="shadowbox[post-157];player=img;"><img class="size-medium wp-image-159" title="Network Overview" src="http://pierrelucbacon.com/wp-content/uploads/2009/01/networkappartment.png" alt="Network Overview" width="674" height="382" /></a><p class="wp-caption-text">Network Overview</p></div>
<p><strong>Open Network </strong></p>
<p>/etc/config/wireless</p>
<pre>config wifi-device  wl0
        option type     broadcom
        option channel  5
        option disabled '0'

config wifi-iface
        option device   wl0
        option network  lan
        option mode   "sta"
        option ssid openNetwork
        option network "lan"</pre>
<p><strong>Wep Encryption </strong><br />
/etc/config/wireless</p>
<pre>config wifi-device  wl0
        option type     broadcom
        option channel  5
        option disabled '0'

config wifi-iface
        option device   wl0
        option network  lan
        option mode   "sta"
        option ssid wepNetwork
        option network "lan"
        option encryption wep
        option key1 'mywepkeythatyouwontguess'</pre>
<p>My intent was at first to setup a WPA2 bridge, but I finally gave up because neither nas or wpa_supplicant (xsupplicant as well) did the job. nas, the proprietary tool for setting up the broadcom chipset, is also a nightmare to debug with its cryptic error messages (or should I say its absence of any error message ?). The configuration file that is shown above is pretty much self-explanatory. Using Wep 128 is a pretty good compromise on security that I would have better avoided, but I think it worth it considering that MAC filtering can be done and that I always have access to a VPN server.</p>
<p>An important thing that you should also not forget finally is to disable the DHCP server on the OpenWrt router because it might conflict with the other router since we are working in a bridged environment.</p>
]]></content:encoded>
			<wfw:commentRss>http://pierrelucbacon.com/2009/01/15/running-kamikaze-with-wrt54g-under-client-mode/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing Spim/Xspim</title>
		<link>http://pierrelucbacon.com/2009/01/05/installing-spimxspim/</link>
		<comments>http://pierrelucbacon.com/2009/01/05/installing-spimxspim/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 03:17:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[assembly]]></category>

		<category><![CDATA[computer science]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://pierrelucbacon.com/?p=154</guid>
		<description><![CDATA[Spim is A MIPS32 Simulator freely available for Linux, Mac and Windows. The process for installing the software from source is not as nice as we would expect it to be.
Download source code from:
http://www.cs.wisc.edu/~larus/SPIM/spim.tar.gz
You will probably need to get Bison and Flex:

sudo apt-get install bison flex

Don&#8217;t forget:

sudo apt-get install libxaw7-dev

Otherwise you&#8217;ll get &#8220;X11/Xaw/Cardinals.h: No such [...]]]></description>
			<content:encoded><![CDATA[<p>Spim is A MIPS32 Simulator freely available for Linux, Mac and Windows. The process for installing the software from source is not as nice as we would expect it to be.<br />
Download source code from:<br />
http://www.cs.wisc.edu/~larus/SPIM/spim.tar.gz</p>
<p>You will probably need to get Bison and Flex:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">bison</span> <span style="color: #c20cb9; font-weight: bold;">flex</span></pre></div></div>

<p>Don&#8217;t forget:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libxaw7-dev</pre></div></div>

<p>Otherwise you&#8217;ll get &#8220;X11/Xaw/Cardinals.h: No such file or directory&#8221;</p>
<p>Build and install xspim first:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> xspim; <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Then spim:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ..<span style="color: #000000; font-weight: bold;">/</span>spim; <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>If you install spim before xspim, the latter will fail with &#8220;install: accessing `/usr/lib/spim/exceptions.s&#8217;: Not a directory&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://pierrelucbacon.com/2009/01/05/installing-spimxspim/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Check start up date under Linux</title>
		<link>http://pierrelucbacon.com/2008/12/19/uptime/</link>
		<comments>http://pierrelucbacon.com/2008/12/19/uptime/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 06:49:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://pierrelucbacon.com/?p=146</guid>
		<description><![CDATA[Obviously &#8220;uptime&#8221; provides that information but only gives the number of days. On one of my server, it shows:

01:39:53 up 445 days, 11:15,  2 users,  load average: 0.00, 0.00, 0.00

But when did that happen ? I don&#8217;t know any option which can compute the actual date using uptime.
I realized the other day that [...]]]></description>
			<content:encoded><![CDATA[<p>Obviously &#8220;uptime&#8221; provides that information but only gives the number of days. On one of my server, it shows:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">01:<span style="color: #000000;">39</span>:<span style="color: #000000;">53</span> up <span style="color: #000000;">445</span> days, <span style="color: #000000;">11</span>:<span style="color: #000000;">15</span>,  <span style="color: #000000;">2</span> <span style="color: #c20cb9; font-weight: bold;">users</span>,  load average: <span style="color: #000000;">0.00</span>, <span style="color: #000000;">0.00</span>, <span style="color: #000000;">0.00</span></pre></div></div>

<p>But when did that happen ? I don&#8217;t know any option which can compute the actual date using uptime.</p>
<p>I realized the other day that I can use &#8220;ps&#8221; to display the same information just by checking start up time for the &#8220;init&#8221; process.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ps</span> <span style="color: #660033;">-o</span> lstart <span style="color: #660033;">-C</span> init <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-n</span> <span style="color: #000000;">1</span></pre></div></div>

<p>do the trick and displays:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Sun Sep <span style="color: #000000;">30</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">24</span>:<span style="color: #000000;">22</span> <span style="color: #000000;">2007</span></pre></div></div>

<p>Whoa ! That&#8217;s a long time ago &#8230;</p>
<p>Use &#8220;alias&#8221; if you don&#8217;t want remember that:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">uptime2</span>=<span style="color: #ff0000;">'ps -o lstart -C init | tail -n 1'</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://pierrelucbacon.com/2008/12/19/uptime/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fun with isograms</title>
		<link>http://pierrelucbacon.com/2008/12/06/fun-with-isograms/</link>
		<comments>http://pierrelucbacon.com/2008/12/06/fun-with-isograms/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 04:39:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[mathematics combinatorics]]></category>

		<guid isPermaLink="false">http://pierrelucbacon.com/?p=137</guid>
		<description><![CDATA[An isogram is a meaningful string, generally  a word or a phrase, made of distinct letters. When playing with combinatorics, it&#8217;s fun to learn about the existence of such words. Let&#8217;s take the word COMBINATORICS, then there are 13!/(2!2!2!) ways to form a new 13 letters words from its letters. In fact, we must divide [...]]]></description>
			<content:encoded><![CDATA[<p>An isogram is a meaningful string, generally  a word or a phrase, made of distinct letters. When playing with combinatorics, it&#8217;s fun to learn about the existence of such words. Let&#8217;s take the word COMBINATORICS, then there are 13!/(2!2!2!) ways to form a new 13 letters words from its letters. In fact, we must divide 13! by those letters which are repeated so that we don&#8217;t overcount. In this example, &#8220;o&#8221;, &#8220;c&#8221; and &#8220;i&#8221; appear 2 times each.</p>
<p>One of the longest english isogram is UNCOPYRIGHTABLES. With 16 letters, and no repeated letters, the number of possible arrangements amounts to 16!. Pretty big to picture up&#8230;</p>
<p><a title="Isogram" href="http://en.wikipedia.org/wiki/Isogram">http://en.wikipedia.org/wiki/Isogram</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pierrelucbacon.com/2008/12/06/fun-with-isograms/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
