Archive for the ‘WebDevel’ Category

Knot Monkeys

Wednesday, May 6th, 2009

I designed a monkey-head logo for Caleb’s scout patrol, the “Knot Monkeys”.  The plan is to put it on an iron-on transfer to put it on the flag.  Fun stuff.

This was my first bit of ‘art’ done using Inkscape, an open-source vector-graphics editor.  Seems pretty capable, but I was only using a couple of tools (bezier curves and gradient fills).  I expect to be doing a bunch more art in the future as I work on some mobile gaming for Android.

The original svg is here if you care…  Inspiration from this great photo:

Presidential speeches tag cloud

Tuesday, January 30th, 2007

This is a very interesting use of a tag cloud to show themes of speeches made by US Presidents over time: http://chir.ag/phernalia/preztags/

Fascinating to see some of the themes that have come and gone. Even more so is the one that seemed to stay pretty much constant: war.

My 2007 goals

Thursday, January 4th, 2007

I agree with others that it is silly to create grandiose goals to start the new year — only to forget them within a week. I’m not planning to set any new goals, really, just write down some of the things I’m actively working towards, and elicit feedback and support from others to help me achieve them. So here goes…

Get under 175 and stay there – I’m generally active a reasonably healthy, but losing a couple pounds would be great. I don’t have the time and energy to commit to really shaping my body… this goal simply means that I need to be more disciplined, mainly cutting out the junk and exercising a bit more regularly. I expect to hit 175 by the end of March.

Go to bed by midnight at least 3 days a week – This is a major issue and a discipline I need to develop. Getting more sleep, and more consistently, will have many positive ripple effects in other areas.

Never use credit cards again – Mostly we keep credit cards for emergencies, and pay the balances quickly. But really it’s a crutch to keep from having to be more disciplined and plan better. I’ve been reading and listening to stuff from Dave Ramsey, and he’s helped me realize my dependence on them and that it has to stop. I strongly encourage you to follow his advice (which certainly isn’t anything new).

Establish a 6-month emergency fund – Another of Dave’s baby steps (also not unique to him). It’s tricky to balance all the competing needs for financial resources, but this is something that has to be done first. Our landscaping and other plans will just have to wait a while longer.

Earn revenue from my genealogy business – I’ve been working on some web-based genealogy service stuff with some partners for about a year now… mostly we’ve just been learning and prototyping, and not moving very fast at all. This year I plan to move that far enough along that it generates actual revenue – anything more than zero counts! I see the potential as being much greater than that (or else why would I do it?) but, realistically, everything else that takes my time and energy is not going to go away.

Get out of the house with my wife at least twice a month – Two days until our 11th anniversary, and I certainly have a lot more to learn about dating her. It doesn’t have to be anything lavish, but it does have to be just the two of us.

Ski and golf with my boys – I’m looking forward to lots of fun activities with my boys as they get older. It will be a while before we all are able to do these things together as a family, but I’ll do what I can for now. As Kim’s grandfather Brig says, “All I hope for this year is to make more money and play more golf.”

Use technology to benefit my extended family – uh, that doesn’t count as a goal, but I’ll let it slide – I’m kind of the nerd of the family, and that’s okay. I know a lot about the internet and such that can benefit my family. This past year I got my mother blogging. This year I need to finish up on the Lofgreen Newsletter project I started a couple years ago. Then there’s teaching about things like RSS, avoiding viruses, phishing and other attacks, filtering bad content, etc. There’s no way I can keep up on all of it myself, but I’m happy to consult and help any who ask.

Looks like 2007 will be as busy as ever. Hopefully writing these down and sharing them publicly will help to yield positive results. I’m looking forward to it.

slademomma.net

Monday, September 11th, 2006

Now I’ve got my mother blogging… Her site even looks better than mine!  CSS envy, no doubt.

jkslade.net site design – getting started

Tuesday, August 8th, 2006

I need to create a design for http://jkslade.net/ (including wiki, blog, gallery), as well as http://home.jkslade.net/, which will eventually provide various site services such as a slideshow.

Anyway, I wanted to jump right into the slideshow bit, but got sidetracked with basic setup issues – subversion for revision control, and freezing edge rails. Seems like a lot of my isues were related to network flakiness…

So I set up the subversion repository for managing both the site services app (done in RoR) and the stylesheet / layout stuff. I could have just use local file:// access to the repository, but decided to set up svnserve instead. This page was most helpful for that, since my system is ubuntu-based.

Next step was to get on edge rails, and set that up as a svn:externals source — this guide is pretty clear, but there are others. It seems that right in the middle of the process, rubyonrails.org stopped responding, so I couldn’t actually test it. I decided to call it a night.

The first thing I should work on is a common layout and style across all the parts of the site. But that’s not much fun. The first think I want to work on is the slideshow app to serve thumbnail images at random in a scrolling div, and have those linked to larger-sized images. The goal is to get to where it automatically serves images from my PhotoshopElements collection instead of me having to upload images to gallery all the time.

PSE3 export to gallery

Friday, April 14th, 2006

As part of my PhotoShop Elements access effort, I found an existing script that does a lot of what I’m looking for: album2gallery.pl

This will definitely be useful for the examples, saving me time to figure out all the queries I need. I started documenting the database schema, haven’t really written much of my extraction script yet.

One thing that I am struggling to figure out, and the album2gallery.pl doesn’t seem to help… I want to know which photos are part of a stack or a version set, and only extract the image that is the top of the stack or version set. If anyone figures that out, that would be excellent to know.

Photoshop Elements db access

Monday, April 10th, 2006

I want to export some of the info from my Photoshop Elements 3 (PSE3) catalog (which is just a MS Access db) via script, so I can generate web pages, etc.

Looks like the easiest way to do this is via perl, using DBI and DBD::ODBC. I am using perl under cygwin, and I easily installed DBI and DBD::ODBC using CPAN:

% perl -MCPAN -e shell
cpan> install DBI
....
cpan> install DBD::ODBC
....

With this in place, I wrote just a little test script to check that it works:

#!/usr/bin/env perl
use strict;
use DBI;

my $dbh = DBI->connect('dbi:ODBC:PSA', '', '');

printf "dbh = $dbh\n";

my $sth = $dbh->prepare("SELECT fImageId, fMediaFullPath FROM ImageTable");
$sth->execute();

my @row;
while ( @row = $sth->fetchrow_array ) {
print "@row\n";

}

PSE3 seems to set up the DSN as ‘PSA’ by default, with no username / password requirements — not good for security, but oh well. I was also surprised to find that this works with PSE3 running or not running — that’s something to look into further… what about other catalogs and such?

Anyway, that’s just a start. Need to understand the DB schema lots better. Eventually I’d like to get to something where, for example, I continually update a collection in PSE3 named ‘flickr’, and then a script that runs nightly to sync my ‘flickr’ collection (including captions, etc) to flickr.com, so I have one place where I’m managing that. Will I ever need to go back the other way (flickr.com into PSE3)? That would probably complicate things.