<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Max Janot Blog</title>
	<atom:link href="http://maxjanot.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://maxjanot.wordpress.com</link>
	<description>Notizie ed approfondimenti dal mondo dell'informatica</description>
	<pubDate>Tue, 08 Jul 2008 10:38:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>it</language>
			<item>
		<title>E&#8217; nato!!!</title>
		<link>http://maxjanot.wordpress.com/2008/07/03/e-nato/</link>
		<comments>http://maxjanot.wordpress.com/2008/07/03/e-nato/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 09:28:31 +0000</pubDate>
		<dc:creator>maxjanot</dc:creator>
		
		<category><![CDATA[Vita vissuta]]></category>

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

		<guid isPermaLink="false">http://maxjanot.wordpress.com/?p=104</guid>
		<description><![CDATA[Volevo farvi partecipe della mia grande gioia.
Stamattina ore 4 (mattiniero) è nato il mio primo nipote!!! Il piccolo Antonio è tra noi.

Non è bellissimo?
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Volevo farvi partecipe della mia grande gioia.</p>
<p>Stamattina ore 4 (mattiniero) è nato il mio primo nipote!!! Il piccolo Antonio è tra noi.</p>
<p style="text-align:center;"><a href="http://maxjanot.files.wordpress.com/2008/07/06072008053.jpg"><img class="size-medium wp-image-106 aligncenter" src="http://maxjanot.files.wordpress.com/2008/07/06072008053.jpg?w=300&h=225" alt="" width="300" height="225" /></a></p>
<p style="text-align:left;">Non è bellissimo?</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxjanot.wordpress.com/104/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxjanot.wordpress.com/104/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxjanot.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxjanot.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxjanot.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxjanot.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxjanot.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxjanot.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxjanot.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxjanot.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxjanot.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxjanot.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxjanot.wordpress.com&blog=503626&post=104&subd=maxjanot&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxjanot.wordpress.com/2008/07/03/e-nato/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/maxjanot-128.jpg" medium="image">
			<media:title type="html">maxjanot</media:title>
		</media:content>

		<media:content url="http://maxjanot.files.wordpress.com/2008/07/06072008053.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>Creiamo un&#8217;applicazione web con Rails - Modello dati</title>
		<link>http://maxjanot.wordpress.com/2008/07/01/creiamo-unapplicazione-web-con-rails-modello-dati/</link>
		<comments>http://maxjanot.wordpress.com/2008/07/01/creiamo-unapplicazione-web-con-rails-modello-dati/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 15:13:45 +0000</pubDate>
		<dc:creator>maxjanot</dc:creator>
		
		<category><![CDATA[Howto]]></category>

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

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

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

		<guid isPermaLink="false">http://maxjanot.wordpress.com/?p=93</guid>
		<description><![CDATA[Passiamo alla seconda puntata di questo nostro tutorial (questo il link alla prima lezione) riguardante la creazione di un&#8217;applicazione che utilizzi il framework Rails. Stavolta ci occuperemo della progettazione del modello dei dati.
Capitolo 4: Configurazione del database
Innanzitutto configuriamo il nostro database, editando il file config/database.yml tenendo conto della configurazione del nostro database.
development:
adapter: mysql
database: warehouse_development
username: root
password:
host: [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Passiamo alla seconda puntata di questo nostro tutorial (questo il <a href="http://maxjanot.wordpress.com/2008/01/04/creiamo-unapplicazione-web-con-rails-introduzione/">link</a> alla prima lezione) riguardante la creazione di un&#8217;applicazione che utilizzi il framework Rails. Stavolta ci occuperemo della progettazione del modello dei dati.</p>
<p><strong>Capitolo 4: Configurazione del database</strong></p>
<p>Innanzitutto configuriamo il nostro database, editando il file <em>config/database.yml </em>tenendo conto della configurazione del nostro database.</p>
<p><code>development:<br />
adapter: mysql<br />
database: warehouse_development<br />
username: root<br />
password:<br />
host: localhost<br />
# Warning: The database defined as &#8216;test&#8217; will be erased and<br />
# re-generated from your development database when you run &#8216;rake&#8217;.<br />
# Do not set this db to the same as development or production.<br />
test:<br />
adapter: mysql<br />
database: warehouse_test<br />
username: root<br />
password:<br />
host: localhost<br />
production:<br />
adapter: mysql<br />
database: warehouse_production<br />
username: root<br />
password:<br />
host: localhost</code></p>
<p><span id="more-93"></span>Creiamo il db:</p>
<p><code>rake db:create:all</code></p>
<p><strong>Capitolo 5: Definizione del modello dei dati</strong></p>
<p>Passiamo alla definizione del modello dei dati della nostra applicazione. Consideriamo le tabelle di cui abbiamo bisogno e creiamo i file di definizione relativi utilizzando i comandi:<br />
<code><br />
ruby script/generate migration create_supplier<br />
ruby script/generate migration create_people<br />
ruby script/generate migration create_invoices<br />
ruby script/generate migration create_articles</code><code><br />
</code></p>
<p>Editiamo, ora, i file per la creazione delle tabelle nella directory <code>db/migrate/</code></p>
<p><strong>001_create_suppliers.rb</strong><br />
<code>class CreateSuppliers &lt; ActiveRecord::Migration<br />
def self.up<br />
create_table :suppliers do |table|<br />
table.column :name, :string, :limit =&gt; 20, :null =&gt; false, :default =&gt; &#8220;&#8221;<br />
table.column :address, :text<br />
table.column :telephone, :string, :limit =&gt; 20<br />
table.column :reference, :text<br />
table.column :category, :string, :limit =&gt; 20<br />
end<br />
add_index :suppliers, :name, :unique<br />
end<br />
def self.down<br />
drop_table :suppliers<br />
end<br />
end</code></p>
<p><strong>002_create_people.rb</strong><br />
<code>class CreatePeople &lt; ActiveRecord::Migration<br />
def self.up<br />
create_table :people do |table|<br />
table.column :surname, :string, :limit =&gt; 30, :null =&gt; false<br />
table.column :name, :string, :limit =&gt; 30, :null =&gt; false<br />
table.column :location, :string, :limit =&gt; 20<br />
table.column :telephone, :string, :limit =&gt; 20<br />
table.column :gruppo, :string, :limit =&gt; 20<br />
end<br />
end<br />
def self.down<br />
drop_table :people<br />
end<br />
end<br />
</code></p>
<p><strong>003_create_invoices.rb</strong><br />
<code>class CreateInvoices &lt; ActiveRecord::Migration<br />
def self.up<br />
create_table :invoices do |table|<br />
table.column :number, :string, :limit =&gt; 20<br />
table.column :year, :integer<br />
table.column :data, :date<br />
table.column :supplier_id, :integer<br />
table.column :tipo, :string, :limit =&gt; 20<br />
end<br />
execute &#8216;ALTER TABLE invoices ADD CONSTRAINT fk_inv_suppliers_id FOREIGN KEY ( supplier_id ) REFERENCES suppliers( id ) &#8216;<br />
end<br />
def self.down<br />
drop_table :invoices<br />
end<br />
end</code></p>
<p><strong>004_create_articles.rb</strong><br />
<code>class CreateArticles &lt; ActiveRecord::Migration<br />
def self.up<br />
create_table :articles do |table|<br />
table.column :inventory_id, :string, :limit =&gt; 10 #numero di inventario<br />
table.column :invoice_id, :integer #id della fattura<br />
table.column :category, :string, :limit =&gt; 20, :null =&gt; false, :default =&gt; &#8220;&#8221;<br />
table.column :vendor, :string, :limit =&gt; 20, :null =&gt; false, :default =&gt; &#8220;&#8221; #marca<br />
table.column :model, :string, :limit =&gt; 30, :null =&gt; false, :default =&gt; &#8220;&#8221; #modello<br />
table.column :serial, :string, :limit =&gt; 30, :default =&gt; &#8220;&#8221; #serial number<br />
table.column :supplier_id, :integer, :null =&gt; false #fornitore<br />
table.column :purchase_date, :date #data di acquisto<br />
table.column :end_warranty_date, :date #fine della garanzia<br />
table.column :note, :text     #da usare per aggiungere altre informazioni<br />
table.column :state, :string, :limit =&gt; 20, :null =&gt; false #stato dell&#8217;item<br />
table.column :owner_id, :integer #proprietario<br />
end<br />
add_index :articles, :inventory_id, :unique<br />
execute &#8216;ALTER TABLE articles ADD CONSTRAINT fk_suppliers_id FOREIGN KEY ( supplier_id ) REFERENCES suppliers( id ) &#8216;<br />
execute &#8216;ALTER TABLE articles ADD CONSTRAINT fk_invoices_id FOREIGN KEY ( invoice_id ) REFERENCES invoices( id ) &#8216;<br />
end<br />
def self.down<br />
drop_table :articles<br />
end<br />
end</code></p>
<p>Ora creiamo le tabelle nel database utilizzando il comando:<br />
<code>rake db:migrate</code></p>
<p>Alla prossima puntata!!!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxjanot.wordpress.com/93/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxjanot.wordpress.com/93/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxjanot.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxjanot.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxjanot.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxjanot.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxjanot.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxjanot.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxjanot.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxjanot.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxjanot.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxjanot.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxjanot.wordpress.com&blog=503626&post=93&subd=maxjanot&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxjanot.wordpress.com/2008/07/01/creiamo-unapplicazione-web-con-rails-modello-dati/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/maxjanot-128.jpg" medium="image">
			<media:title type="html">maxjanot</media:title>
		</media:content>
	</item>
		<item>
		<title>Da dove arrivano i bambini?</title>
		<link>http://maxjanot.wordpress.com/2008/05/22/da-dove-arrivano-i-bambini/</link>
		<comments>http://maxjanot.wordpress.com/2008/05/22/da-dove-arrivano-i-bambini/#comments</comments>
		<pubDate>Thu, 22 May 2008 15:03:07 +0000</pubDate>
		<dc:creator>maxjanot</dc:creator>
		
		<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://maxjanot.wordpress.com/?p=102</guid>
		<description><![CDATA[
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img src="http://www.zoitz.com/comics/analogies.png" alt="" width="680" height="612" /></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxjanot.wordpress.com/102/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxjanot.wordpress.com/102/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxjanot.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxjanot.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxjanot.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxjanot.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxjanot.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxjanot.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxjanot.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxjanot.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxjanot.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxjanot.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxjanot.wordpress.com&blog=503626&post=102&subd=maxjanot&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxjanot.wordpress.com/2008/05/22/da-dove-arrivano-i-bambini/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/maxjanot-128.jpg" medium="image">
			<media:title type="html">maxjanot</media:title>
		</media:content>

		<media:content url="http://www.zoitz.com/comics/analogies.png" medium="image" />
	</item>
		<item>
		<title>Wife</title>
		<link>http://maxjanot.wordpress.com/2008/05/19/wife/</link>
		<comments>http://maxjanot.wordpress.com/2008/05/19/wife/#comments</comments>
		<pubDate>Mon, 19 May 2008 14:56:34 +0000</pubDate>
		<dc:creator>maxjanot</dc:creator>
		
		<category><![CDATA[Humor]]></category>

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

		<guid isPermaLink="false">http://maxjanot.wordpress.com/?p=101</guid>
		<description><![CDATA[
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img src="http://mirror7.escomposlinux.org/comic/ecol-160-e.png" alt="" width="700" height="240" /></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxjanot.wordpress.com/101/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxjanot.wordpress.com/101/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxjanot.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxjanot.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxjanot.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxjanot.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxjanot.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxjanot.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxjanot.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxjanot.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxjanot.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxjanot.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxjanot.wordpress.com&blog=503626&post=101&subd=maxjanot&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxjanot.wordpress.com/2008/05/19/wife/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/maxjanot-128.jpg" medium="image">
			<media:title type="html">maxjanot</media:title>
		</media:content>

		<media:content url="http://mirror7.escomposlinux.org/comic/ecol-160-e.png" medium="image" />
	</item>
		<item>
		<title>Project Management</title>
		<link>http://maxjanot.wordpress.com/2008/01/15/project-management/</link>
		<comments>http://maxjanot.wordpress.com/2008/01/15/project-management/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 09:16:13 +0000</pubDate>
		<dc:creator>maxjanot</dc:creator>
		
		<category><![CDATA[Humor]]></category>

		<category><![CDATA[project management]]></category>

		<guid isPermaLink="false">http://maxjanot.wordpress.com/2008/01/15/project-management/</guid>
		<description><![CDATA[Un must assoluto.

       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Un must assoluto.</p>
<p><span style="text-align:center; display: block;"><a href="http://maxjanot.wordpress.com/2008/01/15/project-management/"><img src="http://img.youtube.com/vi/ioZ-Qqf_ZSs/2.jpg" alt="" /></a></span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxjanot.wordpress.com/99/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxjanot.wordpress.com/99/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxjanot.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxjanot.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxjanot.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxjanot.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxjanot.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxjanot.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxjanot.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxjanot.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxjanot.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxjanot.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxjanot.wordpress.com&blog=503626&post=99&subd=maxjanot&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxjanot.wordpress.com/2008/01/15/project-management/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/maxjanot-128.jpg" medium="image">
			<media:title type="html">maxjanot</media:title>
		</media:content>

		<media:content url="http://img.youtube.com/vi/ioZ-Qqf_ZSs/2.jpg" medium="image" />
	</item>
		<item>
		<title>Sistemiamo il plugin per Pidgin di Avant Window Navigator</title>
		<link>http://maxjanot.wordpress.com/2008/01/14/sistemiamo-il-plugin-per-pidgin-di-awn/</link>
		<comments>http://maxjanot.wordpress.com/2008/01/14/sistemiamo-il-plugin-per-pidgin-di-awn/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 19:57:34 +0000</pubDate>
		<dc:creator>carseblog</dc:creator>
		
		<category><![CDATA[Howto]]></category>

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

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

		<guid isPermaLink="false">http://maxjanot.wordpress.com/2008/01/14/sistemiamo-il-plugin-per-pidgin-di-awn/</guid>
		<description><![CDATA[ 	 	 	 	 	 	 	 	
Chi, come me, non può più fare a meno di AWN, conoscerà sicuramente gli extra (applet, plugin) che è possibile aggiungere per arricchirlo e renderlo sempre più funzionale.
Tra i plugin che uso abitualmente, ci sono l&#8217;artdisplay per Rhythmbox, che sostituisce la vostra icona  del lettore con [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p> 	 	 	 	 	 	 	 	<!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--></p>
<p style="margin-bottom:0;" align="justify">Chi, come me, non può più fare a meno di AWN, conoscerà sicuramente gli extra (applet, plugin) che è possibile aggiungere per arricchirlo e renderlo sempre più funzionale.</p>
<p style="margin-bottom:0;" align="justify">Tra i plugin che uso abitualmente, ci sono l&#8217;artdisplay per Rhythmbox, che sostituisce la vostra icona  del lettore con la copertina dell&#8217;album che state ascoltando, e quello per Pidgin, in modo da avere sempre sott&#8217;occhio lo stato del vostro contatto ed il numero di messaggi eventualmente ricevuti ma non ancora letti; insomma quelle info che potreste togliere dall&#8217;area di notifica. Niente d&#8217;indispensabile, certo! , ma è lo stesso AWN a non essere indispensabile!</p>
<p><span id="more-95"></span><br />
<title></title>       	 	 	 	 	 	 	 	<!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--></p>
<p style="margin-bottom:0;" align="justify">Chi tra voi avrà provato ad utilizzare la versione di sviluppo di quest&#8217;ultimo (prelevandolo dal bazar del progetto, oppure installandosi direttamente il pacchetto da un qualche repository), si sarà accorto che il funzionamento non è propriamente corretto: all&#8217;avvio di Pidgin, la testa di piccione viene sostituita dall&#8217;icona che rappresenta lo stato di <i>connecting</i><span style="font-style:normal;">, e, anche una volta stabilita la connessione coi vostri network di IM, essa permane indipendentemente dallo stato corrente (</span><i>disponibile, assente, non disturbare</i><span style="font-style:normal;">, ecc.): siete loggati ma per AWN è come se foste ancora in connessione!</span></p>
<p><title></title> 	 	 	 	 	 	 	 	<!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--></p>
<p style="margin-bottom:0;font-style:normal;" align="justify"><span style="font-style:normal;">Mi sono accorto della magagna che era estate, ho atteso pigramente dei mesi che qualcuno segnalasse la cosa e qualcun altro la sistemasse. Poi durante feste natalizie, tra una fetta di panettone e l&#8217;altra, mi sono deciso a infilare il grugno nei sorgenti incriminati (potere del software libero!). Il fault è chiaramente una banale svista di programmazione: per rimettere a posto le cose è sufficiente procurarsi i sorgenti </span></p>
<p><code>sudo apt-get install libgnome-menu-dev librsvg2-dev libgtop2-dev libsexy-dev libnotify-dev python-alsaaudio python-libgmail libvte-dev<br />
bzr co http://bazaar.launchpad.net/~awn-extras/awn-extras/trunk/ awn-extras<span style="font-style:normal;"></span></code></p>
<p style="margin-bottom:0;font-style:normal;" align="justify"><span style="font-style:normal;"> ed aprire il file </span><i>awn-extras/awn-plugins/pidgin/pidgin_awn.c</i><span style="font-style:normal;"> con il vostro editor preferito, spostatevi fin sulla riga 269 e sostituite</span></p>
<p><code>AwnStatus newstatus = AWN_STATUS_CONNECTING;</code></p>
<p style="margin-bottom:0;font-style:normal;" align="justify">con</p>
<p><code>AwnStatus newstatus = AWN_STATUS_OFFLINE;</code></p>
<p style="margin-bottom:0;font-style:normal;" align="justify">Voila, tanto basta! Compilate il solo plugin con <i>&#8216;make</i>&#8216; ed installate con &#8216;<i>sudo make install</i>&#8216;, ovviamente avendo l&#8217;accortezza di soddisfare preventivamente tutte le dipendenze.</p>
<p style="margin-bottom:0;" align="justify"><span style="font-style:normal;">Ah, dimenticavo: se anche voi avete pidgin installato in un path diverso da /usr (ad esempio se l&#8217;avete compilato da sorgenti; nei repo di Feisty c&#8217;è gaim), prima della compilazione ricordatevi di correggere anche le righe dalla 34 alla 41 di </span><i>pidgin_awn.h</i></p>
<p><code>#define PATH_IMG_AWAY "/usr/share/pixmaps/pidgin/tray/48/tray-away.png"<br />
#definePATH_IMG_EXTENDED_AWAY &#8220;/usr/share/pixmaps/pidgin/tray/48/tray-extended-away.png&#8221;<br />
#define PATH_IMG_BUSY &#8220;/usr/share/pixmaps/pidgin/tray/48/tray-busy.png&#8221;<br />
#define PATH_IMG_CONNECTING &#8220;/usr/share/pixmaps/pidgin/tray/48/tray-connecting.png&#8221;<br />
#define PATH_IMG_OFFLINE &#8220;/usr/share/pixmaps/pidgin/tray/48/tray-offline.png&#8221;<br />
#define PATH_IMG_ONLINE &#8220;/usr/share/pixmaps/pidgin/tray/48/tray-online.png&#8221;<br />
#define PATH_IMG_INVISIBLE &#8220;/usr/share/pixmaps/pidgin/tray/48/tray-invisible.png&#8221;<br />
#define PATH_IMG_NEW_IM  &#8220;/usr/share/pixmaps/pidgin/tray/48/tray-new-im.png&#8221;</code></p>
<p>col path corretto.</p>
<p style="margin-bottom:0;" align="justify"><a href="http://maxjanot.files.wordpress.com/2008/01/pidgin_awn.jpg" title="pidgin_awn.jpg"><img src="http://maxjanot.files.wordpress.com/2008/01/pidgin_awn.jpg?w=666&h=72" alt="pidgin_awn.jpg" height="72" width="666" /></a></p>
<p style="margin-bottom:0;" align="justify">Ecco fatto, dovreste aver ottenuto lo stesso risultato che vedete qui sopra. Avete appena finito di <a href="http://www.gnu.org/philosophy/free-sw.html">&#8220;studiare i sorgenti per adattarli alle vostre esigenze&#8221;</a>: Stallman sarebbe fiero di voi <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxjanot.wordpress.com/95/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxjanot.wordpress.com/95/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxjanot.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxjanot.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxjanot.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxjanot.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxjanot.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxjanot.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxjanot.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxjanot.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxjanot.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxjanot.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxjanot.wordpress.com&blog=503626&post=95&subd=maxjanot&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxjanot.wordpress.com/2008/01/14/sistemiamo-il-plugin-per-pidgin-di-awn/feed/</wfw:commentRss>
	
		<media:content url="http://maxjanot.files.wordpress.com/2008/01/pidgin_awn.jpg" medium="image">
			<media:title type="html">pidgin_awn.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Su Tuxfeed anche io</title>
		<link>http://maxjanot.wordpress.com/2008/01/14/su-tuxfeed-anche-io/</link>
		<comments>http://maxjanot.wordpress.com/2008/01/14/su-tuxfeed-anche-io/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 10:24:05 +0000</pubDate>
		<dc:creator>maxjanot</dc:creator>
		
		<category><![CDATA[Linux]]></category>

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

		<guid isPermaLink="false">http://maxjanot.wordpress.com/2008/01/14/su-tuxfeed-anche-io/</guid>
		<description><![CDATA[Stamattina ho aperto la posta e&#8230; sorpresa!!! Mi è arrivata una email da parte di Tuxfeed che mi avvisava di essere stato inserito tra i membri del più grande aggregatore di blog inerenti alle tematiche del pinguino! Come non essere contenti?

Mi raccomando aggiungete tuxfeed al vostro aggregatore di news!!!
       [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Stamattina ho aperto la posta e&#8230; sorpresa!!! Mi è arrivata una email da parte di <a href="http://www.tuxfeed.it/" title="Tuxfeed" target="_blank">Tuxfeed</a> che mi avvisava di essere stato inserito tra i membri del più grande aggregatore di blog inerenti alle tematiche del pinguino! Come non essere contenti?</p>
<p style="text-align:center;"><img src="http://www.tuxfeed.it/wp-content/uploads/2008/01/logo.gif" height="101" width="250" /></p>
<p>Mi raccomando aggiungete tuxfeed al vostro aggregatore di news!!!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxjanot.wordpress.com/94/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxjanot.wordpress.com/94/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxjanot.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxjanot.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxjanot.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxjanot.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxjanot.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxjanot.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxjanot.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxjanot.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxjanot.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxjanot.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxjanot.wordpress.com&blog=503626&post=94&subd=maxjanot&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxjanot.wordpress.com/2008/01/14/su-tuxfeed-anche-io/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/maxjanot-128.jpg" medium="image">
			<media:title type="html">maxjanot</media:title>
		</media:content>

		<media:content url="http://www.tuxfeed.it/wp-content/uploads/2008/01/logo.gif" medium="image" />
	</item>
		<item>
		<title>Le ultime parole famose</title>
		<link>http://maxjanot.wordpress.com/2008/01/04/le-ultime-parole-famose/</link>
		<comments>http://maxjanot.wordpress.com/2008/01/04/le-ultime-parole-famose/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 15:08:41 +0000</pubDate>
		<dc:creator>maxjanot</dc:creator>
		
		<category><![CDATA[Humor]]></category>

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

		<guid isPermaLink="false">http://maxjanot.wordpress.com/2008/01/04/le-ultime-parole-famose/</guid>
		<description><![CDATA[      &#8220;Computers in the future may weigh no more than 1.5 tons.&#8221;      &#8211;Popular Mechanics, forecasting the relentless march of science, 1949
&#8220;I think there is a world market for maybe five computers.&#8221;      &#8211;Thomas Watson, Chairman of IBM, 1943
&#8220;I have traveled the [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>      &#8220;Computers in the future may weigh no more than 1.5 tons.&#8221;      &#8211;Popular Mechanics, forecasting the relentless march of science, 1949</p>
<p>&#8220;I think there is a world market for maybe five computers.&#8221;      &#8211;Thomas Watson, Chairman of IBM, 1943</p>
<p>&#8220;I have traveled the length and breadth of this country and talked     with the best people, and I can assure you that data processing is     a fad that won&#8217;t last out the year.&#8221;      &#8211;The editor in charge of business books for Prentice Hall, 1957</p>
<p>&#8220;But what &#8230; is it good for?&#8221;      &#8211;Engineer at the Advanced Computing Systems Division of IBM,      1968, commenting on the microchip.</p>
<p>&#8220;There is no reason anyone would want a computer in their home.&#8221;      &#8211;Ken Olson, president, chairman and founder of Digital Equipment      Corp., 1977</p>
<p>&#8220;This &#8216;telephone&#8217; has too many shortcomings to be seriously     considered as a means of communication. The device is inherently     of no value to us.&#8221;      &#8211;Western Union internal memo, 1876.</p>
<p>&#8220;The wireless music box has no imaginable commercial value. Who     would pay for a message sent to nobody in particular?&#8221;      &#8211;David Sarnoff&#8217;s associates in response to his urgings for      investment in the radio in the 1920s.</p>
<p>&#8220;The concept is interesting and well-formed, but in order to earn     better than a &#8216;C,&#8217; the idea must be feasible.&#8221;      &#8211;A Yale University management professor in response to Fred      Smith&#8217;s paper proposing reliable overnight delivery service.      (Smith went on to found Federal Express Corp.)</p>
<p>&#8220;Who the hell wants to hear actors talk?&#8221;      &#8211;H.M. Warner, Warner Brothers, 1927.</p>
<p><span id="more-92"></span>&#8220;I&#8217;m just glad it&#8217;ll be Clark Gable who&#8217;s falling on his face and     not Gary Cooper.&#8221;      &#8211;Gary Cooper on his decision not to take the leading role in      &#8220;Gone With The Wind.&#8221;</p>
<p>&#8220;A cookie store is a bad idea.  Besides, the market research     reports say America likes crispy cookies, not soft and chewy     cookies like you make.&#8221;      &#8211;Response to Debbi Fields&#8217; idea of starting Mrs. Fields&#8217; Cookies.</p>
<p>&#8220;We don&#8217;t like their sound, and guitar music is on the way out.&#8221;      &#8211;Decca Recording Co. rejecting the Beatles, 1962.</p>
<p>&#8220;Heavier-than-air flying machines are impossible.&#8221;      &#8211;Lord Kelvin, president, Royal Society, 1895.</p>
<p>&#8220;If I had thought about it, I wouldn&#8217;t have done the experiment.     The literature was full of examples that said you can&#8217;t do this.&#8221;      &#8211;Spencer Silver on the work that led to the unique adhesives for      3-M &#8220;Post-It&#8221; Notepads.</p>
<p>&#8220;So we went to Atari and said, &#8216;Hey, we&#8217;ve got this amazing thing,     even built with some of your parts, and what do you think about     funding us? Or we&#8217;ll give it to you. We just want to do it. Pay     our salary, we&#8217;ll come work for you.&#8217; And they said, &#8216;No.&#8217; So then     we went to Hewlett-Packard, and they said, &#8216;Hey, we don&#8217;t need     you. You haven&#8217;t got through college yet.&#8217;&#8221;      &#8211;Apple Computer Inc. founder, Steve Jobs, on attempts to get      Atari and H-P interested in his and Steve Wozniak&#8217;s personal      computer.</p>
<p>&#8220;Professor Goddard does not know the relation between action and     reaction and the need to have something better than a vacuum     against which to react. He seems to lack the basic knowledge     ladled out daily in high schools.&#8221;      &#8211;1921 New York Times editorial about Robert Goddard&#8217;s      revolutionary rocket work.</p>
<p>&#8220;You want to have consistent and uniform muscle development across     all of your muscles? It can&#8217;t be done. It&#8217;s just a fact of life.     You just have to accept inconsistent muscle development as an     unalterable condition of weight training.&#8221;      &#8211;Response to Arthur Jones, who solved the &#8220;unsolvable&#8221; problem      by inventing Nautilus.</p>
<p>&#8220;Drill for oil? You mean drill into the ground to try and find     oil? You&#8217;re crazy.&#8221;      &#8211;Drillers who Edwin L. Drake tried to enlist     to his project to drill for oil in 1859.</p>
<p>&#8220;Stocks have reached what looks like a permanently high plateau.&#8221;      &#8211;Irving Fisher, Professor of Economics, Yale University, 1929.</p>
<p>&#8220;Airplanes are interesting toys but of no military value.&#8221;      &#8211;Marechal Ferdinand Foch, Professor of Strategy, Ecole Superieure de      Guerre.</p>
<p>&#8220;Everything that can be invented has been invented.&#8221;      &#8211;Charles H. Duell, Commissioner, U.S. Office of Patents, 1899.</p>
<p>&#8220;Louis Pasteur&#8217;s theory of germs is ridiculous fiction&#8221;.      &#8211;Pierre Pachet, Professor of Physiology at Toulouse, 1872.</p>
<p>&#8220;The abdomen, the chest, and the brain will forever be shut from     the intrusion of the wise and humane surgeon&#8221;.      &#8211;Sir John Eric Ericksen, British surgeon, appointed Surgeon-      Extraordinary to Queen Victoria 1873.</p>
<p>&#8220;640K ought to be enough for anybody.&#8221;      &#8212; Bill Gates, 1981</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxjanot.wordpress.com/92/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxjanot.wordpress.com/92/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxjanot.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxjanot.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxjanot.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxjanot.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxjanot.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxjanot.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxjanot.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxjanot.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxjanot.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxjanot.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxjanot.wordpress.com&blog=503626&post=92&subd=maxjanot&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxjanot.wordpress.com/2008/01/04/le-ultime-parole-famose/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/maxjanot-128.jpg" medium="image">
			<media:title type="html">maxjanot</media:title>
		</media:content>
	</item>
		<item>
		<title>Creiamo un&#8217;applicazione web con Rails - Introduzione</title>
		<link>http://maxjanot.wordpress.com/2008/01/04/creiamo-unapplicazione-web-con-rails-introduzione/</link>
		<comments>http://maxjanot.wordpress.com/2008/01/04/creiamo-unapplicazione-web-con-rails-introduzione/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 10:40:13 +0000</pubDate>
		<dc:creator>maxjanot</dc:creator>
		
		<category><![CDATA[Howto]]></category>

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

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

		<category><![CDATA[applicazioni web]]></category>

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

		<guid isPermaLink="false">http://maxjanot.wordpress.com/2008/01/04/creiamo-unapplicazione-web-con-rails-introduzione/</guid>
		<description><![CDATA[Oggi vorrei cominciare una serie di articoli che hanno lo scopo di prendere dimestichezza con il linguaggio di programmazione Ruby ed in particolare con il framework Rails, mediante la realizzazione di un&#8217;applicazione per la gestione di un magazzino, che utilizza come backend un database MySQL (che supponiamo sia già installato e funzionante).
L&#8217;applicazione dovrà gestire non [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Oggi vorrei cominciare una serie di articoli che hanno lo scopo di prendere dimestichezza con il linguaggio di programmazione <a href="http://programmazione.it/index.php?entity=eitem&amp;idItem=35735" target="_blank">Ruby </a>ed in particolare con il framework <a href="http://programmazione.html.it/guide/leggi/123/guida-ruby-on-rails/">Rails</a>, mediante la realizzazione di un&#8217;applicazione per la gestione di un magazzino, che utilizza come backend un database MySQL (che supponiamo sia già installato e funzionante).</p>
<p>L&#8217;applicazione dovrà gestire non solo i prodotti e i fornitori, ma anche le assegnazioni di materiale, le assistenze (interne ed esterne) ed il software caricato sulle macchine.</p>
<p><strong>Capitolo 1: Installazione</strong></p>
<p>Ovviamente la prima cosa da fare è installare l&#8217;interprete ruby.</p>
<p><code>sudo apt-get install ruby rdoc irb libyaml-ruby libzlib-ruby ri libopenssl-ruby</code></p>
<p>Installiamo, poi, RubyGems dai sorgenti<br />
<code><br />
wget http://rubyforge.org/frs/download.php/29548/rubygems-1.0.1.tgz<br />
tar xzvf rubygems-1.0.1.tgz<br />
cd rubygems-1.0.1<br />
sudo ruby setup.rb<br />
sudo gem update &#8211;system</code></p>
<p><span id="more-91"></span>Installiamo, ora, Rails e le sue dipendenze</p>
<p><code>sudo gem install rails -y</code></p>
<p>Infine, installiamo <a href="http://mongrel.rubyforge.org/">mongrel</a></p>
<p><code>sudo apt-get install build-essential<br />
sudo apt-get install ruby1.8-dev<br />
sudo gem install mongrel</code></p>
<p><strong>Capitolo 2: Creazione del progetto</strong></p>
<p>Passiamo alla fase successiva e creiamo il progetto dell&#8217;applicazione. Per creare le nostre applicazioni abbiamo a disposizione un comodo strumento (chiamato giustamente rails) che permette di creare lo scheletro del progetto in brevissimo tempo. Il comando rails prevede tre principali opzioni:</p>
<ul>
<li>-r (per modificare il path per raggiungere i binari di ruby)</li>
<li>-d (per pre-configurare il database a supporto della nostra applicazione – accetta mysql/oracle/postgresql/sqlite2/sqlite3 -  di default è valorizzata a sqlite3)</li>
<li> -f (per congelare la versione corrente di rails che rimarrà l’attuale anche in caso di aggiornamenti)</li>
</ul>
<p>Ora per creare la nostra prima applicazione basterà digitare:</p>
<p><code>rails -d mysql warehouse</code></p>
<p>Questo comando creerà una cartella di nome <em>warehouse</em> al cui interno verranno create le sottocartelle di progetto e i primi file. Una volta creata l’applicazione basterà attivare il server mongrel con:</p>
<p><code>cd warehouse<br />
script/server</code></p>
<p>e collegarsi tramite browser all&#8217;indirizzo <em>http://localhost:3000 ottenendo la schermata seguente<br />
</em></p>
<p><img src="http://www.powertrip.co.za/blog/archives/ruby-on-rails-intial-env-thumb.jpg" alt="" width="400" height="300" /></p>
<p>Bene, adesso siamo pronti per cominciare. Ma, un po&#8217; di pazienza&#8230; ci sentiamo alla <a href="http://maxjanot.wordpress.com/2008/07/01/creiamo-unapplicazione-web-con-rails-modello-dati/">prossima</a> puntata!!!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxjanot.wordpress.com/91/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxjanot.wordpress.com/91/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxjanot.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxjanot.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxjanot.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxjanot.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxjanot.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxjanot.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxjanot.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxjanot.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxjanot.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxjanot.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxjanot.wordpress.com&blog=503626&post=91&subd=maxjanot&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxjanot.wordpress.com/2008/01/04/creiamo-unapplicazione-web-con-rails-introduzione/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/maxjanot-128.jpg" medium="image">
			<media:title type="html">maxjanot</media:title>
		</media:content>

		<media:content url="http://www.powertrip.co.za/blog/archives/ruby-on-rails-intial-env-thumb.jpg" medium="image" />
	</item>
		<item>
		<title>Howto: configurare un media server iTunes-compatible in Ubuntu</title>
		<link>http://maxjanot.wordpress.com/2008/01/03/howto-configurare-un-media-server-itunes-compatible-in-ubuntu/</link>
		<comments>http://maxjanot.wordpress.com/2008/01/03/howto-configurare-un-media-server-itunes-compatible-in-ubuntu/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 15:27:53 +0000</pubDate>
		<dc:creator>maxjanot</dc:creator>
		
		<category><![CDATA[Howto]]></category>

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

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

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

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

		<guid isPermaLink="false">http://maxjanot.wordpress.com/2008/01/03/howto-configurare-un-media-server-itunes-compatible-in-ubuntu/</guid>
		<description><![CDATA[Firefly media server è un server DAAP compatibile con la maggior parte dei sistemi operativi POSIX. Consente di condividere librerie musicali attraverso una rete locale utilizzando lo stesso protocollo utilizzato da iTunes.
Nel caso in cui la musica fosse in un formato esoterico come FLAC, Ogg Vorbis o altri, possiamo convertirla al volo in formati differenti [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.fireflymediaserver.org/" target="_blank">Firefly media server</a> è un server <a href="http://en.wikipedia.org/wiki/Digital_Audio_Access_Protocol" target="_blank">DAAP</a> compatibile con la maggior parte dei sistemi operativi POSIX. Consente di condividere librerie musicali attraverso una rete locale utilizzando lo stesso protocollo utilizzato da iTunes.</p>
<p>Nel caso in cui la musica fosse in un formato esoterico come <a href="http://en.wikipedia.org/wiki/Digital_Audio_Access_Protocol" target="_blank">FLAC</a>, <a href="http://it.wikipedia.org/wiki/Ogg_vorbis" target="_blank">Ogg Vorbis</a> o altri, possiamo convertirla al volo in formati differenti (solitamente WAV), in questo modo tutta la libreria musicale può essere ascoltata dai normali client iTunes.<span class="fullpost">Fornisce inoltre un interfaccia web che può essere utilizzata per controllare i componenti del server e creare le playlist.</span></p>
<p><b>Preparazione del sistema<br />
</b></p>
<p>Prima di tutto installare il supporto ai <a href="http://it.wikipedia.org/wiki/ID3_tag" target="_blank">tag ID3</a> (così che il server possa leggere i file mp3):</p>
<p><code>sudo apt-get install libid3tag0</code></p>
<p>Poi installiamo il server:</p>
<p><code>sudo apt-get install mt-daapd</code></p>
<p><span id="more-90"></span><b>Configuriamo mt-daap </b></p>
<p>Il file di configurazione è posizionato in /etc/mt-daap.conf. Una volta fatte le modifiche possiamo testare il file utilizzando il comando:</p>
<p><code>sudo mt-daapd -f</code></p>
<p>Inoltre dobbiamo ricordare di aggiungere il demone <a href="http://en.wikipedia.org/wiki/Avahi_(software)">Avahi</a> agli script di  startup con il comando:</p>
<p><code>sudo update-rc.d avahi-daemon defaults</code></p>
<p>che fornisce mt-daapd dei servizi Apple ZeroConf (anche conosciuti come &#8220;Rendezvous&#8221; o &#8220;<a href="http://it.wikipedia.org/wiki/Bonjour">Bonjour</a>&#8220;). Altrimenti i client iTunes non saranno in grado di trovare il server mt-daap anche se questi funzioni correttamente.</p>
<p>Per abilitare le smart playlist bisogna utilizzare l&#8217;interfaccia di amministrazioneall&#8217;indirizzo http://localhost:3689 ed inserire user (admin) e password (quella indicata nel file mt-daapd.conf).</p>
<p><img src="http://www.ubuntugeek.com/images/mt/1.png" align="middle" /></p>
<p>Possiamo editare le smart playlist nella sezione apposita direttamente o utilizzando un wizard.</p>
<p><img src="http://www.ubuntugeek.com/images/mt/2.png" align="middle" /></p>
<p>Screen di configurazione.</p>
<p><img src="http://www.ubuntugeek.com/images/mt/3.png" align="middle" height="557" width="832" /></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxjanot.wordpress.com/90/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxjanot.wordpress.com/90/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxjanot.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxjanot.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxjanot.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxjanot.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxjanot.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxjanot.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxjanot.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxjanot.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxjanot.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxjanot.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxjanot.wordpress.com&blog=503626&post=90&subd=maxjanot&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxjanot.wordpress.com/2008/01/03/howto-configurare-un-media-server-itunes-compatible-in-ubuntu/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/maxjanot-128.jpg" medium="image">
			<media:title type="html">maxjanot</media:title>
		</media:content>

		<media:content url="http://www.ubuntugeek.com/images/mt/1.png" medium="image" />

		<media:content url="http://www.ubuntugeek.com/images/mt/2.png" medium="image" />

		<media:content url="http://www.ubuntugeek.com/images/mt/3.png" medium="image" />
	</item>
	</channel>
</rss>