Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

May 07 2012

Four short links: 7 May 2012

  1. Liquid Feedback -- MIT-licensed voting software from the Pirate Party. See this Spiegel Online piece about how it is used for more details. (via Tim O'Reilly)
  2. Putting Gestures Into Objects (Ars Technica) -- Disney and CMU have a system called Touché, where objects can tell whether they're being clasped, swiped, pinched, etc. and by how many fingers. (via BoingBoing)
  3. Real-time Facebook 'likes' Displayed On Brazilian Fashion Retailer's Clothes Racks (The Verge) -- each hanger has a digital counter reflecting the number of likes.
  4. Foldit Games Next Play: Crowdsourcing Better Drug Design (Nature Blogs) -- “We’ve moved beyond just determining structures in nature,” Cooper, who is based at the University of Washington’s Center for Game Science in Seattle, told Nature Medicine. “We’re able to use the game to design brand new therapeutic enzymes.” He says players are now working on the ground-up design of a protein that would act as an inhibitor of the influenza A virus, and he expects to expand the drug development uses of the game to small molecule design within the next year.

April 27 2012

Four short links: 27 April 2012

  1. The Third Industrial Revolution (The Economist) -- A number of remarkable technologies are converging: clever software, novel materials, more dexterous robots, new processes (notably three-dimensional printing) and a whole range of web-based services. The factory of the past was based on cranking out zillions of identical products: Ford famously said that car-buyers could have any colour they liked, as long as it was black. But the cost of producing much smaller batches of a wider variety, with each product tailored precisely to each customer's whims, is falling. The factory of the future will focus on mass customisation--and may look more like those weavers' cottages than Ford's assembly line.
  2. Hiring Executives (Ben Horowitz) -- I am going to meditate for a while on Consensus decisions about executives almost always sway the process away from strength and towards lack of weakness.
  3. Valve's Handbook for New Employees (PDF) -- Since Valve is flat, people don't join projects because they're told to. Instead, you'll decide what to work on after asking yourself the right questions (more on that later). Employees vote on projects with their feet (or desk wheels). Strong projects are ones in which people can see demonstrated value; they staff up easily. This means there are any number of internal recruiting efforts constantly under way. Reminds me of Google, and I wonder how Valve manages politics in an organic hierarchy organization. (via Andy Baio)
  4. Facebook Numbers -- On average, Facebook earned $1.21 on each of its users this last quarter. I'd love to be able to pay them $10/yr and have them work for me instead of for [insert best-fit advertiser here].

April 19 2012

Commerce Weekly: Facebook's shopping spree continues

You might have noticed I'm not David Sims, who has been writing this weekly payments column since its inception. David's talents now are required elsewhere, and I am delighted to have the honor of highlighting news from the payment space for you going forward. And now, onto the commerce stories that caught my eye this week.

Facebook buys into e-commerce

Tagtile.pngContinuing its startup shopping spree, Facebook late last week acquired Tagtile, a customer loyalty and direct marketing startup that blends social engagement for the consumer with custom direct marketing for the retailer. In a recent post for ZDNet, Eileen Brown noted that with its pending IPO, Facebook will need to look beyond ad revenues to satisfy shareholders:

"Ad revenue brings in over 83 per cent of the $3.71 billion total revenue reported. The potential for this revenue stream to fail is just too great ... After IPO, Facebook must diversify its revenue streams. And the only way it can currently do this is through online games and e-commerce."

This latest acquisition is a clear move in the e-commerce direction. Emil Protalinski at ZDNet described how Tagtile works:

"You walk into a store, tap your phone against the Tagtile Cube ... and you get discounts or rewards. Customers have to first download the Tagtile app ... which pushes targeted marketing material to their smartphone based on stores they visit. The Cube meanwhile provides data to help businesses pinpoint marketing efforts that work."

"Data" is the key word there — if Facebook has anything to sell, it's data, and if Tagtile has an organized system to manage and analyze consumer data, there's no need to reinvent the wheel. Brown pointed out in a later post that "[Facebook] needs to be able to mine its data stores to identify trends in customer spending to sell on to its business partners ... [It] needs to be able to bundle a solution to sell to brands who want to tap into Facebook's store of data for closer customer connections."

X.commerce harnesses the technologies of eBay, PayPal and Magento to create the first end-to-end multi-channel commerce technology platform. Our vision is to enable merchants of every size, service providers and developers to thrive in a marketplace where in-store, online, mobile and social selling are all mission critical to business success. Learn more at x.com.


Apple is ripe to disrupt the payment space

Jason Calacanis (@jason) argued over at Launch that "Apple will become a trillion-dollar company based not on iPads and Apple TV, but payments." His argument follows the line of why Apple (and Amazon, for that matter) are so successful: convenience and ease of use. Not to mention, Apple likely already has the data:

"Buying apps is easy and we do it all day long — on iOS at least — because our credit card number is already in the device ... Buying on Amazon is easy and we do it all month long — because our credit card number is already stored ... The person with hundreds of millions of stored credit cards wins big. There are only two people on the planet who have stored over a hundred million active credit card numbers that I can think of: Apple and Amazon.

One is in commerce and one isn't — yet."

There has been much speculation (going back a couple of years) about when and how Apple will enter the mobile payment space, but many agree the disruption that will occur in the payments space when it does happen will be profound. Likening Apple in the payments space to a "PayPal on steroids," an analyst told Computerworld in January that "[Apple has] 160 million users with digital wallets in iTunes accounts. They don't have to do anything other than to NFC-enable their phones."

Calacanis points out the flipside to that — Apple not only could corner the payments market, but also further secure its place in the smartphone market:

"Start doing the math and it gets scary: Apple would have massive margin, and vendors who didn't accept iPhone payments would be at a massive disadvantage the same way folks who didn't take credit cards were in the 70s and 80s."

His piece is well worth the read.

The future of money is mobile

Two surveys and a study this week shed some light on the current state of mobile money and what the future may look like. E-commerce company RichRelevance conducted a study of 4.4 billion mobile shopping sessions that took place between April 2011 and March 2012. As pointed out on Payments.com, the study found that "shoppers on their iPads account for 89 percent of all dollars spent through mobile shopping sessions." You can view the study infographic here.

RichRelevance screenshot
Click here to see the entire infographic.

And though, based on the graphic above, it seems people are becoming more comfortable purchasing TVs with their iPads, a survey (PDF) conducted by the Federal Reserve showed they're a bit more reluctant to conduct their banking via mobile devices. Ann Carrns at the New York Times took a look at the study and reported that "many consumers still don't see the need for mobile banking, and many also are skeptical of the level of security around banking with their phone." She also noted a statement made by Sandra F. Braunstein, director of the Fed's division of consumer and community affairs, to the Senate banking committee in March: "Specifically, consumers expressed concerns about hackers gaining access to their phones and exposing their personal financial information." You can view the full Federal Reserve survey report here (PDF).

A survey conducted by Elon University's Imagining the Internet Center and the Pew Research Center's Internet & American Life Project found that, regardless of any current fears or hesitations, the future of money is definitely mobile. In answering "What is the future of money?" the survey found that 65% of 1,021 "Internet experts and other Internet users" agreed with this statement:

"By 2020, most people will have embraced and fully adopted the use of smart-device swiping for purchases they make, nearly eliminating the need for cash or credit cards. People will come to trust and rely on personal hardware and software for handling monetary transactions over the Internet and in stores. Cash and credit cards will have mostly disappeared from many of the transactions that occur in advanced countries."

You can view the full survey report here.

Tip us off

News tips and suggestions are always welcome, so please send them along.

Related:

April 06 2012

Visualization of the Week: Clustering your social graph

In early 2011, LinkedIn released InMaps, a way to visualize your network and see the clusters into which people fall, based on where you shared employment or education, for example. (You can read O'Reilly Radar's interview with LinkedIn data scientist Ali Imam for a look at how the company created InMaps.)

The visualization below comes from the data viz company Meurs. It's a Facebook app that uses a concept similar to InMaps to visualize your Facebook network. With the app, you can see how your friends are clustered based on education, location, occupation, and so on.

Facebook clusters

You can also view the clusters as arranged by movie, TV, books, and music "likes." It's particularly revealing to see which of your Facebook friends are in the Nickelback cluster, or in my case, that none of the people I went to grad school with (for literature, I should add) have "liked" any books on Facebook.

Found a great visualization? Tell us about it

This post is part of an ongoing series exploring visualizations. We're always looking for leads, so please drop a line if there's a visualization you think we should know about.

Fluent Conference: JavaScript & Beyond — Explore the changing worlds of JavaScript & HTML5 at the O'Reilly Fluent Conference (May 29 - 31 in San Francisco, Calif.).

Save 20% on registration with the code RADAR20

More Visualizations:

April 05 2012

Commerce Weekly: The do's and don'ts of geo marketing

Here's what caught my eye in the commerce space this week.

Placecast's CEO on the secret to successful targeted offers

PlacecastLast August, I wrote about Placecast, which has been working to deliver coupons and offers on behalf of its retail clients to opted-in customers when they hit geofenced areas. Placecast's platform allows merchants to set up a ring around their locations (or other locations, as described below) and then trigger an SMS to customers who have opted in to receive them. Placecast works with mobile carriers to deliver large tranches of opted-in customers to its merchant clients. This week at O'Reilly's Where Conference, Placecast CEO Alistair Goodman talked about the right and wrong way to deliver ads to a geofenced audience, based on the learning curve they have climbed over the past few years.

Some of these are obvious, like the need to link data about the customers' preferences with the location — the richer the data, the more relevant the message, and the more likely it is to hit home. Goodman explained this as a sort of stack, with positioning data (mostly from GPS, but supplemented with Wi-Fi and other data) at the lowest level. Just above that, a layer on context: What type of place is the user at (mall? stadium? park?) and what's the weather like? Atop that level, demographics and psychographics — who are the users and what do users in their consumer categories tend to go for? Atop that layer, the users' preferences: What do they want to be notified about, when, and how often? And finally, at the top of the stack, the offer itself: What is it the retailer is promoting?

A second key point is the need to find relevant locations — not just the retailer's store, which is obvious, but other places where the customer is likely to be receptive to the offers. For example, you might promote dog food or pet stores at a dog park, or a promo for a sports drink around a gym, or the sponsor of a concert around an arena. Interestingly, Goodman said that while merchants often ask Placecast to geofence around a competitor's store, he advises them that isn't a particularly effective marketing strategy: "If a customer is already headed into a certain store, a message urging them to visit a different location isn't likely to be very effective. A more effective way is to promote the message from a relevant public space." (I noticed the audience received this wisdom in total silence; you could almost hear the wheels of doubt spinning.)

Finally, Goodman said customers react better to offers when they believe it comes to them through this channel with some level of exclusivity. "Customers like it when they feel they're getting an offer that others aren't getting." So the coupons or other offers can't be the same as what's posted on the window of the store.

Goodman said the platform can deliver offers through a variety of channels, but most are delivered as SMS text messages, which remain tremendously effective. And they seem to be working: Goodman said that their research finds that 49% of store visits that occurred after receiving a Placecast ShopAlert were unplanned before the alert, while another 19% served as reminders to visit the store. In these cases, you might say those texts delivered twice.

X.commerce harnesses the technologies of eBay, PayPal and Magento to create the first end-to-end multi-channel commerce technology platform. Our vision is to enable merchants of every size, service providers and developers to thrive in a marketplace where in-store, online, mobile and social selling are all mission critical to business success. Learn more at x.com.

Jumping ship at Google Wallet?

Google WalletThe departure of Google Wallet co-founding engineer Rob von Behren to join payments startup Square aroused suspicion that Square might be looking to incorporate NFC in its system. Dan Balaban's article in NFC Times puts von Behren's departure in the context of a swath of high profile talent exits from a project that appears to be struggling to find partners and users. Balaban quotes a mobile commerce analyst who believes von Behren's joining Square almost certainly means a move by Square to support NFC. "Else, it would be like hiring Michael Jordan to get advice on golf," the analyst said.

In the past, Square's COO Keith Rabois has questioned the value of NFC, calling it, at last September's GigaOM Mobile Conference, "a technology in search of a value proposition." But as more mobile phones ship this year with the short-range wireless technology, it seems natural that Square would want to tap into it to facilitate its "Pay with Square" (formerly Card Case) system that allows customers to pay at merchants with their Square accounts.

Meanwhile, Balaban's article raises questions about the viability of the Google Wallet project. In addition to von Behren, fellow founding engineer Jonathan Wall and product lead Marc Freed-Finnegan left to start their own mobile-commerce startup, Tappmo, in March. Andrew Zaeske, former director of engineering for Wallet, is also said to have left the project. Speculation centers around disagreements between Wallet chief Osama Bedier (who joined Google from PayPal in February 2011) and other leaders of the team over the project's direction. It can't help that the refusal last autumn of Verizon to allow Google Wallet into its phones, and Verizon, AT&T, and T-Mobile's plans to launch their own mobile wallet under the Isis brand, cast into doubt whether Wallet will ever be able to expand beyond the Sprint network.

Will carriers like Facebook's post-IPO status?

Mobile carriers run the risk of losing text revenue from Facebook, as more of the service's users access it from mobile devices and use it as their primary communication channel. That's the view of Victor Basta, managing director of London-based Magister Advisors, which advises companies on acquisitions and public offerings. Basta told Bloomberg BusinessWeek that "Facebook's IPO is about the worst thing that could happen to network operators" since the pressure to demonstrate strong earnings to investors will make it harder for Facebook to share revenue with the carriers. Facebook's "over-the-top" service rides on the mobile networks, failing to share any of the revenue from advertising delivered over it and increasingly taking away from the carriers' SMS text earnings, as users send free Facebook messages instead.

"The fundamental challenge for network operators will be finding a way of becoming part of the Facebook ecosystem rather than simply external enablers," Basta said.

Tip us off

News tips and suggestions are always welcome, so please send them along.


If you're interested in learning more about the commerce space, check out DevZone on x.com, a collaboration between O'Reilly and X.commerce.


Related:

April 04 2012

Four short links: 4 April 2012

  1. Typing Club -- lessons to improve your touch-typing, building you up letter by letter to speed and mastery. Like how I learned, only without the typewriters and the bibs and the roomful of girls. It wasn't easy being the only boy in typing class, but somehow I managed. (via EdTech ideas)
  2. SQL Injection via HTTP Headers -- excellent introduction to how some surprising HTTP headers can be attack vectors.
  3. How Not to Sort by Average Rating (Evan Miller) -- so easy to get it wrong, so eye-wateringly complex a formula to do it right. (via Hacker News)
  4. I Hereby Resign (Reg Braithwaite) -- not an actual resignation letter, but it highlights exactly why asking to see applicants' Facebook pages is a bad idea. "If you are surfing my Facebook, you could reasonably be expected to discover that I am a Lesbian. Since discrimination against me on this basis is illegal in Ontario, I am just preparing myself for the possibility that you might refuse to hire me and instead hire someone who is a heterosexual but less qualified in any way. Likewise, if you do hire me, I might need to have your employment contracts disclosed to ensure you aren't paying me less than any male and/or heterosexual colleagues with equivalent responsibilities and experience." Ditto "spouse is pregnant so I'm about to take maternity leave just after you hire me", etc. Those things you spend days thumping into HR that they aren't supposed to ask about? All on the applicants' Facebook pages.

March 26 2012

Passwords and interviews

Facebook password field One of last week's big stories was a new interview question: employers asking job candidates for their Facebook usernames and passwords so they could check on their social history. There was a not-so-surprising amount of commentary, and Facebook pointed out the obvious: giving out your password violates their license agreement, they're not happy, and they're backing legislation to make this practice illegal. (They've backed off on hints that they might take some employers to court.)

