Begin main content

tuning in to podcasting

Something else I have just caught up with is podcasting. For those of you who haven't heard the term, imagine a blog or article that you can download to your mp3 player and listen to on the train.

I finally got around to hooking my mobile phone to my PC (for mp3 transferring)* to listen to an interview with Alistair Cockburn about agile development. The interview was recommended by Lars Pind—a friend and podcast-listener—in his blog.

Now I'm hooked. I don't actually use any special software, I just download an audio file from IT conversations.com onto my phone each morning. The amp in my LG U8120 is not really loud enough to compete with the train noise, so I sometimes go for a walk at lunch and listen.

Listening to a daily audio program is really a great way to get a richness of information in your favourite areas. It's kindof like listening to NPR's All Things Considered, but always about topics you are actually interested in ;)

The podcasting software takes it a step further, and chooses your audio files from your selected RSS streams and sticks them straight onto your iPod or other mp3 device. No rocket science here, but then bloggin software wasn't rocj]ket science and look what that did.

Of course it's hard enough getting files onto my LG phone at all (over USB via Windows XP running in an emulator on my Linux workstation) without the fancy stuff...

I hope and/or suspect to see a podcasting channel from the boys at Tram Town one day :)

08:45 AM, 26 Oct 2004 by Mark Aufflick Permalink | Comments (0)

Another Perl 5 OO Syntax [search.cpan.org]

I previously blogged about the reformed-perl OO syntax here, and here is a spiffy YAPOO (Yet Another Perl OO syntax) called Spiffy.

"Spiffy" is a framework and methodology for doing object oriented (OO) programming in Perl. Spiffy combines the best parts of Exporter.pm, base.pm, mixin.pm and SUPER.pm into one magic foundation class. It attempts to fix all the nits and warts of traditional Perl OO, in a clean, straightforward and (perhaps someday) standard way.

Spiffy borrows ideas from other OO languages like Python, Ruby, Java and Perl 6. It also adds a few tricks of its own.

I haven't played with it, but I still like the idea behind reformed-perl better. But then they don't quite aim at the same problem.

02:22 AM, 25 Oct 2004 by Mark Aufflick Permalink | Comments (0)

Social Bookmarks

A little slow onto the bandwagon you might think, but I'm not particularly partial to bandwagons.

I started to get frustrated about having no easy way to bookmark things that look usefull when surfing at home or work to look at later. I end up emailing myself links all the time.

In the process I would CC friends with that particular interest if I thought the material was interesting enough.

Well, del.icio.us social bookmarks is the answer. I was already visiting del.icio.us/tag/perl to keep on top of new 'net articles about my favourite programming language so it makes sense to contribute mine and to get a personal global bookmarking system to boot.

I post links to my own del.icio.us/aufflick area using handy shortcuts on my browsers respective toolbar. I can access them on via http://del.icio.us/aufflick or via RSS. The RSS access is super handy, since it means that my bookmarks can appear in my Firefox sidebar using the excellent RSS plugin.

As an added bonus, I have also hacked up a recent links box in the left column of this site where you can see my 5 most recent bookmarks.

Cool eh?

05:09 AM, 19 Oct 2004 by Mark Aufflick Permalink | Comments (2)

I submitted a perl monks search plugin to the email address at mycroft.mozdev.org some time ago, but nothing happened.

So if you want to try out my Perl Monks search plugin, you can install it from my business web site:

http://consulting.pumptheory.com/collaboration/misc/mozilla/

The plugin has a caveat, quoted from my original email:

The one caveat with it is that the site uses the same url (index.pl) for search results and article display, so the sidebar results list gets cleared when you click on an article. I cannot see any way in the search plugin syntax to deal with this, but I am open to suggestions! I will also suggest to the site maintainers that they change this behaviour to allow the plugin to work properly.

07:14 AM, 17 Oct 2004 by Mark Aufflick Permalink | Comments (0)

Ultimate developer workstation accessories

To go with my ultimate keyboard, I need one of these ultimate screens.

If you're thinking of buying one for me as a gift, I think the 6 x 19" is a good compromise of size tp price. The 19" display segments also seem to have the best brightness and contrast.

