New volunteer job — 37-word long title

I’m thinking another fold-out business card may be required;

Volunteer
Vice Chair of Finance and Operations (of the)
Commercial and Business Users Constituency (which is part of the)
Generic Name Supporting Organization (which is in turn part of the)
Internet Corporation for Assigned Names and Numbers

Can you see why ICANN has a bafflegab problem?

I’m quite excited about this one — it’s got lots of tasty issues and it’s the ops and finance stuff that I love to do. 

I had another fold-out business card job back in the early ’90’s.  That fold-out business card read;

Temporary Interim Acting Assistant Associate
Vice President (supervising)
Administrative Information Systems
Business Operations
Quality Management
Operations Improvement (for the)
University of Minnesota

or…  Vice President of Stuff that is Busted.  This new gig is a lot less complicated than that one was.

Bafflegab, the word of the day

Ah bafflegab. A word steeped in tradition. This word was invented in the early ’50’s by a fella named Milton A. Smith — who received an award for inventing it. At the awards ceremony, he was asked to define it. here’s his response;

“Multiloquence characterized by consummate interfusion of circumlocution or periphrasis, inscrutability, and other familiar manifestations of abstruse expatiation commonly utilized for promulgations implementing Procrustean determinations by governmental bodies.”

You can read the whole article i stole this from here — http://www.worldwidewords.org/weirdwords/ww-baf1.htm

Upgrading WordPress with a really old MySQL database

I know.  I should have upgraded MySQL long ago.  But I didn’t realize how easy it was, so I put it off until… now.   The latest version of WordPress (WordPress 2.9) doesn’t work on really old versions of MySQL like my ancient 4.0.27.  Further complicating things is the need to cut blogs and sites over one at a time so’s to be a little prudent about all this.  “Big bang” upgrades seems to result in just that for me — a big bang and then lots of screaming.

I figured out a pretty tidy way to do this, with tips from Garrick VanBuren and Natn Johnston.  Rather than go into lots of detail about what didn’t work, here’s what did work.  This little recipe is mostly for me, since I’m not going to do all these at once and I’ll likely forget some critical bits if I don’t write them down.

Ingredient 1 — multiple instances on MySQL on the same box

This way, I can move the sites over one at a time rather than crashing them over all at once (and most likely breaking things)

  • Download the non-installer distribution of mySQL 5.1
  • Unzip it into a new directory
  • Set up the “my.ini” or “my.cnf” file (depending on whether you have a Windows server or a non-Windows server) to point at a new port — I used 3307,  one larger than the standard 3306 that’s the mySQL default
  • run the new instance from the command line (paying special attention to specifying the correct ini/cnf file) until things are running right.  Here’s an example for the command-line;
    • in-the-new-mysql-bin-directory> mysqld --defaults-file="c:\program files\mysql\mysql server 5.1\my.ini" --console
  • Get yer daemon running — on Windows that means setting it up as a service, again making sure to point at the port-3307 version of the ini/cnf file

Ingredient 2 — loading up the new version of the database

  • Create a new empty database (in the new instance of mySQL) with the same name as your existing blog’s database, let’s call it “YourBlogDatabase” in this writup — I did this with MySQL Control Panel but there are lots of ways to do this, including the command line
  • Create a new user (again, with the same username and password as your existing blog, eg YourSQLPassword and YourSQLUserName), also in the new instance of mySQL
  • Dump the existing database (from your old instance of mySQL) — use mysqldump from the command line of the /bin/ directory of the old instance to do this.  Here’s an example;
    • in the old-mysql/bin directory> mysqldump -uYourMySQLUserName -pYourMySQLPassword YourBlogDatabase > YourBlogDatabaseDumpFile.sql
    • Note — the username and password syntax is purposely without spaces
    • Note — pay attention to directories and paths here.  I did all this from the command line and moving between the /bin/ directory of the mySQL instances.  I didn’t set up path variables because I wanted to be very sure of which versions of programs I was using at any given time.
  • Reload the blog database (in the new instance of mySQL) — shift back to the new mySQL’s /bin/ directory so you’re sure to be using the right version of the command.  Here’s an example;
    • in the new-mysql/bin directory> mysql -uYourMySQLUserName -pYourMySQLPassword YourBlogDatabase < YourBlogDatabaseDumpFile.sql
    • Note — really use the mysql command here, not mysqldump.
    • Note — I found that sometimes I had to specify the port to get this to work right.   “–port=3307” on the end of the command did the trick
    • Note — be prepared to wait for a little while for this to complete if your database is big.  I’m in hour 5 of a big reload as I type this.
    • Note — if you’re nervous and want to monitor progress, use MySQL Control Panel to watch the tables grow by disconnecting and reconnecting to the database in the control panel and opening up the tables.  See?  They’re getting bigger.  All is well, you just have to wait.