However, most of the commentary has missed the obvious point:

What the hell are these guys thinking?

Seriously: have you never heard of social engineering attacks? Have you never heard about attackers calling someone up, saying there's a problem with his computer and they'll need his password to fix it? Or any of a million variations on that theme? You don't have to read much about security to know that the biggest problem isn't obscure bugs in Internet Explorer, it's social engineering. Promise some technical support (possibly for a problem the victim doesn't know he has), or pay for a few drinks in a bar, and you're in. You've got the password, and whatever data lies behind that password. And even if the victim is a low-level employee without access to anything interesting, getting one password makes the next password infinitely easier to get. Sooner or later, there goes the product plan; there goes the HR database; there goes the customer list.

If a candidate proves that he'll give out his password in an interview, hasn't he proven that he'll give out his password in other situations? Hasn't he proven that he's fundamentally unreliable, fundamentally unable to keep secret information secret? On top of that, it sounds like the practice is particularly common in security-related jobs. Where are employers' brains?

I can see one, and only one, reason for asking for a password in an interview: as an underhanded way to weed out candidates who are unfit for any job requiring any serious responsibility. As soon as a candidate gives you the password, the interview's over, and "don't call us, we'll call you." But I'm not advocating that, either: it's just a bad practice. And if you're a job-seeker: I don't really care how badly you need the job, you don't need that kind of employer.

