July 02, 2005

What Are the Limits of Conventional Computing?

For their 125th anniversary Science magazine asked the Top 25 science questions, one of which is in my area of expertise. That question is:  What Are the Limits of Conventional Computing?.

At first glance, the ultimate limit of computation seems to be an engineering issue. How much energy can you put in a chip without melting it? How fast can you flip a bit in your silicon memory? How big can you make your computer and still fit it in a room? These questions don't seem terribly profound.

Unless of course, you've actually been involved like I have in semiconductor design. It always amazes us that any of this stuff works. With time, the physics gets nastier and nastier. When I started my career we were designing 4 micron gates (the distance measured here are the length of the gate of the transistor). Now we are working on 90 nm gates and next year it will be 65 nm. We now have to worry about capacitance, resistance, inductance, setup times, hold times, on chip variation, power consumption, crosstalk avoidance, electromigration, latch up, charge antennas, planarization, leakage, and electrostatic discharge (and these are just the ones I can think of off the top of my head).

In fact, computation is more abstract and fundamental than figuring out the best way to build a computer. This realization came in the mid-1930s, when Princeton mathematicians Alonzo Church and Alan Turing showed--roughly speaking--that any calculation involving bits and bytes can be done on an idealized computer known as a Turing machine. By showing that all classical computers are essentially alike, this discovery enabled scientists and mathematicians to ask fundamental questions about computation without getting bogged down in the minutiae of computer architecture.

This is true. In fact, the basic architecture of a computer has not fundamentally changed since Turing described binary digits, von Neumann developed automata theory, and Shannon developed information theory before and during World War II.

For example, theorists can now classify computational problems into broad categories. P problems are those, broadly speaking, that can be solved quickly, such as alphabetizing a list of names. NP problems are much tougher to solve but relatively easy to check once you've reached an answer. An example is the traveling salesman problem, finding the shortest possible route through a series of locations. All known algorithms for getting an answer take lots of computing power, and even relatively small versions might be out of reach of any classical computer.

Mathematicians have shown that if you could come up with a quick and easy shortcut to solving any one of the hardest type of NP problems, you'd be able to crack them all. In effect, the NP problems would turn into P problems. But it's uncertain whether such a shortcut exists--whether P = NP. Scientists think not, but proving this is one of the great unanswered questions in mathematics.

First some definitions. P stands for polynomial time and NP stands for non-deterministic polynomial time. It is really, really important to find an order P solution. Given a fast enough traditional computer, this can be solved in reasonable time. An NP complete problem is in essence unsolvable for a computer. To see how many problems are probably NP complete check out this non-exhaustive list. If a mathematician can show P equals NP or P does not equal NP, it will be an instant Fields Medal for such an individual.

If it is the latter we may need to abandon the von Neumann architecture that has served us so well. But, how would we do that?

But there is a realm beyond the classical computer: the quantum. The probabilistic nature of quantum theory allows atoms and other quantum objects to store information that's not restricted to only the binary 0 or 1 of information theory, but can also be 0 and 1 at the same time. Physicists around the world are building rudimentary quantum computers that exploit this and other quantum effects to do things that are provably impossible for ordinary computers, such as finding a target record in a database with too few queries. But scientists are still trying to figure out what quantum-mechanical properties make quantum computers so powerful and to engineer quantum computers big enough to do something useful.

By learning the strange logic of the quantum world and using it to do computing, scientists are delving deep into the laws of the subatomic world. Perhaps something as seemingly mundane as the quest for computing power might lead to a newfound understanding of the quantum realm.

The reason why quantum computing could be so powerful is the difference between a bit and a qubit. A qubit consists of multiple entangled quantum states. A bit can be 0 or 1. A qubit consists of superpositions of whole binary strings.  Thus we can do things in parallel which we are currently doing serially. One of the current challenges is maintaining what is know as coherence. Coherence can be lost by observing the state of a qubit as a result of the Heisenberg Uncertainty Principle.

The first half of my career has been marked by doing the same thing but making it smaller and smaller, and faster and faster. We've ridden Moore's Law far longer than I had personally anticipated. The question for the second half of my career is whether we will see Python's (Monty) Law: "And now for something completely different."

November 18, 2004

Scientists get their own Google

Scientists get their own Google.

Imagine searching the Internet and being able to restrict your results to academic texts. Today Google launched a free search engine that aims to do just that. Google Scholar searches only journal articles, theses, books, preprints, and technical reports across any area of research. A test version of the search engine is available at http://scholar.google.com, so you can try it out. In a search for the phrase "human genome", for example, a normal Google web search throws back 450,000 or so hits, with genome centres and databases and other websites ranked top. In contrast, Google Scholar returns just 113,000 hits, and all the top-ranked items are not websites but seminal papers on the subject. In fact, the number one hit is the landmark article "Initial sequencing and analysis of the human genome" published in Nature in 2001.

