Wednesday, 27 February 2008

Pleas and deadlines

Spent the last four days trying to write new SCT conditions services, with a new interface for all indet services. This was finally tagged yesterday, in theory for release 14 deadline at 18:00 yesterday. However it looks like there were lots of (other) problems with the nightly, so I guess the deadline shifted a bit. It all works and I wrote some example code for both the summary interface and one of the derived tools. Today I made some cabling representations for the SCT with an xsl layer displaying the cabling files, e.g. the barrel, and similar files exist for endcap C and A. Looks like Bruce is close to uploading to the official database, so maybe I have to get busy with cabling soon. Cabling had new methods injected by Nick Barlow to use the identifier hash instead of identifier, the test code needs updating.
Next: runlist needs a date input, and the trigger people want a db 'front door' page from me (when did I volunteer for that?)

Wednesday, 20 February 2008

SCT conditions et al.

Monday I was debugging Else's code, which uses CherryPy 'PUT' from PHP. Discovered some useful things about PHP CUrl (quirks, shall we say?) such as specifying the PUT method means a file must be provided... and then my CherryPy hangs with a 'Continue 100' message...unless one uses the 'custom' http method and declares it to be 'PUT', so then its possible to use the POSTFIELDs.
Yetserday decided on new SCT and InDet conditions reporting service, so I've started to program that. Today I updated a lot of documentation (how to write services, CherryPy, and InDetConditionsDB)  and continued in the implementation.

Friday, 8 February 2008

FDR and all that

In the midst of the Full Dress Rehearsal, and the runlist is being used a lot; I had to make a special version just for FDR data as well. Over the last couple of weeks I've created a new cabling file and made utilities to check consistency with Dave Robinsons output, investigated (and implemented) some ways of making the bytestream converter quicker and implemented a monitor program for the CherryPy server, so it mails me if the server stops working or the machine become unreachable. This Wednesday was mostly spent investigating Kazu's problem with the DCS data access; it seems that the folders were being transferred into the database with the wrong folder dscription. I alerted Jim Cook, who fixed it pretty quickly.