<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>distriwatch.de</title>
	<atom:link href="http://distriwatch.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://distriwatch.de</link>
	<description>Web Development - Hannover, Germany</description>
	<lastBuildDate>Sat, 21 May 2011 14:02:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Ruby script for persistent irb history</title>
		<link>http://distriwatch.de/2011/05/929/</link>
		<comments>http://distriwatch.de/2011/05/929/#comments</comments>
		<pubDate>Fri, 20 May 2011 15:48:34 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC OS X]]></category>
		<category><![CDATA[Ruby (on Rails)]]></category>

		<guid isPermaLink="false">http://distriwatch.de/?p=929</guid>
		<description><![CDATA[IRB (Interactive Ruby Shell) is one of those tools that a hacker learning Ruby hopefully discovers right away. It’s an extremely useful way to learn the language to get immediate feedback. Unfortunately there is no persistent history and TAB completion. So put this tiny script below in your .irbrc file located in your home directory [...]]]></description>
			<content:encoded><![CDATA[<p>IRB (Interactive Ruby Shell) is one of those tools that a hacker learning Ruby hopefully discovers right away. It’s an extremely useful way to learn the language to get immediate feedback. Unfortunately there is no persistent history and TAB completion. So put this tiny script below in your .irbrc file located in your home directory  (~/.irbrc). From now on you have a great persistent command history and TAB completion, like in the bash.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:700px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">require 'irb/completion'<br />
ARGV.concat [&quot;--readline&quot;, &quot;--prompt-mode&quot;, &quot;simple&quot;]<br />
module Readline<br />
&nbsp; module History<br />
&nbsp; &nbsp; LOG = &quot;#{ENV['HOME']}/.irb-history&quot;<br />
<br />
&nbsp; &nbsp; def self.write_log(line)<br />
&nbsp; &nbsp; &nbsp; File.open(LOG, 'ab') { |f| f &lt;&lt; &quot;#{line}\n&quot; }<br />
&nbsp; &nbsp; end<br />
<br />
&nbsp; &nbsp; def self.start_session_log<br />
&nbsp; &nbsp; &nbsp; write_log(&quot;\n# session start: #{Time.now}\n\n&quot;)<br />
&nbsp; &nbsp; &nbsp; at_exit { write_log(&quot;\n# session stop: #{Time.now}\n&quot;) }<br />
&nbsp; &nbsp; end<br />
&nbsp; end<br />
<br />
&nbsp; alias :old_readline :readline<br />
<br />
&nbsp; def readline(*args)<br />
&nbsp; &nbsp; ln = old_readline(*args)<br />
&nbsp; &nbsp; begin<br />
&nbsp; &nbsp; &nbsp; History.write_log(ln)<br />
&nbsp; &nbsp; rescue<br />
&nbsp; &nbsp; end<br />
&nbsp; &nbsp; ln<br />
&nbsp; end<br />
end<br />
<br />
Readline::History.start_session_log<br />
<br />
require 'irb/ext/save-history'<br />
IRB.conf[:SAVE_HISTORY] = 100<br />
IRB.conf[:HISTORY_FILE] = &quot;#{ENV['HOME']}/.irb-save-history&quot;<br />
IRB.conf[:PROMPT_MODE] = :SIMPLE</div></div>
]]></content:encoded>
			<wfw:commentRss>http://distriwatch.de/2011/05/929/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nice online XPath parser</title>
		<link>http://distriwatch.de/2011/05/nice-online-xpath-parser/</link>
		<comments>http://distriwatch.de/2011/05/nice-online-xpath-parser/#comments</comments>
		<pubDate>Wed, 11 May 2011 09:57:42 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ruby (on Rails)]]></category>

		<guid isPermaLink="false">http://distriwatch.de/?p=760</guid>
		<description><![CDATA[Checkout: http://www.futurelab.ch/xmlkurs/xpath.de.html]]></description>
			<content:encoded><![CDATA[<p>Checkout: <a href="http://www.futurelab.ch/xmlkurs/xpath.de.html">http://www.futurelab.ch/xmlkurs/xpath.de.html</a><br />
<img class="aligncenter size-full wp-image-761" title="Bildschirmfoto" src="http://distriwatch.de/wp-content/uploads/2011/05/Bildschirmfoto.png" alt="" width="382" height="455" /><br />
<img class="aligncenter size-full wp-image-762" title="Bildschirmfoto-1" src="http://distriwatch.de/wp-content/uploads/2011/05/Bildschirmfoto-1.png" alt="" width="390" height="229" /></p>
]]></content:encoded>
			<wfw:commentRss>http://distriwatch.de/2011/05/nice-online-xpath-parser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Issue: brew install mysql on Snow Leopard &#8220;ERROR! Manager of pid-file quit without updating file.&#8221;</title>
		<link>http://distriwatch.de/2011/03/issue-brew-install-mysql-on-snow-leopard-error-manager-of-pid-file-quit-without-updating-file/</link>
		<comments>http://distriwatch.de/2011/03/issue-brew-install-mysql-on-snow-leopard-error-manager-of-pid-file-quit-without-updating-file/#comments</comments>
		<pubDate>Sun, 13 Mar 2011 16:13:54 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[MAC OS X]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://distriwatch.de/?p=625</guid>
		<description><![CDATA[To install MySQL Server on Snow Leopard some manual work is necessary. After upgrading to Mac OS 10.6.5, I had some errors. I was stumped, until I realized that Apple’s update had changed the write permissions on /usr/local I ran: &#160;chmod g+w /usr/local next: sudo chmod -R 777 /usr/local/var/mysql If you do not do this, [...]]]></description>
			<content:encoded><![CDATA[<p>To install MySQL Server on Snow Leopard some manual work is necessary. After upgrading to Mac OS 10.6.5, I had some errors. I was stumped, until I realized that Apple’s update had changed the write permissions on /usr/local I ran:<span id="more-625"></span></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;chmod g+w /usr/local</div></div>
<p>next:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo chmod -R 777 /usr/local/var/mysql</div></div>
<p>If you do not do this, the server does not give your user permission to write to the pid file and it does not start.</p>
<p>Now run:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">brew install mysql</div></div>
<p>Install sample database:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mysql_install_db</div></div>
<p>That&#8217;s it ;-)</p>
]]></content:encoded>
			<wfw:commentRss>http://distriwatch.de/2011/03/issue-brew-install-mysql-on-snow-leopard-error-manager-of-pid-file-quit-without-updating-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Chromium Browser under  Mac OS X (no Google Chrome browser)</title>
		<link>http://distriwatch.de/2011/03/how-to-install-chromium-browser-under-mac-os-x-no-google-chrome-browser/</link>
		<comments>http://distriwatch.de/2011/03/how-to-install-chromium-browser-under-mac-os-x-no-google-chrome-browser/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 18:38:25 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://distriwatch.de/?p=621</guid>
		<description><![CDATA[Everybody knows Google Chrome. It&#8217;s an elegant and fast browser. But I hope anyone is not using Chrome because of privacy issues. Luckily the core application is Open-Source named &#8220;Chromium Browser&#8221;. It looks the same and is free of Google crap. Never the less there is no binary package or DMG-Image. So you normally need to [...]]]></description>
			<content:encoded><![CDATA[<p>Everybody knows Google Chrome. It&#8217;s an elegant and fast browser. But I hope anyone is not using Chrome because of privacy issues. Luckily the core application is Open-Source named &#8220;Chromium Browser&#8221;.</p>
<p>It looks the same and is free of Google crap. Never the less there is no binary package or DMG-Image. So you normally need to compile it yourself.</p>
<p>For the Macies out there just have a look at Chromatic. It&#8217;s a GUI installer. Have a look at <a rel="nofollow" href="http://mrgeckosmedia.com/applications/info/Chromatic">http://mrgeckosmedia.com/applications/info/Chromatic</a></p>
]]></content:encoded>
			<wfw:commentRss>http://distriwatch.de/2011/03/how-to-install-chromium-browser-under-mac-os-x-no-google-chrome-browser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Refactoring a Rails App with metric-fu</title>
		<link>http://distriwatch.de/2011/03/refactoring-a-rails-app-with-metric-fu/</link>
		<comments>http://distriwatch.de/2011/03/refactoring-a-rails-app-with-metric-fu/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 20:05:29 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Ruby (on Rails)]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://distriwatch.de/?p=601</guid>
		<description><![CDATA[Jeah, everybody talks about code refactoring but who really makes this annoying job? But the practice of making the working code even better and more manageable through better design is a really important step. It is one core method in test-driven and behavior-driven development. The Swiss army knife of Rails refactoring is in my opinion [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://distriwatch.de/wp-content/uploads/2011/03/code.png"><img class="alignleft size-full wp-image-602" style="margin: 4px;" title="code" src="http://distriwatch.de/wp-content/uploads/2011/03/code.png" alt="" width="63" height="63" /></a>Jeah, everybody talks about code refactoring but who really makes this annoying job?<br />
But the practice of making the working code even better and more manageable through better design is a really important step. It is one core method in test-driven and behavior-driven development. <span id="more-601"></span></p>
<p>The Swiss army knife of Rails refactoring is in my opinion &#8220;metric_fu&#8221; It combines several independent gems:</p>
<ul>
<li><a href="http://saikuro.rubyforge.org/">Saikuro</a>(cyclomatic complexity analyzer),</li>
<li><a href="http://ruby.sadi.st/Flog.html">Flog</a>(Flog reports the most tortured code in an easy to read painreport),</li>
<li><a href="http://ruby.sadi.st/Flay.html">Flay</a>(Flay analyzes code for structural similarities),</li>
<li><a href="http://eigenclass.org/hiki.rb?rcov">Rcov</a>(a code coverage tool),</li>
<li><a href="http://github.com/kevinrutherford/reek">Reek</a>(finding code smells),</li>
<li><a href="http://github.com/martinjandrews/roodi">Roodi</a>(Ruby Object Oriented Design Inferometer),</li>
<li><a href="http://github.com/danmayer/churn">Churn</a>(give the number of times a file, class, or method is changing),</li>
<li><a href="http://rubygems.org/gems/rails_best_practices">RailsBestPractices</a>(rails_best_practices is a code metric tool to check the quality of rails codes.),</li>
<li><a href="http://subversion.tigris.org/">Subversion</a>,</li>
<li><a href="http://git.or.cz/">Git</a>,</li>
<li>and <a href="http://www.rubyonrails.org/">Rails</a> built-in stats task to create a series of reports.</li>
</ul>
<p>By the way it comes along with a nice HTML report and nice generated graphics:<br />
<img class="aligncenter" title="reeek grafik" src="http://metric-fu.rubyforge.org/reek.gif" alt="" width="700" /></p>
<p>Take a look at the metric-fu Website <a href="http://metric-fu.rubyforge.org/" target="_blank">http://metric-fu.rubyforge.org/</a></p>
<p>Are you using Hudson? Just try the metric-fu hudson plugin: <a href="http://blog.josephwilk.net/ruby/ruby-metric-fu-hudson-plugin.html" target="_blank">http://blog.josephwilk.net/ruby/ruby-metric-fu-hudson-plugin.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://distriwatch.de/2011/03/refactoring-a-rails-app-with-metric-fu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CeBIT Blogger-Tour 2011</title>
		<link>http://distriwatch.de/2011/03/cebit-blogger-tour-2011/</link>
		<comments>http://distriwatch.de/2011/03/cebit-blogger-tour-2011/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 20:55:04 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[IT]]></category>

		<guid isPermaLink="false">http://distriwatch.de/?p=590</guid>
		<description><![CDATA[This year the CeBIT Blogger-Tour was organized for the first time by the Deutsche Messe AG in cooperation with the t3n-magazine. Here are some visual impressions:]]></description>
			<content:encoded><![CDATA[<p>This year the CeBIT Blogger-Tour was organized for the first time by the Deutsche Messe AG in cooperation with the <a href="http://t3n.de/news/">t3n-magazine</a>. Here are some visual impressions:<br />
picasaView plugin: there are no albums available for this user in picasaweb.</p>
]]></content:encoded>
			<wfw:commentRss>http://distriwatch.de/2011/03/cebit-blogger-tour-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoogleVisualr a Ruby on Rails Plugin For Google Visualization API</title>
		<link>http://distriwatch.de/2010/12/googlevisualr-a-ruby-on-rails-plugin-for-google-visualization-api/</link>
		<comments>http://distriwatch.de/2010/12/googlevisualr-a-ruby-on-rails-plugin-for-google-visualization-api/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 12:13:40 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Ruby (on Rails)]]></category>

		<guid isPermaLink="false">http://distriwatch.de/?p=551</guid>
		<description><![CDATA[The Google Visualization API enables you to create interactive JavaScript-Charts and graphs easily. Winston Teo Yong Wei (the Developer of wego.com) created GoogleVisualr (see at GitHub) This Ruby Plugin, is a wrapper around the Google Visualization API and allows you to create the same visualizations with just pure Ruby. You don’t have to write any [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://distriwatch.de/wp-content/uploads/2010/12/Bildschirmfoto-2010-12-31-um-13.08.161-e1293797541740.png"><img class="alignleft size-full wp-image-553" title="Bildschirmfoto 2010-12-31 um 13.08.16" src="http://distriwatch.de/wp-content/uploads/2010/12/Bildschirmfoto-2010-12-31-um-13.08.161-e1293797541740.png" alt="" width="150" height="112" /></a>The Google Visualization API enables you to create interactive JavaScript-Charts and graphs easily. Winston Teo Yong Wei (the Developer of wego.com) created GoogleVisualr (<a href="https://github.com/winston/google_visualr" target="_blank">see at GitHub</a>) This Ruby Plugin, is a wrapper around the <a href="http://code.google.com/apis/visualization/documentation/">Google Visualization API</a> and allows you to create the same visualizations with just pure Ruby. You don’t have to write any JavaScript at all. Good for any Ruby on Rails setup whereby you prefer to work your logic in models or controllers.</p>
<p>Please refer to the <a href="http://googlevisualr.heroku.com/">GoogleVisualr reference site</a> for a complete list of visualizations that you can create with GoogleVisualr. In your model or controller, write Ruby code to create your visualization (e.g. Area Chart, Bar Chart, even Spark Lines etc). Configure your visualization with all the options as listed in <a href="http://code.google.com/intl/de-DE/apis/visualization/documentation/gallery.html" target="_blank">Google Visualization API Docs</a>. In your view, just call a visualization.render(div_id) method that will magically generate and insert JavaScript into the final HTML output. You get your visualization, and you didn’t write any JavaScript!<span id="more-551"></span></p>
<p><strong>Installation</strong><br />
Just install the GitHub repository into your app/vendor/plugin folder.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rails my_app; <span style="color: #7a0874; font-weight: bold;">cd</span> my_app;<br />
script<span style="color: #000000; font-weight: bold;">/</span>plugin <span style="color: #c20cb9; font-weight: bold;">install</span> git:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>winston<span style="color: #000000; font-weight: bold;">/</span>google_visualr.git</div></div>
<p>This section describes a basic implementation of the GoogleVisualr::AreaChart class. Please review the <a href="http://googlevisualr.heroku.com/docs">Docs</a> for detailed documentation and advanced implementation of constructors and methods.</p>
<p>In your Rails layout, load Google Ajax API in the head tag, at the very top.</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.google.com/jsapi&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></div></div>
<p>In your Rails controller, initialize a visualization (area chart) with an empty constructor.</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#0066ff; font-weight:bold;">@chart</span> = <span style="color:#6666ff; font-weight:bold;">GoogleVisualr::AreaChart</span>.<span style="color:#9900CC;">new</span></div></div>
<p>Populate visualization with column headers, and row values.</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#008000; font-style:italic;"># Add Column Headers</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">add_column</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'string'</span>, <span style="color:#996600;">'Year'</span> <span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">add_column</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'number'</span>, <span style="color:#996600;">'Sales'</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">add_column</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'number'</span>, <span style="color:#996600;">'Expenses'</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<br />
<span style="color:#008000; font-style:italic;"># Add Rows and Values</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">add_rows</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">4</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">set_value</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">0</span>, <span style="color:#006666;">0</span>, <span style="color:#996600;">'2004'</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">set_value</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">0</span>, <span style="color:#006666;">1</span>, <span style="color:#006666;">1000</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">set_value</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">0</span>, <span style="color:#006666;">2</span>, <span style="color:#006666;">400</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">set_value</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">1</span>, <span style="color:#006666;">0</span>, <span style="color:#996600;">'2005'</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">set_value</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">1</span>, <span style="color:#006666;">1</span>, <span style="color:#006666;">1170</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">set_value</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">1</span>, <span style="color:#006666;">2</span>, <span style="color:#006666;">460</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">set_value</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">2</span>, <span style="color:#006666;">0</span>, <span style="color:#996600;">'2006'</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">set_value</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">2</span>, <span style="color:#006666;">1</span>, <span style="color:#006666;">1500</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">set_value</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">2</span>, <span style="color:#006666;">2</span>, <span style="color:#006666;">660</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">set_value</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">3</span>, <span style="color:#006666;">0</span>, <span style="color:#996600;">'2007'</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">set_value</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">3</span>, <span style="color:#006666;">1</span>, <span style="color:#006666;">1030</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">set_value</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">3</span>, <span style="color:#006666;">2</span>, <span style="color:#006666;">540</span><span style="color:#006600; font-weight:bold;">&#41;</span></div></div>
<p>Configure visualization with options.</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">width</span> = <span style="color:#006666;">400</span><br />
<span style="color:#0066ff; font-weight:bold;">@chart</span>.<span style="color:#9900CC;">height</span> = <span style="color:#006666;">240</span></div></div>
<p>In your Rails view, render visualization.</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;%<span style="color: #66cc66;">=</span> @chart.render<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'chart'</span><span style="color: #66cc66;">&#41;</span> %&gt;</span></div></div>
<p>(<a href="https://github.com/winston/google_visualr">via google_visualr doc at github</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://distriwatch.de/2010/12/googlevisualr-a-ruby-on-rails-plugin-for-google-visualization-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Putin calls for using Linux in Russia</title>
		<link>http://distriwatch.de/2010/12/putin-calls-for-using-linux-in-russia/</link>
		<comments>http://distriwatch.de/2010/12/putin-calls-for-using-linux-in-russia/#comments</comments>
		<pubDate>Thu, 30 Dec 2010 15:39:30 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://distriwatch.de/?p=535</guid>
		<description><![CDATA[In Russia, there have been already several plans to use open source software. But it never came to a breakthrough. But now Prime Minister Vladimir Putin signed a plan for the &#8220;transition of power structures and the federal budget to free&#8221;. According to the document, the introduction of Linux in the government should begin in [...]]]></description>
			<content:encoded><![CDATA[<p>In Russia, there have been already several plans to use open source software. But it never came to a breakthrough. But now Prime Minister Vladimir Putin signed a plan for the &#8220;transition of power structures and the federal budget to free&#8221;. According to the document, the introduction of Linux in the government should begin in 2nd quarter of 2012.</p>
<p>The document is called &#8220;<strong>transition plan of the federal authorities and federal budgetary institutions on the use of free software, and covers the period from 2011 to 2015.</strong>&#8220;(translated via Google)</p>
<p>The key document with that timetable (in Russian) can be viewed via Google&#8217;s translation <a href="http://translate.google.com/translate?hl=en&#038;ie=UTF-8&#038;sl=auto&#038;tl=en&#038;u=http://filearchive.cnews.ru/doc/2010/06/17/2299p.doc&#038;prev=_t&#038;rurl=translate.google.com&#038;twu=1">Link</a>.</p>
<blockquote><p>1. Approve the attached plan for the transition of federal executive bodies and agencies of the federal budget for the use of free software for 2011 &#8211; 2015 years.</p>
<p>2.Federal executive agencies to implement activities in accordance with the plan approved by this Order, within the established government of the Russian Federation, limiting the size of their staff and budget allocations provided to them in the federal budget execution authority to the specified area of activity.</p>
<p>Prime Minister</p>
<p>The Russian Federation Vladimir Putin
</p></blockquote>
<p>The fact that Putin has signed the order for this project could be critical: there have been several previous plans for moving parts of the Russian government to using free software, notably in the educational sector, but in practice they have mostly failed to materialise because there has been insufficient political weight behind them. But if Putin says: &#8220;make it so&#8221;, I suspect that a lot of people will jump pretty fast to make sure that it *is* so. And once that happens, other plans to roll out free software might well suddenly look rather more attractive.</p>
]]></content:encoded>
			<wfw:commentRss>http://distriwatch.de/2010/12/putin-calls-for-using-linux-in-russia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nicer Terminal Font in OS X</title>
		<link>http://distriwatch.de/2010/12/nicer-terminal-font-in-os-x/</link>
		<comments>http://distriwatch.de/2010/12/nicer-terminal-font-in-os-x/#comments</comments>
		<pubDate>Wed, 29 Dec 2010 06:34:12 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC OS X]]></category>

		<guid isPermaLink="false">http://distriwatch.de/?p=532</guid>
		<description><![CDATA[With the release of MAC OS X 10.5 (Leopard) the terminal app surprisingly got a great improvement: The Tabs! Unfortunately the default terminal-font sucks. So I had to look up which default font GNOME terminal uses and install it on my OS X. Here are the steps to follow: Download Bitstream Vera Mono 1.10 Extract [...]]]></description>
			<content:encoded><![CDATA[<p>With the release of MAC OS X 10.5 (Leopard) the terminal app surprisingly got a great improvement: The Tabs! Unfortunately the default terminal-font sucks. So I had to look up which default font GNOME terminal uses and install it on my OS X.</p>
<p>Here are the steps to follow:</p>
<ul>
<li>Download <a href="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/">Bitstream Vera Mono 1.10</a>
</li>
<li>Extract the archive
</li>
<li>Double click on VeraMono.ttf
</li>
<li>Click Install Font
</li>
<li>From Terminal click Terminal->Preferences<br />
To the right of Font click Change&#8230;</li>
<li>Select Bitstream Vera Sans for the Family
</li>
<li>Select 12 for the Size
</li>
<li>Close the Fonts window
</li>
<li>Enable Antialias text under Text
</li>
<li>Restart the Terminal</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://distriwatch.de/2010/12/nicer-terminal-font-in-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