Related:

March 23 2012

March 07 2012

Four short links: 7 March 2012

  1. Government Agencies and Colleges Demand Applicants' Facebook Passwords (MSN) -- "Schools are in the business of educating, not spying," he added. "We don't hire private investigators to follow students wherever they go. If students say stupid things online, they should educate them ... not engage in prior restraint." Hear, hear. Reminded me of danah boyd on teen password sharing.
  2. Changing Teaching Techniques (Alison Campbell) -- higher ed is a classic failure of gamification. The degree is an extrinsic reward, so students are disengaged and treat classes like gold farming in an MMORPG: the dull slog you have to get through so you can do something fun later. Alison, by showing them a "why" that isn't "6 credits towards a degree", is helping students identify intrinsic rewards. Genius!
  3. GlueJar -- interesting pre-launch startup, basically Kickstarter to buy out authors and publishers and make books "free". We in the software world know "free" is both loaded and imprecise. Are we talking CC-BY-NC-ND, which is largely useless because any sustainable distribution will generally be a commercial activity? I look forward to watching how this develops.
  4. There Is No Simple Solution for Local Storage (Mozilla) -- excellent dissection of localStorage's inadequacies.

February 23 2012

Commerce Weekly: The mobile payment system that's ready now

Here are a few stories that caught my eye this week.

