jump to navigation

NOTE: The spam filter is being unusually aggressive. If you comment does not immediately appear, it has simply been placed in moderation and I will approve it as quickly as possible. Thank you for your patience.

"Murphy was an optimist!"

From the mouths of babes January 23, 2012 11:13 am

Posted by Doug McCaughan in : Daily Life, Evan, From the mouths of babes
, add a comment

Me: "It’s time to wake up."
Evan, 6 years old, stumbles from bed, stomps down the hall: "Argh. Why does this happen every night‽"

add a comment

Memory flush January 17, 2012 11:07 pm

Posted by Doug McCaughan in : Daily Life, Family, Of Being Dad
, add a comment

It’s never a good time to suddenly remember that you need to buy a new plunger.

add a comment

Mental Me January 12, 2012 2:12 pm

Posted by Doug McCaughan in : Daily Life, Health, Mental
, add a comment

The stress is far too great today.

add a comment

Cross-domain communication January 11, 2012 9:16 pm

Posted by Doug McCaughan in : HTML, Programming, Technology
, add a comment

If I have an aspx site on one server, let’s call it foo.com and I have a php site on another server, let’s call it bar.com, and I want to use an iframe to include data from foo.com within the bar.com site, security for iframes prevents this correct?

So, if I instead create a subdomain of foo.com, let’s call it bar.foo.com and use bar.foo.com for the aspx site, does that overcome the cross-domain security issue since both sites are now part of the foo.com domain or does the nature of bar.foo.com being a tertiary domain still create the security issue since bar.foo.com is technically different than foo.com?

add a comment

Something has changed January 11, 2012 9:00 am

Posted by Doug McCaughan in : Daily Life, House
, add a comment

Why yes! There’s some before and after and more before and after.

add a comment

How tired? January 10, 2012 2:45 pm

Posted by Doug McCaughan in : Daily Life
, add a comment

So tire, I cannot even type a post…

add a comment

To Live, To Love, To Learn, To Leave a Legacy January 6, 2012 4:14 pm

Posted by Doug McCaughan in : Daily Life, Deep Thoughts, Evan, Family, Of Being Dad, Philosophy
, add a comment

I slowly explained, with long sentences and great clarity, "To Live, To Love, To Learn, To Leave a Legacy" to the six year old. He listened intently. Repeated my words. And questioned. But there was a definitive moment when his fuse clearly popped.

add a comment

Repeat after me January 5, 2012 2:25 pm

Posted by Doug McCaughan in : Technology
, add a comment

I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.
I will not upgrade my client’s dedicated server in the middle of the night during the middle of the week.

add a comment

3PO! 3PO! Shut down the… January 5, 2012 9:49 am

Posted by Doug McCaughan in : Daily Life
, add a comment

You know the garbage compactor scene in Star Wars? Yeah, today is like that.

add a comment

The IT World is a Religious Place January 5, 2012 1:19 am

Posted by Doug McCaughan in : Technology
, add a comment

Information Technology work is religious. The work I do frequently requires faith and prayer and when things go wrong I end up in Hell.

add a comment

WordPress Hooks, Actions and Filters – Modifying the Publish function January 4, 2012 10:38 am

Posted by Doug McCaughan in : Blog, Communications, PHP, Programming, Publishing, Software, Technology, WordPress
, add a comment

I’m writing a child theme to twentyeleven and want to modify the administrative post "Publish" function to do some additional processing during the saving of a new post. Does anyone know if there is a hook, action or filter that will allow me to extend the Publish function?

add a comment