I did my own work research on this today and found a relevant paper (the free version) in a few minutes! Here's how it works:

Much of the peer-reviewed material has been made available to Google by publishers, including Nature Publishing Group, the Association for Computing Machinery and the Institute of Electrical and Electronics Engineers, through a pilot cross-publisher search engine called CrossRef Search.

Publishers have arranged for Google robots to scan the full texts of their articles. Users clicking on a hit returned by Google Scholar are directed to the article on the publisher's site, where subscribers can access full text and non-subscribers get an abstract or information on how to buy an article.

Google Scholar has a subversive feature, however. Each hit also links to all the free versions of the article it has found saved on other sites, for example on personal home pages, elsewhere on the Internet.

Subversion feature. Hmm. In the words of the immortal Instapundit, heh.

May 11, 2004

Virtual Church

The BBC is reporting the appointment of a pastor for the Internet. I am not sure this is such a good idea. This is yet another step of the individualization of spirituality. I wonder how well such fellowship can be real rather than just merely virtual.

Alyson Leslie, a lay pastor, will run i-Church, a community of worshippers from all over the world who will congregate at the website for prayers in chatrooms, webcast services and e-mail socialising.

It is the first time a web community will be a fully recognised Anglican church. Although parishioners from many countries are taking part, the church will nominally be part of the Diocese of Oxford, which is funding the £15,000-a-year venture - a fraction of the cost of maintaining many physical churches.

April 15, 2004

It Rolks!

Helsinki University of Technology has developed a robot that doesn't walk and doesn't roll. It rolks! Here's a picture of the robot. Click for a larger view.


rolks.jpg

February 25, 2004

Gamers Conquer the World

Tomorrow's issue of Nature will report on how the Army is using gaming technology to simulate the whole world.

The US army has teamed up with a computer games company to create a simulation of the whole Earth.

In a bid to help soldiers train around the globe without travelling, army researchers are working with There, a company based in Menlo Park, California, that specializes in games set in realistic three-dimensional environments. Together they will build a virtual model of the entire planet, using existing data about Earth's terrain. Robert Gehorsam, a senior vice-president at There, says that the product will model the real world as closely as possible.

The artificial world will help the army to practise intelligence work, patrols and planning, as well as encounters with civilians. A group of soldiers who served in Iraq will test the system in the spring; a final version is hoped to be in place by September. But the team has a long way to go — so far only part of Kuwait City has been modelled in detail.

January 21, 2004

SCO Accidentally Makes Linux Viable

The question about Linux is how do you make money on free software? Without a business plan Linux could go the way of the dot-com bubble. SCO has been suing everything Linux hoping to produce a business plan out of a legal one. They dared the commercial Linux destributors to offer what is known as indemnification — holding the consumers of Linux legally harmless. Here's the response from the Linux vendors:

"Our customers need the ability to use Linux code without interruption, and developers have to keep working on open-source software," Bryan Sims, vice president of business development at Red Hat, told NewsFactor.

The company has been offering such protection to its customers for some time, he said, but decided to make a formal announcement. Sims said the assurance program was not a specific response to recent attacks by the SCO Group against Linux providers. "This is recognition of what it takes to put out a good product," he maintained.

The top Linux vendor, Red Hat becomes the third major Linux provider -- joining HP and Novell -- to offer some form of indemnification to its customers. Novell, which recently purchased Linux developer SuSE, last week began offering protection for copyright-infringement claims made by third parties against SuSE Linux Enterprise Server software.

Now business has a very good reason to spend money. The free version carries a risk. Thus, SCO in its attempt to kill Linux may have saved it.

January 08, 2004

Religion and the Internet

Pew Internet & American Life Project looked at Internet use including religious use and here were their conclusions:

  • 30% of Internet users have sought religious information online as of November 2002.
  • That represents growth of 94%, from 18 million who had sought religious information as of March 2000, to 35 million who had done such searches as of November 2002.
  • More online women than online men have done religious searches on the Web.
  • African-American users are more likely than other groups to have searched for religious information online, especially African-American women.

Is this a good thing? Only time will tell. Americans have often been very individualistic. One thing that religion provides is a community. An earlier study noted:

Similarly, solitary activities like mailing prayer requests and downloading religious music are also very popular pastimes for religion surfers (38% have done each of these activities), while more socially-oriented activities such as seeking spiritual guidance via email (21%) or participating in a religious chat room (10%) have not been as widespread.

If this is representative, then the Internet religious experience will be an attenuated one compared with the off-line, traditional, one.


December 09, 2003

U.N. control of Web rejected

U.N. control of Web rejected - The Washington Times

GENEVA — The United States, backed by the European Union, Japan and Canada, has turned back a bid by developing nations to place the Internet under the control of the United Nations or its member governments.

