What the heck? Are Developers of Facebook client libraries for ASP.NET stupid?

Posted by Dmytro Shteflyuk on under ASP.NET

Last week I faced strange bug in Facebook Developer Toolkit. When I tried to call setFBML method (I mentioned it in my previous post) I’ve got an exception about invalid signature. “Haha” I said and downloaded toolkit sources. After some debugging, I’ve found a few lines which just killed me:

1
2
3
// Compute the MD5 hash of the signature builder
hash = md5.ComputeHash(Encoding.Default.GetBytes(
                           signatureBuilder.ToString().Trim()));

Read the rest of entry »

Generating content for the Facebook’s setFBML method in ASP.NET

Posted by Dmytro Shteflyuk on under ASP.NET

In my current project we decided to build a Facebook application. This is really great platform with many interesting ideas inside, which usually means that you will spend a much time to make your application working as expected. Today I wanna talk about user profiles. Any Facebook application could add some action links, which will be displayed under the user’s picture, and some content for wide or narrow column. Of course, you can use FBML syntax, especially fb:if-... tags set to choose which content to show on specific profiles to concrete users.

Read the rest of entry »

Human computations

Posted by Dmytro Shteflyuk on under Links

Very cool video about free human resources usage I have found the other day. As you could see from my resume, I’m graduated from the Intelligent Decision Support Systems Department of the Kharkov National University of Radio-Electronics. I don’t remember too much from my courses (but I know where and what to search when some sort of knowledge will be necessary, be sure), but what had stuck in my memory is that there are tons of tasks which can’t be easily solved: images classification, object detection, automatic expert systems knowledge bases building, etc. Some of these tasks are partially solved and have satisfactory results (for example mathematical and statistical methods of objects detection), others have bypassing methods (for example, Google uses text from HTML links to classify images). The main reason is that computers are not so smart as humans (maybe it’s not so bad, just think of the “The Matrix” movie).

Read the rest of entry »