<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>0xDECAFBAD - Tag: lazyweb</title>
    <link href="http://decafbad.com/blog/atom.xml" rel="self"/>
    <link href="http://decafbad.com/blog"/>
    <updated>2011-11-16T16:29:50+00:00</updated>
    <id></id>
    <author>
        <name></name>
        <email>l.m.orchard@pobox.com</email>
    </author>
    

    <entry>
        <title>Sometimes the lazyweb delivers with a deluge</title>
        <link href="http://decafbad.com/blog/2005/12/19/sometimes-the-lazyweb-delivers-with-a-deluge"/>
        <updated>2005-12-19T23:15:03+00:00</updated>
        <id>http://decafbad.com/blog/2005/12/19/sometimes-the-lazyweb-delivers-with-a-deluge</id>
        <content type="html">&lt;blockquote&gt;&lt;p&gt;&lt;a href=&quot;http://decafbad.com/blog/2005/12/19/feedburner-feeds-give-heartburn-to-php-xml-parsers#comment-3200&quot;&gt;Kellan&lt;/a&gt;: &quot; '… and that’s not my code.' ouch&quot;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://decafbad.com/blog/2005/12/19/feedburner-feeds-give-heartburn-to-php-xml-parsers#comment-3204&quot;&gt;Eric&lt;/a&gt;: &quot;Right now, the only thing we have special for Magpie RSS is that we don’t serve Atom to that user-agent if the version is 0.5.&quot;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://decafbad.com/blog/2005/12/19/feedburner-feeds-give-heartburn-to-php-xml-parsers#comment-3209&quot;&gt;Rasmus&lt;/a&gt;: &quot;I wrote a simple little PHP 5.1-based RSS parser a while back and it doesn’t have any problems with that ... feed.&quot;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;small style=&quot;text-align:right; display:block&quot;&gt;Source: &lt;a href=&quot;http://decafbad.com/blog/2005/12/19/feedburner-feeds-give-heartburn-to-php-xml-parsers&quot;&gt;Comments on my previous post&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.google.com/search?q=facepalm&amp;amp;start=0&amp;amp;ie=utf-8&amp;amp;oe=utf-8&amp;amp;client=firefox-a&amp;amp;rls=org.mozilla:en-US:official&quot;&gt;Facepalm&lt;/a&gt;, &lt;a href=&quot;http://www.urbandictionary.com/define.php?term=headdesk&quot;&gt;headdesk&lt;/a&gt;.  As it turns out, the issue I was having with my PHP XML parsing was that I was trying to cram raw gzip streams down its throat, caused by some odd things I was trying to do with HTTP headers copied cargo-cult style from &lt;a href=&quot;http://decafbad.com/trac/browser/trunk/FeedMagick/includes/HTTPCache.php&quot;&gt;a Python module I've tried reinventing in PHP&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In other words, completely braindead work by someone who should know better, even though he's relatively new to PHP—where &lt;em&gt;he&lt;/em&gt; is defined as &lt;strong&gt;&lt;em&gt;me&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;But, kudos to the people of the lazyweb for taking the time to triangulate me and remove all doubt within scant hours of my post.  Not counting a half-dozen private emails, I got very quick responses from &lt;a href=&quot;http://decafbad.com/blog/2005/12/19/feedburner-feeds-give-heartburn-to-php-xml-parsers#comment-3200&quot;&gt;the author of MagpieRSS&lt;/a&gt;, &lt;a href=&quot;http://decafbad.com/blog/2005/12/19/feedburner-feeds-give-heartburn-to-php-xml-parsers#comment-3204&quot;&gt;the CTO of FeedBurner&lt;/a&gt;, and &lt;a href=&quot;http://decafbad.com/blog/2005/12/19/feedburner-feeds-give-heartburn-to-php-xml-parsers#comment-3209&quot;&gt;the creator of PHP himself&lt;/a&gt;—each very nicely, clearly, and rightly saying:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&quot;...and that's not &lt;em&gt;my&lt;/em&gt; code.&quot;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Be careful when you attempt to invoke the lazyweb, because it might just respond!&lt;/p&gt;
</content>
    </entry>
    
    

    <entry>
        <title>IPython as networked command shell on XBMC?</title>
        <link href="http://decafbad.com/blog/2005/10/25/ipython-as-networked-command-shell-on-xbmc"/>
        <updated>2005-10-25T16:28:01+00:00</updated>
        <id>http://decafbad.com/blog/2005/10/25/ipython-as-networked-command-shell-on-xbmc</id>
        <content type="html">&lt;p&gt;Just in case it's already been done, or I don't get around do doing it, hear me oh &lt;a href=&quot;http://www.lazyweb.org/&quot;&gt;LazyWeb&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;I want to cobble together a version of &lt;a href=&quot;http://ipython.scipy.org/&quot;&gt;IPython&lt;/a&gt; (or at least an &lt;a href=&quot;http://docs.python.org/lib/module-code.html&quot;&gt;InteractiveConsole&lt;/a&gt;) that runs on a network socket for access via telnet.  I then intend to upload this to my &lt;a href=&quot;http://decafbad.com/blog/2005/09/26/making-the-xbox-maker-friendly&quot;&gt;XBMC-equipped Xbox&lt;/a&gt; and run it as a command shell there for access from my LAN.  It seems like an idea that should work, since XBMC packs a Python install.&lt;/p&gt;

