Archive for January 19th, 2010

Today’s Business: 2010-01-19

Tuesday, January 19th, 2010

Today’s planned activities include:

  • Cat duty.  DONE.
  • Dispense Mom’s meds. DONE
  • Shower. DONE.
  • Check grocery and meds inventory and make list of needed items for the upcoming shopping trips this week.
  • Fill out and Return all requested forms to the financial planner.

 

07:15 AM: I’m up.

07:20 AM: My weight dropped another pound, from  178.0  pounds yesterday to  177.0  today.  4 pounds left to lose, in order to hit goal weight for this month, and as 12 days remain before February begins, it’s quite likely that I’ll make the target weight of    173.0   or less by January 31st.  Great!

9:30 AM: Worked the   Ads Display Bug: 2010-01-19   problem.  A display issue arose after the plugin upgrades last night.

12:30 PM: Reveived mail and shipments:

  • Mom’s Novolog insulin.  Still waiting on the syringes, which the druggists shipped separately.

 

02:15 PM: Received mail and shipments today:

  • 12-volt, 2-amp power adapters for the   Hard Drive Upgrades: 2010   project, as per the   Internet Shopping: 2010-01-06   order.
  • A statement of claim coverage from Mom’s medical insurance company, for her wheelchair.
  • The 2010-01, Week 2 edition of Promo Only’s  EADFF series.
  • 10% off flyer from   Bed Bath & Beyond.
  • A statement of values from one of my investment firms. 

 

03:45 PM: Worked the   Hard Drive Upgrades: 2010   project.  Tested the new power supplies received today.  So far, so good.

06:30 PM: Watched today’s episode of   The Young and the Restless   from the DVR. 

07:30 PM: Performed Misc. database maintenance on the blogs, including the renaming and restoration of one DB, and some work for [Emmy] to make it easier for her to log in and post comments.

11:00 PM: Created another blog in my collection of blogs, that will eventually become the official   WPSBC Alumni Association   web site.  The temporary development URL for this new site is:

I’ll add all the information from our current site, and anything else of relevence over the next few weeks.

12:15 AM: Posted the list   here   of the added and / or revised documents today on this, the   Tom’s Diary   blog. 

01:05 AM: Busy day today, and I’m certainly feeling it.  So I’m off to bed right now. But we’ll get right back to this wakeful living saga  in less than ten hours.   Have a good night everybody, and take care.

Tom Hesley

Related Posts

Diary Revisions: 2010-01-19

Tuesday, January 19th, 2010

