<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'><channel><description>Where am I? This tumblelog is a noisy stream of consciousness from Anthony Bailey. (And not Amazon.) Tell me less: For a lower traffic, more obsessively edited Anthony, see the real blog.</description><title>Anthony Bailey</title><generator>Tumblr (3.0; @anthonybailey)</generator><link>http://anthonybailey.net/tumblelog</link><item><title>Alice and Kev is a “real life” Sims 3 story,...</title><description>&lt;img src="http://19.media.tumblr.com/2j3BntrL9owx8433WgGSt5Fco1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://aliceandkev.wordpress.com"&gt;&lt;i&gt;Alice and Kev&lt;/i&gt;&lt;/a&gt; is a “real life” &lt;i&gt;Sims 3 &lt;/i&gt;story, told with images from and textual descriptions of unfolding events in that game/world.&lt;/p&gt;
&lt;p&gt;The author Robin Burkinshaw set up a homeless father and daughter, and watches the story that has emerged. He makes wonderfully artful choices in his character setting, occasional intervention and narrative interpretation; but the game itself comes across as an equal creative partner.&lt;/p&gt;
&lt;p&gt;Fascinating concept. And the tale is &lt;b&gt;really&lt;/b&gt; compelling. This is the only soap in my feed reader.&lt;/p&gt;
&lt;p&gt;(I have little interest in an ontology debate, but, tag: machinima)&lt;/p&gt;</description><link>http://anthonybailey.net/tumblelog/2009/06/19/alice-and-kev-is-a-“real-life”-sims-3 story</link><guid>http://anthonybailey.tumblr.com/post/126641892</guid><pubDate>Fri, 19 Jun 2009 21:51:39 +0100</pubDate></item><item><title>Progression     of feelings about meta-programming.

Scary and...</title><description>&lt;img src="http://16.media.tumblr.com/2j3BntrL9on229r1qsIwWs8Io1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Progression     of feelings about meta-programming.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Scary and Bad: People are wary of meta-programming and don’t use it much&lt;/li&gt;
&lt;li&gt;Scary and Good: people begin to see the value of       meta-programming but are still uncomfortable with using it.&lt;/li&gt;
&lt;li&gt;Easy and Good: as people get comfortable they begin to use       it too much, which can complicate the code-base.&lt;/li&gt;
&lt;li&gt;Easy and Bad: people are wary of meta-programming and realize       that it’s very useful in small doses.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;(From a longer article by Martin Fowler examining the use of &lt;a href="http://martinfowler.com/articles/rubyAtThoughtWorks.html"&gt;Ruby at Thoughtworks&lt;/a&gt;.)&lt;/p&gt;</description><link>http://anthonybailey.net/tumblelog/2009/06/13/progression-of-feelings-about-meta-programming-etc</link><guid>http://anthonybailey.tumblr.com/post/122586052</guid><pubDate>Sat, 13 Jun 2009 00:09:23 +0100</pubDate></item><item><title>Tiny activity</title><description>I recently did a little rewiring of the technologies behind the on-line representation of me. Almost certainly unwarranted given how little watched and how inactive I am, but it means this post gets an apt title, and the approaches were interesting for their own sake.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Firstly, a little vanity.&lt;/b&gt; I’m pretty happy using anthonybailey.net as &lt;a href="http://anthonybailey.net/"&gt;my home on the Net&lt;/a&gt;, but it can be incoveniently long sometimes. So I registered antb.me/ as a tiny URL vanity domain, and wired up my blog framing machinery so that I can shorten e.g. &lt;a title="A descriptive URL, but I would not want to type it" href="http://anthonybailey.net/tumblelog/2009/03/30/a-happy-accident-memetics-and-pairing"&gt;&lt;a href="http://anthonybailey.net/tumblelog/2009/03/30/a-happy-accident-memetics-and-pairing"&gt;http://anthonybailey.net/tumblelog/2009/03/30/a-happy-accident-memetics-and-pairing&lt;/a&gt;&lt;/a&gt; to &lt;a title="128 tweet characters left! Shame I don't actually use Twitter, huh?" href="http://antb.me/t214"&gt;antb.me/t214&lt;/a&gt; if I want to.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Secondly, some aggregation.&lt;/b&gt; I display a &lt;a title="Yay for dynamic widgets in a static page" href="http://anthonybailey.net/headlines"&gt;headlines summary&lt;/a&gt; as part of my homepage. This used to be generated from a special-purpose merge of my blog and tumblelog feeds, but I am a little active on sites that I don’t own as well, and activity streams are all the rage. So, now it’s powered by a &lt;a href="http://friendfeed.com"&gt;FriendFeed&lt;/a&gt; blend of these blogs together with comments tracked by the excellent &lt;a title="Powers comments on my own tumblelog" href="http://disqus.com/"&gt;Disqus&lt;/a&gt; and &lt;a title="Spiders external comments marked with my homepage/OpenID URL" href="http://backtype.com/"&gt;BackType&lt;/a&gt; services. (This is still imperfect. Ideally, FriendFeed wouldn’t abbreviate my blog content and then &lt;a title="Its OK as a notifier, but I like full feeds in my reader" href="http://anthonybailey.net/feed"&gt;the feed itself&lt;/a&gt; would be a more useful read. Actually, ideally &lt;a title="or whatever other linkback mechanism" href="http://en.wikipedia.org/wiki/Trackback"&gt;trackback&lt;/a&gt; would have caught on enough that I could comment on other blogs by posting on my own, but that wishful distributive thinking just hasn’t worked out.)</description><link>http://anthonybailey.net/tumblelog/2009/05/25/tiny-activity</link><guid>http://anthonybailey.tumblr.com/post/112897565</guid><pubDate>Mon, 25 May 2009 21:33:00 +0100</pubDate></item><item><title>Space Elevator Pitch</title><description>&lt;pre&gt;&lt;dl&gt;
  &lt;dt&gt;space elevator pitch&lt;/dt&gt;
  &lt;dd&gt;
    When a "great new business idea" takes
    so long to describe you know it can't work.
  &lt;/dd&gt;
