<?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>antoniolorusso.com &#187; Altro</title>
	<atom:link href="http://antoniolorusso.com/category/altro/feed/" rel="self" type="application/rss+xml" />
	<link>http://antoniolorusso.com</link>
	<description>About me and what I do :)</description>
	<lastBuildDate>Mon, 21 Jun 2010 22:17:54 +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>Google Website Optimiser and the bugged Techie Guide</title>
		<link>http://antoniolorusso.com/2010/03/31/google-website-optimiser-and-the-bugged-techie-guide/</link>
		<comments>http://antoniolorusso.com/2010/03/31/google-website-optimiser-and-the-bugged-techie-guide/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 09:00:21 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[content-variation]]></category>
		<category><![CDATA[content_variation]]></category>
		<category><![CDATA[GWO]]></category>
		<category><![CDATA[techie guide]]></category>
		<category><![CDATA[Web Optimiser]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/03/31/google-website-optimiser-and-the-bugged-techie-guide/</guid>
		<description><![CDATA[I spent hours yesterday to implement the GWO that, instead, should take literally minutes!You want to know why? The bugged Techie Guide!!! On page 19, the script is completely wrong and drove me mad: variation-content should be variation_content and document.write(“&#60;/nosc” + “ript&#62;”) should be document.write(“&#60;nosc” + “ript&#62;”); So, here is he complete correct script:&#60;script&#62;var v [...]]]></description>
			<content:encoded><![CDATA[<p>I spent hours yesterday to implement the GWO that, instead, should take literally minutes!<br />You want to know why? The bugged <a target="_blank" href="http://www.google.com/en//websiteoptimizer/techieguide.pdf">Techie Guide</a>!!!</p>
<p>On page 19, the script is completely wrong and drove me mad: variation-content should be <b>variation_content</b> and document.write(“&lt;/nosc” + “ript&gt;”) should be <b>document.write(“&lt;nosc” + “ript&gt;”)</b>;</p>
<p>So, here is he complete correct script:<br /><code>&lt;script&gt;<br />var v = utmx(‘variation_content’, ‘Section1’);<br />if (v) {<br />document.write(<br />v.replace(“%%product_name%%”, “&lt;? print $product_name ?&gt;”).<br />replace(“%%product_price%%”, “&lt;? print $product_price ?&gt;”).<br />replace(“%%product_id%%”, “&lt;? print $product_id ?&gt;”));<br />document.write(“&lt;nosc” + “ript&gt;”);<br />}<br />&lt;/script&gt;<br />&lt;ul&gt;<br />&lt;li&gt;Product name: &lt;? print $product_name ?&gt;<br />&lt;li&gt;Product price: &lt;? print $product_price ?&gt;<br />&lt;li&gt;&lt;a href=’buy.php?prod-id=&lt;? print $product_id ?&gt;’&gt;<br />Buy Now&lt;/a&gt;<br />&lt;/ul&gt;<br />&lt;/noscript&gt;<br /></code><br />Adapt it to your code and be happy!</p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/03/31/google-website-optimiser-and-the-bugged-techie-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5.3 and more on Ubuntu</title>
		<link>http://antoniolorusso.com/2010/01/15/php-5-3-and-more-on-ubuntu/</link>
		<comments>http://antoniolorusso.com/2010/01/15/php-5-3-and-more-on-ubuntu/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 12:16:59 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php5.3]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/01/15/php-5-3-and-more-on-ubuntu/</guid>
		<description><![CDATA[Thanks to Dotdeb guys is now possible to upgrade PHP easly on your Ubuntu machine.Just add their repository to your sources.list. You can find more detailed instructions here! Have fun.]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a target="_blank" href="http://www.dotdeb.org">Dotdeb guys</a> is now possible to upgrade PHP easly on your Ubuntu machine.<br />Just add their repository to your sources.list. You can find more detailed instructions <a target="_blank" href="http://blog.astrumfutura.com/archives/427-Installing-PHP-5.3.1-On-Ubuntu-9.10-Karmic-Koala-With-aptitudeapt-get.html">here</a>!</p>
<p>Have fun. <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=17c2f59f-4e8b-8f9c-8df6-f68bdc3f94f7" /></div>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/01/15/php-5-3-and-more-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>youtube: even the big fall!</title>
		<link>http://antoniolorusso.com/2009/11/01/youtube-even-the-big-fall/</link>
		<comments>http://antoniolorusso.com/2009/11/01/youtube-even-the-big-fall/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 18:24:29 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>
		<category><![CDATA[500]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[internal server error]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/?p=261</guid>
		<description><![CDATA[Tonight screenshot]]></description>
			<content:encoded><![CDATA[<p>Tonight screenshot<br />
<img src="http://antoniolorusso.com/wp-content/uploads/2009/11/youtube_internal_server_error1-1024x274.jpg" alt="youtube_internal_server_error" title="youtube_internal_server_error" width="575" height="274" class="alignnone size-large wp-image-265" /></p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/11/01/youtube-even-the-big-fall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sudo gem update &#8211;system under ubuntu/debian</title>
		<link>http://antoniolorusso.com/2009/09/07/sudo-gem-update-system-under-ubuntudebian/</link>
		<comments>http://antoniolorusso.com/2009/09/07/sudo-gem-update-system-under-ubuntudebian/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 11:35:08 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2009/09/07/sudo-gem-update-system-under-ubuntudebian/</guid>
		<description><![CDATA[If you have tried that command, you already know that doesn&#8217;t work!Here is the correct procedure to update gem under ubuntu/debian without using apt-get/aptitude$ sudo gem install rubygems-update$ cd /var/lib/gems/1.8/bin$ sudo ./update_rubygems$ gem -v$ 1.3.5Happy rubying]]></description>
			<content:encoded><![CDATA[<p>If you have tried that command, you already know that doesn&#8217;t work!<br />Here is the correct procedure to update gem under ubuntu/debian without using apt-get/aptitude<br /><code><br />$ sudo gem install rubygems-update<br />$ cd /var/lib/gems/1.8/bin<br />$ sudo ./update_rubygems<br />$ gem -v<br />$ 1.3.5<br /></code><br />Happy rubying <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/09/07/sudo-gem-update-system-under-ubuntudebian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacPorts, PHP 5.3 and Mysqlnd</title>
		<link>http://antoniolorusso.com/2009/08/14/macports-php-5-3-and-mysqlnd/</link>
		<comments>http://antoniolorusso.com/2009/08/14/macports-php-5-3-and-mysqlnd/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 00:11:10 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2009/08/14/macports-php-5-3-and-mysqlnd/</guid>
		<description><![CDATA[If you have recently upgraded to php 5.3 and you have done it usingsudo port install php5 +apache2+macosx+mysqlnd+pearyou should have noticed that you cannot use mysql anymore because of an error that, I&#8217;m sure, is driving you crazyPHP Warning: mysqli::mysqli(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in /Users/antonio/Sites/db.php on line [...]]]></description>
			<content:encoded><![CDATA[<p>If you have recently upgraded to php 5.3 and you have done it using<br /><code>sudo port install php5 +apache2+macosx+mysqlnd+pear</code><br />you should have noticed that you cannot use mysql anymore because of an error that, I&#8217;m sure, is driving you crazy<br /><code>PHP Warning: mysqli::mysqli(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in /Users/antonio/Sites/db.php on line 25</p>
<p>PHP Warning: mysqli::mysqli(): (HY000/2002): No such file or directory in /Users/antonio/Sites/db.php on line 25</code><br />The problem comes from php and unfortunately is only fixable changing the location of the mysql.sock from the usual macports directory <span style="font-weight: bold;">/opt/local/var/run/mysql5/mysqld.sock</span> to <span style="font-weight: bold;">/tmp/mysql.sock</span> editing the file <span style="font-weight: bold;">/opt/local/etc/my.cnf</span></p>
<p> <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=fd3d1936-a860-8902-9c80-550350a26902" /></div>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/08/14/macports-php-5-3-and-mysqlnd/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>the twittersphere</title>
		<link>http://antoniolorusso.com/2009/08/13/the-twittersphere/</link>
		<comments>http://antoniolorusso.com/2009/08/13/the-twittersphere/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 00:22:10 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2009/08/13/the-twittersphere/</guid>
		<description><![CDATA[Sooooooo funny!]]></description>
			<content:encoded><![CDATA[<p>Sooooooo funny!</p>
<p><object id="ce_89891774" width="400" height="300" data="http://current.com/e/89891774/en_US"><param name="movie" value="http://current.com/e/89891774/en_US"></param><param name="wmode" value="transparent"></param><param name="allowfullscreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed type="application/x-shockwave-flash" src="http://current.com/e/89891774/en_US" width="400" height="300" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/08/13/the-twittersphere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>my .bashrc and env on mac</title>
		<link>http://antoniolorusso.com/2009/06/13/my-bashrc-and-env-on-mac/</link>
		<comments>http://antoniolorusso.com/2009/06/13/my-bashrc-and-env-on-mac/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 10:59:16 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2009/06/13/my-bashrc-and-env-on-mac/</guid>
		<description><![CDATA[If someone find it useful&#8230; I do and this post is, honestly, for my record: bash-3.2$ env APSX2=/opt/local/apache2/bin/apxs MANPATH=/opt/local/share/man:/opt/local/share/man:/opt/local/share/man:/opt/local/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/man TERM_PROGRAM=iTerm.app LC_MONETARY=en_GB.UTF-8 SHELL=/bin/bash TERM=xterm LC_NUMERIC=en_GB.UTF-8 COMMAND_MODE=legacy __CF_USER_TEXT_ENCODING=0x1F5:0:0 PATH=/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin LC_MESSAGES=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8 PWD=/Users/zekus EDITOR=/usr/bin/mate -w LANG=en_GB.UTF-8 HOME=/Users/zekus SHLVL=1 LOGNAME=zekus LC_CTYPE=en_GB.UTF-8 DISPLAY=:0.0 SECURITYSESSIONID=613f90 LC_TIME=en_GB.UTF-8 _=/usr/bin/env bash-3.2$ cat ~/.bashrc export PATH=/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:$PATH export MANPATH=/opt/local/share/man:$MANPATH export DISPLAY=:0.0 export EDITOR='/usr/bin/mate -w' export APSX2='/opt/local/apache2/bin/apxs' [...]]]></description>
			<content:encoded><![CDATA[<p>If someone find it useful&#8230; I do and this post is, honestly, for my record:</p>
<p><code><br />
bash-3.2$ env<br />
APSX2=/opt/local/apache2/bin/apxs<br />
MANPATH=/opt/local/share/man:/opt/local/share/man:/opt/local/share/man:/opt/local/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/man<br />
TERM_PROGRAM=iTerm.app<br />
LC_MONETARY=en_GB.UTF-8<br />
SHELL=/bin/bash<br />
TERM=xterm<br />
LC_NUMERIC=en_GB.UTF-8<br />
COMMAND_MODE=legacy<br />
__CF_USER_TEXT_ENCODING=0x1F5:0:0<br />
PATH=/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin<br />
LC_MESSAGES=en_GB.UTF-8<br />
LC_COLLATE=en_GB.UTF-8<br />
PWD=/Users/zekus<br />
EDITOR=/usr/bin/mate -w<br />
LANG=en_GB.UTF-8<br />
HOME=/Users/zekus<br />
SHLVL=1<br />
LOGNAME=zekus<br />
LC_CTYPE=en_GB.UTF-8<br />
DISPLAY=:0.0<br />
SECURITYSESSIONID=613f90<br />
LC_TIME=en_GB.UTF-8<br />
_=/usr/bin/env<br />
</code></p>
<p><code><br />
bash-3.2$ cat ~/.bashrc<br />
export PATH=/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:$PATH<br />
export MANPATH=/opt/local/share/man:$MANPATH<br />
export DISPLAY=:0.0<br />
export EDITOR='/usr/bin/mate -w'<br />
export APSX2='/opt/local/apache2/bin/apxs'<br />
alias mysqld='sudo /opt/local/share/mysql5/mysql/mysql.server'<br />
alias apachectl='sudo /opt/local/apache2/bin/apachectl'<br />
alias mysql='mysql5'<br />
alias rake='/opt/local/bin/rake'<br />
alias rails='/opt/local/bin/rails'<br />
alias ruby='/opt/local/bin/ruby'<br />
postgresqlctl () { sudo su postgres -c "/opt/local/lib/postgresql83/bin/pg_ctl $1 -D /opt/local/var/db/postgresql83/defaultdb"; }<br />
</code></p>
<p>Note the last row in the bashrc: is a function to load the postgres server on demand!</p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/06/13/my-bashrc-and-env-on-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrated</title>
		<link>http://antoniolorusso.com/2009/05/31/migrated/</link>
		<comments>http://antoniolorusso.com/2009/05/31/migrated/#comments</comments>
		<pubDate>Sun, 31 May 2009 11:39:49 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2009/05/31/migrated/</guid>
		<description><![CDATA[Me and Antonello have finally bought our server and this blog has been the first to be migrated.Totally happy! Expect great new things]]></description>
			<content:encoded><![CDATA[<p>Me and Antonello have finally bought our server and this blog has been the first to be migrated.<br />Totally happy! Expect great new things <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/05/31/migrated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>long time</title>
		<link>http://antoniolorusso.com/2009/05/11/long-time/</link>
		<comments>http://antoniolorusso.com/2009/05/11/long-time/#comments</comments>
		<pubDate>Mon, 11 May 2009 20:28:28 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Wow, I just noticed that my last post was 50 days old&#8230; I must have been busy, haven&#8217;t I?So, what am I doing? The first part time website in Ruby on Rails is going to be published and I was working on that almost every evening and weekend with Antonello.I should have written something about [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, I just noticed that my last post was 50 days old&#8230; I must have been busy, haven&#8217;t I?<br />So, what am I doing? The first part time website in Ruby on Rails is going to be published and I was working on that almost every evening and weekend with Antonello.<br />I should have written something about Rails and Ruby in here but &#8230; there is already a lot of material around the web.</p>
<p>Maybe I&#8217;ll post something on GIT that is a bit more obscure <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=7e92c0b0-f27e-8f67-92ee-b92a9c7f3d71" /></div>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/05/11/long-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LightTPD nightmare</title>
		<link>http://antoniolorusso.com/2008/11/13/lighttpd-nightmare/</link>
		<comments>http://antoniolorusso.com/2008/11/13/lighttpd-nightmare/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 12:08:56 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[2tls]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[subdomain]]></category>
		<category><![CDATA[tld]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[if are trying to use mod_evhost in lighttpd in a more advanced way like using deep subdomains or with particulars tld like &#8220;co.uk&#8221; aka 2tls, you should know that $HTTP["host"] =~ "^([^.]+)\.([^.]+)\.babelclient\.photobox\.([^.]+)\.([^.]+)$"{ evhost.path-pattern = "/web/%5/%6/assets" } will NEVER WORK but $HTTP["host"] =~ "^([^.]+)\.([^.]+)\.babelclient\.photobox\.([^.]+)\.([^.]+)"{ evhost.path-pattern = "/web/%5/%6/assets/" } WILL WORK. compare the two pieces of code [...]]]></description>
			<content:encoded><![CDATA[<p>if are trying to use mod_evhost in lighttpd in a more advanced way like using deep subdomains or with particulars tld like &#8220;co.uk&#8221; aka 2tls, you should know that<br />
<code><br />
$HTTP["host"] =~ "^([^.]+)\.([^.]+)\.babelclient\.photobox\.([^.]+)\.([^.]+)$"{<br />
evhost.path-pattern = "/web/%5/%6/assets"<br />
}<br />
</code><br />
will NEVER WORK but<br />
<code><br />
$HTTP["host"] =~ "^([^.]+)\.([^.]+)\.babelclient\.photobox\.([^.]+)\.([^.]+)"{<br />
evhost.path-pattern = "/web/%5/%6/assets/"<br />
}<br />
</code><br />
WILL WORK.</p>
<p>compare the two pieces of code and start screaming like a mad!</p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2008/11/13/lighttpd-nightmare/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
