
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for SigmaLab</title>
	<atom:link href="http://blog.sigmalab.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sigmalab.net</link>
	<description>Confessions on the edge of reason</description>
	<lastBuildDate>Sun, 17 Oct 2010 11:35:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>Comment on jdk tools.jar under Snow leopard by Yoghi</title>
		<link>http://blog.sigmalab.net/2010/10/17/jdk-tools-jar-under-snow-leopard/comment-page-1/#comment-133</link>
		<dc:creator>Yoghi</dc:creator>
		<pubDate>Sun, 17 Oct 2010 11:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sigmalab.net/?p=590#comment-133</guid>
		<description>&lt;blockquote&gt;
&lt;dependency&gt; 
      &lt;groupId&gt;com.sun&lt;/groupId&gt; 
      &lt;artifactId&gt;tools&lt;/artifactId&gt; 
      &lt;version&gt;1.5.0&lt;/version&gt; 
      &lt;scope&gt;system&lt;/scope&gt; 
      &lt;systemPath&gt;${java.home}/../lib/tools.jar&lt;/systemPath&gt; &lt;!-- Required by wsprovide with Metro stack (because of APT) --&gt; 
&lt;/dependency&gt; 
&lt;/blockquote&gt;
Non mi funziona eppure in giro suggeriscono questa</description>
		<content:encoded><![CDATA[<blockquote><p>
<dependency><br />
      <groupid>com.sun</groupid><br />
      <artifactid>tools</artifactid><br />
      <version>1.5.0</version><br />
      <scope>system</scope><br />
      <systempath>${java.home}/../lib/tools.jar</systempath> <!-- Required by wsprovide with Metro stack (because of APT) --><br />
</dependency>
</p></blockquote>
<p>Non mi funziona eppure in giro suggeriscono questa</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Leopard Tip: File cdr to iso by Yoghi</title>
		<link>http://blog.sigmalab.net/2009/10/26/leopard-tip-file-cdr-to-iso/comment-page-1/#comment-113</link>
		<dc:creator>Yoghi</dc:creator>
		<pubDate>Tue, 27 Oct 2009 09:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sigmalab.net/?p=578#comment-113</guid>
		<description>Certo, infatti sudo è come essere root ;)</description>
		<content:encoded><![CDATA[<p>Certo, infatti sudo è come essere root <img src='http://blog.sigmalab.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Leopard Tip: File cdr to iso by Folletto Malefico</title>
		<link>http://blog.sigmalab.net/2009/10/26/leopard-tip-file-cdr-to-iso/comment-page-1/#comment-112</link>
		<dc:creator>Folletto Malefico</dc:creator>
		<pubDate>Mon, 26 Oct 2009 18:02:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sigmalab.net/?p=578#comment-112</guid>
		<description>Non basta un sudo? :)</description>
		<content:encoded><![CDATA[<p>Non basta un sudo? <img src='http://blog.sigmalab.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 1984 giorni di propaganda negativa contro la Apple by Yoghi</title>
		<link>http://blog.sigmalab.net/2009/07/31/1984-giorni-di-propaganda-negativa-contro-la-apple/comment-page-1/#comment-93</link>
		<dc:creator>Yoghi</dc:creator>
		<pubDate>Tue, 04 Aug 2009 18:37:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sigmalab.net/2009/07/31/1984-giorni-di-propaganda-negativa-contro-la-apple/#comment-93</guid>
		<description>Apple sta facendo delle pessime scelte ultimamente : http://www.leeander.com/2009/08/apple-telco-disastri/</description>
		<content:encoded><![CDATA[<p>Apple sta facendo delle pessime scelte ultimamente : <a href="http://www.leeander.com/2009/08/apple-telco-disastri/" rel="nofollow">http://www.leeander.com/2009/08/apple-telco-disastri/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Natale by Yoghi</title>
		<link>http://blog.sigmalab.net/2008/12/22/natale/comment-page-1/#comment-81</link>
		<dc:creator>Yoghi</dc:creator>
		<pubDate>Mon, 22 Dec 2008 23:12:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sigmalab.net/?p=491#comment-81</guid>
		<description>ma tu nel passaggio hai avuto sto problema? cosa hai messo in wp-config nel campo della codifica utf8 o iso ?</description>
		<content:encoded><![CDATA[<p>ma tu nel passaggio hai avuto sto problema? cosa hai messo in wp-config nel campo della codifica utf8 o iso ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Natale by Folletto Malefico</title>
		<link>http://blog.sigmalab.net/2008/12/22/natale/comment-page-1/#comment-80</link>
		<dc:creator>Folletto Malefico</dc:creator>
		<pubDate>Mon, 22 Dec 2008 22:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sigmalab.net/?p=491#comment-80</guid>
		<description>Le codifiche mi sembrano sbaglaite anche nel feed... :/</description>
		<content:encoded><![CDATA[<p>Le codifiche mi sembrano sbaglaite anche nel feed&#8230; :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Microsoft &quot;libera&quot; l&#8217;accesso ai file di Office by johndoeit</title>
		<link>http://blog.sigmalab.net/2006/03/23/microsoft-libera-laccesso-ai-file-di-office/comment-page-1/#comment-3</link>
		<dc:creator>johndoeit</dc:creator>
		<pubDate>Wed, 18 Jun 2008 02:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sigmalab.net/2006/03/23/microsoft-libera-laccesso-ai-file-di-office/#comment-3</guid>
		<description>Complimenti per il blog, davvero interessante e ricco di spunti... sarei felice se ne aprissi uno anche su http://www.webirishpub.net/ per confrontarci quotidianamente.
Saluti :-)</description>
		<content:encoded><![CDATA[<p>Complimenti per il blog, davvero interessante e ricco di spunti&#8230; sarei felice se ne aprissi uno anche su <a href="http://www.webirishpub.net/" rel="nofollow">http://www.webirishpub.net/</a> per confrontarci quotidianamente.<br />
Saluti <img src='http://blog.sigmalab.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Pattern: Command by Yoghi</title>
		<link>http://blog.sigmalab.net/2007/01/06/pattern-command/comment-page-1/#comment-18</link>
		<dc:creator>Yoghi</dc:creator>
		<pubDate>Mon, 19 Nov 2007 13:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sigmalab.net/2007/01/06/pattern-command/#comment-18</guid>
		<description>Non ho capito molto dal codice che hai scritto spero di rispondere alla domanda cmq.:
questo pattern lo usiamo per rendere opaca una parte del nostro codice al resto del sistema, ossia diciamo se vuoi eseguire &quot;copia&quot; non ti interessa sapere come e dove (soprattutto) Ã¨ situato copia tu sai che ci penserÃ  il tuo &quot;Command&quot; ad eseguirlo in modo apporpriato magari con una invocazione remota SOAP (stile &quot;service&quot;).

Es:
[php]
$A = new A(&quot;ip&quot;,&quot;nomeservizio&quot;);
// solo chi ha scritto A sa realmente cosa succederÃ 
// quando chiamo A.execute()
$b = new B();
$b-&gt;setCommand($A);
$b-&gt;execute();
[/php]

dentro B chiamo A.execute(), o meglio ancora la sequenza di comandi di tutti i &quot;Command&quot; che gli avevo passato in precedenza con il set.
&quot;c&quot; dentro B Ã¨ un puntatore alla istanza che passi a setCommand, che basta sia una classe che implementa &quot;Command&quot;; ti ricordo che non posso creare una istanza di una interfaccia, devo sempre istanziare una classe che implementa una interfaccia e posso usare tale classe anche senza sapere come Ã¨ fatta basta che sappia che interfaccia implementa, in quanto Ã¨ lo scopo delle interfacce.

Se sono stato poco chiaro o hai ancora dubbi siamo qui.</description>
		<content:encoded><![CDATA[<p>Non ho capito molto dal codice che hai scritto spero di rispondere alla domanda cmq.:<br />
questo pattern lo usiamo per rendere opaca una parte del nostro codice al resto del sistema, ossia diciamo se vuoi eseguire &#8220;copia&#8221; non ti interessa sapere come e dove (soprattutto) Ã¨ situato copia tu sai che ci penserÃ  il tuo &#8220;Command&#8221; ad eseguirlo in modo apporpriato magari con una invocazione remota SOAP (stile &#8220;service&#8221;).</p>
<p>Es:<br />
[php]<br />
$A = new A(&#8220;ip&#8221;,&#8221;nomeservizio&#8221;);<br />
// solo chi ha scritto A sa realmente cosa succederÃ <br />
// quando chiamo A.execute()<br />
$b = new B();<br />
$b->setCommand($A);<br />
$b->execute();<br />
[/php]</p>
<p>dentro B chiamo A.execute(), o meglio ancora la sequenza di comandi di tutti i &#8220;Command&#8221; che gli avevo passato in precedenza con il set.<br />
&#8220;c&#8221; dentro B Ã¨ un puntatore alla istanza che passi a setCommand, che basta sia una classe che implementa &#8220;Command&#8221;; ti ricordo che non posso creare una istanza di una interfaccia, devo sempre istanziare una classe che implementa una interfaccia e posso usare tale classe anche senza sapere come Ã¨ fatta basta che sappia che interfaccia implementa, in quanto Ã¨ lo scopo delle interfacce.</p>
<p>Se sono stato poco chiaro o hai ancora dubbi siamo qui.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Pattern: Command by mist3r0</title>
		<link>http://blog.sigmalab.net/2007/01/06/pattern-command/comment-page-1/#comment-17</link>
		<dc:creator>mist3r0</dc:creator>
		<pubDate>Mon, 19 Nov 2007 09:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sigmalab.net/2007/01/06/pattern-command/#comment-17</guid>
		<description>Salve a tutti, non ho ben capito il pattern command, ho scritto del codice qui sotto, che dovrebbe rappresentare il patter comman,

[php]
interface Command {
    void execute();
}
[/php]
Adesso data la class A
[php]
class A {
    ...
    public void copia() {
       ...
    }
    ...
}
[/php]
per trasformare la chiamata del metodo copia in un command, si faccio:
[php]
class ACommand implements Command {
    A a;
    ACommand(A a) {
        this.a = a;
    }
    public void execute() {
        a.copia();
    }
}
[/php]
Adesso nella class B si puÃ² permettere di eseguire il metodo copia senza conoscere A:
[php]
class B {
    Command c;
    void setCommand(Command c) {
        this.c = c;
    }
    void run() {
        c.execute();
    }
}
[/php]
Ora, io mi chiedo, e mi scuso in anticipo per la mia ignoranza, ma se command Ã¨ un&#039;interfaccia come faccio nella classe B, a dichiarare un command e chiamare su di esso il metodo execute essendo esso non ridefinito e metodo di un&#039;interfaccia????</description>
		<content:encoded><![CDATA[<p>Salve a tutti, non ho ben capito il pattern command, ho scritto del codice qui sotto, che dovrebbe rappresentare il patter comman,</p>
<p>[php]<br />
interface Command {<br />
    void execute();<br />
}<br />
[/php]<br />
Adesso data la class A<br />
[php]<br />
class A {<br />
    &#8230;<br />
    public void copia() {<br />
       &#8230;<br />
    }<br />
    &#8230;<br />
}<br />
[/php]<br />
per trasformare la chiamata del metodo copia in un command, si faccio:<br />
[php]<br />
class ACommand implements Command {<br />
    A a;<br />
    ACommand(A a) {<br />
        this.a = a;<br />
    }<br />
    public void execute() {<br />
        a.copia();<br />
    }<br />
}<br />
[/php]<br />
Adesso nella class B si puÃ² permettere di eseguire il metodo copia senza conoscere A:<br />
[php]<br />
class B {<br />
    Command c;<br />
    void setCommand(Command c) {<br />
        this.c = c;<br />
    }<br />
    void run() {<br />
        c.execute();<br />
    }<br />
}<br />
[/php]<br />
Ora, io mi chiedo, e mi scuso in anticipo per la mia ignoranza, ma se command Ã¨ un&#8217;interfaccia come faccio nella classe B, a dichiarare un command e chiamare su di esso il metodo execute essendo esso non ridefinito e metodo di un&#8217;interfaccia????</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Seampunk DELL LCD Mod by Yoghi</title>
		<link>http://blog.sigmalab.net/2007/06/08/seampunk-dell-lcd-mod/comment-page-1/#comment-36</link>
		<dc:creator>Yoghi</dc:creator>
		<pubDate>Thu, 11 Oct 2007 19:48:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sigmalab.net/2007/06/08/seampunk-dell-lcd-mod/#comment-36</guid>
		<description>Se interessa qui c&#039;Ã¨ un video al riguardo : http://link.brightcove.com/services/link/bcpid452319854/bctid1135486277</description>
		<content:encoded><![CDATA[<p>Se interessa qui c&#8217;Ã¨ un video al riguardo : <a href="http://link.brightcove.com/services/link/bcpid452319854/bctid1135486277" rel="nofollow">http://link.brightcove.com/services/link/bcpid452319854/bctid1135486277</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