Ingredient 3 — new WordPress Code and new wp-config.php file

After all, this is an upgrade, right?  I was extra-conservative this time through.  Normally, I just dump the new WordPress files right on top of the old ones and it all works fine.  This time, I made backup copies of the directories just in case things needed to be rolled back.  Here are the steps I went through.

  • Make a copy of the blog/Wordpress directory and files
  • Copy the new WordPress 2.9 files on top of the existing directory (not the backup)
  • Replace the old leftover wp-config.php file with a newly created one that’s got all the same info as your old one except:
    • Change the hostname to point at the port of the new mySQL server — here’s an example where I’m pointing at port 3307;
    • define('DB_HOST', 'localhost:3307');
    • Comment out the ‘DB_CHARSET’ line — that avoids the “funny characters in my blog” problem that sometimes arises during this process.  Here’s how it looks if you comment it out (alternatively, you could just delete it);
    • /* define('DB_CHARSET', 'utf8'); */

Try it out!

After all, what could go wrong??   Go to the wp-admin page of your blog.  If things are according to plan, WordPress will want to upgrade the database.  Once that’s done, things should be working normally, except you’re on the new version of WordPress.

What if it breaks?

Oh well, so who’s perfect.  Replace the new WordPress files directory with your old files (I’d rename both directories — so you’ve still got new stuff to play with, but your blog’s running again).  With your old files back in place, your old blog should reappear since it’s now using the old files and the old wp-config file is pointing at the old database.  Then, sit down and figure out what went wrong.

2009 Christmas letter and List O’Links

xmas photo 1 small

Hi all,

Here we are again on the couch. 2nd year at the condo at 1666 Coffman St. and my goodness the miles that have been traveled since the last time this picture was taken a year ago. Note the boys short-hair fashion that seems to prevail.

Robert and Richard both graduated from college this year! Into the worst job-market in living memory! What luck! Both of them spent the summer adventuring before settling in to the workaday world.

Richard (middle right) spent his summer paddling down the Mississippi to New Orleans with his buddy Phil Middleton. An amazing saga that took just over 2 months. A link to their blog is included on the List O’Links (see below). He’s studying to be an EMT in NOLA and hopes to start working at it in January.

Robert returned to India for the summer, working for the New India Express online unit based in Chennai (formerly Madras). He had a great experience and learned the definition of “hot weather” while he was there. He’s back in town, working as a reporter for KFAI radio (see List O’Links for some of his reports)

Marcie has started a web site that collects photos of insect life-cycles from citizen scientists and continues to blog about all the restoration stuff that’s going on at the farm. She’s also converting part of the grounds at our condo to prairie meadow, helped by several co-conspirators (see List O’Links for all of this).

I did a lot of volunteer policy-wonk stuff this year. The biggest piece involved the MN Ultra High Speed Broadband Task Force ““ I worked really hard and did several blogs about that stuff (yep, List O’Links). I didn’t make it to any ICANN meetings, but did lotsa working-group work over the wire.

Here’s the List O’Links if you want to learn more…

Richard

  • Paddling the Mississippi to New Orleans — Click HERE.

Robert

  • Reporting on predatory lending by bailed-out banks — Click HERE
  • Reporting on Ramsey County being sued for not treating prisoners with tuberculosis — Click HERE
  • Robert’s blog — Click HERE