&lt;/dl&gt;&lt;/pre&gt;</description><link>http://anthonybailey.net/tumblelog/2009/05/21/space-elevator-pitch</link><guid>http://anthonybailey.tumblr.com/post/110963767</guid><pubDate>Thu, 21 May 2009 14:21:19 +0100</pubDate></item><item><title>Dollhouse is well worth watching.
The first season of Joss...</title><description>&lt;img src="http://17.media.tumblr.com/2j3BntrL9nnd9bxuU09vp73to1_400.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;i&gt;Dollhouse&lt;/i&gt; is well worth watching.&lt;/p&gt;
&lt;p&gt;The first season of Joss Whedon’s latest TV show ended in the US ten days ago, got &lt;a title="despite poor ratings and the Fox fears of fans" href="http://www.thrfeed.com/2009/05/dollhouse-second-season.html"&gt;renewed&lt;/a&gt; at the end of last week. I plan to write a proper review at some point, but wanted to give two thumbs up in the meantime since it starts &lt;a href="http://www.scifi.co.uk/shows/dollhouse/"&gt;on Sci-Fi&lt;/a&gt; here in the UK on Tuesday evening.&lt;/p&gt;</description><link>http://anthonybailey.net/tumblelog/2009/05/19/dollhouse-is-well-worth-watching</link><guid>http://anthonybailey.tumblr.com/post/109704912</guid><pubDate>Tue, 19 May 2009 00:43:05 +0100</pubDate></item><item><title>"Uncle Bob is trying to create a world where nobody ever got fired for writing a unit test."</title><description>““Uncle Bob is trying to create a world where nobody ever got fired for writing a unit test.””&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Giles Bowkett &lt;a href="http://gilesbowkett.blogspot.com/2009/05/what-killed-smalltalk-my-balls.html"&gt;worries&lt;/a&gt; about overprofessionalism in software development. I think the warning is way premature, but I like the phrasing.&lt;/em&gt;</description><link>http://anthonybailey.net/tumblelog/2009/05/09/uncle-bob-is-trying-to-create-a-world-where-nobody-etc</link><guid>http://anthonybailey.tumblr.com/post/105451906</guid><pubDate>Sat, 09 May 2009 15:39:46 +0100</pubDate></item><item><title>Buzz Out Loud discuss a partial brain simulation.</title><description>Tom Merritt: [The researchers] can trace back every activity of every molecule in every cell, every connection and see how the memory was formed... in ten to twenty years they may be able to create an entire brain&lt;br /&gt;&#13;
Natali DelConte: Essentially then you upload experiences in the same way you do in the matrix, you can just plug in and... then I'm going to know ju-jitsu and you should all just watch out.&lt;br /&gt;&#13;
Tom Merritt: The thing is, you won't be able to know whether you're in a real brain or not... they could just make infinite copies of you... and how do you know you're you any more?&lt;br /&gt;&#13;
Natali DelConte: Why do I care? *I know ju-jitsu.*&lt;br /&gt;&#13;
(from Buzz Out Load podcast #958.)</description><link>http://anthonybailey.net/tumblelog/2009/04/24/buzz-out-loud-discuss-a-partial-brain-simulation</link><guid>http://anthonybailey.tumblr.com/post/99781391</guid><pubDate>Fri, 24 Apr 2009 22:28:25 +0100</pubDate></item><item><title>Continuous deployment is a provocative phrase. The recent blog...</title><description>&lt;embed type="application/x-shockwave-flash" src="http://anthonybailey.tumblr.com/swf/audio_player.swf?audio_file=http://www.tumblr.com/audio_file/99222232/2j3BntrL9mmr6eqv9I0vbFjY&amp;color=FFFFFF" height="27" width="207" quality="best"&gt;&lt;/embed&gt;&lt;br/&gt;&lt;br/&gt;Continuous deployment is a provocative phrase. The &lt;a href="http://timothyfitz.wordpress.com/2009/02/08/continuous-deployment/"&gt;recent blog post by Timothy Fitz&lt;/a&gt; may have produced as much heat as light and the inevitable “yeah, but we can’t because…” but the concept provokes good conversation in this &lt;a href="http://itc.conversationsnetwork.org/shows/detail4053.html"&gt;Technometria interview&lt;/a&gt; (54min) where he and Phil Windley discuss the underlying driver (basically lean product development  involving the end-user earlier) and nearby thoughts such as YAGNI in end-to-end test design, lessening the pain of load-testing in production, managing intermittent test fails, etc.</description><link>http://anthonybailey.net/tumblelog/2009/04/23/continuous-deployment-is-a-provocative-phrase</link><guid>http://anthonybailey.tumblr.com/post/99222232</guid><pubDate>Thu, 23 Apr 2009 09:45:15 +0100</pubDate></item><item><title>Is the Supremacy of OOP Over? </title><description>&lt;a href="http://blog.objectmentor.com/articles/2009/04/20/is-the-supremacy-of-object-oriented-programming-over"&gt;Is the Supremacy of OOP Over? &lt;/a&gt;: Thoughtful &lt;a href="http://blog.objectmentor.com/articles/2009/04/20/is-the-supremacy-of-object-oriented-programming-over"&gt;article advocating less ceremony and fewer objects&lt;/a&gt; over at (irony!) Object Mentor.</description><link>http://anthonybailey.net/tumblelog/2009/04/21/is-the-supremacy-of-oop-over</link><guid>http://anthonybailey.tumblr.com/post/98663110</guid><pubDate>Tue, 21 Apr 2009 23:31:34 +0100</pubDate></item><item><title>"There are no silver bulletproofs"</title><description>“There are no silver bulletproofs”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Rory McCune narrowly avoided this pun in &lt;a href="http://scotlandonrails.com/schedule/28-march/security---what-rails-will-and-wont-do-for-you/"&gt;his Scotland on Rails talk&lt;/a&gt; when explaining that a web app framework may help in avoiding security issues, but it can’t solve &lt;i&gt;every&lt;/i&gt; problem for you.&lt;/em&gt;</description><link>http://anthonybailey.net/tumblelog/2009/03/31/there-are-no-silver-bulletproofs</link><guid>http://anthonybailey.tumblr.com/post/91649402</guid><pubDate>Tue, 31 Mar 2009 21:00:13 +0100</pubDate></item><item><title>Coding, Super, Way, To, Object, Kernel</title><description>&lt;p&gt;Some of the most enjoyable parts of &lt;a href="http://scotlandonrails.com/"&gt;Scotland on Rails&lt;/a&gt; concerned the Ruby object model. Dave Thomas presented a &lt;a href="http://scotlandonrails.com/schedule/28-march/the-ruby-object-model/"&gt;keynote&lt;/a&gt; that made the basic model crystal clear. (If the videos aren’t available, I expect &lt;a href="http://www.pragprog.com/screencasts/v-dtrubyom/the-ruby-object-model-and-metaprogramming"&gt;this screencast&lt;/a&gt; covers the same content.) Earlier I’d attended the &lt;a title="Kindly given by Marcel Molina and Chad Fowler. It was excellent!" href="http://scotlandonrails.com/schedule/26-march/all-day-charity-tutorial/"&gt;charity tutorial&lt;/a&gt; which explored more of the details and consequences, with plenty of fun examples.&lt;/p&gt;
&lt;p&gt;Here’s some &lt;a href="http://pastie.org/432067"&gt;poetically obfuscated code&lt;/a&gt; I wrote this evening that plays with all of the ideas.
&lt;script src="http://pastie.org/432067.js"&gt;&lt;/script&gt;&lt;/p&gt;
&lt;p&gt;And here’s the &lt;a href="http://pastie.org/432070"&gt;output&lt;/a&gt; in Ruby 1.8.6. (Ruby 1.9 probably mentions BasicObject too.)
&lt;script src="http://pastie.org/432070.js"&gt;&lt;/script&gt;&lt;/p&gt;
&lt;p&gt;Can you figure out how it works?&lt;/p&gt;</description><link>http://anthonybailey.net/tumblelog/2009/03/31/coding-super-way-to-object-kernel</link><guid>http://anthonybailey.tumblr.com/post/91378933</guid><pubDate>Tue, 31 Mar 2009 00:38:57 +0100</pubDate></item><item><title>A happy accident - memetics and pairing</title><description>&lt;p&gt;In his &lt;a href="http://scotlandonrails.com/schedule/28-march/keynote/"&gt;Scotland on Rails 2009 keynote&lt;/a&gt;, Michael Feathers was describing how coding style can be passed down a chain of developers: “I learnt that approach from a team mate who worked with a guy who worked at MIT.” He noted that such “memes” often die in industry: “yeah, Chris over there in the corner loves that functional style - the rest of us leave her to it.” Shortly after he happened to observe how surprisingly wide the adoption of &lt;a title="Extreme Programming" href="http://www.extremeprogramming.org/"&gt;XP&lt;/a&gt; technical practices has spread.&lt;br/&gt;&lt;br/&gt;This coincidence in talking points was a happy accident for me that provoked an “aha!” moment relating &lt;b&gt;memetics and agile practices&lt;/b&gt;.&lt;br/&gt;&lt;br/&gt;The “meme” concept is &lt;a title='The meme of "meme" was a winner.'&gt;itself&lt;/a&gt; widespread, albeit quite diluted from its origins. Back in the day, I had an &lt;a title="I read this on publication in 1996, but I haven't really tracked how the field progressed." href="http://www.amazon.com/Thought-Contagion-international-engineering-computer/dp/0465084664"&gt;interest&lt;/a&gt; in the more formal notion of &lt;i&gt;memetics&lt;/i&gt;; here’s &lt;a href="http://en.wikipedia.org/wiki/Memetics"&gt;Wikipedia’s definition&lt;/a&gt;:&lt;br/&gt;&lt;br/&gt;&lt;i&gt;&lt;b&gt;Memetics&lt;/b&gt; is an approach to evolutionary models of cultural information transfer based on the concept of the meme. Starting from a metaphor used in the writings of Richard Dawkins, it has since turned into a new area of study, one that looks at the self-replicating units of culture. It has been proposed that just as memes are analogous to genes, memetics is analogous to genetics.&lt;/i&gt;&lt;br/&gt;&lt;br/&gt;Ideas spread based on how persuasive they are when you hear them, how much you want to pass them on, and how often you have the opportunity to do so. Fortunately, truly valuable ideas tend to do OK under these conditions - when ideas actually work, they do tend to prosper unless they are very hard to communicate. But also some kinds of ideas get an advantage orthogonal to whether they actually work: ideas that unduly bias the host to propogate them, and ideas that give the host more opportunity to persuade. Chain letters are a well-known example of (the &lt;a title="i.e. its physical manifestation" href="http://en.wikipedia.org/wiki/Phenotype"&gt;phenotype&lt;/a&gt; of) the first meme. A belief system (Mormonism, say) that advocates having large families is an example of the second; the more children you have, the more chance you have to pass down your faith.&lt;br/&gt;&lt;br/&gt;Now, it strikes me that pairing (and other practices advocating team communication) have a memetic advantage of the second sort. As well as being plain dumb, a “never talk to other developers” meme would clearly have had less opportunity to spread.&lt;br/&gt;&lt;br/&gt;Another concept from the field is that of the “meme complex”, analogous to a gene complex: a set of ideas that travel better together that they might independently. For example, the memetic advantage of evangelism (“tell your friends!”) can partner with the one coming from discouraging dissent (“heretic!”)&lt;br/&gt;&lt;br/&gt;Kent Beck &lt;a href="http://books.google.co.uk/books?id=G8EL4H4vf7UC&amp;pg=PA150&amp;vq=skiing"&gt;observed&lt;/a&gt; that the principles of XP are mutually reinforcing. And I believe XP forms a neat meme complex that benefits by riding on pairing’s coat-tails. &lt;a title="Test-Driven Development" href="http://en.wikipedia.org/wiki/Test-driven_development"&gt;TDD&lt;/a&gt; is a particular beneficiary: a pairing partner is so often the source of test-infection.&lt;br/&gt;&lt;br/&gt;I want to be clear that I’m a firm believer in the genuine worth of the practices in question. When I pair, I am happier and I learn much more. My considered experience is that the resulting code compares very favorably with what I produce when working alone. Similarly I’m sure that the teams I’ve worked on are significantly more than the sum of their parts. But I do want to make explicit the observation that &lt;b&gt;there may have been a happy accident: worthy XP practices have enjoyed a memetic advantage that has accelerated their adoption&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;[tag: software_development]&lt;/p&gt;</description><link>http://anthonybailey.net/tumblelog/2009/03/30/a-happy-accident-memetics-and-pairing</link><guid>http://anthonybailey.tumblr.com/post/91051806</guid><pubDate>Mon, 30 Mar 2009 00:53:00 +0100</pubDate></item><item><title>I’m enjoying the Scotland on Rails conference. But mostly...</title><description>&lt;img src="http://8.media.tumblr.com/2j3BntrL9ll2wgc6OR0wqKJxo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;I’m enjoying the &lt;a title="Locally scoped == good" href="http://scotlandonrails.com/"&gt;Scotland on Rails conference&lt;/a&gt;. But mostly this post is because I like this year’s logo - though I don’t know if those from out of town get the &lt;a href="http://en.wikipedia.org/wiki/Forth_Railway_Bridge"&gt;reference&lt;/a&gt;, or whether to expect any talks on &lt;a title="...or on decoupling an abstraction from its implementation so that the two can vary independently." href="http://en.wikipedia.org/wiki/Forth_(programming_language)"&gt;Reverse Polish Notation&lt;/a&gt;.</description><link>http://anthonybailey.net/tumblelog/2009/03/27/im-enjoying-the-scotland-on-rails-conference</link><guid>http://anthonybailey.tumblr.com/post/90498723</guid><pubDate>Fri, 27 Mar 2009 23:58:00 +0000</pubDate></item><item><title>http://academicearth.org</title><description>&lt;a href="http://academicearth.org"&gt;http://academicearth.org&lt;/a&gt;: &lt;p&gt;Over Christmas &lt;a href="http://anthonybailey.net/tumblelog/2009/01/25/nonroyal-institute-christmas-lectures"&gt;I really enjoyed watching the videos of MIT’s Structure and &lt;i&gt;Interpretation of Computer Programs &lt;/i&gt;lectures&lt;/a&gt;. So I was happy to notice an aggregator for this kind of resource: &lt;a href="http://academicearth.org"&gt;Academic Earth&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://groups.csail.mit.edu/mac/classes/6.001/abelson-sussman-lectures/"&gt;&lt;i&gt;&lt;br/&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://anthonybailey.net/tumblelog/2009/03/25/academicearth-org</link><guid>http://anthonybailey.tumblr.com/post/89849310</guid><pubDate>Wed, 25 Mar 2009 23:40:15 +0000</pubDate></item><item><title>I can see my house from here</title><description>&lt;p&gt;Fellow locals of Edinburgh, the StreetView images of our fine city are now active in Google Maps.&lt;/p&gt;
&lt;p&gt;(I like how the person icon goes all Superman if you drag it around.)&lt;/p&gt;</description><link>http://anthonybailey.net/tumblelog/2009/03/19/i-can-see-my-house-from-here</link><guid>http://anthonybailey.tumblr.com/post/87838952</guid><pubDate>Thu, 19 Mar 2009 09:17:29 +0000</pubDate></item><item><title>"About twenty years ago people noticed computers and TV were on a collision course and started to..."</title><description>“About twenty years ago people noticed computers and TV were on a collision course and started to speculate about what they’d produce when they converged. We now know the answer: computers.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Paul Graham on &lt;a title="Mostly I liked the quote, but the essay is OK too." href="http://www.paulgraham.com/convergence.html"&gt;Why TV Lost&lt;/a&gt;.&lt;/em&gt;</description><link>http://anthonybailey.net/tumblelog/2009/03/10/about-twenty-years-ago-people-noticed-computers-etc</link><guid>http://anthonybailey.tumblr.com/post/85321620</guid><pubDate>Tue, 10 Mar 2009 21:40:00 +0000</pubDate></item><item><title>Time It's Time</title><description>&lt;p&gt;Around a year ago, a hobby Rails application of mine started responding very slowly, taking about ten seconds longer than the far fewer it used to.&lt;br/&gt;&lt;br/&gt;I correctly diagnosed the primary reason: the tiny 128MB virt on which all my stuff ran was getting stressed. I had just implemented some new neat features on the now slow service, one of which introduced some fork-heavy parallelism. So when it came to memory, the virt was now chewing up alloc more than it could byte… sorry.&lt;br/&gt;&lt;br/&gt;I made changes that I thought should have helped, but performance never got back to how it had been.&lt;/p&gt;
&lt;p&gt;But this was not surprising; other conditions had changed too. I had started hosting a third service of my own on the overloaded virt. Other tenants were definitely using more of its resources. The installed MySQL version had changed, and the DB itself was slowly growing, and my mongrels were configured differently - I had maybe crossed some swapping threshold.&lt;br/&gt;&lt;br/&gt;And, I didn’t care much that this service was troubled. My main use case for it had moved into the office at work, where it was running great on rather less conservative hardware. So I let it this instance crawl and whinge and splutter and fail.&lt;br/&gt;&lt;br/&gt;Just recently, I switched my other apps to a new host. I expected the free memory to bring the slow one back to life. Nope. Perhaps I’d never really sorted the forking issues, so I simplified that away. Nope. Well, the service did proxy for others that it was supposed to cache asynchronously in the background, maybe I’d messed up and it was still calling them before returning, so let’s just reap the cache instead. Nope.&lt;br/&gt;&lt;br/&gt;After removing all the funky stuff I had assumed was broken, the truth was revealed. Simply rendering the view was taking more than ten seconds.&lt;br/&gt;&lt;br/&gt;One of the minor neat features I’d introduced way back then involved doing about a thousand simple operations on dates and times, mostly comparing and adding. ActiveSupport makes this stuff very readable. And apparently, sometimes shockingly slow! I tweaked algorithms to avoid most of the computations and I got my ten seconds back.&lt;br/&gt;&lt;br/&gt;I would never have guessed that my very simple processing was CPU bound. Live and learn.&lt;/p&gt;</description><link>http://anthonybailey.net/tumblelog/2009/03/10/time-its-time</link><guid>http://anthonybailey.tumblr.com/post/85314275</guid><pubDate>Tue, 10 Mar 2009 21:09:48 +0000</pubDate></item><item><title>Boy is my face red</title><description>It’s embarassing when having just filled a hot water bottle you manage to squirt its scalding contents up into your face. (Ow.)</description><link>http://anthonybailey.net/tumblelog/2009/03/06/boy-is-my-face-red</link><guid>http://anthonybailey.tumblr.com/post/84013265</guid><pubDate>Fri, 06 Mar 2009 07:08:50 +0000</pubDate></item><item><title>Feed Morsel: Making the Ruby library RSS parser accept the "content" tag</title><description>&lt;p&gt;(Here’s a morsel of info I encountered when recently tinkering with &lt;a title="My feed summarizing/summing service, re which I owe a proper update, but alas this attribute is too marginal to..." href="http://feedsum.com/"&gt;feedsum&lt;/a&gt;.)&lt;br/&gt;&lt;br/&gt;Ruby’s standard library includes an &lt;a href="http://en.wikipedia.org/wiki/RSS" rel="wikipedia"&gt;RSS&lt;/a&gt; parser for various flavors of feed. But it implements the &lt;a href="http://www.rssboard.org/rss-specification"&gt;RSS specs&lt;/a&gt; quite tightly, which means it won’t accept the &lt;code&gt;content&lt;/code&gt; / &lt;code&gt;content:encoded&lt;/code&gt; tags that have become de facto standards in &lt;a title="e.g. Wordpress and MoveableType"&gt;some blogging quarters&lt;/a&gt; for holding the entire body of a post. (Others put the whole post in &lt;code&gt;description&lt;/code&gt;, but I can see why a shorter summary fits more naturally there.)&lt;/p&gt;
&lt;p&gt;The parser comes with clean but poorly documented hooks for defining extensions. Distilling &lt;a href="http://blog.ardekantur.com/2008/03/extending-rubys-rss-parser/"&gt;this helpful post&lt;/a&gt;, I present the minimal code snippet to do what we need:&lt;/p&gt;
&lt;pre&gt;class RSS::Rss::Channel::Item&lt;br/&gt; install_text_element "content:encoded", "", '?', "content_encoded", :text, "content:encoded"&lt;br/&gt; install_text_element "content", "", '?', "content", :text, "content"&lt;br/&gt;end&lt;br/&gt;&lt;br/&gt;RSS::BaseListener.install_get_text_element "", "content_encoded", "content_encoded="&lt;br/&gt;RSS::BaseListener.install_get_text_element "", "content", "content="&lt;/pre&gt;
&lt;p&gt;If, like me, you’re using &lt;a href="http://feed-normalizer.rubyforge.org/"&gt;FeedNormalizer&lt;/a&gt; to wrap your parsing, you might put those lines at the top of your &lt;code&gt;parsers/rss.rb&lt;/code&gt;, and update its &lt;code&gt;item_mapping&lt;/code&gt; with &lt;code&gt;:content =&gt;[:content, :content_encoded]&lt;/code&gt;. Then you can call something like:&lt;/p&gt;
&lt;pre&gt;FeedNormalizer::FeedNormalizer.parse(open("http://example.com/rss.xml")).entries[2].content&lt;/pre&gt;
&lt;a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/0b1199ef-d934-4512-a645-4aa88db51ce9/" title="Zemified by Zemanta"&gt;&lt;img style="border: medium none; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=0b1199ef-d934-4512-a645-4aa88db51ce9" alt="Reblog this post [with Zemanta]"/&gt;&lt;/a&gt;</description><link>http://anthonybailey.net/tumblelog/2009/03/04/making-the-ruby-library-rss-parser-accept-the-etc</link><guid>http://anthonybailey.tumblr.com/post/83297139</guid><pubDate>Wed, 04 Mar 2009 00:43:57 +0000</pubDate></item><item><title>Fliggo offer video-based Ning-like social network hosting</title><description>&lt;a href="http://www.fliggo.com/"&gt;Fliggo offer video-based Ning-like social network hosting&lt;/a&gt;: &lt;p&gt;Individual machinima studios have a large number of options for hosting a video channel. But a broader machinima &lt;i&gt;community&lt;/i&gt; wanting to form a stand-alone niche social network are less well-served.&lt;/p&gt;
&lt;p&gt;You could write one from scratch, like &lt;a title="Could probably play up the social network side more than they do, actually" href="http://machiniplex.net/"&gt;Machiniplex&lt;/a&gt;. (If you wanted to do that today, you might look at using &lt;a title="RESTful video encoding and hosting that sits nicely on EC2" href="http://pandastream.com/"&gt;Panda&lt;/a&gt;.) But that involves some technical nous.&lt;/p&gt;
&lt;p&gt;There are a few platforms knocking around for more easily building niche social networks - &lt;a href="http://ning.com/"&gt;Ning&lt;/a&gt; is a well-known one. TechCrunch today &lt;a href="http://www.techcrunch.com/2009/02/25/y-combinator-startup-fliggo-lets-you-build-your-own-youtube/"&gt;featured&lt;/a&gt; such a platform that specializes in social networks based around videos: &lt;a href="http://fliggo.com/"&gt;Fliggo&lt;/a&gt;. Still in development, but out of beta. Looks worth considering if you wanted to get something up and running with minimal effort.&lt;/p&gt;
&lt;p&gt;[tag: machinima]&lt;/p&gt;</description><link>http://anthonybailey.net/tumblelog/2009/02/26/fliggo-offer-video-based-ning-like-social-network-etc</link><guid>http://anthonybailey.tumblr.com/post/81806585</guid><pubDate>Thu, 26 Feb 2009 21:46:11 +0000</pubDate></item></channel></rss>
