Update: Helicopter

I left my helicopter alone for over a month recently because I had become frustrated. It seemed that all of a sudden, my ability to fly had eroded. I could no longer keep the heli stable. Other times, the heli would be twitchy and erratic and unflyable, while even just sitting on the ground with no input from the control sticks.

After the internet provided no clues about the twitching, I took it to a local shop. The shop tech guessed I had a bad crystal in the receiver. As soon as he popped in a new set (in the transmitter too, of course) the heli was as good as new.

Since then I've bought a new Lithium-Polymer battery that allows nearly 20 minutes of flying time, compared to the 5-7 from the included Nickel-Metal Hydride battery. I also bought a different motor which the helicopter manufacturer recommends for maximum flight time. The old battery still works, but it is not as satisfying as the new one.

Below is a video of me taking the heli up to about eye level, (well out of ground effect) hovering for a few seconds, and bringing it back down safely. I think the heli looks far more stable that it did in my last post on this topic.

Since I made the above movie a few weeks ago, my helicopter is again on the fritz. This time, it's the tail motor which no longer works. The tail blades very easily strike the ground, and this causes the tail rotor to slow down (obviously). In order to speed the tail rotor back up, a quick burst of current is required, which repeated enough times eventually burns out the motor. The symptom is a nearly uncontrollable heli. I have burnt out two tail motors.

Since I don't want to continually buy new tail motors ($10 a pop), I went ahead and bought myself the RC simulator I yearned for only two weeks ago. As you can see in the movie below, crashes in the virtual world are much less devastating:

In this movie I'm flying using the night mode, which puts lights at the tips of the rotors so you can see the orientation of the heli. Red and blue on the main rotors; yellow on the tail rotor. Please excuse the poor quality of the video as I made it with my (relatively) antiquated digicam. I would have used a software video capture program, but they're (very) not free and cause the computer to slow down so much that the aircraft is uncontrollable. Below is a video showing a bit more flying skill and no crashes:

My goal with the simulator is to improve my instincts and reflexes, so when I return to the real world, I'll have mastered all the basic skills. It's also fun to fly and not have to worry about real world consequences.

more ...

Yahoo! Mail support is a joke

For some reason, lately when I go to Yahoo! Mail (mail.yahoo.com), occasionally instead of going to my inbox, I get a page of raw PHP. Here are the first few lines:

<&#63;PHP
ini_set('display_errors', 0);
$data = yahoo_reg_login_setup();

if ( $data === FALSE )
{
    exit();
}
else if ( ! isset( $data['DISPLAY_FORM'] ) )
{
    error_log( "yahoo_reg_login_setup didn't set the DISPLAY_FORM field" );
    header( "Location: http://login.yahoo.com/");
    exit();
}

Here is the rest of the PHP code. It is obviously the PHP code that runs the base of Yahoo! Mail, which decides where to forward you: either to your inbox or to a login page. At any rate, there's no reason why Yahoo! Mail's servers should be sending me raw PHP.

When I get this page, if I hit 'refresh' I'll get the correct page, so things aren't totally broken. This slightly annoying, and it's obviously a problem with Yahoo! Mail's servers. My web browser is incapable of producing raw PHP code, much less with a Yahoo! Mail bug tracking number (see the full text).

Trying to be proactive, I sent this code to their help department. I also wrote "Please don't tell me it's my problem, as there is no way my browser can generate raw PHP." They wrote back telling me:

We understand that you're receiving a HTML error message in your account ... To help us troubleshoot and assess the issue, please take a screenshot of the entire page when the issue occurs next.

They then proceed with instructions on how to take screenshots in Windows. As a Mac OS X user, I found this help insulting and useless. I am no common Windows user, and they shouldn't assume I am. Furthermore, providing a screenshot is even less helpful than my original post, as the PHP code covers more than one contiguous window - I have to scroll to see all the PHP code. It's clear that either my message wasn't read, or the person reading it had no idea what I was saying and put in the most general pre-written reply they could find.

It says something about your company when this kind of 'help' is allowed. This person should have forwarded my message to someone who had a clue. They shouldn't have sent me anything, much less nonsense, when they no idea what I was writing about. Perhaps there is no conduit for this kind of thing between the Yahoo! Mail help staff and the actual programmers. If that's the case, it's a shame, and it's more evidence why Google is kicking Yahoo's butt.

more ...

Me & My Supercomputer

Datastar

Datastar is the 2500 CPU supercomputer I do most of my work on. Until today I had never seen it in person. Behind me are just a few of the racks that make up the computer. The room was loud and alternatively very hot and very cold.

more ...

RC Simulator

Lately I have been enjoying flying my Blade CP helicopter. I've purchased a new battery/motor combination that has extended my flight times to about 15 minutes. I've also become proficient enough that I can (usually) run the battery down before I break anything crucial. However, there's still limits to my flying. The battery takes roughly two hours to charge. I try to keep myself from overstepping my skill level. Of course I have to try new things in order to learn, but I've found that if I get too aggressive, I make costly mistakes.

