Saturday, January 3, 2009

Hear other Mozilla Campus Representatives Experience on "Mozilla on the street" Competition

Abhishek Suresh and Sheriff Mirza, are also MCR in my college.They both are in 3rd Year IT dept. Let us hear their experience.

http://www.youtube.com/watch?v=M8pKFblbDoo is their You tube link and I hope you comment it too.

Hello Abhi and Sheriff congrats for being selected as MCR. Its really great to have three MCRs in our college alone.
Hey thanks.

So guys please share your experience creating this video and what you could make out?
Even we had a lot of fun creating this video.We visited a couple of places, and it was an amazing experience speaking to many people. It was embarrassing and funny in the beginning, eventually we got a hang of it and it was fun indeed. We made a compilation of the funniest and best interviews which would of course make the video a bit interesting to watch.
From our Statistics, this is what we obtained:
Google Chrome - 20 Users
Mozilla Firefox - 16 Users
Safari - 15 Users
Opera - 15 Users
Internet Explorer - 8 Users
Maxthon - 1 User
Ares? - 1 User

Oh i have not even heard of the last two browsers.Great job guys

Get to know about Mozilla Campus Representative



Fazulul Rahman is currently doing 3rd yr B.E Computer Science and Engineering in my College. He has been selected as Mozilla campus representative and taking session on Firefox and many other Mozilla products in our college. Recently Mozilla conducted a worldwide competition "Mozilla - on the street" in which he had participated and now is among the top 3 who have won this competition. Let us hear his experience

and know what this mozilla campus representative is all about.

You can also watch his survey on YouTube "http://in.youtube.com/watch?v=Q9Dk-42V0e8" and guys please do comment on it.

Hello Fazulul Rahman, how are you?

Ya, I am fine Arumugham, How are you?


Fine. Hey congrats dude. Its really nice to hear that you have won this competition. great going.

Thanks. :)


First of all, what is this Mozilla Campus Representative all about ?

Anyone who really feels to educate and share knowledge among people and form a group of people who are passionate about open source software and the participatory Web? If you answered Yes to any of those questions, you should be a Mozilla Campus Rep!


Hmmm. Then what are the benefits being a MCR ?

Of course being a MCR gives a lots of benefits . Your resume get enhanced as you get a reference letter from Mozilla, develop your marketing skills to finest and obviously gain knowledge about open source software and web technology.


Wow. Can you share your experience in "Mozilla on the street" competition and what you had to do ?

Ya I had great fun. It is a competition for all the MCRs around the world. It is all about taking a survey from people from various disciplines, to know about their views on Mozilla Firefox.

It was really an awesome experience hearing the exceptional usefulness of Firefox from the public. It made me to think that people are very much aware of the world’s most fastest, safe and useful browser “Mozilla Firefox”. In this on the street experience, i met loads of people. They find Firefox as their best companion when it comes to surfing or searching…while there are only few who have little knowledge of just loading web pages through Firefox. And there are even few who haven’t heard of Firefox and still stick on to the old default Windows browser “Internet Explorer”. I took this opportunity to teach and show them that there is Firefox for them to lead. I also helped them come out of that little knowledge and made them use the world’s fastest browser “Mozilla Firefox”. I helped installing them the recent Firefox and showed them the difference in speed for loading WebPages between Firefox and IE. I also explained them the useful features like add-ons, private data clearing, player integration, download manager integration, popup blockers, etc…


that’s cool.How do you feel being a Mozilla campus representative ?

Well I really feel very proud to be a mozilla campus representative(MCR). Its really a great opportunity to share knowledge and technology, Amidst students and IT professionals.


What are your future plans as MCR ?

I am planning to conduct sessions in various colleges, in and around Coimbatore. I am also planning to conduct a Conference on web and open source technology inviting various IT Professionals and students.


It wouldn’t be complete without telling us, how you have been selected as MCR?

Generally I am passionate towards Mozilla Firefox and its my favorite browser too. So I thought of getting some way or the other related to it and contribute something. While surfing I came across this website www.spreadfirefox.com from where I came to know about Mozilla's service towards students.

As this was the only way to be a part of Mozilla, I was really active in various forum of Mozilla and I showed my interest of becoming a MCR. Finally I requested and after considering my profile, I was selected as Mozilla Campus Representative.

Thursday, January 1, 2009

What is LINQ? Explaination with a Demo


You all know that .NET 3.5 Framework is an incremental release of the .NET Framework and its formed by adding LINQ, ASP.NET 3.5, CLR Add-in Framework and several other.
The .NET Framework 3.5 builds upon the previous versions of the framework, namely the .NET Framework 2.0 and 3.0. More specifically, you can think of it as though the .NET Framework 3.5 has a dependency on the .NET Framework 3.0 with SP1 and 2.0 with SP1.
What is LINQ??
LINQ stands for Language Integrated Query which means the querying capabilities are built into the language. You can do queries against pretty much any kind of data, not just collections. It’s the newest Technology that’s integrated into the newest versions of C# AND VB.NET dealing with organizing your data structures in a manner similar to the way databases organizes data.
It’s not just an enhancement to the collection classes. Instead, it’s built right into the language.
How do I work on it??
1. Visual Studio 2008 to be installed in your system.
In order to program with LINQ, you need the latest C# or VB.NET. The best place to get these is Visual Studio 2008 (codenamed Orcas).
2. Don’t want Visual Studio 2008 to be installed.
You can instead just install the .NET 3.5 framework and can compile C# and VB.NET code at the command line. This is relatively easy to do, but you need your own editor and need to write all the code from scratch without the help of project templates. which is bit difficult.
Demo
We are going to develop a console application in VS 2008. In this program we are creating a function named divisible () which selects and prints the number that are divisible by 2.
These are the steps to be followed
1. All you need to do is create a new project and open a console application in Visual Studio 2008.
2. Within the class program create a void function, divisible ().
3. Create and initialize an array of integers, arr [].
4. Right after that is a bolded and enlarged expression below, which may look a bit odd. It looks like an SQL query! The code is an expression that says to obtain all the numbers in the array that are divisible by 2 and store the results in a variable n.
5. Create a foreach loop for finding x in Nums and print it.
6. Call the function divisible() from main.

Program

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace linq_demo
{
class Program
{
public static void divisible()
{
int[] arr = { 5,10,15,20,35};
var Nums=
from n in arr
where n%2==0
select n;
foreach (var x in Nums)
{
Console.WriteLine(x);
}

}
static void Main(string[] args)
{
divisible();
Console.ReadLine();
}
}
}

The output is
10
20


This, as you can see, is a list of all the numbers in the array that are divisible by 2.
Look at the bolded and enlarged expression above, it has three parts:
1. A from clause
The from clause says where to get the data.
2. A where clause
The where clause specifies a restriction on which members of the data that we want.
3. A select clause.
The final clause grabs the data
Notice the data type of the Nums variable: we're using a datatype called var, which means the compiler will figure out (at compile time) what type to make for the variable. When programming with LINQ this helps simplify matters. However, clearly Nums must have a data type. In fact, it's an internal type that implements IEnumerable. So you could rewrite the declaration like so, you prefer:
IEnumerable Nums =
from n in numbers
where n %2==0
select n;
But it would be easier if you simply declare it as var , you need not find out the exact data type and then use.This helps simplify matters.