Glider Port

Hang Glider

Today is especially windy, so we went out to the glider port to see what was flying. We found a bunch of model airplane gliders and one hang glider, seen above. If I wanted another expensive hobby, hang gliding looks awfully fun!

more ...

OpenMP

I'm all about graphs lately!

OpenMP

The graph above shows the speedup that a few OpenMP statements can give with very little effort. OpenMP is a simple way to parallelize a C/C++ program which allows you to run a program on many processors at once. However, unlike MPI which can run on many different machines (like a cluster), OpenMP can only be run on one computer at a time. Since most new machines have multiple processors (or cores), OpenMP is quite useful.

I've added a couple dozen OpenMP statements to the code I'm working on. The blue line shows how long (in seconds) it took me to run a test problem on between one and 32 processors. The green line shows the speedup compared to running on a single processor as a ratio of time. It is very typical of parallel programs that the speedup isn't linear and flattens out at high thread count. This small test problem deviates at 16 processors; when I do a real run (which will be much larger and the parallelization more efficient) I may see nearly linear speedups all the way to 32 processors.

I think it's pretty neat how with very little effort I was able to significantly speedup my code.

more ...

2008 Tour of California

...or rather, Tour of the Bay Area, Central Coast and North of L.A.

2006

2007

2008

2006, 2007, 2008 route maps

In the three editions of the ToC so far, the closest it has come to San Diego is Long Beach, basically 2 hours away. That stage was on the fairly-boring Long Beach Grand Prix course. This year, the first four (of a total eight) stages are within two hours of the central Bay Area. Each are interesting. The closest stage this year to La Jolla is over two hours away, if the traffic is good in LA (ha!).

I am forced to wonder if the northward-tilt of the ToC makes good business sense. While the Bay Area is quite large at over 7 million people, the greater Los Angeles area and San Diego County together account for nearly 20 million people. Perhaps cycling is more popular in Northern California, but it would have to be three times more popular per capita to make business sense. Additionally, the weather is generally better in Southern California which would make the riders happier and the spectator turnout higher. Furthermore, Amgen, the title sponsor, is headquartered in Thousand Oaks.

I certainly don't think a race through downtown LA or San Diego is practical, but there are many roads in both areas that would make an excellent part of the race. I should know, I have ridden my bike on many roads I could recommend to the race organizers.

I will follow the race all the same, but I wish the organizers would bring the race near me at least one of these years (before the race evaporates, like every major American race eventually does).

more ...

Monte-Carlo Whoopass

Don't worry about the physical meaning of the two plots below:

Baldry

Taken from Baldry et. al. (2004),figure 3 (plot 7).

Baldry Monte Carlo

My plot of entirely fake data that means almost nothing.

Just notice that the two peaks are pretty much in the same places on both graphs, 1.5 and 2.2. The first graph shows physical data (stars) and a double-Gaussian fit (light solid line). The second graph is the result of my using Monte-Carlo fitting to make entirely fake data using the first curve. The real graph has over 10,000 items to make that smooth distribution, while with only about 100 items Monte-Carlo is already starting to look like the real thing. Of course, it will take much more items to capture the smoothness and the "long-tail" on each end.

I just wanted to share because the whole thing I wrote, which includes a simple function integration (for normalization), worked on my first try.

more ...

Yahoo! Mail Tries, and Misses

I have written thrice (1, 2, 3) in the past about the new Yahoo! mail interface, the Ajaxed interface to Yahoo! mail. It is incredible how slowly they make improvements to it. It's not like Yahoo! cares what I say, but of the points I raised over two years ago in my first post, they still haven't all been fixed.

But Yahoo! maybe trying harder. There is now a preference to add the greater-than signs on replied to messages:

Yahoo Mail

Which is great. Until you try to use it. Here is a message I sent myself:

Yahoo Mail

Here is what I get when I hit "reply" (this is a screen shot of the compose window, the text is editable):

Yahoo Mail

Yes, each and every word of the message I'm replying to gets its own line. But it gets worse! Here's what I get when I send the replied message without touching anything:

