09 June 2014

The United Watersheds of America

California, along with the entire Western United States, is in the midst of a historic drought. Areas with relatively plentiful water watch helplessly as densely populated areas drain shared water sources with reckless abandon. A large population center in a dry area can consume water from surrounding watersheds because all the resources within the state may be directed wherever the people will it to go, and political power is concentrated in the populated areas. Therefore, people who live in rural areas with relatively plentiful water supplies can be overpowered by the will of thirsty city inhabitants.

A golf course in Palm Springs Desert irrigated with water from Northern California and Colorado.

Let's look at California as an example. Political power in this state in concentrated in large coastal cities such as San Francisco and Los Angeles. These cities do not have enough water to sustain themselves, but because political power is concentrated in their populations, they can overpower the will of residents in neighboring watersheds to demand access to water. This is why Los Angeles enjoys a steady stream of water from Northern California's Sierra Nevada mountains. The residents of these mountains do not have the political clout to rebuke Los Angeles' demands.

But what if residents of an area did have the ability to decide how to use their own water? What if each watershed was an independent state, in charge of managing it's own water resources. Many cities would find themselves separated from their water sources by watershed boundaries. San Francisco and Los Angeles, no longer in control of water from neighboring watersheds, would only be entitled to the water which neighboring watershed states agreed to provide.

This is not a new idea. In the late 1800s, director of the USGS John Wesley Powell suggested the idea of determining the boundaries of western states based on watersheds. His idea was that each region would be responsible for their own water, and would not be forced to supply water to another region involuntarily. In this scenario, Los Angeles would be powerless to override the will of water-rich northern Sierra residents as their political institutions would be distinct instead of combined into one state.

  
Powell's map of States based on watersheds.
Above is a map of Powell's state boundaries based on watershed. Notice that coastal California would be politically separated from it's primary water sources, the Sierra Nevada mountains and the Colorado River. No longer would residents be able to force those living in other water sheds to give up their local water supply. Perhaps than residents of desert areas would understand just how precious clean, clear water is to the American way of life if they didn't not have unlimited access to water from other regions. When we bring the water to where we want to live, those who live where the water is are deprived of their right to enjoy their local resources. Political clout is removed from the environmental impact of resource management choices made by thirsty urban centers. The end result is that the biggest consumers of water in the west don't know where their water comes from, and this water has often traveled thousands of miles through many watersheds to reach an end user.

Look at the map above - clearly, none of Powell's recommendations were adopted. Those who live near potable water are doomed for the foreseeable future to provide water to the dry cities of the west and desert southwest. Hopefully better management techniques will be implemented before the water runs out all together.

30 May 2014

National Broadband Map

The Federal Communication Commission's National Broadband Map is a highly useful tool to understand the current availability of high speed internet throughout the United States. This map and its related source data is made available as part of an FCC public outreach program promoting high speed internet availability.

Available data sets include:
  • Maximum Advertised Speed.
  • Type of Available Technology.
  • Providers Available in a Given Area.
  • Service Footprint per Provider.
  • Broadband Availability in Relation to Demographics.
Take some time to play with these maps. They have sliders which allow you adjust the parameters of the data displayed. Here are some of the interesting maps:

Blue areas have a maximum available speed of 10 Mbps or less.

Peach areas are served exclusively by Comcast

Red areas have ZERO high speed providers.


Upon casual examination, it appears to be the case that areas with high population density are served by one or two high speed internet providers. For most people, the local cable company is the only provider available, and in many populated areas that cable company is Comcast. No matter the provider, available speeds are dreadfully slow. A large portion of those with high speed access can obtain no more than 10 Mbps downlink. Note that speed is the maximum advertised speed, meaning that actual speeds may be (and usually are) much lower.

Rural residents have things even worse. The vast majority of land area in the US has no high speed internet available. Residents in these areas are effectively cut off from the benefits of internet access. I have family in rural areas of California that are stuck with dial up internet or expensive and still slow satellite connections. 

My takeaway is that we need faster connections available to more of the country. Both quality and quantity has to be built out. It's time for another Interstate-style public works project where we lay dark fiber from coast to coast and contract with private firms to light it up. Symmetrical Gigabit speeds are a reasonable goal to start with. Let's get to it!