Marcie

  • The new Bug Lifecycles page — Click HERE
  • The prairie-meadow project at the condo — Click HERE
  • Marcie’s blog about the farm — Click HERE

Mike

  • Blog about the high-speed broadband taskforce — Click HERE
  • Mike’s regular blog and home-page — Click HERE

And, for those of you who are still reading, here’s a copy of the photo we used on the card this year.

farm photo 3 small

Happy Holidays!

Texas Danny Hanson and the Rootin’ Tootin’ Roofin’ Gang

An aggregate picture of social media

Click HERE for a graphic developed by Brian Solis and JESS3 called “The Conversation  — the art of listening, learning and sharing.”  Sorry guys, I’m not trying to steal your Google love, it’s just that all the places I found your picture made it so small I couldn’t read it.

This is a great 2009 snapshot of a bunch of different platforms that are out there to conduct that Conversation.  It’ll be interesting to check back in a few years and see how the landscape has changed.

The boat is back, and it’s lovely

We bought Jon Seltzer’s old (early ’60’s) boat and beat the crap out of it up on the St Croix river when we had the cabin.  It wound up spending 10 years in the garage, gently guilt-tripping me and asking to be restored.  I finally realized that I a) didn’t have the time and b) didn’t have the skills to fix it up and we teamed up with Jim at Imperial Boat Repair to get the job done right.

Several things are going on here.  We married the old 40 hp Yamaha that used to push our pontoon boat with the Whaler this time around.  I decided that meant we needed a new transom, partly because I was worried that the old ’60’s transom would just fall off the boat with the bigger motor and partly because this is a long-shaft motor and the transom needed to be higher in order for things to work right.

All of the interior wood was shot, so I ran off to Teh Internets and bought new wood that Jim installed (abandoning my long-procrastinated original plan of refinishing the old wood).

Then there was the job of Getting The Goo Off The Boat.  You can see from the “before” pictures that I took a half-hearted run at washing that stuff off in a few places, but none of the stuff I used really worked worth a darn.  Jim and his gang acid-washed the boat and presto! it’s nifty.

Meanwhile the motor went off to Jim’s favorite mechanic (pictured below) and got the once-over, since it hadn’t been run in 10 years and wasn’t put away very carefully.  Then Jim and the gang rerigged all the wiring and controls, threw in a bilge pump and a depth-sounder, rewired/repaired the trailer and today Marcie and I dropped by to pick it up.  These pictures tell the story.

Pretty nifty huh??  I think we’ll wait ’til Monday to put it in the Mississippi (down by Alma, Wi) to avoid the weekend-boater crazies.  Then we’ll see how fast an old 13 foot Boston Whaler goes with a 40 on it.  I’m sure it’ll be fast enough for me.  I’ll add an update and some more pictures after the maiden voyage.

Nice river scum!

Nice river scum!

Old transom - pretty rotten, pretty nasty

Old transom - pretty rotten, pretty nasty

Mike's lame attempt at cleaning

Mike's lame attempt at cleaning

Note the out-of-whack trailer

Note the out-of-whack trailer

Detail of new transom, under construction

Detail of new transom, under construction

New transom

New transom

Rewiring the trailer

Rewiring the trailer

Jim (left) fixing the trailer

Jim (left) and Steve fixing the trailer

Cleaning carbs on the motor

Cleaning carbs on the motor

Running in the motor

Poor motor -- lotsa gunk!

Check out the new tonneau top!

Check out the new tonneau top!

Jim (right) and ??? (the guy that did most of the work)

Steve and Jim in front of the boat they repaired. Way to go!

Back home. Big difference!

Back home. Big difference!

New transom, and trailer straps

New transom, and trailer straps

New steering. Nice rigging, eh?

New console, steering, switches, depth-gauge (on top, behind steering wheel). Nice rigging, eh?

Transom's not so nasty now

Transom's not so nasty now. See that gas tank under the front seat?

New gas tank, under front seat

