Contour Line

October 13, 2009

Using psql copy from DBIx::Class

Filed under: code — jmarca @ 4:04 pm

I am loading up lots and lots of data, and need to track what is going on, but I really don’t need all of the stuff that DBIx::Class brings with it.  So I got a clue today and decided I was just going to use copy directly, picking off the file, gunzip-ping it, and using system to execute a psql copy call.

But, when I went to edit my code, I realized that I forgot about stuff like passwords and ports and hosts and all that junk that is nice to have in a portable perl script.

CPAN docs to the rescue!  (more…)

December 10, 2008

Washed out gray is the new black

Filed under: code, couchdb, transportation — jmarca @ 1:33 pm

I was working on Sakai help yesterday and decided that using CouchDB might be the way to go if I ever got some time to try to replace Sakai’s default help system.  (more…)

November 19, 2008

slow progress on the couchdb front

Filed under: code, couchdb — jmarca @ 5:44 pm

Some small, slow progress today, in and amongst other things.  (more…)

November 18, 2008

couchdb

Filed under: code, transportation — jmarca @ 5:50 pm

Stumbled across couchdb thanks to the Sakai devel mailing list.  Looks cool, but I need to use it before I can get my head around what it might be able to do.  I think a good toy application that will also be useful is to code up Mike’s glossary using it.  That would be good because the limitation of a wiki is that when you want to add links to existing pages, you have to guess or whatnot, and anyway a wiki is not a glossary.  I just want a dynamic, editable, cross-linked glossary.  That isn’t hand-generated!

October 28, 2008

javascript thing

Filed under: code — jmarca @ 9:27 pm

I can’t find the bookmark to the original source for this on my home computer, and anyway the bookmark that I thought worked on my work computer seems to be out of date.  So, here is the shell of how I start javascript programs.  Your mileage may vary.

 (more...)

October 9, 2008

Salasaga frustration

Filed under: code — jmarca @ 4:17 pm

Super frustrating day trying to build Salasaga, with the kicker coming at about 3:30 when ./configure finally complained that it needs libgnome.  I don’t run gnome.  Most of the time that isn’t a problem.  How annoying that they don’t list Gnome as one of their project prerequisites.  I guess that is one of the evils of having Ubuntu become so popular—perhaps developers don’t even realize that running Linux on a desktop doesn’t “require” a gnome environment.

I think I’ll wait for the ebuild to come out.

October 7, 2008

concrete 5 looks like a winner

Filed under: code — jmarca @ 2:59 pm

I’ve been looking for something for Brooke to use for a while now to bang out websites. I tried rolling my own, tried a wiki, tried setting up a blog (not in that order) but nothing worked. Concrete5 looks like “the bomb” as my old friend Bob used to say.  I used their demo (until it reset) and it looked like it could do what I think Brooke wants to do with a site (format, arrange, write content, get automatic listings/directories, etc).  The FAQ says it has community tools too.  Finally, I did a control-u and saw jquery, etc etc, so I’m downloading it and going to fire it up.  I just emerged drupal yesterday, but I got all bogged down in plugins and add ons and so on. If I can’t set it up fast, it isn’t going to get done.

We’ll see how C5 works out.

(more…)

Blog at WordPress.com.