Archive for the 'Programming' Category

Gecoding REST

Sunday, October 23rd, 2005

Geocoding is installed. Now to create a REST interface I can use from XML.
My most recent survey of Perl XML land revealed XML::Dumper, which is an awful lot like Data::Dumper, but it dumps XML instead of Perl source code. Easy.
I don’t care about the semantics of the document. It doesn’t get my panties in a […]

Geocoding

Sunday, October 23rd, 2005

I didn’t take notes on installing Geo::Coder::US, but it was straightward. I fired up CPAN, and typed install Geo::Coder::US and away it went. Then when it was done I fetched the TigerLINE files for Louisiana and the FIPS 55 data, the “all” zip archive, rather than Louisiana specific. You’ll note that the TigerLINE page is […]

Groovy Pipes

Sunday, October 23rd, 2005

Here’s an example on OS X, using the build-in OS X artifical feline
intelligence simulation program, otherwise known as “cat”.
def cat = ‘cat’.execute()

Thread.start { System.out << cat.in }
Thread.start { System.err << cat.err }

cat << “Meow, World!n”

cat.out.close()
cat.waitForOrKill(0)
That is rougly translated to…
// Execute cat.
def cat = ‘cat’.execute()

// Direct the output, which is an (in)put buffer, to stdout.
Thread.start { […]

A Day Off

Thursday, October 20th, 2005

That’s what this (yesterday, save draft) became, kinda, since there wasn’t much to do without a web server running. My Subversion respository is had through HTTPS, so I did feel comfortable working on code.
Watched a very silly movie with Veronica Lake on the TV.
Went into town. To the wrong Sweetwater’s Cafe to meet an Ed […]

Modern C++ Design

Wednesday, October 19th, 2005

Getting started on what will be a long project, by reading a book I’ve been meaning to read for a long time. Modern C++ Design, by Andrei Alexandrescu. I’ll be keeping notes on the matter in my Wiki, if it helps me to remember, and reading through Boost::Langbinding, Boost::Python, Luabind, and a few more, to […]

Open Relay

Wednesday, October 19th, 2005

Think New Orleans is down for the next few hours. My mod_proxy configuration for Think New Orleans included the directive that turned the server into an open proxy. It was discovered two days ago, and my server has been a conduit for 70 GB of trash since then.
The proxy is closed, but I don’t want […]

Back from Ant

Wednesday, October 12th, 2005

I’ve not posted in a couple days. I’ve been working with Ant scripts. I don’t like to do this, nor do I think that it needs to be done. It feels like a perpetual motion machine project, some sorry nut trying to create a working Ant build, believing it is possible when it is not.
My […]

Building C++

Tuesday, October 4th, 2005

Getting started with C++ always stopped at the build environment. I couldn’t get past it. I spend my days at a Powerbook. I like OS X, but I like open source more. I don’t want to wed a project to XCode. Getting started with C++ means casting about for a build tool.
I use Ant, and […]

Safari, Gecko, IE / A Tab Order Shootout

Monday, October 3rd, 2005

Hmm… I’m creating my Ajax interface to Think New Orleans 2.0 and finding I can’t user the TAB key to move from link to link in either Firefox or Safari. Some quick research shows that Safari doesn’t allow full keyboard access to form controls either. Can’t seem to find that ability in Gecko. Oops. Here […]

October Software Directions

Sunday, October 2nd, 2005

I’m going to start working with Groovy. It is going to be while to get a build environment setup, but that’s the plan, Groovy in Eclipse. I plan on turning Eclispe into my day to day environment and scirpting it with Groovy.
I’ve started a new project Refresh. It starts with creating Ruby to modern C++ […]