But governments, the private sector and others will be asked to establish a mechanism under U.N. auspices to study the governance of the Internet and make recommendations by 2005.

We dodged the bullet this time. Hey U.N. butt out! If you want to see what the U.N. does to things see my post on how well (cough, cough) they dealt with SARS.

October 28, 2003

More Thoughts on Online Music

I have had some days now to look at the respective technologies for online music. It seems that the labels are doing their best to make the pay versions of online music much more difficult than the "free" versions. Let's look at what made the file swapping programs popular (excluding, of course, getting something for nothing).

  • Exploring — This deals with the issue that radio has done a lousy job of exploring new music (even so-called alternative stations). Even in large urban areas, radio is a vast wasteland of bland uniformity. Napster allowed for people to explore new music easily.

    There is a very key difference between copyrights for broadcasting versus actual copies. A copyright holder cannot withhold the broadcast of their material if the broadcaster abides by the statutory license payments. This license is also more artist-friendly and less label-friendly on who receives the royalties.

    With the new Napster many of the really new tracks are buy-only. Thus, only 30-second clips are available for streaming. This restricts the ability of exploring new music. This is not Roxio's fault. Rather, it is the music labels trying to restrict things. Napster also does not give information on music that is not yet available. Apple Music Store has no streaming whatsoever. MusicMatch to the rescue. Here they have their radio-based model for streaming. Brand new stuff is available for streaming. The only restriction is — like radio — you cannot pick the exact music you will be getting. You can specify down to the granularity of an individual artist, however. If the track or album is available for purchase, you can click on the buy-track button or add a song to your wish list. In addition to this, their music guide is far better than the other two. They include music that they don't have yet available. On the negative side, they removed the Buy-CD with Buy-Track button. There is really no need for this either/or approach. Some people would prefer a CD over electronic tracks. Hopefully, they will bring the old button back.

  • Availability — People want to play their music on their equipment. For playing on your computer, this is mostly solved (at least for PC owners). It appears that the labels will be providing music at least for purchase in some form. It may get expensive. In one case I noted that to purchase an album through Napster would be twice as expensive as buying the CD. MusicMatch and Apple Music Store both provide more comprehensive album purchasing selections. My guess is the price issue will be a temporary problem on Napster.

    Playing on portables is a different story. As I commented earlier, there are two major formats for protected music. Apple Music Store seems locked into AAC while Napster seems locked into WMA. Again, MusicMatch to the rescue. Their CEO has been publically quoted as saying that they will look at supporting AAC format. Hopefully, this will include transcoding between formats. Their vision is being a universal player. Even without this support, they are coming real close. The only issue right now is they have the smallest library of the three majors. This will undoubtably be fixed in the next couple of months.

As you can see I am a big MusicMatch fan. In a sea of black hats they seem to be the only white hat out their. Add to that their new relationship with Dell for driving Dell's new portable. They may make the online music business work despite the ongoing stupidity of the labels.

October 22, 2003

Winner Takes All? No, Winner Plays All

Having run both Napster and iTunes for Windows I found the same thing a USA Today reviewer did

More seriously for users of other software, Apple's songs are sold in the AAC format, which I incorrectly said on my Chat last week was an Apple-proprietary format. It's not, but on the other hand it might as well be: I've had a really hard time finding another Windows jukebox application that works with it. Winamp, MusicMatch, RealOne and Windows Media Player won't play them, and if you want to use Roxio's popular Easy CD and DVD Creator to burn AAC songs to a CD, you're also out of luck.

If you buy songs at the iTunes Music Store, you have to play them in iTunes for Windows and use that program to transfer to CDs, whether you like it or not. And if you can get it to "rip" songs from your CDs onto your hard drive (which I did successfully on my laptop, but not desktop, which isn't currently recognizing CDs), the songs are automatically encoded in AAC, although a tab does let you switch your save preference to MP3.

The application nicely adds your hard drives MP3's to the library, as does Napster and MusicMatch, but if you happen to have any Windows Media Audio (WMA) files, they don't exist in iTunes.

However you feel about Microsoft and it's dominance of the computer world, the fact is that MusicMatch, Buymusic.com and Napster all sell songs in the WMA format, and more stores are coming. If you mix and match songs from the services, you'll have to make separate CDs, and listen in separate programs. Apple took the radical step of creating a Windows program. Why not go all the way and make life easier for the PC users?

Apple and Microsoft are playing this like the old VHS vs. Beta battle. This is the wrong paradigm. Rather, it is the recordable DVD battle. Here the DVD recorders that won play everybody's format. Whichever jukebox plays all formats wins and with it draws buyers to their storefront. Same thing goes for portable players. The other players in the portable game could care less what the format is. If Apple views Microsoft as the competition they will fail to have iPods play WMA files. Then iPods lose. The game is not winner takes all but winner plays all.