Three reasons why direct billing is ready for its close-up

In a sign that direct billing is gaining credibility beyond the realm of online games and media, WorldPay, a payment network for sellers, said it would add Boku as a method of payment to its system. Direct billing companies like Boku, BilltoMobile, and Bango let people buy things by entering a mobile number online and replying to a confirmation SMS text; the charges show up on their cell phone bills. Execs with these firms often describe them as "banking for the unbanked," but the reality has been that in practice, many of the "unbanked" are online game players who are too young to have bank accounts.

But that seems bound to change. Direct billing has at least three things going for it that make it an attractive option right now for mobile payments.

Boku graphic

The first is the potential user base. The graphic above, from Boku's site, shows the numbers that these services pin their ambitions on. There are two billion credit card accounts in the world, but more than five billion mobile phone accounts. Each of those mobile numbers is a unique identifier that the carrier can identify anytime, anyplace in the world. Compare that to the experience many of us have had where your credit card issuer puts a hold on your account because it is suspicious that you paid for a taxi in Chicago on Tuesday but are now buying lunch in Puerto Rico on Thursday.

Second, PayPal is about to train its millions of mobile customers to pay for things by keying in a mobile number. Its real-world retail pilot at 51 Bay Area Home Depot stores allows users to do just that (or use a PayPal card) to pay for hardware and other real-world goods. PayPal bought Zong, a direct-billing leader, for $240 million in July 2011. It has woven that technology into its suite of customer payment methods, though the process now taps your PayPal account rather than showing up on your mobile phone bill. And that's probably a good thing: One of the things that has held direct-billing back has been the reticence of mobile carriers to go along with a scheme that threatens to anger their subscribers when they open their monthly bills to see totals that are hundreds of dollars more than they spent on telecom services. The direct-billing companies have helped the carriers get over their hesitation by offering them a cut of the charge, much higher than the few percentage points that credit card companies charge for transactions.

The third great thing that direct billing has going for it is that it could allow people to pay for real-world goods now, no matter what kind of mobile phone they have. We've written a lot about NFC wireless as a tap-and-pay solution coming "soon." But so far in the U.S., only a handful of Nexus G users on the Sprint network are able to pay for goods using NFC and Google Wallet. Verizon's decision last December to lock Google Wallet out of its rollout of Samsung's Galaxy Nexus due to "security concerns" made the advent of universal NFC a little less certain. Direct billing, however, works on any mobile phone that supports text messaging. As Boky co-founder Ron Hirson pointed out in a column on Venture Beat last year, the more advanced benefits of a mobile wallet accompany direct billing, and no NFC is required. As Hirson wrote, the real advantage to mobile payments isn't the supposed convenience of tapping your phone compared to swiping a plastic credit card; it's the integration with other apps on the phone for record-keeping, bargain hunting, rewards tracking, financial planning, and the option to go social.