Yahoo Mail

Here each word of the replied to message gets its own line separate from the greater-than signs. I hope this is just a simple bug (I will submit a bug report about this) but this is simply ridiculous.

more ...

Busted Elevator

Elevator

There is nothing moving in this image - the doors are stuck half open and the elevator mis-aligned with the floor. This is why I try to use the elevators in my building at school as little as possible. People get stuck inside with regularity.

more ...

Caught on Cell

pic

pic

pic

Above are three photos I've just uploaded off my cell phone. The first is a flier I saw on campus today. Somehow I never connected Tupac Shakur (the artist behind such cultural highlights as Strictly 4 My N.I.G.G.A.Z.) with God. The second illustrates choice supermarket product advertisement. The third shows my lab-mate Rick playing Frets on Fire, an open-source Guitar Hero. He wasn't half bad!

more ...

2008 Presidential Primary

Vote

Today is my presidential primary, even though for most Californians it's on February fifth. I am a permanent absentee voter so I got my ballot in the mail yesterday. Besides the convenience of voting at home, I advocate absentee voting because it guarantees a paper record of your vote. All the paperless voting systems out there cannot be trusted. I'm not worried about fraud and conspiracies, I'm just familiar with how fragile most computer systems are. Without a paper record that the voter visually verifies before locking in their vote, I will never use a computer voting system.

Another benefit: now I get to ignore any and all advertisements that will be flooding the airwaves in the next four weeks.

more ...

Crazy Italian Men

Ghastly Pink

From the January 1 2008 Velonews, p. 70

When I was in Europe, I could always pick Italian men out of a crowd. They were the men willing to wear fashion even women aren't brave (stupid?) enough to wear. Before huge wrap around sunglasses became popular for everyone, I saw Italian men wearing them. Somehow I don't think Paolo Savoldelli's hideous pink thing will take the world by storm. Is he wearing two turtle necks below it? Or is the inside gray? Maybe he's wearing it in honor of his two pink jerseys from his Giro wins, but couldn't he have found something a little less ghastly?

more ...

Amusing Spam

Amusing Spam

This is actually quite a clever spam in that they're not quoting a ridiculous amount of money. But in other respects they've make mistakes. I like how "IWP" seems to stand for some kind of action, like Input With Prejudice, but who can really know? It's also nine days until the end of year. It's very kind of the IRS to already have calculated my entire 2007 tax burden already, all my exemptions, and capital gains/losses, before the end of the year. I especially appreciate the Christmas greeting (see the full size).

more ...

North Mesa Apartments Lawn

Mesa Lawn

Everyone likes a nice grass lawn. They're soft, aesthetically neutral, and you can recreate on them better than plain dirt or asphalt. They require lots of maintenance and water, but there are definitely situations when they're a wonderful thing, like in a large public park. You can play touch football on it, or croquet, or play with your dogs. You can also have a picnic on a lawn under a shade tree.

They are not a wonderful thing in the apartment complex where I live. San Diego is in the desert, even though we are next to the ocean. Nearly all of our water is imported from the Colorado river or points north. Water resources are finite and San Diego cannot continue to grow without heeding this fact. I find the lawn where I live to be completely ridiculous, and the photo above shows many aspects of why I find it so excessive.

  • It has been raining almost once a week for the last few weeks, but not enough to make the kind of mud seen here. Furthermore, I see mud like this all year, including the summer when it never rains. These lawns are either over-watered, poorly drained, or on really bad soil.
  • Just beyond the muddy track you can see some dead brown spots. There are spots like this everywhere. Too muddy here, dead just over there. Something is wrong.
  • There are concrete paths between all the buildings. The maintenance workers drive around in little carts, usually on the paths. Even so, they feel their time is precious enough to cut off the paths and ruin the lawn like this. Why even have a lawn here when it's going to get ruined?
  • In the corner of the photo you can see some entirely reasonable shrubberies that cover the minority of the ground in the complex. They require much less water and care then the lawn. I see them being tended only a few times per year, perhaps as often as once a month.
  • Once a week I see a horde of men (I guess 4) on lawn mowers tear nosily past my apartment. Another day a week someone comes by with an edger, grinding the cutter between the path and the lawn. The next day the leaf-blower comes to blow away leaves and grass cuttings. By adding these up, my guess is that the lawn costs about six days wages per week. That's a more than a whole employee, and I get to pay for this.
  • Because so many of the lawns are either muddy, or brown, I rarely see people recreating on them. It also has to do with the fact we're all graduate students and have other things to do (like write complaints like this). Since this isn't a city park, technically the surrounding community can't use it (there are "no dogs" signs at the entrances), so the number of potential lawn clients is small.