25 April 2014

Strava: A Better Way to Train

Throughout history, human kind has sought to perfect skills with repeated practice. All of us have at one time or another completed a challenging task and wondered "did I do better this time?".  Athletes training on a team benefit from the real time feedback of their coach or team mates, meaning focus remains on good form and proper pacing without staring at a clock. For those of use who do not train with a coach or trainer, the question than becomes "how do I know how I am doing?"

In the good old days, a mechanical stop watch dangling around one's neck was state of the art in terms of self-evaluation, assuming that one took the time to stop and read the watch. Thankfully, today we have something so much better!

The old fashioned way to train....


Meet Strava, a social training platform that provides personalized,  real time feedback and metrics during runs and rides. The premise is simple - capture GPS data of a run or bike ride and analyze that data to answer the question "how did I do?". In fact, I have been trying to do this for years using my cumbersome GPS unit. I'd collect the data, import a GPX onto my computer, view and edit, generate speed and elevation profiles, and ultimately attempt to publish my data. Unfortunately, this process was entirely too time consuming to do regularly, meaning my data piled up in a messy virtual junk heap. Thankfully, Strava's smartphone app and web platform provide a powerful training analytics platform where difficult data capture and manipulation processes have been elegantly automated.

I signed up for a free Strava account, downloaded the application onto my android phone, and set off for a ride on my trusty Univega. I was quickly impressed by how intuitive the application was to use, and how little battery power it consumed (a big issue for GPS-dependent apps). When I finished my ride, I was delighted to see my phone displaying a map of my route along with some basic stats: avg MPH, elevation chance, and distance. My route was automatically uploaded to Strava's cloud service where I can view more detail. Additionally, the application breaks a route into segments based on segments created by other Strava users, allowing users to compete against each other on the same segment, with the fastest riders listed on that segment's leader board. Additionally, I can track my progress per segment, meaning that a huge hill doesn't  bring down my avg MPH for the whole ride.

My recently ride was automatically broken into segments by Strava.


As a casual athlete, I find this app incredible exciting. It's super easy to use, and provides analytics which are useful for both casual runners and riders as well as serious athletes. Additionally, it's fun to know how you rank against other users. Because I know others can see my performance, Strava gives me the distinct feeling that every run and every ride count. There is no time to be lazy and take it easy, because now we have a virtual crowd-sourced team to encourage us during that last mile when things seem the toughest. Thanks to Strava, my workout routine is new and exciting again, and I can't wait for my next ride.

My (as of yet very limited) activity overview. Cool!

03 February 2014

iBeacon: A Promising Solution For Indoor Location Opens New World of Smart Shopping

iBeacon is a new indoor location system developed by Apple for iOS devices. An iBeacon is a cheap, self-contained piece of hardware which utilizes Bluetooth Low Energy to interact and exchange information with nearby devices. Each iBeacon may inform the device of it's current location, and can also exchange info with the device. 

For example, An iBeacon might be able to recognize a shopper's loyalty card number, and serve special offers based on a consumer's buying habits. Additionally, each iBeacon knows it's own location, so a mobile device can locate itself based on which iBeacons are within range. 

Value of Indoor Location to Consumers
Indoor location allows consumers to find their way around stores more easily by enabling precise indoor location fixes. Retailers can provide immense value to consumers by integration location with inventory systems, making a store's inventory searchable in real time. Additionally, by providing APIs to this location and inventory data, it would be possible to cross reference a consumer's location and shopping needs with current store inventory.


Classic use case for indoor location.


My vision of this smart shopping experience would entail an application such as Simple Note or Google Docs being able to compare my shopping list and current location to the current inventory of nearby stores and alert me when I am near a store with items I need in stock. If I enter the store, I would be able to follow turn-by-turn directions to any items I that were on my list.

To go a step further with this scenario, imagine a service which finds the cheapest price for each item on one's list by searching inventories of nearby stores, and them sorting the items into a shopping list for each store. This would empower the consumer to know which stores to go to, and which items to purchase at each.
As someone who has tends to get lost in big box stores, I would greatly appreciate the ability to digitally plan my shopping.




Apple's iBeacon collateral.



How iBeacon Works

