Sometimes I do things which relate to my work that I am sure is wasting time, but I work so damned hard at it that it doesn't feel like wasting time at all. In the end I come out with something productive but it isn't the core business of what we do here. I still feel pleased with myself.
Somebody asks me about images available on our server. I mention that there are a lot of people who have left and all their files have been moved to an old server that has plenty of storage space and isn't doing much in particular. They are very interested in gaining access to these images. Unfortunately the images are all over the place. Buried deep down in folders. What to do? I could easily create a batch file with ROBOCOPY to copy the image files only out of the server and into a structure somewhere else. You would still have to drill down to get the images but at least you know there will be images at the end of the drilling. Too much navigation.
I create a quick program to scan the whole directory structure, find and move the images to a folder, renaming them if they are duplicated. But you can't tell where they came from.
So I write a program to scan the whole directory structure, then create a web page with all the images in it. The page is too big and kills any web browser trying to look at it. So I dolly up some of my old javascript and have a selectable list of images. Thinking this has solved my problems, as it tests well on a small directory structure, I test it on the fill 40,000 images on the server. Firefox and Internet Explorer complain that there are too many constructors in the array (that holds the image names). Damn them. Opera just falls in a giggling heap of dribbling code. I alter the code to reduce the detail and things seem to work OK in Firebird :)
Fun. Pleasing. The task was work of sorts but I really should be solving some project problems rather than departmental indexing of ancient images.
2005-04-27
2005-04-04
Curry
Man I make a mean curry.
Friends will claim that I pile on the chilli when I use it, and I have to admit that I have calmed down with the demon spice.
My curries have always been tasty and never painful. Not that I would shy away from a painful curry, I can handle that challenge. I certainly wouldn't want that sort of thing regularly. When it comes to making my own, I like the tasty level. Ya, mix in some peas, corn, chopped steak then drop in some rice which you mix right in and you have the recipe for yum.
I don't have a large repitoire for generating my daily sustinance, but what I do create, I like very much.
Simple foods rock.
Friends will claim that I pile on the chilli when I use it, and I have to admit that I have calmed down with the demon spice.
My curries have always been tasty and never painful. Not that I would shy away from a painful curry, I can handle that challenge. I certainly wouldn't want that sort of thing regularly. When it comes to making my own, I like the tasty level. Ya, mix in some peas, corn, chopped steak then drop in some rice which you mix right in and you have the recipe for yum.
I don't have a large repitoire for generating my daily sustinance, but what I do create, I like very much.
Simple foods rock.
Subscribe to:
Posts (Atom)
Books Read 2023
Below are the books that I read during 2023 and my rating out of 5. Rating Title Author Book# 5 Pirate Cinema Cory Doctorow 1 5 None of Thi...
-
So you have this iSight camera built into your Mac and you want to make it take images on demand. My first thought was to get Automator to d...
-
New bike day! VelectriX Ascent+29 (2018) electric power assisted mountain bicycle. I moved to a suburb 12km farther out from work (now ...
-
The Brisbane Lions, Australian Rules Football team has not been doing very well the last two years and now things seem to be just getting me...