<?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>Andrew Marconi &#187; troubleshoot</title>
	<atom:link href="http://andrewmarconi.com/tag/troubleshoot/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewmarconi.com</link>
	<description>UX-Focused Technical Project Manager, Developer and Digital Producer</description>
	<lastBuildDate>Fri, 18 May 2012 19:24:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Getting Boxee and XBMC Back after the Apple TV 3.0.1 Update</title>
		<link>http://andrewmarconi.com/2009/12/getting-boxee-and-xbmc-back-after-the-apple-tv-3-0-1-update/</link>
		<comments>http://andrewmarconi.com/2009/12/getting-boxee-and-xbmc-back-after-the-apple-tv-3-0-1-update/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 05:17:30 +0000</pubDate>
		<dc:creator>Andrew Marconi</dc:creator>
				<category><![CDATA[Usability & Experience]]></category>
		<category><![CDATA[Apple TV]]></category>
		<category><![CDATA[Boxee]]></category>
		<category><![CDATA[fixes]]></category>
		<category><![CDATA[HTPC]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Patchstick.ca]]></category>
		<category><![CDATA[troubleshoot]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[XBMC]]></category>

		<guid isPermaLink="false">http://andrewmarconi.com/?p=200</guid>
		<description><![CDATA[The Apple TV has a lot of potential. Unfortunately, it has some "features" that limit its usefulness out of the box. Thankfully, some really smart people have stepped in to leverage  third-party components, extending its capabilities that bring it one step closer to being a fantastic HTPC. <a href="http://andrewmarconi.com/2009/12/getting-boxee-and-xbmc-back-after-the-apple-tv-3-0-1-update/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The Apple TV has a lot of potential. Unfortunately, it has some &#8220;features&#8221; that limit its usefulness out of the box. Thankfully, some really smart people have stepped in to leverage  third-party components, extending its capabilities that bring it one step closer to being a fantastic <a href="http://en.wikipedia.org/wiki/Home_theater_PC" target="_blank">HTPC</a>.<br />
<span id="more-200"></span><br />
Please Note: These instructions will wipe your Apple TV completely clean. <strong>Anything you have stored previously on it will be erased. </strong>Be sure to backup before playing. You have been warned.</p>
<p>Be sure to read everything (including the disclaimer at the bottom) before doing anything with your Apple TV.</p>
<p><!--more--></p>
<h3>Chapter One. Patchstick Your Apple TV</h3>
<p>To start&#8230; you need a 1GB USB flash drive that doesn&#8217;t have any files on it. Some work, some don&#8217;t. Its a bit of a crap-shoot.</p>
<ul>
<li>1. Factory Reset your Apple TV. (Go to: General &gt; Reset Settings &gt; Factory Restore).</li>
<li>2. Update Software to 3.0.1 on Apple TV (Go to: General &gt;  Update Software).</li>
<li>3. Go to <a href="http://patchstick.wikispaces.com/PatchStickBuilder" target="_blank">http://patchstick.wikispaces.com/PatchStickBuilder</a> and click &#8220;download location&#8221;.</li>
<li>4. You will now be on a &#8220;Data File Host&#8221; page to download a file called &#8220;PSB3.0.zip&#8221; click on &#8220;Click Here&#8221; to download.</li>
<li>5. It will download the <strong>ATV&amp;More</strong> application in a zip file to your desktop. Unzip it.</li>
<li>6. Plug in your blank USB flash drive. If you have any other USB storage devices plugged in to your computer, <strong>UNPLUG THEM NOW</strong> to avoid accidentally erasing something important. This includes any external hard drives.</li>
</ul>
<blockquote><p><em><strong><br />
UPDATE</strong> (from <a href="http://twitter.com/patchstick" target="_blank">@patchstick</a>) &#8211; They tell me that you don&#8217;t have to do this because the software won&#8217;t write to any device over 16GB as a safety precaution – so there&#8217;s little chance in losing data on existing drives. Personally, I&#8217;m paranoid, so I&#8217;d still unmount/disconnect any other drives to avoid even a 0.0000001% chance.</em></p></blockquote>
<ul>
<li>7. Go into the PSB3.0 folder and double click on &#8220;PatchStick Builder&#8221; &#8212; this will launch the application.</li>
<li>8. Once the application is running, click on &#8220;Download Firmware Image&#8221; &#8211; this will get a required file from Apple&#8217;s update site. This could take some time, depending on the speed of your internet connection. When it is done, you should see a file name in bright green at the top left of the window, and it should say, &#8220;&#8230;ok&#8221; at the end.</li>
<li>9. Your USB drive should be listed in the drop-down box. Make sure it is selected and then click on the &#8220;Create Patchstick&#8221; button at the bottom. The program will spend some time organizing files and writing everything to the patchstick. Once it is done, it will let you know.</li>
<li>10. Quit the program and eject your new USB patchstick.</li>
<li>11. Unplug your Apple TV. Plug USB patchstick into the back of the Apple TV. Plug in your Apple TV. (NOTE: With some USB hardware, it sometimes works better if you plug in the Apple TV, and then within 2 seconds plug in the USB patchstick.)</li>
<li>12. You should see a hand holding a green apple come up on the screen, and then a bunch of little text scrolling down. When the process is done, you&#8217;ll see a note (in the small text) to unplug the USB patchstick.</li>
<li>13. In 30 seconds, the Apple TV will reboot &#8211; this will take a few moments. A big hand holding a green apple will animate, and then you&#8217;ll be taken to the 3.0.1 home screen.</li>
<li>14. Scroll to the right to &#8220;Launch More,&#8221; and then select Scripts &gt; Load Free Base Configuration.</li>
<li>15. You will see a screen that says &#8220;Running Script &#8220;Load Free Base Configuration&#8221; and it will be doing some work. When it is done, it will take you back to the home screen.</li>
<li>16. Go to &#8220;Launch More&#8221; &gt; &#8220;Scripts&#8221; &gt; &#8220;Hide TV Shows Menu Entry&#8221; (provided you never use this option &#8212; if you do rent/purchase TV Shows from iTunes, then don&#8217;t do this.</li>
</ul>
<p>Your Apple TV has been unlocked and is now ready to run third-party software.</p>
<h3>Chapter Two. Install Launcher 3.2 Beta 3</h3>
<p>This chapter downloads the program that will let you install <a href="http://www.boxee.tv/homepage/" target="_blank">Boxee</a> and <a href="http://xbmc.org/" target="_blank">XBMC</a>. Using your favorite SSH client (Terminal on a Mac, or <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">PuTTY</a> on Windows), you need to get your hands dirty for a few minutes&#8230;</p>
<ul>
<li>1. On the Mac, open Terminal and type: &#8220;ssh frontrow@appletv.local&#8221; and press enter. If you get an error saying that the &#8220;remote host identification has changed!&#8221; then you need to delete your known_hosts file. If you&#8217;ve never ssh&#8217;d into your ATV before, this probably won&#8217;t happen. Otherwise, you may be prompted to confirm you want to connect, even though &#8220;the authenticity of host can&#8217;t be established.&#8221; This is ok. Just type Yes. If you are on a Windows PC, run PuTTY, and create a connection to &#8220;appletv.local&#8221; over SSH with the username &#8220;frontrow&#8221;.</li>
<li>2. You are now prompted for a password. This is &#8220;frontrow&#8221;. Type it, and press enter.</li>
<li>3. You are now at the command prompt (you&#8217;ll see a prompt that says &#8220;-bash-2.05b$&#8221; most likely. Type the following commands, pressing enter after each line, and waiting for the command to finish. After you type the first command, you will probably be prompted for a password. Again, the password is &#8220;frontrow&#8221;.<br />
<code><br />
<strong>sudo mount -uw /<br />
cd /users/frontrow/<br />
wget http://dl.getdropbox.com/u/858897/XBMC/Launcher-3.2.beta3-debug.run</strong><br />
</code><br />
(This will take a few moments &#8212; it is downloading software from the internet.)<br />
<code><br />
<strong>chmod +x Launcher-3.2.beta3-debug.run<br />
./Launcher-3.2.beta3-debug.run</strong><br />
</code><br />
(You will be asked whether you&#8217;d like to restart the Finder. Type the letter &#8216;Y&#8217;. Your ATV will flash and it will go back to the 3.0.1 home screen.)<br />
<code><br />
<strong>sudo mount -ur /<br />
exit</strong></code></li>
<li>4. You can now close out your Terminal or PuTTY window on your computer.</li>
</ul>
<h3>Chapter Three. Install Boxee &amp; XBMC</h3>
<ul>
<li>1. On your Apple TV, go to the new &#8220;Launcher&#8221; menu. Choose &#8220;Downloads.&#8221;</li>
<li>2. Click on &#8220;Boxee alpha 0.9.14.6992&#8243;. Your ATV will download Boxee and run the installation script. This will take a few moments. When it&#8217;s done, it will say, &#8220;Update finished successfully! Hit menu to return.&#8221; Do so, and you&#8217;re back to the download screen.</li>
<li>3. Click on &#8220;XBMC 9.11 (beta1)&#8221;. Your Apple TV will download XBMC and run the installation script. This will take a few moments. When it&#8217;s done, it will say, &#8220;Update finished successfully!! Hit menu to return.&#8221; Do so, and you&#8217;re back to the download screen.</li>
<li>4. Hit the &#8220;menu&#8221; to get back to the Apple TV home screen.</li>
</ul>
<p>You should now have both Boxee and XBMC available!</p>
<h3>Credits &amp; Disclaimer</h3>
<p>These steps are an assemblage of instructions from many different sources on the net, including from various forums and third-party Web sites. I&#8217;ve tried to put them together in a way that is easy to follow, even for the &#8220;newbie.&#8221; I do not condone breaking any warranty or law, or hacking of any technologies here &#8212; I&#8217;m just presenting instructions as found throughout the Web in an organized manner.</p>
<p><a href="http://Patchstick.ca/" target="_blank">Patchstick.ca</a> is a great resource for extending the AppleTV. They offer additional services through a paid subscription model. Check them out.</p>
<p><strong>Software versions and files. </strong>These instructions should work as of the date of this post. Like any evolving software, they may not work tomorrow. New software versions come out; incompatibilities happen. No warranty is made or suggested by being listed here. I cannot be held responsible if you manage to blow up (or otherwise damage) your property or the property of others.</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewmarconi.com/2009/12/getting-boxee-and-xbmc-back-after-the-apple-tv-3-0-1-update/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Troubleshooting jQuery in WordPress Themes</title>
		<link>http://andrewmarconi.com/2009/05/troubleshooting-jquery-in-wordpress-themes/</link>
		<comments>http://andrewmarconi.com/2009/05/troubleshooting-jquery-in-wordpress-themes/#comments</comments>
		<pubDate>Fri, 29 May 2009 04:29:03 +0000</pubDate>
		<dc:creator>Andrew Marconi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[troubleshoot]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://andrewmarconi.com/?p=128</guid>
		<description><![CDATA[Here&#8217;s another &#8220;oh yeah, I always forget about that&#8221; geek item. I spent a few hours today going nuts trying to figure out why the jQuery Cycle plug-in wasn&#8217;t working in a new theme I&#8217;m working on. The code ran &#8230; <a href="http://andrewmarconi.com/2009/05/troubleshooting-jquery-in-wordpress-themes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another &#8220;oh yeah, I always forget about that&#8221; geek item.</p>
<p>I spent a few hours today going nuts trying to figure out why the <a href="http://www.malsup.com/jquery/cycle/" target="_blank">jQuery Cycle plug-in</a> wasn&#8217;t working in a new theme I&#8217;m working on. The code ran great outside of WordPress, but the minute I placed it inside the theme, it broke.</p>
<p>Then I realized: when using <a href="http://jquery.com/" target="_blank">jQuery</a> in <a href="http://www.wordpress.org/" target="_blank">WordPress</a> you always have to remember to explicitly call it by name rather than use the handy-dandy $(&#8220;#identifier&#8221;) short-cut that every example and demo online uses. The long-winded reasoning (as I discovered thanks to <a href="http://techxplorer.com/2008/02/25/using-jquery-with-wordpress/" target="_blank">Techxplorer&#8217;s blog entry</a>) is that the bundled version of jQuery built into WordPress since version 2.2 is initialized with <a href="http://docs.jquery.com/Core/jQuery.noConflict" target="_blank">jQuery.noConflict</a>. The upside is that this keeps the jQuery library from crashing into other bundled libraries (like <a href="http://www.prototypejs.org/" target="_blank">Prototype</a>). The bad news is that it breaks support for the $ shortcut.<br />
<span id="more-128"></span><br />
I came across an simple solution via <a href="http://chrismeller.com/2007/07/using-jquery-in-wordpress" target="_blank">Chris Mellon</a>:</p>
<blockquote><p>Instead, for interoperability, be sure to use <code>jQuery()</code> instead, which should accomplish the same thing.</p>
<p>A bad example:</p>
<pre class="javascript geshicode" style="font-family: monospace;"><span style="color: #003366; font-weight: bold;">var</span> username <span style="color: #339933;">=</span> $<span style="color: #009900;">(</span><span style="color: #3366cc;">'#username'</span><span style="color: #009900;">)</span>.<span style="color: #660066;">val</span><span style="color: #009900;">(</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></pre>
<p>If Prototype were to be loaded on the page this snippet of <acronym title="JavaScript"><span class="caps">JS</span></acronym> is running on, it would throw an error, since it uses a different pattern for selecting <acronym title="Document Object Model"><span class="caps">DOM</span></acronym> elements.</p>
<p>A good example:</p>
<pre class="javascript geshicode" style="font-family: monospace;"><span style="color: #003366; font-weight: bold;">var</span> username <span style="color: #339933;">=</span> jQuery<span style="color: #009900;">(</span><span style="color: #3366cc;">'#username'</span><span style="color: #009900;">)</span>.<span style="color: #660066;">val</span><span style="color: #009900;">(</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></pre>
<p>This line should work on any page, regardless of library conflicts. It’s a couple extra characters to type, but in the end it’s really for the best &#8211; you get portability, and it’s more self-explanatory which library is being used when you go back to look at this code in 6 months.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://andrewmarconi.com/2009/05/troubleshooting-jquery-in-wordpress-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

