I’ve got a rake task that includes a section where I do something like this: begin # Do some things rescue => ex puts “Error: #{ex}” end </pre> I know that typically you want to be specific about the errors that you catch, but in this case I just want to move on. The things…
apachectl stopped working after Mac OSX 10.6.5
I noticed today when I tried to restart apache on my Mac that it had stopped working and gave me this error: /usr/sbin/apachectl: line 82: ulimit: open files: cannot modify limit: Invalid argument Luckily the world is a big place and someone had already fixed the problem. Just open up /usr/sbin/apachectl and change (around line…
SQL2005 or higher is required for sp_expressmaint
I don’t have to work a lot with SQL Server these days, but this evening I noticed that the maintenance tasks on one of my servers was not running. I went to the command line to run the task and got ‘SQL2005 or higher is required for sp_expressmaint’. Turns out there is a bug in…
Virtual Host Configuration for WordPress on my Mac
I mainly post this so I don’t forget, but someone else might find it useful. I always forget how to configuration the virtual host on my local Apache so that WordPress will run right. (I don’t like to use MAMP – don’t ask why). Note that ‘jbasdf’ is my username. Use your username in place…
Shoulda used RSpec
I’ve been updating the muck gems to work with Rails 3. The change is significant and painful but in a good way. For the most part the change consists of deleting all the code you used to hack into the Rails framework and adding subclass of ‘::Rails::Engine’. I’ll try to put together a detailed post…
Uploadify onComplete Wouldn’t Fire Until I Swore – A Lot
I’ve been trying to get Uploadify to work inside my <a href=”http://github.com/jbasdf/uploader”Uploadify>uploader gem</a>. Things went pretty well until I combined that with the muck-contents gem and tried to do multiple file uploads from within a plugin I’d written for the TinyMCE editor. At that point things got ugly. If you do much research on Uploadify…
Cycling is for Old Guys
I rode out to Porcupine this morning. I spent the first half the ride cussing at my Polar CS600 since it ‘couldn’t find the sensors’ and the screen kept going out. You’d think that changing a battery wouldn’t be such a dramatic experience. I went out to Porcupine dam which is a great morning ride…
Why Do We Eat This Crap?
There’s an article on the front page of KSL today that examines why we crave the stuff that’s bad for us. Most people feel that they are overweight because they eat to much and that’s true, but to much is hard to judge anymore. If you talk to most people they will tell you the…
Polar CS600 Error 169
I have a Polar CS600 that I use to monitor my rides. I love it except for when it comes time to change the battery. This seemingly simple exercise is much harder than it should be. I’ve attempted to change the battery a number of times. It’s an odd CR2354 button cell that is hard…
I Spent My Day With Hot, Young Girls
Well, at the first of the day they were cold young girls then we went to Bear Lake and it was pretty hot. My wife is girl’s camp director which means she gets to spend 6 months planning for a week long event. She is really good at what she does and it always goes…