iBeacon uses the latest bluetooth standard (Bluetooth Low Energy) to passively communicate with compatible devices, but can only interact with device if the user has installed an iBeacon enabled app.For example, if I install a store's application and go into that store, the iBeacon signals may interact with the applcation to show me special offers. 

Privacy Protected

The app may send my personal info to the beacon, but only if I have given permission to do so. In short, iBeacons protect user privacy because they require device-based permissions to show messages or collect user info. The device cannot send or receive any info on the user's behalf without an application explicitly installed and approved for that purpose.


Every iOS device can act as an iBeacon
to exchange info with passing devices.,


Apple's Advantage

By the time Apple brought this new standard to market, they had been working on incorporating iBeacon functionality into their devices for some time. The end result is that the last several generations of iOS devices support iBeacon; not only can they interact with iBeacons, but each device can by itself serve as an iBeacon for other devices. iBeacons will be available as dedicated hardware, but since every Apple device can act as an iBeacon to other iOS devices, existing Apple devices can engage in this exiting new protocol, exchanging information as the two devices pass each other. No other hardware maker can claim this advantage.


Android Compatible

So far Apple has announced the iBeacons are compatible only with certain Bluetooth Low Energy enabled iOS devices, leaving Android users wondering if iBeacon works for them. We do not yet know for sure, but it stands to reason that any Bluetooth Low Energy enabled device should be able to interact with iBeacons. Based on Apple's previous behavior, it stands to reason that non-Apple devices would work with iBeacon, but exclusive features will be available to Apple users. 

Bottom Line

Indoor location is the next frontier in the mobile location space, and Apple has a significant head start. iOS 7 contains advanced location technology to pinpoint location indoors and exchange location-relevant information. iBeacon may have limited compatibility with other devices, but only iOS device users will realize the full benefit of iBeacon at present.


24 January 2014

Google Maps Indoor

Online Maps, such as those offered by Google, have become the cornerstone of wayfinding in today's always-connected world. I use Google Maps regularly to plan a route, find the right subway stop,  or even just check traffic. Until recently, navigation has focused on outdoor navigation only, meaning that a Google Maps user will have no trouble finding the desired building, but then must find their own way once inside. Google is working to change that with a new indoor mapping product.

Classic (confusing) map of a mall.
If I am in the green, how do I get to the red?
How do I cross the black abyss
between the red and purple stores?
Where is the exit?!?

Google Maps Indoor has recently starting mapping public indoor spaces and incorporating these maps into the Google Maps application on Android. A user can view inside an eligible building simply by zooming in on the map. The maps can be quite detailed, showing hallways, rooms, bathrooms, elevators and stairwells on each floor of a building.

Maps Inside view
of the GooglePlex


Indoor maps will be the next revolution in location technology. Map users will be able to navigate even the most confusing complexes with ease and find their exact destination within the building. As exciting as the prospect of indoor navigation is, there are some significant challenges remaining:

1) The maps must be made. Outdoor streets and spaces have been mapped and remapped over the years by a variety of organizations, resulting in a comprehensive, up-to-date mapset. Interior maps, on the other hand, exist for few buildings. Building owners must upload floorplans for their buildings in order to be included in google maps indoor. For a helpful video on how to do this, click here.

2) Lack of Indoor Location. Most mobile devices are not yet able to determine their location inside a building, meaning that the device can display an interior map of a given building, but cannot indicate where that device is on the map. NFC has provided limited solutions allowing a device to be tapped to an NFC terminal to indicate that "I am here" but this method is quite primitive and usually requires the user to actually touch their phone to a reader. Apple's iBeacon shows promise as a means to determine indoor location, but iBeacon roll-out has not yet reached critical mass of adoption.

3) No Indoor Routing Instructions. The ultimate goal with indoor mapping is enable turn-by-turn navigation inside buildings. The ability to view indoor map data is a start towards this end, but a device must also be able to determine it's indoor location to accurately navigate. In addition, each building must be associated with a routing table, which helps the map software understand how different pathways interconnect throughout the building. Without a routing table, the mapping application has no idea if Hallway A connects to Hallway B, or if the door in Hallway B opens one way or both, etc. 

Toggling between floor 1 (right) and floor 2 (left)
of the interior of the GooglePlex.