X.commerce harnesses the technologies of eBay, PayPal and Magento to create the first end-to-end multi-channel commerce technology platform. Our vision is to enable merchants of every size, service providers and developers to thrive in a marketplace where in-store, online, mobile and social selling are all mission critical to business success. Learn more at x.com.

Is social commerce not commercial enough?

A Bloomberg story published late last week said Gamestop plans to shutter its Facebook store after disappointing results. The article also noted that over the past year, three prominent retailers — Gap, JCPenney, and Nordstrom — have all opened and closed stores on Facebook, too. The report quoted Forrester Research analyst Sucharita Mulpuru explaining the disconnect that's leading to disappointment:

"There was a lot of anticipation that Facebook would turn into a new destination, a store, a place where people would shop. But it was like trying to sell stuff to people while they're hanging out with their friends at the bar."

The report was noticed, and widely reposted and linked to. A counter-point published by Forbes on the same day appeared to get less attention. In that piece, Wade Gerten, CEO of 8th Bridge, which makes social shopping software, suggested these companies failed because they didn't understand what social commerce (or Facebook commerce) really is. Gerten wrote that it's not about setting up your Facebook page as a checkout stand; that's what your website does. It's more about tapping Facebook's best qualities — sharing, bragging, and asking — to help people discover what you're offering. He cites Ticketmaster and Delta Airlines as two successful practitioners of the art. Neither company attempted to replicate its website's transactional activity within Facebook's walled garden, but each organization used that channel to promote their offerings. So maybe it's not exactly F-commerce but F-marketing?

Meanwhile, with Facebook's ability to push merchandise now slightly tarnished, we look for a new champion. Pinterest is barely on the radar screen, but Forbes' Jeff Bercovici writes that it's already a better place for social commerce. "Pinterest isn't a bar," Bercovici writes, referencing Mulpuru's quote in Bloomberg's story. "It's more like a craft fair where people go to exhibit their wares, check out other vendors' offerings, or do a bit of both."

How to dial a telephone (again)

Our smartphones are so capable, and we're so adept at using them to manage our lives, that it's funny to look back and see that people once needed instruction in the most basic of phone operations: how to dial a number and place a call. But an ancient 10-minute black and white film on AT&T's Tech Channel (embedded below) shows the lengths that "the Bell network" went to in preparing their customers for the switch from operator-assisted calls to dialing systems. Rows of nerdy guys in white shirts and pocket protectors line up to yank out the fuses at the stroke of 12, while other white-shirted guys in another room at the same moment yank out strings that activate the new systems. A model who might have been Lucy's Connecticut neighbor explains some of the basics, like what a dial-tone and busy signal sound like, how to look up a number in the directory, and even how to dial a rotary phone.

Actually, the instructions on how to use a rotary dial phone — "making sure your finger firmly touches the finger stop with each pull of the dial" — are as novel now as they were when this film was produced. My young kids found an old one in their grandparents' house (not in service) and had fun marveling at how this heavy, black analog beast was able to make calls.

Got news?

News tips and suggestions are always welcome, so please send them along.


If you're interested in learning more about the commerce space, check out DevZone on x.com, a collaboration between O'Reilly and X.commerce.


Related:

February 20 2012

February 13 2012

How to create a visualization

Over the last few years I've created a few popular visualizations, a lot of duds, and I've learned a few lessons along the way. For my latest analysis of where Facebook users go on vacation, I decided to document the steps I follow to build my visualizations . It's a very rough guide, these are just stages I've learned to follow by trial and error, but following these guidelines is a good way to start if you're looking to create your first visualization.

Play with your data

I was lucky enough to spend a few hours with Andreas Weigend recently, head of the Stanford Social Data lab. He has nine rules of data, and the first is "Start with the problem, not the data." What struck me about visualizations is that I actually take the opposite approach. I find the only way to begin is to explore what information is available and get a feeling for what stories it can tell.

In my case, we have a Cassandra cluster with information on more than 350 million photos shared on Facebook. I've been running Pig analytics jobs regularly to get a view of what we have in there. One of the reports we generate is a count of how many photos and users we have for particular places:

Data source example
Click to enlarge.

I was chatting with my colleague Chris Raynor about this, and he asked me if we could tell where all the visitors to those places were coming from. This was something that had been at the back of my mind for a long time. Seeing how much information we had on each destination made me realize we had enough data to produce significant and meaningful answers.

When I was learning engineering, one of my favorite case studies was an investigation into an air-traffic control system. Software engineers couldn't understand why fully-computerized control rooms were actually less efficient and safe than more old-fashioned sites. What the researchers discovered was that the old process of passing around and arranging small cards that each represented a plane gave controllers a much stronger awareness of the situation than a screen that didn't require their involvement for tasks, such as handing an aircraft to a colleague. I think the same is true of data. The more time you spend manipulating and examining the raw information, the more you understand it at a deep level. Knowing your data is the essential starting point for any visualization.

