<?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 Al Stevens – Art director, interactive and user experience designer.</title>
	<atom:link href="http://www.alstevens.co.uk/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alstevens.co.uk</link>
	<description>I work and play at TUI Ski where I spend my days endeavoring to craft delightful interactive experiences. At home I like country pubs, listening to the eclectic delights of French radio FIP and am daddy to a clutch of cheeky little monsters. Any opinions expressed here are mine and do not represent the opinions of any company I work for.</description>
	<lastBuildDate>Wed, 21 Jul 2010 20:21:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Making google analytics unobtrusive by Levi</title>
		<link>http://www.alstevens.co.uk/a-less-obtrusive-google-analytics-script/comment-page-1/#comment-268</link>
		<dc:creator>Levi</dc:creator>
		<pubDate>Wed, 21 Jul 2010 20:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.alstevens.co.uk/wordpress/?p=77#comment-268</guid>
		<description>Al, yes that helps, thanks for your response.</description>
		<content:encoded><![CDATA[<p>Al, yes that helps, thanks for your response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making google analytics unobtrusive by Al Stevens</title>
		<link>http://www.alstevens.co.uk/a-less-obtrusive-google-analytics-script/comment-page-1/#comment-267</link>
		<dc:creator>Al Stevens</dc:creator>
		<pubDate>Sun, 18 Jul 2010 19:56:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.alstevens.co.uk/wordpress/?p=77#comment-267</guid>
		<description>@bobdobbs I&#039;m hoping to upgrade this tutorial soon! I hope you managed to solve it though.</description>
		<content:encoded><![CDATA[<p>@bobdobbs I&#8217;m hoping to upgrade this tutorial soon! I hope you managed to solve it though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making google analytics unobtrusive by Al Stevens</title>
		<link>http://www.alstevens.co.uk/a-less-obtrusive-google-analytics-script/comment-page-1/#comment-266</link>
		<dc:creator>Al Stevens</dc:creator>
		<pubDate>Sun, 18 Jul 2010 19:55:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.alstevens.co.uk/wordpress/?p=77#comment-266</guid>
		<description>@Levi - thanks for your input. I don&#039;t see any fundamental problem with the script you have used and I think the answer to your question lies in whether you will be calling multiple functions on page load. You see if you have other functions to call on page load (like for example a script which loads another web service) then using a reusable function like addLoadEvent makes sense. If however you only require a single use then maybe your code will suffice.

Alternatively if you&#039;re using a script library like jQuery then you could simply use the library&#039;s own function, in jQuery&#039;s case - $(document).ready(function() {
   // put all your jQuery goodness in here.
 });

I hope that helps.

Al</description>
		<content:encoded><![CDATA[<p>@Levi &#8211; thanks for your input. I don&#8217;t see any fundamental problem with the script you have used and I think the answer to your question lies in whether you will be calling multiple functions on page load. You see if you have other functions to call on page load (like for example a script which loads another web service) then using a reusable function like addLoadEvent makes sense. If however you only require a single use then maybe your code will suffice.</p>
<p>Alternatively if you&#8217;re using a script library like jQuery then you could simply use the library&#8217;s own function, in jQuery&#8217;s case &#8211; $(document).ready(function() {<br />
   // put all your jQuery goodness in here.<br />
 });</p>
<p>I hope that helps.</p>
<p>Al</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making google analytics unobtrusive by Levi</title>
		<link>http://www.alstevens.co.uk/a-less-obtrusive-google-analytics-script/comment-page-1/#comment-265</link>
		<dc:creator>Levi</dc:creator>
		<pubDate>Fri, 16 Jul 2010 18:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.alstevens.co.uk/wordpress/?p=77#comment-265</guid>
		<description>I meant to say, this is the code I got out of a book. 
The other code is from this tutorial.

if(typeof window.addEventListener != “undefined”)
{
window.addEventListener(”load”, doThisAfterTheHTMLHasLoaded, false);
}
else if(typeof window.attachEvent != “undefined”)
{
window.attachEvent(”onload”, doThisAfterTheHTMLHasLoaded);
}</description>
		<content:encoded><![CDATA[<p>I meant to say, this is the code I got out of a book.<br />
The other code is from this tutorial.</p>
<p>if(typeof window.addEventListener != “undefined”)<br />
{<br />
window.addEventListener(”load”, doThisAfterTheHTMLHasLoaded, false);<br />
}<br />
else if(typeof window.attachEvent != “undefined”)<br />
{<br />
window.attachEvent(”onload”, doThisAfterTheHTMLHasLoaded);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making google analytics unobtrusive by Levi</title>
		<link>http://www.alstevens.co.uk/a-less-obtrusive-google-analytics-script/comment-page-1/#comment-264</link>
		<dc:creator>Levi</dc:creator>
		<pubDate>Fri, 16 Jul 2010 18:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.alstevens.co.uk/wordpress/?p=77#comment-264</guid>
		<description>I tried the code I wrote above and it works in chrome, not sure what version, firefox, not sure what version, and ie6. I still need to test it in ie7, ie8, and safari. My original question should have been: I&#039;m new to javascript, how does the code I posted compare to your code? I usually use the simplest code that will work in the most used browsers. The code I posted I got out of a book. To me it seems simpler and easier to understand. What do you think?</description>
		<content:encoded><![CDATA[<p>I tried the code I wrote above and it works in chrome, not sure what version, firefox, not sure what version, and ie6. I still need to test it in ie7, ie8, and safari. My original question should have been: I&#8217;m new to javascript, how does the code I posted compare to your code? I usually use the simplest code that will work in the most used browsers. The code I posted I got out of a book. To me it seems simpler and easier to understand. What do you think?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making google analytics unobtrusive by Levi</title>
		<link>http://www.alstevens.co.uk/a-less-obtrusive-google-analytics-script/comment-page-1/#comment-263</link>
		<dc:creator>Levi</dc:creator>
		<pubDate>Thu, 15 Jul 2010 21:52:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.alstevens.co.uk/wordpress/?p=77#comment-263</guid>
		<description>I forgot to say thankyou for this tutorial. Thankyou. I like it</description>
		<content:encoded><![CDATA[<p>I forgot to say thankyou for this tutorial. Thankyou. I like it</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making google analytics unobtrusive by Levi</title>
		<link>http://www.alstevens.co.uk/a-less-obtrusive-google-analytics-script/comment-page-1/#comment-262</link>
		<dc:creator>Levi</dc:creator>
		<pubDate>Thu, 15 Jul 2010 21:47:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.alstevens.co.uk/wordpress/?p=77#comment-262</guid>
		<description>I was wondering if this would work:

function loadGAScript()
{
  if (!document.getElementsByTagName) return false;
  var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);
  var gaScript = document.createElement(&quot;script&quot;);
  gaScript.setAttribute(&quot;type&quot;, &quot;text/javascript&quot;);
  gaScript.setAttribute(&quot;src&quot;, gaJsHost + &quot;google-analytics.com/ga.js&quot;);
  var domHead = document.getElementsByTagName(&quot;head&quot;)[0];
  domHead.appendChild(gaScript);
}
loadGAScript();

function callGA()
{
  try
  {
    var pageTracker = _gat._getTracker(&quot;UA-xxxxxxxx-x&quot;);
    pageTracker._trackPageview();
  }
  catch(err) {}
}

function doThisAfterTheHTMLHasLoaded() 
{
  callGA();
}

if(typeof window.addEventListener != &quot;undefined&quot;)
{
  window.addEventListener(&quot;load&quot;, doThisAfterTheHTMLHasLoaded, false);
}
else if(typeof window.attachEvent != &quot;undefined&quot;)
{
  window.attachEvent(&quot;onload&quot;, doThisAfterTheHTMLHasLoaded);
}</description>
		<content:encoded><![CDATA[<p>I was wondering if this would work:</p>
<p>function loadGAScript()<br />
{<br />
  if (!document.getElementsByTagName) return false;<br />
  var gaJsHost = ((&#8221;https:&#8221; == document.location.protocol) ? &#8220;https://ssl.&#8221; : &#8220;http://www.&#8221;);<br />
  var gaScript = document.createElement(&#8221;script&#8221;);<br />
  gaScript.setAttribute(&#8221;type&#8221;, &#8220;text/javascript&#8221;);<br />
  gaScript.setAttribute(&#8221;src&#8221;, gaJsHost + &#8220;google-analytics.com/ga.js&#8221;);<br />
  var domHead = document.getElementsByTagName(&#8221;head&#8221;)[0];<br />
  domHead.appendChild(gaScript);<br />
}<br />
loadGAScript();</p>
<p>function callGA()<br />
{<br />
  try<br />
  {<br />
    var pageTracker = _gat._getTracker(&#8221;UA-xxxxxxxx-x&#8221;);<br />
    pageTracker._trackPageview();<br />
  }<br />
  catch(err) {}<br />
}</p>
<p>function doThisAfterTheHTMLHasLoaded()<br />
{<br />
  callGA();<br />
}</p>
<p>if(typeof window.addEventListener != &#8220;undefined&#8221;)<br />
{<br />
  window.addEventListener(&#8221;load&#8221;, doThisAfterTheHTMLHasLoaded, false);<br />
}<br />
else if(typeof window.attachEvent != &#8220;undefined&#8221;)<br />
{<br />
  window.attachEvent(&#8221;onload&#8221;, doThisAfterTheHTMLHasLoaded);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to install wireless USB drivers for Ubuntu by Ted</title>
		<link>http://www.alstevens.co.uk/how-to-install-wireless-usb-drivers-for-ubuntu/comment-page-1/#comment-256</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Sun, 18 Apr 2010 22:03:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.alstevens.co.uk/?p=273#comment-256</guid>
		<description>Like your other replies I was struggling with my cheapie USB wireless dongle.
Followed your directions and they worked a treat. Carry on with the good work.
Many Thanks Ted Williams</description>
		<content:encoded><![CDATA[<p>Like your other replies I was struggling with my cheapie USB wireless dongle.<br />
Followed your directions and they worked a treat. Carry on with the good work.<br />
Many Thanks Ted Williams</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to install wireless USB drivers for Ubuntu by David M</title>
		<link>http://www.alstevens.co.uk/how-to-install-wireless-usb-drivers-for-ubuntu/comment-page-1/#comment-255</link>
		<dc:creator>David M</dc:creator>
		<pubDate>Tue, 06 Apr 2010 19:37:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.alstevens.co.uk/?p=273#comment-255</guid>
		<description>How to get root access on Ubuntu.

As mentioned above by Alix, being permanently logged in as &#039;root&#039; or another admin user is potentially harmfull to your pc.

Ubuntu uses a system call &#039;sudo&#039; (which is used by Debian and most of it&#039;s derivatives, of which ubuntu is one of many).

if you really need to run a command as root, most often when trying to install software via the command line, you would simply place the word &#039;sudo&#039; (without the quotes) before the required command.

The terminal will then ask for your password. This gives you access to the power of being an administrator on a temporary basis.

As an example.

I personally have multiple users with access to my pc, normally when I log in under my &#039;normal&#039; user name (davem) I cannot view or access the information in the other user&#039;s home directory.

however if I really need to with ubuntu (or other debian based systems) I can use the default file browser to view all areas of the system, to do this I would have to open a terminal (which requires a conscious effort and hence stops me doing it very often ;) and type in the following.....

gksudo nautilus

the terminal will ask for my usual password (as my users is part of the admin users group), and I will be given a file manager with full access to open, edit, remove, etc any part of the system. Danger yes, useful often.

you may now ask why I was talking about &#039;sudo&#039; and in the above command I used &#039;gksudo&#039; well the gksudo command is used when you need to open a &#039;graphical&#039; system such as the file manager or perhaps a web browser (so as to find, download and install the anoyingly missing plugging) -  bear in mind that when you do this you add these things in the root of the system, so if you aren&#039;t sure they are bug free and contain no worms, trojans or other nasties my advice is don&#039;t do it!

When you access synaptic (as al has done in his instructions) you will be asked to for your password, this is essentially the same process that is going on behind the scenes specific to installing new software.

I hope that snippit of information helps someone out, if you want to read more about the security idea behind sudo the following page on the ubuntu wiki should explain in more detail why it is used.

https://help.ubuntu.com/community/RootSudo 

David</description>
		<content:encoded><![CDATA[<p>How to get root access on Ubuntu.</p>
<p>As mentioned above by Alix, being permanently logged in as &#8216;root&#8217; or another admin user is potentially harmfull to your pc.</p>
<p>Ubuntu uses a system call &#8217;sudo&#8217; (which is used by Debian and most of it&#8217;s derivatives, of which ubuntu is one of many).</p>
<p>if you really need to run a command as root, most often when trying to install software via the command line, you would simply place the word &#8217;sudo&#8217; (without the quotes) before the required command.</p>
<p>The terminal will then ask for your password. This gives you access to the power of being an administrator on a temporary basis.</p>
<p>As an example.</p>
<p>I personally have multiple users with access to my pc, normally when I log in under my &#8216;normal&#8217; user name (davem) I cannot view or access the information in the other user&#8217;s home directory.</p>
<p>however if I really need to with ubuntu (or other debian based systems) I can use the default file browser to view all areas of the system, to do this I would have to open a terminal (which requires a conscious effort and hence stops me doing it very often <img src='http://www.alstevens.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  and type in the following&#8230;..</p>
<p>gksudo nautilus</p>
<p>the terminal will ask for my usual password (as my users is part of the admin users group), and I will be given a file manager with full access to open, edit, remove, etc any part of the system. Danger yes, useful often.</p>
<p>you may now ask why I was talking about &#8217;sudo&#8217; and in the above command I used &#8216;gksudo&#8217; well the gksudo command is used when you need to open a &#8216;graphical&#8217; system such as the file manager or perhaps a web browser (so as to find, download and install the anoyingly missing plugging) &#8211;  bear in mind that when you do this you add these things in the root of the system, so if you aren&#8217;t sure they are bug free and contain no worms, trojans or other nasties my advice is don&#8217;t do it!</p>
<p>When you access synaptic (as al has done in his instructions) you will be asked to for your password, this is essentially the same process that is going on behind the scenes specific to installing new software.</p>
<p>I hope that snippit of information helps someone out, if you want to read more about the security idea behind sudo the following page on the ubuntu wiki should explain in more detail why it is used.</p>
<p><a href="https://help.ubuntu.com/community/RootSudo" rel="nofollow">https://help.ubuntu.com/community/RootSudo</a> </p>
<p>David</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to install wireless USB drivers for Ubuntu by andy</title>
		<link>http://www.alstevens.co.uk/how-to-install-wireless-usb-drivers-for-ubuntu/comment-page-1/#comment-254</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Sat, 06 Mar 2010 20:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.alstevens.co.uk/?p=273#comment-254</guid>
		<description>Great little tip. Ive been struggling to get to grips with this issue also. Unfortunately, there are no .inf files on the CD, so bit of a none starter there. There is a linux install folder, but ye gods...5 pages of gobbledygook instructions for an ubuntu novice like me are just too much!

Good share, Al. Wish there were more easy step tutorials for Windows refugees like this one! :)</description>
		<content:encoded><![CDATA[<p>Great little tip. Ive been struggling to get to grips with this issue also. Unfortunately, there are no .inf files on the CD, so bit of a none starter there. There is a linux install folder, but ye gods&#8230;5 pages of gobbledygook instructions for an ubuntu novice like me are just too much!</p>
<p>Good share, Al. Wish there were more easy step tutorials for Windows refugees like this one! <img src='http://www.alstevens.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
