Archive for November, 2007

What I do…

I’m sitting at work waiting for a script I wrote to finish running. I need to insert certain values into database records based on a text file that our customer sent us. Without giving anything away, here’s what I’m looking at at the moment.

~
[eprints@localhost bin]$ ./insert_impact_factors.pl
1264 -> 4.515 DONE
3409 -> 4.515 DONE
3412 -> 4.515 DONE
4298 -> 1.587 DONE
1295 -> 0.308 DONE
3604 -> 0.308 DONE
3988 -> 1.849 DONE
4732 -> 4.826 DONE
4747 -> 0.685 DONE
1003 -> 1.919 DONE
1176 -> 1.919 DONE
1413 -> 1.919 DONE
3958 -> 1.919 DONE
885 -> 1.832 DONE
886 -> 1.832 DONE
1186 -> 9.091 DONE
3929 -> 1.977 DONE
900 -> 2.711 DONE
76 -> 0.543 DONE
86 -> 0.543 DONE
87 -> 0.543 DONE
105 -> 0.543 DONE
126 -> 0.543 DONE
823 -> 0.543 DONE
276 -> 7.683 DONE
1092 -> 0.454 DONE
1142 -> 0.454 DONE
69 -> 1.727 DONE
2862 -> 0.327 DONE

There are several hundred of these lines yet to appear, and they’re appearing about once a second.  I need to hang around and watch it in case there are problems…

I’d actually rather be at home changing nappies.

Comments (4)

On Potty Training

The wife decided a couple of weeks ago that the time was ripe to potty train the son.  Firstly, we needed to teach him some new words.  It wasn’t long before he connected the words ‘wee-wee’ and ‘poo-poo’ with the concepts.

Next was to teach him how to use the potty.  Initially this meant just sitting him on the potty and turning on the TV, then showing him the contents after half an hour (pointing out enthusiastically which part was wee-wee and which was poo-poo, while preventing him from playing with them).

The current task is now to get him to anticipate his bodily functions.  There has been mixed progress on this.   Sometimes he just doesn’t want to sit on the potty, and if there’s something interesting going on he only notices the wee-wee as it’s running down his leg.  When that happens, he gets quite agitated and runs around shouting “wee-wee, wee-wee”, leaving a trail of unpleasant liquid in his wake.  We can usually get him on his potty before too much mess is made.

This would be of little real consequence (we have disinfectant) if it weren’t for the fact that the daughter is now crawling and loves to follow the son around the house.  She also grabs things and puts them in her mouth.

It’s a disgusting disaster just waiting to happen.

Comments (1)