11.20.06

PS3 – Eu posso explicar…

Posted in Life, Portuguese at 6:30 pm by pmatos

Em resposta a um pedido de explicação

A corrida, de facto, desenfreada deve-se às elevadas expectativas que todos têm na consola, visto que as expectativas arrasaram com o mercado de vídeo jogos existente. Para além disso, para os “real gamers”, terem uma PS3 acabada de sair é que está a dar… comprar passado uns meses “não dá com nada”!

Tirando o facto da ‘freak’ice, é extremamente injusto dizer que a consola não tem inovações. A consola contém 8 cores num CPU com um bus de 500Gb/s (onde é que já se viu isto?) desenvolvido em parceria com a IBM e a Toshiba, uma placa gráfica excepcional, inovações em termos de APIs incríveis que tiram muitos dos limites colocados aos programadores dos jogos para as consolas anteriores. O que para os utilizadores significa a longo prazo, melhores jogos e mais jogabilidade. Isto é apenas algumas das inovações existentes em termos de hardware. Dizer apenas é dizer pouco porque existe muito trabalho de investigação por detrás que é impossível sequer imaginar.

Quanto à Wii, a Nintendo está a “saber” vender. A Sony tem tido azar ou falta de jeito para lançar esta consola no momento certo. Quanto ao “beat that” tenho ideia que daqui a 2/3 anos a Sony poder-te-á responder. Facto é que a Nintendo tem na manga muitos jogos que serão relançados para a nova consola, ou seja, melhores animações, melhor jogabilidade, melhor conteúdo… mas e depois disso? Será que vai conseguir manter o lançamento frenético de um número imenso de jogos que é necessário para manter a concorrência?

Tiranto isto, eu compraria a Wii mesmo que fosse apenas para jogar o Legend of Zelda… bons velhos tempos! :-)

11.15.06

Alister McGrath and his lecture on Dawkins God

Posted in Books, Life at 11:53 am by pmatos

[Sorry for the late post. I really wanted to post this some days ago but it has been very hard to find some free time.]

Well, as I have posted previously, last Thursday by 19.30 I went to see the lecture by Alister McGrath with the same title of his 2004 book : “Dawkins God”.
Alister McGrath was an invited speaker of the “Christians in Science Society” of the University of Southampton. I have not read Dawkins God and I only know Dawkins point of view on God through his latest book “The God Delusion” [although his opinion has been widely published in his previous numerous books]. Curiously, Alister McGrath is also from Oxford [Dawkins from Oxford].

First I’ll let you know all about the presentation, then I’ll comment on it.
Incredibly the lecture room [a huge one] was completely full, people were standing up and you could just find people of every age in the seats. The Christians in Science Society presented Alister CV for 5 minutes, explaining this time would be needed since people should know Alister background. Briefly [from memory], he was educated atheist, he got graduated in Chemistry and then did a PhD in Theology, has been Professor of Historical Theology and his Director of many things, has a lot of acronyms before and after his name, etc. Well, to end up saying that he knows very well both sides of the issue, the scientific and religious one.

Initially he talked about who was Richard Dawkins, which took about 15 seconds and showed a funny-looking photograph which he left on-screen for some time while explaining he was there to destroy the link Dawkins put up between science and religion. Dawkins says a real scientist ought to be atheist. McGrath says religion and science are completely different thing and one cannot mess with the other. So McGrath, set up the 5 grounds for the criticism of religion in The God Delusion and talked about some religion myths Dawkins set up during the book. So, he says, the lecture would be about answering to Dawkins on what he said about religion.
So he goes through each of the 5 grounds for the criticism of religion:

1. Does Science lead to atheism?

His main argument stands that the nature interpretation is consistent with all belief systems, being it atheism [which he says it is like any other belief system] and that’s why Huxley invented the word agnosticism. Moreover, evolutionary biologist Stephen Jay Gould, an atheist, said that scientist cannot comment on religion and that those who are atheist are surely not for scientific reasons.

2. Dawkins on Faith

McGrath quotes a bunch of theologist which say that the best explanation for some things is definitely not science and that then faith comes up to explain things. That Christians should not let think that religion fills in the gaps of science, since then they would be killing themselves in a sense that these gaps get narrower and narrower. What Christians should understand is that religion by itself has its own field of action and that is fields which cannot have materialist views, like, what’s our purpose on earth, why thinks happen the way they do, why equations of the universe really work, why science works, etc.