02:49 AM, 12 Oct 2004 by Mark Aufflick Permalink | Comments (0)

The Tokyo F1 race should have been called an F1 drive...

Although it is a cool looking circuit, there is only one real overtaking opportunity, possibly two—the two last corners leading to the straight.

That combined with the Japanese tv directors inability to find the action made for disappointing viewing. Jenson Button possibly missing out on 2nd because he let Takuma Sato through on team orders was also disappointing.

One bright spot to look forward to—I can't wait to see what Mark Webber can do in a real car next year.

08:41 AM, 10 Oct 2004 by Mark Aufflick Permalink | Comments (0)

John's come good! [vtr.aec.gov.au]

Well it looks like the Liberals are home and hosed in stronger positions in both houses compared to last election.

Far from the mandate for change that Labor/Latham were asking for, the Liberals are actually UP 1.8% on a two party preferred basis.

Pretty much no-one was forecasting this outcome. Victory to the Liberals by a slimmer margin was the accepted reality. So what happened?

Labor's Bob McMullen tells us that he is "fearful for the future" and "disappointed". Perhaps he, as Costello has been saying of the Labor Party, doesn't trust the public to make sensible decisions.

Nick Minchin said he thinks that most Australians were smart enough to know that Labor's promises were "too good to be true".

Looking at who contested what seats and the relevant seats, I have my own theory. Obviously one part is that people are pretty happy with the record of the Liberal/Howard/Costello combination, so I wasn't expecting dramatic swings. But nearly every contesting candidate has a swing towards them.

So where did all the votes come from? Mostly, it seems, have come from the implosion of the Democrats in every seat (including a number they have failed to contest). Some (but definately less) from the drop in support for One Nation (but not as across the board as the Democrats drop). To my eye there also seem to be less independants contesting than last time, but I haven't seen stats supporting that.

The Greens haven't garnered as much support as I feared, and the support for Family First is quite pleasing. Alan Cadman securing Mitchell against no less than 8 opponents yet again is no surprise. Louise Markus taking Greenway from Labour is a good win. Ross Cameron seems to have sadly met his fate in Paramatta (although the postal votes remain to be seen in this ultra-marginal seat).

All in all a far more interesting election that expected.

The senate count is less advanced, but things look good for the Liberals there as well which will hopefully leave our country less at the mercy of Greens or Democrats.

Is it time for bed yet?

11:21 AM, 09 Oct 2004 by Mark Aufflick Permalink | Comments (0)

Twice into sub-orbit in two weeks with two people.

Now that's cool.

If you want to buy a ticket, maybe you won't have to wait long...

[SpaceShipOne] has teamed up with Sir Richard Branson, an airlines-to-telecoms entrepreneur, to offer space tourism under the banner of Virgin Galactic.

You just know Branson couldn't resist branding that sucker. Sure beats a big baloon ;)

An industry thriving from putting payloads and paying passengers into space? It may sound fanciful, but thatÂ’s what they said about the first aircraft designed to ferry passengers across continents.

11:19 PM, 06 Oct 2004 by Mark Aufflick Permalink | Comments (0)

Recently presented lecture material

Thank's to Rafael Calvo (Web Engineering Group, The University of Sydney), I recently presented a series of Software Engineering lectures.

The slide sets and related research materials are now available online:

11:13 PM, 06 Oct 2004 by Mark Aufflick Permalink | Comments (0)

Introduction to Fonts [www.anaesthetist.com]

For a website about anaestetics, it has a lot of useful developer tutorials on perl and other things.

This page rates a mention since I find that so many developers have little understanding about the basics behind fonts. Developers who started with Mac's in the early 90's have more than most for obvious reasons.

Even if you don't follow the maths behind bezier curves etc., you will learn a lot of usefull terminology.

11:01 PM, 06 Oct 2004 by Mark Aufflick Permalink | Comments (0)

Fixing the window - raise issue in X11.app with sawfish

Anyone using Apple's X11.app and a custom window manager knows the frustration of X11 windows not always raising above MacOS windows when you click into them.

