Friday, May 25, 2007
That may be changing soon. Ren Ng of Stanford University was awarded the 2006 ACM Doctoral Dissertation Award for his work on Digital Light Field Photography. Ren and his colleagues at the Stanford Graphics lab built a digital plenoptic camera, described in the tech report "Light Field Photography with a Hand Held Plenoptic Camera". A plenoptic camera is
...a camera that samples the 4D light field on its sensor in a single photographic exposure. This is achieved by inserting a microlens array between the sensor and main lens, creating a plenoptic camera.
This microlens array is analogous to an insect's compound eye.
Each microlens measures not just the total amount of light deposited at that location, but how much light arrives along each ray. By re-sorting the measured rays of light to where they would have terminated in slightly different, synthetic cameras, we can compute sharp photographs focused at different depths. ... we demonstrate that we can also compute synthetic photographs from a range of different viewpoints.
And that allows one to refocus the image even after one has taken the picture! You can see examples of refocused images if you follow the above link to the tech report. Utterly fascinating stuff! Ren is now at a startup called Refocus Imaging that is commercializing these ideas.
Wednesday, May 23, 2007
But one aspect of the show is a little unfortunate: torture is used routinely to try and extract critical information from the (obviously) bad guys. This aspect of of 24 was brought up in the recent Republican presidential primary debate; see op-eds by Rosa Brooks in the LA Times and Paul Krugman in the NY Times (TimesSelect subscription required for the latter) for some perspectives on this.
All this raises the question: is torture justified in these situations? With a strong negative answer we have General David Petraeus, the commander of the Multi-National Force in Iraq. Recently he wrote an open letter to the troops arguing for the adherence to our values. Here is his central argument against torture:
Some may argue that we would be more effective if we sanctioned torture or other expedient methods to obtain information from the enemy. They would be wrong. Beyond the basic fact that such actions are illegal, history shows that they also are frequently neither useful nor necessary. Certainly, extreme physical action can make someone "talk;" however, what the individual says may be of questionable value. In fact, our experience in applying the interrogation standards laid out in the Army Field Manual ... shows that the techniques in the manual work effectively and humanely in eliciting information from detainees.
We should remember this whenever we begin to think, like the characters in 24, that we have a situation where torture is justified.
Saturday, May 19, 2007
...and there is only one way to do that: get the price of oil right. Either tax gasoline by another 50 cents to $1 a gallon at the pump, or set a $50 floor price per barrel of oil sold in America.
Introducing a direct gas tax is politically very challenging. A $50 floor on the price of oil is much more intriguing. Since the price of oil is currently well above this value, it may be more palatable to levy this tax---the tax doesn't actually kick in until the price of oil falls below $50. The likely payoff from such a tax is:
Once energy entrepreneurs know they will never again be undercut by cheap oil, you’ll see an explosion of innovation in alternatives.
Talk of a $50 floor price reminds me of a great talk by Vinod Khosla. Khosla has become a very strong proponent of the use of ethanol in cars. He makes a very persuasive case for why this isn't just possible, but is actually quite probable. First, Brazil has already made such a transition: all cars run on any mix of gas and ethanol, and fuel pumps dispense both gas and ethanol; drivers can make the choice based on price. Second, a variety of different interests seem to agree on ethanol:
- The agriculture lobby (like ADM), loves ethanol---it gives their crops a huge market (in the US corn is currently used to make ethanol; more on this below).
- The defense establishment believes that ethanol can provide energy security by weaning the US away from its dependence on Middle East oil.
- Environmentalists (apparently) prefer burning ethanol to gasoline.
- Domestic car companies may prefer cars that burn both ethanol and gasoline ("flex fuel"). On the one hand it costs very little to retrofit today's cars to burn ethanol or gas (I remember him saying its about $25 per car). On the other hand, companies like GM are feeling that they've lost the hybrid battle to Toyota. They want their own "green" marketing message, and ethanol may provide just what they need. (I wonder if this argument has weakened in the year since I heard Khosla, since now I hear more about hybrids and less about flex fuel.)
One important note: generating ethanol from corn (the dominant strategy in the US) is not the best strategy for a variety of reasons (including cost and the amount of energy required for generation). Brazil generates ethanol from sugarcane, a much better method. But import tariffs prevent Brazilian ethanol from competing with US ethanol. Khosla was suggesting an alternate source: native plants like switch grass can be converted into ethanol. The technology isn't quite there to do this, but Khosla has great faith in the power of technology to overcome such hurdles.
Which brings me to the last point: Khosla Ventures is investing in a big way in ethanol, so he clearly has some conflict of interest. Nonetheless, he painted a compelling vision of the role of ethanol. It'll be interesting to see how the ethanol story plays out and how it compares to other sources of energy such as solar and nuclear.
Friday, May 18, 2007
... sleepy, scientific arbitration hearing turned into a pulp-fiction blockbuster Thursday, replete with revelations of sexual abuse, allegations of a threatening phone call and even a Donald Trump-style firing.
It came courtesy of Landis' fellow American Tour de France champion Greg LeMond, who disclosed he had been sexually abused as a child and received a call Wednesday from Landis' manager who threatened to reveal the secret if LeMond showed up to testify.
Shortly after LeMond dropped his bombshells, the manager, Will Geoghegan, walked up to LeMond, apologized and admitted he made the call, LeMond said. Which led to "You're fired" - the message Landis' lawyer, Maurice Suh, gave to Geoghegan while they were still standing in the hearing room.
Talk about courtroom drama! Its almost as compelling as the crucial courtroom scenes in a Perry Mason episode or the final courtroom scene in Witness for the Prosecution...! (Well, maybe not, but it does sound pretty dramatic!)
Wednesday, May 16, 2007
James Kakalios observes that the movie "...often correctly display the fascinating properties of granular materials." In particular,
When Sandman changes his torso into a lightly packed state, Spider-Man’s ... blows futilely pass through Marko. Sandman then hardens the grains in his own hands into a rigid, close-packed state to strike Spider-Man with fists as hard as rocks.
Apparently scientists have done extensive studies of the properties of different packings of granular material. Isaac Newton may have used these studies for financial gain from his apple orchards:
For example, random pouring [of apples] fills an apple barrel to the rim, but inefficiently. Mechanical vibrations cause the apples to adjust their positions, filling open gaps and moving closer together. Barrels topped off at the orchard are thus only partly filled when they arrive at the market.
So Newton apparently used his insights for more than explaining why the moon falls just like an apple!
Fascinating things happen when you have grains of different sizes:
If you put both large and small beads in a cylinder, tip it on its side and rotate it around its horizontal axis, the contents will spontaneously segregate into alternating bands of large and small beads, like rings on a finger.
James Kakalios is the author of a book with the fascinating title of "The Physics of Superheroes"! One reviewer gives five stars with a review titled "Why can't all physics professors be like this?" I've got to put this book on my reading list!
Friday, May 11, 2007
Einstein's theory of general relativity provides us with an unparalleled understanding of the universe at the largest scale---at the scale of stars and galaxies and clusters of galaxies. Quantum mechanics provides an unparalleled understanding of the universe at the smallest scale---at the scale of molecules and atoms and sub-atomic particles. Over the last century, scientists have verified the predictions of these theories with unimaginable accuracy. These are truly the two most successful theories of modern physics. There's only one small fly in the ointment: the two theories are incompatible. As currently formulated, they cannot be both right. They conflict when trying to explain what happens at a singularity, such as in a black hole or at the very beginning of the big bang.
String theory resolves this incompatibility. My naive understanding is that string theory does away with the point nature of the fundamental building blocks of matter, and thus eliminates the need to reason about singularities. In fact, within string theory, general relativity and quantum mechanics require one another for the them to make sense.
It's been a while since I read The Elegant Universe, so I can't provide a decent review. But I will say that Part II of the book---which explains general relativity, quantum mechanics, and their incompatibility---is a really great read. It alone is worth the price of admission. Section III---which introduces string theory---was my first introduction to string theory, and it's really well done. Section IV covers more advanced material, and I remember being somewhat lost.
All in all, I highly recommend this book.
Thursday, May 10, 2007
Without the Higgs, physicists have no way to explain why fundamental particles weigh anything at all, since, according to theory, they should be massless.
The Higgs boson is a "massive" particle and requires enormous energies to be created. The Large Hadron Collider (LHC) is able to accelerate protons up to 99.9999991% of the speed of light around a circular tunnel with a 17 mile circumference. This corresponds to the protons having an energy of 7 TeV (tera electron volts), and the resulting collisions should have enough energy to create the Higgs. In addition:
It may also be enough to uncover much more than the Higgs. Depending on how the universe is constructed, extra dimensions, mini black holes, and the source of so-called “dark matter” may all be revealed ...
All very esoteric and cool! (We are assured that the mini blackholes will be "...entirely benign..."!)
The engineering of the LHC is equally remarkable. It uses superconducting magnets to keep the protons on the circular path. These magnets are cooled to -271.25 Celsius---that's 0.10 degrees above absolute zero! There are four sets of detectors around the track, each set developed by a different team of scientists. These are supposed to detect any trace of the Higgs and these other esoteric byproducts of the collision. The data analysis task to actually identify these byproducts is equally daunting ("...like finding a needle in a needle factory").
The LHC is very expensive: some $8 billion. Funding of this sort is hard to come by for ventures with no practical implications. So there is a lot riding on its success. Kolbert ends her article with:
The promise of the Large Hadron Collider is thus also its great burden. A truly astonishing discovery there—proof, say, of extra dimensions, or of something even weirder than that, which theorists have yet to conceive of—would provide a powerful impetus to keep particle physics going for another generation. Barring a breakthrough, it’s hard to imagine how the project can continue. Such an outcome would not mean that the fundamental order of the universe is unknowable. But it might well mean that we will never know it.
Sunday, May 6, 2007
HD-DVDs are encrypted to prevent copyright violations (a form of Digital Rights Management, or DRM). Needless to say, someone broke this encryption and published the key needed to decrypt HD-DVDs. Cory Doctrow, a Boing Boing writer, published this key on a class blog hosted on Blogger. Google was then served a DMCA notice by the industry-backed AACS to remove this blog entry, claiming that the key was protected by copyright. Google had to comply.
Doctrow then wrote another blog entry explaining what had happened with a pointer to a site that encouraged people to spread the key. That site became popular on Digg, a community-based site that ranks popularity of pages. But Digg was also asked to remove references to the key from their site by another DMCA notice. Users of Digg were upset by this and started "digging" other articles about this key in large numbers. Digg couldn't keep up with all the "digging", and certainly couldn't remove all the "offending" posts. On that day Digg's site was intermittently down from all the traffic! Finally, Digg listened to its users and agreed not to delete any more stories about the key from its site and instead fight the AACS over these DMCA notices. At least for the time being, the Davids (Digg users) beat out Goliath (the AACS).
These events reminded me of a very fine talk that Cory Doctrow gave at Microsoft Research on DRM. I highly recommend you read the transcript of this talk. The following is the outline of the talk:
- That DRM systems don't work
- That DRM systems are bad for society
- That DRM systems are bad for business
- That DRM systems are bad for artists
- That DRM is a bad business-move for MSFT
Technology that disrupts copyright does so because it simplifies and cheapens creation, reproduction and distribution. The existing copyright businesses exploit inefficiencies in the old production, reproduction and distribution system, and they'll be weakened by the new technology. But new technology always gives us more art with a wider reach: that's what tech is *for*.
Copyright and DRM are enormously important issues in this digital age. This talk will help you form (or refine) your opinion on them.
And this Cinderalla story has its very own made-for-Hollywood hero---a case of truth imitating fiction, perhaps? Today's Mercury News had a front page article on the Hollywood story of Baron Davis, the Warriors star:
Tough kid grows up in an even tougher part of South-Central Los Angeles, supported by a beloved grandmother. He lands a scholarship at an exclusive high school, where he mingles with kids of the rich and famous. He goes on to star at UCLA and make a name for himself in pro basketball.
Then come the setbacks. Injuries. Losing. Whispers that he's headstrong, melodramatic, uncoachable.
But he silences the critics by leading a misfit-filled squad to a stunning upset of the NBA's best team - playing the final game virtually on one leg because of an injury. In the last scene, his arms are stretched high as confetti falls and he's drenched in cheers.Move over Rocky!
Now lets see how long this ride lasts, as the Warriors take on the Utah Jazz in the second round.
Saturday, May 5, 2007
The top level impression one gets from McCain is that he's running on the war platform. He wants to defend the US militarily, economically, and in every way possible (e.g., in the war of perception and ideas). He's going to use his military background (which is, of course, very impressive) to bolster his position as the best to be commander-in-chief. He said that for the US to lead the world, it has to regain some of the luster that it has lost over the last several years---you can't torture prisoners, you can't kidnap people and send them to other countries for interrogation (called "rendition", I think) , you can't have Guantanamo, ...
A second impression I get is McCain wants to run on a platform of optimism---the idea that we can win out over any hurdles. He said he was inspired by Reagan, the master of optimism.
This aspect of McCain appeals to the gut; it sounds good and it helps inspire. But by themselves, it's not clear what he'd actually do about it. The rest of the conversation focused on more specifics.
Eric asked McCain to talk about the unpopular war in Iraq. McCain has been critical of the way the war has been prosecuted by the administration to this point, so why does he think that the surge will work? McCain said that it wasn't just about having more troops, but that the strategy on the ground had changed---something about holding secure environments rather than withdrawing once an area was made secure (and thereby letting the insurgency get back). He didn't say much more about this, but instead went on to argue that if we withdraw now that things will be much worse than they are---worse for the US and worse for Iraq's neighbors. He argued that Iraq's neighbors need to help stabilize Iraq.
I remained unconvinced that the surge itself will succeed. But his point about working with Iraq's neighbors to stabilize Iraq is an important one. However, he didn't go into much detail on how he'd get the support of these neighbors.
Eric then asked him about Iran: does any behavior by Iran warrant war? McCain had a simple answer: Iran cannot have nuclear weapons. He said the fear is not that Iran would use nuclear weapons, but rather that it would arm a terrorist organization with nuclear weapons. That's a good point and its worth thinking about. He went to pains to point out that most of the people in Iran are actually sophisticated, cultured, educated, etc.
Eric then asked McCain to outline his major domestic priorities. McCain said he had two: climate change and spending.
Climate change as a priority was interesting. I don't know how much of this was simply pandering to the Google audience, and how much he truly believes. It'll be interesting to see what he says about climate change over the next year and half to see if this is truly a priority. McCain was quite critical of the Bush administration on its handling of climate change. He said we have to reduce greenhouse gas emissions. He referred to a a recent report by some retired military personnel that climate change is a significant security threat. I don't know what report he's referring to, but given his defense focus, maybe this report was the tipping point for him.
On spending, McCain railed against pork barrel spending ($200+ million for a bridge in Alaska to an island of 50 people...). He said that such pork-laden bills are a direct cause of corruption. He promised to veto the first pork-laden bill that crosses his desk. I think one can believe him on this.
An interesting point on his domestic priorities. Maybe he wanted to highlight only these two items and not provide a laundry list. But it was striking that things like education and health care did not make it to this list.
Eric then threw the floor open to the audience for questions. Here's a sample of the questions.
Q: Why should we be Republicans?
McCain gave a short crisp definition of what it means to be Republican. He said that Republicans are about less government, less taxes, strong defense, a strong foreign policy, less regulation, and a government closest to the people (not clear what the last point means). Republicans also want to spread freedom and democracy all over the world. (I'm not sure all conservatives will agree with this point.)
Q: Why does the genocide in Darfur continue and why haven't we done anything about it?
McCain has apparently written about the genocide in Rwanda, and thus should be quite sensitive to the catastrophe in Darfur. He acknowledged that we haven't done enough. He said there were a lot of different difficulties with doing something. His approach would be to call on capable African states to go in and stop the genocide with logistical help from the US. He would only consider sending in US troops if he was convinced that it would be beneficial. He bemoaned the fact that we don't see Darfur daily on the evening news.
Given that he has written about genocide and he has some ideas to help the situation, I'm surprised he hasn't done more about it in his position as an influential US Senator.
Q: You took a courageous stand on religious extremism in the 2000 elections. Have you changed your stand on this now?
This question refers to McCain speaking at Jerry Falwell's university (?). McCain said he believes in reconciliation---Falwell apparently came to him and McCain was more than willing to engage in a dialog.
I don't know what's really going on here: is it really about reconciliation or simply politics. But reconciliation and talking with people with whom you have fundamental disagreements is a very good idea, specially in foreign policy.
Q: What is your position on the discrimination that atheists face?
McCain himself is a man of faith, and so disagrees with the atheist's beliefs. But he was very clear about saying that he would support no public policy that discriminates against them.
Q: The "don't ask don't tell" policy towards gays in the military is discriminatory and leads to qualified individuals being asked to leave the military (e.g., Arabic language experts). A Zogby poll suggests that 70% of the military is quite comfortable with having gays in the military.
McCain said that he listens to military leaders who tell him that the policy is working and that openly gay members of the military would significantly damage morale. Until his military leaders tell him otherwise, he's comfortable with the status quo.
There's much more, and you can watch it all in the video link at the top of this post. The bottom line is that McCain is very much about the war and about appealing to ones gut. He comes across as a straight talker. But he didn't go into a lot of detail on exactly what he'd do on many of the issues---he's no policy wonk---and his domestic agenda seems limited.
On a lighter note, I have to share one of his jokes. He said that after the South Carolina primary in 2000 (where he lost after being the target of various unseemly tactics) he slept like a baby: ... sleep 2 hours, wake up and cry, sleep 2 hours, wake up and cry, ...!
Wednesday, May 2, 2007
Tuesday, May 1, 2007
If there was one thing above all else that David taught us, it was to be skeptical of official accounts, to stay always on guard against the lies, fabrications, half-truths, misrepresentations, exaggerations and all other manifestations of falsehood that are fired at us like machine-gun bullets by government officials and others in high places, often with lethal results.
He goes on to illustrate these kinds of lies, fabrications, and half-truths in the context of the recent Congressional hearings regarding Pat Tillman and Jessica Lynch. It is indeed sobering to think that such lies, fabrications, and half-truths are part of business as usual even in a country with as free a press as the US.
In this age of spin doctoring, do you think a government that simply tells the plain unvarnished truth could succeed?
But big candy and food makers such as Hershey and Nestle are lobbying the Food and Drug Administration to let them substitute vegetable oil and whey for two of chocolate's key ingredients and still call their products "chocolate."
Vegetable oil is cheaper than cocoa and whey is cheaper than milk. Of course, these big manufacturers can already do this. But the FDA requires them to call such products "chocolate-flavored"! What's this world coming to? Al-Qaeda, Darfur, global warming, and now this? No "milk" in "milk chocolate"?!