Showing posts from June, 2011

Logic and Reasoning in AI + programming

After I finished any undertaken work, I always ask myself; “what did I learn? What was the main point about this?” for example about university, end of this year I asked myself what did I learn from my second year in university? And specific about a module which is our main subject “Formal aspect of computer science” ( with Professor Lee McCluskey. Although I know that I learnt a lot from this module and I almost understand all subjects in this module, but it’s hard to show because all are formula and mathematical, here we are talking about “First Order Logic”, “Clausal Form and Unification”, “Resolution and the Refutation Method”, “Algebraic Specifications” and etc.. A few weeks back, while I was programming I found some logic which seems to be hard, it was a page which only user and admin could access that page. If I need to allow all user access that page, I could write something like this; by assuming I know $user from the session $user…

Youtube view count fails

You may notice on that sometime number of who liked a video is more than number of view the video, check this photo. It’s been while now but still this problem exists.  
There is a debate out there which saying that youtube is censoring the view’s count, but I personally don’t believe that because I noticed sometime from 100 view jumped to 1000,000 views. I guess youtube view count frozen sometimes. 
Update: 2011-07-27
This is an update from youtube: From July 11th to July 18th, YouTube viewcounts have not been consistently updating for many videos. Please be assured that any views not currently updated are still being recorded. We are working to resolve this issue. Read more here