This is

as days pass by, by Stuart Langridge

. Here I write about many things. In the past I wrote about other things but the past is past. I write code for people to play with, I write about my life on Twitter, and I write here.

On I wrote Delivering talks by IRC: an xchat plugin, on the subject of Python and Sundry Hacks.

This week is Ubuntu Developer Week, and I'm giving a talk named Hooking your app into your desktop CouchDB on Wednesday at 1800UTC. Ubuntu Developer Week is sort of a conference, but it's all on IRC. I've never given a talk on IRC before. Anyway, some people just speak off the cuff. (I do this in real life a lot.) Some people have notes and speak from their notes. (I do this a lot too; with slides for talks at in-person conferences.) Since this is IRC, though, I thought I'd write my talk ahead of time. Now, you don't want to just cut-and-paste your whole talk into an IRC channel and then log off. That's not a talk, that's a blog post. The way UDW is set up is that you give a talk in #ubuntu-classroom* and people ask questions on #ubuntu-classroom-chat. So there's some interaction with the audience. So, what I wanted was a way to deliver the talk, line by line, and be able to stop when I wanted. Enter an xchat plugin: xchat-give-talk. To use: enable the XChat Python plugin (Edit > Preferences > Scripts and Plugins > Python in xchat-gnome), and then:
/py load /path/to/xchat-give-talk.py
/talkload /path/to/talk/as/a/text/file.txt
and then /talknext will send the next line of your talk to the channel. (If you lose your place, /talkinfo will tell you how far you are through the talk and what the next line will be.) /talkload loads that talk for the channel you are currently in; you can have more than one talk going at once in different channels. So, just keep doing /talknext in the channel and it'll walk through your talk, line by line.
kenvandine

Very cool... we should package that for others during UDW and UOW

Christopher Lunsford

Awesome script; great idea

Josh Holland

Ported to irssi. Available from http://media.joshh.co.uk/irssi_give_talk.pl.

David Planella

An old post, but still awesome. I came across it this week and used the plugin for my UDW talk.

On the wishlist side :)

* It would be great to have a /talkskip command to skip lines from a loaded talk

* I second Ken's comment, this needs to be packaged!

This website belongs to Stuart Langridge. Contact details are available. Don't eat yellow snow. Valid HTML5, at least in theory, except for the bits that aren't because I'm that futuristic that I'm ahead of the spec, oh yes. HTML5 help from Bruce Lawson, among others. Fonts from the superb FontSquirrel. End.