Hey!
Learn how to create a blog and make money online with Google on Googling Matters

Tuesday, May 13, 2008

Classic methods: Tail Recursion

I have a while interested on old programming. This can sometime solve several problems. I’m going to list some of those classic methods. They are popular for old programmers but perhaps some of the newbie don’t know their use.
What is Recursion?
If you are a student then you should know it! You studied it at the math class. Yes, and there’s no big difference between the math recursion method and the computer recursion method.
The recursion simply said: it’s to return and do the same work until arriving to a limit.
Let’s take the most popular sample; a factorial application with Tail recursion.
Function Factorial (Byval n as integer) As Double
If n < 0 then
Throw
New ArgumentException(“Invalid argument”)
Elseif n <= 1 Then
Return 1
Else
Return n * Factorial (n-1) ‘ The recursion is here
End If
End Function

The recursion is here! As I said it’s to return and do the same work, then run the same function but this time with minus one and do it again.
Concentrate you’ll understand it, take an example so you can appreciate it.
Still have a problem? Tell me!

Thursday, May 1, 2008

Is Google Blog Search good?


I have time thinking on how to enhance searching for information and code sources on the web.
Google is a giant engine, but can waste much of your time and give bad results.
I then turned to Blog search. Blogs are good, why?

- Programmers who blog should know a lot about Dot Net
- They Should know the resources
- They post articles where they share resources they found
- They’ll help you find resources

The problem is how to find the correct blog for the current search.
Google blog search will search only on blogs!
Let suppose you’ll search for the term “Dot Net” thinking that you’ll receive some tutorials, read interesting articles….
See the results? Google is hyper-fast (.48 s) but hyper-fat (77,059
On the top you should see some blogs! Are they Sponsored?
No they aren’t sponsored as by writing “Omar Abid” I see my blog in this list and I’m not sponsoring my blog.
But just read the first result, does Google give coherent results?
Perhaps the 2nd is, but what about the 3rd?
Let’s return to the 2nd picture, how does Google mean by Pertinence?
Quality or Page Rank? Is this fair?
For you to comment!