Pick a question

Now that I had a rough idea for what I wanted to visualize, I really needed to focus on what I would be doing. The best way to do that is to chose the exact title you want to give your visualization. I actually messed this up on one early map I created, giving the blog post the title "How to split up the US." Everyone subsequently described it as "The Five Nations of Facebook." Since then, I've tried very hard to pick the most natural title for what I'm going to be presenting, and then ensure I can deliver on the promise of the headline.

In this case I had a clear idea of the question at the start, it was going to be "Where do people go on vacation?". However, as I thought about it, I realized it needed to be a lot more specific and concrete. There's already a lot of "top travel destinations" lists out there, so what made mine different? It was the use of Facebook to gather much richer and more detailed information, so I refined it to "Where do Facebook users go on vacation?".

Sketch out your presentation

I now had the data and a question I wanted to answer. The next step was figuring out how to show the information in a visual form. I'm in love with network diagrams showing connections between thousands of objects, but so often they are completely baffling to the rest of the world. I still remember David Cohen threatening to strangle me if I showed him another one of "those damn spider webs" instead of a business plan. However, network diagrams are a good way of hinting at how much data is available for querying; they can really give an idea of the sheer scale of what's there.

One of my favorite recent visualizations was Paul Butler's map of friendships on Facebook, so I decided to use that as a visual reference:

Paul Butler's Visualizaing Friendships visualization
See the full version of Paul Butler's "Visualizing Friendships" visualization.

I borrowed a couple of key ideas from his work: the general color palette of the blue lines on a dark background and the use of great circles to create flowing arcs for all connections.

As I thought about the presentation, I realized that I had to simplify what it would be showing. With sources and destinations plotted all over the world, both the visual look and the querying interface would be overwhelming. Our user-base is primarily American thanks to our reliance on English-only natural language processing, so with that in mind I decided to make life simpler by only showing data from people who lived in the U.S. Accordingly, I changed the question in my title to "Where do American Facebook users go on vacation?".

While I'm mostly presenting this as a linear, waterfall process, what I've just described is a good example of how iterative cycles drive the real workflow. It's hard to know how well a lot of things will work until you try them. As you're still making some progress, don't worry if you find yourself going in circles.

Crunch the data

If you know your data, and you have a good idea of the question you're trying to answer, this should be the simplest stage. You'll hopefully have a clear set of requirements and it's just a matter of executing the right queries over your data.

In this case I already had some Pig scripts asking similar questions, so I was able to adapt one of those. The biggest surprise was when I ran into issues with some of the joins. The hard part was running the Hadoop job to gather the raw data from our Cassandra cluster, and that worked. I was able to output smaller files containing the gathered data, and then run a local Pig job to do the joins I needed.

The next stage was turning the raw information into a form that could be displayed. For example, I needed to take all of the user locations from the unstructured text strings that Facebook gave me, and convert them into latitude-longitude coordinates for plotting on a map. For this sort of work I usually turn to a general-purpose scripting language, and most of Jetpac is already written in Ruby, so that was an easy choice. I wrote a script that walked through the data, using the Data Science Toolkit to match coordinates with names, and then output it into a file containing a JSON array of all the information.

Build an interface

A lot of the best visualizations have no interactivity. They just tell a story with a static image. That's why it's worth considering whether you need an interface at all. I actually had the interactive site that I used to create the "Five Nations of Facebook" visualization up for several weeks before that post, and nobody used it because it was too confusing. It was only when I boiled it down into a single picture with labels that it became a hit.

My problem is that I want other people to have as much fun exploring the data as I've had, so I couldn't resist adding some interaction to the vacation visualization. I still wanted to retain the immediate visual appeal of a static image, so I decided to create a background showing the full data to introduce the visualization at a first glance, and then overlay an interactive foreground once the user started exploring it more deeply.

In most cases you're better off using one of the excellent off-the-shelf visualization frameworks like D3. Since I needed something client-side for interaction, and was working with both geographic and network rendering, I couldn't find anything that met my requirements. Instead I cannibalized one of my own projects, the jQuery component from OpenHeatMap, and combined it with HTML5 canvas rendering to produce a custom JavaScript renderer. I used it to pre-render a background containing all the possible connections between home towns and travel destinations, and saved that off as a static image. That's useful to save rendering time on page load, and lets me fall back to a static visualization on older browsers that don't support Canvas.

Background image of Facebook vacation visualization
Click to enlarge.

I then tied in rendering the connections of any places that the user was hovering their cursor over, so that they could quickly get a feel for the relationships expressed in the data. I also wanted to display the details underlying the picture, so to drill down I added a dialog listing the raw statistics about a place. Users can bring this dialog up by clicking.

Facebook vacation visualization dialog box
Click to enlarge.

One problem with that interaction is that a lot of different cities are in a very small area, so it becomes extremely difficult to pick the one you want with the mouse cursor. To make that a little better, I prioritized the most popular U.S. cities so that in case of a conflict, they're chosen over their smaller neighbors. I realized I also needed to add a search box. Thankfully we're heavy users of Twitter's Bootstrap framework, so it was a simple matter to add a search field and tie it in with Twitter's excellent autocomplete component.

Find the surprises!

