Monday May 12, 2008

PinkDots Onstage at JavaOne

The "Pink Dots" Maps made the big stage at JavaOne last week--albeit with a new (pink-free) color scheme. Here is a picture (taken from Arun's extensive collection) showing Rich Green talking about a map of world-wide GlassFish usage:

It's always fun to see one of your babies in the spotlight. :)

Friday Jun 08, 2007

Deep-Linking Into The Pink Dots

The "pink dots" maps have been getting some special attention lately. First, Jonathan referenced our original Solaris registrations map to make a point about how Sun's embrace of free software is driving adoption of our technologies. Then yesterday, Eduardo mentioned our new GlassFish adoption map on The Aquarium.

Both Jonathan and Eduardo asked readers to look at a particular map view to get an illustration of their point. One thing worth mentioning is that it's actually possible to link directly to such views.

For example, Jonathan (who wanted his readers to look at the map with a blank background) could have referenced this URL:

Or Eduardo (who wanted users to look at how GlassFish usage had increased in Brazil) might have referenced this URL for February:

...and this one for April:

But wait, those are complicated URLs. How could anyone possibly know which one to use?

It's easy. Just find the map view that you want and then copy the link referenced by the "This View" anchor in the map page. It's the link which I've highlighted in yellow below:

The JavaScript code in the maps page dynamically updates this link to always reference a URL which would recreate the current view.

So there you have it. If you want to have people look at some specific view of these maps to illustrate your point, you can send them there with just one click.

However, there is one caveat...

These deep-linking URLs guarantee that everyone will see the same map view at a given center point and zoom level. However, the actual amount of territory visible in the map (and thus summarized in the sidebar stats) will depend on the user's window size and screen resolution. So they won't necessarily see exactly the same image and figures that you do (though it should be close, assuming that most people have reasonably-sized screens and windows).

Wednesday Mar 07, 2007

Google Maps Super-Zoom

Yes, that really is a screenshot of a Google Maps view showing a couple of guys, their camels, and a yak. Philipp Lenssen of Google Blogoscoped has details showing how it's possible to zoom-in beyond the normal limit for the satellite views of certain areas in Google Maps. (If you're really impatient or skeptical, here is a direct link to the Google Maps view.)

Unfortunately, it doesn't look like they have similar high-res imaging for the Java logo on Sun's SCA14 Building. If anyone in the area happens to be a pilot (or has some other way of obtaining such an aerial image), let me know. I could probably weave it into our own map.

Thursday Jan 04, 2007

See Java from Space

Question: see anything strange in this picture?

Satellite Image of a Building's Roof

Time's up. It's a satellite picture of Building 14 in Sun's Santa Clara campus, which just happens to be decorated with a huge Java logo. Don't believe me? See for yourself with this view of our Solaris Registrations Map.

Next question: what's it doing there? Has Sun been getting marketing tips from The Colonel?

Nope. I got the real story from Steve Wilson: "It's been up there since Java Software moved out of [Cupertino] to [Santa Clara]. There was a big all hands with a gag that had Rich doing a video feed from the roof of SCA 14. It's still up there."

Last question: where can I rent a big ladder next time I'm in the Bay Area?

Tuesday Jan 02, 2007

Drilling Down in the Solaris Registrations Map

Recently Jim Grisanzio referenced our Solaris Registrations Map to illustrate the volume of OpenSolaris activity in Japan. Since I'd love to see more people using our map in this way, I thought I'd talk about it a bit.

