Archives

Archive for the ‘Blather’ Category

Part 17: Just Another Way to Spell “Callback” This continues the introduction started here. You can find an index to the entire series here. Introduction In this Part we’re going to return to the subject of callbacks. We’ll introduce another technique for writing callbacks in Twisted that uses generators. We’ll show how the technique works [...]

Aug 15th, 2010 | Filed under Blather, Programming, Python, Software

Today I made my blog my main website, since the old one was getting kind of crufty. I moved the stuff I wanted to keep into WordPress, including my collection of links to programmer’s editors. The old /blog URLs will continue to work.

Aug 8th, 2010 | Filed under Blather

I watched a 1-D film yesterday. Good acting, but I thought the plot was too linear.

Jul 25th, 2010 | Filed under Blather

Part 16: Twisted Daemonologie This continues the introduction started here. You can find an index to the entire series here. Introduction The servers we have written so far have just run in a terminal window, with output going to the screen via print statements. This works alright for development, but it’s hardly a way to [...]

Jul 10th, 2010 | Filed under Blather, Programming, Python, Software

Part 15: Tested Poetry This continues the introduction started here. You can find an index to the entire series here. Introduction We’ve written a lot of code in our exploration of Twisted, but so far we’ve neglected to write something important — tests. And you may be wondering how you can test asynchronous code using [...]

May 23rd, 2010 | Filed under Blather, Programming, Python, Software

Part 14: When a Deferred Isn’t This continues the introduction started here. You can find an index to the entire series here. Introduction In this part we’re going to learn another aspect of the Deferred class. To motivate the discussion, we’ll add one more server to our stable of poetry-related services. Suppose we have a [...]

Apr 1st, 2010 | Filed under Blather, Programming, Python, Software

Part 13: Deferred All The Way Down This continues the introduction started here. You can find an index to the entire series here. Introduction Recall poetry client 5.1 from Part 10.The client used a Deferred to manage a callback chain that included a call to a poetry transformation engine. In client 5.1, the engine was [...]

Mar 11th, 2010 | Filed under Blather, Programming, Python, Software

Part 12: A Poetry Transformation Server This continues the introduction started here. You can find an index to the entire series here. One More Server Alright, we’ve written one Twisted server so let’s write another, and then we’ll get back to learning some more about Deferreds. In Parts 9 and 10 we introduced the idea [...]

Feb 7th, 2010 | Filed under Blather, Programming, Python, Software

Part 11: Your Poetry is Served This continues the introduction started here. You can find an index to the entire series here. A Twisted Poetry Server Now that we’ve learned so much about writing clients with Twisted, let’s turn around and re-implement our poetry server with Twisted too. And thanks to the generality of Twisted’s [...]

Jan 17th, 2010 | Filed under Blather, Programming, Python, Software

Part 10: Poetry Transformed This continues the introduction started here. You can find an index to the entire series here. Client 5.0 Now we’re going to add some transformation logic to our poetry client, along the lines suggested in Part 9. But first, I have a shameful and humbling confession to make: I don’t know [...]

Dec 11th, 2009 | Filed under Blather, Programming, Python, Software