Year: 2002

Dumbledore dead

I didn’t know that Richard Harris was Dumbledore. Pity. He’s no more.

“He did threaten to kill me if I recast (Professor Dumbledore). I cannot even repeat what he said. He still has got that fight inside of him,” Columbus said.

Now, does that mean that he’s already finished his role in the sequel?

Tetris is NP-Hard

Tetris is NP-Hard. Let me explain, in English, what that means.

The toughness of problems is how much time it takes to solve them.

Adding two 3-digit number takes less time than adding two 30-digit numbers, and hence is easier. Similarly, figuring out if a 3-digit number is prime or not is easier than a 30-digit number.

Some problems grow tough very quickly.

Adding two 30-digit numbers is 10-times slower than adding two 3-digit numbers. But checking if a 30-digit number is prime is several trillions of times slower than checking a 3-digit number. That is because, to check if a number is prime, you need to repeatedly divide it by numbers smaller than it. For a 3-digit number, you need to divide by around 1,000 numbers. For a 30 digit number, it’s several trillions.

Problems that grow tough at a constant rate are ‘P’.

What this means is: if you keep on doubling the number of digits, the problem repeatedly becomes twice as tough (or 3 times as tough, or whatever — some constant rate). Adding of numbers is an example. (‘P’ stands for polynomial time.)

Problems that grow tough at a constant rate if you already know how to solve them are ‘NP’.

For instance, to check if a 30-digit number is a prime, you needn’t check with all numbers below the number. You just need to check with all primes below the number. That takes about 10-times as much time as for a 3-digit number. Hence, if you knew which primes were below the number, it would be ‘P’.

‘P’ is a subset of ‘NP’.

The real question is, are there any problems that are ‘NP’ and not ‘P’. That is, are there problems for which you really need to know how to solve the problem to be able to solve them in polynomial time? Or is it that we’ve just not been smart enough to come up with solutions that are fast enough? We don’t know. The first step is to make a list of NP problems that are not obviously in ‘P’. Then, we try converting these problems into each other in polynomial time.

NP problems that can be converted into each other in polynomial time are ‘NP-hard’.

So, if you solve any one of these ‘NP-hard’ problems in polynomial time, you can solve all NP-hard problems in polynomial time. Figuring out the right moves in Tetris is one such problem.

Google complies with local laws

Now Google is complying with local laws by eliminating anti-Semetic sites from their French (google.fr) and German (google.de) sites. These sites still remain accessible through google.com, though.

In the long run, I don’t think this state of affairs will continue. I hope we have one law across the world, at least where the Net is concerned. But more likely is an agreement on law guidelines, something like the WTO. Less likely and desirable is where tracking surfers’ country of origin becomes reliable.

Besides, Google has lots of other complaints to take care of. via Plastic