For this kind of use, one handy feature is the ability to reference a particular map view directly. This can be done by copying the "Link To: ... This View" URL when you have the map zoomed and positioned as desired. For example, Jim could have referenced this URL when talking about Solaris-related activity in Japan. This allows everyone to look at approximately the same map view and statistics. (Note: the URL controls the map type, zoom level, and center coordinates; it obviously cannot control clients' screen resolution, which is what determines how much of the map around the center is shown and leads me to use the "approximately" qualifier.)

On my screen, this view currently shows:

Registrations In Visible Area
Solaris 10 / sparc:1715
Solaris 10 / x86:6387
OpenSolaris / sparc:17
OpenSolaris / x86:290

How do we interpret these numbers? Well, one thing they do not mean is that there are just 8409 Solaris users in Japan. As the FAQ notes, this map only shows data for "Solaris 10 and Open Solaris instances that activated Sun Connection to receive automatic software updates." As with any product, only a subset of total users will go through a registration/activation process.

I'm not aware of a good way to estimate what percentage of total users will have registered. So I can't infer the total number of Solaris and OpenSolaris users in Japan from this map view. On the other hand, it seems likely that whatever percentage of users choose to register/activate in one region would roughly equal the percentage of users who do so in other regions. If that's true, we should be able to use this map to compare the relative size of Solaris and OpenSolaris users in different geographic regions. For example, a fully zoomed-out view of the map currently shows a total of 83268 activated instances. So comparing our Japan total (8409 instances) to this number, we could estimate that around 10% of worldwide Solaris and OpenSolaris users are in Japan. That's interesting (and makes me think that perhaps we should update the map to show such percentages automatically).

Hopefully this gives you some ideas on how to dig for interesting views and stats in the map. As we've seen, the statistics it shows are not good indicators of the number of users or installations in absolute terms, but may be useful in estimating the relative populations for different geographic areas. We plan to investigate adding new data sets (such as Jim suggests) which may provide more absolute population info. Stay tuned. And let me know if you have ideas for a data set you think should be included.

Wednesday Dec 20, 2006

The Story Behind The Solaris Registrations Map

I'm one of the people who created the Solaris Registrations Map which has caught Jonathan's eye. Developing the map has been a lot of fun, and I thought I'd share some highlights here.

First off, credit where credit is due... The original idea for the map came from Steve Wilson, Vice President of the "SysNet" group at Sun. Among other things, this group runs the Sun Update Connection and the related Solaris registration service from which the map's data comes. Steve had only been on the job a few days when at small group outing he thought aloud: wouldn't it be cool if we made a Google Maps mashup of all of these registrations we're getting? As another of the map's developers would later say, to some of us Steve's question was the equivalent of chumming the water for sharks. We knew a great idea when we heard one, and we just had to make it happen.

So over the next few days and weeks, we started playing with visualizing our registration data using the Google Maps API. A few challenges quickly became apparent. Chief among these were performance and privacy concerns.

On the performance front, we quickly realized that the JavaScript-based markers often used for such mashups just would not work for a large data set such as this one (80,000 registrations and counting). So for our high-level views, we use the Java Image I/O API to create our own matrix of tile images, and then use Google Maps API calls to have those overlaid atop the normal map tiles. For example, where a fully zoomed-out view of the earth would cripple one's browser with the work of placing 80,000 individual "balloons" on a map using JavaScript-based markers, the custom tile approach means the browser just has to retrieve and position at most a handful images. Much faster and kinder to your browser.

Next, the privacy concerns... We had originally been assuming this map would only be available to a restricted audience on Sun's internal network. But soon after we started showing off initial versions, certain people were asking why we couldn't expose it on the Internet. Again, we knew a great idea when we heard one and had to make it happen. After all, Sun has jumped into the spirit of transparency and the Participation Age like no other. Making our map public could be one more step in that path, but it had to be done with care: we absolutely could not violate the privacy expectations of our users. As cool as some people might think it would be to find a dot on their exact house, others would understandably be quite upset.

And so, after consulting with Sun's privacy specialists we settled on an approach of locating registrations by nothing more specific than a zip or postal code. In other words, your dot won't show up directly on your house (unless, perhaps, you happen to live at a central post office). Instead, information from you and any of your Solaris-using nieghbors will be aggregated together and put into one marker at the center of your postal code area. As our team's Director, Eric Peterson, put it: even "Ted Nugent would be comfortable knowing that the T1000/Nevada registered to his 'Tedquarters' in Jackson, MI is untracable beyond 49202."

I think there are some interesting details deeper down in our technical approach, but I'll cover those in a future post. In the meantime, it looks like Steve has posted his own account of the map's story.




« July 2016