Stacey had a medical procedure this morning that required a long and uncomfortable prep yesterday. My back went out yesterday. Today, Stacey is still having sedation side effects and my back is still painful.
I told her that she and I didn't have to wait very long to "grow old together."
In other news, "Sandwich Generation" is now in some "official" dictionary. Stacey is one. Caring for an elderly parent and kids.
In still other news, Heather is half way in her gestation period. Go team.
In a final bit of news, an old bug in my CI galleries maintenance script caught me again. A bug I hadn't been able to find for some reason. This time when I looked at the error file, the answer was so obvious that repair took all of five minutes.
When a gallery is created, the directory is created using the date and time in this format: yyyyMMMdd_hh-mm. If one makes a mistake entering the show time, i.e. 30 June 2006 Midnight, the "wrong" directory name will be created. The maintenance script allows one to change the date and time of the show. Except that it always failed to find the original directory.
The bug is this. The original directory name was created by postgresql from the date and time supplied as "show time" when the gallery was inserted. When I edit, I use tcl to reconstruct the directory name. Postgresql doesn't use leading zeros. The tcl clock function format strings do use leading zeros. A quick regsub to kill of leading zeros fixed the problem.
I spent a lot of time looking for a design problem in my script rather than a style conflict between tcl and postgres.
All things not me or Stacey are well. :)
Love.
I told her that she and I didn't have to wait very long to "grow old together."
In other news, "Sandwich Generation" is now in some "official" dictionary. Stacey is one. Caring for an elderly parent and kids.
In still other news, Heather is half way in her gestation period. Go team.
In a final bit of news, an old bug in my CI galleries maintenance script caught me again. A bug I hadn't been able to find for some reason. This time when I looked at the error file, the answer was so obvious that repair took all of five minutes.
When a gallery is created, the directory is created using the date and time in this format: yyyyMMMdd_hh-mm. If one makes a mistake entering the show time, i.e. 30 June 2006 Midnight, the "wrong" directory name will be created. The maintenance script allows one to change the date and time of the show. Except that it always failed to find the original directory.
The bug is this. The original directory name was created by postgresql from the date and time supplied as "show time" when the gallery was inserted. When I edit, I use tcl to reconstruct the directory name. Postgresql doesn't use leading zeros. The tcl clock function format strings do use leading zeros. A quick regsub to kill of leading zeros fixed the problem.
I spent a lot of time looking for a design problem in my script rather than a style conflict between tcl and postgres.
All things not me or Stacey are well. :)
Love.