<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2697925417311636830</id><updated>2024-09-01T09:18:03.993-07:00</updated><category term="Interessi personali"/><category term="work"/><category term="italian fuuuuu"/><title type='text'>Andrea Sbarra</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://andreasbarra.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://andreasbarra.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17682514755279187997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2697925417311636830.post-5800847692429605841</id><published>2012-01-24T03:34:00.000-08:00</published><updated>2012-10-07T09:35:27.453-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Interessi personali"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>variabili globali su mac</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Per aggiungere una variabile globale in un sistema mac:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;aggiungere un file di testo alla cartella:&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp;/etc/paths.d/&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;nominare in maniera coerente (se si vuole installare un tomcat nominarlo tomcat).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;all&#39;interno del file il path alla cartella che si vuole usare come variabile globale (nel caso di tomcat fino alla cartella /bin).&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://andreasbarra.blogspot.com/feeds/5800847692429605841/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://andreasbarra.blogspot.com/2012/01/variabili-globali-su-mac.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/5800847692429605841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/5800847692429605841'/><link rel='alternate' type='text/html' href='http://andreasbarra.blogspot.com/2012/01/variabili-globali-su-mac.html' title='variabili globali su mac'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17682514755279187997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2697925417311636830.post-1903442357927315374</id><published>2011-09-28T08:24:00.000-07:00</published><updated>2011-09-28T08:36:36.011-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Interessi personali"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>jquery (can&#39;t?) stop effect</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Oggi mi sono scontrato con un limite di jQuery: non c&#39;è modo di &quot;stoppare&quot; un effetto quando questo viene lanciato.&lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;










&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;$(&lt;span class=&quot;s1&quot;&gt;&quot;div&quot;&lt;/span&gt;).effect(&lt;span class=&quot;s1&quot;&gt;&quot;pulsate&quot;&lt;/span&gt;, { times:4 }, 2000);&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/blockquote&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ho eseguito ogni tipo di ricerca su google e ho scoperto che:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In &lt;a href=&quot;http://www.google.it/search?aq=f&amp;amp;gcx=c&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8&amp;amp;q=jque#sclient=psy-ab&amp;amp;hl=it&amp;amp;newwindow=1&amp;amp;safe=off&amp;amp;source=hp&amp;amp;q=jquery%20stop%20effect%20pulsate&amp;amp;pbx=1&amp;amp;oq=jquery%20stop%20effect&amp;amp;aq=1vL&amp;amp;aqi=g-L1g-vL1&amp;amp;aql=1&amp;amp;gs_sm=sc&amp;amp;gs_upl=60655l69911l0l72733l18l17l2l6l6l0l198l1381l2.8l17l0&amp;amp;bav=on.2,or.r_gc.r_pw.&amp;amp;fp=4d39d9ce3f559993&amp;amp;biw=1280&amp;amp;bih=705&amp;amp;pf=p&amp;amp;pdl=300&quot;&gt;molti&lt;/a&gt; hanno avuto il mio stesso problema, ma nessuno ha trovato la soluzione.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Esiste una funzione &lt;a href=&quot;http://api.jquery.com/jQuery.queue/&quot;&gt;queue&lt;/a&gt; in jQuery, ma non ho capito a cosa serve e come si usa.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Esiste una funzione &lt;a href=&quot;http://api.jquery.com/animate/&quot;&gt;animate&lt;/a&gt;, con la quale si possono fare dei giochini interessanti e con la quale ho risolto il mio problema.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Anzitutto ho fatto una funzione che riproduce l&#39;effetto pulsate di cui sopra:&lt;/span&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;