Today, I either added or modified the following posts in  the   Tom’s Diary    blog for improved brevity, clarity, categorization, appearance,  and search-ability:

  • Ads Display Bug: 2010-01-19
  • Today’s Diet: 2010-01-19
  • Mom’s Status: 2010-01-19
  • Today’s Business: 2010-01-19
  • Today’s Business: 2010-01-18
  • Today’s Business: 2010-01-17
  • Mom’s Status: 2010-01-15
  • Mom’s Status: 2010-01-10
  • Weight Loss: 2010
  • Hard Drive Upgrades: 2010
  • Going With The Flow At Work
  •  

    Tom

    Ads Display Bug: 2010-01-19

    Tuesday, January 19th, 2010

    08:30 AM: Noticed that since the plugin upgrades last night, the advertisements on this blog are appearing on the bottom three posts on the main page, and not the top three as before.  However, my other two blogs do not display this problem.  Investigating.

    09:20 AM: Tried uninstalling and reinstalling the AddSense Integrator plugin.  The display problem persists.

    09:30 AM: Tried restoring the site software for the   Tom’s Diary   blog from last weekend’s backups.  This had the effect of downgrading the plugins which I upgraded last night.  However, surprisingly, this did not fix the issue either.  Even with the old versions of all plugins, the ads still appear at the bottem of the main page instead of at the top.  Apparently, something has changed in the database itself.  However, I’m reluctant to restore it to last night’s backup, as I’ve made several posts and post edits since then that would be lost.   So I’ll need to find another solution. Stand by.

    10:15 AM: Discovered approximately 20 blank ad records in the AddSense Integrator setup page on the   Tom’s Diary   blog, that are not present in the other two, correctly functioning blogs.  So, I deleted these.  This seems to have partially fixed the trouble.  Now, the first of the three ads indeed displays at the bottom of the first post.  This post is located at the top of the page.  However, the other two ads still appear on the bottom two posts on the main page.  So, I’ll keep digging. 

    10:40 AM: Tried deleting all add records and then re creating the ones I need.  But the display issue still persists.  I’d like to have all ads close to the top of the main pages, because there, they’ll be more likely to be spotted, and clicked. 

    11:00 AM: Looked for where the AddSense Integrator plugin is storing the data about the ads it displays.  First, I checked each table in the blog database. Didn’t see anything resembling these data there.  Then, I looked in the software directories for the blog, but could not find any recently-modified files there.  However, I didn’t check every possible place on the file system.  But I think I will now.

    11:30 AM: Scrutenized the AddSense Integrator’s PHP code file for clues.  Nothing useful discovered so far.

    01:20 PM: Looks like the AdSense Integrator stores the persistent data for the ads in the WordPress database wp-options table.  These options begin with abs_int_  . 

    01:30 PM: Discovered that even when the AdSense Integrator plugin is removed, it leaves old data in the wp_options table.  So I’m going to remove these rows, reinstall the plugin, and see if the ads display where they’re supposed to.

    01:35 PM: Removing the old options data from the database, and then reinstalling the AdSense Integrator plugin  did not solve the issue.  Looking further.

    01:50 PM: There’s an AddSense Integrator option checkbox that appears on the post editing screen, which allows the editor to stop ads from displaying at the bottom of the post he’s working on.  In version 1.5.4 of this software, which I’d been using prior to the upgrade to 1.5.7 last night, the default value for this checkbox was UNCHECKED.  That is: Ads would display by default on all posts, unless the editor specifically checked this checkbox before saving the post. However, now the behavior is reversed.  The box is checked even though the data in the database for the post indicates that it should not be.  So whenever the editor either creates a new post, or saves an existing one, this checkbox comes up as CHECKED, and unless he specifically unchecks it before saving the post, the post is saved with the display of ads turned off, even though it was turned on before the save.  This would seem to qualify as a bug in the AddSense Integrator plugin.

    Further in this latest version (1.5.7) of the AddSense Integrator, the ads still display as before, as long as you do not either add new posts, or modify existing ones.  This is why my other blogs seemed to be unaffected by the plugin upgrade, as I’ve not added or changed any posts on those since last night.  So, I pulled one post from   Tom’s Love Quest   into the editor, and then re-saved it.  Then, I went to the blog home page, and sure enough, ads no longer appeared on that particular post.  So then, I edited the document again and unchecked the “Check to disable ads on this post.” check-box, and again, re saved the post.  Proper ad display then returned.

    02:15 PM: So, I’m investigating the possibility of changing the default state of this checkbox from CHECKED to UNCHECKED.

    04:20 PM: Modified line 251 in the AddSense Integrator PHP file from this:

    <input type=”checkbox” name=”ads_int_disable” <?php if ($ads_int_disable) echo “checked”; ?>/>

     to this:

    <input type=”checkbox” name=”ads_int_disable” <?php if ($ads_int_disable) echo “unchecked”; ?>/>

    However, a problem still exists that this checkbox is not correctly set from the post’s meta data.  This is a bug for the plugin’s developers to address.  But this work-around I’ve devised above will keep the box unchecked at all times, and stop the automatic setting of this flag when the post is saved.  No troubles with this here, because I prevent none of my posts from showing advertisements.

    04:30 PM: Deleted all the ads_int_disable  records from the post_meta table in the database (six posts had been marked here as advertisement-disabled).  This should re enable display of ads on all posts in this blog.

     Tom Hesley

    Related Posts

    Today’s Diet: 2010-01-19

    Tuesday, January 19th, 2010

    Today, I consumed the following items:

    • Green tea & diet Pepsi throughout the day.  0 calories.
    • 03:00 PM: 1.5 cups of Cheerios.  150 calories.
    • 03:00 PM: 1 cup skim milk.  80 calories.
    • 03:00 PM: 0.5 cups raisins.  260 calories.
    • 03:00 PM: 6 Oz. blueberries.  90 calories.
    • 03:35 PM: Multivitamin.  0 calories.
    • 07:40 PM: Canned fish snacks.  130 calories.
    • 07:45 PM: Two slices of Muenster cheese.  160 calories.
    • 08:35 PM: Fat-free, vanilla yogurt.  170 calories.

     

    Total calories: 1040.

    Tom Hesley

    Related Posts

    Mom’s Status: 2010-01-19

    Tuesday, January 19th, 2010

    Pending Appointments And Issues

    1. Waiting on the orthopedist’s office to call us back, regarding setup of Mom’s physical therapy.
    2. Watch for the other part of the Novolog insulin shipment; part one was  received today.
    3. 2010-01-22 @ 02:30 PM: Friday: Appointment with her eye doctor.
    4. 2010-04-14 @ 11:10 AM: Wednesday: Appointment with orthopedist for the next quarterly checkup on the progress of healing of her charcot foot. 
    5. 2010-04-23 @ 02:00 PM: Friday: Appointment with PCP for quarterly checkup.

     

    09:50 AM: Dispensed Mom’s morning meds, including the 40 units of N insulin.

    09:55 AM: Blood sugar: 89.  Covered this and a glass or orange juice with 5 units of log insulin.

    Mom says that she did not eat overnight, after expressing overt irritation with me for even asking.  Anyway, this reading of 89 is likely a good fasting blood sugar value therefore, and since this is in the recommended target range, she’s probably getting enough N insulin now, at 40 units twice a day.  Good!

    10:00 AM: The shipment of Novolog insulin arrived this morning.  However, the syringes are missing.  Will investigate.

    11:15 AM: I gave Mom 17 units of log insulin to administer to herself when she eats lunch; she went out with friends a little bit ago.

    02:45 PM: Dispensed Mom’s lunch-time meds.

    04:00 PM: Mom called her orthopedist’s office to inquire about beginning the physical therapy that he recommended.  They told her that they’ll call us when they’re ready to proceed, and schedule the necessary home visits. 

    05:30 PM: Dispensed Mom’s evening meds.  She also took 12 units of log insulin with her to her trivia night.

    10:10 PM: Dispensed Mom’s night-time meds.  Additionally, I gave her a 10 MEQ potassium pill and an 80 MG furosemide pill.  Why?  Because her feet and hands remain swollen today, although she only gained two pounds today as compared with the seven she gained yesterday.  I’ll double her daily doses of furosemide for a couple days, until the edema goes away.  Hopefully this won’t take long to get her back to where she was before the dosage cut this past Friday.

    10:15 PM: Blood sugar: 242.  Covered with 18 units of log insulin.

    Tom Hesley

    Related Posts