New gas tank, under front seat

Detail of the new bilge pump

Detail of the new bilge pump. Never had one before.

Another transom shot

Another transom shot

I love this transom

I love this transom

 

Shortening my own URLs

OK, so here’s a dead-simple idea.  Shorten your own dang URLs instead of letting the URL-shorteners steal your Google-love.

Step 1 — get yourself an abbreviated version of your domain name.

This site is my old standby blog.  A dumping ground for all the ideas that can’t find a home on one of my other sites.  It used to have the HAVEN.com domain-name but I lucked out and sold that name a few years ago so now it’s on the HAVEN2.com name.  Not bad, six letters, pretty short.  But shorter is better.  So I just ran off and got HVN2.com and loaded it on the server so it points to the same site as HAVEN2.com.

Step 2 — load up the “non-WWW” version of your new shorter domain-name

Egad!  Another 4 letters wasted if you have to put that on your URL!  Make sure that your site answers to the shorter version as well as the “www.” version of your spiffy short domain name.

Step 3 — WordPress users — use the “ugly” version of your links

Here’s a great post from SheepTech that describes how your WordPress blog is already providing you with a darn short URL.  Click HERE to read his article.  In short, your WordPress blog creates a short “ugly” URL in addition to whatever “pretty” URL you’ve specified.  So you can save a bunch of characters by using that ugly URL.  The format looks like this (using the URL for this post);

http://hvn2.com/?p=209

That’s pretty darn short!  Way shorter than the “normal” URL for this post, which is;

http://www.haven2.com/index.php/archives/shortening-my-own-urls

It’s not quite as short as the URL-shorteners, but the nice thing is that it’s MINE.  🙂

Infrastructure security – some useful ideas

I was on a panel talking to a bunch of infrastructure-security type people yesterday and came away feeling like we didn’t deliver on our promise to provide practical hands-on stuff.  So I’m tossing a couple Powerpoint slide decks up in this post by way of making amends.

This first one is the deck we used in Saint Paul to rally people around the “get ready for Y2k” initiative.  It’s an example of how to do non-scary, what’s-in-it-for-me? conversation around a pretty tough topic.  Maybe some of this kind of thinking can help the security folks when they’re pitching to their customers.  Click HERE for the file (no warrantees — scan it before you open it).

This next file is a huge deck I put together when I was first briefing the Big Kids at MnSCU about their enterprise security initiative.  This was the basis of selling senior management that this was a Good Thing and showed them how security could make them more money, make them more nimble, improve quality and oh by the way reduce costs.  This is an “everything including the kitchen sink” deck that might have a few ideas for people to steal.  Click HERE for the file (same warrantee as above).

There.  I feel like I’ve lived up to my advance-billing now.  Hopefully some security mavens will find some useful stuff in these.

Low Power FM program-distribution and station-control by Internet

I got going on an idea during coffee with Amalia Deloney yesterday.  She was saying the LPFM stations have a tough time filling the hours with programming and my thought was to replicate the old NFCB Tape Exchange using RSS feeds.  Here are some ideas to get people started.

Problem – Not enough programs to fill the day

Idea – Use podcasts (blogs with RSS feeds and audio programs) to aggregate content from a federation of LPFM stations.  Garrick Van Buren built a great gizmo to do this and you can see an example of his system at PodcastMN.  I’m sure Garrick would be happy to help with this.

Problem – Not enough volunteer hours to do the “program director” function for a single station

Idea – Share a program director between a federation of like-minded LPFM stations.  Let the person be the aggregator of multiple feeds similar to the one Garrick does, and then create a feed that drives the daily programs on multiple stations.  The stations could subscribe to this “network feed” and break away whenever they want to do local programming.

Problem – Not enough volunteer hours to operate a single LPFM station

Idea – This gets a little geeky, more for you engineer types.  What about using multiple RSS feeds as the command and control network to operation the stations?  Each station would generate an RSS feed of what it’s doing (playing a file, changing transmitter settings, losing/regaining Internet connectivity, temperature sensing, etc. etc.) and those RSS feeds are monitored by a centralized C&C system that sends station-commands down one RSS feed per station.  Monitor the RSS feeds pretty often (once a minute?) for granularity.  One could use this for both program control and technical control of the station.