3. Is God a virus of the mind [a meme]?

Well, McGrath doesn’t spend much time on these. It says Dawkins uses memes incorrectly and that for a long time, memes are no longer an explanation for anything because they are obsolete so this chapter on The God Delusion is automatically discredited.

4. Religion impoverishes theists view of the Universe.

McGrath goes on to explain that obviously that is not true since, when theists look at nature, they do not stand thinking that God creating everything and that’s it. The fact that we know that God created everything is more a motivation of learning how it works. To learn how great can our God be, so that he created such a marvelous Universe.

5. Religion is a bad thing.

And McGrath says… “Ah, but there were already many atheists doing bad things.” And that the world could not survive without religion. However, it accepts that religion can also bring a lot of problems… but so as atheism.

After this, he presented his next book to be out on Fev. 2007 : “The Dawkins Delusion?” but him and co-authored with his wife.
In the time for questions and answers there were some nice things he said that is worth quoting.

So, he starts by pointing out that Atheism is very vulnerable because: is reductionsist of science, only believes what is proven [unable to discuss other problems], and it has problems with meaning questions.

Interpretation of the bible depends on science, so sometimes is interpreted wrongly, but that’s because of science, it’s not a problem with the bible. Oh and evolution? That’s not a threat to science… that just explains a bit of Gods rules.

The God Delusion is a book for people who dislike religion and know no science.

Dawkins makes no difference between God and Religion.

Oh, religion is not harmful. Most people know evil just by looking at it and that’s a very christian way of looking at things.

Dawkins runs away from good things religion did!

God just helps one love science in another way. Not just as a bunch of non-sensic rules but as the rules of God.

Then he goes on to tell a story… When he was an atheist kid, he looked at the sky and though that the light we were seeing from the stars left them a huge number of years ago. Now, they probably don’t exist but he won’t know… he’ll die long before the light which is now leaving the star, reaches the Earth. Now, as a Christian, he looks at the sky and he sees Gods creation. So, he’s no longer sad like when he was an atheist.

Well, everything ended up, a lot of books were being sold [as a big marketing plan] and they even had the courage to ask for a donation!

And now… comes a few comments on this. First, this all lecture was obviously very well prepared it seemed as if everything he said was to its audience pleasure, the large majority were students and lecturers who were Christians (remember, he was invited by the Christians in Science Society of the University of Southampton). Most have not read The God Delusion, so he managed to say that:

The God Delusion is a book for people who dislike religion and know no science.

and most of the lecture was supposed to diminish Richard Dawkins capabilities by throwing theological arguments, empty of content and full of decieve. I just wonder how can I man spend so much time circulating the globe just to talk bad of another one. Never in Dawkins The God Delusion he was rude as McGrath was to Dawkins in any context or to any author, even McGrath.

Although everyone was quite excited with the presence of such character (McGrath), I find it rather disconforting to think that most of there were there not to learn from McGrath but to throw words of despise against Dawkins. Apart from that, in a Programming context I would say that this lecture is still far from beta and has a lot of bugs which would crash any system (crashed mine…).

Sometimes I even wonder if he read The God Delusion as he should. Dawkins spends the whole first chapter explaining what will the word God mean during the context of the book and setting up the difference between God and Religion. Please, Mr. McGrath (or Reverend, if you wish) read the first chapter.

Again, McGrath says he Science cannot lead to Atheism. Still, again, read the book. I’m quite certain that Dawkins puts it in the following way: “There surely are many scientists which are theists. Many good scientists, even. However, if a scientist is to put is scientist vein in all facts about his life he cannot possibly be a theist. The fact about being a scientist is that you only believe [not just what you can prove] but what you have evidence for. There are near-zero evidence for the existence of God, and a lot more for its non-existence. A scientist would say that even though a certain theory cannot be established for Gods non-existence, that’s surely the way science might take if wishes to pursue further research.”