&lt;!-- tags: python xbmc xbox lazyweb --&gt;




&lt;div id=&quot;comments&quot; class=&quot;comments archived-comments&quot;&gt;
            &lt;h3&gt;Archived Comments&lt;/h3&gt;
            
        &lt;ul class=&quot;comments&quot;&gt;
            
        &lt;li class=&quot;comment&quot; id=&quot;comment-221087779&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://edey.org&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=6558a34bd2590143d0e945e7020b49bf&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://edey.org&quot;&gt;mike&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221087779&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2005-10-26T02:59:28&quot;&gt;2005-10-26T02:59:28&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;I don't have such a toy to play with but I'm wondering why the question wasn't asked, and answered, with ssh+screen?&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221087782&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://www.decafbad.com&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=2377f34a68801b861c3e54e1301f0dce&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://www.decafbad.com&quot;&gt;l.m.orchard&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221087782&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2005-10-26T03:36:57&quot;&gt;2005-10-26T03:36:57&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;@Mike: Because XBMC doesn't run ssh+screen, only a Python interpreter embedded in an entertainment center media dashboard. (ie. Not an OS like Linux)&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221087784&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://thoughts.keenspace.com/&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=adb573897a5fbaeda0d049a803a33c3f&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://thoughts.keenspace.com/&quot;&gt;kaolin fire&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221087784&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2005-10-26T06:37:55&quot;&gt;2005-10-26T06:37:55&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;when you say 'like telnet' you mean just opening up port 23 and listening on it and executing said instructions?  I don't know Python (though coincidentally I had to debug some 2-3yo python today; that was interesting), but I presume it makes it not-so-hard to open server sockets and listener sockets, and then execute the dynamic code in a readloop... but then I don't know XBMC beyond the above link you posted, so this is probably just all optimistic hot air. ;)&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221087786&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://www.decafbad.com&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=2377f34a68801b861c3e54e1301f0dce&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://www.decafbad.com&quot;&gt;l.m.orchard&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221087786&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2005-10-26T10:44:00&quot;&gt;2005-10-26T10:44:00&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;@kaolin: Oh, yeah, I think it would / will be about as easy as that.  I've just been too busy or lazy to have done it yet, and hoped that someone somewhere had already done something whizbangy with a Python shell-on-a-socket.  :)&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221087789&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=740b38f7d90076fee1dd8aac4459b354&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;&quot;&gt;Chris&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221087789&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2005-10-27T11:50:52&quot;&gt;2005-10-27T11:50:52&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;Perhaps PYRO (Python Remote Objects) is a choice, I might give it a try
on weekend (on my xbox of course). Though I cannot imagine any real use
so far.&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221087792&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=d7875f8cfd8ba9262bfff2bf6f6f9b35&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;&quot;&gt;Itamar Shtull-Trauring&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221087792&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2005-10-27T18:02:14&quot;&gt;2005-10-27T18:02:14&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;twisted.conch lets you hook up a python interpreter to a telnet or ssh server (which are implemented in Python, of course).&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221087794&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://www.decafbad.com&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=2377f34a68801b861c3e54e1301f0dce&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://www.decafbad.com&quot;&gt;l.m.orchard&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221087794&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2005-10-27T19:18:32&quot;&gt;2005-10-27T19:18:32&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;Hmm, it's been a year or so since last I tinkered with Twisted...  It's tempting, since I remember all the nifty toys I played with in that environment-- and an Xbox with XBMC is just the place for it, since it doesn't have a shell or much OS infrastructure.  Though, I was kinda looking for something that used the core Python modules so I didn't have to plunk down a lot of code on the HD.&lt;/p&gt;

&lt;p&gt;On the other hand...  Twisted could let me do a lot of things on that little box without installing Linux.&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221087796&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://highearthorbit.com&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=a25421f6c79d5f381fab65c82abf85e8&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://highearthorbit.com&quot;&gt;Andrew&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221087796&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2005-11-13T23:17:37&quot;&gt;2005-11-13T23:17:37&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;What about looking at Nokia's Python btconsole. I run the python script on my phone, and then open a screen to the /dev/tty.NokiaBTSocket and am presented with a console on the phone itself.&lt;/p&gt;

&lt;p&gt;I imagine you could grab the btconsole.py or simplebtconsole.py and set it up on XBMC. Depends on what modules are available.&lt;/p&gt;

&lt;p&gt;I'm running a REALLY old version of XBMP (predecessor/sibling to XMBC) and have happily been running Xebian and MythTV frontend. However, recently came across the MythTV front-end with XMBC as well as all these new features so will upgrading it myself. However, the fiance' doesn't much like me messing with her &quot;Tivo&quot;.&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;/ul&gt;
    
        &lt;/div&gt;



</content>
    </entry>
    
    
</feed>

