Open Source Bridge

I'm speaking at Open Source Bridge, June 1-4 2010 This year I'm lucky enough to be speaking at Open Source Bridge. OSBridge started in 2009 when the popular OSCON conference was held in San Jose instead of Portland. A bunch of local programmer types wanted something local to fill the gap left by OSCON. So, thus, OSBridge was formed. It's run entirely by volunteers, true to the open source spirit. This year there are a ton of great speakers on topics ranging from writing faster PHP to how to run a business based on open source software.

Open Source Rockets

What am I going to be talking about? Rockets of course! Andrew Greenberg, the sort-of project manager of Portland State Aerospace Society, and I are going to be giving an overview of the work PSAS has done in the last few years to design and build an advanced amateur rocket. In fact we are planning a launch next weekend (May 22–23, 2010) at Oregon Rocketry's Brothers launch site.

If you're in Portland or nearby and interested in open source software issues you should come to Open Source Bridge. And don't forget, if you can't afford the full price you can always volunteer. I hope to see you there!

Posted in Projects | Tagged , , , , | Leave a comment

Drawing Stream Graphs

The concept of “stream graphs” were widely popularized by the New York Times when they published a now famous graphic of box office numbers over time using a stream graph, which is a stacked area graph that is displaced around the x-axis to make an organic flowing shape.

A stream graph

A simple, example stream graph

I think I first saw a stream graph that Amber Case was showing off after coming back from a conference. She was using a web based app that someone had wrote that graphed the most used words on twitter about a particular search term.

Use Case: Twitter

Another place where there is lots of volatile data is twitter. In fact several years ago someone wrote a program to search the last 1000 tweets containing some search term and then draw a graph showing words inside those tweets popularity over time. The result was surprisingly effective at showing conferences because the graph would grow and shrink roughly in proportion with how good a speaker was, and what he or she said that was most interesting.

Twitter data

A stream graph of the tweets during one morning of the recent Emerging Communications Conference

In general stream graphs are good for any kind of bin-able data that evolves complexly over time.

The Problem

The problem with the web app Amber was using is that it's pretty limited. There is no way to go further back than the last 1000 tweets and any data that is collected is immediately graphed, instead of being saved for further breaking down and analysis. Plus there is no way to change the colors or scaling.

I wanted to help. It took me a while to figure out where to start. Eventually I found a paper filled with wonderful mathematical descriptions of how to draw stream graphs. And at the same time I discovered how easy it is to write in python. So I wrote a simple python class that would take some arbitrary set of data (a list of a list of points) and draw a pretty stream graph in SVG.

You can too!

Amber's friend Aaron Parecki is a Portland based developer who took my stream graph class and, using his twitter API key and database skills, finally fix Amber's conference graphing woes. I open sourced my code at github where you too can start making stream graphs of your own out of any data you want.

Amber, Aaron and I presented an overview of our work at the Portland DataViz users group in Portland, Oregon on April 29th. You can see the slides to my part of the talk here:

Posted in Code | Tagged , , , , , | 2 Comments

Space at SXSW

I was lucky enough this past week to be a part of the South by Southwest (SXSW) Interactive conference in Austin TX. For the uninitiated SXSW is a film and music festival plus a conference about internet business and culture. It's a mecca for all things cool and new on the web. There is so much that goes on there that it's impossible to attend any more than a small fraction of the planned events. This year included some panel talks that directly involved space and science. In my opinion the best one was Moon 2.0: The Outer Limits of Lunar Exploration.

To the Moon

The panel was made up of 5 people representing the diversity of ways that both NASA and private space companies have used social media to reach out to the public and generate interest in space travel. They also talked about the future of space travel — both manned and unmanned — and their thoughts about private space ventures taking the lead in innovation while allowing more people than ever to be involved directly in, and getting to, space.

There were two people on the panel who represented NASA and how they have embraced services like twitter and facebook to try and rekindle the public's love of space travel. Veronica McGregor works for NASA JPL and got the ball rolling in 2008 by creating a twitter account for the mars lander Pheonix. She gave the lander a personality by tweeting about the science it was doing in an engaging and often humorous fashion. It was so successful in getting the public's attention that NASA started creating similar accounts for all it's robotic interplanetary missions. We also heard from Nick Skytland — a project manager in Houston who works with the manned spaceflight missions. He showed how the Astronauts have been able to use twitter to directly connect with people and not just while they are on the ground training, but in space too thanks to a real time internet downlink added to the ISS in January of this year.