Science, for obvious reasons, will not answer you what’s the meaning of life. Nor it will tell you what your mum is doing right about now. The fact that science will not answer you this answers doesn’t mean religion can. Moreover, being an atheist, does that mean I will not ever be able to answer them? NO! I can answer them due to what I know, to what I feel, due to my subjective opinions. Each life as a meaning of its own. There’s no [in my opinion] a meaning for Life unless you really want to believe that. I might say the meaning of my life is to be happy, raise wonderful kids and contribute something to science and that my mother is now sleeping but really, this answer depends on the person who is responding to it, no on an absolute answer. So, really, right now I really feel religion feels that gap most people need to be filled because they are suffering, or because they had some problem in their lives, or because they cannot explain something. The problem is that most of us will [no matter how much one knows] known near zero percent of what there is to know. So really, one has a lot of place for God.

Being Dawkins a scientist and by writing a book for the general public, it is obvious that he needed to use an easy to grasp concept for people to understand what he meant to say about virus of the mind. He could not refer to the latest article on evolutionary biology for some weird concept to explain things. Still, he takes a couple of pages what a meme is. His idea is not to establish a scientific ground here, but to give people a way to think about what he is telling us. Please, Mr. McGrath, do not misinterpret Dawkins.

It is quite hard for me to understand what McGrath told about his view of the universe. Does he reeeeeeeeaally think he is learning the rules of God? I also have a giant invisible dinossaur which leaves inside my garage and only talks to me… do you believe that?

One horrible thing you said, Mr McGrath, not about Dawkins, was that when we look at a poor child, or a sick person we feel sorry and pity and when we look to hitler or some other bad guy we feel evil in the person and that’s a Christian way to look at things. But now I ask you? A Christian way? Why not a Muslim way? Why not a Jewish way? Muslim people or jewish people do not recognize evil, do not feel pity? Would you change that sentence if you were invited for a talk by the Muslims in Science Society?

Well, and now Mr McGrath is going to publish Dawkins Delusion… I question myself, why? Do you think it really matters, will you pursue Dawkins for the rest of his life. Since you’re both from the same University I do think that what you’re doing is just a personal vendetta. Have you been bullied by him when you were kids?

11.14.06

A friend has been arrested…

Posted in Life at 12:17 am by pmatos

A friend blogger, Abdelkareem Nabil Soliman, has been arrested for saying what was going on his mind in his blog. Unfortunately, he was born an Egyptian. He was even expelled from University in Egypt for that. University, a place where freedom of knowledge, freedom of speech, freedom to pursue one’s wishes should be the basic standards… and to think it is the one of the best Universities in Egypt.

I think it is at these decisive times that we all should gather and show we care. For that, I‘ll write tommorrow morning a letter and send it directly to the United Kingdom Egyptian Embassy.

It’s address is:

Egyptian Embassy
26 South Street
London W1Y 6DD

In Portugal it’s:

Embaixada da República Árabe do Egipto
Av D.Vasco Gama 8
1400 Lisboa

No matter who you are I think you make a difference. I’ll keep you posted on my actions…

Free Karem…

11.13.06

Geeez, now I understand…

Posted in Life at 7:45 pm by pmatos

Just back from the gym… When I arrived to the gym, I did the usual running and then bicycle. When I sat on the bike, I look to my right and I saw a man in his 50’s, riding “faster than lightning” (to my standards), with his back straight up and reading a research paper on something that had to do with physics (at least, it had the quark work on the title). I slowly started riding and then I though: “Ah, then this is what they mean by:”

Mens sans in corpore sano

Prospectus Music

Posted in Life at 3:54 pm by pmatos

Well… Just came from a Jazz concert. What a show!

I was never much into jazz, partially by the fact that I was never really introduced to it. However, University of Southampton (UoS) Music Department arranges weekly concerts. Today was Bastien Terraz jazz and his band Prospectus. Apart from most of them being Masters of Music (graduated from UoS) they even allowed some Music students to play with them and these students were really up to the tests. It was a very nice concert… and it was free! The room was full! Full of teenagers and lecturers (some but not all from the Music Deparment).

Each time I think about it, I’m just glad to be at University of Southampton… This is, in fact, what a University is all about.

Once during the concert it just came to me this funny thought: “I would love to be able to program, as they are able to play all together.”
Every instrument seemed to fit the overall tune so well. The melody was so good to hear. This contrasts with some code I write and read. Usually it is not smooth. It is harsh! It is hard to find what’s the the interface of a given module, it’s hard to read it’s implementation… definitely not like the music I heard today. It is very, very hard to find good code to read… and that’s unfortunate.

