۱۳۸۷ تیر ۱۰, دوشنبه

God and Computer Science - For Evolutionists

[previous: God and Computer Science - For Abrahamic believers]

Teaching Evolution

Even if you think you already know what evolution is about, click on the photo to review it with Mrs. Garrison:

(South park, Season 10, episode "Go, God Go-1")

When I was a kid I used to think that communists do not believe in God; instead they say that nature creates itself, so Nature is their God! As a result, I used to think Russians worship flowers and trees!

You see, if we don't teach these stuff in the schools, our kids have to learn it somewhere else from each other and it may make them this confused!!!
-------------------

When I became older, I was told that the theory of evolution's already been disproven by (?) Motahhari,: "Our grandpa is Adam! Let Darwin be the offspring of a monkey if he wants to."(1)


(Charles Darwin as an ape, 1871, Hornet magazine)
Evolution
Each generation gets some features of its parents and adds some changes (mutations) to it. Fitted offspring s have a better chance to survive. Over many generations new species appear.


Genetic Algorithms
Genetic algorithms are a class of heuristic search algorithms try to find solutions to the optimization problems. Each generation is called a population. The very first population is called "seed".
Pseudo-code of a genetic algorithm:
  1. Choose initial population
  2. Evaluate the fitness of each individual in the population
  3. Repeat until termination
    1. Select best-ranking individuals to reproduce (2)
    2. Breed new generation through crossover and mutation and give birth to offspring
    3. Evaluate the individual fitnesses of the offspring
    4. Replace worst ranked part of population with offspring

I think Nazis were just accelerating stage 3.1 of the algorithm (natural selection) by their "life unworthy of life" designation. Also, this picture illustrates fitness function evaluation in 3.3 in an unnatural way.


---------------------

The complexity of general problem of creation is still NP-complete. However, an evolutionist believes our world is not perfect yet. Of course, it is very "close to optimal" but is "not optimal" as long as mutations make mistakes like the case I called it God's injustice here.

----------------------

(1) A better quote on evolution: "Man, who is he? Too bad, to be the work of God: Too good for the work of chance!" by Doris Lessing.


۱۳۸۷ تیر ۸, شنبه

God and Computer Science - For Abrahamic believers

An introduction to the theory of complexity

  • P: The class of problems that are solvable with limited time and power.
  • NP-Hard: The class of problems that need unlimited time or power to be solved.
  • NP: The class of problems that given an instance of their solution can be verified in limited time.
  • NP-complete: The class of problems that are in NP-Hard class and also are in NP.



Complexity of creation

  • Making artificial things is a P-problem.
  • God's creation of nature, which cannot be done with limited power of man but is scientifically understandable, is an NP-Complete problem.
  • ... and miracles are not in NP!!!

The big question
How God's creation machine works(1)?

- In the beginning there was God and there was nothing. Then at the time we usually call it the Big Bang, he created an NP-solver machine.
Since then, "he just says "be" and it exists" (2). Just a simple reduction, makes creation of nothing more difficult than creation of something else!
For the same reason P /= NP, He is greater than what man can describe.

Believers and nonbelievers
Agnostics: P /=NP xor P=NP
Atheists: P = NP
Theists: P /= NP

So far, mathematician are agnostic to the problem of P==NP, but the Clay Mathematics Institute is offering a $1 million US prize to the first proof to that. I doubt theologists are this passionate for finding a definite answer to the problem of existence of God. Or, maybe that think they have already found it?

P~NP
Genetic Engineering is an approximation to the creation.


PS1. source of the second image: internet
(1) mostly based on Muslim beliefs.
(2) Quran

۱۳۸۷ تیر ۴, سه‌شنبه

Imitation sucks!

(Google's first day of summer logo)



When you use somebody else's idea, in the best case you are one step behind.


(Yahoo's second day of summer logo)


-------------------------------------------------------------------------------
PS. Yahoo does not have such a logo. It is a mixture of my photos and paint.

۱۳۸۷ خرداد ۳۱, جمعه

18 years ago, today

(Google's first day of summer logo)


18 years ago, today, 40,000 people of Gilan, Iran lost their last chance of experiencing another 1st days of summer, forever. This number could be higher if FIFA 1990 soccer games were not in session when the earthquake happened in midnight.

۱۳۸۷ خرداد ۲۹, چهارشنبه

The art of presentation

There is a Persian saying that says (1)


but recently I have learned that (2)


(1) Two hundred words do not worth half an action.
(2) "ninety percent of success is showing up", an American quote made famous by Woody Allen (3).
(3) Jeffery Gilmore, "Little black book of connections".

۱۳۸۷ خرداد ۲۸, سه‌شنبه

On Inequality and Descrimination


All people are different ...

but some people are more different than others.



Q- While even God is not fair, why should we?
A- To show we are not following him.


PS1. "All animals are equal, but some animals are more equal than others", Animal Farm.
PS2. Fingerprint and Indian kid with two faces.

۱۳۸۷ خرداد ۱۳, دوشنبه

Need and Greed

- Don't blame Greed, nobody is attracted to it! It's all because of the fear of being in Need that people go for Greed.

- There is a very narrow line between need and greed. It is not easy to stand on the border. It's not even easy to see on which side you are.

China town



Did you know, ...

In China, China towns are usually called "Downtown"?


Image: San Francisco China town