Eyes East

feed icon Subscribe / Latest posts / Latest links / Get in touch / About

"Data Is the New Soil"

August 31, 2010 at 10:56 a.m.

... and we are just learning how to till it on the web.

David McCandless turns complex data sets (like worldwide military spending, media buzz, Facebook status updates) into beautiful, simple diagrams that tease out unseen patterns and connections. Good design, he suggests, is the best way to navigate information glut -- and it may just change the way we see the world.

My favorite is the "mountains out of molehills" chart of unreasonable fears.

(via Flowing Data)

Read more...

Lessons from Covering the Gulf Oil Leak

July 7, 2010 at 2:56 p.m.

Cross posted at MediaShift

The oil spill in the Gulf of Mexico has lasted more than two months now. It is the worst spill in US history, and it is likely to continue until at least August. And in covering it, the NewsHour has broken every traffic record it ever had.

So, what have we learned here?

(Quick note: A lot of the thinking behind this post comes from a debriefing at work with my colleagues Vanessa Dennis, Travis Daub and Katie Kleinman, and from conversations about the spill and our coverage with other people in and out of the ...

Read more...

Oil in the Gulf

May 24, 2010 at 11:12 a.m.

By now, I'm pretty sure anyone who reads this blog has seen the widget the PBS NewsHour launched a few weeks ago. Those ticking numbers have been embedded on dozens of websites, bringing thousands of new visitors our site.

So it's probably worth mentioning up front that at first, I thought building this thing was a bad idea. I thought it was gimmicky, and that it assigned specificity where there was none. I argued that any number we pick as the rate of spillage was almost guaranteed to be wrong, since the government, BP and outside experts were ...

Read more...

Dual tracking

April 8, 2010 at 4:13 p.m.

Columbia University will soon offer a new dual masters degree in journalism and engineering, with the goal of cranking out more programmer-journalists, Wired reported yesterday.

This is good. It builds on the success of Medill's Knight-funded experiment offering scholarships to software developers to learn journalism. That's to be lauded.

But... (you knew there was a "but" coming)

Those getting dual degrees shouldn't be the only journalists hanging out with computer scientists. The problem isn't just a lack of reporters who can code, but a shortage of people in the newsroom who know what's possible.

I ...

Read more...

My Django Setup

April 7, 2010 at 2:56 p.m.

I picked up my old MacBook from the Apple Store with a new, bigger, and spotless, hard drive, with a fresh install of Leopard.

Time consuming as it is to set up a computer from scratch, it's actually something I'd been meaning to do. The death of my old hard drive just forced me to do so sooner, and a little less gently than I might have liked. But it is nice starting from scratch.

With that in mind, I decided I should set up my development environment the Right Way: with code sandboxed as much as possible ...

Read more...

Mobilized.

March 30, 2010 at 8:35 p.m.

It looks like I've lost another hard drive. Thankfully, I don't think there was anything irreplaceable on this one: a few photos that weren't Flickr-worthy, lots of podcasts, maybe one bit of entirely replaceable code I hadn't pushed to a remote repo yet. 

But it means I'm without laptop for a few days. And I have a new iPhone. So I think it's high time I see what the future of the web looks like, because from where I'm sitting now (on DC's Yellow Line, somewhere under the city) the future looks ...

Read more...

Google.cn Goes Dark

March 22, 2010 at 10:27 p.m.

In January, Google revealed that hackers had launched ambitious attacks on the company and its properties. The attacks came from China, it said, and some targeted the Gmail accounts of Chinese human rights activists.

At the time, it said this:

These attacks and the surveillance they have uncovered--combined with the attempts over the past year to further limit free speech on the web--have led us to conclude that we should review the feasibility of our business operations in China. We have decided we are no longer willing to continue censoring our results on Google.cn, and so over the next ...

Read more...

We Are What We've Built

March 21, 2010 at 2:59 p.m.

The Atlantic seems to be settling into its new site, despite a rocky relaunch. James Fallows is blogging again, and Andrew Sullivan and Jeffrey Goldberg are back to disagreeing over Israel and Palestine, instead of the nuances of web design and information architecture. As far as I can tell from the limited vantage point of my feed reader, things are getting back to normal.