11.11.06

Sony, PS3…

Posted in Life, Linux, Programming at 7:09 pm by pmatos

Like I said on previous post, there was at the same lecture a bonus presentation on PS3.

The presenter was, also from Sony London Headquarters, but currently consultant of Sony PS3 Programming on behalf of Sony worldwide, István Fábián (yes, the accents are correct). This is the guy working on the PS3 since the beginning, and has he said it: If there’s someone who is an expert in PS3, he’s the one [not very modest, one might think]. He his working on PS3 for 16 months.

Most of the presentation had to do with parallel programming and the need for parallelization due to the fact that single cores are reaching their limits. An example of this is the launch of duo core processors by Intel, and the quad core processor during thos month.

Some years ago, I heard we would have 10Ghz CPUs in our home by 2005… I don’t have one, do have one?

An explanation of the Flynn’s taxonomy followed. SIMD is the single core architecture, extended with MMX, MMX2, SSE1..4.

In this line of thought, PS3 has 8 cores (octo-core??), 9 Hardware threads and all cores are usable for generic computing tasks, developed by STI (Sony-Toshiba-IBM). It has 4 buses allowing a bandwidth each of 25Gb/s and a BlueRay disc reader also reading legacy formats like CD/DVD. Although most say BlueRay supports 50Gb, 25Gb per layer, the truth is the blue ray has 8 layers, each allowing 25Gb per layer which totals 200Gb os information per disk.

The CPU (with 8 cores as mentioned) [codenamed Cell] is a MIMD architecture, with a bus of 200Gb/s bandwidth connecting all cores and a bus of 25.6Gb/s bandwidth for each external devices. Each core has a local store and a memory controller. It seems to be the most flexible model and it works asynchronously. Each core follows a SIMD architecture and one of its cores runs the Operating System, which is not Linux but it is possible to run Linux on it.

PS3 allows various programming models, has a pre-emptive scheduling and allows user-defined scheduling policies. Features an advanced job queue algorithm, not presented due to NDA [non-disclosure agreement].

Benchmarks reveal PS3 has a performance gain of 15 times over current top-notch desktop computers. A curious fact and one of the non-intuitive stuff a programmer must remember when programming for PS3 is that it is so fast to compute stuff that is that when there are several calculations to perform and which one is needed is decided upon a condition, it is faster to compute them all and throw away the results which we don’t care about.

And that’s it… it was a nice presentation with the Sony guys… Still, I’m quite unhappy with Sony but I can’t deny I was impressed with PS3 hardware.

Sony, PSP…

Posted in Life, Linux, Programming at 6:09 pm by pmatos

Last thrusday, 17.30, some guys from Sony Headquarters in London visited us here, in the University of Southampton [UoS] and gave us a presentation on the architecture and programming for PSP, as a Bonus they also talked to us about PS3 [on next post]. I’ve taken some notes I want to share with you.

Well, there were two guys from Sony, Igor Makaruks started with the, rather technical, presentation on PSP called “Advanced PSP Programming Techniques”.
After opening his Sony Vaio laptop to start the presentation and presenting a very nice presentation 1st slide with a blurred photo of PSP, he showed some statistics. One of them was that there are currently 20 Million PSP distributed. He then, obviously, asked who in the audience owned a PSP. In 100 people, 2 owned a PSP. He was sure quite amazed with the fact that very few people owned one.

Motivation to be there was on how to program the PSP, so everybody can be a PSP developer, just check out the SCEE DEV site.