I build these visualizations so I can explore them myself, so my favorite part of the whole process is the chance to sit and play with the results. There's always unexpected stories hidden in there, and I love uncovering them. For example, who knew that the city that had the most visitors to Paris was West Hollywood? When I lived in Los Angeles I used to love popping by the wonderful patisseries. Now I know why they're so good! These little details are the stories that catch people's imagination and cause them to spread the word, so think about writing a few of them up to help visitors understand what the page can tell them.

You'll never know whether one of your visualizations will become popular ahead of time, but the real reward is enjoying your own work. I hope this short guide gives you some ideas for visualizations you want to build. I look forward to seeing what you come up with.

See the full Facebook vacation visualization
See the full visualization.

Strata 2012 — The 2012 Strata Conference, being held Feb. 28-March 1 in Santa Clara, Calif., will offer three full days of hands-on data training and information-rich sessions. Strata brings together the people, tools, and technologies you need to make data work.

Save 20% on registration with the code RADAR20


Related:


Reposted bycheg00 cheg00

February 10 2012

Commerce Weekly: Facebook finds a mobile commerce partner

Here are a few items that caught my eye this week.

How will Facebook cash in on mobile?

Facebook logoWith Facebook's public filings ahead of its imminent IPO, we know now that advertising accounted for 83% of its revenue of $3.71 billion in 2011. But we also know that almost none of its revenue came from mobile users — which is a bit of a problem since mobile users are an increasingly large part of Facebook's user base. Facebook members have embraced mobile apps on smartphones and tablets, and Facebook has encouraged their use by developing and releasing apps that deliver a UI experience that is, in some ways, superior to the traditional browser-based interface.

Now, Facebook has to figure out how to make mobile pay. A deal signed this week with mobile payments firm Bango aims to help. Bango provides mobile payment services and direct billing to carriers (like Boku and BilltoMobile), so that the cost of buying things on your mobile shows up on your mobile bill. That seems like a convenient way to buy, and such services have sometimes touted themselves for nobly serving "the unbanked" — even if many of those unbanked are largely American teenagers who use the services to buy virtual goods in games. The drawback is that mobile carriers have been lukewarm to the systems because they worry about customers seeing huge mobile phone bills and complaining or switching, even if what they're seeing is made up of virtual poker chips and Smurfberries. Direct billing services have helped the carriers get over these anxiety by giving them a cut of the revenues much greater than most payment providers get, often as high as 33%.

There's no word yet on how Bango and Facebook will manage payment or what percentage of those payments will go to the telecoms. But we can imagine what goods will be sold: Facebook Credits, as Facebook last year began insisting that mobile game providers sell their virtual goods using only Facebook credits. But I would expect Facebook's position on Credits to evolve as mobile commerce grows on the site. It's one thing to force users to buy Credits so they can be dispensed within social games; it seems unnecessary when consumers are buying a wider range of digital (or physical goods) throughout their Facebook experiences, and a restriction that could limit the potential. As long as the mobile carrier is taking a cut, why couldn't Facebook take a cut as well, without having to force Facebook's virtual currency into the equation?

X.commerce harnesses the technologies of eBay, PayPal and Magento to create the first end-to-end multi-channel commerce technology platform. Our vision is to enable merchants of every size, service providers and developers to thrive in a marketplace where in-store, online, mobile and social selling are all mission critical to business success. Learn more at x.com.

Google Wallet's glitches

Google Wallet is stumbling through some embarrassing growing pains as it comes under the scrutiny of white-hat hackers who are finding and publicizing security flaws. Engineers at Zvelo developed a Google Wallet Cracker app that appears to be able to break Google Wallet's encryption in seconds. Google is working to find a solution for the glitch, which exposes users' Google Wallet PIN numbers on rooted Android phones. Kate Knibbs at Mobiledia writes that the breach "validates Verizon's decision to block Google Wallet on the Galaxy Nexus," due in part to its concerns about security on the Android platform.

Meanwhile, over at TheSmartPhoneChamp.com, there's a video that highlights another security flaw in the phone. Since the Google prepaid account option within Wallet is tied to the device, not a separate Google account, someone who finds the device can open the Wallet app, clear the data, and then re-launch the app. Although the "new owner" will need to enter a PIN, the old prepaid Google account is still tied to that smartphone. I'm not certain how big a hole this is because I have no idea how much people store on their prepaid accounts — though I would hazard a guess it's not more than $300. All right, so nobody wants to lose $300, but it's not like being upside down on your mortgage.

Add to these issues the growing awareness that malware and crapware are a problem on the mobile side. To fight the malware problem, Google developed Bouncer, a program that scans for malware and spyware on Android apps. To keep out known troublesome apps, the service performs a malware and spyware scan on all submitted material. It also uses behavioral analysis to determine if a given app is trying to do something suspicious. Google doesn't stop there; it also performs fraud and abuse detection to ban and remove malware writers posing as legitimate developers. Google says it's already deployed the service and has seen a 40% drop in "potentially malicious downloads" thanks to it.

What would you buy with a QR code?

PayPal has launched a pilot with "shopping walls" in subway stations in Singapore, where you can purchase stuff by snapping a pic of the QR code while using a PayPal app on a smartphone (see a shopping wall in action here). It looks like a swell way to get some of your Valentine's Day shopping done while you're waiting for the Circle Line. Another nifty experiment would be ordering dinner from a shopping wall while waiting for your train in one station, so that it would be ready for you when you exit another. Snap the QR codes of the meals you want and checkout with PayPal. The system could even be smart enough to know when you'll pick it up, based on the station you ordered from. And there's no question of the food going to waste: The restaurant has your money and your mobile number.