But the brief turbulence that followed the relaunch of the rebuilt and redesigned site was interesting in the ways it failed. By most accounts, it did what it was meant to do: the diverse group of ...

Read more...

Django Recipe: A template for any blog post

February 13, 2010 at 8:08 p.m.

One more quick code recipe before I jump back into the Journalism to Django series. In my last post, I mentioned that I set up permalinked paragraphs on a couple recent entries, using a different technique on each one. You might be wondering how I did that.

This is documented, but it took me a while before I realized how simple it is. The key is Django's get_template and select_template functions, which are part of the template system. Get template takes a string and gets a template. Select template chooses the first one that matches from a list or ...

Read more...

JavaScript Recipe: Adding Paragraph-level Permalinks

February 12, 2010 at 5:24 p.m.

Paragraph-level permalinks are hot, right? Let's do this in JavaScript, just for fun.

Remember from my last post that all you need is a block of HTML and something to parse it with? This is pretty much what JavaScript was made to do.

var entry = document.getElementById('entry-text');
var paras = entry.getElementsByTagName('p')

Assuming you have a div with id="entry-text", we've just grabbed every paragraph below it and created an array called paras. Simple enough.

Now, like we did with Python and Beautiful Soup, we're just going to loop through that list of paragraph elements, add ...

Read more...

Python Recipe: Adding Paragraph-Level Permalinks

February 11, 2010 at 9:06 p.m.

I mentioned in my last post how useful Ben Welsh's code recipe's are. Count this post as my effort to encourage the practice among coding journalists.

Since launching the NewsHour's Annotated State of the Union, I've gotten a few questions about how it worked, particularly about linking comments to paragraphs. What's needed is paragraph-level permalinks. As it turns out, that's pretty easy to do.

The first thing you'll need is a block of clean HTML. Then, you'll need something that can parse and modify that HTML. Fortunately, tools abound.

Doing it server ...

Read more...

Journalism to Django, Part Two: Required Reading

February 7, 2010 at 12:34 a.m.

So, you've gotten the hang of HTML and CSS. You can install Wordpress in five minutes, and you're comfortable mucking with templates. Or you get databases and it's time to get them on a web. Or you read my last post and feel ready for the next step.

Starting Points

At this point, take a look at the Django Book.

You can learn Django and Python at the same time (I did, as have others). But it is worth getting the hang of Python a bit first. Take some time and go through Think Python. It's ...

Read more...

Footnotes on the State of the Union

January 28, 2010 at 10:51 p.m.

Last night the NewsHour went all-in covering State of the Union. We had on-air analysis, video from the Capitol and coverage on our new blog, and a new app to annotate the speech as it happened.

The Analyzer (I can never think of clever names for my apps; this is what everyone here calls it) is built in Django, with a lot of help from jQuery. From pitch to launch took exactly a week, including a working weekend.

The app is built around two main models: Speeches and footnotes. Every footnote is tied to a speech and indexed to a ...

Read more...

From Journalism to Django, Part One: Prerequisites

January 26, 2010 at 10:26 p.m.

Programming is hard.

There's no way around it: Learning to make a computer do things means learning a new form of expression. It is not, in some ways, all that different from learning a spoken language.

But it's also fun in an addictive sort of way. It's like telling your Legos to build themselves. When things start to click, massive problems begin to break apart into a long series of eminently squashable bugs.

Before you start learning Django, a few things I recommend brushing up on:

  • (X)HTML: This is, after all, a framework for building web ...

Read more...

Why Django

January 12, 2010 at 10:37 p.m.

As of this month, I'll have been using Django for two years, and using it professionally for a year. That's a strange thing to think about, because I still have a hard time calling myself a "programmer" (though "web developer" feels easier, for some reason). I am, after all, a politics major with zero formal training in computer science. Yet here we are.

Over the past few months, friends have started asking me about my favorite framework: How'd I get started? Is it as good as the hype? Can I, or should I, learn it?

Well...

Why ...

Read more...