Problem – The station isn’t on the Internet

Idea – Use the podcast program-distribution network anyway, but burn the programs to CD and carry them to the station.  What the heck, we used to do this with audio tapes sent through the mail.  This would still provide a really good, cheap source of programming for the federated stations even if they weren’t on the ‘net.

Problem – The station goes off the Internet (thus going out of control)

Idea – Lots of ham remote-control their transmitters (including me).  Many of us have built configurations that poll the Internet and, if the station loses Internet connectivity for some period of time, shuts itself down.  Here’s a link to my configuration, you could use this as a model.  And here’s a link to the remote-controlled power switch that actually monitors the ‘net and shuts the station down if the station goes offline.

Problem – LPFM station doesn’t have any money

Idea – The only thing in this page that costs money is that little switch.  The rest of this stuff you can do for free.

… Just a thought…

High Dynamic Range (HDR) Photography — a hoot!

img_2279and8mores

This is another one of those “document what I’m doing so I don’t forget” posts.  Thanks to Matt Walsh, I’ve joined the HDR cult.  This is some kinda fun!

First part of the project was to drop a copy of CHDK on my Canon SD 950 IS point and shoot camera.  Putting this free, open-source code on the camera is one of those projects I’ve been teetering on for a year or so.  But somehow it either felt Too Hard or Too Scary each time I approached it, so I procrastinated.  I finally did it and I wish I’d done it right off the bat.  Completely easy, completely safe, worked the first time.  So now my cheezy camera does all kinds of cool things — I can save RAW format files, I can put a histogram up on the screen, all kinds of neat stuff.

And one of the neat things I can do is have the camera “bracket” shots when it’s in continuous-shooting mode.  This is an essential part of the process of shooting these HDR photos — shooting a series of pictures that vary the exposure.

So here’s the series of pictures that went into that photo at the top of the page;

img_2275s img_2276s img_2277s img_2278s

img_2279s img_2280s img_2281s img_2282s

So there are eight photos, taken by holding the shutter button down and letting the camera just fire away.  The CHDK software takes the first photo at the best setting the camera can manage and then takes alternating lighter and darker shots until you stop holding the shutter button down.  You can tell the camera how much to increment the exposure — I have it set to 1 F-stop increments.

Click on the photo at the top of the page and you’ll see that there’s detail in the darkest spots and the lightest spots.  Pretty cool huh?  Well, I think so…

The software that does the magic is called Photomatix Pro.  You’ll see LOTS of cool photos and get lotsa info if you go to that site.  I think their stuff is way neat.  Here’s another one (I ran this one through the software before I bought it, so it’s got watermarks in it).

img_2257_56_58_55_59_54_60s

Same deal — click on the photo and you’ll get a bigger version.  Now here’s the deal — you’re supposed to take these pictures on a tripod (after all, you’re stacking 3 to 8 photos on top of each other, they better be lined up).  But the combination of the anti-shake in the camera and the image-aligning capability of the software means that I can get pretty good results from hand-held shots like these.  All of these pictures were shot without a tripod.  There’s a little trouble in there, but nothing that’ll bother me given what I do with my photos.

Here’s the sequence of shots that went into that one.

img_2254s img_2255s img_2257s

img_2258s img_2259s img_2260s

URAWAZA!

More life-hacking.  Here’s a cool concept — from Japan.  Keep track of little everyday things that make life easier.  Click HERE for an article to get you started (a link to a great book is at the bottom of the article).

This book saved my camera a couple days ago.  I dropped it in the snow, the camera was warm so the snow started melting before i could brush it off, the result was a really wet digital camera.  The Urawaza trick was to dump the camera in a bowl of uncooked rice (which acts like those little dry-out packets that are included in lots of electronics).  After a few hours in the rice, the camera emerged dry as a bone and works perfectly.