monkinetic weblog | redmonk.net

Since 1999, IX Ed.

Archive for November, 2003

Thank You

Wednesday, November 26th, 2003

Well, I was going to write an essay on what I’m thankful for this year, but it would be way too long and I’m headed out of town tomorrow early. So here’s the short list: 1) My awesome, loving wife, Jodi. 2) God giving us the grace to survive 18 mos of unemployment to arrive here with two jobs. Thanks God.

Greetings From Re-Mac

Monday, November 24th, 2003

Hello from my new professional home. W000t! I’m not unemployed anymore!!!

Generating Python from XML Schema

Saturday, November 22nd, 2003

I’ve been toying with the idea of writing a python library for Apple’s Keynote file format, APXL.

After slogging through 4 objects and realizing that to do it right was going to be a LONG process, I started looking around for code generators that might read an XML Schema (which Apple provides for APXL - see the above link) and spit out python code.

Well, here it is: generateDS - generate data structures from XSL.

It seems fast enough, though I’ve had to hack it a good bit to work around Apple’s element names, many of which have dashes in them (ie, ‘font-styling’,'outlined-drawable-style-type’) and are not valid python identifier names. So I had to add a function to remove the dashes and camelCase them, then make sure that the code calls my function every time it uses the name. I also modifed it to not put “get” in front of get accessors, but that’s personal preference.

Still, it spits out 3500 lines of python in about .75 seconds. Once I’ve got it tweaked and played around with it some, I’ll post the code.

Sedona Day Trip

Wednesday, November 19th, 2003

I’m day-tripping up to Sedona today to do some Mac troubleshooting for a client. Gorgeous country AND Macs? How nice.

Phoenix Python Users Group?

Wednesday, November 19th, 2003

Anyone out there interested in (or know of) a python users group in the Phoenix metro area? I’d like to find like-minded individuals to hang with and learn from.

Test-fly Plone

Tuesday, November 18th, 2003

Objectis is providing free Plone sites. If you’re interested in Content Management, Python, Web Applications, or such, and have not checked out Plone, here’s your chance.

See my test site at:

http://steveivy.objectis.net

Pebble-Bed Nuclear: Safer, Cheaper Power?

Tuesday, November 18th, 2003

Wired: Uranium Pebbles May Light the Way.

Cool article about cheap, and potentially much safer nuclear power. I hope this takes off; I’m no enviro-nut, but I believe in making best use ouf our resources. Burning a gazillion tons of oil-rock a year (using only a part of the mass of the coal and dumping the rest into the breatho-sphere) strikes me as very obviously stupid.

If this new form of reactor can make nuclear power safer and cheaper, then build the dang thing and let’s get on with the jet-packs and flying cars already.