<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>camestres.com</title>
	
	<link>http://blog.camestres.com</link>
	<description>so many things, so little time</description>
	<lastBuildDate>Fri, 30 Jul 2010 07:22:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/camestres" /><feedburner:info uri="camestres" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Ordinamento hash</title>
		<link>http://feedproxy.google.com/~r/camestres/~3/R3YEtYIIXQI/</link>
		<comments>http://blog.camestres.com/2010/07/30/ordinamento-hash/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 07:18:13 +0000</pubDate>
		<dc:creator>pm</dc:creator>
				<category><![CDATA[italian]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[programmazione]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://blog.camestres.com/?p=179</guid>
		<description><![CDATA[Recentemente ho dovuto affrontare il problema dell&#8217;ordinamento di hash. Un problema abbastanza comune: ordinamento di un elenco di comuni in base alla sigla della provincia e in base al nome del comune. Quindi abbiamo due ordinamenti, e, conseguentemente, due criteri di ordinamento. Il primo criterio di ordinamento non deve essere alfabetico; deve essere programmabile, dinamico, [...]]]></description>
			<content:encoded><![CDATA[<p>Recentemente ho dovuto affrontare il problema dell&#8217;ordinamento di hash. Un problema abbastanza comune: ordinamento di un elenco di comuni in base alla sigla della provincia e in base al nome del comune. Quindi abbiamo due ordinamenti, e, conseguentemente, due criteri di ordinamento. Il primo criterio di ordinamento non deve essere alfabetico; deve essere programmabile, dinamico, non deciso a priori. Il secondo deve essere alfabetico.</p>
<p>Elenco risorse:</p>
<p><a href="http://java.sun.com/docs/books/tutorial/collections/interfaces/order.html">Tutorial Sun sulle Collections</a></p>
<img src="http://feeds.feedburner.com/~r/camestres/~4/R3YEtYIIXQI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.camestres.com/2010/07/30/ordinamento-hash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.camestres.com/2010/07/30/ordinamento-hash/</feedburner:origLink></item>
		<item>
		<title>Agevolare lettura file di log</title>
		<link>http://feedproxy.google.com/~r/camestres/~3/_iBaHsYDJtI/</link>
		<comments>http://blog.camestres.com/2010/07/30/agevolare-lettura-file-di-log/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 07:13:05 +0000</pubDate>
		<dc:creator>pm</dc:creator>
				<category><![CDATA[italian]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://blog.camestres.com/?p=469</guid>
		<description><![CDATA[Problema: i file di log di un application sever in cluster sono separati: uno per server. La situazione di partenza è quindi: server1.log, server2.log; come si fa ad ottenere un unico file ordinato cronologicamente, senza righe &#8216;doppie&#8217;? Soluzione: $ cat server1.log server2.log &#124; sort &#124; uniq &#62; server_regsptjb.log Il primo comando accoda semplicemente un file [...]]]></description>
			<content:encoded><![CDATA[<p>Problema: i file di log di un application sever in cluster sono separati: uno per server. La situazione di partenza è quindi: server1.log, server2.log; come si fa ad ottenere un unico file ordinato cronologicamente, senza righe &#8216;doppie&#8217;?</p>
<p>Soluzione:</p>
<pre class="brush: bash;">
$ cat server1.log server2.log | sort | uniq &gt; server_regsptjb.log
</pre>
<p>Il primo comando accoda semplicemente un file all&#8217;altro, il risultato viene ordinato, assumendo che ciascuna linea ini con un numero seriale o una data, poi vengono rimosse le linee duplicate e infine il tutto viene scritto sul file.</p>
<p>Riferimenti:</p>
<p><a href="http://serverfault.com/questions/58124/automatically-merge-log-files-keeping-all-lines">http://serverfault.com/questions/58124/automatically-merge-log-files-keeping-all-lines</a></p>
<img src="http://feeds.feedburner.com/~r/camestres/~4/_iBaHsYDJtI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.camestres.com/2010/07/30/agevolare-lettura-file-di-log/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.camestres.com/2010/07/30/agevolare-lettura-file-di-log/</feedburner:origLink></item>
		<item>
		<title>Links for 16/7/2010</title>
		<link>http://feedproxy.google.com/~r/camestres/~3/nxqvM4-SOoE/</link>
		<comments>http://blog.camestres.com/2010/07/17/links-for-1672010/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 11:00:00 +0000</pubDate>
		<dc:creator>pm</dc:creator>
				<category><![CDATA[italian]]></category>

		<guid isPermaLink="false">http://blog.camestres.com/2010/07/17/links-for-1672010/</guid>
		<description><![CDATA[Cosp &#8211; Lo studente strategico &#8211; Risorse e glossario - Programming Patterns Overview -]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://studenti.unimi.it/studentestrategico/risorse/index.htm">Cosp &#8211; Lo studente strategico &#8211; Risorse e glossario</a> -</li>
<li><a href="http://pages.cpsc.ucalgary.ca/~kremer/patterns/">Programming Patterns Overview</a> -</li>
</ul>
<img src="http://feeds.feedburner.com/~r/camestres/~4/nxqvM4-SOoE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.camestres.com/2010/07/17/links-for-1672010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.camestres.com/2010/07/17/links-for-1672010/</feedburner:origLink></item>
		<item>
		<title>Links for 15/6/2010</title>
		<link>http://feedproxy.google.com/~r/camestres/~3/D-hawwpnD8I/</link>
		<comments>http://blog.camestres.com/2010/07/07/links-for-1562010/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 12:09:41 +0000</pubDate>
		<dc:creator>pm</dc:creator>
				<category><![CDATA[italian]]></category>

		<guid isPermaLink="false">http://blog.camestres.com/?p=467</guid>
		<description><![CDATA[Libri &#171; Agile Lean Minds &#8211; The Real-Life Adventures of AgileMan &#8211; http://www.brunoleoni.it/nextpage.aspx?autore=Gerardo%20Coco &#8211; QuicklyCode &#8211; Cheat Sheets and programming stuff &#8211;]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://leanminds.wordpress.com/libri/">Libri &laquo; Agile Lean Minds</a> &#8211; </li>
<li><a href="http://real-lifeagileman.blogspot.com/">The Real-Life Adventures of AgileMan</a> &#8211; </li>
<li><a href="http://www.brunoleoni.it/nextpage.aspx?autore=Gerardo%20Coco">http://www.brunoleoni.it/nextpage.aspx?autore=Gerardo%20Coco</a> &#8211; </li>
<li><a href="http://www.quicklycode.com/">QuicklyCode &#8211; Cheat Sheets and programming stuff</a> &#8211; </li>
</ul>
<img src="http://feeds.feedburner.com/~r/camestres/~4/D-hawwpnD8I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.camestres.com/2010/07/07/links-for-1562010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.camestres.com/2010/07/07/links-for-1562010/</feedburner:origLink></item>
		<item>
		<title>Links for 14/6/2010</title>
		<link>http://feedproxy.google.com/~r/camestres/~3/J9Rq4vIwHow/</link>
		<comments>http://blog.camestres.com/2010/06/14/links-for-1462010/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 13:06:36 +0000</pubDate>
		<dc:creator>pm</dc:creator>
				<category><![CDATA[italian]]></category>

		<guid isPermaLink="false">http://blog.camestres.com/?p=465</guid>
		<description><![CDATA[Topolino Magazine &#8211; Il sito ufficiale di Topolino Magazine! scrooge.pdf (application/pdf Object) &#8211; Andrea Francia&#8217;s Blog: Writing automatic tests using bash &#8211;]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://www.disney.it/publishing/topolinomagazine/#/fumetti/storie/2845.jsp">Topolino Magazine</a> &#8211; Il sito ufficiale di Topolino Magazine!</li>
<li><a href="http://www.ppe-journal.org/Gaus/scrooge.pdf">scrooge.pdf (application/pdf Object)</a> &#8211; </li>
<li><a href="http://blog.andreafrancia.it/2010/06/writing-automatic-tests-using-bash.html">Andrea Francia&#8217;s Blog: Writing automatic tests using bash</a> &#8211; </li>
</ul>
<img src="http://feeds.feedburner.com/~r/camestres/~4/J9Rq4vIwHow" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.camestres.com/2010/06/14/links-for-1462010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.camestres.com/2010/06/14/links-for-1462010/</feedburner:origLink></item>
		<item>
		<title>Links for 2/6/2010</title>
		<link>http://feedproxy.google.com/~r/camestres/~3/pOu8M2XgYj8/</link>
		<comments>http://blog.camestres.com/2010/06/06/links-for-262010/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 21:01:15 +0000</pubDate>
		<dc:creator>pm</dc:creator>
				<category><![CDATA[italian]]></category>

		<guid isPermaLink="false">http://blog.camestres.com/?p=462</guid>
		<description><![CDATA[Codice della vita Italiana &#8211; FAD &#8211; Sito di formazione a distanza &#8211; Let&#8217;s make the web faster &#8211; Google Code &#8211;]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://www.dit.unitn.it/~asiena/cvi/prezzolini.html">Codice della vita Italiana</a> &#8211; </li>
<li><a href="http://odl.casaccia.enea.it/NuoviCorsi/PensieroSistemistico/">FAD &#8211; Sito di formazione a distanza</a> &#8211; </li>
<li><a href="http://code.google.com/speed/articles/browser-paint-events.html">Let&#8217;s make the web faster &#8211; Google Code</a> &#8211; </li>
</ul>
<img src="http://feeds.feedburner.com/~r/camestres/~4/pOu8M2XgYj8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.camestres.com/2010/06/06/links-for-262010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.camestres.com/2010/06/06/links-for-262010/</feedburner:origLink></item>
		<item>
		<title>Links for 31/5/2010</title>
		<link>http://feedproxy.google.com/~r/camestres/~3/pctyeoZzWA8/</link>
		<comments>http://blog.camestres.com/2010/06/01/links-for-3152010/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 13:03:22 +0000</pubDate>
		<dc:creator>pm</dc:creator>
				<category><![CDATA[italian]]></category>

		<guid isPermaLink="false">http://blog.camestres.com/?p=458</guid>
		<description><![CDATA[*A Brain Scientist&#8217;s Take on Writing*: How to Get (and Keep) People&#8217;s Attention &#8211; Ernesto de Bernardis Home Page &#8211; L&#8217;arte di scrivere con LaTeX &#8211;]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://blog.liviablackburne.com/2010/05/how-to-get-and-keep-peoples-attention.html">*A Brain Scientist&#8217;s Take on Writing*: How to Get (and Keep) People&#8217;s Attention</a> &#8211; </li>
<li><a href="http://www.debernardis.it/">Ernesto de Bernardis Home Page</a> &#8211; </li>
<li><a href="http://www.lorenzopantieri.net/LaTeX.html">L&rsquo;arte di scrivere con LaTeX</a> &#8211; </li>
</ul>
<img src="http://feeds.feedburner.com/~r/camestres/~4/pctyeoZzWA8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.camestres.com/2010/06/01/links-for-3152010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.camestres.com/2010/06/01/links-for-3152010/</feedburner:origLink></item>
		<item>
		<title>Links for 26/5/2010</title>
		<link>http://feedproxy.google.com/~r/camestres/~3/dgpyF4pcNpQ/</link>
		<comments>http://blog.camestres.com/2010/05/27/links-for-2652010/#comments</comments>
		<pubDate>Thu, 27 May 2010 11:00:00 +0000</pubDate>
		<dc:creator>pm</dc:creator>
				<category><![CDATA[italian]]></category>

		<guid isPermaLink="false">http://blog.camestres.com/2010/05/27/links-for-2652010/</guid>
		<description><![CDATA[Giochi e lavoretti per bambini. Sottocoperta: il portale di Viaggi, Enogastronomia e Culture &#8211; Waybricolage il presente ed il futuro del bricolage &#8211; home &#8211; IlSitoDelFaiDaTe.it &#8211; FAI DA TE &#8211; Home Page &#8211; Hobby e Fai da Te &#8211; Pianeta mamma Forum &#8211; Fai da te &#8211;]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://www.sottocoperta.net/bambini/giochi.asp">Giochi e lavoretti per bambini. Sottocoperta: il portale di Viaggi, Enogastronomia e Culture</a> &#8211; </li>
<li><a href="http://www.waybricolage.net/root/index.asp">Waybricolage il presente ed il futuro del bricolage &#8211; home</a> &#8211; </li>
<li><a href="http://www.ilsitodelfaidate.it/">IlSitoDelFaiDaTe.it &#8211; FAI DA TE &#8211; Home Page</a> &#8211; </li>
<li><a href="http://forum.pianetamamma.it/hobby-e-fai-da-te/">Hobby e Fai da Te &#8211; Pianeta mamma Forum</a> &#8211; </li>
<li><a href="http://www.faidate360.com/">Fai da te</a> &#8211; </li>
</ul>
<img src="http://feeds.feedburner.com/~r/camestres/~4/dgpyF4pcNpQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.camestres.com/2010/05/27/links-for-2652010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.camestres.com/2010/05/27/links-for-2652010/</feedburner:origLink></item>
		<item>
		<title>Links for 17/5/2010</title>
		<link>http://feedproxy.google.com/~r/camestres/~3/VF8T0_FdBs0/</link>
		<comments>http://blog.camestres.com/2010/05/25/links-for-1752010/#comments</comments>
		<pubDate>Tue, 25 May 2010 13:10:51 +0000</pubDate>
		<dc:creator>pm</dc:creator>
				<category><![CDATA[italian]]></category>

		<guid isPermaLink="false">http://blog.camestres.com/?p=454</guid>
		<description><![CDATA[Diario per Tecnologia e Applicazioni Internet, a.a. 2009/10 &#8211; ikea hacker &#8211; Jerry Brito &#8211;]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://matteo.vaccari.name/tai/diario">Diario per Tecnologia e Applicazioni Internet, a.a. 2009/10</a> &#8211; </li>
<li><a href="http://ikeahacker.blogspot.com/">ikea hacker</a> &#8211; </li>
<li><a href="http://www.jerrybrito.com/2004/11/22/moleskine-gtd-tabs-hack/">Jerry Brito</a> &#8211; </li>
</ul>
<img src="http://feeds.feedburner.com/~r/camestres/~4/VF8T0_FdBs0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.camestres.com/2010/05/25/links-for-1752010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.camestres.com/2010/05/25/links-for-1752010/</feedburner:origLink></item>
		<item>
		<title>Links for 12/5/2010</title>
		<link>http://feedproxy.google.com/~r/camestres/~3/Tje3ohqWtto/</link>
		<comments>http://blog.camestres.com/2010/05/14/links-for-1252010/#comments</comments>
		<pubDate>Fri, 14 May 2010 22:03:04 +0000</pubDate>
		<dc:creator>pm</dc:creator>
				<category><![CDATA[italian]]></category>

		<guid isPermaLink="false">http://blog.camestres.com/?p=451</guid>
		<description><![CDATA[Food for Thought &#8211; thevisualMD.com &#8211; Bringing Health to Life &#8211; iA &#187; Web Design is 95% Typography &#8211;]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://www.comms.scitech.susx.ac.uk/fft/">Food for Thought</a> &#8211; </li>
<li><a href="http://thevisualmd.com/">thevisualMD.com &#8211; Bringing Health to Life</a> &#8211; </li>
<li><a href="http://informationarchitects.jp/the-web-is-all-about-typography-period/">iA &raquo; Web Design is 95% Typography</a> &#8211; </li>
</ul>
<img src="http://feeds.feedburner.com/~r/camestres/~4/Tje3ohqWtto" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.camestres.com/2010/05/14/links-for-1252010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.camestres.com/2010/05/14/links-for-1252010/</feedburner:origLink></item>
	</channel>
</rss>
