"Murphy was an optimist!"
The Joy of Software October 28, 2008 10:30 pm
Posted by Doug McCaughan in : Programming, Quality Assurance, TechnologyI’ve written this PHP application. I work on a development server. Then I move code to a staging server for preliminary testing and client approvals. When the code is ready, it gets moved to a production server. In an ideal world, dev, staging, and production would all be configured identically. In the real world, you get different operating systems, different versions of the middleware application software (PHP, ColdFusion, .NET, etc.), different version of the databases, drivers don’t match, security patches are applied on one server but not another, and so forth.
So, this PHP application has a calendar piece for associating a date with a form collecting data. When adding a new thing, the form should have certain default values and the date should automagically show today’s date at 00:00 hours for the starting date and today’s date at 00:14 hours for the ending date. This works great on the development server. This works great on the staging server. But on staging, the date defaults to December 31, 2008 at 19:00 hours for the first date (the beginning date) and December 31, 2008 at 00:14 hours for the second date (the ending date).
It’s the little that make life so interesting and keep the padded rooms booked up.
add a comment
On Failed Communications October 28, 2008 4:35 pm
Posted by Doug McCaughan in : Communications, TechnologyI just realized I have spent the entire day with my phone on silent. Wow! And what productive day it has been! But I’ve missed calls and text messages. For that, I apologize.
Also, yesterday I became away that I forgot to renew my CFNinja.com domain name last week. Fortunately there is a grace period for renewals but any mail sent to my cfninja.com email address on Friday, Saturday, Sunday or Monday bounced. Several people let me know this last night. Again, my apologies and if you sent me an email over the past 4 days, please resend it. Thanks!
add a comment
The Dark Side of Working from Home October 28, 2008 4:06 pm
Posted by Doug McCaughan in : Daily Life, Evan, Family, Of Being DadI’m under a lot of pressure right now. I’m trying hard to close out a project. The end of projects are always the most difficult because time and budget is usually running out. Often the client realizes they want features that either were never requested or not implemented for whatever reason. In using the product during testing, user interface issues arise or the enduser finds it would be easier with just this "one simple change". Those are generalizations to "many projects" and not necessarily talking about the one I am on. But today I have been really trying hard to reach a couple of very specific goals and it hasn’t gone as fast or as smoothly as planned.
Enter the children. Since its nearing 4pm, Sarah has to be picked up from the high school, which is right across the street from Party City aka Halloween Depot. So Amy and Cathy are off to get Sarah, costumes, and accessories leaving me with my computer and Evan until Noah gets home to babysit. Of course, Evan just wants to play with Dad so he comes down to my desk and starts moving things around. In his cuteness, he wants to help so while I type on one computer, he starts typing on the other and unknowingly messing up my test bed. I lose it. No tv Dad for me today. I’ll reserve 50 lashings for myself later when in great self-flagellation when I punish myself for my loss of temper. Of course, that won’t change the fact that I sent a crying 3 year old packing to an empty upstairs. I feel like crud. I should work at night while they sleep. I just cannot figure out when I’d sleep. Time to go make amends and give some hugs.
1 comment so far
jQuery’s datepicker driving me nuts October 28, 2008 10:01 am
Posted by Doug McCaughan in : JavaScript, jQuery, TechnologyI love jQuery! And its UI library. But I’m having difficult implementing a simple date picker. The datepicker method is throwing an error for me: "inst is undefined datepicker" The solution of adding "{onSelect: function() {}}" did not work. I’m at the point of no return. Choosing a different calendar application.
Update: Solved! I had an artifact left over from trying to implement the Yahoo! User Interface (YUI) Library‘s calendar. jQuery’s UI datepicker conflict’s with YUI’s datepicker.
add a comment
