"Murphy was an optimist!"
From the mouths of babes March 31, 2009 4:32 pmPosted by Doug McCaughan in : Daily Life, Evan, From the mouths of babes
Evan, 3.5 years old, comes down stairs with his picture in one hand and a Rockband drumstick in the other. He points to the picture with the drumstick and says: "We go here now."
He was pointing to the picture of the Midway Drive-in. I’d say we’ll be there for opening night as soon as drive-in season starts.
Of Grasshoppers March 31, 2009 3:17 pmPosted by Doug McCaughan in : Daily Life, Family, Of Being Dad, Of Grasshoppers, Philosophy
Student: I intervened.
Master: Did you help?
Of Grasshoppers March 30, 2009 9:26 pmPosted by Doug McCaughan in : Of Grasshoppers, Philosophy
Student: Would you judge me?
Master: But you already know the score.
Today March 30, 2009 10:34 amPosted by Doug McCaughan in : Daily Life
I have so many deliverables due today that I feel like the pregnancy ward on a full moon.
Btw, if you unplug your harddrive to be able to replace a stick of memory, your AMD-K6 2/400 will report "Primary Hard Disk Fail" upon trying to boot and give you a mild heart attack.add a comment
I’m working on a project that has compatibility with Internet Explorer 6 as a major requirement. This means all appearances, all Ajaxy functionality, every aspect of the web application should look and perform in IE6 just as it would in Firefox, Chrome, IE7, IE8, and Safari. One of my favorite pieces of code is "document.getElementById()" but special cases have to be considered for IE 6. As an example, you can use getElementById to change the value of a hidden form element:
<input type="hidden" id="foo" name="foo" value="default value">
<input type="submit" id="goBtn" name="goBtn" value="Process..." onclick="document.getElementById('foo')
That code will not always work. jQuery comes to the rescue! Rather than write lines and lines of additional code for browser testing and coding for a special case, we can simply replace "document.getElementById(‘foo’).value=’anothervalue’;" with "$(‘#foo’).val(‘anothervalue’);" and the code will work.
<input type="hidden" id="foo" name="foo" value="default value">
<input type="submit" id="goBtn" name="goBtn" value="Process..." onclick="$('#foo').val('anothervalue');">
I cannot sing jQuery’s praises enough!3comments
Things to add to bids March 29, 2009 11:46 amPosted by Doug McCaughan in : Daily Life
In today’s economic times, people love to talk about pork in budgets, ridiculous bonus programs, or over the top salaries. Some items are just plain necessary! I think from now on, all my quotes for projects will include a line item for coffee, a line item incense, and a line item for iTunes. That may sound frivolous but if you want me at maximum productivity, I’ve got a keyboard in one hand, a cup o’ Joe in the other, headphones emanating tunage into my ears, and lovely scents wafting all about. That said, I’m burning my last stick of incense right now. I may have to make a foray to World Market, Green Earth Emporium, or Earth to Old City today (well..tomorrow).add a comment
Hardware/Software Support March 28, 2009 10:28 amPosted by Doug McCaughan in : Daily Life, Hardware, Software, Technology
A service I provide to friends and family is cleaning up their computers when they start reporting, "it’s moving so slow!" or "I keep getting these popups." or error messages or whatever. Usually they are having a virus, spyware or malware issue. I’ve published my trade secret on how to fix this yourself. It takes me roughly 5 hours to clean a machine thoroughly. Granted, I usually do it overnight by sitting the computer beside me and taking breaks between programming tasks to evaluate the problems. You take smoke breaks; I take computer repair or social media breaks. For the service of cleaning a machine, assuring it has adequate virus protections, and making sure all the latest security patches are in place, I charge $135. In addition to software/hardware upgrades, I have replaced keyboards on laptops and even re-soldered a power connector on a laptop to its circuit board.
Yesterday a friend brought her computer and speakers by the house so I’ve added a service…speaker repair (I’d recommend just buying new ones).add a comment
Wifely Secrets March 28, 2009 10:15 amPosted by utterz in : Daily Life, Podcasting
And then his brain melted… March 27, 2009 8:47 pmPosted by Doug McCaughan in : Daily Life
This week was ridiculously hard. No. "Ridiculously" is wrong. This week was f*#%ing hard. This week was not hard in the sense that I lost time to scheduling debacles or being constantly sidetracked. No, I worked my tail off! I’m exhausted but want to keep going.add a comment
Justine Lai Does The Presidents March 27, 2009 8:02 amPosted by Doug McCaughan in : Of Interest, Sex, Touchy Subjects
I clicked a link in one of my news readers today and was presented with a gallery where San Francisco artist Justine Lai has painted herself having sex with several presidents (NSFW). She’s a good oil painter. A bit of an odd subject. Definitely not safe for work. And I think Ol’ Abe is going to shoot her in the head.add a comment
From the mouths of babes March 26, 2009 6:39 pmPosted by Doug McCaughan in : Daily Life, Evan, Family, From the mouths of babes, Of Being Dad
Evan, 3.5 years old: "Zoooombie! Zooombie!" *bump* "Ow!" *thud* *knock* *thunk* "Oh ow!" *bump* *klop* "Ow!" bump! bump! bump! "oh. I oookAY!"
Evan: "I come down stairs to scare you!"
Dad: "Well you sure did that!"
That’d be Evan wrapped in toilet paper like a mummy accidentally rolling down the wooden staircase steamroller style. It was almost in slow motion. It was one of those parent moments where you are hoping the child is fine because you really want to bust out laughing.1 comment so far
Of Grasshoppers March 26, 2009 1:10 pmPosted by Doug McCaughan in : Of Grasshoppers, Philosophy
Student: I am anything but calm.
Master: A pacing cat catches no mice.
Need a Likaholix Invite? March 26, 2009 7:54 amPosted by Doug McCaughan in : Communications, Technology
I have a couple of invites to Likaholix for those who want to test it out. Likaholix is a new bookmarking service similar to Delicious but you enter why you liked the bookmark(url) and can add supporting images and videos to it. Basically, when searching for information, this lets you read other people’s positive reviews of a site before clicking through to the site. In theory, you can pick the ideal source of your needed information. Likaholix has a stronger social element than Delicious. I like Likaholix and although I do not foresee it replacing Delicious for me, it will certainly enhance my bookmarking.add a comment
From the mouths of babes March 26, 2009 6:04 amPosted by Doug McCaughan in : Amy, Daily Life, Family, From the mouths of babes, Of Being Dad
Every morning I do 3 sets of 25 push ups and 3 sets of 25 sit ups. I rotate so I’ll do 25 push ups, turn over, do 25 sit ups, turn over, do 25 push ups, turn over, and so forth.
Amy: "Daddy. Every time you turn over I heard this noise like a wooden spoon hitting the floor." (that would be my back popping)add a comment
On the Internet Nobody Knows I’m a Dog March 25, 2009 3:03 pmPosted by Doug McCaughan in : Communications, Daily Life, Technology
I regularly talk to someone on Skype. He almost passes the Turing test. That second sentence should bother me.add a comment