Astro_Mike tweets about readjusting to gravity

Astro_Mike tweets about readjusting to gravity

NASA isn't the only player in space anymore. We now have several private space companies developing both manned and unmanned missions. One such group is Masten Space Systems based in Mojave California. The company is headed up by David Masten who was also on the panel. He talked about his company's involvement in one of the many challenge prizes that have popped up recently in an attempt to kick-start the private space industry. Masten won the million dollar level two lunar lander challenge this past year.

Speaking of challenge prizes another panelist was Amanda Stiles who works for the Google Lunar X Prize, a $20 million dollar prize for the first team who can land a robot on the Moon that can move at least 500 meters and send back at least 1 Gigabyte of HD image data. This is just one prize in a long history of prizes that have spurred on innovation and even created entirely new markets. There are currently at least 20 teams competing for the prize.

The final speaker Cariann Higginbotham is co-owner and co-host of spacevidcast.com, a popular podcast that covers all things space. She and her husband formed spacevidcast and share videos of shuttle launches and other important events live on the web. She talked about how NASA and the major media outlets have made space commonplace, but not in a good way. She has worked hard to remind us that launching something into space is an amazing achievement even if it happens fairly often. And people have been listening, the web has proven a great place for like-minded people to get together and talk about a subject they are excited about.

To Infinity and Beyond

It used to be [that we thought in the future] that an astronaut wouldn't be a job, but a certification to do some other, normal job.
David Maston - SXSW 2010

The one thing all the panelists have in common is the belief that space will play a big part of the future and that it will be more collaborative, more international, and more participatory. Dave Masten pointed out that during the Apollo years we thought we could do anything, and that everyone who wanted to could live space, even if all they did a normal job. There would be a place for the accountants and the janitors in space too. But during Apollo our investment in NASA was about 5% of the national budget, while now it's less than 1% percent. Somewhere in between we won the space race, but lost interest. Now we are entering a new era of private space and renewed public interest.

Technology has now come far enough that smart, dedicated people can start building advanced rockets in their garages. In fact that's what I do. We no longer have to rely on large institutionalized space programs to get to space. It's a very exciting time to be a rocket scientist.

Posted in Science | Tagged , , , , , , | Leave a comment

Distance and Scale

I was thinking about the scale of the universe the other day (not an unusual activity for me) when I noticed that an “o” and a period are usually about the right size to be the Earth and the Moon respectively. Then I realized that one could write a sentence such that an o would be there right distance away to be a little model of the Earth–Moon system. So here is a little graphic I made to show this:

Distance from the Earth to the Moon

Distance from the Earth to the Moon

It's amazing to think how far away the moon is when you look up at it. Even more amazing that people actually went there and walked around on it!

Posted in Science | Tagged , , , , | Leave a comment

My First ISS Photo

I've never actually tried to take a picture of the International Space Station before. I have a camera and a tripod and the time, but for some reason I never got around to it. That changed when I heard that there would be a pretty good sighting in Portland tonight.

I set up my camera (a Nikon D80, if you're curious) in the backyard, took some test photos then waited. Waiting for the pass was a little surreal because I was watching the ISS slowly circle the earth on my iPod. As the minutes ticked by I saw a little animated dot draw closer and closer on the screen in my hand, knowing that dot represented 5 human beings madly circling the Earth at over 17,000 miles per hour. Right on cue a fine dot appeared — not on a screen — but in the sky. I pressed the shutter release and watched joyfully as the bright point of light streaked across the sky.

Something about space, about people leaving this planet, to learn, to experiment, or even if for no other reason than because they can, excites me like little else. And finally I captured a little piece of that excitement for myself in a photograph.

The ISS From My Backyard

The faint streak in the bottom third of the photo is the space station, faithfully orbiting the earth every 90 minutes. (click for a larger version)

Posted in Uncategorized | Tagged , , , | Leave a comment