Don Havey

Sustainably harvested information

Archive for June, 2008

Remote kill switching  

Bruce Schneier’s commentary on Wired today was pretty eye-opening. He discussed an issue that I had given no thought to: the remote “kill switch”.

OnStar will soon include the ability for the police to shut off your engine remotely. Buses are getting the same capability, in case terrorists want to re-enact the movie Speed. The Pentagon wants a kill switch installed on airplanes, and is worried about potential enemies installing kill switches on their own equipment.

Interesting. And fair enough, in the cases of buses (city-owned) and airplanes (airline-owned), so long as the riders are informed that such a technology exists before they choose that mode of transportation. I assume that OnStar’s engine shut off is marketed as a theft deterrent. Maybe it should lock the thief inside, too.

Of course, the terrifying part is that we’re approaching a Failsafe-esque condition.

When I get into my OnStar car, I want to be able to override the remote commands using a PIN that only I know. Maybe that works. As Bruce points out, however, the challenge becomes structuring the extremely delicate, critically-managed hierarchy of overrides: deciding who has the final say. I can’t even imagine a nation’s government handling the responsibility of something like this.

And then there’s Microsoft… apparently still trying to encourage users to switch to Linux:

Microsoft is doing some of the most creative thinking along these lines, with something it’s calling “Digital Manners Policies.” According to its patent application, DMP-enabled devices would accept broadcast “orders” limiting capabilities. Cellphones could be remotely set to vibrate mode in restaurants and concert halls, and be turned off on airplanes and in hospitals. Cameras could be prohibited from taking pictures in locker rooms and museums, and recording equipment could be disabled in theaters.

Incredible, isn’t it? An astounding lack of foresight.

First of all, let’s say that the bus and airplane overrides were marginally acceptable, assuming that someone finds a way to structure the system, and the public accepts it as a modern security measure. Microsoft’s concept targets consumer goods, not public transportation or corporate-owned airlines. It targets something that has been purchased. With money. Ownership transferred. Mine.

Secondly, the idea neglects the fact that such forms of post-purchase corporate influence have a history of dying slow and painful deaths. Case in point: cellphone hacking. Another one: the music industry.

I’m always amazed by large corporate notions of censorship and regulation. They think that they will win those battles. It’s like creating a map of the empire at 1 to 1, it’s like simulating the universe on a quantum computer. Unless the corporation becomes the population they are trying to manipulate, they fail.

The article has

no responses yet

Written by Don

June 26th, 2008 at 4:10 pm

Tutorial #9: Filling Space  

Space-filling previewI had a crotchety old man as a 2nd-year studio instructor. He was very adamant about the usage of the word space. He tried to tell us that space cannot be created (sometimes architects say that they “create spaces”), but all I learned was that it was very difficult to learn anything from crotchety old men.

It’s a matter of semantics, if you ask me. Creating space, defining space… whatever. Today, I am concentrating on fillling space. There should be no controversy there. Even while he was yelling about space, my professor was certainly occupying some.

I’ve been thinking of trying a space-filling algorithm for some time now. They’re quite simple, and quite useful. Jared Tarbell made a nice one a few years ago: Emotion Fractal. In the world of data analysis, they are commonly referred to as Treemaps.

Here’s what it will look like: The final result (click to activate, then press the spacebar to add boxes)

And here’s the source code: Space-filling classes

Let’s get started…

Read more…

The article has

no responses yet

Written by Don

June 26th, 2008 at 2:44 pm

Art All Around  

So the Art All Around competition is due tonight. For those of you who are unfamiliar with it, the premise is this: Create a plan to paint a large number of oil tanks located on the waterfront in (our fair city) Portland, ME. Some of the tanks will only have their tops painted, some will have their sides and their tops painted. The site is visible by land, sea, and air… but really only from a moving vehicle. The tanks are located adjacent to a major highway, and owned by the Sprague Energy Corporation; it is not public land.

Angel and I are submitting two proposals (since the depth of the proposals is very limited by the competition guidelines). Here they are:

** UPDATE: Chris sent me his excellent entry with permission to post it. Check it out below. **

Circles

The enormous silhouettes of local citizens walk in tireless circles around the tanks, while others bask in the sunshine on the tops.

Proposal #1 - View A

Proposal #1 - View B

Proposal #1 - View C

Proposal #1 - View D

Distortion

A texture of fluid lines challenges the shape of the cylinders, complementing the fact that they are experienced primarily while the viewer is in motion. Algorithmically generated via Processing.

Proposal #2 - View A

Proposal #2 - View B

Proposal #2 - View C

Proposal #2 - View D

Complements of Chris Nannig

Chris did this study in super-warped color adjacencies. I think it’s great.

Chris Nannig\'s Proposal - View A

Chris Nannig\'s Proposal - View B

Chris Nannig\'s Proposal - View C

Chris Nannig\'s Proposal - View D

Enjoy. Let me know what you think…

The article has

no responses yet

Written by Don

June 25th, 2008 at 8:04 pm

Traceroute Color Palette  

Traceroute color palette between Portland and Greenland

