<?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>Adi Roiban &#187; Free Software</title>
	<atom:link href="http://adi.roiban.ro/category/free-software/feed/" rel="self" type="application/rss+xml" />
	<link>http://adi.roiban.ro</link>
	<description>Who wipes ?</description>
	<pubDate>Thu, 10 Nov 2011 22:11:31 +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>Monitor the UPS in Ubuntu with Network UPS Tools</title>
		<link>http://adi.roiban.ro/2011/11/10/monitor-the-ups-in-ubuntu-with-network-ups-tools/</link>
		<comments>http://adi.roiban.ro/2011/11/10/monitor-the-ups-in-ubuntu-with-network-ups-tools/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 21:40:45 +0000</pubDate>
		<dc:creator>Adi</dc:creator>
		
		<category><![CDATA[English]]></category>

		<category><![CDATA[Free Software]]></category>

		<guid isPermaLink="false">http://adi.roiban.ro/?p=626</guid>
		<description><![CDATA[I just found this great project called Network UPS Tools or nut. It comes with fully loaded with tools for monitoring local UPS, remote UPS and displaying the status via a weg page.
My installation is using an Must PowerAgent 1060, connected via USB.
Installing the software is easy, just use the magic words:
sudo apt-get install nut nut-cgi
To [...]]]></description>
			<content:encoded><![CDATA[<p>I just found this great project called <a href="http://www.networkupstools.org/">Network UPS Tools or nut</a>. It comes with fully loaded with tools for monitoring local UPS, remote UPS and displaying the status via a weg page.</p>
<p>My installation is using an Must PowerAgent 1060, connected via USB.</p>
<p>Installing the software is easy, just use the magic words:</p>
<blockquote><p>sudo apt-get install nut nut-cgi</p></blockquote>
<p>To configure nut on Ubuntu I start by reading <a href="http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/">this guide by a mysterious person named Shady Pixel.</a></p>
<p>First I checked my driver suitable for my model in the <a href="http://www.networkupstools.org/stable-hcl.html">Hardware Compatibility List</a>. The model I use is not in the list, but Must is related to Mustek and all Mustek models were using &#8216;blazer_usb&#8217; driver. So I went for blazer_usb.</p>
<p>I added the following section in /etc/nut/ups.conf (you can replace must-pa-1060 with your preferred name for the UPS):</p>
<blockquote><p>
# /etc/nut/ups.conf<br />
[must-pa-1060]<br />
    driver = blazer_usb<br />
    port = auto
</p></blockquote>
<p>I looked for the Bus and Device number together with Vendor and Product in &#8216;lsusb&#8217;</p>
<p>I changed the permission to &#8216;666&#8242; for /dev/bus/usb/BID/DID (replace BID with your USB bus ID, and DID with device ID). To automatically set the permission for future connections I added the following udev rule:</p>
<blockquote><p>
#/etc/udev/rules.d/10-must-pa-1060.rules<br />
SYSFS{idVendor}==&#8221;0665&#8243;, SYSFS{idProduct}==&#8221;5161&#8243;, MODE=&#8221;0666&#8243;
</p></blockquote>
<p>Then I started the UPS driver via:</p>
<blockquote><p>$ sudo upsdrvctl start</p></blockquote>
<p>If you get some errors like the one below, check the USB device permissions.</p>
<blockquote><p>
Can&#8217;t claim USB device [0665:5161]: could not detach kernel driver from interface 0: Operation not permitted<br />
Driver failed to start (exit status=1)
</p></blockquote>
<p>Now that the UPS driver is started, let&#8217;s monitor it and export the status via the CGI script.</p>
<p>You will have to configure the mode in which nut will run. Edit /etc/nut/nut.conf and add your preferred mode.</p>
<blockquote><p>
# /etc/nut/nut.conf<br />
MODE=standalone
</p></blockquote>
<p>Add an UPS daemon user via /etc/nut/upsd.users:</p>
<blockquote><p>
# /etc/nut/upsd.users<br />
[ups_admin]<br />
password = a password here<br />
upsmon master
</p></blockquote>
<p>Configure the monitor to connect to this daemon via /etc/nut/upsmon.conf:</p>
<blockquote><p>
# /etc/nut/upsmon.conf<br />
MONITOR must-pa-1060@localhost 1 ups_admin the_password_here master
</p></blockquote>
<p>Now you can start the nut daemon and ups monitor via &#8216;nut&#8217; service:</p>
<blockquote><p>
sudo service nut start
</p></blockquote>
<p>To monitor the UPS via the web CGI script I added the following line to /etc/nut/hosts.conf:</p>
<blockquote><p>
# /etc/nut/hosts.conf<br />
MONITOR must-pa-1060@localhost &#8220;Must PowerAgent 1060&#8243;
</p></blockquote>
<p>Now you can access the CGI script via:</p>
<blockquote><p>
http://HOSTNAME/cgi-bin/nut/upsstats.cgi
</p></blockquote>
<p>Enjoy!</p>
<p>This should be a good start, and from here you can take it to the next level&#8230; For example, if you have 2 computers connected to the same UPS, the second one will have to monitor the UPS daemon from the one connected via the usb to the UPS&#8230; make sure that the switch is allow connected to the UPS <img src='http://adi.roiban.ro/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><div id="attachment_628" class="wp-caption alignnone" style="width: 490px"><a href="http://www.flickr.com/photos/lin/63368349/"><img src="http://adi.roiban.ro/wp-content/uploads/2011/11/63368349_eecf0a9e44_z.jpg" alt="Mikka, with Batteries By karmablue" title="Mikka, with Batteries By karmablue" width="480" height="640" class="size-full wp-image-628" /></a><p class="wp-caption-text">Mikka, with Batteries By karmablue</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://adi.roiban.ro/2011/11/10/monitor-the-ups-in-ubuntu-with-network-ups-tools/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FlossCamp 2011 se apropie</title>
		<link>http://adi.roiban.ro/2011/08/03/flosscamp-2011-se-apropie/</link>
		<comments>http://adi.roiban.ro/2011/08/03/flosscamp-2011-se-apropie/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 10:31:02 +0000</pubDate>
		<dc:creator>Adi</dc:creator>
		
		<category><![CDATA[Free Software]]></category>

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

		<guid isPermaLink="false">http://adi.roiban.ro/?p=620</guid>
		<description><![CDATA[
Am stabilit ultimele detalii legate de amplasare locurui de campare pentru FlossCamp 2011 și rămâne să ne vedem în weekendul 5-6-7 August, în apropiere de Șimon/Bran.
Pentru mai mutle informații despre FlossCamp consultați pagina evenimetului la adresa camp.softwareliber.ro
]]></description>
			<content:encoded><![CDATA[<p><a href="http://camp.softwareliber.ro/2011/"><img class="alignleft" style="margin: 10px;" src="http://camp.softwareliber.ro/img/flosscamp.png" alt="" width="100" height="131" /></a></p>
<p>Am stabilit ultimele detalii legate de amplasare locurui de campare pentru FlossCamp 2011 și rămâne să ne vedem în weekendul 5-6-7 August, în apropiere de Șimon/Bran.</p>
<p>Pentru mai mutle informații despre FlossCamp consultați pagina evenimetului la adresa <a href="http://camp.softwareliber.ro/2011/">camp.softwareliber.ro</a></p>
]]></content:encoded>
			<wfw:commentRss>http://adi.roiban.ro/2011/08/03/flosscamp-2011-se-apropie/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Unity-2D on Ubuntu 10.10</title>
		<link>http://adi.roiban.ro/2011/05/19/unity-2d-on-ubuntu-1010/</link>
		<comments>http://adi.roiban.ro/2011/05/19/unity-2d-on-ubuntu-1010/#comments</comments>
		<pubDate>Thu, 19 May 2011 12:26:27 +0000</pubDate>
		<dc:creator>Adi</dc:creator>
		
		<category><![CDATA[English]]></category>

		<category><![CDATA[Free Software]]></category>

		<category><![CDATA[Planet Ubuntu]]></category>

		<guid isPermaLink="false">http://adi.roiban.ro/?p=597</guid>
		<description><![CDATA[I have tried and tested Ubuntu 11.04 during its development cycle and also after the final release and I really liked Unity 2D. It was the first shell that I did not felt the need for major customization. The fact that external monitor support is again broken, middle click emulation is no longer a default [...]]]></description>
			<content:encoded><![CDATA[<p>I have tried and tested Ubuntu 11.04 during its development cycle and also after the final release and I really liked Unity 2D. It was the first shell that I did not felt the need for major customization. The fact that external monitor support is again broken, middle click emulation is no longer a default and that I can not adjust the brightness of my laptop screen, blocks me from using Ubuntu 11.04. I know that Ubuntu 11.04 and Ubuntu 11.10 are the future, but I just want to use my computer now <img src='http://adi.roiban.ro/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So being stuck with Ubuntu 10.10 I started using the Unity 2D team PPA repository. It worked quite well, until the team decided to stop supporting Unity 2D on Maverick. With valuable help from Unity 2D team I was able to build the latest Unity 2D on Maverick.</p>
<p>The result is available in the following PPA: <a href="https://launchpad.net/~adiroiban/+archive/unity-2d-maverick">ppa:adiroiban/unity-2d-maverick</a> .</p>
<p>The code is available at <a href="https://code.launchpad.net/~adiroiban/unity-2d/unity-2d-maverick">lp:~adiroiban/unity-2d/unity-2d-maverick</a></p>
<p>The global menu is not working it the current Maverick build. Thanks to Olivier I found the problem and I will update the PPA soon.</p>
<p>Please note that the Unity 2D on Maverick is not supported by the Unity 2D team.<br />
In the same time, I am a junior Ubuntu packager so the package might have some bugs. </p>
<p>PS: To bad that for now, the version of Unity that works on everyone&#8217;s computers is a second class citizen in Ubuntu.<br />
PPS: I have the default video card that comes with the core i3 CPU&#8230; nothing fancy, but it looks like I can not escape the curse of the external monitor&#8230; but is working Maverick.</p>
<p><div id="attachment_600" class="wp-caption alignnone" style="width: 410px"><a href="http://www.flickr.com/photos/mr_t_in_dc/4602975334/"><img src="http://adi.roiban.ro/wp-content/uploads/2011/05/4602975334_d035de1e3e.jpg" alt="Oliver with Arms Extended by Mr. T in DC" title="Oliver with Arms Extended by Mr. T in DC" width="400" height="500" class="size-full wp-image-600" /></a><p class="wp-caption-text">Oliver with Arms Extended by Mr. T in DC</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://adi.roiban.ro/2011/05/19/unity-2d-on-ubuntu-1010/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FLOSSCamp 2011 - Rezultate feedback</title>
		<link>http://adi.roiban.ro/2011/04/22/flosscamp-2011-rezultate-feedback/</link>
		<comments>http://adi.roiban.ro/2011/04/22/flosscamp-2011-rezultate-feedback/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 17:01:02 +0000</pubDate>
		<dc:creator>Adi</dc:creator>
		
		<category><![CDATA[Free Software]]></category>

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

		<guid isPermaLink="false">http://adi.roiban.ro/?p=584</guid>
		<description><![CDATA[În primul rând doresc să mulțumesc tuturor celor care au părticipat la sondajul inițial pentru pregătirea FLOSSCamp 2011.
Se pare că gusturile sunt impărțite destul de bine și nu există un consent.
FLOSSCamp se dorește un eveniment în natură, mai departe de electricitate și civilizație de aceea foarte probabil locul ales va favoriza cei care preferă cortul.
În [...]]]></description>
			<content:encoded><![CDATA[<p>În primul rând doresc să mulțumesc tuturor celor care au părticipat la sondajul inițial pentru pregătirea FLOSSCamp 2011.</p>
<p>Se pare că gusturile sunt impărțite destul de bine și nu există un consent.</p>
<p>FLOSSCamp se dorește un eveniment în natură, mai departe de electricitate și civilizație de aceea foarte probabil locul ales va favoriza cei care preferă cortul.</p>
<p>În același timp este de notat că numărul celor care preferă pensiunea este semnificativ și vom luam în considerare și organizarea unui eveniment mai formal, cu cazare și tot tacâmul.</p>
<p>Vom reveni cu decizile în ceea ce privește data și eventual locul.<br />
Până atunci mai jos sunt câteva grafice cu rezultatele sondajului:</p>
<p><div id="attachment_587" class="wp-caption alignnone" style="width: 375px"><a href="http://adi.roiban.ro/wp-content/uploads/2011/04/provenienta.png"><img class="size-full wp-image-587" title="Unde ne ducem traiul" src="http://adi.roiban.ro/wp-content/uploads/2011/04/provenienta.png" alt="Unde ne ducem traiul" width="365" height="297" /></a><p class="wp-caption-text">Unde ne ducem traiul</p></div></p>
<p><div id="attachment_586" class="wp-caption alignnone" style="width: 541px"><a href="http://adi.roiban.ro/wp-content/uploads/2011/04/data.png"><img class="size-full wp-image-586" title="Cand am vrea să se întâmple toată treaba asta?" src="http://adi.roiban.ro/wp-content/uploads/2011/04/data.png" alt="Cand am vrea să se întâmple toată treaba asta?" width="531" height="304" /></a><p class="wp-caption-text">Cand am vrea să se întâmple toată treaba asta?</p></div></p>
<p><div id="attachment_585" class="wp-caption alignnone" style="width: 541px"><a href="http://adi.roiban.ro/wp-content/uploads/2011/04/cum.png"><img src="http://adi.roiban.ro/wp-content/uploads/2011/04/cum.png" alt="Cort sau Pensiune/Motel?" title="Cort sau Pensiune/Motel?" width="531" height="186" class="size-full wp-image-585" /></a><p class="wp-caption-text">Cort sau Pensiune/Motel?</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://adi.roiban.ro/2011/04/22/flosscamp-2011-rezultate-feedback/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mingle with GTKSourceView</title>
		<link>http://adi.roiban.ro/2011/04/20/mingle-with-gtksourceview/</link>
		<comments>http://adi.roiban.ro/2011/04/20/mingle-with-gtksourceview/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 20:26:21 +0000</pubDate>
		<dc:creator>Adi</dc:creator>
		
		<category><![CDATA[English]]></category>

		<category><![CDATA[Free Software]]></category>

		<category><![CDATA[Planet Ubuntu]]></category>

		<guid isPermaLink="false">http://adi.roiban.ro/?p=569</guid>
		<description><![CDATA[In the last years, Gedit was my trustful companion. It does not has all the bling-bling of Anjuta or Eclipse but with some extra modules, Gedit can be a reputable text editor.
For me, the most important feature of a text(code) editor is syntax highlighting and Gedit together with GTKSourceView offers a nice syntax highlighter.
Now, if [...]]]></description>
			<content:encoded><![CDATA[<p>In the last years, Gedit was my trustful companion. It does not has all the bling-bling of Anjuta or Eclipse but with some extra modules, Gedit can be a reputable text editor.</p>
<p>For me, the most important feature of a text(code) editor is syntax highlighting and Gedit together with GTKSourceView offers a nice syntax highlighter.<br />
Now, if you want to edit GTKSourceView language and scheme file from within Gedit &#8230; well&#8230;  this is a bit complicated .</p>
<p>So I took an PyGTK GTKSourceView example kindly provided by <a href="http://www.eurion.net/python-snippets/snippet/GtkSourceView%20Example.html">Iñigo Serna and hosted by Python Code Snippets</a> and continue building a text editor that will apply the new style as soon as the scheme and language file is saved.</p>
<p>After a few hours I ended up with &#8230; TADA&#8230;</p>
<p><a href="http://adi.roiban.ro/wp-content/uploads/2011/04/gtksourceview-mingler.png"><img class="alignnone size-full wp-image-570" title="gtksourceview-mingler" src="http://adi.roiban.ro/wp-content/uploads/2011/04/gtksourceview-mingler.png" alt="gtksourceview-mingler" width="575" height="676" /></a></p>
<p>Now this beauty which for now I will call it GTKSourceView Mingled, will not win any UI design context but I hope that I will help you to improve your productivity.</p>
<p><strong>In case you are asking how to use it, here are a few tips:</strong></p>
<p>0. Grab the code from <a href="http://bazaar.launchpad.net/~adiroiban/+junk/gtksourceview-highlighting/view/head:/gtksourceview_mingler.py">my +junk bzr branch dedicated to this issue</a>.<br />
1. Make sure your language and scheme files are in your home folder<br />
The default files are located somewhere in /usr/share/gtksourceview-2.0<br />
and you should not have write access there&#8230; for your own good.<br />
Copy the files that you intend to modify to:<br />
* ~/.local/share/gtksourceview-2.0/styles<br />
* ~/.local/share/gtksourceview-2.0/language-specs</p>
<p>2. Start the script<br />
3. Open a sample file for the language that you want to edit (Ctrl+O)<br />
4. Choose a style from the Styles menu.<br />
5. Edit the language and scheme file<br />
6. Save (Ctrl+S)<br />
7. Observe the changes<br />
8. If you are not happy with the result go back to step 4, otherwise just<br />
go to next step.<br />
9. Admire your beatiful result<br />
10. Profit!</p>
<p>There are also some command line options&#8230; start with the &#8211;help option.</p>
<p><strong>What it does</strong><br />
&#8212;&#8212;&#8212;&#8212;</p>
<p>* When you start the application it looks at the default style (or the one<br />
speficied in the command line) and applies it to the bottom panel.</p>
<p>* When you choose a style from the menu, it search the style file, loads<br />
the style file into the top right panel and applies the style to the<br />
bottom panel.</p>
<p>* When you load a file, it looks for the file mime-type and loads the<br />
langauge file associated with the file type.</p>
<p>* When you save something, it stores the changes on disk and then applies<br />
the changes on the bottom panel.</p>
<p><strong>What other things I would like it to do</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>* Press Ctrl+F and prompt you with a nice incremental search box. That would be really awesome!</p>
<p>And by the way, this post really deserves a cat picture:</p>
<p><div id="attachment_578" class="wp-caption alignnone" style="width: 510px"><a title="Oliver Highlighting by Mr. T in DC" href="http://www.flickr.com/photos/mr_t_in_dc/2446954211/"><img class="size-full wp-image-578" title="Oliver Highlighting by Mr. T in DC" src="http://adi.roiban.ro/wp-content/uploads/2011/04/2446954211_91170a2046.jpg" alt="Oliver Highlighting by Mr. T in DC" width="500" height="333" /></a><p class="wp-caption-text">Oliver Highlighting by Mr. T in DC</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://adi.roiban.ro/2011/04/20/mingle-with-gtksourceview/feed/</wfw:commentRss>
		</item>
		<item>
		<title>RSS Feed for Ubuntu translations that needs review</title>
		<link>http://adi.roiban.ro/2011/04/17/rss-feed-for-translations-that-needs-review/</link>
		<comments>http://adi.roiban.ro/2011/04/17/rss-feed-for-translations-that-needs-review/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 19:15:47 +0000</pubDate>
		<dc:creator>Adi</dc:creator>
		
		<category><![CDATA[English]]></category>

		<category><![CDATA[Free Software]]></category>

		<category><![CDATA[Planet Ubuntu]]></category>

		<guid isPermaLink="false">http://adi.roiban.ro/?p=564</guid>
		<description><![CDATA[After announcing the „alpha” version on the Ubuntu Translators mailing list, I am also adding this to Ubuntu planet for more feedback.
For the Romanian team I wanted to keep the &#8220;needs review&#8221; counter somewhere near zero so that new translators will get a quick feedback and will be encourage to add more translations. I received [...]]]></description>
			<content:encoded><![CDATA[<p>After announcing the „alpha” version on the Ubuntu Translators mailing list, I am also adding this to Ubuntu planet for more feedback.</p>
<p>For the Romanian team I wanted to keep the &#8220;needs review&#8221; counter somewhere near zero so that new translators will get a quick feedback and will be encourage to add more translations. I received feedback from a few drive-by translators that at first they were confused why their translations to an untranslated string are not automatically added as the current translation but rather as a suggestion.</p>
<p>It is not fun to see that your translations are not reviewed by more than 1 week. It is discouraging in the same time.</p>
<p>This is why I created a quick and dirty hack to generate an RSS feed and send a notification email for all the PO files for an Ubuntu release that have new suggestions:</p>
<p>The RSS looks something like this:<br />
<img alt="" src="http://dl.dropbox.com/u/174543/rss-feed.png" class="alignnone" width="691" height="647" /></p>
<p>The code is here:<br />
https://github.com/adiroiban/scripts/blob/master/ubuntu-l10n-review-notifications.py</p>
<p>It is a crude implementation but it should do the job.<br />
It can also send emails, but I prefer RSS.</p>
<p>I have already set up a daily cron for <a href="http://l10n.ubuntu.tla.ro/rss/">RO, ES, PT_BR, SL RSS feeds for Ubuntu Natty</a>.</p>
<p>The code is there and you can set up your own RSS feed or let me know if you would like me to generate a feed for your language.</p>
<p>I hope that you will find it useful. Any feedback is much appreciated!</p>
<p>PS: Hope you don&#8217;t mind git and <a href="http://github.com">github.com</a> . I still love bzr and Launchpad as they are fantastic. I am just testing github and git.</p>
]]></content:encoded>
			<wfw:commentRss>http://adi.roiban.ro/2011/04/17/rss-feed-for-translations-that-needs-review/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FLOSSCamp 2011 - faza preliminară</title>
		<link>http://adi.roiban.ro/2011/04/07/flosscamp-2011-alfa/</link>
		<comments>http://adi.roiban.ro/2011/04/07/flosscamp-2011-alfa/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 23:33:12 +0000</pubDate>
		<dc:creator>Adi</dc:creator>
		
		<category><![CDATA[Free Software]]></category>

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

		<guid isPermaLink="false">http://adi.roiban.ro/?p=550</guid>
		<description><![CDATA[
O parte dintre membri comunităților de software liber din România ar dori să participe și anul acesta la o întâlnire națională FLOSSCamp. Încă nu există pagină web pentru FLOSSCamp 2011 dar puteți vizita cele din 2008, 2009 și 2010.
Scopurile întâlnirii nu sunt mărețe și în principal se dorește să mai ieșim din fața calculatoarelor să [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://adi.roiban.ro/wp-content/uploads/2011/04/floss_camp.png"><img class="alignleft size-full wp-image-551" style="margin: 10px;" title="floss_camp" src="http://adi.roiban.ro/wp-content/uploads/2011/04/floss_camp.png" alt="floss_camp" width="100" height="131" /></a></p>
<p>O parte dintre membri comunităților de software liber din România ar dori să participe și anul acesta la o întâlnire națională FLOSSCamp. Încă nu există pagină web pentru FLOSSCamp 2011 dar puteți vizita cele din <a href="http://camp.softwareliber.ro/2008/">2008</a>, <a href="http://camp.softwareliber.ro/2009/">2009</a> și <a href="http://camp.softwareliber.ro/2010/">2010</a>.</p>
<p>Scopurile întâlnirii nu sunt mărețe și în principal se dorește să mai ieșim din fața calculatoarelor să mai socializăm offline și să punem niște voci și fețe în spatele caracterelor online.</p>
<p>În cazul în care sunteți interesați să participați la o astfel de întâlnire vă rugăm să completați chestionarul preliminar astfel încât să ne putem face o idee câte persoane sunt interesate și cam cum ar vrea fiecare să arate întâlnirea.</p>
<p><a href="https://spreadsheets.google.com/embeddedform?formkey=dDVodU9wdUFLbjVQU3NtUlhoNnVtdFE6MQ">Clic aici pentru a completa formularul!</a> Mulțumesc!</p>
<p>Sunteți invitați să dați mai departe acest anunț. Mulțumesc din nou!</p>
<p><a href="http://www.flickr.com/photos/bexross/2131530835/in/photostream/"><img class="size-full wp-image-555 alignnone" title="Pippy the camping cat by snappybex" src="http://adi.roiban.ro/wp-content/uploads/2011/04/2131530835_11b9512258.jpg" alt="Pippy the camping cat by snappybex" width="335" height="500" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://adi.roiban.ro/2011/04/07/flosscamp-2011-alfa/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Passenger and Python and Django and OSQA &#8230; first blood</title>
		<link>http://adi.roiban.ro/2011/02/23/passenger-and-python-and-django-and-osqa-first-blood/</link>
		<comments>http://adi.roiban.ro/2011/02/23/passenger-and-python-and-django-and-osqa-first-blood/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 21:12:16 +0000</pubDate>
		<dc:creator>Adi</dc:creator>
		
		<category><![CDATA[English]]></category>

		<category><![CDATA[Free Software]]></category>

		<guid isPermaLink="false">http://adi.roiban.ro/?p=535</guid>
		<description><![CDATA[These are just a few notes about my experience with installing OSQA on Nginx with Passenger. I assume you already have passenger installed.
In short:
Step 1: Make sure an Hello world! is working
Step 2: Withing the already working Hello world application, try to execute your application and catch and print any errors.
Step 3: Profit!
The main headaches [...]]]></description>
			<content:encoded><![CDATA[<p>These are just a few notes about my experience with installing OSQA on Nginx with Passenger. I assume you already have passenger installed.</p>
<p>In short:<br />
Step 1: Make sure an Hello world! is working<br />
Step 2: Withing the already working Hello world application, try to execute your application and catch and print any errors.<br />
Step 3: Profit!</p>
<p>The main headaches are cause by the Passenger cache and a clueless &#8220;<em>An error occurred importing your passenger_wsgi.py</em>&#8221; message if something is wrong.</p>
<p>Step 1: Making sure passenger is working and picking up the passenger_wsgi.py</p>
<p>Start with a plain passenger_wsgi.py file and put it in the root or your project. I have created a virtual env in /var/www/DOMAIN so replace this path to match your configuration.<br />
We want to make sure that Passenger is working so we start with a simple „Hello world” WSGI application.<br />
In the same time, we want to make sure that Passenger uses the right python version from our virtual environment&#8230; so we force it:</p>
<pre>
import os, sys
INTERP = "/var/www/DOMAIN/bin/python"
if sys.executable != INTERP:
        os.execl(INTERP, INTERP, *sys.argv)

def application(environ, start_response):
        response_headers = [('Content-type','text/plain')]
        start_response('200 OK', response_headers)
        return ['Hello!']
</pre>
<p>Step 2: Now that you know that passenge is working, edit the file to catch any errors and print the stack trace</p>
<pre>
import os, sys
INTERP = "/var/www/DOMAIN/bin/python"
if sys.executable != INTERP:
        os.execl(INTERP, INTERP, *sys.argv)
# We force some paths
sys.path.append('/var/www/DOMAIN')
sys.path.append('/var/www/DOMAIN/osqa')

def application(environ, start_response):
        try:
                os.environ['DJANGO_SETTINGS_MODULE'] = 'osqa.settings'
                import django.core.handlers.wsgi
                application = django.core.handlers.wsgi.WSGIHandler()
                return application(environ, start_response)
        except:
                import traceback
                response_headers = [('Content-type','text/plain')]
                start_response('200 OK', response_headers)
                result = traceback.format_exc()
                return [result]
</pre>
<p>Step3: After all error were fixed, you can use to a much simple wsgi file:</p>
<pre>
import os, sys
INTERP = "/var/www/DOMAIN/bin/python"
if sys.executable != INTERP:
        os.execl(INTERP, INTERP, *sys.argv)
# We force some paths
sys.path.append('/var/www/DOMAIN')
sys.path.append('/var/www/DOMAIN/osqa')

os.environ['DJANGO_SETTINGS_MODULE'] = 'osqa.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
</pre>
<p><a href="http://www.flickr.com/photos/lambj/3471721865/"><img src="http://adi.roiban.ro/wp-content/uploads/2011/02/3471721865_4a40b23062.jpg" alt="Happy Cat Chose Red By Tabbymom Jen" title="Happy Cat Chose Red By Tabbymom Jen" width="500" height="375" class="aligncenter size-full wp-image-538" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://adi.roiban.ro/2011/02/23/passenger-and-python-and-django-and-osqa-first-blood/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Enable &#8220;Editable menu shortcut keys&#8221; in GNOME</title>
		<link>http://adi.roiban.ro/2011/01/31/power-to-the-users-editable-menu-shortcut-keys/</link>
		<comments>http://adi.roiban.ro/2011/01/31/power-to-the-users-editable-menu-shortcut-keys/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 21:53:43 +0000</pubDate>
		<dc:creator>Adi</dc:creator>
		
		<category><![CDATA[English]]></category>

		<category><![CDATA[Free Software]]></category>

		<guid isPermaLink="false">http://adi.roiban.ro/?p=529</guid>
		<description><![CDATA[In case you were wondering why and where the Interface tag from gnome-appearance-properties is gone you should start looking at the GNOME bug #592756.
In case you just want that feature back, read this askubuntu.com question and answer.
To make it short just read the &#8216;Editable menu shortcut keys&#8217; documentation and run the following command:
gconftool --set /desktop/gnome/interface/can_change_accels [...]]]></description>
			<content:encoded><![CDATA[<p>In case you were wondering why and where the <strong>Interface</strong> tag from<strong> gnome-appearance-properties</strong> is gone you should start looking at the <a href="https://bugzilla.gnome.org/show_bug.cgi?id=592756">GNOME bug #592756</a>.</p>
<p>In case you just want that feature back, read this <a href="http://askubuntu.com/questions/5241/ubuntu-editable-menu-accelerators-on-a-per-app-basis-where-is-this-option">askubuntu.com question and answer.</a></p>
<p>To make it short just read the <a href="http://library.gnome.org/users/user-guide/2.32/prefs-appearance.html.en#prefs-menustoolbars">&#8216;Editable menu shortcut keys&#8217; documentation</a> and run the following command:<br />
<code>gconftool --set /desktop/gnome/interface/can_change_accels --type=bool True</code><br />
<a href="http://www.flickr.com/photos/myrtti/3296132668/"></p>
<p>Enjoy!</p>
<p><img src="http://adi.roiban.ro/wp-content/uploads/2011/01/3296132668_aedd575d24.jpg" alt="&quot;So this moves the cursor, you say?&quot; by Miia Ranta" title="&quot;So this moves the cursor, you say?&quot; by Miia Ranta" width="500" height="375" class="aligncenter size-full wp-image-530" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://adi.roiban.ro/2011/01/31/power-to-the-users-editable-menu-shortcut-keys/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mono and GMCS (C# compiler)  on Dreamhost shared account</title>
		<link>http://adi.roiban.ro/2011/01/30/running-mono-and-gmcs-c-compiler-on-dreamhost-shared-account/</link>
		<comments>http://adi.roiban.ro/2011/01/30/running-mono-and-gmcs-c-compiler-on-dreamhost-shared-account/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 17:19:42 +0000</pubDate>
		<dc:creator>Adi</dc:creator>
		
		<category><![CDATA[English]]></category>

		<category><![CDATA[Free Software]]></category>

		<guid isPermaLink="false">http://adi.roiban.ro/?p=523</guid>
		<description><![CDATA[This guide is only for installing mono and gmcs version 1.9.1 on a Dreamhost shared account&#8230; it does not covers ASP.Net support for Dreamhost web server.
I just wanted to run the Icy Projectile Challenge game using a Java, Python and C# player. Java and Python are already available on Dreamhost and I was able to [...]]]></description>
			<content:encoded><![CDATA[<p>This guide is only for installing mono and gmcs version 1.9.1 on a Dreamhost shared account&#8230; it does not covers ASP.Net support for Dreamhost web server.</p>
<p>I just wanted to run the <a href="http://queue.acm.org/icpc">Icy Projectile Challenge game</a> using a Java, Python and C# player. Java and Python are already available on Dreamhost and I was able to execute the icypc.jar and Java and Python players using the default installation.</p>
<p>Right now there is no mono installed on the shared server where my Dreamhost account is hosted. The system is running Debian 5.0 Lenny so I went and installed the Mono version that is available from the repository.</p>
<p>Apt, dpkg or aptitude could not help me in installing the packages in a custom location&#8230;  there is also no fakeroot on my Dreamhost shared server.</p>
<p>After a bit of research I found this trick by <a href="http://phanvinhthinh.blogspot.com/2009/03/how-non-root-user-can-use-apt-get.html">Phan Vinh Thinh</a> and I ended up with this:</p>
<p><code>mkdir -p ~/mono/packages<br />
pushd ~/mono/packages<br />
apt-get --yes --print-uris install mono-gmcs | grep --regex 'tp://.*deb' | cut -d ' ' -f1 | sed "s/^'//g;s/'$//g" | wget -i -<br />
for i in *.deb; do dpkg --extract $i ~/mono; done<br />
</code></p>
<p>I then changed the ~/mono/usr/bin/gmcs to look like this</p>
<p><code>#!/bin/sh<br />
PREFIX=/home/adi/mono<br />
exec ${PREFIX}/usr/bin/mono $MONO_OPTIONS ${PREFIX}/usr/lib/mono/2.0/gmcs.exe "$@"<br />
</code></p>
<p>The resulting mono installation is hosted by the <strong>~/mono/</strong> prefix. Feel free to add ~/mono/usr/bin to your PATH environment variable.</p>
<p>That&#8217;s all. You will not get to much apart from the standard mono execution and C# compilation environment, but I hope that these hints will inspire you in installation more Mono libraries and other fancy stuff.</p>
<p><div id="attachment_525" class="wp-caption aligncenter" style="width: 516px"><a href="http://www.flickr.com/photos/kharied/3747019715/"><img src="http://adi.roiban.ro/wp-content/uploads/2011/01/3747019715_61f8ce82f3_z.jpg" alt="203/365 O HAI. by kharied" title="203/365 O HAI. by kharied" width="506" height="640" class="size-full wp-image-525" /></a><p class="wp-caption-text">203/365 O HAI. by kharied</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://adi.roiban.ro/2011/01/30/running-mono-and-gmcs-c-compiler-on-dreamhost-shared-account/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

