The C word

My mother has been in the hospital since she lost power after Wilma because she had difficulty breathing and needed oxygen. They had to drain fluid from her lungs, and when I visited Saturday, the doctor told me they found abnormal cells in the fluid. He still didn’t tell her.

Yesterday she had a CAT scan and today she got the results and it wasn’t good (I still haven’t talked to her doctor). When I saw her today she was pretty upset and seems to have given up hope. I’m not a religious person, but she needs all the prayers she can get. It certainly can’t hurt.

Getting back to normal

Life is slowly getting back to normal after Wilma. My entire complex now has power and many traffic signals at major intersections are now working, but a lot are still out so driving can still be a bit of a challenge. The grocery stores are fully stocked so we can now buy food, and there are no more lines at gas stations.

New Cell Phone

I lost my cell phone a few days ago when I was cleaning up the mess from Wilma, so I went shopping for a new one today. I ended up getting another Motorola V551 after looking at the Rokr and seeing how horribly slow it was and seeing that the Razr had no real advantages despite costing $100 more than the V551.

A real messy situation

In the last few days I’ve learned a lot more about lift stations than I ever wanted to know. We usually don’t think about where our waste goes until something goes wrong.

Our community has a lift station which pumps out to the city’s lift station, both of which run on electricity. Since the power went out, of course, they stopped pumping. We only got partial power back here, which isn’t enough to run our lift station, and the city’s station has no power. On Saturday, we had three truckloads of sewage pumped out, which cost us $4500. Three times since then we had someone connect a generator to our lift station to get it working. Since the city’s lift station isn’t working, our sewage started coming up in the street when we ran ours. As you can imagine, it’s a very messy situation.

I survived hurricane Wilma

I’ve been without power from 7AM on Monday Oct. 24 until 9:30AM today, Nov. 2 after Hurricane Wilma, which is why I haven’t posted anything in the last week. Luckily I didn’t have any damage and nobody here was injured. A few people had generators, but most of us gathered around the clubhouse every night and set up a few charcoal grills to cook dinner. I spent most of the time cleaning up the mess from all of the trees we lost.

We already got rid of most of our big black olive & ficus trees, so the damage wasn’t as bad as it could have been. One big tree fell on one of the buildings, but thankfully it didn’t do any serious damage. A lot of roofs lost metal & tile, but they’re all mostly intact. We have a lot of leaking roofs, of course. Many of the remaining trees came down or were seriously damaged.

When we weren’t cleaning up the mess, we spent the rest of our time on a quest for food, ice & water. Meat was scarce, and the few supermarkets that were opened only had non-perishable items. Gas was very difficult to find and any gas stations that were open had long lines. Almost all of the traffic lights were out (and still are in most places), so all intersections have to be treated as a 4-way stop.

Intel porting tip

I now have most of my code working on the Intel Mac. Once again, I need to reiterate this bit of advice: Never assume Macs are Big Endian.

We already have a cross platform product that works on both Macs & PCs. Since it deals with binary data read from a file, it needs to handle byte ordering issues. In our code we used #ifdef __MAC__ for pieces of code that are sensitive to byte ordering. We also used #ifdef __MAC__ for a lot of other Mac-dependent stuff that had nothing to do with byte ordering. This was the cause of almost all of the problems I had with the port.

I’m sure a lot of other developers are doing the same thing. If you ever plan to port to Intel, go through your code and change any such tests to use #ifdef __LITTLE_ENDIAN__ or #ifdef __BIG_ENDIAN__ instead. Those things will bite you badly when you port to Intel. Better yet, use any of the byte order utilities whenever possible.

Waiting for Wilma



Flooding

Originally uploaded by mike3k.

We’ve been spending the last few days watching the news & waiting for Wilma. We already have a lot of flooding from the heavy rains we had Friday night.

Design Stupidity

My Motorola V551 phone is an example of very poor user interface design.

The initial function of the left soft button is display recent entries.

When you select it, the left button becomes ‘exit’ and the right button becomes ‘select’.

I very often find myself hitting the left button again, which is the most natural action, rather than going to the right button to select it. For the default action, you should hit the SAME button rather than switch to the other button.