&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;function&lt;/span&gt; animateIt() {&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot;&gt;	&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;	&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;	&lt;/span&gt;$(&lt;span class=&quot;s2&quot;&gt;&quot;div&quot;&lt;/span&gt;).animate({ opacity: &lt;span class=&quot;s2&quot;&gt;&#39;toggle&#39;&lt;/span&gt; }, 2000, &lt;span class=&quot;s2&quot;&gt;&#39;linear&#39;&lt;/span&gt;, animateIt);&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp;}&lt;/div&gt;
&lt;/span&gt;&lt;/blockquote&gt;
&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;e l&#39;ho messa come callback di animate.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Il risultato in questo caso è che si fa il toggle animato della proprietà opacity, quindi in 2 secondi il div lampeggia e sparisce e poi richiama a funzione e in due secondi lampeggia e riappare.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Il nocciolo della questione è ora stoppare questo effetto:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;










&lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;$(&lt;span class=&quot;s1&quot;&gt;&quot;div&quot;&lt;/span&gt;).stop();&lt;/span&gt;&lt;/blockquote&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Basta eseguire questa semplice istruzione per fermare l&#39;animazione. Questo introduce un piccolo bug. Quando si ferma l&#39;animazione l&#39;opacità del div è la stessa al momento dello stop, perciò se si stoppa in un momento in cui il div è invisibile il div rimane invisibile ( e potrebbe essere utile in alcuni casi), se si vuole semplicemente togliere l&#39;effetto di mostra/nascondi basta rimuovere l&#39;attributo style che viene aggiunto dall&#39;animazione&lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;$(&lt;span class=&quot;s1&quot;&gt;&quot;div&quot;&lt;/span&gt;).removeAttr(&quot;style&quot;);&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreasbarra.blogspot.com/feeds/1903442357927315374/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://andreasbarra.blogspot.com/2011/09/jquery-cant-stop-effect.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/1903442357927315374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/1903442357927315374'/><link rel='alternate' type='text/html' href='http://andreasbarra.blogspot.com/2011/09/jquery-cant-stop-effect.html' title='jquery (can&#39;t?) stop effect'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17682514755279187997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2697925417311636830.post-8122452164099403018</id><published>2011-09-02T09:08:00.000-07:00</published><updated>2011-09-02T09:08:28.684-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Interessi personali"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>ie on mac osx</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://winebottler.kronenberg.org/&quot;&gt;http://winebottler.kronenberg.org/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Seguite questo link se anche voi sventurati sviluppatori di web application, lavorate con mac e dovete testare le vostre opere su ie.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A questo indirizzo trovate il dmg WinBottler, che vi fornisce sia wine che WinBottler appunto.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Basta scaricare, aprire e draggare entrambi wine e WinBottler nella vostra cartella applications, dopo di che installate tutto quello che vi serve.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ahime io ho dovuto installare ie7...&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreasbarra.blogspot.com/feeds/8122452164099403018/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://andreasbarra.blogspot.com/2011/09/ie-on-mac-osx.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/8122452164099403018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/8122452164099403018'/><link rel='alternate' type='text/html' href='http://andreasbarra.blogspot.com/2011/09/ie-on-mac-osx.html' title='ie on mac osx'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17682514755279187997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2697925417311636830.post-3250722714959270546</id><published>2011-08-08T06:32:00.000-07:00</published><updated>2012-10-07T09:37:47.687-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Enable Leverage browser caching</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Stavo cercando di migliorare le prestazioni di un sito fatto con joomla quando mi sono imbattuto in questo utile attrezzo:&lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://code.google.com/intl/it-IT/speed/page-speed/download.html&quot;&gt;google page speed&lt;/a&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In firefox è un plugin di firebug. Praticamente questo plugin analizza le prestazioni del sito e suggerisce cosa migliorare per far si che il tuo sito sia più veloce e quindi più &quot;simpatico&quot; alle serp di google ( e anche agli smartphone.. ).&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;L&#39;errore più ostico da risolvere è stato appunto quello relativo alla cache. Non è bastato infatti attivare la cache sul pannello di controllo di joomla, ma ho anche dovuto modificare il file .htaccess, aggiungendo le seguenti righe di codice&lt;/span&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;code&gt;&amp;lt;IfModule mod_headers.c&amp;gt;&lt;/code&gt;&lt;code&gt; Header unset ETag&lt;/code&gt;&lt;code&gt; Header unset Last-Modified&lt;/code&gt;&lt;code&gt; &amp;lt;/IfModule&amp;gt;&lt;/code&gt;&lt;code&gt; FileETag None&lt;/code&gt;&lt;code&gt; &amp;lt;FilesMatch &quot;\.(ico|gz|JPG|jpg|jpeg|png|gif|js|css|swf)$&quot;&amp;gt;&lt;/code&gt;&lt;code&gt; Header unset Cache-control&lt;/code&gt;&lt;code&gt; Header set Expires &quot;access plus 1 month&quot;&lt;/code&gt;&lt;code&gt; &amp;lt;/FilesMatch&amp;gt;&lt;/code&gt;&lt;/blockquote&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Questa modifica rimuove gli header per &#39;last modified&#39; e &#39;etag&#39; e l&#39;header expiration per altri tipi di file.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.search-friendly-web-design.com/blog/leverage-browser-caching-joomla-speed-tips&quot;&gt;Qui&lt;/a&gt; la pagina che mi ha suggerito questa soluzione.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreasbarra.blogspot.com/feeds/3250722714959270546/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://andreasbarra.blogspot.com/2011/08/enable-leverage-browser-caching.html#comment-form' title='1 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/3250722714959270546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/3250722714959270546'/><link rel='alternate' type='text/html' href='http://andreasbarra.blogspot.com/2011/08/enable-leverage-browser-caching.html' title='Enable Leverage browser caching'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17682514755279187997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2697925417311636830.post-4882544774987608118</id><published>2011-08-06T00:17:00.000-07:00</published><updated>2011-08-06T00:17:34.995-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Interessi personali"/><title type='text'>ipse dixit Steve Jobs</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-family: Verdana, sans-serif; font-style: italic; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;“Design non è solo come sembra o cosa trasmette. Design è come funziona.”&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #666666; font-style: italic; line-height: 20px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #393939; font-family: Verdana, sans-serif; font-style: normal; line-height: 16px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;color: #666666; font-style: italic; margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 20px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;“Il nostro tempo è limitato, per cui non lo dobbiamo sprecare vivendo la vita di qualcun altro. Non facciamoci intrappolare dai dogmi, che vuol dire vivere seguendo i risultati del pensiero di altre persone. Non lasciamo che il rumore delle opinioni altrui offuschi la nostra voce interiore. E, cosa più importante di tutte, dobbiamo avere il coraggio di seguire il nostro cuore e la nostra intuizione. In qualche modo, essi sanno che cosa vogliamo realmente diventare. Tutto il resto è secondario.”&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;line-height: 20px; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;color: #666666; font-style: italic; margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 20px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;div style=&quot;line-height: 20px; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;“Un sacco di aziende hanno deciso di ridimensionarsi, e forse è stata la scelta giusta per loro. Noi abbiamo scelto un percorso differente. Quello a cui crediamo è che se mettiamo di fronte ai consumatori degli ottimi prodotti, loro continueranno ad aprire i loro portafogli.”&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;color: #666666; font-style: italic; margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 20px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;div style=&quot;line-height: 20px; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;“Non puoi limitarti a chiedere ai tuoi clienti cosa desiderano e dopo provare a darglielo. Nel mentre che lo realizzate, vorranno già qualcosa di nuovo.”&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/blockquote&gt;&lt;div class=&quot;clear&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;adsense-blue&quot; id=&quot;altFirstAdDiv&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;div id=&quot;altFirstAdUnit&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreasbarra.blogspot.com/feeds/4882544774987608118/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://andreasbarra.blogspot.com/2011/08/ipse-dixit-steve-jobs.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/4882544774987608118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/4882544774987608118'/><link rel='alternate' type='text/html' href='http://andreasbarra.blogspot.com/2011/08/ipse-dixit-steve-jobs.html' title='ipse dixit Steve Jobs'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17682514755279187997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2697925417311636830.post-8873797419964073292</id><published>2011-08-02T03:58:00.000-07:00</published><updated>2011-08-02T03:59:50.742-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Interessi personali"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>come iniziare un&#39;applicazione zk con maven</title><content type='html'>Breve guida step by step alla configurazione di un&#39;applicazione basata su zk, maven, hibernate e spring.&lt;br /&gt;
&lt;br /&gt;
Si da per scontato che maven e java siano già installati sulla macchina con la quale si desidera realizzare questo progetto.&lt;br /&gt;
&lt;br /&gt;
Passo 1: Configurazione di base&lt;br /&gt;
&lt;br /&gt;
creare una cartella per il progetto con linux/mac il comando è&lt;br /&gt;
&lt;br /&gt;
mkdir project.name&lt;br /&gt;
&lt;br /&gt;
entrare in questa cartella&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
cd project.name&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
da qui lanciare il seguente comando maven&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
mvn archetype:generate \&lt;br /&gt;
-DarchetypeGroupId=org.apache.maven.archetypes \&lt;br /&gt;
-DgroupId=com.mycompany.app \&lt;br /&gt;
-DartifactId=my-app&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Questo comando crea la struttura di cartelle del progetto e il file pom.xml&lt;br /&gt;
&lt;br /&gt;
Il file pom.xml dovrebbe essere qualcosa del genere:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
&amp;lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;&lt;br /&gt;
xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;br /&gt;
xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0&lt;br /&gt;
http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&amp;gt;&lt;br /&gt;
&amp;lt;modelVersion&amp;gt;4.0.0&amp;lt;/modelVersion&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;com.mycompany.app&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;my-app&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;packaging&amp;gt;jar&amp;lt;/packaging&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;1.0-SNAPSHOT&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;Maven Quick Start Archetype&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;url&amp;gt;http://maven.apache.org/url&amp;gt;&lt;br /&gt;
&amp;lt;dependencies&amp;gt;&lt;br /&gt;
&amp;lt;dependency&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;junit&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;junit&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;3.8.1&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;scope&amp;gt;test&amp;lt;/scope&amp;gt;&lt;br /&gt;
&amp;lt;/dependency&amp;gt;&lt;br /&gt;
&amp;lt;/dependencies&amp;gt;&lt;br /&gt;
&amp;lt;/project&amp;gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Per introdurre zk nel progetto basta modificare il file pom.xml aggiungendo le seguenti dipendenze:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
&amp;lt;dependency&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;commons-logging&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;commons-logging&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;1.1.1&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;/dependency&amp;gt;&lt;br /&gt;
&amp;lt;dependency&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;commons-io&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;commons-io&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;1.3.1&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;/dependency&amp;gt;&lt;br /&gt;
&amp;lt;dependency&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;commons-lang&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;commons-lang&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;2.4&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;/dependency&amp;gt;&lt;br /&gt;
&amp;lt;dependency&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;org.zkoss.zk&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;zkplus&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;5.0.7&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;/dependency&amp;gt;&lt;br /&gt;
&amp;lt;dependency&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;org.zkoss.zk&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;zhtml&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;5.0.7&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;/dependency&amp;gt;&lt;br /&gt;
&amp;lt;dependency&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;org.zkoss.common&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;zweb&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;5.0.7&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;type&amp;gt;pom&amp;lt;/type&amp;gt;&lt;br /&gt;
&amp;lt;/dependency&amp;gt;&lt;br /&gt;
&amp;lt;dependency&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;org.zkoss.common&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;zcommon&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;5.0.7&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;type&amp;gt;pom&amp;lt;/type&amp;gt;&lt;br /&gt;
&amp;lt;/dependency&amp;gt;&lt;br /&gt;
&amp;lt;dependency&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;org.zkoss.zk&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;zul&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;5.0.7&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;type&amp;gt;pom&amp;lt;/type&amp;gt;&lt;br /&gt;
&amp;lt;/dependency&amp;gt;&lt;br /&gt;
&amp;lt;dependency&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;org.zkoss.zk&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;zk&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;5.0.7&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;type&amp;gt;pom&amp;lt;/type&amp;gt;&lt;br /&gt;
&amp;lt;/dependency&amp;gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Ora nella cartella src/main/webapp aggiungete due file: zk.xml e web.xml&lt;br /&gt;
&lt;br /&gt;
zk.xml:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;zk&amp;gt;&lt;br /&gt;
&amp;lt;device-config&amp;gt;&lt;br /&gt;
&amp;lt;device-type&amp;gt;ajax&amp;lt;/device-type&amp;gt;&lt;br /&gt;
&amp;lt;timeout-uri&amp;gt;/timeout.zul&amp;lt;/timeout-uri&amp;gt;&amp;lt;!-- An empty URL can cause the browser to reload the same URL --&amp;gt;&lt;br /&gt;
&amp;lt;/device-config&amp;gt;&lt;br /&gt;
&amp;lt;/zk&amp;gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
web.xml:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;br /&gt;
&amp;lt;web-app xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot; xmlns:web=&quot;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot; xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot; id=&quot;WebApp_ID&quot; version=&quot;2.5&quot;&amp;gt;&lt;br /&gt;
&amp;lt;display-name&amp;gt;web-app name&amp;lt;/display-name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;servlet&amp;gt;&lt;br /&gt;
&amp;lt;description&amp;gt;&amp;lt;![CDATA[ The servlet loads the DSP pages. ]]&amp;gt;&amp;lt;/description&amp;gt;&lt;br /&gt;
&amp;lt;servlet-name&amp;gt;dspLoader&amp;lt;/servlet-name&amp;gt;&lt;br /&gt;
&amp;lt;servlet-class&amp;gt;org.zkoss.web.servlet.dsp.InterpreterServlet&amp;lt;/servlet-class&amp;gt;&lt;br /&gt;
&amp;lt;/servlet&amp;gt;&lt;br /&gt;
&amp;lt;servlet-mapping&amp;gt;&lt;br /&gt;
&amp;lt;servlet-name&amp;gt;dspLoader&amp;lt;/servlet-name&amp;gt;&lt;br /&gt;
&amp;lt;url-pattern&amp;gt;*.dsp&amp;lt;/url-pattern&amp;gt;&lt;br /&gt;
&amp;lt;/servlet-mapping&amp;gt;&lt;br /&gt;
&amp;lt;!-- ZK --&amp;gt;&lt;br /&gt;
&amp;lt;listener&amp;gt;&lt;br /&gt;
&amp;lt;description&amp;gt;Used to cleanup when a session is destroyed&amp;lt;/description&amp;gt;&lt;br /&gt;
&amp;lt;display-name&amp;gt;ZK Session Cleaner&amp;lt;/display-name&amp;gt;&lt;br /&gt;
&amp;lt;listener-class&amp;gt;org.zkoss.zk.ui.http.HttpSessionListener&amp;lt;/listener-class&amp;gt;&lt;br /&gt;
&amp;lt;/listener&amp;gt;&lt;br /&gt;
&amp;lt;servlet&amp;gt;&lt;br /&gt;
&amp;lt;description&amp;gt;ZK loader for ZUML pages&amp;lt;/description&amp;gt;&lt;br /&gt;
&amp;lt;servlet-name&amp;gt;zkLoader&amp;lt;/servlet-name&amp;gt;&lt;br /&gt;
&amp;lt;servlet-class&amp;gt;org.zkoss.zk.ui.http.DHtmlLayoutServlet&amp;lt;/servlet-class&amp;gt;&lt;br /&gt;
&amp;lt;init-param&amp;gt;&lt;br /&gt;
&amp;lt;param-name&amp;gt;update-uri&amp;lt;/param-name&amp;gt;&amp;lt;param-value&amp;gt;/zkau1&amp;lt;/param-value&amp;gt;&amp;lt;/init-param&amp;gt;&lt;br /&gt;
&amp;lt;init-param&amp;gt;&lt;br /&gt;
&amp;lt;param-name&amp;gt;monitor-class&amp;lt;/param-name&amp;gt;&amp;lt;param-value&amp;gt;org.zkoss.zk.ui.util.Statistic&amp;lt;/param-value&amp;gt;&amp;lt;/init-param&amp;gt;&lt;br /&gt;
&amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt;&lt;br /&gt;
&amp;lt;/servlet&amp;gt;&lt;br /&gt;
&amp;lt;servlet-mapping&amp;gt;&lt;br /&gt;
&amp;lt;servlet-name&amp;gt;zkLoader&amp;lt;/servlet-name&amp;gt;&lt;br /&gt;
&amp;lt;url-pattern&amp;gt;*.zul&amp;lt;/url-pattern&amp;gt;&lt;br /&gt;
&amp;lt;/servlet-mapping&amp;gt;&lt;br /&gt;
&amp;lt;servlet-mapping&amp;gt;&lt;br /&gt;
&amp;lt;servlet-name&amp;gt;zkLoader&amp;lt;/servlet-name&amp;gt;&lt;br /&gt;
&amp;lt;url-pattern&amp;gt;*.zhtml&amp;lt;/url-pattern&amp;gt;&lt;br /&gt;
&amp;lt;/servlet-mapping&amp;gt;&lt;br /&gt;
&amp;lt;servlet&amp;gt;&lt;br /&gt;
&amp;lt;description&amp;gt;The asynchronous update engine for ZK&amp;lt;/description&amp;gt;&lt;br /&gt;
&amp;lt;servlet-name&amp;gt;auEngine&amp;lt;/servlet-name&amp;gt;&lt;br /&gt;
&amp;lt;servlet-class&amp;gt;org.zkoss.zk.au.http.DHtmlUpdateServlet&amp;lt;/servlet-class&amp;gt;&lt;br /&gt;
&amp;lt;/servlet&amp;gt;&lt;br /&gt;
&amp;lt;servlet-mapping&amp;gt;&lt;br /&gt;
&amp;lt;servlet-name&amp;gt;auEngine&amp;lt;/servlet-name&amp;gt;&lt;br /&gt;
&amp;lt;url-pattern&amp;gt;/zkau1/*&amp;lt;/url-pattern&amp;gt;&lt;br /&gt;
&amp;lt;/servlet-mapping&amp;gt;&lt;br /&gt;
&amp;lt;session-config&amp;gt;&lt;br /&gt;
&amp;lt;session-timeout&amp;gt;120&amp;lt;/session-timeout&amp;gt;&lt;br /&gt;
&amp;lt;/session-config&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;welcome-file-list&amp;gt;&lt;br /&gt;
&amp;lt;welcome-file&amp;gt;index.zul&amp;lt;/welcome-file&amp;gt;&lt;br /&gt;
&amp;lt;welcome-file&amp;gt;index.zhtml&amp;lt;/welcome-file&amp;gt;&lt;br /&gt;
&amp;lt;welcome-file&amp;gt;index.html&amp;lt;/welcome-file&amp;gt;&lt;br /&gt;
&amp;lt;welcome-file&amp;gt;index.htm&amp;lt;/welcome-file&amp;gt;&lt;br /&gt;
&amp;lt;welcome-file&amp;gt;index.dsp&amp;lt;/welcome-file&amp;gt;&lt;br /&gt;
&amp;lt;/welcome-file-list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;resource-ref&amp;gt;&lt;br /&gt;
&amp;lt;res-ref-name&amp;gt;jdbc/potix&amp;lt;/res-ref-name&amp;gt;&lt;br /&gt;
&amp;lt;res-type&amp;gt;javax.sql.DataSource&amp;lt;/res-type&amp;gt;&lt;br /&gt;
&amp;lt;res-auth&amp;gt;Container&amp;lt;/res-auth&amp;gt;&lt;br /&gt;
&amp;lt;/resource-ref&amp;gt; &lt;br /&gt;
&amp;lt;/web-app&amp;gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Sempre in webapp aggiungete un file index.zul, (.zul è l&#39;estensione per le pagine di zk).&lt;br /&gt;
Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://andreasbarra.blogspot.com/feeds/8873797419964073292/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://andreasbarra.blogspot.com/2011/08/come-iniziare-unapplicazione-zk-con.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/8873797419964073292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/8873797419964073292'/><link rel='alternate' type='text/html' href='http://andreasbarra.blogspot.com/2011/08/come-iniziare-unapplicazione-zk-con.html' title='come iniziare un&#39;applicazione zk con maven'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17682514755279187997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2697925417311636830.post-6041912471031081851</id><published>2011-02-16T01:16:00.000-08:00</published><updated>2011-02-16T01:16:35.242-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Interessi personali"/><title type='text'>ah la programmazione</title><content type='html'>&lt;ol type=&quot;1&quot;&gt;&lt;li type=&quot;1&quot; value=&quot;1&quot;&gt;If debugging is the process of removing software bugs, then programming must be the process of putting them in. -&amp;nbsp; &lt;a href=&quot;http://www.softwarequotes.com/showquotes.aspx?id=545&amp;amp;name=Edsger%20Dijkstra&quot;&gt;Edsger Dijkstra &lt;/a&gt;     &lt;/li&gt;
&lt;li&gt;The first 90% of the code accounts for  the first 90% of the development time. The remaining 10% of the code  accounts for the other 90% of the development time.&amp;nbsp; – &lt;a href=&quot;http://www.softwarequotes.com/showquotes.aspx?id=635&amp;amp;name=Tom%20Cargill&quot;&gt;Tom Cargill&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;“There are two ways of constructing a  software design. One way is to make it so simple that there are  obviously no deficiencies. And the other way is to make it so  complicated that there are no obvious deficiencies.”-&amp;nbsp; &lt;a href=&quot;http://www.softwarequotes.com/showquotes.aspx?id=536&amp;amp;name=C.%20Hoare&quot;&gt;C.A.R. Hoare&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Measuring programming progress by lines of code is like measuring aircraft building progress by weight. – &lt;a href=&quot;http://www.softwarequotes.com/showquotes.aspx?id=579&amp;amp;name=Bill%20Gates&quot;&gt;Bill Gates&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” – &lt;a href=&quot;http://www.softwarequotes.com/showquotes.aspx?id=617&amp;amp;name=Martin%20Golding&quot;&gt;Martin Golding&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;“The trouble with programmers is that you can never tell what a programmer is doing until it’s too late.” – &lt;a href=&quot;http://www.softwarequotes.com/showquotes.aspx?id=590&amp;amp;name=Seymour%20Cray&quot;&gt;Seymour Cray&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Programming today is a race between  software engineers striving to build bigger and better idiot-proof  programs, and the Universe trying to produce bigger and better idiots.  So far, the Universe is winning. – &lt;a href=&quot;http://www.softwarequotes.com/showquotes.aspx?id=583&amp;amp;name=Rich%20Cook&quot;&gt;Rick Cook&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;“Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris.” – &lt;a href=&quot;http://www.softwarequotes.com/showquotes.aspx?id=618&amp;amp;name=Larry%20Wall&quot;&gt;Larry Wall&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;“Sometimes it pays to stay in bed on Monday, rather than spending the rest of the week debugging Monday’s code.” – &lt;a href=&quot;http://www.softwarequotes.com/showquotes.aspx?id=888&amp;amp;name=Christopher%20Thompson&quot;&gt;Christopher Thompson&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Walking on water and developing software from a specification are easy if both are frozen. – &lt;a href=&quot;http://www.softwarequotes.com/showquotes.aspx?id=613&amp;amp;name=Edward%20Berard&quot;&gt;Edward V Berard&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div&gt;Morale l&#39;universo vincerà contro i poveri programmatori!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreasbarra.blogspot.com/feeds/6041912471031081851/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://andreasbarra.blogspot.com/2011/02/ah-la-programmazione.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/6041912471031081851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/6041912471031081851'/><link rel='alternate' type='text/html' href='http://andreasbarra.blogspot.com/2011/02/ah-la-programmazione.html' title='ah la programmazione'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17682514755279187997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2697925417311636830.post-9038704710475623125</id><published>2011-02-09T02:01:00.001-08:00</published><updated>2011-02-09T02:01:28.585-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Interessi personali"/><category scheme="http://www.blogger.com/atom/ns#" term="italian fuuuuu"/><title type='text'>La grande barra verde di junit</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKa0JOxqXcO_5k_dZkxKhMv0qWKjpW-IGu-TgOJ3kcfT_zpeyonZsiY3HeMQVdg_AHfqRjZwNWIzrXr-tkxkDSIUZTuX4LoIDaBGrBcmP7-yIcyl1qGnivukwAzLddOLWvKbg43FmckAk/s1600/la.grande.barra.verde.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKa0JOxqXcO_5k_dZkxKhMv0qWKjpW-IGu-TgOJ3kcfT_zpeyonZsiY3HeMQVdg_AHfqRjZwNWIzrXr-tkxkDSIUZTuX4LoIDaBGrBcmP7-yIcyl1qGnivukwAzLddOLWvKbg43FmckAk/s320/la.grande.barra.verde.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreasbarra.blogspot.com/feeds/9038704710475623125/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://andreasbarra.blogspot.com/2011/02/la-grande-barra-verde-di-junit.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/9038704710475623125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2697925417311636830/posts/default/9038704710475623125'/><link rel='alternate' type='text/html' href='http://andreasbarra.blogspot.com/2011/02/la-grande-barra-verde-di-junit.html' title='La grande barra verde di junit'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17682514755279187997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKa0JOxqXcO_5k_dZkxKhMv0qWKjpW-IGu-TgOJ3kcfT_zpeyonZsiY3HeMQVdg_AHfqRjZwNWIzrXr-tkxkDSIUZTuX4LoIDaBGrBcmP7-yIcyl1qGnivukwAzLddOLWvKbg43FmckAk/s72-c/la.grande.barra.verde.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>