<?xml version="1.0"?>
<rss version="2.0.">
  <channel>
    <title>Advogato blog for oubiwann</title>
    <link>http://www.advogato.org/person/oubiwann/</link>
    <description>Advogato blog for oubiwann</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Tue, 13 May 2008 23:55:44 GMT</pubDate>
    <item>
      <pubDate>Fri, 2 May 2008 01:03:46 GMT</pubDate>
      <title>Twisting the Planet</title>
      <link>http://www.advogato.org/person/oubiwann/diary.html?start=181</link>
      <guid>http://feeds.feedburner.com/~r/ElectricDuncan/~3/281771186/twisting-planet.html</guid>
      <description>As Steve &lt;a href="http://holdenweb.blogspot.com/2008/04/twisty-little-passages.html" &gt;blogged the other day&lt;/a&gt;, we've been jamming on some &lt;a href="http://twistedmatrix.com/trac/" &gt;Twisted&lt;/a&gt; lately. But it's not the kind of thing you usually hear from us. We're not doing something esoteric and mind-blowing. We're doing something much harder: working out how to bring Twisted to the masses.&lt;br /&gt;&lt;br /&gt;The motivation for this is philanthropic: we believe in Twisted's goodness :-) As &lt;a href="http://washort.twistedmatrix.com/" &gt;Allen Short&lt;/a&gt; paraphrased on IRC the other day after &lt;a href="http://twistedmatrix.com/trac/wiki/InterviewSynthesis200804" &gt;listening to&lt;/a&gt; MIT entrepreneur &lt;a href="http://www.synthesisstudios.com/about/raffi" &gt;Raffi Krikorian&lt;/a&gt; "it sounds like he's saying Twisted makes you smarter." Humor aside, Allen is right. Twisted does make you smarter: with increased familiarity and experience, you start thinking outside the box. Twisted helps you become a more creative problem solver.&lt;br /&gt;&lt;br /&gt;In particular, we're reviewing the "Teach Me Twisted" open space session we had at PyCon. A bunch of you showed up for it, and the energy in that room was just phenomenal. 30 minutes after the session, people were still talking excitedly about what they were learning or how they were using Twisted or just sharing their love for the code :-)&lt;br /&gt;&lt;br /&gt;For those of you that missed it, Steve Holden was the headliner while Alex Martelli played impromptu co-star. The humor and enthusiasm from these two was just incredible. &lt;a href="http://glyph.twistedmatrix.com/" &gt;Glyph&lt;/a&gt;, &lt;a href="http://itamarst.org/" &gt;Itamar&lt;/a&gt;, and &lt;a href="http://radix.twistedmatrix.com/" &gt;Chris&lt;/a&gt; played educators while &lt;a href="http://jcalderone.livejournal.com/" &gt;JP&lt;/a&gt;, &lt;a href="https://zooko.com/log.html" &gt;Zooko&lt;/a&gt; and I handled one-on-one questions in the audience. There were more players, but you get the point: it was a highly dynamic, lively and fun experience. Folks were so jazzed that conversations that night lasted long into the wee hours of the morning.&lt;br /&gt;&lt;br /&gt;After almost two months' worth of post-PyCon follow-up, we're finally getting around to comparing notes. My biggest concern is for the absolute new-comer and the lack of intuitive and useful metaphors that would help aspiring Twisted users grasp the event-driven concepts of our code quickly. Steve and I are both interested in establishing a Proper and Good motivation for using Twisted. My girlfriend, who has a Masters in anthropology, was also there. Thanks to her insight and background, she has a completely different perspective of the community (and the new-comer dynamic at the session that night) and has some completely unique ideas for crafting a new generation of tutorial materials.&lt;br /&gt;&lt;br /&gt;We're just getting started, but it's quite exciting. We expect to have more thoughts to share on the matter... in the form of materials as well as potential news items.&lt;br /&gt;&lt;br /&gt;One last parting thought: despite the rumors and well-earned reputation to the contrary, Twisted coders are not exclusionists: everyone's invited to the party. We're just trying to make it easier to get there :-)&lt;br /&gt;&lt;br /&gt;&lt;!-- technorati tags start --&gt;&lt;p style="text-align:right;font-size:10px;"&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/community" rel="tag" &gt;community&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/entertainment" rel="tag" &gt;pycon&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/geeks" rel="tag" &gt;education&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/programming" rel="tag" &gt;programming&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/twisted" rel="tag" &gt;twisted&lt;/a&gt;&lt;/p&gt;&lt;!-- technorati tags end --&gt;&lt;img src="http://feeds.feedburner.com/~r/ElectricDuncan/~4/281771186" height="1" width="1"/&gt;</description>
    </item>
    <item>
      <pubDate>Thu, 24 Apr 2008 06:04:39 GMT</pubDate>
      <title>Synthesis Studios Twisted Interview</title>
      <link>http://www.advogato.org/person/oubiwann/diary.html?start=180</link>
      <guid>http://feeds.feedburner.com/~r/ElectricDuncan/~3/276662129/synthesis-studios-twisted-interview.html</guid>
      <description>This is a &lt;a href="http://labs.twistedmatrix.com/2008/04/twisted-show-episode-3.html" &gt;re-blog&lt;/a&gt;, in case some of you aren't subscribed to &lt;a href="http://labs.twistedmatrix.com/" &gt;http://labs.twistedmatrix.com/&lt;/a&gt; -- we've got a new episode of the Twisted Show up, and it was a excellent interview with &lt;a href="http://www.synthesisstudios.com/" &gt;Synthesis Studios&lt;/a&gt;. Go &lt;a href="http://twistedmatrix.com/trac/wiki/InterviewSynthesis200804" &gt;check it out&lt;/a&gt;!&lt;br /&gt;&lt;!-- technorati tags start --&gt;&lt;p style="text-align:right;font-size:10px;"&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/community" rel="tag" &gt;community&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/entertainment" rel="tag" &gt;entertainment&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/geeks" rel="tag" &gt;geeks&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/programming" rel="tag" &gt;programming&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/software" rel="tag" &gt;software&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/twisted" rel="tag" &gt;twisted&lt;/a&gt;&lt;/p&gt;&lt;!-- technorati tags end --&gt;&lt;img src="http://feeds.feedburner.com/~r/ElectricDuncan/~4/276662129" height="1" width="1"/&gt;</description>
    </item>
    <item>
      <pubDate>Tue, 15 Apr 2008 22:04:16 GMT</pubDate>
      <title>TSF Founding Sponsor Round</title>
      <link>http://www.advogato.org/person/oubiwann/diary.html?start=179</link>
      <guid>http://feeds.feedburner.com/~r/ElectricDuncan/~3/270999519/tsf-founding-sponsor-round.html</guid>
      <description>Earlier today, I posted to the &lt;a href="http://twistedmatrix.com/pipermail/twisted-python/2008-April/017451.html" &gt;Twisted mail list&lt;/a&gt; and to our &lt;a href="http://labs.twistedmatrix.com/2008/04/founding-sponsors-window-closes-may.html" &gt;Labs blog&lt;/a&gt; about the deadline for the &lt;a href="http://twistedmatrix.com/trac/wiki/TSF/FoundingSponsors" &gt;Founding Sponsors&lt;/a&gt; (individuals and companies/organizations) for the &lt;a href="http://twistedmatrix.com/trac/wiki/TwistedSoftwareFoundation" &gt;Twisted Software Foundation&lt;/a&gt;, so I thought now would be a good time to give a quick status report :-)&lt;br /&gt;&lt;br /&gt;Things are going well. We're still working with 4 major donors (some of whom are surprising!), with an additional 3 outliers who may or may not donate. We're hoping to have all that confirmed and settled within the next two weeks. For the full list of current sponsors, please see the &lt;a href="http://twistedmatrix.com/trac/wiki/TSF/FoundingSponsors" &gt;Founding Sponsors page&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;So what does all this mean? It means that Twisted has a continually-increasing chance of meeting your needs and exceeding your expectations :-)&lt;br /&gt;&lt;br /&gt;Sponsors will have access to a private email list that is managed by the TSF, and this will be the primary forum where desired features and issues to be addressed will be discussed. The donations help us address resource issues and the collective voice of the sponsors will help provide a focus on important topics.&lt;br /&gt;&lt;br /&gt;Not only do the current sponsors have their logos+links on the front page, but Founding Sponsors also get this on a dedicated page on the Twisted site in perpetuity. We've got some amazing Google Juice (search), so this works out well for all. We've also been approached by sponsors who are using it as a means of recruiting Python and Twisted talent in their shops. There are all sorts of creative ways that this can be of benefit :-)&lt;br /&gt;&lt;br /&gt;If you haven't stopped by the TSF pages, give them a look and see if it's something you or your organization could be interested in.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update:&lt;/span&gt; Thanks to feedback from &lt;a href="http://agiletesting.blogspot.com/" rel="nofollow" &gt;Grig Gheorghiu&lt;/a&gt;, we now have two domains that direct to the TSF page:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://twistedsoftwarefoundation.org/" &gt;twistedsoftwarefoundation.org&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://tsf.name/" &gt;tsf.name&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;Be aware that the DNS for those may still be propagating when you click on them :-)&lt;br /&gt;&lt;br /&gt;&lt;!-- technorati tags start --&gt;&lt;p style="text-align: right; font-size: 10px;"&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/tsf" rel="tag" &gt;tsf&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/twisted" rel="tag" &gt;twisted&lt;/a&gt;&lt;/p&gt;&lt;!-- technorati tags end --&gt;&lt;img src="http://feeds.feedburner.com/~r/ElectricDuncan/~4/270999519" height="1" width="1"/&gt;</description>
    </item>
    <item>
      <pubDate>Thu, 10 Apr 2008 04:04:39 GMT</pubDate>
      <title>Twisted on Nexenta/OpenSolaris</title>
      <link>http://www.advogato.org/person/oubiwann/diary.html?start=178</link>
      <guid>http://feeds.feedburner.com/~r/ElectricDuncan/~3/267429042/twisted-on-nexentaopensolaris.html</guid>
      <description>&lt;a href="http://www.flickr.com/photos/oubiwann/2402429980/" &gt;&lt;img src="http://farm3.static.flickr.com/2134/2402429980_89f02d0374_m.jpg" align="left" /&gt;&lt;/a&gt;A few hours ago, I had the chance to install &lt;a href="http://www.nexenta.org/os" &gt;Nexenta/OpenSolaris&lt;/a&gt; in Parallels. The install was pretty straight-forward and quick. Gnome isn't on the .iso, but this was easily addressed with a&lt;span style="font-family:monospace;font-size:9pt;"&gt;/etc/apt/sources.list&lt;/span&gt; update, and an &lt;span style="font-family:monospace;font-size:9pt;"&gt;apt-get&lt;/span&gt; (a ~450MB dependency download and install). With Gnome was up and running, I was amazed at its responsiveness: Gnome on Nexenta seems to be much snappier than Ubuntu 7.10. This is the first time I've seen something I could use instead of Ubuntu, and that's saying a lot.&lt;br /&gt;&lt;br /&gt;Next up was getting the Twisted and Divmod code installed. This required the following additional package installs:&lt;br /&gt;&lt;pre&gt;sudo apt-get install python2.4-zopeinterface&lt;br /&gt;sudo apt-get install python2.4-profiler&lt;br /&gt;sudo apt-get install python2.4-pyopenssl&lt;br /&gt;sudo apt-get install python2.4-crypto&lt;br /&gt;&lt;/pre&gt;With that done, I ran &lt;span style="font-family:monospace;font-size:9pt;"&gt;trial twisted&lt;/span&gt;, and watched the tests zip by. The end result? Only 1 failure and 2 errors; that's a pretty significant improvement over Twisted in Solaris 10. The failure was actually a little bit weird: the test can't find &lt;span style="font-family:monospace;font-size:9pt;"&gt;/dev/tty&lt;/span&gt;, however the device does exist (and I can open it from the python prompt). The two errors came from the UDP "multi listen" test, and were are result of the test timing out.&lt;br /&gt;&lt;br /&gt;If I can get those two tests sorted out, I'll start testing the Divmod code. If all goes well, this could very well end up being my new development platform.&lt;br /&gt;&lt;br /&gt;&lt;!-- technorati tags start --&gt;&lt;p style="text-align:right;font-size:10px;"&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/divmod" rel="tag" &gt;divmod&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/gnome" rel="tag" &gt;gnome&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/python" rel="tag" &gt;python&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/solaris" rel="tag" &gt;solaris&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/twisted" rel="tag" &gt;twisted&lt;/a&gt;&lt;/p&gt;&lt;!-- technorati tags end --&gt;&lt;img src="http://feeds.feedburner.com/~r/ElectricDuncan/~4/267460145" height="1" width="1"/&gt;</description>
    </item>
    <item>
      <pubDate>Tue, 8 Apr 2008 21:04:14 GMT</pubDate>
      <title>The Problem with and Solution to Google's App Engine</title>
      <link>http://www.advogato.org/person/oubiwann/diary.html?start=177</link>
      <guid>http://feeds.feedburner.com/~r/ElectricDuncan/~3/266569093/problem-with-and-solution-to-google-app.html</guid>
      <description>I know everyone is all aglow with the &lt;a href="http://code.google.com/appengine/" &gt;new web development offering&lt;/a&gt; from Google, but let me do the unpopular thing and put &lt;em&gt;some&lt;/em&gt; things into perspective: there are limitations.&lt;br /&gt;&lt;br /&gt;In fact, the limitations that exist will prevent me from using App Engine with all of my projects, save one (that one being a very simple web site). First, the limitations that prevent me from using App Engine (from &lt;a href="http://code.google.com/appengine/kb/general.html#libraries" &gt;one of their FAQs&lt;/a&gt;):&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Sockets are disabled with Google App Engine&lt;/li&gt;&lt;li&gt;The system does not allow you to invoke subprocesses, as a result some os module methods are disabled&lt;/li&gt;&lt;li&gt;Threading is not available&lt;/li&gt;&lt;/ul&gt;This means that I can't write a deferred wrapper for their data layer, I can't use Twisted for such things as XML-RPC or &lt;a href="http://twistedmatrix.com/trac/browser/trunk/twisted/protocols/amp.py" &gt;AMP&lt;/a&gt;-based &lt;a href="http://www.ripton.net/blog/?p=16" &gt;communications&lt;/a&gt;, and I can't use an async templating system (like &lt;a href="http://divmod.org/trac/wiki/DivmodNevow" &gt;Nevow&lt;/a&gt;). I'm stuck with CGI and blocking code. And for all but the simplest projects, that's a big "No Thank You" from me.&lt;br /&gt;&lt;br /&gt;This doesn't mean that I won't use it -- I will. I have one project that this will be perfect for... but it's for someone else, not me.&lt;br /&gt;&lt;br /&gt;However, these limitations are actually good news :-) Here's the silver lining:&lt;br /&gt;&lt;br /&gt;As Glyph as alluded to in his &lt;a href="http://glyph.twistedmatrix.com/2008/04/app-engine-of-your-internet.html" &gt;recent blog post&lt;/a&gt; (and in &lt;a href="http://twitter.com/glyf/statuses/783261507" &gt;our&lt;/a&gt; &lt;a href="http://twitter.com/oubiwann/statuses/783912833" &gt;tweets&lt;/a&gt;), we've recently completed a massive week-long BizDev Divmod sprint in Boston. One of the results of this is based on community feedback we've had over the last year, and which culminated at PyCon 2008 in Chicago with multiple requests for particular services from &lt;a href="http://divmod.org/trac/" &gt;The Twisted Company&lt;/a&gt;. That result is a set of tools, features, and management options folks will be able to use with &lt;a href="http://divmod.org/trac/wiki/DivmodProjects" &gt;our software&lt;/a&gt; (app server, smart object db, network services, etc.). People really want to start using our stuff in cloud/grid computing environments. They need support for multiple and diverse network services, inter-store communications, massive deployments, etc. Two months before PyCon, we started working on tickets to support this, and we're making excellent progress toward providing the requested features.&lt;br /&gt;&lt;br /&gt;We're still unclear as to which parts of this will be open source, as that will be driven by a combination of business and community demand. Regardless, Google's lack of support for this stuff has (for now) left the field wide open for us. And that, folks, is a big "Thank You Google!" :-)&lt;br /&gt;&lt;br /&gt;&lt;!-- technorati tags start --&gt;&lt;p style="text-align: right; font-size: 10px;"&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/business" rel="tag" &gt;business&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/community" rel="tag" &gt;community&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/divmod" rel="tag" &gt;divmod&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/google" rel="tag" &gt;google&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/grid" rel="tag" &gt;grid&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/mantissa" rel="tag" &gt;mantissa&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/networking" rel="tag" &gt;networking&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/nevow" rel="tag" &gt;nevow&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/cloud" rel="tag" &gt;cloud&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/pycon" rel="tag" &gt;pycon&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/python" rel="tag" &gt;python&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/services" rel="tag" &gt;services&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/software" rel="tag" &gt;software&lt;/a&gt;&lt;/p&gt;&lt;!-- technorati tags end --&gt;&lt;img src="http://feeds.feedburner.com/~r/ElectricDuncan/~4/266569093" height="1" width="1"/&gt;</description>
    </item>
    <item>
      <pubDate>Fri, 28 Mar 2008 05:05:05 GMT</pubDate>
      <title>We're in the Kitchen, Cookin Ur Mealz...</title>
      <link>http://www.advogato.org/person/oubiwann/diary.html?start=176</link>
      <guid>http://feeds.feedburner.com/~r/ElectricDuncan/~3/259413951/we-in-kitchen-cookin-ur-mealz.html</guid>
      <description>&lt;a href="http://flickr.com/photos/oubiwann/2367308733/" &gt;&lt;img src="http://farm4.static.flickr.com/3133/2367308733_c962e1b0c8_m.jpg" align="left" /&gt;&lt;/a&gt;As Glyph &lt;a href="http://glyf.livejournal.com/76551.html" &gt;just said&lt;/a&gt;, our community/development site is "reloaded" with a fresh look and the beginnings of some new structure. This comes as a result of many interdependent activities in the offing here at Divmod, most of which are still in the oven (and we wouldn't want to ruin the surprise now, would we?).&lt;br /&gt;&lt;br /&gt;At PyCon, many of you approached us about more than the &lt;a href="http://twistedmatrix.com/trac/" &gt;Twisted&lt;/a&gt; stuff we've been working on, and we had some good conversations. We've listened to all of you and have been making Herculean strides to provide a clearer view into what we do and how it can help you. We've got a long way to go regarding site content improvements and enhancements to documentation, both of which are genuinely at the top of our list right now. Yes, we've got a vision; but that is truly nothing without the continued interest and support of curious and creative folks like you, who want to architect extraordinary software.&lt;br /&gt;&lt;br /&gt;There's been an extraordinary amount of energetic development, conversation, brainstorming and contribution that's been happening on IRC, at our offices, and in the code base, by employees and community members, at work and at play -- it's terrific to be a part of something so genuine and organic (the rumors of &lt;a href="http://labs.twistedmatrix.com/2008/03/twisted-80-released.html" &gt;inorganic overlords&lt;/a&gt; have been greatly exaggerated).&lt;br /&gt;&lt;br /&gt;Come &lt;a href="http://divmod.org/trac" &gt;take a look&lt;/a&gt;! ... And stay for a while :-)&lt;br /&gt;&lt;br /&gt;P.S. If there are any CSS-on-IE Super Freaks in the House, will you please stand up? We're trying to work on some styling oddities that exist on the site and we could use some help!&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Update&lt;/strong&gt;: &lt;a href="http://theironlion.net/" &gt;Paul Hummer&lt;/a&gt; has been amazingly helpful and got us up and running on IE when he had spare moments today. Thanks Paul!&lt;br /&gt;&lt;br /&gt;&lt;!-- technorati tags start --&gt;&lt;p style="text-align:right;font-size:10px;"&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/business" rel="tag" &gt;business&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/community" rel="tag" &gt;community&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/design" rel="tag" &gt;design&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/divmod" rel="tag" &gt;divmod&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/mantissa" rel="tag" &gt;mantissa&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/nevow" rel="tag" &gt;nevow&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/python" rel="tag" &gt;python&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/web" rel="tag" &gt;web&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/work" rel="tag" &gt;work&lt;/a&gt;&lt;/p&gt;&lt;!-- technorati tags end --&gt;&lt;img src="http://feeds.feedburner.com/~r/ElectricDuncan/~4/259413951" height="1" width="1"/&gt;</description>
    </item>
    <item>
      <pubDate>Thu, 27 Mar 2008 11:15:08 GMT</pubDate>
      <title>Genshi in Nevow, Revisited</title>
      <link>http://www.advogato.org/person/oubiwann/diary.html?start=175</link>
      <guid>http://feeds.feedburner.com/~r/ElectricDuncan/~3/258886516/genshi-on-nevow-revisited.html</guid>
      <description>About a year ago, I blogged about &lt;a href="http://oubiwann.blogspot.com/2007/03/genshi-templates-in-nevow.html" &gt;using Genshi in Nevow&lt;/a&gt;. It was purely an exercise in curiosity on my part: I wanted to know how flexible Nevow's template parsing was. Could I just drop something else in there that was completely different? The answer was yes and no :-)&lt;br /&gt;&lt;br /&gt;The "no" part of that was discovered by a kind reader, Karl Bartel, who found that the Genshi templates in Nevow were one-time wonders: after the first render, data was not refreshed. I didn't have time to take a look at why, since Zenoss was occupying so much of my time then. Now that I'm rocking out at &lt;a href="http://divmod.org/trac" &gt;Divmod&lt;/a&gt;, this sort of thing is more or less my business now :-) What's more, a friend recently made a deeply heart-felt plea to get Genshi working on Nevow, so I took another look tonight.&lt;br /&gt;&lt;br /&gt;Here's the "yes" part of that answer :-) This only represents about an hour or so of work, so this hasn't been tested very thoroughly, but there's a trivial way to get &lt;a href="http://adytum.svn.sourceforge.net/viewvc/adytum/Docs/nevow/templating/genshi/simple/" &gt;last year's old, static code&lt;/a&gt; working such that Genshi templates are &lt;a href="http://adytum.svn.sourceforge.net/viewvc/adytum/Docs/nevow/templating/genshi/dynamic/" &gt;dynamically rendered in Nevow&lt;/a&gt;. Here's what I did to make it work:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;preserve the original template data in a temp variable&lt;/li&gt;&lt;li&gt;reassign to self.template after Nevow's load() method has been called&lt;/li&gt;&lt;li&gt;clean Nevow's template cache&lt;/li&gt;&lt;/ul&gt;That's it :-)&lt;br /&gt;&lt;br /&gt;If you want a single template to be able to be processed by both Nevow's templating machinery as well as Genshi's, you're going to have to make some sacrifices in efficiency. However, if you want a pure-Genshi solution for Nevow, you should be able to use this code to get something up in no time.&lt;br /&gt;&lt;br /&gt;In addition to the bullet points above, I also did the following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;added some "method filters" so that Nevow stuff didn't get called by the Genshi loader&lt;/li&gt;&lt;li&gt;checked to see if the python attributes available to the Genshi templates were callable and if so, called them&lt;/li&gt;&lt;/ul&gt;As usual, leave a comment if you run across any problems.&lt;br /&gt;&lt;br /&gt;&lt;!-- technorati tags start --&gt;&lt;p style="text-align:right;font-size:10px;"&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/community" rel="tag" &gt;community&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/genshi" rel="tag" &gt;genshi&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/howto" rel="tag" &gt;howto&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/python" rel="tag" &gt;python&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/software" rel="tag" &gt;software&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/templating" rel="tag" &gt;templating&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/twisted" rel="tag" &gt;twisted&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/web" rel="tag" &gt;web&lt;/a&gt;&lt;/p&gt;&lt;!-- technorati tags end --&gt;&lt;img src="http://feeds.feedburner.com/~r/ElectricDuncan/~4/258886516" height="1" width="1"/&gt;</description>
    </item>
    <item>
      <pubDate>Mon, 24 Mar 2008 04:06:02 GMT</pubDate>
      <title>Twisted on Solaris: Fail</title>
      <link>http://www.advogato.org/person/oubiwann/diary.html?start=174</link>
      <guid>http://feeds.feedburner.com/~r/ElectricDuncan/~3/256814208/twisted-on-solaris-fail.html</guid>
      <description>No, this isn't the &lt;a href="http://failblog.wordpress.com/" &gt;fail blog&lt;/a&gt;, but right now it ain't the supper happy dev blog, either. Let's do the Good first:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Good&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To mis^H^Habuse Wind In His Hair's quote from &lt;em&gt;Dances with Wolves&lt;/em&gt;, here's what I say to Sun: Do you see that I am your fanboy? Can you see that I will always be your fanboy?&lt;br /&gt;&lt;br /&gt;As I said to Glyph last night while Solaris was installing on my iMac, I have the fondest memories of Sun, SunOS and Solaris. It ranks right up there with the time I spent on the Kaypro II CP/M machine as a kid in the early 80s, and far more special than the considerable time I spent on &lt;a href="http://en.wikipedia.org/wiki/VAX" &gt;VAX/VMS&lt;/a&gt; machines at APSU and UMASS in the mid 90s. I remember doing physics projects in Mathematica and creating the first site for my web design business in '96 on SunOS 5 machines at UMCP. It felt &lt;em&gt;real&lt;/em&gt; and &lt;em&gt;solid&lt;/em&gt;... and it was &lt;em&gt;exciting&lt;/em&gt;. After using SunOS, I rarely touched a PC. Even my early Linux experiments were just that: hacking ethernet drivers so that Slackware was usable for me (it was a couple years before I was running Mathematica on Linux :-)); it was the Sun machines I used for the real work.&lt;br /&gt;&lt;br /&gt;So yesterday, once the install finished and I started up a &lt;a href="http://en.wikipedia.org/wiki/Common_Desktop_Environment" &gt;CDE&lt;/a&gt; session, you can imagine my nostalgia :-) In case you can't, I took &lt;a href="http://flickr.com/search/?w=45112797%40N00&amp;amp;q=cde+nostalgia&amp;amp;m=tags" &gt;some pictures&lt;/a&gt; to remember it by... I'm gonna miss the CDE when it goes :-( It was great being back in these Motif stomping grounds, iconizing windows to the desktop, tweaking the environment in the same old ways. I look forward to the possibility of more of this in the near future.&lt;br /&gt;&lt;br /&gt;As for add-on software, those &lt;a href="http://www.sunfreeware.com/" &gt;Sunfreeware&lt;/a&gt; guys are both still at it and still insanely awesome. What  would I ever do without them? I"ve been using the packages at this site almost as long as I've been using Solaris. This may be a question for the Lazy Web, but can we get an apt-get for sunfreeware.com? Post-OS-install installs are &lt;em&gt;so slow&lt;/em&gt;, due to the manual pick-and-choose-and-download-and-unzip-and-pkgadd... honestly. Oh, wow -- after some digging, I just discovered that this &lt;a href="http://www.blastwave.org/pkg-get.php" &gt;already exists&lt;/a&gt;. (doesn't seem to work with Sunfreeware; does work with the old SunSite/ibiblio hosts, though).&lt;br /&gt;&lt;br /&gt;Thanks to Sunfreeware, I had Python 2.5 and Subversion up and running in no time, &lt;span style="font-family:monospace;font-size:9pt;"&gt;co&lt;/span&gt;'ed &lt;a href="http://twistedmatrix.com/" &gt;Twisted&lt;/a&gt; and the &lt;a href="http://divmod.org/trac/" &gt;Divmod code base&lt;/a&gt;, got &lt;a href="http://divmod.org/trac/wiki/DivmodCombinator" &gt;Combinator&lt;/a&gt; installed, and started running Twisted test suites. Quick Combinator plug: with just four commands (2 per repository), I was on branch-management easy street. If you're using svn, Combinator should be your best friend...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Bad&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You already know the big-bad, since you can see the title of this post :-) Twisted unit tests had 3 failures and 66 errors. Given that this represents about 0.07% and 1.59% of the tests, respectively, that's not &lt;em&gt;too&lt;/em&gt; bad. The errors were higher at first, but my pyOpenSSL build was pointing at the wrong libs; there were obvious improvements once I pointed to the right libs.&lt;br /&gt;&lt;br /&gt;Solaris x86 doesn't seem to perform as well. This matches the stories I heard a couple years ago, so I'm not that surprised. Solaris has a proven track record on Sparc; high performance on x86 may be a ways off. I ran the Twisted test suite on a VM install of Solaris and Ubuntu in Parallels (and thus both using identical hardware). During each test run, I left my machine alone, so there were no resource drains (or differences in utilization) either from the VM or Mac OS X.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Ubuntu 7.10&lt;/em&gt;&lt;br /&gt;&lt;span style="font-family:monospace;font-size:9pt;"&gt;real    3m25.151s&lt;br /&gt;user    0m54.655s&lt;br /&gt;sys     1m22.189s&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Solaris 10&lt;/em&gt;&lt;br /&gt;&lt;span style="font-family:monospace;font-size:9pt;"&gt;real    5m32.329s&lt;br /&gt;user    1m17.935s&lt;br /&gt;sys     0m37.875s&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As you can see, Solaris x86 runs a little more slowly. Once the test errors are addressed, it will be interesting to see if there is any change.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Ugly&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;It seems that one or more of the partitions started filling up towards the end of the tests, so several of the errors were &lt;span style="font-family:monospace;font-size:9pt;"&gt;exceptions.OSError: [Errno 12] Not enough space&lt;/span&gt;. During the install, I just accepted the default partitioning that Solaris offered for the 32GB Parallels virtual drive, so this is going to need some tweaking. For starters, &lt;span style="font-family:monospace;font-size:9pt;"&gt;/tmp&lt;/span&gt; is way too tiny, especially since that is what is used for package installs (unzipped temp files). Likewise &lt;span style="font-family:monospace;font-size:9pt;"&gt;/&lt;/span&gt; is way over-used; I should probably put &lt;span style="font-family:monospace;font-size:9pt;"&gt;/usr&lt;/span&gt; on its own partition.&lt;br /&gt;&lt;br /&gt;However, the point is not to blow the dust off my old sysadmin skills, but rather that a default install isn't actually a proper environment for developers. If Sun wants devs to be able to jump right in and get going, then they need to either provide a better default or, if there is one, make it more obvious how to get to that default.&lt;br /&gt;&lt;br /&gt;What's more (less?), when attempting to run the unit tests on Solaris, I kept getting GUI popup error messages saying that there were too many processes open and I should close some applications. I didn't dig at all to see which resources were limited; the purpose was to just get a complete test suite run, not do log file forensics and discover the source of the issues (which I hope to do in the future).  I had to close all windows, save the terminal where I was running the tests.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;So, what have I taken away from all this? Possibly the following:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Sun needs to put some resources into integrating the work that has been done with pkg-get; user communities thrive on easily available software, and developers count on it.&lt;/li&gt;&lt;li&gt;If I'm going to seriously consider using Solaris as a development platform, I need to start hanging out on the forums, get back up to speed; I'm sure there's lots of good stuff out there that simply hasn't gotten any exposure.&lt;/li&gt;&lt;li&gt;Similarly, I'm going to have to do some Solaris brush-up and then uncover some best practices -- using/adapting those that are extant, or creating new ones where there is a need.&lt;/li&gt;&lt;/ol&gt;The last two would be an investment on my part, but if Sun is serious about the Python community and supporting Python on Solaris, I'm willing to give it a shot.&lt;br /&gt;&lt;br /&gt;So what's next? If that mythical entity "free time" truly does exist, I'm going to take a deeper look at Twisted on Solaris and start identifying the problems. I'll probably explore some system setup best practices too, and see what it would take to get pkg-get to support Sunfreeware.com.&lt;br /&gt;&lt;br /&gt;&lt;!-- technorati tags start --&gt;&lt;p style="text-align:right;font-size:10px;"&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/community" rel="tag" &gt;community&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/open source" rel="tag" &gt;open source&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/python" rel="tag" &gt;python&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/solaris" rel="tag" &gt;solaris&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/sun" rel="tag" &gt;sun&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/testing" rel="tag" &gt;testing&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/twisted" rel="tag" &gt;twisted&lt;/a&gt;&lt;/p&gt;&lt;!-- technorati tags end --&gt;&lt;img src="http://feeds.feedburner.com/~r/ElectricDuncan/~4/256814208" height="1" width="1"/&gt;</description>
    </item>
    <item>
      <pubDate>Mon, 17 Mar 2008 18:03:39 GMT</pubDate>
      <title>High Dynamic Range Imaging</title>
      <link>http://www.advogato.org/person/oubiwann/diary.html?start=173</link>
      <guid>http://feeds.feedburner.com/~r/ElectricDuncan/~3/253136276/high-dynamic-range-imaging.html</guid>
      <description>So David Reid has a killer desktop background that looks like a game screenshot from Half Life 2. Turns out, it's a real photo and it was done using multiple exposure/composite techniques, something known as "high dynamic range" imaging. There's more info about that here:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/High_dynamic_range_imaging" &gt;http://en.wikipedia.org/wiki/High_dynamic_range_imaging&lt;/a&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Here are some nice ones that I have found on flickr and elsewhere:&lt;br /&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://farm3.static.flickr.com/2071/2271947578_5b09f10150_o.jpg" &gt;http://farm3.static.flickr.com/2071/2271947578_5b09f10150_o.jpg&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://farm3.static.flickr.com/2002/2236003621_ac35fb1a3e_o.jpg" &gt;http://farm3.static.flickr.com/2002/2236003621_ac35fb1a3e_o.jpg&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://upload.wikimedia.org/wikipedia/commons/d/d5/Trencin_hdr_001.jpg" &gt;http://upload.wikimedia.org/wikipedia/commons/d/d5/Trencin_hdr_001.jpg&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://upload.wikimedia.org/wikipedia/commons/2/22/New_York_City_at_night_HDR.jpg" &gt;http://upload.wikimedia.org/wikipedia/commons/2/22/New_York_City_at_night_HDR.jpg&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://farm3.static.flickr.com/2157/2186079657_a970c3e4ea_o.jpg" &gt;http://farm3.static.flickr.com/2157/2186079657_a970c3e4ea_o.jpg&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://farm3.static.flickr.com/2004/2079908663_85832e9461_o.jpg" &gt;http://farm3.static.flickr.com/2004/2079908663_85832e9461_o.jpg&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://farm3.static.flickr.com/2030/1524399896_a93560592b_o.jpg" &gt;http://farm3.static.flickr.com/2030/1524399896_a93560592b_o.jpg&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://farm3.static.flickr.com/2056/1552881168_2cf7411b84_o.jpg" &gt;http://farm3.static.flickr.com/2056/1552881168_2cf7411b84_o.jpg&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://farm1.static.flickr.com/87/232598586_bf083fbe68_o.jpg" &gt;http://farm1.static.flickr.com/87/232598586_bf083fbe68_o.jpg&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://farm1.static.flickr.com/55/108078035_eabc7da078_o.jpg" &gt;http://farm1.static.flickr.com/55/108078035_eabc7da078_o.jpg&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;I still haven't found the one that is on his desktop background, but when I do, I'll post a link :-)&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;!-- technorati tags start --&gt;&lt;p style="text-align:right;font-size:10px;"&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/photography" rel="tag" &gt; photography &lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/pycon" rel="tag" &gt;pycon&lt;/a&gt;&lt;/p&gt;&lt;!-- technorati tags end --&gt;&lt;img src="http://feeds.feedburner.com/~r/ElectricDuncan/~4/253136276" height="1" width="1"/&gt;</description>
    </item>
    <item>
      <pubDate>Sun, 16 Mar 2008 23:03:56 GMT</pubDate>
      <title>Twisted Announces TSF</title>
      <link>http://www.advogato.org/person/oubiwann/diary.html?start=172</link>
      <guid>http://feeds.feedburner.com/~r/ElectricDuncan/~3/252650035/twisted-announces-tsf.html</guid>
      <description>Hey everyone, in case you weren't at PyCon (or were, but slept-in on Saturday morning... or aren't subscribed to any of the &lt;a href="http://labs.twistedmatrix.com/2008/02/rss-flood-apology.html" &gt;Twisted feeds&lt;/a&gt;), we made an announcement about the Twisted's new membership in the &lt;a href="http://conservancy.softwarefreedom.org/" &gt;Software Freedom Conservancy&lt;/a&gt;.  There's a news post about it &lt;a href="http://labs.twistedmatrix.com/2008/03/twisted-announces-membership-in.html" &gt;here&lt;/a&gt; where you can get the latest details.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update:&lt;/span&gt; Thanks to feedback from &lt;a href="http://agiletesting.blogspot.com/" rel="nofollow" &gt;Grig Gheorghiu&lt;/a&gt;, we now have two domains that direct to the TSF page:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://twistedsoftwarefoundation.org/" &gt;twistedsoftwarefoundation.org&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://tsf.name/" &gt;tsf.name&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;!-- technorati tags start --&gt;&lt;p style="text-align: right; font-size: 10px;"&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tag/community" rel="tag" &gt;community&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/tsf" rel="tag" &gt;tsf&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/pycon" rel="tag" &gt;pycon&lt;/a&gt;, &lt;a href="http://www.technorati.com/tag/twisted" rel="tag" &gt;twisted&lt;/a&gt;&lt;/p&gt;&lt;!-- technorati tags end --&gt;&lt;img src="http://feeds.feedburner.com/~r/ElectricDuncan/~4/252650035" height="1" width="1"/&gt;</description>
    </item>
  </channel>
</rss>