It is time for me to greatly increase my practice time through the magic of personal computers. Behold the Realflight G3.5 RC Flight Simulator. This simulator comes with a USB controller with the same look and feel as a RC transmitter. The program has a large library of fixed wing aircraft and helicopters that can be flown in a variety of locations, indoors and out. It has a good physics engine and "real" obstacles. This means that if you try to fly through the scenery, you'll crash into it. The plane will even break apart in a realistic amount. For a small crash it might lose a tail. For a big crash, it will break apart into many parts.

RC Sim

RC Sim

The best thing about the simulator is the big red button on the USB controller that instantly resets everything after a crash. That's much cheaper than the real world!

As is usually the case, this is a Windows-only program. Luckily for you, you don't have to buy me a PC so I can play this, as Melissa has a Dell. It isn't the fastest thing, but it is capable of running the application.

more ...

College Sports Heterogeneity

Most of my faithful readers are not college sports fans. Therefore, you are probably not aware that the men's basketball national championship in two days will be between Ohio State and Florida. These are the same two teams that met in the football championship in January of this year.

As a Cal fan, I've learned that the Berkeley football team and men's basketball team cannot both be competitive at the same time. More likely, neither will be all that successful. When I was in school, the football team was awful. I believe they lost somewhere in the neighborhood of 16 in a row over two seasons. They also never beat Stanfurd in the "Big Game" while I was an undergraduate. The basketball team was somewhat more capable. While they would usually lose against top opponents, they at least won more games than they lost by a comfortable margin.

Lately, the rule has stayed true. The football team has been excellent for the last few years, while the basketball team has been less than mediocre. All as is it should be in the Cal athletics world.

The best explanation of this phenomenon is that Cal is a legitimate academic powerhouse. Any school that's worth attending will, and should, stink at high-level popular sports. Sure, Cal is dominant at rugby. The Cal women's basketball team made it to the NCAA tournament this year, unlike the men. Cal is good at water sports like swimming and crew, too. Actually, Cal is all-around good, as their current third place in the Sears Directors Cup shows. All of that doesn't matter to me. Let me know when NCAA lacrosse makes it to prime time and I'll update my rules (a.k.a. chauvinism).

All of this is leading to my main point: Ohio State and Florida graduates should be on high suspicion of their worth for the next few years. They should be looked at with the same eye as Devry or University of Phoenix graduates. It is no secret that athletes are not academic superstars. There's a reason why these schools have attracted the best performers. If you're looking to attract the best athletes, you've got to show them that they can keep their grade point average high enough for NCAA eligibility. Bluntly, they ain't gonna get it done at a place like Cal.

Perhaps, someday in the future, Cal will be proficient at both men's basketball and football at the same time. And I will be forced to eat my words. If you are a true blue like me, you're not too worried about this.

more ...

Concrete

3m 11s playing time, 1917 frames, 7h 39m, ~13s between frames, March 20, 2007

Perhaps it's the nature of pouring concrete, or union jobs, but the middle of this time lapse is pretty boring. Sorry about that. The beginning is fun enough; and the end, with the inch-worm workers and the vacuum-like concrete massager, is cool, too.

Please note the right 1/3 of the image is slightly affected by the reflection of the building fa├žade on the window.

more ...

Mosaic Time Lapse

Your challenge is to figure out what the image is as quickly as possible. I'll wait!

Some of you may remember my photo mosaics I played around with a while back. This is exactly that, but this time, I took a screen shot every 20 seconds or so as the program refined the image.

This mosaic is made up of a bunch of "glyphs" which are a colored square with a colored letter/symbol in the middle. The colors and symbol are randomly chosen. The movie above compresses about 8 hours of real time into under two minutes. In that 8 hours the program tried over 330,000 glyphs for the 2500 tiles on the image. The interesting thing is the basic shapes in the image resolved themselves quickly, while the colors took much longer, and never really matched the original image.

Here is a link to a composite photo, showing the original photo and the final mosaiced photo. I don't think the mosiac really captures my tongue accurately.

more ...

Neighbors Deck

1000 frames, 3h 40m, ~13s between frames, February 22, 2007

This time lapse was shot before, during, and after the passing of a rain front. See if you can tell when the rain starts. The most interesting thing to follow are, of course, the clouds, which change direction & speed. The clouds really get moving on the backside of the front.

more ...

Blade CP

I promised several of my faithful readers multimedia of my new E-Flite Blade CP in action, so here it is. Below is a short movie showing my lack of skills. In my defense, I didn't crash and it was windy today (you can hear the wind on the microphone). When I first started flying the Blade CP, I definitely would have crashed the helicopter in wind like this.

