<?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>Beutelevision</title>
	<atom:link href="http://beutelevision.com/blog2/feed/" rel="self" type="application/rss+xml" />
	<link>http://beutelevision.com/blog2</link>
	<description>by Thomas Beutel</description>
	<lastBuildDate>Fri, 23 Jul 2010 16:24:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='beutelevision.com' port='80' path='/blog2/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>RSS Has Been Replaced By Twitter</title>
		<link>http://beutelevision.com/blog2/2010/07/23/rss-has-been-replaced-by-twitter/</link>
		<comments>http://beutelevision.com/blog2/2010/07/23/rss-has-been-replaced-by-twitter/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 16:24:05 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[flipboard]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/?p=212</guid>
		<description><![CDATA[I&#8217;ve been playing with Flipboard the past few days and a thought occurred to me. RSS has been replaced by Twitter.
Flipboard is a compelling concept&#8230; it displays news from your Facebook account and any number of Twitter accounts in a magazine style format. That means large Helvetica headlines, easy to read Times content, and lot&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing with Flipboard the past few days and a thought occurred to me. RSS has been replaced by Twitter.</p>
<p>Flipboard is a compelling concept&#8230; it displays news from your Facebook account and any number of Twitter accounts in a magazine style format. That means large Helvetica headlines, easy to read Times content, and lot&#8217;s of photos.</p>
<p>But it doesn&#8217;t (yet) support RSS feeds as a source. Flipboard says they will at some point.</p>
<p>I wonder though if it is even necessary. I wanted to create sections for some of my favorite sources&#8230; <a title="Jay Rosen" href="http://twitter.com/jayrosen_nyu">Jay Rosen</a> and <a title="Dave Winer" href="http://www.scripting.com/">Dave Winer</a> for media commentary, <a title="Techmeme" href="http://techmeme.com">Techmeme</a> for tech stuff, and <a href="http://www.againstdumb.com/">Against Dumb</a>, for variety.</p>
<p>It turns out that they all have Twitter accounts. Those accounts typically link to all the same content that their RSS feeds do. Often more, because they will contain links to content that the authors find interesting, but that don&#8217;t appear in their RSS feeds.</p>
<p>And guess what. Twitter accounts are much easier to work with than RSS. Here&#8217;s why:</p>
<ul>
<li>Twitter accounts have names that are easy to find, remember and refer to. People can even talk about them.</li>
<li>RSS feeds are links. They are technical. No one talks about them in normal discourse.</li>
<li>Posting to Twitter is easier than adding to RSS. Even with Wordpress around.</li>
<li>Twitter accounts are easy to aggregate into lists.</li>
</ul>
<p>I understand that Twitter has a different intent than RSS, and that RSS provides much of the foundation of information flow on the internet.</p>
<p>But I just wonder if Twitter is ending up to be a much easier way to say &#8220;here&#8217;s what&#8217;s new&#8230; and interesting&#8221;. And if it&#8217;s easier, then why use RSS?</p>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2010/07/23/rss-has-been-replaced-by-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why tether? Just build iPad&#8217;s data plan into EVERY Apple product!</title>
		<link>http://beutelevision.com/blog2/2010/04/12/why-tether-just-build-ipads-data-plan-into-every-apple-product/</link>
		<comments>http://beutelevision.com/blog2/2010/04/12/why-tether-just-build-ipads-data-plan-into-every-apple-product/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 19:58:19 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apple Computer]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/2010/04/12/why-tether-just-build-ipads-data-plan-into-every-apple-product/</guid>
		<description><![CDATA[Now that the iPad 3G will come with the option of a month-by-month no-contract data plan, why not offer all Apple products with that option? I would buy a new MacBook in a heartbeat if it offered the same sort of data plan.
]]></description>
			<content:encoded><![CDATA[<p>Now that the iPad 3G will come with the option of a month-by-month no-contract data plan, why not offer all Apple products with that option? I would buy a new MacBook in a heartbeat if it offered the same sort of data plan.</p>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2010/04/12/why-tether-just-build-ipads-data-plan-into-every-apple-product/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detecting a click in a checkbox with jQuery</title>
		<link>http://beutelevision.com/blog2/2010/03/20/detecting-a-click-in-a-checkbox-with-jquery/</link>
		<comments>http://beutelevision.com/blog2/2010/03/20/detecting-a-click-in-a-checkbox-with-jquery/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 16:07:50 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/?p=206</guid>
		<description><![CDATA[A simple script to detect when a checkbox is clicked. What you do with once you&#8217;ve detected the click is up to you.
 &#60;html&#62;
 &#60;head&#62;
 &#60;script src="http://www.google.com/jsapi"&#62;&#60;/script&#62;
 &#60;script&#62;
 google.load("jquery", "1.3.2");
 google.setOnLoadCallback(function() {
  $('#agree').click( function() {
    if($(this).attr('checked')){
      alert('checked');
    }
    else{
  [...]]]></description>
			<content:encoded><![CDATA[<p>A simple script to detect when a checkbox is clicked. What you do with once you&#8217;ve detected the click is up to you.</p>
<pre> &lt;html&gt;
 &lt;head&gt;
 &lt;script src="<a href="http://www.google.com/jsapi">http://www.google.com/jsapi</a>"&gt;&lt;/script&gt;
 &lt;script&gt;
 google.load("jquery", "1.3.2");
 google.setOnLoadCallback(function() {
  $('#agree').click( function() {
    if($(this).attr('checked')){
      alert('checked');
    }
    else{
      alert('unchecked');
    }
  });
 });
 &lt;/script&gt;
 &lt;/head&gt;
 &lt;body&gt;
 &lt;p&gt;
 &lt;input id="agree" type="checkbox" /&gt; I agree
 &lt;/p&gt;
 &lt;/body&gt;&lt;/html&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2010/03/20/detecting-a-click-in-a-checkbox-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redirect from within a Wordpress admin page</title>
		<link>http://beutelevision.com/blog2/2010/03/19/redirect-from-within-wordpress-admi/</link>
		<comments>http://beutelevision.com/blog2/2010/03/19/redirect-from-within-wordpress-admi/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 04:11:01 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/?p=201</guid>
		<description><![CDATA[I was trying to perform a redirect to generate a CSV file from within a Wordpress admin page using the wp_redirect( ) function, but the problem was that I would always get the dreaded &#8220;Cannot modify header information &#8211; headers already sent&#8221; message. This is because admin plugins are simply hooks that are performed within [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to perform a redirect to generate a CSV file from within a Wordpress admin page using the wp_redirect( ) function, but the problem was that I would always get the dreaded &#8220;Cannot modify header information &#8211; headers already sent&#8221; message. This is because admin plugins are simply hooks that are performed within the framework of the admin system.</p>
<p>The solution was to use a Javascript redirect. The Javascript attaches an event listener to listen for the &#8220;load&#8221; event. When the admin page is finished loading, a page containing the CSV data is loaded. That page has a Content-Type of application/csv, so it downloads immediately, leaving the admin page open (at least in Safari 4).</p>
<p>In my Wordpress admin panel (this is a fragment of a plugin):</p>
<pre>   // setup Javascript redirect
     $location='/wp/csv-output/?year='.$year.'&amp;month='.$month;
 ?&gt;
 &lt;script&gt;
 function addListener(element, event, listener, bubble) {
  if(element.addEventListener) {
    if(typeof(bubble) == "undefined") bubble = false;
    element.addEventListener(event, listener, bubble);
  } else if(this.attachEvent) {
    element.attachEvent("on" + event, listener);
  }
 }
 addListener(this, "load", function() { window.location="&lt;?php echo $location ?&gt;" });
 addListener(document, "load", function() { window.location="&lt;?php echo $location ?&gt;" });
 &lt;/script&gt;</pre>
<p>And in my CSV page (again, just a fragment):</p>
<pre>   ob_end_clean();</pre>
<pre>   header("Content-type: application/csv");
   header("Content-Disposition: attachment; filename=contact_data_$year_$month.csv");
   header("Pragma: no-cache");
   header("Expires: 0");</pre>
<p>I found the javascript code <a href="http://answers.google.com/answers/threadview?id=510976">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2010/03/19/redirect-from-within-wordpress-admi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Result of expression &#8216;document.forms[0].submit&#8217; [[object HTMLInputElement]] is not a function.</title>
		<link>http://beutelevision.com/blog2/2009/09/15/result-of-expression-document-forms0-submit-object-htmlinputelement-is-not-a-function/</link>
		<comments>http://beutelevision.com/blog2/2009/09/15/result-of-expression-document-forms0-submit-object-htmlinputelement-is-not-a-function/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 21:34:48 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/2009/09/15/result-of-expression-document-forms0-submit-object-htmlinputelement-is-not-a-function/</guid>
		<description><![CDATA[I was trying to add a small delay into my form submission like so:
&#60;form ... onsubmit="setTimeout('document.forms[0].submit()',2000);return false;"&#62;
but everytime I tried it, I got the following error:
Result of expression 'document.forms[0].submit' [[object HTMLInputElement]] is not a function.
This one had me stumped, until I realized what it was telling me&#8230; that my submit button was named &#8220;submit&#8221;.
&#60;input type="submit" [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to add a small delay into my form submission like so:</p>
<p><code>&lt;form ... onsubmit="setTimeout('document.forms[0].submit()',2000);return false;"&gt;</code></p>
<p>but everytime I tried it, I got the following error:</p>
<p><code>Result of expression 'document.forms[0].submit' [[object HTMLInputElement]] is not a function.</code></p>
<p>This one had me stumped, until I realized what it was telling me&#8230; that my submit button was named &#8220;submit&#8221;.</p>
<p><code>&lt;input type="submit" name="submit" id="Button1" /&gt;</code></p>
<p>I changed the name of the submit button and the problem went away.</p>
<p><code>&lt;input type="submit" name="button1" id="Button1" /&gt;</code></p>
<p>Basically, Javascript provides a &#8220;convenience&#8221; by adding the names of the form inputs as children of the form. But this then clashes with preset function names, like the submit() function.</p>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2009/09/15/result-of-expression-document-forms0-submit-object-htmlinputelement-is-not-a-function/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>It&#8217;s like deviantART meets the App Store</title>
		<link>http://beutelevision.com/blog2/2009/09/11/its-like-deviantart-meets-the-app-store/</link>
		<comments>http://beutelevision.com/blog2/2009/09/11/its-like-deviantart-meets-the-app-store/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 22:02:26 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Apple Computer]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/?p=181</guid>
		<description><![CDATA[John Fort over at the Big Tech Fortune blog writes about Tyrese Gibson’s Mayhem which is the  first digital book for sale on iTunes 9. This strikes me as something that would interest the deviantART community of digital artists and writers. Imagine selling your artistic creations to millions of iTunes users for $0.99 a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-187" title="mayhem" src="http://beutelevision.com/blog2/wp-content/uploads/2009/09/mayhem.gif" alt="mayhem" width="100" height="98" style="padding-right:8px;"/>John Fort over at the Big Tech Fortune blog writes about Tyrese Gibson’s <em><a href="http://www.buymayhem.com/">Mayhem</a></em> which is the  <a href="http://brainstormtech.blogs.fortune.cnn.com/2009/09/11/is-this-apples-e-book-trojan-horse/">first digital book for sale on iTunes 9</a>. This strikes me as something that would interest the <a href="http://deviantart.com">deviantART</a> community of digital artists and writers. Imagine selling your artistic creations to millions of iTunes users for $0.99 a pop, just as iPhone app writers have been doing at the App Store. Good for artists. Good for Apple.</p>
<p>John mentions that the tools to create the e-book is based on standard web tech: HTML, CSS, and Javascript. My guess is that some day, not too long from now, we will see something like Pages (or maybe GarageBand) for iTunes where you can create your own digital creations and submit them to the iTunes store. It will probably dwarf the App Store in total volume.</p>
<p>Update: ReadWriteWeb has <a href="http://www.readwriteweb.com/archives/maybe_apple_isnt_interested_in_ebooks_but_its_now_selling_comic_books.php">more to say</a> about this.</p>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2009/09/11/its-like-deviantart-meets-the-app-store/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTunes 9: Option-click the green button to get the mini-player</title>
		<link>http://beutelevision.com/blog2/2009/09/11/itunes-9-option-click-the-green-button-to-get-the-mini-player/</link>
		<comments>http://beutelevision.com/blog2/2009/09/11/itunes-9-option-click-the-green-button-to-get-the-mini-player/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 16:03:16 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Apple Computer]]></category>
		<category><![CDATA[mac itunes]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/?p=177</guid>
		<description><![CDATA[The first thing I noticed when I upgraded to iTunes 9 was that clicking the minimize (green) button no longer selected the mini-player. A quick search revealed the answer: now you have to option-click the green button to get the mini-player. Thanks to Maclife for the answer.

]]></description>
			<content:encoded><![CDATA[<p>The first thing I noticed when I upgraded to iTunes 9 was that clicking the minimize (green) button no longer selected the mini-player. A quick search revealed the answer: now you have to option-click the green button to get the mini-player. Thanks to Maclife for <a href="http://www.maclife.com/article/howtos/itunes_9_tips_and_tricks_solve_mysteries_new_itunes">the answer</a>.</p>
<p><img class="alignnone size-full wp-image-179" title="miniplayer" src="http://beutelevision.com/blog2/wp-content/uploads/2009/09/miniplayer.png" alt="miniplayer" width="513" height="103" /></p>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2009/09/11/itunes-9-option-click-the-green-button-to-get-the-mini-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSSCloud: No need to adjust your firewall</title>
		<link>http://beutelevision.com/blog2/2009/09/08/rsscloud-no-need-to-adjust-your-firewall/</link>
		<comments>http://beutelevision.com/blog2/2009/09/08/rsscloud-no-need-to-adjust-your-firewall/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 05:01:59 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[rsscloud]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/?p=173</guid>
		<description><![CDATA[I&#8217;ve been following the recent development of RSSCloud with interest&#8230; I think it has the potential to replace Twitter in the long term, although I suspect that Twitter might also evolve in the direction of RSSCloud.
One misconception about RSSCloud is the supposed need for the cloud to notify the desktop or mobile reader of an [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been following the recent development of <a href="http://rsscloud.org">RSSCloud</a> with interest&#8230; I think it has the potential to replace Twitter in the long term, although I suspect that Twitter might also evolve in the direction of RSSCloud.</p>
<p>One misconception about RSSCloud is the supposed need for the cloud to notify the desktop or mobile reader of an update. This would seem to mean that you would have to adjust your firewall to accept inbound connections to your computer/mobile device.</p>
<p>While the <a href="http://rsscloud.org/walkthrough.html">implementor&#8217;s guide</a> shows that the cloud does notify the aggregator, the aggregator doesn&#8217;t have to be the same as the reader. As the guide <a href="http://rsscloud.org/walkthrough.html#theAggregator">suggests</a>, the aggregator can also be in the cloud, with the reader opening an outbound connection to the aggregator, in the same way AIM or Skype or Jabber clients do, using protocols like XMPP. No need to adjust your firewall.</p>
<p>For that matter, Twitter clients do the same thing, using <a href="http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-friends_timeline">HTTP REST calls</a>. The only difference is Twitter limits the number of <a href="http://apiwiki.twitter.com/Rate-limiting">API calls per hour</a> (currently 150 requests per hour, or 2.5 requests per min&#8211;close enough to realtime for me), while there are no limits with XMPP. The tradeoff is arguably one of simplicity &#8211; is your client easier to implement with one or the other?</p>
<p>Hopefully the folks working on RSSCloud are developing an example of a cloud aggregator and an associated protocol. My vote would be for the protocol to be REST-based, but I could be convinced otherwise.</p>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2009/09/08/rsscloud-no-need-to-adjust-your-firewall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using jQuery and Prototype together while avoiding the dreaded element.dispatchEvent error</title>
		<link>http://beutelevision.com/blog2/2009/08/28/using-jquery-and-prototype-together-and-avoiding-the-dreaded-elementdispatchevent-error/</link>
		<comments>http://beutelevision.com/blog2/2009/08/28/using-jquery-and-prototype-together-and-avoiding-the-dreaded-elementdispatchevent-error/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 18:13:27 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/?p=161</guid>
		<description><![CDATA[Here is what I do to avoid the dreaded &#8220;element.dispatchEvent is not a function&#8221; error. I load jQuery first, Prototype second, and then I use jQuery( ) instead of $( ) for all my jQuery calls.
 &#60;!--  Set up jQuery and prototype together  --&#62;
 &#60;script src="http://www.google.com/jsapi"&#62;&#60;/script&#62;
 &#60;script&#62;
 google.load("jquery", "1.3.2");
 google.load("prototype", "1.6.0.3");
 google.setOnLoadCallback(function() {
 [...]]]></description>
			<content:encoded><![CDATA[<p>Here is what I do to avoid the dreaded &#8220;element.dispatchEvent is not a function&#8221; error. I load jQuery first, Prototype second, and then I use jQuery( ) instead of $( ) for all my jQuery calls.</p>
<pre> &lt;!--  Set up jQuery and prototype together  --&gt;
 &lt;script src="http://www.google.com/jsapi"&gt;&lt;/script&gt;
 &lt;script&gt;
 google.load("jquery", "1.3.2");
 google.load("prototype", "1.6.0.3");
 google.setOnLoadCallback(function() {
  jQuery('#helphide').hide();
  jQuery('#helpbutton').click( function(){
    jQuery('#helphide').toggle();
 });
 });
 &lt;/script&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2009/08/28/using-jquery-and-prototype-together-and-avoiding-the-dreaded-elementdispatchevent-error/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using Skype to control a model train</title>
		<link>http://beutelevision.com/blog2/2009/08/21/using-skype-to-control-a-model-train/</link>
		<comments>http://beutelevision.com/blog2/2009/08/21/using-skype-to-control-a-model-train/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 18:44:25 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Model Railroading]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Skype]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/?p=159</guid>
		<description><![CDATA[Small wireless spy cameras are widely available, and there are even a few available specifically for  HO-scale trains.
This got me to thinking about letting my cousin in Germany run a train on my train layout, using Skype. Why not? Connecting the camera receiver to my laptop is easy and Skype allows you to select [...]]]></description>
			<content:encoded><![CDATA[<p>Small wireless spy cameras are widely available, and there are even a <a href="http://www.gadgettom.com/GadgetCAM.htm">few</a> <a href="http://factorydirecttrains.com/css-811t1-singlecamera24ghzsystemwithsound.aspx">available</a> specifically for  HO-scale trains.</p>
<p>This got me to thinking about letting my cousin in Germany run a train on my train layout, using Skype. Why not? Connecting the camera receiver to my laptop is easy and Skype allows you to select the camera source for video chats. For controlling the train, I can use the open source <a href="http://jmri.sourceforge.net/">JMRI</a> framework.</p>
<p>The only integration problem to solve is how to expose the throttle controls to my cousin. I could hack something together on a web page and have him work the controls there.</p>
<p>But is there a way to build this on top of Skype? After all, Skype supports instant messaging, so throttle commands could travel back and forth over IM. Skype offers an <a href="https://developer.skype.com/Docs/ApiDoc/Skype_API_reference">API</a>, but I haven&#8217;t  yet delved deeply enough to know what kind of applications I can build on top of Skype.</p>
<p>More soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2009/08/21/using-skype-to-control-a-model-train/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A short blurb on using sfGuardPlugin credentials</title>
		<link>http://beutelevision.com/blog2/2009/08/20/a-short-blurb-on-using-sfguardplugin-credentials/</link>
		<comments>http://beutelevision.com/blog2/2009/08/20/a-short-blurb-on-using-sfguardplugin-credentials/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 04:23:54 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/?p=157</guid>
		<description><![CDATA[(Here are a few notes I made to myself about the credential system.)
Credentials are part of the sfGuardPlugin security system for Symfony. For some reason, Symfony also refers to credentials as permissions. As far as I can tell, the two terms are used interchangeably.
sfGuardUser records are stored in the  sf_guard_user  table.
The tables in [...]]]></description>
			<content:encoded><![CDATA[<p>(Here are a few notes I made to myself about the credential system.)</p>
<p>Credentials are part of the <a href="http://www.symfony-project.org/plugins/sfGuardPlugin">sfGuardPlugin</a> security system for Symfony. For some reason, Symfony also refers to credentials as permissions. As far as I can tell, the two terms are used interchangeably.</p>
<p>sfGuardUser records are stored in the <strong> sf_guard_user </strong> table.</p>
<p>The tables in the sfGuard permission system are:</p>
<ul>
<li> <strong> sf_guard_permission </strong> &lt;- represents a permission (credential)</li>
<li> <strong> sf_guard_group </strong> &lt;- represents a group.</li>
<li> <strong> sf_guard_group_permission </strong> &lt;- associates permissions to groups</li>
<li> <strong> sf_guard_user_group </strong> &lt;- associates users to groups</li>
</ul>
<p>Typcially, users belong to one or more groups, and groups are associated to permissions. This is the preferred method, and the above 4 tables are all that is needed to associate permissions to users, via groups.</p>
<p>It is possible (but not usually advisable) to associate a user directly with a permission by using the following table:</p>
<ul>
<li> <strong> sf_guard_user_permission </strong> &lt;- associates users to permissions</li>
</ul>
<h3>Permissions</h3>
<p>Permissions typically represent what a user can do, as opposed to representing a &#8220;type&#8221; of user. Examples of proper permissions are:</p>
<ul>
<li> can_view_items</li>
<li> can_edit_items</li>
</ul>
<p>The following are improper permissions because they represent user types:</p>
<ul>
<li> paying_clients</li>
<li> non_paying_clients</li>
</ul>
<h3>Restricting actions via security.yml</h3>
<p>For credentials to work, the user must be logged in. Since an application is divided into modules, it is conventional to divide modules into those that don&#8217;t require a logged-in user (i.e. fully public pages, such as main/aboutUs or main/termsAndConditions), and those modules that do require a logged-in user.</p>
<p>To require a login for a module, add the following into the module&#8217;s config/security.yml file:</p>
<pre> all:
   secure: on</pre>
<p>For the most part, permissions are assigned to specific actions. For example:</p>
<pre> listItems:
   credential: can_view_items</pre>
<pre> editItem:
   credential: can_edit_items</pre>
<h3>Using permissions within actions</h3>
<pre> public function executeIndex( )
 {
   $user = $this-&gt;getUser();</pre>
<pre>   if($user-&gt;has_credential('can_view_items') )
   {
     // get the item list
     ...
   }</pre>
<pre>   ... and so forth
 }</pre>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2009/08/20/a-short-blurb-on-using-sfguardplugin-credentials/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Meta refresh in Symfony &#8211; use view.yml</title>
		<link>http://beutelevision.com/blog2/2009/08/19/meta-refresh-in-symfony-use-viewyml/</link>
		<comments>http://beutelevision.com/blog2/2009/08/19/meta-refresh-in-symfony-use-viewyml/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 18:41:24 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Symfony]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/?p=153</guid>
		<description><![CDATA[The easiest way I&#8217;ve found to add meta refresh to a specific action in Symfony is to use the view.yml file. Note that I use http_metas, not regular metas.
indexSuccess:
  http_metas:
    refresh: 300
which results in adding the following, as you would expect:
&#60;meta http-equiv="Refresh" content="300" /&#62;
]]></description>
			<content:encoded><![CDATA[<p>The easiest way I&#8217;ve found to add meta refresh to a specific action in Symfony is to use the view.yml file. Note that I use http_metas, not regular metas.</p>
<pre>indexSuccess:
  http_metas:
    refresh: 300</pre>
<p>which results in adding the following, as you would expect:</p>
<pre>&lt;meta http-equiv="Refresh" content="300" /&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2009/08/19/meta-refresh-in-symfony-use-viewyml/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>U.P. 844 videos for April 20, 2009, Sacramento to Oakland</title>
		<link>http://beutelevision.com/blog2/2009/04/20/up-844-videos-for-april-20-2009-sacramento-to-oakland/</link>
		<comments>http://beutelevision.com/blog2/2009/04/20/up-844-videos-for-april-20-2009-sacramento-to-oakland/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 02:26:04 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Railroads]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/?p=147</guid>
		<description><![CDATA[Newcastle Tunnel:
http://www.youtube.com/watch?v=4Z3Nd3CmJso
Yolo Causeway:
http://www.youtube.com/watch?v=W8LZDA5fUUw
Davis:
http://www.youtube.com/watch?v=KFcB4gPwLEg
Elmira Junction:
http://www.youtube.com/watch?v=SLiMwnFIgqY
Martinez:
http://www.youtube.com/watch?v=ysC4fZALNVg
Richmond:
http://www.youtube.com/watch?v=pXd71-Sr9pc
Emeryville:
http://www.youtube.com/watch?v=DFSD7cMUVm0
]]></description>
			<content:encoded><![CDATA[<p>Newcastle Tunnel:<br />
<a href="http://www.youtube.com/watch?v=4Z3Nd3CmJso">http://www.youtube.com/watch?v=4Z3Nd3CmJso</a></p>
<p>Yolo Causeway:<br />
<a href="http://www.youtube.com/watch?v=W8LZDA5fUUw">http://www.youtube.com/watch?v=W8LZDA5fUUw</a></p>
<p>Davis:<br />
<a href="http://www.youtube.com/watch?v=KFcB4gPwLEg">http://www.youtube.com/watch?v=KFcB4gPwLEg</a></p>
<p>Elmira Junction:<br />
<a href="http://www.youtube.com/watch?v=SLiMwnFIgqY">http://www.youtube.com/watch?v=SLiMwnFIgqY</a></p>
<p>Martinez:<br />
<a href="http://www.youtube.com/watch?v=ysC4fZALNVg">http://www.youtube.com/watch?v=ysC4fZALNVg</a></p>
<p>Richmond:<br />
<a href="http://www.youtube.com/watch?v=pXd71-Sr9pc">http://www.youtube.com/watch?v=pXd71-Sr9pc</a></p>
<p>Emeryville:<br />
<a href="http://www.youtube.com/watch?v=DFSD7cMUVm0">http://www.youtube.com/watch?v=DFSD7cMUVm0</a></p>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2009/04/20/up-844-videos-for-april-20-2009-sacramento-to-oakland/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When Memes Collide &#8211; Apple is Expensive vs. Windows is Vulnerable</title>
		<link>http://beutelevision.com/blog2/2009/03/29/when-memes-collide-apple-is-expensive-vs-windows-is-vulnerable/</link>
		<comments>http://beutelevision.com/blog2/2009/03/29/when-memes-collide-apple-is-expensive-vs-windows-is-vulnerable/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 17:56:42 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Apple Computer]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/?p=140</guid>
		<description><![CDATA[I always get a kick when the Apple is Expensive meme trotted out as a reason to consider less expensive alternatives. How ironic it is that on the very same day there is news of massive computer infiltration and document loss. The article doesn&#8217;t mention the operating system of the computers that were compromised, but [...]]]></description>
			<content:encoded><![CDATA[<p>I always get a kick when the <a href="http://apple20.blogs.fortune.cnn.com/2009/03/28/how-microsoft-put-apple-on-the-defensive/">Apple is Expensive</a> meme trotted out as a reason to consider less expensive alternatives. How ironic it is that on the very same day there is news of <a href="http://www.nytimes.com/2009/03/29/technology/29spy.html?_r=1&#038;partner=rss&#038;emc=rss">massive computer infiltration and document loss</a>. The article doesn&#8217;t mention the operating system of the computers that were compromised, but I do have a guess.</p>
<p><img src="http://beutelevision.com/blog2/wp-content/uploads/2009/03/memes-collide.jpg" alt="memes-collide" title="memes-collide" width="535" height="227" class="alignnone size-full wp-image-143" /></p>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2009/03/29/when-memes-collide-apple-is-expensive-vs-windows-is-vulnerable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A look in the mirror &#8211; Safari 4</title>
		<link>http://beutelevision.com/blog2/2009/02/24/a-look-in-the-mirror-safari-4/</link>
		<comments>http://beutelevision.com/blog2/2009/02/24/a-look-in-the-mirror-safari-4/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 18:28:01 +0000</pubDate>
		<dc:creator>Thomas Beutel</dc:creator>
				<category><![CDATA[Apple Computer]]></category>
		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://beutelevision.com/blog2/?p=133</guid>
		<description><![CDATA[I just installed Safari 4 and the first thing it did was to show me my top sites &#8211; the 12 sites that I go to most frequently. My initial reaction was &#8220;Weird!&#8221; and then &#8220;I need to get out more often!&#8221;
Here is a fuzzy pic of what I saw:

Download is available at http://www.apple.com/safari/
]]></description>
			<content:encoded><![CDATA[<p>I just installed Safari 4 and the first thing it did was to show me my top sites &#8211; the 12 sites that I go to most frequently. My initial reaction was &#8220;Weird!&#8221; and then &#8220;I need to get out more often!&#8221;</p>
<p>Here is a fuzzy pic of what I saw:</p>
<p><img src='http://www.beutelevision.com/images/topsites.jpg' alt='my top sites in Safari 4' class='alignleft' /></p>
<p>Download is available at <a href="http://www.apple.com/safari/">http://www.apple.com/safari/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://beutelevision.com/blog2/2009/02/24/a-look-in-the-mirror-safari-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
