Park

We all went to the park today. The park was a big one in Beckenham with a lake and lots of ducks and geese! Jon had feeding the ducks – well throwing bread in their general direction anyway! He did lots of walking and as a result slept too long at lunchtime :)

The consequences are of course that he went to bed over an hour ago and he’s still awake! Maybe he’ll have a lie-in in the morning :)

More Movable Type

Spent all evening last night setting up Movable Type. Took a bit of time, but I think that the end result is OK. The idea of nested template modules is similar to the way Nucleus works and makes life a lot easier for organising the site.

The entire site is styled using CSS to position the various content sections. We did however come across one problem. How do you vertically centre text in a <div>? In the end I put in a table along the lines of:

<table width='100%' height='100%'>
<tr>
<td valign='middle'>My text here</td>
</tr>
</table>

But surely there’s a way to do it in CSS?!

Movable Type

Been playing with Movable Type for a friend. Wasn’t as easy to set up at this one though :)

I’m toying with using it here, for the pingback facility which I think is quite cool and I’m not sure if I can do that with this blog system. Depends if I can be bothered to do all the faffing around though!

ADiary 1.1

Release ADiary version 1.1. Cool new feature is the ability to re-order tabs using drag and drop. I’ve also fixed an annoying bug that left empty diary files around too!

That's Funny

The stuff I posted yesterday seems to have disappeared. Well you won’t get the eloquent wording that I did yesterday again!

Yesterday was spent solving a problem with a COM+ DLL written in VB. (No, I didn’t write it!). I solved a problem with an assumption about date formats that really didn’t hold true for 90% of cases! What is it about dates and computers that programmers don’t get? Maybe it’s only VB programmers, but if you are going to use dates with a SQL database, use ISO format of yyyy-mm-dd hh:mm:ss and nothing will get confused. Display it how you like, but please don’t manipulate it assumming it’ll be in the format dd/mm/yyyy or mm/dd/yyyyy!

The other problem I may have solved is with this COM+ DLL randomly crashing for no apparent reason. Googling showed up a possible cure though. It appears that a MS security fix for an RPC vulnerability breaks the Microsoft Transaction Server…

oops!

What a Day!

Monday morning and there’s a major accident on the M25, so I’m nearly late for work.. and the day goes downhill from there…

I did however get a handle on a datetime problem I’m having with a COM+ object on our live server that doesn’t happen on the test server!

Bed

We got Jon a “real” bed today. It’s so huge in comparision to him! he looks lost in it. Of course, he doesn’t seem to have really grasped the concept of a bed yet and didn’t sleep at all during his lunchtime nap. Maybe he’ll sleep better tonight as a result though.