Last weekend I had to up my training as a foster parent. This means I have to renew CPR, meds training (so we know what the various nasty meds the state requires some kids to be one do...), behavior intervention, etc. These sessions also double as a support group of types, where a handful of foster parents get in the same room and exchange stories.
Sometimes we go off-topic and last Saturday the lady doing meds training said she sees a lot of "medical resumes" and this was seconded by some of the older foster parents.
→ → → more ...
March 21st, 2011
Recently at work I added a fairly detailed custom-post field system to our wordpress install, for a dual custom content type. It worked great in development and staging but after we went live, we started getting blank custom fields.
After a little digging, it turns out I'd missed an important part of the custom-field development: DOING_AUTOSAVE.
WordPress core apparently sets this constant when it an post autosave is triggered. In my case, I didn't want the autosave to save the custom post fields because it was overwriting legit post fields with blank ones. To prevent it from saving, just do this:
if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE )
{
return;
}
→ → → more ...
March 18th, 2011
I've added a little more URL shortener ahso.me-ness to my stock URL shortener. I posted about this awhile back and this is an update to that code.
If you have questions about URL shorteners, see that post. They are easy to create. Really, really easy. That URL shortener is the easiest functional program I've ever developed.
My work is using a copy of that code to serve two company short URL domains because we didn't want to run the risk of a tr.im style shutdown. My "play" copy of the shortener is at wjmp.net -- a domain I registered back when ABC and T9 were the main ways people typed on phones (before the iPhone, etc). w,j,m,p are all the first letters in their respective numbers. You wouldn't have to keep punching the numbers to get to it, see?
So the shortener works like all the other ones, but I added a small feature.
→ → → more ...
March 12th, 2011
My family has an up-and-down relationship with bikes. I learned to ride a bike at six, my oldest daughter has never ridden one, my oldest son started at six but moved to skateboards by 12, my now-12 year old son learned to ride about a week before his 10th birthday, my 7 year old learned to ride when he was 6 and his younger brother (my youngest boy) started when he was 5. His twin sister just learned. She's six now. My wife has been riding since her childhood, but I hadn't seen her on a bike. Ever.
Now I park my truck beside the house so we can store all of our bikes in the garage.
→ → → more ...
March 11th, 2011
The boss emailed today and asked for a comparison between Skype, iMeet and a product of my choice in order to cut down on our teleconference/telecommunication expenses. I work for a global company made up mostly of white collar types that talk on the phone a lot every day. The call bridges we use are pricey
For the "product of my choice," I chose Google Talk/Voice. I didn't have much time before the deadline but I plowed ahead.
→ → → more ...
March 3rd, 2011
← Older posts