<?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>(function() { &#187; bug</title>
	<atom:link href="http://maxb.net/blog/category/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://maxb.net/blog</link>
	<description>// MAXB.NET LABS</description>
	<lastBuildDate>Fri, 25 Jun 2010 07:26:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>IE: resize timer</title>
		<link>http://maxb.net/blog/2009/04/03/ie-resize-timer/</link>
		<comments>http://maxb.net/blog/2009/04/03/ie-resize-timer/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 13:14:49 +0000</pubDate>
		<dc:creator>Massimiliano Balestrieri</dc:creator>
				<category><![CDATA[bug]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://maxb.net/blog/?p=286</guid>
		<description><![CDATA[Se volete collegare qualcosa all&#8217;evento resize (su IE) vi conviene usare sempre questo snippet di codice (jQuery): var _resize_timer = null; $(window).bind('resize', function(ev) { if (_resize_timer) clearTimeout(_resize_timer); _resize_timer = setTimeout(function(){ //CODE }, 100); }); invece del semplice (e funzionante codice) $(window).bind('resize', function(ev) { //CODE }); Provate voi stessi a ridimensionare la finestra (IE) : http://maxb.net/scripts/ieresize/resize-ie.html [...]]]></description>
			<content:encoded><![CDATA[<p>Se volete collegare qualcosa all&#8217;evento resize (su IE) vi conviene usare sempre questo snippet di codice (jQuery):</p>
<pre><code class="javascript">
var _resize_timer = null;
$(window).bind('resize', function(ev) {
	if (_resize_timer) clearTimeout(_resize_timer);
	_resize_timer = setTimeout(function(){
           //CODE
	}, 100);
});
</code></pre>
<p>invece del semplice (e funzionante codice)</p>
<pre><code class="javascript">
$(window).bind('resize', function(ev) {
	//CODE
});
</code></pre>
<p>Provate voi stessi a ridimensionare la finestra (IE) :</p>
<p><a href="http://maxb.net/scripts/ieresize/resize-ie.html" target="_blank">http://maxb.net/scripts/ieresize/resize-ie.html</a><br />
<a href="http://maxb.net/scripts/ieresize/resize.html" target="_blank">http://maxb.net/scripts/ieresize/resize.html</a></p>
<img src="http://maxb.net/blog/?ak_action=api_record_view&id=286&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://maxb.net/blog/2009/04/03/ie-resize-timer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE: document.body is null</title>
		<link>http://maxb.net/blog/2009/04/03/ie-documentbody-is-null/</link>
		<comments>http://maxb.net/blog/2009/04/03/ie-documentbody-is-null/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 12:40:26 +0000</pubDate>
		<dc:creator>Massimiliano Balestrieri</dc:creator>
				<category><![CDATA[bug]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://maxb.net/blog/?p=283</guid>
		<description><![CDATA[Prima di impazzire come ho fatto io guardate questi 3 link (con ie). http://maxb.net/scripts/base/bug-on.html http://maxb.net/scripts/base/bug-off.html http://maxb.net/scripts/base/base.html Il tag &#60;base /&#62; potrebbe essere il problema. Dico potrebbe perchè stiamo parlando di internet explorer. Il condizionale è d&#8217;obbligo.]]></description>
			<content:encoded><![CDATA[<p>Prima di impazzire come ho fatto io guardate questi 3 link (con ie).</p>
<ul>
<li> <a href="http://maxb.net/scripts/base/bug-on.html" target="_blank">http://maxb.net/scripts/base/bug-on.html</a></li>
<li> <a href="http://maxb.net/scripts/base/bug-off.html" target="_blank">http://maxb.net/scripts/base/bug-off.html</a></li>
<li> <a href="http://maxb.net/scripts/base/base.html" target="_blank">http://maxb.net/scripts/base/base.html</a></li>
</ul>
<p>Il tag <strong>&lt;base /&gt;</strong> potrebbe essere il problema.</p>
<p>Dico potrebbe perchè stiamo parlando di internet explorer. Il condizionale è d&#8217;obbligo.</p>
<img src="http://maxb.net/blog/?ak_action=api_record_view&id=283&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://maxb.net/blog/2009/04/03/ie-documentbody-is-null/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3.1Beta2 &#8211; jQuery metadata &#8220;bug&#8221;</title>
		<link>http://maxb.net/blog/2009/02/03/firefox-31beta2-jquery-metadata-bug/</link>
		<comments>http://maxb.net/blog/2009/02/03/firefox-31beta2-jquery-metadata-bug/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 17:20:03 +0000</pubDate>
		<dc:creator>Massimiliano Balestrieri</dc:creator>
				<category><![CDATA[bug]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[FF3.1b2]]></category>

		<guid isPermaLink="false">http://maxb.net/blog/?p=153</guid>
		<description><![CDATA[DEMO &#8211; FIREBUG ATTIVO! Ho trovato il primo bug su firefox 3.1beta1. Lo reputo un bug del browser perchè lo stesso script su Firefox 3 funziona. Il plugin metadata si spacca se i metadata sono scritti su più righe: &#60;div id=&#34;metadata1&#34; class=&#34;metadata { type : 'p', colors : ['5131C9'], size : '300x200' }&#34;&#62;&#60;/div&#62; Ho provato [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://maxb.net/scripts/beta3.1/metadata.html" target="_blank">DEMO &#8211; FIREBUG ATTIVO!</a></p>
<p>Ho trovato il primo bug su firefox 3.1beta1.<br />
Lo reputo un bug del browser perchè lo stesso script su Firefox 3 funziona.</p>
<p>Il plugin metadata si spacca se i metadata sono scritti su più righe:</p>
<pre><code class="html">
&lt;div id=&quot;metadata1&quot; class=&quot;metadata {
    type : 'p',
    colors : ['5131C9'],
    size : '300x200'
}&quot;&gt;&lt;/div&gt;

</code></pre>
<p>Ho provato ad estrapolare il pezzo di codice da metadata.</p>
<p>La soluzione è rimuovere gli &#8220;a capi&#8221; dall&#8217;eventuale stringa restituita dall&#8217;espressione regolare.</p>
<pre><code class="javascript">
var _cre3=  /{.*}/;
var _m3 = _cre3.exec( jQuery("#metadata4").attr("class").toString().replace("\n","") );
</code></pre>
<img src="http://maxb.net/blog/?ak_action=api_record_view&id=153&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://maxb.net/blog/2009/02/03/firefox-31beta2-jquery-metadata-bug/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Packer bug?</title>
		<link>http://maxb.net/blog/2009/02/03/packer-bug/</link>
		<comments>http://maxb.net/blog/2009/02/03/packer-bug/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 13:15:54 +0000</pubDate>
		<dc:creator>Massimiliano Balestrieri</dc:creator>
				<category><![CDATA[bug]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[edwards]]></category>
		<category><![CDATA[packer]]></category>

		<guid isPermaLink="false">http://maxb.net/blog/?p=151</guid>
		<description><![CDATA[Dean Edwards packer contains a bug using it with the new &#8220;encode privates&#8221; option. I&#8217;ve just published the part of the script that breaks it. The script postpend &#8220;_hidden&#8221; to a given string (when the string contains &#8220;[" and "]&#8220;, _hidden should be postpended inside the []). With the new option, the packer instead of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://dean.edwards.name/" target="_blank">Dean Edwards</a> <a href="http://dean.edwards.name/packer/" target="_blank">packer</a> contains a bug using it with the new &#8220;encode privates&#8221; option.</p>
<p>I&#8217;ve just published the part of the script that breaks it.</p>
<p>The script postpend &#8220;_hidden&#8221; to a given string (when the string<br />
contains &#8220;[" and "]&#8220;, _hidden should be postpended inside the []).</p>
<p>With the new option, the packer instead of<br />
entity[field_hidden]<br />
shows<br />
entity[field_0].</p>
<p>These are the different tests:</p>
<ul>
<li><a href="http://maxb.net/scripts/packerbug/test.html" target="_blank">Test &#8211; unpacked<br />
</a></li>
<li><a href="http://maxb.net/scripts/packerbug/test_pack.html" target="_blank">Test &#8211; packed with &#8220;Encode privates&#8221;<br />
</a></li>
<li><a href="http://maxb.net/scripts/packerbug/test_pack_without_private_option.html" target="_blank">Test &#8211; packed without &#8220;Encode privates&#8221;</a></li>
</ul>
<p>Last test</p>
<pre><code class="javascript">
var _t = "string";
var _t2 = _t + "_string";
document.write(_t2);
//print string_2 and not string_string
</code></pre>
<ul>
<li><a href="http://maxb.net/scripts/packerbug/test2.html" target="_blank">Test </a></li>
</ul>
<p>PS: grazie <a href="http://perassi.org" target="_blank">Carlo</a> <img src='http://maxb.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://maxb.net/blog/?ak_action=api_record_view&id=151&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://maxb.net/blog/2009/02/03/packer-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>google.it utilizza un certificato di sicurezza non valido</title>
		<link>http://maxb.net/blog/2008/09/23/googleit-utilizza-un-certificato-di-sicurezza-non-valido/</link>
		<comments>http://maxb.net/blog/2008/09/23/googleit-utilizza-un-certificato-di-sicurezza-non-valido/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 13:06:25 +0000</pubDate>
		<dc:creator>Massimiliano Balestrieri</dc:creator>
				<category><![CDATA[bug]]></category>

		<guid isPermaLink="false">http://maxb.net/blog/?p=133</guid>
		<description><![CDATA[Son giorni brutti. Son sommerso di bugs. Ovunque. Ne &#8220;posto&#8221; uno semplice semplice da correggere. Nel menu in alto della GMail il link al reader punta a https://www.google.it/reader/view/?tab=my Il certificato di google è valido per il dominio .com non per il dominio .it Cambiando in alto l&#8217;indirizzo da it a com non ho bisogno di [...]]]></description>
			<content:encoded><![CDATA[<p>Son giorni brutti. Son sommerso di bugs. Ovunque.</p>
<p>Ne &#8220;posto&#8221; uno semplice semplice da correggere.</p>
<hr />
<p><a href="http://maxb.net/blog/wp-content/uploads/2008/09/bug1.png"><img class="aligncenter size-full wp-image-134" title="bug1" src="http://maxb.net/blog/wp-content/uploads/2008/09/bug1.png" alt="" /></a></p>
<hr />
<p>Nel menu in alto della GMail il link al reader punta a</p>
<hr />
<p><a href="http://maxb.net/blog/wp-content/uploads/2008/09/bug2.png"><img class="aligncenter size-full wp-image-135" title="bug2" src="http://maxb.net/blog/wp-content/uploads/2008/09/bug2.png" alt="" /></a></p>
<hr />
<p>https://www.google.it/reader/view/?tab=my</p>
<p>Il certificato di google è valido per il dominio .com non per il dominio .it</p>
<hr />
<p><a href="http://maxb.net/blog/wp-content/uploads/2008/09/bug3.png"><img class="aligncenter size-full wp-image-136" title="bug3" src="http://maxb.net/blog/wp-content/uploads/2008/09/bug3.png" alt="" /></a></p>
<hr />
<p>Cambiando in alto l&#8217;indirizzo da it a com non ho bisogno di aggiungere eccezioni di sicurezza al mio browser.</p>
<hr />
<p><a href="http://maxb.net/blog/wp-content/uploads/2008/09/bug4.png"><img class="aligncenter size-full wp-image-137" title="bug4" src="http://maxb.net/blog/wp-content/uploads/2008/09/bug4.png" alt="" /></a></p>
<hr />
<p>Allo staff di google direi di cambiare il puntamento del reader da it a com o di creare dei certificati validi per google.it</p>
<p>Con molta umiltà vista la qualità ineguagliabile del loro software.</p>
<p>PS: se vedete il mio sito in bianco e nero e le immagini in miniatura&#8230; beh non è un bug, è che voi usate un bug per navigare e io di fare programmi intorno ai bachi son stanco <img src='http://maxb.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://maxb.net/blog/?ak_action=api_record_view&id=133&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://maxb.net/blog/2008/09/23/googleit-utilizza-un-certificato-di-sicurezza-non-valido/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