I had this idea the other day: Make a screen that, when placed on the ground anywhere in the world, allows you to see the exact opposite side. Like your own portable hole through the center of the earth. I suppose it was inspired by this amazing installation.

Of course, I immediately dumbed down the idea a bit. I might pursue it eventually, once we have globally-available 1-foot-per-pixel satellite imagery, but for now, it’s not possible… without a lot of money (sponsorships appreciated!).

The variation became more of a programming challenge than an actual project. I decided to create an application that would choose a single color according to a user’s geographic coordinates, based on the satellite imagery available at that location. It essentially functions the same way as the original idea, except that it outputs only one pixel’s worth of color.

I made a quick prototype yesterday using only PHP. To test it, I hooked it up to a traceroute script and had it choose one color swatch per ‘hop’ on the traceroute, resulting in a color palette for the given route. Here are the steps:

  1. Using PHP’s PEAR Net library, execute a traceroute from the development server to any given domain or IP. Return a list of IP addresses of the hops along the way.
  2. Using the IP-to-geographic coordinates script that I made for the IP-mapping globe tutorial, translate each IP address to a longitude/latitude pair.
  3. Send each of those coordinates to a Google Maps page hosted on my server (developed with the Google Maps API), which centers a small map on that location and zooms in to the highest available satellite imagery resolution (that’s done via a custom Javascript error handler).
  4. My development server (running on Windows) takes a screenshot of that page using PHP’s COM commands. This part is very hacky, but trust me, using this workaround is much much easier than trying to grab the actual map images off of Google’s server… which also violates their Terms of Service, of course.
  5. PHP’s GD2 library analyzes the part of the screenshot that contains the map and averages the colors for that geographic location.
  6. Each color swatch is saved as a new png and output to the browser.

Unfortunately, since it’s set up to run only on a Window’s server (the screenshot command is not *nix compatible), I can’t show a working version. If there’s any interest in the code, I can post it, but again, until I find a more stable way to do this, it remains a development-server-only project.

The image above is the route between me (Portland, ME, USA) and the website nanoq.gl which is in Greenland. The traceroute is as follows:

Saco, ME, US -> Portland, ME, US -> Fulton, NY, US (x2) -> New York, NY, US -> Minneapolis, MN, US -> New York, NY, US (x2) -> Tim, Denmark -> Copenhagen, Denmark -> Nuuk, Greenland (x2)

It takes about 6 minutes per color palette, because the traceroute takes a while, and of course, the screen capture routine requires a delay between each page request to ensure that the page loads properly (Google Maps applications are loaded via the onload() function).

Kind of boring, but maybe some will find it interesting. I haven’t seen too many projects that analyze satellite imagery. Maybe that’s because no one finds it interesting… but I’d guess that it’s more related to the fact that it’s so damn hard to interface with map servers, and most interesting applications would probably defy somebody’s Terms of Service and get shut down anyway.

The article has

no responses yet

Written by Don

June 13th, 2008 at 10:42 am

Google, you sly dog  

I was digging through some Google Maps source code looking for a way to - ahem - repurpose the colors in the map images (cool project coming soon), when I came across this:
<div style="position: absolute; left: 0px; top: 0px; z-index: 107; cursor: default;">
  <div style="position: absolute; left: 143px; top: 29px; z-index: -4364995; display: none;" class="gmnoprint">
    <div style="overflow: hidden; width: 25px; height: 25px; z-index: 1; position: absolute; left: 0px; top: 0px;">
      <img style="border: 0px none ; margin: 0px; padding: 0px; position: absolute; left: 0px; top: 0px; width: 690px; height: 786px; -moz-user-select: none;" src="/intl/en_us/mapfiles/iw2.png">
    </div>
    <div style="overflow: hidden; width: 25px; height: 25px; z-index: 1; position: absolute; left: 224px; top: 0px;">
      <img style="border: 0px none ; margin: 0px; padding: 0px; position: absolute; left: -665px; top: 0px; width: 690px; height: 786px; -moz-user-select: none;" src="/intl/en_us/mapfiles/iw2.png">
    </div>
    <div style="overflow: hidden; width: 98px; height: 96px; z-index: 1; position: absolute; left: 76px; top: 101px;">
      <img style="border: 0px none ; margin: 0px; padding: 0px; position: absolute; left: 0px; top: -690px; width: 690px; height: 786px; -moz-user-select: none;" src="/intl/en_us/mapfiles/iw2.png">
    </div>
    [...]

Anyone else get what’s happening there? They’re using only one image to create that little call-out marker bubble. It’s really quite brilliant. Just one large (but light) png file is repeatedly repositioned to create all of the borders and corners of the bubble, allowing for dynamic sizing without image stretching.

I felt like an archaeologist when I unearthed it… and of course, my first thought was “why didn’t I think of that?”

The article has

no responses yet

Written by Don

June 11th, 2008 at 1:28 pm

Categories: Etcetera, Web design

Tags: , ,

Flying Apocalypse Fish says…  

Married To The Sea
Compliments of Married to the Sea.

The article has

no responses yet

Written by Don

June 5th, 2008 at 8:44 pm