Microsoft DeepFish
2:57pm, March 30th, 2007
Do You Love Mozilla products? So show your love to mozilla. Specially Firefox
.
10:22am, March 30th, 2007
It is the 30th of March. The end of the financial year. I had a few targets to meet, to ensure that the company meets the revenue targets set for the year.
We were following up on the projects that were planned to be closed for this year very closely. We were reminded of the targets every week and during the last few weeks, a few times during a week as well. I am not complaining about anything. I was happy to be reminded as that was helping me stay on course. For some strange reason, I never felt pressurized by the responsibility. I felt completely at ease.
I even volunteered to push one of the projects which was due to finish in April into March, in order to be able to invoice this year. And I am happy that I was able to meet the targets. My team also delivered. It was them who felt pressured and worked their butts out in order to deliver on time. Thank you guys! you stood tall and delivered!
Now that we achieved the financial targets for this year, from Tuesday on, I will have to start planning for the financial targets for 2007 now that we have secured more work and the securities project set to go live in the coming months.
7:15am, March 30th, 2007
Teh first SQL Server User Group Meeting in Sri Lanka will be held on 5th Thursday, April at Microsoft Sri Lanka. I have been planning for months for this, finally we were able to fix a date. One of my another plans was, have a site for SQL Server components that allows us to discuss various problems, solutions, tricks, etc. Atlast bought a domain and launched it too. Thanks for Gogula for helping me to make the site better and thanks for Wela to give us free-hosting.
The new web site is www.sqlserveruniverse.com. If you look for SQL Server User Group session details, please go to the site.

12:08am, March 30th, 2007
12th March – 16th March
Attended to the MVP Global Summit 2007 at Microsoft Campus, Seattle. It was one of my remarkable timeframes because I was lucky enough to meet some MVP fellows from different regions (talking with them and sharing their experiences are really a good experience), and had a chance to talk with some of SQL Server development team members. It was a good opportunity and thank for Microsoft for giving us this opportunity that is priceless.
25th March
Microsoft Sri Lanka had organized a .Net-Dat @ Peradeniya University. We (Wela, Joy, Chandana and me) spent the whole day there and did four sessions. My session focused on Data Management with SQL Server 2005. Most of them are new to .net and SQL Server, so I tried my best to give them what they looked for. Hope I did it and hope they learned something important from us. I believed that it was very success .net-day for all of us.

10:59pm, March 29th, 2007
I would never have believed it if it hadn’t appeared on the front page of the Sunday Observer.
“…under the prevailing laws carrying a condom is still illegal and those carrying condoms would be subjected to a fine…”
“In Sri Lanka, a woman with a condom can be arrested by the police and this is a hindrance in popularising condoms…”
Hindrance? HINDRANCE? Are you on crack? This is a freakin’ outrage. The Ministry of Watcha-ma-callit is trying to popularize the use of condoms but it’s still illegal? Exactly how many such un-enforced laws do we have in this country? Next thing you know, they may dig up an old law book which says it’s illegal to… oh never mind. And while I’m at it:
“Talking about condoms with politicians is still a difficult task in Sri Lanka…”
So what exactly are “condoms with politicians” and why is it so hard to talk about them? Well, anyway, I gotta get back to work.
9:33pm, March 28th, 2007
I ran across this on ScottH's post today. The Mozy.com gives you 2GB of backup storage for free.
Currently, I use the free SyncBack utility to backup the stuff to an extra hard-drive on the local machine. I've thought of using GMail Drive as a remote backup option but then I would have had to muck around with all the syncing. Plus it's basically a hack with the 10MB and .zip/.exe blocking limitations of GMail.
Mozy on the other hand makes it all a breeze! The initial setup identified all my stuff like IE/Firefox favorites, contacts and email, My Documents, Visual Studio projects, the list goes on. I can also set when it should sync and how much bandwidth it should take etc. Cool!
8:19pm, March 28th, 2007
Hmm Here is a picture of my firefox T-shirt. Sent to me free by Firefox crew.
If you like to hear the story, here is it.
I got some money from an affiliate progarm. Got 26$ and I had to have a paypal account to get that. As a lankan Payapal is dream 4 me. Aked fo help from Aza Dotzler & Nazly. You know both helped me. Aza sent me a T-shirt through Rhian Bakers & Nazly has finally got the T shirt throgh his friend.
I’d like to thank Az,Rhian & Nazly & also Nazly’s friend Shosu. Love you guys
.
[Fox Rox but unfortunately Firefox 2.0 doesn’t work (May be it’s after the upgrade). Better try downloading 2.0.0.3 coz Have no time to hack around & fix things]
10:04am, March 28th, 2007
In our current project I came up with a situation where in needed to filter some values in a generic List. So I used generic’s FindAll method. Its very powerful way to find elements that we want in a generic collection. and it’s use a Predicate to do all the filtering part . Here is an example of to use the FindAll method. I think is will be useful to the people who work with generic collections . using this you don’t need to use a foreach loop
Ex:-
Let’s assume we have a generic list of USER Object, and USER object has properties call FullName (string), Age(int) And isActive(bool) . So let’s think we get list (LIST<t>) of user objects from a method call GetAllUsers, so our code will be like
 List<User> ListUsers = GetAllUsers();
Ok now we want List of users that are only active. So to this where we can use the  FindAll method
List< User > ListActiveUSers = ListUsers.FindAll(ActiveUsersOnly);
Predicate<User> ActiveUsersOnly = delegate(User user)
   {
       return user.isActive == true;
   };
Here we call the FindAll method for the ListUsers’s List, it take a Predicate as the parameter. So in the Predicate deligate what we have to do is create a user object and check of the condition we want pass. So here it will check with each element of our old list and the elements that match will save in a return list.
This is a real performance booster and time saver
8:36pm, March 27th, 2007
Two cool things that came through my feeds today include Samsung announcing a 64GB Flash Drive and way cooler are the pico-projectors which may some-day end up being embedded on a phone.
The future looks good!
8:16pm, March 27th, 2007
8:17am, March 27th, 2007