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

<channel>
	<title>YAB &#187; 2007 &#187; October</title>
	<atom:link href="http://blog.alexgirard.com/2007/10/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.alexgirard.com</link>
	<description>Yet Another Blog</description>
	<pubDate>Sat, 15 Nov 2008 01:14:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>[Ruby] Delicious gem to play with bookmarks</title>
		<link>http://blog.alexgirard.com/ruby-delicious-gem-to-play-with-bookmarks/</link>
		<comments>http://blog.alexgirard.com/ruby-delicious-gem-to-play-with-bookmarks/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 18:00:08 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

		<category><![CDATA[del.icio.us]]></category>

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

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

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

		<guid isPermaLink="false">http://blog.alexgirard.com/2007/10/31/ruby-delicious-gem-to-play-with-bookmarks/</guid>
		<description><![CDATA[One of my favorite tool is Del.icio.us, simply adding list of bookmarks to be shared with anybody, it&#8217;s easy enough to scrap a big list of HTML links to quickly make something more shareable, like Freeduino.org becoming http://del.icio.us/freeduino
So here is a quick ruby gem to play even more, just install it:

sudo gem install rdelicious

Then play [...]]]></description>
			<content:encoded><![CDATA[<p>One of my favorite tool is <a href="http://Del.icio.us">Del.icio.us</a>, simply adding list of bookmarks to be shared with anybody, it&#8217;s easy enough to scrap a big list of HTML links to quickly make something more shareable, like <a href="http://Freeduino.org">Freeduino.org</a> becoming <a href="http://del.icio.us/freeduino">http://del.icio.us/freeduino</a></p>
<p>So here is a quick ruby gem to play even more, just install it:</p>
<pre class="prettyprint">
sudo gem install rdelicious
</pre>
<p>Then play with it:</p>
<pre class="prettyprint">
require 'rubygems'
require 'rdelicious'

@delicious = Rdelicious.new("delicious_login", "delicious_password")

print "Correct login" if @delicious.is_connected?

@delicious.add("http://rdelicious.rubyforge.net/", "Rdelicious Gem")

if @delicious.url_exists?("http://rdelicious.rubyforge.net/")
	print "Url inserted into delicious"
end

@delicious.delete("http://rdelicious.rubyforge.net")

unless @delicious.url_exists?("http://rdelicious.rubyforge.net/")
	print "Url deleted from delicious"
end
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/ruby-delicious-gem-to-play-with-bookmarks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Ruby] One line to save God</title>
		<link>http://blog.alexgirard.com/ruby-one-line-to-save-god/</link>
		<comments>http://blog.alexgirard.com/ruby-one-line-to-save-god/#comments</comments>
		<pubDate>Thu, 25 Oct 2007 22:05:55 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

		<guid isPermaLink="false">http://blog.alexgirard.com/2007/10/25/ruby-one-line-to-save-god/</guid>
		<description><![CDATA[We&#8217;ve had unexpecting interruptions in our Feevy updaters last weeks, and the error (which is still strange) came from inside God, it was unable to decide if a process was still running.
If you&#8217;ve the same kind of problem, with your god logging showing &#8220;kill: 1: No such process&#8220;, then change the exists? method in /usr/local/lib/ruby/gems/1.8/gems/god-0.5.0/lib/god/system/process.rb [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve had unexpecting interruptions in our Feevy updaters last weeks, and the error (which is still strange) came from inside God, it was unable to decide if a process was still running.</p>
<p>If you&#8217;ve the same kind of problem, with your god logging showing &#8220;<em>kill: 1: No such process</em>&#8220;, then change the <strong>exists?</strong> method in <strong>/usr/local/lib/ruby/gems/1.8/gems/god-0.5.0/lib/god/system/process.rb</strong> file, gem path might not be the same on your system.</p>
<pre class="prettyprint">
# Return true if this process is running, false otherwise
def exists?
    # system("kill -0 #{@pid} &#038;> /dev/null")
    ps_int('rss') != 0
end
</pre>
<p>Here is our configuration if some people can find where this line is causing problem: Ubuntu Gutsy, Ruby 1.8.6, God 0.5</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/ruby-one-line-to-save-god/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Freeduino] Now on Del.icio.us</title>
		<link>http://blog.alexgirard.com/freeduino-now-on-delicious/</link>
		<comments>http://blog.alexgirard.com/freeduino-now-on-delicious/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 22:37:14 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

		<category><![CDATA[del.icio.us]]></category>

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

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

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

		<guid isPermaLink="false">http://blog.alexgirard.com/2007/10/14/freeduino-now-on-delicious/</guid>
		<description><![CDATA[Freeduino.org is currently the best place to fetch articles and information about Arduino project. Tonight, I&#8217;ve made a simple script to move this Creative Commons index on Del.icio.us, hoping it would become a better place to fetch last Arduino information!
Update: download the parser.rb script

Freeduino del.icio.us
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.freeduino.org/">Freeduino.org</a> is currently the best place to fetch articles and information about Arduino project. Tonight, I&#8217;ve made a simple script to move this Creative Commons <a href="http://del.icio.us/freeduino">index on Del.icio.us</a>, hoping it would become a better place to fetch last Arduino information!</p>
<p><em>Update: <a href="http://blog.alexgirard.com/wp-content/uploads/2007/10/parser.rb">download the parser.rb script</a></em></p>
<p><script type="text/javascript" src="http://del.icio.us/feeds/js/freeduino?title=Freeduino%20del.icio.us;bullet=%E2%80%A2;icon=rss;sort=alpha;name;showadd"></script><br />
<noscript><a href="http://del.icio.us/freeduino">Freeduino del.icio.us</a></noscript></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/freeduino-now-on-delicious/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Arduino] 3D LED Cube</title>
		<link>http://blog.alexgirard.com/arduino-3d-led-cube/</link>
		<comments>http://blog.alexgirard.com/arduino-3d-led-cube/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 13:28:40 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://blog.alexgirard.com/2007/10/14/arduino-3d-led-cube/</guid>
		<description><![CDATA[
After a first try with tiny space between LEDs (see last post), here is another try with enough space to build a proper cube, still following MakeZine instructions.
The fun parts were to add transistors to the board, allowing to get more power for each led level, and the programming: Persistance-Of-Vision and binary manipulation for led [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/alx/1568403869/" title="Intercambio de fotos"><img src="http://farm3.static.flickr.com/2011/1568403869_bd0edc7841.jpg" width="500" height="375" alt="3D LED cube" style="border:0px;"/></a></p>
<p>After a first try with tiny space between LEDs (<a href="http://blog.alexgirard.com/2007/10/12/arduino-playing-with-leds/">see last post</a>), here is another try with enough space to build a proper cube, still following <a href="www.makezine.com/blog/archive/2007/09/make_a_pocket_led_cube_we.html">MakeZine instructions</a>.</p>
<p>The fun parts were to add transistors to the board, allowing to get more power for each led level, and the programming: Persistance-Of-Vision and binary manipulation for led on/off switching.</p>
<p>If you need it, you can download the <a href="http://blog.alexgirard.com/wp-content/uploads/2007/10/refresh_rate.pde">arduino program related to this circuit</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/arduino-3d-led-cube/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Arduino] Playing with LEDs</title>
		<link>http://blog.alexgirard.com/arduino-playing-with-leds/</link>
		<comments>http://blog.alexgirard.com/arduino-playing-with-leds/#comments</comments>
		<pubDate>Fri, 12 Oct 2007 01:26:36 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://blog.alexgirard.com/2007/10/12/arduino-playing-with-leds/</guid>
		<description><![CDATA[ The original project for tonight was to build a 3D LED cube, and the not-so-clever idea was to compact it the size of a normal dice.
Big mistake: first it was hell to solder all the tiny intersection of led cathods, then there is no way to pile up the array of leds if you [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm3.static.flickr.com/2261/1546930535_972654d026_m.jpg" width="180" height="240" alt="Arduino led-matrix" style="float:left;border:0px;padding:5px" /> The original project for tonight was to build a 3D LED cube, and the not-so-clever idea was to compact it the size of a normal dice.</p>
<p>Big mistake: first it was hell to solder all the tiny intersection of led cathods, then there is no way to pile up the array of leds if you don&#8217;t let space between them&#8230; maybe there&#8217;s a solution to that, and I&#8217;ve not find it yet.</p>
<p>Anyway, it was ready to connect to Arduino board, and to try to program this new led-matrix. Easy and fun, only problem is debugging messages while verifying source code on Arduino software that doesn&#8217;t help much, I&#8217;ll have to learn more about its syntax limitations.</p>
<p>Here is the result, 5 days before returning to Toulouse to visit Claire:</p>
<p><object width="425" height="353"><param name="movie" value="http://www.youtube.com/v/NtbsXBtksX0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/NtbsXBtksX0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="353"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/arduino-playing-with-leds/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