The problem turns out to be that Apple made the decision that just switching to X11.app wouldn't change any stacking - the wm (window manager) should raise the stacking of the window. Trouble is, most window managers won't bother to raise the window it already knows (thinks) is on top (since it doesn't manage the MacOS windows).

Under Sawfish this is easy to solve. In sawfish-ui->Bindings->Window, map Button-1 to Raise and passthrough click if focussed instead of the usual Raise and passthrough click.

Or add this to your ~/.sawfish/custom file:

(custom-set-keymap (quote window-keymap) (quote (keymap (raise-and-pass-through-click-if-focused . "Button1-Click") (move-window-interactively . "W-Button1-Move") (popup-window-menu . "W-Button2-Click") (raise-lower-window . "W-Button3-Click") (lower-window . "W-Down") (raise-window . "W-Up"))))

There are some other bits in there too.

Unfortunately this won't work with my usual sawfish config that has button-1 do NO raising, and button-3 set to raise OR passthrough click...

Update:

Having a window (say an xload) in the upper layer breaks this fix. Just kill the offendin window and all is good.

Also, Exposé so frustratingly almost works. It shows the X11 windows, and even brings one to the front when you click it, but the X11 window manager doesn't know about the stacking change, so if the previously front window overlaps your new front window, it will recieve the click (and revert to the front) when you click in that region. gah.

Update:

Also, this fix has no effect if there is only one X11 window open. You need at least two for sawfish to even bother raising anything.

06:17 AM, 06 Oct 2004 by Mark Aufflick Permalink | Comments (0)

Mildly amusing - I love that someone has implemented rot13 in postscript - that way you can make sure you don't see the answer to the joke until you print it out I guess ;)

And for people more interested in speed than security, there is a patch to use rot13 as a cipher for your ssh connections!

I notice there is no SysRPL implementation Russell...

06:44 PM, 05 Oct 2004 by Mark Aufflick Permalink | Comments (0)

What is Amazon getting at? or to?

First their own web site search engine, now they are integrating Alexa directory results into the regular Amazon site and offering their own style of cross-linking .

For instance, did you know that people who view my business site (pumptheory.com) also view massmedia.com.au? The Amazon wesite info page for pumptheory.com tells you all this and more—including that my "Average Traffic Rank" is 5,052,676! Can I exchange them for dollars?

This site (my blog) apparently only has a 4,852,959 strong Average Traffic Rank.

Even stranger, a friend's site has an Amazon ASIN product code:

http://www.amazon.com/exec/obidos/ASIN/B00009RE5T/ - thecodemill.biz

09:37 AM, 05 Oct 2004 by Mark Aufflick Permalink | Comments (0)

U2's lost "October" lyrics returned [www.theolympian.com]

Any U2 fan knows the story behind the stolen briefcase and the hastily re-written lyrics. (And the resultingly weak album that was October).

It seems that someone found them in an attic (is that like the back of a truck?) and returned them to Bono.

Maybe they know where my acoustic guitar is...

08:24 AM, 01 Oct 2004 by Mark Aufflick Permalink | Comments (0)

Getting sawfish to compile under cygwin

I won't bore you with the many hours of FAILED attempts - this entry is to document how to get the sawfish window manager up and running under modern (2004) cygwin environments.

CAVEAT: This is a hurridly written and poorly constructed document. I will try to edit it into a more useable form later. I can't tell you what underlying cygwin modules are required, except to say that I have a full developer install with importantly:

  • all the gdbm database modules installed.
  • pkgconfig
  • pango-devel
  • Current cygwin also includes a bunch of gnome libraries in the X11 section which will help you runnning gnome applications later.

    Sawfish relies on a number of other projects, which take varying efforts to install.

    1/ Imlib image library

    Imlib for cygwin is maintained by cygwin-ports.

    Download the latest Imlib bundle from http://sourceforge.net/projects/cygwin-ports/ and untar it with tar zxf (or tar jxf if it's a bzip file)

    You will end up with the original source tar file and a bunch of patch related files. Simply running ./imlib-1.9.14-1.sh all will unpack, patch, compile and install imlib for you.

    It will also delete the build directory when it's done, so if you want to go through the build process yourself it will take more steps, starting with ./imlib-1.9.14-1.sh mkdirs; ./imlib-1.9.14-1.sh prep. The rest is left to the reader ;)

    2/ librep lisp library, gnome-libs-devel, rep-gtk, rep-gtk-devel and sawfish-1.2
    Many hours have gone into trying to compile each of these from source - multiple versions, different patches. It's hard enough to compile on linux let alone cygwin...

    NOTHING I tried could make it compile.

    It turns out, you can make the gnome 1.4 binary versions work from cygnome.

    Run the cygwin installer as per normal, but set your mirror to http://cygnome.sourceforge.net - you will find a whole load of GNOME-* categories. From memory the auto dependancies don't select everything you need, but be careful not to click things you don't need as you may end up un-installing some newer versions from the current cygwin installation.

    In fact I reccomend making a backup of your entire cygwin directory - I broke mine once and was glad to have a backup.

    Now you're installed, you need to setup your PATH to include /opt/gnome/bin and your library path to include /opt/gnome/lib.

    I added these two lines to my /usr/X11R6/bin/startxwin.sh file:

    export PATH=/usr/X11R6/bin:"$PATH":/opt/gnome/bin
    export LD_LIBRARY_PATH="/usr/lib:/usr/X11/lib: :/usr/local/lib:/opt/gnome/lib"
    and put a (sawfish &) at the end.

    Note that for some reason, sawfish doesn't decorate any already running windows, so I don't start any apps from the startxwin.sh - instead I start them from my .sawfishrc file eg:

    (system "xsetroot -solid lightblue")
    (system "xterm -e bash &")
    (system "xload &")

    3/ Getting sawfish.wm.ext.pager compiled:
    Get the 0.6 source and unpack.

    The makefile won't compile pager (no surprise) - I used this commandline to produce pager.exe within the aforementioned sawfish1.2-gtk1 environment:

    gcc -DUSE_SAWFISH_LIBCLIENT -DFRAMEOVER -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include -I/usr/X11R6/include -L/opt/gnome/libexec/rep/i686-pc-cygwin/sawfish -L/opt/gnome/bin -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -lintl -lXext -lX11 pager.c /opt/gnome/libexec/rep/i686-pc-cygwin/sawfish/client.dll -o pager

    You will also need to add /opt/gnome/libexec/rep/i686-pc-cygwin/sawfish/ to your PATH so the dll loader can find it.

    do a make private-install to copy and compile the lisp files. It will fail to copy pager.exe, so just cp pager.exe ~/.sawfish yourself.

    If you have no pager, and executing ~/.sawfish/pager.exe by hand yields:

    error: can't connect to socket
    /tmp/.sawfish-MYUser/AA053174.pc.domain.com%0.0

    or similar, just delete the socket file it found and restart sawfish. Actually, you need to delete the whole /tmp/.sawfish-MYUser directory, otherwise the next time sawfish starts it won't create a socket file. And then all sorts of wierdness ensues.

    Sweet.

    Forgot: You also need to let cygwin find client.dll by adding /opt/gnome/libexec/rep/i686-pc-cygwin/sawfish/ to your PATH.

12:26 AM, 01 Oct 2004 by Mark Aufflick Permalink | Comments (0)

XML

Blog Categories

software (41)
..cocoa (23)
  ..heads up 'tunes (5)
..ruby (6)
..lisp (4)
..perl (4)
..openacs (1)
mac (21)
embedded (2)
..microprocessor (2)
  ..avr (1)
electronics (3)
design (1)
photography (26)
..black and white (6)
..A day in Sydney (18)
..The Daily Shoot (6)
food (2)
Book Review (2)

Notifications

Icon of envelope Request notifications

Syndication Feed

XML

Recent Comments

  1. Mark Aufflick: Re: the go/Inbox go/Sent buttons
  2. Unregistered Visitor: How do make a button to jump to folder
  3. Unregistered Visitor: Note I've updated the gist
  4. Unregistered Visitor: umbrello is now an available port on macPorts
  5. Unregistered Visitor: Updated version on Github
  6. Unregistered Visitor: Modification request.
  7. Unregistered Visitor: Accents and labels with spaces
  8. Unregistered Visitor: Mel Kaye - additional info
  9. Unregistered Visitor: mmh
  10. Mark Aufflick: Thank you