Pictures

Well of course nothing goes perfectly. I finally did my picture-gallery-creation software. What had hung me up was figuring out a way to get a frame from an AVI -- the movies my camera can take -- into a JPG, automatically. I was trying at first to use a program called ImageMagick -- an Open Source image manipulation backend which runs from the UNIX command line -- to convert them, but it turns out that my type of AVI was not yet supported. I figured it would be better to use ImageMagick to do the jpeg conversion, rather than Photoshop as I had done before, since it's easier to control from the command line. So, to get that magical frame from the AVI, I delved into AppleScript.

In case you don't know, AppleScript is a GUI scripting language for MacOS which is used to manipulate the user interface in ways that you could normally only do with the mouse.

So, my gallery-creation script (which runs in perl) generates an AppleScript, which it then runs. This script opens the AVI in question in QuickTime, and then asks me to pause the movie on the frame I'd like to use and click OK. It then proceeds to use QuickTime's Export option to create a JPEG.

Ok, to create a psuedo-JPEG. Apparently it adds some stuff on that doesn't sit quite right with ImageMagick. So, if you're looking at a page of thumbnails, any of the pictures where the top and left sides are a white bar, those are movies.

It's good enough for now. I'll either figure out a better way to export, or else crop the area that's correct, and discard the rest. Next time I import a bunch of pictures, I'll work on it.

Recent Developments at ACS

While revising the documentation at ACS in preparation for the new webpage launch, I stumbled upon this startling new announcement in the article describing rcp, a tool used for copying files between unix computers.

Rcp may be used between machines on the ACS local Ethernet. Moreover, since the ACS Ethernet is joined to a large network called Internet, rcp may be used among a great number of machines
on and off campus.

How's that for keeping up with the times?

Presidents

On May 21st, I'll be walking in the Cystic Fibrosis Great Strides fundraiser in Santa Monica. Cystic Fibrosis (CF) is a genetic disease that causes thick secretions in the lungs, pancreas, and other organs. The most important effects are that it interferes with breathing, causes lung infections that damange the lungs, and greatly reduces your ability to digest food.

Over the past 50 years, research has brought about various therapies to alleviate these symptoms, improving the life expectancy of the average person with CF from about 2 years in 1950, to nearly 37 years today.

Since CF is not very widespread, this research is mainly supported by donations from the families and friends of those affected. The Great Strides walk is the main fundraiser of the Cystic Fibrosis Foundation, the leading foundation which supports CF research

I am walking for my friend Julie. She's 25, a graduate student at UCLA, and a wonderful person. She has always shown amazing tenacity, going to great lengths to make sure she does her 2 hours of daily treatments. This keeps her as healthy as possible, so she can live an otherwise normal life.

Anyways, I am saying all this because I hope you'll make a donation. Donations help the Cystic Fibrosis foundation a) research new medications and therapies, b) provide vital medications to low-income families affected by CF, c) coordinate between hundreds of care centers accross the nation, and d) advocate government assistance to CF research and public health assistance.

Because of the dedicated community, the volume of research that has been done, and the mechanism of the disease, I believe that in the coming years, more progress will be made towards improving the lives of those affected by CF than any other genetic disease.

Every little bit helps!

Thank you!

More Information:

Jury Duty, Moving

Well I'm finally situated in my new place. Originally, we were supposed to move the week leading up to August 1st, since that was when our old lease expired. So, i figured by August 4th I'd be done moving, and only mired in unpacking (which can take as much time as it needs, for all I care), and I resheduled my jury duty date to then. It had been schedued for thursday of Finals week, the day before a very tough final.

Of course we were too lazy for that to work. None of us at the old place remembered to turn in our 30-day's notice (the lease stipulates that if no notice is given, we would revert to a month-to-month agreement) until July 10th, so we were not to move out until midnight August 9th. Since neither of us moving into the new place wanted to spend the extra two weeks' rent, we instead found a place that we could move into august 6th.

You can see the problem. If I get picked, will I find myself having to juggle simultaneously jury duty, working 20-30 hours a week, a summer school class beginning, and work? Very difficult.

So, I was a little worried when I went in. I went in with a book, a water bottle, a clipboard, and a change of clothes should I be called (I went dressed in t-shirt and shorts, since courtroom attire is not well sutied to such a hot day). The guy sitting next to me was in his 30's, and commented that I looked as if I had done this before. He had always found an excuse, and had always avoided coming in. From his conversations on the phone, it sounded as if he wished he had avoided that day as well. He was, I gather, a corporate contact for Home Depot, and was arbitrating between a customer irate over an order with a high rate of defects, and Home Depot's buyer who had bought the items in the first place. Every time he tried to start discussing the problem, a list of jurors would be read, so he would say "Hold on, let me call you back." Jury duty must make work so inconvenient.

After about two lists, I realize that they read the lists in alphabetical order. So, on the fourth list, I hear a name that I think is after mine. I was wrong. So, I hurried to the bathroom, made myself presentable, and wandered through the labyrintine layout of the San Diego Courthouse.

Since I take longer than most other people (who came suitably dressed), there are no seats left. So, for a few minutes, I wander around, watching the trolley and the cars below. I worry, torn between my curiosity and feelings of civic duty, and my need for time. After about fifteen minutes of pining, a short woman emerges from the courtroom. She announces that we will not be needed after all. So like a herd of elephants, we march back down to the jury services lounge.

My pragmatism taking the lead, I try to wander more slowly than the rest, perchance thinking that it will make me just that much less likely to be called again. When I get down there, I see the people ahead of me dropping off their badges. We are done, says the woman behind the counter. Go home. I walk outside feeling lucky. Jury duty is over after just 2 hours.

After that, my move goes well. My roomate borrowed a friend's truck, and my other roomate's dad brought his truck. Between the two, we were able to get almost all of the heavy stuff moved. The rest went too smoothly to bother talking about. And so, here I am, lacking only a bed to make my room complete.

Penguins

Two Penguins are sitting in a bathtub. The first says, "Hey, Pass me the soap, would ya?" The second says, "No soap. Radio!" Hilarity ensues.
6546655