Skip to main content

Posts

Running Rhino Mock Under FxCop

I wanted to try out Rhino Mock, and I downloaded it and tried it out and it was better then NUnit Mock, I was playing around it a little bit and well, ran fxCop on it, And gosh, I found 640 defects. Well, this is not a critic, but it just brings out the fact the amount of static code analysis we do on our code. I for real, run fxCop on the code I develop before checking it in to the repository, although this is not possible some times, most of the time I spent some time dedicated for this task. It is important to know the standard of the code you develop and running static code analyzer or review through a peer make sure that your code is healthy.

Knuth-Moris-Pratt (KMP) algorithm on CodeProject

Whoo...Its been kind of 3 month since I had my last post, mainly due to assignments, exams and work. These days, its kind of low work and the 2nd semister is yet to start. I was just going through some of the assignments I did for my MSc , and though of posting one on codeproject. You can find my artical here . Its on a string matching algorithm, KMP, one of the fastest I would say. I have made the library available on code project, so any one can play around with it.

Windows 7 Beta Out...

Windows 7 is the new operating system built on top of Vista, unlike Vista, more emphasis is given to performance, reliability, security and multimedia experiance. One feature that I heard about Windows 7 being cool is it's task bar. You can find more on Windows 7 and also try out the beta here .

The "Dot" Behaviour

Its just my opinion about dynamic languages, so no need to be harsh. Something that I miss in dynamic languages is IDE support, even if it exists, the "dot" behaviour is likley to be not there. I mean that thing I like about Java and .Net editors is that you can easily make use of it for a quick dirty tool you need to implement, even though you might not no a thing about where to find which APIs, you hit the "dot" and you get a list of APIs supported by the class. Now this behaviour is hard to find in dynamic langauge editors (for the reason the language type are dynamic), although you can write quick code using dynamic languages compared to Java or .Net, its not easy as every one says it is. Either you have to go through the whole documentation to find out what your are looking for or try all possibilities. Yes, you would have to do this sometimes in languages in .Net or Java (and strongly recommend the you read the documents before your use APIs for the sake of kn...

Back to The Desk

Well, last 2 weeks went in a jiffy, I was on annual leave for 2 weeks and was hopping to spend some time with my family, but it turned out to be that I had to submit 4 assignments and had spend most of my time reading. I have backlogged so much of lectures that I thought its time for me to catch up, and it was boring some times, just proofs, theorm and out of the world ideas, but I think I am kind of liking this Masters. Anyway, my desk at home is filled with thick books, Networks, Algorithams, Database systems, Coding theory etc... I am proud to note that, we had some guest lectures from Virtusa to do some presentations and the one that happened last was by Sabri Sawad, Sr S/W Archectect, he did a presentation on Software Archetecture and some times back a presentation from Riza Wadood. Sr Business Consultant. At office, I'll be doing a training on UML next week for some junior collegues, that better be good. Also had some time to download a tool that was pretty cool, but don'...

CLIP for VS 2008

The Microsoft Captions Language Interface Pack (CLIP) is a simple language translation solution that uses tooltip captions to display translations for English user interface terms for Visual Studio 2008. CLIP can help those users who are not good in English to learn and use Visual Studio 2008 by providing translation for the most common user interface elements of the Visual Studio Integrated Development Environment (IDE). CLIP for Visual Studio 2008 is available in Arabic, Czech, Hebrew, Hindi, Malayalam, Oriya, Polish, Tamil and Turkish, i.e. it will display translations from English into these languages. You can download CLIP for your langauge here.

CRS and Me Getting Fatter

Picked this picture from Shuail's blog. That my first project, CRS...I would say the golden age. I dont see most of them alot, either they are not in the same location or not in the company at all. Well, you can seem me in the corner in a yellows striped shirt, and I was wondering how fat I have become. Me and the workout machine dont go together I guess, every morning I try to get on it and then I think, well lets sleep a liitle bit more..and I never get to do it. Most recently I serviced my bicycle, so that I could at least ride that on the weekends and get some calories burning..well that did not turn out well either. Anyway the post is about CRS and not about how fat I have become (partially correct). There are some missing in that picture, Rasika, Prabath, Chandima and Mahasen.