<?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>Naufraghi nella rete</title>
	<atom:link href="http://www.slug.it/naufraghi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.slug.it/naufraghi</link>
	<description>… dolce m’è il naufragar in questo mare?</description>
	<lastBuildDate>Fri, 03 Feb 2012 16:10:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<meta xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" />
		<item>
		<title>Flessibilità e precarietà</title>
		<link>http://www.slug.it/naufraghi/flessibilita-e-precarieta/</link>
		<comments>http://www.slug.it/naufraghi/flessibilita-e-precarieta/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 14:30:26 +0000</pubDate>
		<dc:creator>Matteo</dc:creator>
				<category><![CDATA[Generale]]></category>
		<category><![CDATA[economia]]></category>
		<category><![CDATA[italia]]></category>
		<category><![CDATA[piangere]]></category>
		<category><![CDATA[società]]></category>

		<guid isPermaLink="false">http://www.slug.it/naufraghi/?p=595</guid>
		<description><![CDATA[Ieri alla manifestazione &#8220;Il nostro tempo è adesso&#8221; a Torino, c&#8217;erano tante persone. Non tantissime, ma si può considerare un buon successo, in fondo è un movimento nuovo, senza bandiera politica, che non difende se stesso ma lotta perché certe &#8230; <a href="http://www.slug.it/naufraghi/flessibilita-e-precarieta/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.slug.it/naufraghi/wp-content/uploads/il-nostro-tempo-e-adesso.jpg"><img class="size-full wp-image-596 alignright" title="il-nostro-tempo-e-adesso" src="http://www.slug.it/naufraghi/wp-content/uploads/il-nostro-tempo-e-adesso.jpg" alt="" width="400" height="266" /></a>Ieri alla manifestazione &#8220;<a title="Il Nostro Tempo è Adesso" href="http://www.ilnostrotempoeadesso.it/">Il nostro tempo è adesso</a>&#8221; a Torino, c&#8217;erano tante persone.</p>
<p>Non tantissime, ma si può considerare un buon successo, in fondo è un movimento nuovo, senza bandiera politica, che non difende se stesso ma lotta perché certe realtà in Italia non esistano più.</p>
<p><em>Ma&#8230; cosa chiede un precario? Più che altro cosa rivendica?</em></p>
<p><strong>Ogni precario afferma che non è giusto che un lavoratore con meno diritti guadagni meno di un lavoratore più tutelato.</strong> Semplice, banale, come nel gioco, se rischi vuoi un guadagno proporzionale al rischio, altrimenti non giochi.</p>
<p>Il problema è quando non si può scegliere come giocare, non si può scegliere tra uno stipendio modesto ma sicuro ed uno stipendio alto ma rischioso. Tutti devono giocare rischiando tanto e guadagnando poco.</p>
<p>&#8230; tutti, poi qualcuno passa con la fotocopia gigante della pagina di giornale con la liquidazione milionaria di Geronzi ed allora emerge chiaramente che esiste il concetto di flessibilità, manca la volontà politica di creare lavoro flessibile. Molto più economico il lavoro precario.</p>
<p>Perché la scusa è sempre quella, non ci sono i soldi per garantire alle nuove generazioni i diritti delle vecchie. Solo che questi conti vengono fatti ogni anno giusto allo scadere dei termini per presentare la nuova legge finanziaria, sono mera contabilità e mancano dell&#8217;ampio ampio respiro che tutti si aspetterebbero.</p>
<p>E questo è un danno, per tutti:</p>
<ul>
<li>E&#8217; un danno per i <strong>giovani</strong>, perché non hanno modo di realizzarsi come persone, dipendono di genitori, non possono prendersi un mutuo, non hanno il coraggio di avere figli e di farsi una famiglia perché non possono contare sul fatto di veder apprezzate le proprie capacità.</li>
<li>E&#8217; un danno per la <strong>pubblica amministrazione/assistenza</strong> che ai precari deve la propria operatività. Pochi contabilizzano i milioni di euro nascosti nella continua formazione dei nuovi precari che vanno a sostituire i precedenti. Quando si parlava di formazione continua non credevo s&#8217;intendesse questo.</li>
<li>E&#8217; un danno per le <strong>imprese</strong>, che vorrebbero fare piani di sviluppo su più anni, ma non c&#8217;è Governo che non faccia leggi retroattive, marcia indietro su promesse fatte, magari scrivendo leggi convolute e incomplete. E questo non solo svantaggia le imprese italiane sui mercati, ma scoraggia anche gli investimenti stranieri.</li>
<li>E&#8217; un danno per l&#8217;<strong>Italia</strong>, perché tanti validi giovani intraprendenti, formati a spese di tutti gli italiani, scappano e vanno a firmare brevetti, a fondare aziende, a far guadagnare un altro Stato che nulla ha speso per la loro formazione ma che ne gode i frutti.</li>
</ul>
<p>Anche il Ministro della Gioventù Meloni condivide tutte le ragioni della protesta in una sua <a title="Lettera aperta del ministro della Gioventù ai manifestanti del 9 aprile" href="http://www.facebook.com/note.php?note_id=10150161386788872">nota su facebook</a>, anche se conclude in modo un po&#8217; misero con le solite attenzioni a <em>non farsi strumentalizzare</em>. Forse non ha capito che non si tratta di essere strumentalizzati, si tratta proprio di essere sfruttati. E non il giorno della protesta, i 100 giorni precedenti e, se altri che sono al potere parlano senza agire, anche i 100 giorni successivi. Viene da chiedersi <a title="A chi stanno a cuore i precari?" href="http://www.noisefromamerika.org/index.php/articles/A_chi_stanno_a_cuore_i_precari%3F">A chi stanno a cuore i precari?</a></p>
<p>Alcuni passanti però scuotevano la testa, non rendendosi conto che lasciare un giovane senza futuro è ancor più tremendo che togliere ad un vecchio i suoi ricordi.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.slug.it/naufraghi/flessibilita-e-precarieta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>F2PY rulez!</title>
		<link>http://www.slug.it/naufraghi/f2py-rulez/</link>
		<comments>http://www.slug.it/naufraghi/f2py-rulez/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 18:37:36 +0000</pubDate>
		<dc:creator>Matteo</dc:creator>
				<category><![CDATA[Generale]]></category>
		<category><![CDATA[fortran]]></category>
		<category><![CDATA[informatica]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[software libero]]></category>

		<guid isPermaLink="false">http://www.slug.it/naufraghi/?p=567</guid>
		<description><![CDATA[I recently found some old Fortran code from the paper Algorithm AS197 A Fast Algorithm for the Exact Likelihood of Autoregressive-Moving Average Models (Melard 1984) [pdf] <pre></pre>

. I&#8217;m not very fluent in Fortran77 and I don&#8217;t like the idea of &#8230; <a href="http://www.slug.it/naufraghi/f2py-rulez/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently found some old Fortran code from the paper <em>Algorithm AS197 A Fast Algorithm for the Exact Likelihood of Autoregressive-Moving Average Models (Melard 1984)</em> [<a href="http://www.stat.berkeley.edu/classes/s244/as197.pdf">pdf</a>] [<a href="http://lib.stat.cmu.edu/apstat/197">code</a>].</p>
<p>I&#8217;m not very fluent in Fortran77 and I don&#8217;t like the idea of rewriting a well tested piece of code introducing new bugs, so why not give a try to <a href="http://www.scipy.org/F2py">F2PY</a>?</p>
<blockquote><p>F2PY is a tool that provides an easy connection between Python and Fortran languages. F2PY is part of <a href="http://www.scipy.org/NumPy">NumPy</a>.<br />
F2PY creates extension modules from (handwritten or F2PY generated) signature files or directly from Fortran sources.</p></blockquote>
<p><a href="http://www.slug.it/naufraghi/ingegneria/interface-legacy-fortran-code-from-python-with-f2py/">Continue&#8230;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.slug.it/naufraghi/f2py-rulez/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Insanabile frattura?</title>
		<link>http://www.slug.it/naufraghi/insanabile-frattura/</link>
		<comments>http://www.slug.it/naufraghi/insanabile-frattura/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 09:12:17 +0000</pubDate>
		<dc:creator>Matteo</dc:creator>
				<category><![CDATA[Generale]]></category>
		<category><![CDATA[berlusconi]]></category>
		<category><![CDATA[italia]]></category>
		<category><![CDATA[piangere]]></category>
		<category><![CDATA[politica]]></category>

		<guid isPermaLink="false">http://www.slug.it/naufraghi/?p=563</guid>
		<description><![CDATA[Libero News &#8211; Berlusconi accusa i pm: &#8220;Violata la costituzione&#8221; Questo tipo scrive in italiano, non è stato banalmente circuito dalla televisione, è proprio convinto di ciò che dice. Commento 73 &#124; Postato da premiumserramenti &#124; 20/01/2011 alle 10.06 ATTENZIONE &#8230; <a href="http://www.slug.it/naufraghi/insanabile-frattura/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.libero-news.it/news/650803/Berlusconi_accusa_i_pm___Violata_la_costituzione_.html">Libero News &#8211; Berlusconi accusa i pm: &#8220;Violata la costituzione&#8221;</a></p>
<p>Questo tipo scrive in italiano, non è stato banalmente circuito dalla televisione, è proprio convinto di ciò che dice.</p>
<blockquote><p>Commento 73 | Postato da premiumserramenti | 20/01/2011 alle 10.06</p>
<p>ATTENZIONE IL CAVALIERE E&#8217; L&#8217;UNICA BARRIERA AL COMUNISMO</p>
<p>certa magistratura lo vuole distruggere per questo, perchè è l&#8217;unico ostacolo all&#8217;invasione comunista. Senza di lui, è certo, il colpo di stato strisciante e l&#8217;instaurazione della dittatura del proletariato. Espulsione certa per gli imprenditori come Marchionne. E instaurazione del fancazzismo! Ci vuole ordine, ordine e ordine. Il Cavaliere è il garante di ciò. E la prova di quanto dico è che lo vogliono arrestare perchè è stato con più donne! Alla sua età, essere stato con più donne, è dimostrazione di essere un superuomo! Capito mezzepippe?!</p></blockquote>
<p>Queste sono le cose che non capisco.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.slug.it/naufraghi/insanabile-frattura/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Upgrade MacBook (13-inch, Mid 2010) Hard Disk</title>
		<link>http://www.slug.it/naufraghi/upgrade-macbook-13-inch-mid-2010-hard-disk/</link>
		<comments>http://www.slug.it/naufraghi/upgrade-macbook-13-inch-mid-2010-hard-disk/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 09:02:52 +0000</pubDate>
		<dc:creator>Matteo</dc:creator>
				<category><![CDATA[Generale]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.slug.it/naufraghi/?p=546</guid>
		<description><![CDATA[If you have a MacBook and you want a dual boot system, perhaps you will soon fill at least one of your partition., because unluckily HFS+ is writable only with journaling disabled from Linux (yes, this time the kernel without &#8230; <a href="http://www.slug.it/naufraghi/upgrade-macbook-13-inch-mid-2010-hard-disk/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you have a MacBook and you want a dual boot system, perhaps you will soon fill at least one of your partition., because unluckily HFS+ is writable only with journaling disabled from Linux (yes, this time the kernel without GNU!), and the same is for ext4 from OsX.</p>
<p>But this is not a problem! Storage is cheep!</p>
<p>The steps for a successful upgrade are:</p>
<ol>
<li>Buy a external HD (I found a <a href="http://www.amazon.co.uk/exec/obidos/ASIN/B001HAMNSY/naufranellare-20/">Trans 500GB StoreJet2.5in</a><img class=" ddqyidloofvwyysifeia ddqyidloofvwyysifeia ddqyidloofvwyysifeia ddqyidloofvwyysifeia ddqyidloofvwyysifeia ddqyidloofvwyysifeia" style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.co.uk/e/ir?t=naufrnellaret-21&amp;l=as2&amp;o=2&amp;a=B001HAMNSY" border="0" alt="" width="1" height="1" />, well done, easy to open, but you will have to «<a href="http://www.ifixit.com/Manifesto">remove the &#8216;do not remove&#8217; stickers</a>»)</li>
<li>Burn the latest <a title="Clonezilla" href="http://clonezilla.org/">Clonezilla</a> live CD</li>
<li>Follow the device-device mode and clone you disk (I had a 2GB/min average speed)</li>
<li>Follow the official <a title="MacBook Manuals" href="http://support.apple.com/manuals/#macbook">MacBook User Guide</a> to remove the old hard-disk from the MacBook.
<ol>
<li><img src="http://www.slug.it/naufraghi/wp-content/uploads/pliers.jpg" alt="pinze" title="pliers" width="50" height="50" class="alignright size-full wp-image-560" />The guide is ok, but if you don&#8217;t have the right tool to open the 4 mounting <a title="Tork head / Star key" href="http://en.wikipedia.org/wiki/Torx">Torx</a> screws placed on the disk itself, you can carefully use some pliers (as I did).</li>
</ol>
</li>
<li>Swap the drives and reboot.</li>
</ol>
<p>In my experience everything was ok, and I got a working copy of the disk with 250GB of unpartitioned space.</p>
<p>Now launch <tt>gdisk</tt> (GPT enabled <tt>fdisk</tt>), backup the GPT table and add the new partitions you want. I forgot to backup the GPT (you can&#8217;t backup it on the drive you are working on&#8230;), but luckily I took a picture of the partitions listing with my phone. That saved me from a complete failure <img src='http://www.slug.it/naufraghi/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Now it&#8217;s the turn of LVM2 and btrfs!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.slug.it/naufraghi/upgrade-macbook-13-inch-mid-2010-hard-disk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostgreSQL custom aggregate functions</title>
		<link>http://www.slug.it/naufraghi/postgresql-custom-aggregate-functions/</link>
		<comments>http://www.slug.it/naufraghi/postgresql-custom-aggregate-functions/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 22:48:50 +0000</pubDate>
		<dc:creator>Matteo</dc:creator>
				<category><![CDATA[Generale]]></category>
		<category><![CDATA[informatica]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://www.slug.it/naufraghi/?p=544</guid>
		<description><![CDATA[Aggregate functions compute a single result from a set of input values. Like sum() or count() they operate on one or more columns and multiple rows and output a single result. In PostgreSQL is quite easy to create a custom &#8230; <a href="http://www.slug.it/naufraghi/postgresql-custom-aggregate-functions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://developer.postgresql.org/pgdocs/postgres/functions-aggregate.html">Aggregate functions</a> compute a single result from a set of input values. Like <tt>sum()</tt> or <tt>count()</tt> they operate on one or more columns and multiple rows and output a single result.</p>
<p>In PostgreSQL is quite easy to create a <a href="http://developer.postgresql.org/pgdocs/postgres/xaggr.html">custom aggregate function</a>, the ingredients are:</p>
<ul>
<li>Create an aggregate function</li>
<li>Create a state update function</li>
<li>optional: create a final function</li>
</ul>
<p>For example, if we want to implement the <strong>avg</strong> function we can write:</p>
<pre>
CREATE AGGREGATE avg (float8)
(
    sfunc = float8_accum, -- {_count+=1, _sum+=value}
    stype = float8[],
    finalfunc = float8_avg, -- _sum / _count
    initcond = '{0,0}'
);
</pre>
<p>Now we need a bit more complex aggregate function to write&#8230;</p>
<p><a href="http://www.slug.it/naufraghi/ingegneria/postgresql-user-defined-aggregates/">continue&#8230;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.slug.it/naufraghi/postgresql-custom-aggregate-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

