World Cup play also has a big impact on the economy. When Brazil wins, Brazilians feel happy and proud, and respond by spending more money, which bolsters growth and by extension confidence in the government.
Tuesday, June 27, 2006
Politics and the World Cup
Monday, June 19, 2006
اولين جمله اولين تکه وبلا گ فارسی
Thanks go to Zohreh for pointing me to Aryanevis Persian editor.
There are still a few glitches but I think I'm on my way, and I'm fast learning the position of letters on the keyboard.
Pooya has now pointed me to Behdad's Persian editor, which comes with a nice large keyboard image making it useful to people like me who've not completely mastered the Persian letters' keyboard placement. Pooya also points to his own Javascript Persian editor, based on earlier work by Behdad.
Thursday, June 15, 2006
Lost In Translation
Translation does indeed matter if the mis-translation is used as an argument for waging war. Ntohing can be worse than a war started because of intentional mis-representation and mis-translation. However, those who have been mis-translated again and again have grown weary of of fear.
I had only heard fragments of it but it was immediately obvious to me that the speaker was being intentionally misquoted and mistranslated.
A due respect to any language, and particularly a classical language such as Persian, demands proper and accurate translation.
I was only wondering when someone would dare to raise the issue and it looks like it has now been finally raised by someone for whom the actual truth matters.
Monday, June 12, 2006
Immutability of Tuples and Lists in Python
Here's a piece using my Cygwin distribution.
This piece demonstrates the immutability of Python lists vs. Python tuples.
Remember that the concept behind "lists" and "tuples" in Python are different from similar mathematical concepts. In mathematics, we often use tuples to refer to various types of orderings. For example, it may be common to say "a measure is a tuple of..."
$ python
Python 2.4.1 (#1, May 27 2005, 18:02:40)
[GCC 3.3.3 (cygwin special)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> mytuple = 1,3,2,0
>>> mylist = [1,3,2,0]
>>> mytuple[0]
1
>>> mytyple[0] = 0
Traceback (most recent call last):
File "
NameError: name 'mytyple' is not defined
>>> mylist[0]
1
>>> mylist[0]=0
>>> mylist
[0, 3, 2, 0]
>>>
Saturday, June 10, 2006
A Conservative Game
Let's hope for better games to come.
Monday, June 05, 2006
Goldman Sachs and the World Cup
However, Goldman is not the only financial institution to speculate about the economic and financial effects of the World Cup.
London-based Center for Economics and Business Research estimates a boost to economics of participating nations, and of the order of $20 billion for Germany. However, it predicts productivity losses in Latin America due to absenteeism. Matches will occur, mostly, during working hours in South America but during late afternoon in Europe.
German Chamber of Commerce is expecting a 60,000 rise in jobs due to the World Cup.
"Hosting a major sporting event raises the profile, status and reputation of the host nation, providing a lasting boost to tourism and business investment," says Lucy Hartiss of Capital Economics, a London-based consultancy.
Economists from ABN Amro, the Netherlands-based bank, have authored Soccernomics. Their research indicates that the World Cup-wining nation enjoys 0.7 per cent additional economic growth compared to the previous year as well as a boost to its stock market. (Note that only a handful of nations have ever won the World Cup. So, we're not talking about a great statistical base for these speculations.)
There is also a set back "to productivity as employees callin sick or sneak off work early to watch games," writes Scheherzade Daneshkhu for Financial Times. "But additional consumption provides a boost. The feelgood factor, especially in countries that progress to semi-finals, leads to happier consumers - and contented shppers tend to spend more."
First Pair of Jeans Purchased On the Web
So, after may years of looking, I finally did need a new pair badly enough that I ordered my first pair of jeans on the web.
Baggy Fit from Gap --
Ordering was easy and the survey even easier to fill.
Now, I can throw away the old, torn pair.
Five More Days to World Cup 2006
The Guardian plans a World Cup 2006 podcast, available also as a free subscription on iTunes.
Sunday, June 04, 2006
Meaning of Treaties
However, some people think that we should use judicious double standards when applying such treaties.Article IV
1. Nothing in this Treaty shall be interpreted as affecting the inalienable right of all the Parties to the Treaty to develop research, production and use of nuclear energy for peaceful purposes without discrimination and in conformity with Articles I and II of this Treaty.
2. All the Parties to the Treaty undertake to facilitate, and have the right to participate in, the fullest possible exchange of equipment, materials and scientific and technological information for the peaceful uses of nuclear energy. Parties to the Treaty in a position to do so shall also co-operate in contributing alone or together with other States or international organizations to the further development of the applications of nuclear energy for peaceful purposes, especially in the territories of non-nuclear-weapon States Party to the Treaty, with due consideration for the needs of the developing areas of the world.
Of course, that this logic suffers does not prevent it from getting a broad forum for professionally produced prose that uses it to advance dubious arguments.
International law, like any other law is there to reduce transaction costs (including wars) in the dealings among nations.
To belittle these laws brings us to very dangerous borders.
Python for Education
For example, take a look at the programming languages resources at Kirby Urner's Mathematical Canvas.
Saturday, June 03, 2006
MPlayer for Mac OS X
Friday, June 02, 2006
First interaction with Python
masood-mortazavis-imac-g5:~ masood$ python
Python 2.3.5 (#1, Mar 20 2005, 20:38:20)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1809)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 1+1
2
>>> 1./3.
0.33333333333333331
>>> 2./6.
0.33333333333333331
>>> 2./3./1.
0.66666666666666663
>>> 0.9999**99
0.99014835352672459
>>> .99999**10000
0.90483696561475935
>>> .5**99
1.5777218104420236e-30
>>> exit
'Use Ctrl-D (i.e. EOF) to exit.'
>>> ^D
masood-mortazavis-imac-g5:~ masood$
Sounds like a pretty handy calculator to me but I'm sure it can do much more!