If things were the way they should be, there would be considerably less lawn coverage. There would be some lawns that were kept in good condition, well drained and large enough to recreate on. Places seen above would be turned into something less water and labor intensive, like a path, or native shrubberies.

more ...

2007 Big Game

Cal: 13 Stanfurd: 20

Oski

Like me, Oski tries to keep a strong face (and two thumbs up!) but can only keep so much disappointment inside.

more ...

Aerial Photo

Aerial

I've posted some decent photos I took on my return flight this past Thanksgiving weekend. I even managed to get a photo of my apartment in the photo above. If you look closely enough you can also find my previous residence, and the building I work in at school. I tried the 500mm mirror lens my father gave me, but the airplane window was too dirty and nothing came out looking focused.

more ...

Identityright

There are two stories that are big in the news right now, the Hollywood writers strike and identity theft. They aren't related, but I see them as almost the same issue.

Hollywood writers are striking to force the producers of scripted shows to share online revenues with them. As long as you agree that the writers are due residuals for their work, it makes sense for them to demand their fair share. The producers say that there isn't any money online and therefore are standing their ground. (Side note: If there isn't any money online, why are the producers not willing to give a percentage of nothing?)

Copyrights are a big deal, that's the base of Hollywood's riches. Hollywood has fought hard to preserve these riches by convincing Congress to pass questionable legislation to protect these rights. Recently a professor at the University of Utah calculated that over a normal day he commits $12.45 million in liability - and he doesn't even use P2P software. The point of the study is that copyright laws are so ridiculous that ordinary, everyday activities that everyone feels are fine are illegal, so the laws should be changed. Simply making a copyrighted work available for infringing is illegal. My point is that congress has agreed with the content owners enough to enact these highly punitive laws that nearly everyone agrees are insane and no one respects.

Over the last few years there have been numerous cases of personal information being lost or stolen from governmental or private sources. Hard drives and laptops are lost and websites cracked. There are also the simple cases of dumpsters with unshredded confidential information. People are having their identities stolen every day which costs them time and money.

The parallel between copyright and what I'm calling identityright is this: we need laws to punish those who lose confidential information to the same extent we punish copyright infractions. Just like a person is criminally liable for simply making works available for theft, companies (and the government) need to be criminally liable for making identity information available, even if no harm has befallen the individual. If the CEO of a company was personally liable for any lost information, you can bet identity theft would decrease almost overnight. Just like the Hollywood writers feel any use of their creative work deserves compensation, I feel that any misuse of my identity gives me cause for redress.

Is this idea any more ridiculous than the current copyright laws?

more ...

Miramar One

10:36 playing time, 7629 frames, 41h41m, ~20s between frames, Nov 14-16, 2007

This is the first time lapse that I've time-stamped. I felt it was useful as without the time-stamp, it's hard to tell exactly what time it is, especially at night. It also allows you to see how traffic changes with each rush hour.

I think this time lapse would have worked pretty well with a very short interval, perhaps a second or less. Obviously, I couldn't have run it for nearly two days, but it would have converted the traffic from random noise to the main subject. The most interesting stuff happens in the second evening when various mists and clouds come in, so feel free to fast-forward to that.

The biggest problem with this time lapse is the huge number of frames don't actually contribute to the study. I could shorten the 10 minute running time by increasing the frame rate (or by not including all the frames), but at higher rates the traffic just looks even more random. Things would work better if the view changed much more smoothly.

more ...