Archives

Archive for the ‘Software’ Category

Part 18: Deferreds En Masse This continues the introduction started here. You can find an index to the entire series here. Introduction In the last Part we learned a new way of structuring sequential asynchronous callbacks using a generator. Thus, including deferreds, we now have two techniques for chaining asynchronous operations together. Sometimes, though, we [...]

Aug 22nd, 2010 | Filed under Programming, Python, Software

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

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

Although out of date in its technical details, the later chapters contain some excellent examples of distributed software construction in Erlang.

May 9th, 2010 | Filed under Books, Erlang, Programming, Software

This is a nice complement to the Armstrong book. In particular, it has a great discussion of the Erlang tracing mechanisms.

Apr 5th, 2010 | Filed under Books, Erlang, Programming, 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