Snow Leopard Chaos Subsides

September 8th, 2009

Like a damn fool true fanboy I installed Apple’s Snow Leopard the day it came out. Sure, it was faster, and I liked the polishes they made to the user experience. But it broke a lot of things that made it possible for me to develop web sites on my laptop: MySQL, all my Perl modules, and the Ruby apps I use to track my To Do list (Tracks), and my projects (Redmine). I also lost the ability to print to my Canon laser printer, which I like cuz it does 2-sided printing. Also broken: Saft, iStatMenus, and Parallels, but I could get by without them (but did miss them).

Usually Google is my friend, but since it takes a few days for Google to catch up with people’s blog updates this time I turned to Twitter, and got up-to-the-second reports on people’s reactions to and fixes for Snow Leopard. MySQL turned out to be a quick fix, since it was just a broken symlink. After that my PHP scripts could once again connect to their databases, as could the Navicat app. But for the life of me I couldn’t get Perl’s DBI and DBD::mysql modules to work right, which meant a bunch of my older scripts weren’t working, and it made working on some of my older sites challenging in that I couldn’t test changes locally, I had to make them to the (gulp!) live site, which is hardly ever a good idea.

Every few days I’d search Twitter and Google for advice, and would try different things, but nothing would get Perl talking to the database :(

In the meantime I upgraded to Parallels 4.0 ($), which let me view my sites again under Internet Explorer. Since WinXP could still talk to the Canon printer I could print now if I saved to a PDF file, moved it over to Parallels and printed it there (ya, tedious, but at least it was possible). And new versions of iStatMenus (free!) and Saft ($) came out, so things were slowly returning to what we laughingly call normal here.

Labor Day (yesterday) was a down day that I used to finish digging the hole for the cob oven project (another post for another day), and I returned once again to my Perl/mySQL problem. Not a lot of people are using Perl anymore, or at least they’re not posting about their fixes for Snow Leopard, but all those hotshot Ruby kids kept saying they had to recompile the 64bit version of MySQL. Not wanting to break what was already working, I decided to try doing that on the family iMac and see if I could get Perl and MySQL working on it. Stock 64bit MySQL installed just fine, and I could talk to it over the command line. Good so far. I then installed the latest DBI and DBD::mysql modules using CPAN, which took a while but both installed with no problems (woohoo!). I created a small test table on the command line, then wrote a small Perl script to display all the records in it… and it worked!

Emboldened and embiggened, I then went over to the laptop, backed up all the mySQL databases, and removed all traces of mySQL from the computer. I then went thru the same steps as on the iMac; mySQL installed just fine, as did the DBI module, but DBD::mysql still refused to install. Desperate, I decided to copy the installed DBI and DBD::mysql modules from the iMac to the laptop, and after restarting Apache my perl scripts connected to mySQL just fine! Yes, it was a good day.

This morning for the heck of it I uninstalled all my Ruby Gems and reinstalled their 64bit versions, along with an updated passenger. After restarting Apache, Redmine once again started working! This is a very good thing, since I use it primarily as a GUI to the various Mercurial repositories I have for each of my web sites.

And a Google search for printer driver updates turned up a new driver which got my printer working again!

Jeezum, it’s like the morning of Aug 28, before I installed Snow Leopard! ;)

Robin’s Hoop House

November 7th, 2008

  • hoop house
  • hoop house
  • hoop house
  • hoop house
  • hoop house

Sailing on Schooner J&E Riggin

October 6th, 2008

The last week of September 22 was a great time to sail on the historic schooner J&E Riggin out of Rockland, Maine. Captains John and Annie and their wonderful crew made sure we were safe, well-fed, and entertained.

This was the first time I’d gone sailing where Julie was on the crew, and it was a pleasure seeing her in her element, crawling along bow sprits, raising sails and hauling anchor with crewmates Moxie and Erica.

The crew encouraged us to help out if we wanted to, and patiently answered our questions. This trip I got to help raise the various sails, and to bring in the jib and staysail a couple times when we tacked. Lots of great fun.

Meals on the Riggin were hearty and delicious, cooked by Erica and Annie on the wood stove in the galley. Everything was homemade and “from scratch”, from the breads and soups and even the incredible chicken pot pies we had for one of the lunches! On Thursday we dropped anchor at the Eggemoggin Reach and had a lobster bake right on the beach. Amazingly enough with all that great food I only gained 3 pounds on the six-day sail.

This was my third sail on a schooner, and I’m already looking forward to the next time. If you’re considering a sail, I would highly recommend it!

  • tortilla press
  • tortilla press
  • tortilla press
  • tortilla press
  • tortilla press
  • tortilla press
  • tortilla press
  • tortilla press
  • tortilla press
  • tortilla press

Echochrome Arrives Today

May 1st, 2008

It’s not often that a totally different new game appears that just knocks my socks off. Back in the late 80s it was Tetris, a game that totally justified buying a GameBoy. A decade later it was Space Channel Five on the DreamCast. And a couple years ago it was Lumines on the PSP. And today a strange and wonderful little game called Echochrome will be released for the PSP.

Echochrome is a 3D game in a world with rules designed by M.C. Escher, where the laws of physics and perspective twist your brain in different directions, and perception is reality. In this world, if there’s a point of view where two unconnected things look like they line up, then they really do line up. For example, in the drawing below the stairs lead up to a beam that extends to the left, the end of which is obviously not connected to the L-shaped beam at the bottom of the stairs:

BUT! If you shifted your point of view up and to the right a bit, you could look down on the model, where the top and bottom beams look like they’re closer together:

Move just a wee bit more and you can get the two ends to line up exactly, and at that point magic happens in the game: they actually do connect, and one could easily walk from one beam to the other. From that point of view the model would be a continuous loop, where you could climb the stairs and walk back around to the stairs and climb them again, forever and ever.

These games of perspective and point of view are at the heart of may of Escher’s drawings and woodcuts, but to turn them into a playable game is shear genius. The game involves changing your point of view so that beams line up, gaps in beams are hidden behind other beams (if you can’t see a gap it doesn’t exist, and the little guy can walk right over it), and a guy falling thru a hole in a beam lands safely on a beam below it. The levels get complicated as you learn the rules of this world, pretty soon the levels start looking like this:

A demo of the game has been out for a while now, but it only offers a half dozen levels, but rumor has it the released game will have 56 levels. The game isn’t available yet, but then it’s not even 9am yet. Must… be… patient…

Watch the Echochrome trailer

It’s Friday

April 25th, 2008

And spring must finally be here since the daffodils are out and the grass is starting to look more green than yellow.