So, basically [unfortunatly I don't have access to his slides with nice diagrams] PSP developer accesses the Game Processing Unit and the Media Processing Unit through libraries which are given once your developer application has been accepted. PSP Hardware is based on MIPS processor, which the model is in the between the one of the PS and PS2. It’s helped alongside the CPU with the usual FPU and a new developed for PSP Unit known as VFPU which performes unit calculations on vectors instead of floats. Since most graphical operations is performed over matrices (collections of vectors), the use of the VFPU is essential for good performance and it has been shown that using VFPU for most calculations boosts the performance in most games. Moreover, since PSP CPU is better than PS1, well soon be able to play PS1 games on PSP, i.e. Sony is starting to emulate all PS1 games on PSP. The GE [graphics engine] uses an OpenGL like rasterizes and supports Texture Compress (DXT1, DXT3, DXT5).

The 3D file format used is the gmo. You can get more information on the devs site. The new trend of the PSP is obviously MP3 and soon we’ll have camera [oct. 2006 in japan] and GPS [nov. 2006 in japan]. The game to launch GPS will be a Golf game which will read your global position and will customize the game accordingly.

So, the CPU is based on a MIPS4000 (codename Allegrex) + FPU + VFPU. Basically Allegrex extended the MIPS4000 instruction set with instructions for cache, synchronization, clock management, etc..
All the programming is done with C++, no assembly. Developers use intrinsics to access assembly. An intrinsic is a C++ instruction which is converted to exactly one assembly instruction by without leaving C++, the compiler does all sort of register management and type convertion for that during compile-time. For example:
Assembly:
ext rt, rs, pos, size
can be written with intrinsic:
rt = _builtin_allegrex_ext(rt, rs, pos, size);

Well, there were some examples shown in the presentation. The following links [not very useful] were given:

11.10.06

Amazon, I’m sorry…

Posted in Life at 11:35 am by pmatos

As you may know if you read my other thread on this, Amazon.co.uk missed a book from one of my orders…

Well, let me create some context here! I’m living in a recently built building in an accommodation hall and they have not created copies for the mailbox keys so there are these pigeon holes marked by characters where mail is delivered, and then you may get your mail from the pigeon hole corresponding to the first letter in your surname.
When there’s a parcel, you just have a note in your pigeon hole and collect the parcel from the reception.

Yesterday I received the replacement book from amazon.co.uk (took 1 day to arrive). When I was about to collect it I saw a book just like I ordered in the middle of the other parcels. I’ve said to the guy what would that be and he said it was a book which fell from one parcel and they didn’t know to whom it belong. So, to make a long story short… Sorry Amazon…. Amazon didn’t miss the book… Somehow the book fell and I only received 2 item instead of three.

I was about to say that it was the first time Amazon missed an item… but it seems it wasn’t. Amazon has never failed me and for that I thank for its service.
This is even more astonishing on how they handled this issue. By knowing that they rarely fail sending items they could just say it was 99% my problem and that they would not send another. Instead, they sent another book without questioning, in First Class mail and it arrived in one day. Well, if you have any experience about other companies which handle this issue with the same elegance Amazon did, I would be glad to know about it!

11.09.06

The God Delusion (by: Richard Dawkins) [Part 3, Final Part]

Posted in Books, Life at 6:06 pm by pmatos

This is the end of my commentary on the book The God Delusion by Richard Dawkins. I’ve written a Part 1 and Part 2 in the past.

I’ve finished this book about 2 weeks ago but unfortunately only now have the time to finish the commentary.
I was mainly motivated to write about this right now because at 19.30 today I’ll be hearing a public lecture with the title Dawkins God, by Allister McGrath (named after her book with the same title). I haven’t read this book, still Dawkins refers to it in his book. So initially you might think this book is a Dawkins supporter… Well, it isn’t… She’s anything but supportive and it has nothing to do with The God Delusion which was written after Dawkins God. The former was published this year, 2006, and the latter on 2004.

The end of The God Delusion is extremelly good, like the rest of the book. Unfortunately, however, there’s a subject which misses appropriate comment from the author and although the author touches this subject he is rather vague and fills only a couple of pages. The subject (which is a rather disconcerting subject for me) is death. The question one might pose is: “Shouldn’t we believe in God because he makes us believe that there is life after death and then we won’t live fearing our own death?”

His point of view on the subject is superficial and as a person which usually thinks deeply on the death subject regularly, I’d love to read a more elaborate opinion on this from him.

I haven’t read his other books so probably he has answered be more deeply on his other books but still this is the only thing I can complain about Dawkins and his book. Nothing else. The book is certaintly tailored for a wide non-scientific audience and should be read by everyone, independent of their religious belief.

Thanks Dawkins for your book!

11.08.06

Konqueror finally supported by Netvibes…

Posted in Life, Linux at 4:54 pm by pmatos

I really don’t know when the shift happened but netvibes now supports Konqueror.

Previously I had to trick netvibes into thinking I was using firefox using profiles… that is not needed anymore for netvibes supports konqueror natively!

(Ah, I wonder when Google follows netvibes path…)

Next page