The Blade CP is an electric helicopter with separate main and tail motors. It features Cyclic/Collective Pitch Mixing that uses three servos which move in concert to raise and tilt the swashplate. The swashplate is connected to a flybar, which is then connected to the main rotors. This is called the Hiller control mechanism. The electronic throttle is linked to the collective, so as the throttle increases, the overall pitch of the blades gets steeper. The helicopter also features a gyro that helps keep the helicopter stable and pointing in one direction (yaw). If I get proficient enough with the helicopter, I can upgrade several parts which will enable aerobatic & inverted flying.

Blade CP

Blade CP

more ...

A Bit of Shiny

Below is a little animation that I made yesterday that shows what I have been doing lately. The green dots correspond to the positions of dark matter particles, while the little yellow squares are the locations of dark matter haloes that I'm interested in. The white lines are the edges of the simulation volume, and you can see the axes triad in the bottom-left corner. To give you an idea of the scale of what's depicted here, each edge of the cube is 50 Mpc, or 163 million light years. Our entire galaxy is only about 20 kpc or 65,000 light years across.

In the first part of the movie, the cube is rotated about its center. Next, while looking along the z-axis, the volume of the cube plotted is reduced until only 1/10th of the cube is shown. Then, this 1/10th thickness is scanned through the entire cube, and then the volume plotted is replenished back to full.

The things to notice are how the dark matter form areas of high density, which are connected by filaments. Between these are areas of relatively few particles, which are called voids. This is how our universe really looks, with huge collections of galaxies clustered together, separated by huge expanses of nearly empty space. I should point out that there are many more galaxy haloes in this box besides the yellow boxes.

What I was looking for was one of those yellow boxes which is fairly isolated from areas of high density dark matter. I picked one, and now I am doing this same simulation again, but with higher resolution boxes centered on the area of interest. The simulations I'm doing right now are fairly cheap (in computer time currency). I want to be sure that when I run big, time-intensive simulations in the future that I've picked a good area to focus my attention on.

I did this visualization with Visit, a stereo, 4D visualization tool out of the Livermore National Lab. The "stereo" means that it can create two images of the same data that are slightly offset, which create a 3D effect if viewed correctly. The fourth dimension is for time, as it can handle time-ordered data sets. I then used Visit's Python scripting features to output 800 individual PNGs, which I then stitched together (exactly like my time lapse movies) to make this movie.

more ...

New Price Center

Taken from the SERF Building on February 1, 2007.

I would have liked this time lapse to cover more time, but the internal camera battery died because I didn't fully charge it. I did have my external battery plugged in, but the camera cannot run off that alone. Also, since these images are very complex, even JPEG compression cannot reduce their size too much, and I nearly filled my 1gb card. For example, my previous time lapse project, Airport Sunset, I took over 600 more photos than this time. The difference is those frames had nearly half devoted to the sky.

more ...

Airport Sunset

Laurel and Union streets facing nearly west January 15, 2007

Setup

The external battery pack and "intervalometer" are connected to the camera. I was hoping to capture the Comet McNaught but it has become too close to the sun now. Next time I have a freeway in a time lapse I'll situate it longitudinally so apparent motion is clearer.

more ...

Chargers/Patriots Game

The camera is on top of the TV at Dave Sabo's house, January 14, 2007

more ...

Workplace Ethics & The Little Guy

While I was in college, I took a part-time job working on a small internal library website for the Forest Service. The pay wasn't great, but it was fairly easy and I learned a bunch about website administration.

Since I was an employee of the service, at one point I was required to watch a video on workplace ethics and fill out a questionnaire after watching it. I'm all for workplace ethics. It's just this video was about being fair in granting federal farm loans. I now know that if a woman in a wheelchair comes in to borrow money for her farm I shouldn't reject her based on her sex & disability. The same goes for brown people, stupid people, annoying people, bad actors and lepers (*).

The federal government doesn't do anything unless they have to. So obviously, somewhere, sometime, some bigoted ass-face loan officer rejected a loan to a qualified person because she voted for Clinton. Years of litigation later and this computer jockey in Albany, California, has to waste over an hour of his time learning to not be an ass-face when granting loans.

Fast forward to today: I'm now a highly valued employee of the University of California. The UC system has had a bunch of executive compensation scandals in recent years where ethics rules weren't followed. As a graduate student, I obviously have lots of power when it comes to:

  1. Hiring/firing employees;
  2. Demanding perks from the administration;
  3. Granting these shady deals;
  4. Leaking things to the media;
  5. Ruining the budget and driving admissions fees up.

This is why I'm going to watch an ethics video soon on how to not do all of the above. This response is totally out of proportion. Of the 230,000 employees of the UC system, only a small fraction are responsible for or capable of these gross ethics violations. Me and my fellow little guys shouldn't have to waste any time on this crap. The big wigs should instead have to attend a week-long course on ethics taught by a former Catholic school nun. Yes, she'd be an excellent wielder of a ruler.

You can look forward to future commentary when I actually see this video. Stay tuned.

(*) I'm making the lepers part up.

more ...

Shadows and Birds