That's my idea — and I freely admit that it's just because I'm late for dinner. Let me know if you've seen anyone selling meals or other interesting items via QR codes.

Got news?

News tips and suggestions are always welcome, so please send them along.


If you're interested in learning more about the commerce space, check out DevZone on x.com, a collaboration between O'Reilly and X.commerce.


Related:

February 02 2012

Four short links: 2 February 2012

  1. Beautiful Buttons for Bootstrap -- cute little button creator, with sliders for hue, saturation, and "puffiness".
  2. CMU iPad Course -- iTunes U has the video lectures for a CMU intro to iPad programming.
  3. Inspiring Matter -- the conference aims to bring together designers, scientists, artists and humanities people working with materials research and innovation to talk about how they work cross- or trans-disciplinarily, the challenges and tools they've found for working collaboratively, and the ways they find inspiration in their work with materials. London, April 2-3.
  4. Facebook's S-1 Filing (SEC) -- the Internets are now full of insights into Facebook's business, for example Lance Wiggs's observation that Facebook's daily user growth is slowing. While 6-10% growth per quarter feels like a lot when annualized, it is getting close to being a normal company. Facebook is running out of target market, and especially target market with pockets deep enough to be monetised. But I think that's the last piece of Facebook IPO analysis that I'll link to. Tech Giant IPOs are like Royal Weddings: the people act nice but you know it's a seething roiling pit of hate, greed, money, and desperation that goes on a bit too long so by the end you just want to put an angry chili-covered porcupine in everyone's anus and set them all on fire. But perhaps I'm jaded.

January 24 2012

January 13 2012

Visualization of the Week: Visualizing your friends' Facebook likes

What do your Facebook friends have in common? (Well, other than all being your Facebook friend, of course.) What "likes" do they share?

Tony Hirst, a lecturer in the Department of Communication and Systems at The Open University, built a visualization that shows this connective data. He's also a written a step-by-step guide on how he constructed the visualization with Google Refine and Gephi.

Sketching common likes amongst my facebook friends

The result is a network diagram of what Hirst's friends commonly "like." He notes:

"Rather than returning likes, I could equally have pulled back lists of the movies, music or books they like, their own friends lists (permissions settings allowing), etc, etc, and then generated friends' interest maps on that basis."

Found a great visualization? Tell us about it

This post is part of an ongoing series exploring visualizations. We're always looking for leads, so please drop a line if there's a visualization you think we should know about.

Strata 2012 — The 2012 Strata Conference, being held Feb. 28-March 1 in Santa Clara, Calif., will offer three full days of hands-on data training and information-rich sessions. Strata brings together the people, tools, and technologies you need to make data work.

Save 20% on registration with the code RADAR20

More Visualizations:

Four short links: 13 January 2012

  1. How The Internet Gets Inside Us (The New Yorker) -- at any given moment, our most complicated machine will be taken as a model of human intelligence, and whatever media kids favor will be identified as the cause of our stupidity. When there were automatic looms, the mind was like an automatic loom; and, since young people in the loom period liked novels, it was the cheap novel that was degrading our minds. When there were telephone exchanges, the mind was like a telephone exchange, and, in the same period, since the nickelodeon reigned, moving pictures were making us dumb. When mainframe computers arrived and television was what kids liked, the mind was like a mainframe and television was the engine of our idiocy. Some machine is always showing us Mind; some entertainment derived from the machine is always showing us Non-Mind. (via Tom Armitage)
  2. SWFScan -- Windows-only Flash decompiler to find hardcoded credentials, keys, and URLs. (via Mauricio Freitas)
  3. Paranga -- haptic interface for flipping through an ebook. (via Ben Bashford)
  4. Facebook Gives Politico Deep Access to Users Political Sentiments (All Things D) -- Facebook will analyse all public and private updates that mention candidates and an exclusive partner will "use" the results. Remember, if you're not paying for it then you're the product and not the customer.

January 02 2012

Four short links: 2 January 2012

  1. What Americans Keep Ignoring About Finland's School Success (The Atlantic) -- Accountability is something that is left when responsibility has been subtracted. This is a magnificent article, you should read it. (via Juha Saarinen)
  2. impress.js (github) -- MIT-licensed Prezi-like presentation tool, built using CSS3 3d transforms. I've never been happy with the Prezi because I fear data lock-in. This might be a way forward. (via Hacker News)
  3. Facebook Offers Debit Cards to White Hat Hackers (CNet) -- paying vulnerability bounties without handing out cash. I figure it's the start of a loyalty program. Will Facebook learn what the hackers spent the money on? Interesting possibilities opened up here.
  4. Green Goose -- interesting startup selling consumer sensor hardware. My intuition is that we're platforming too soon: that we need a few individual great applications of the sensors to take off, then we can worry about rationalising hardware in our house. The biggest problem seems to me that we're talking about "sticking sensors on milk cartons" rather than solving an actual problem someone has. ("There are no sensors on my milk cartons" is not an oft-heard lament)

December 21 2011

Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.