Monday, December 20, 2010

Great G2G of CSE 04 KU

Recently, we are planning to have a good g2g for CSE o4 batch of Khulna University. Almost 1.5 year ago, we had a g2g of our batch which was great and now most of us are away from each others and doing jobs. Once, we passed so much close time with our friends, so miss people and we are planning a great g2g. Here is the group event.

http://www.facebook.com/event.php?eid=168717183163900

Great G2G of CSE 04 KU

Recently, we are planning to have a good g2g for CSE o4 batch of Khulna University. Almost 1.5 year ago, we had a g2g of our batch which was great and now most of us are away from each others and doing jobs. Once, we passed so much close time with our friends, so miss people and we are planning a great g2g. Here is the group event.

http://www.facebook.com/event.php?eid=168717183163900

Sunday, December 12, 2010

Enjoyed Concert of Shahrukh Night

Two days ago, when I was returning home dropping mukta in her house, I had to stop by the gathering of people at Moylapota More. I found the big screen with Shahrukh Khan dancing with some girls. I am a fan of Shahrukh khan and watched a lot of movies for last 10 years and I decided to watch the big screen convert. In a word, it was awesome and I enjoyed the show for almost 2-2:30 hours without feeling a pain for standing on my legs. After a long days, I found I got some real enjoyment as I spend the day before computer and do not get much chance to watch TV. Anyway, that was great, but often, there I found some people who seeks fault in others, I saw them active in facebook, forums... they will be there always which i don't care. The enjoyment was pure and I love this guy really. Others came with Shahrukh also did good. Thanks to the organizer for such an event.

Enjoyed Concert of Shahrukh Night

Two days ago, when I was returning home dropping mukta in her house, I had to stop by the gathering of people at Moylapota More. I found the big screen with Shahrukh Khan dancing with some girls. I am a fan of Shahrukh khan and watched a lot of movies for last 10 years and I decided to watch the big screen convert. In a word, it was awesome and I enjoyed the show for almost 2-2:30 hours without feeling a pain for standing on my legs. After a long days, I found I got some real enjoyment as I spend the day before computer and do not get much chance to watch TV. Anyway, that was great, but often, there I found some people who seeks fault in others, I saw them active in facebook, forums... they will be there always which i don't care. The enjoyment was pure and I love this guy really. Others came with Shahrukh also did good. Thanks to the organizer for such an event.

Thursday, December 9, 2010

If you try to kill emotion, emotion will kill you

Human is really a strange creation of Almighty and more stranger is human mind. People often live a whole life, but never get a chance to recognize themselves. For example, people around me a practical, workaholic and professional guy who can controls emotion without any kind of abrupt behavior. Sometime, I myself become astonished how can I do that? How can I work for hours without thinking anything else!! But, soon I realized that if you push your emotion into the garbage, sometimes, you will have to take that out of trash to save your life, because, you are a human and not a machine. Emotion is part of your life and you can't deny ever. You can restrict to show emotion in front of others, but at some time you will find that there is something in your heart that started melting and coming out as tears--quite strange behavior of human!

From my childhood, I was a emotional boy and during my college life, I really could not control myself from shedding tears after getting some misbehavior from senior brothers (which was up to class 8) in the first time, but, after coming out of the college I became a changed man. Actually, J.C.C taught me something that just mixed with the blood.

Now I don't become upset due to a rough behave from anyone (except one) but, sometimes, past reminds me that we are running with the time which is irreversible and we are just a part of game of nature. In deed, we won't exist for long, there creates a deep cry in the heart if I can go back to the past.....! I don't wanna leave this world, I love this world

If you try to kill emotion, emotion will kill you

Human is really a strange creation of Almighty and more stranger is human mind. People often live a whole life, but never get a chance to recognize themselves. For example, people around me a practical, workaholic and professional guy who can controls emotion without any kind of abrupt behavior. Sometime, I myself become astonished how can I do that? How can I work for hours without thinking anything else!! But, soon I realized that if you push your emotion into the garbage, sometimes, you will have to take that out of trash to save your life, because, you are a human and not a machine. Emotion is part of your life and you can't deny ever. You can restrict to show emotion in front of others, but at some time you will find that there is something in your heart that started melting and coming out as tears--quite strange behavior of human!

From my childhood, I was a emotional boy and during my college life, I really could not control myself from shedding tears after getting some misbehavior from senior brothers (which was up to class 8) in the first time, but, after coming out of the college I became a changed man. Actually, J.C.C taught me something that just mixed with the blood.

Now I don't become upset due to a rough behave from anyone (except one) but, sometimes, past reminds me that we are running with the time which is irreversible and we are just a part of game of nature. In deed, we won't exist for long, there creates a deep cry in the heart if I can go back to the past.....! I don't wanna leave this world, I love this world

Wednesday, December 8, 2010

How to configure DHCP in windows server 2003?

The Dynamic Host Configuration Protocol (DHCP) is an auto configuration protocol used on IP networks. Computers that are connected to IP networks must be configured before they can communicate with other computers on the network. DHCP allows a computer to be configured automatically, eliminating the need for intervention by a network administrator. It also provides a central database for keeping track of computers that have been connected to the network. This prevents two computers from accidentally being configured with the same IP address.
Here is some links for configuring DHCP in the local network:
1. http://www.windowsreference.com/windows-server-2003/install-and-configure-dhcp-server-in-win-server-2003-step-by-step-guide/


2. http://www.windowsnetworking.com/articles_tutorials/DHCP_Server_Windows_2003.html

Tuesday, December 7, 2010

Negative things in I gained in CC

One thing I got from my 6 years cc life-that is fear for any faulty jobs. That was in cadet college, in job life--everywhere it is haunting me down. I am 25-26 years boy and still, I became afraid often If I am doing any thing wrong or not. Actually, nothing is that wrong I do but, whenever I am called for a serious meeting..then I became sweated. I think its time to make this over. Never, feel such so obedient-like fear, its time to be a complete guy. Think and work logically and protest for your stand. Give the due to the owners, but not make yourself deprived of the due----that's the policy.

Wednesday, November 24, 2010

Greedy knapsack problem

About knapsack problem the most important thing is that, you have to reorder the objects in descending order of profit per capacity or (Pi/Wi). When the reordering is done, then you can select the object one by one following that order. And it is guaranteed that order will produce the optimal solution for your knapsack problem. Here is the wiki link you want to read:
http://en.wikipedia.org/wiki/Knapsack_problem#Greedy_approximation_algorithm

Started thinking about Algorithms

I completed my undergraduate degree in B.Sc 2009. I am also getting President's Gold Medal for scoring the highest CGPA in the school, but what is my regret is that I don't have the programming achievement. Actually, I found that never learned an algorithm properly. In my 4th semester I got 4.00 out 4.00 with an A+ in Algorithm, but truth is that was just a grade. Algorithm was not properly absorbed in me what requires regular practice and troubleshooting, programming which I could not do properly for the rest 4 semesters of my varsity life. Now I am a lecturer of the same discipline and got some time to look at those algorithmic problems. I felt about this a long time ago, but I think I need to start from right now.....! Lets hope for the best.

Can I be a great programmer?

I completed my undergraduate degree in C.S.E. But still I cant demand myself as a great programmer. I think my approach towards programming was not the correct one and I found that after sometime of thinking algorithms came to me as a big complex thing. But this should not be like that and I am good at several scientific subjects like Math, physics and I spent a sufficient amount of time for math. So, what is needed for programming--is your interest for problem solving which is present in me. By profession, I am a software developer and I used to solve a lot of problems related to software development and I feel now I need to concentrate on core algorithmic matters. I used to introduced to all algorithms, now what I need is to master them properly. Lets pass some time often and on in programming just web development---what you say?

Can I be a great programmer?

I completed my undergraduate degree in C.S.E. But still I cant demand myself as a great programmer. I think my approach towards programming was not the correct one and I found that after sometime of thinking algorithms came to me as a big complex thing. But this should not be like that and I am good at several scientific subjects like Math, physics and I spent a sufficient amount of time for math. So, what is needed for programming--is your interest for problem solving which is present in me. By profession, I am a software developer and I used to solve a lot of problems related to software development and I feel now I need to concentrate on core algorithmic matters. I used to introduced to all algorithms, now what I need is to master them properly. Lets pass some time often and on in programming just web development---what you say?

Tuesday, November 23, 2010

Early Result for 2009-2010 Session

Recently CSE discipline is trying to publish the result a bit early than the previous time. Though the mark submission date was 10-11-2010, nobody was able to submit, but I think, we may be able to publish within 1st or 2nd week of the next opening of University. Anyway, it was a good initiative and most teachers already completed most of their script-checking by this vacation i think. We should keep it up.

How to get the path of AppData for an application?

Often in windows OS, a separate directory is created for an application for a user for saving user-specific information and user has the administrative right on that folder. Recently, I was working on a project with winxp platform. While client was testing the same software on win 7 , he found that the application failed to create the or modify a file in the system directory where the application was loaded. So, then the concept of Appdata came and I implemented the solution using the link provided by client.
Here is the link
http://stackoverflow.com/questions/946420/allow-access-permission-to-write-in-program-files-of-windows-7
And here is my code for getting the AppData folder

XmlDocument xmldoc = new XmlDocument();

string xmlfilepath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);

//loading the file
xmldoc.Load(xmlfilepath + "/" + "enstatics.xml");
//returning the xmldoc
return xmldoc;

DNS setup in Ubuntu Linux

Recently, I assigned a project of setting mail server as network lab project for fourth year 1st term students. Anyway, no group came out with what I expected. Anyway, the first thing is here is needed is a successful DNS server.
Here is a post I created for DNS setup in Ubuntu Linux with BIND software.
DNS setup in ubuntu
Here is the link http://cseku.technopeople.net/setting-up-dns-linux.aspx

Working with xml file in C#

Well, Currently I am working with a project called webcam desktop application which mainly captures snapshot and video from the webcam. Before, starting the project, I had very little concept about how to do that and before me, an experienced developer worked on it. Anyway, my task was to fix the bugs. Whenever, I started bug-fixing, I found that previous coder used Appsetting to store information, which polls some static information from the system and nothing customization saved at run time, can be restored in the next run of the system. So, I came to plan to save the information in the xml file. Here I am going to show several things like


1. Creating xml file dynamically
2. Modifying the xml file
3. Reading from the xml file.

Creating XML file dynamically

//code for creating and saving default config
public void create_config_xml_file()
{
try {
//xml doc
XmlDocument xmldoc = new XmlDocument();

//xml declaration
XmlDeclaration xmldeclaration = xmldoc.CreateXmlDeclaration("1.0", "utf-8", null);

//create root element
XmlElement rootNode = xmldoc.CreateElement("myconfigdata");
xmldoc.InsertBefore(xmldeclaration, xmldoc.DocumentElement);
xmldoc.AppendChild(rootNode);

//adding more children to the root node

//imageformatindex
XmlElement ifiElement = xmldoc.CreateElement("imageformatindex");
ifiElement.InnerText = "1";
rootNode.AppendChild(ifiElement);

//currentdirectory
XmlElement currDirElement = xmldoc.CreateElement("currentdirectory");
currDirElement.InnerText = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
rootNode.AppendChild(currDirElement);

//fileprefix
XmlElement fpElement = xmldoc.CreateElement("fileprefix");
fpElement.InnerText = "ISeeStand";
rootNode.AppendChild(fpElement);

//filesuffixid
XmlElement fsElement = xmldoc.CreateElement("filesuffixid");
fsElement.InnerText = "2";
rootNode.AppendChild(fsElement);

//sequential
XmlElement seqElement = xmldoc.CreateElement("sequential");
seqElement.InnerText = "0";
rootNode.AppendChild(seqElement);

//sequentialvid
XmlElement seqVidElement = xmldoc.CreateElement("sequentialvid");
seqVidElement.InnerText = "0";
rootNode.AppendChild(seqVidElement);

//videncoder
XmlElement videncElement = xmldoc.CreateElement("videncoder");
videncElement.InnerText = "WMVideo9 Encoder DMO";
rootNode.AppendChild(videncElement);

//framesize
XmlElement fsizeElement = xmldoc.CreateElement("framesize");
fsizeElement.InnerText = "800 x 600 @5.00 fps";
rootNode.AppendChild(fsizeElement);

//framerate
XmlElement frateElement = xmldoc.CreateElement("framerate");
frateElement.InnerText = "5.00 fps";
rootNode.AppendChild(frateElement);

//getting appdata folder
string app_path = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);

//saving that document
xmldoc.Save(app_path+"/"+"enstatics.xml");

}
catch (Exception exc) {
MessageBox.Show("Failed to create the xml configuration file."+exc.Message);
}
}

From the above code, we can see how to use XMLDocument object and XmlNode for creating a XML file.

Modifying the XML file

The following code saves some info into the xml file accessing a particular XmlNode


//saving the image format index to the xml file
try {
XmlDocument xmldoc = MyStaticMgr.loadMyXMLDoc();
XmlNode formatIndexNode = xmldoc.GetElementsByTagName("imageformatindex")[0];
//setting the preferences to the xml node
formatIndexNode.InnerText = (ImageformatComboBox.SelectedIndex + 1).ToString();
//now saving the xml file
int result=MyStaticMgr.saveMyXMLDoc(xmldoc);
}
catch (Exception exc) {
MessageBox.Show("Failed to save the preferences"+exc.Message);
}

Reading from XML file

The following code will demonstrate how to access a particular node of the xml file for a particular information

//making a default choice
try {

XmlDocument xmldoc = MyStaticMgr.loadMyXMLDoc();
XmlNode formatIndexNode = xmldoc.GetElementsByTagName("imageformatindex")[0];
int format_index = int.Parse(formatIndexNode.InnerText);
//now setting that index to the combobox
ImageformatComboBox.SelectedIndex = format_index - 1;
}
catch (Exception exc) {
string messageBoxText = exc.Message;
string caption = "Exception Occurred";
MessageBox.Show(messageBoxText, caption);
}


From the above codes we found a particular section like this

XmlDocument xmldoc = MyStaticMgr.loadMyXMLDoc();

and

//now saving the xml file
int result=MyStaticMgr.saveMyXMLDoc(xmldoc);

Actually, MyStaticMgr is a static class which handles the basic operation like opening an xml document and returning the document object or saving the xmldocument object. Here is the code

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Windows.Forms;

namespace ISeeStand
{
public static class MyStaticMgr
{

//code for loading the xml document
public static XmlDocument loadMyXMLDoc()
{
XmlDocument xmldoc = new XmlDocument();
string xmlfilepath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
//loading the file
xmldoc.Load(xmlfilepath + "/" + "enstatics.xml");
//returning the xmldoc
return xmldoc;

}

//code for saving to the xml file
public static int saveMyXMLDoc(XmlDocument xmldoc)
{
int saved = 0;
try {
string xmlfilepath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
//loading the file
xmldoc.Save(xmlfilepath + "/" + "enstatics.xml");
//yes the file is saved
saved = 1;
}
catch (Exception exc) {
string messageBoxText = exc.Message;
string caption = "Exception Occurred";
MessageBox.Show(messageBoxText, caption);
}

//returning the result
return saved;

}



}
}

Thursday, November 4, 2010

Nostalgic Past

Sometimes I use to listen to the songs which I heard at least 9-10 years ago during my college life. Some of the songs remind me my golden time of life. A great inner-crying voice says to me if I could return to that past! Why can't we go back to past for few days, moments? I think Almighty should provide some power like this. Of course, there could be some logic and anti-logic against this, but life is not always a matter of logic, rather past is a matter of emotions too. While I listen to those songs, I feel like I am in that past, in that place with that age.......so nostalgic matters...!!

I remember my stay at JCC, that house, that fields, that academy blocks, my age, my thoughts staying at JCC everything. I forgot a lot of things and everyday I am forgetting gradually, but I will never forget my JCC, because that's the real emotional life for every cadet.

So, we people have both some aspiration to visit past and future of our life. Past soothes our mind and future reminds us hope for better.
May we go back to JCC again!!!

Monday, October 18, 2010

Love -secret thoughts

Love is such a feeling which forces mind to forget the boring reality, daily awful works, forget and forget all griefs and blames and just to think of something real romantic and sometimes it looks to me as a dream in my sleep or a part of my day dream. Sometimes, when I watch a romantic movie and see love, it drenches my dry heart with the rain of love and soft feeling.

Generally, I am a practical boy and aware of duties and responsibilities, but sometimes it looks to me that I need to have some time only for myself and herself whom I think of forgetting rest of the world. This feeling looks like a heavenly feeling in this ugly world.

From the childhood, I was very optimistic and full of aspiration about life, progress, establishment, honor and of course love. And there some time comes in my life when just like to think of some romantic moments that soothe my mind and prepare for the next days coming ahead.

Recently I am thinking: which day is better> working day or holiday. As working day is frequent,so I should seek something that energizes me in that way which will be beneficial to life and work.

Sorry if you read so far. But, I just wanted to write this post without any purpose and sometimes I like to enjoy my freedom...after all, its my blog.

Masud.

Love -secret thoughts

Love is such a feeling which forces mind to forget the boring reality, daily awful works, forget and forget all griefs and blames and just to think of something real romantic and sometimes it looks to me as a dream in my sleep or a part of my day dream. Sometimes, when I watch a romantic movie and see love, it drenches my dry heart with the rain of love and soft feeling.

Generally, I am a practical boy and aware of duties and responsibilities, but sometimes it looks to me that I need to have some time only for myself and herself whom I think of forgetting rest of the world. This feeling looks like a heavenly feeling in this ugly world.

From the childhood, I was very optimistic and full of aspiration about life, progress, establishment, honor and of course love. And there some time comes in my life when just like to think of some romantic moments that soothe my mind and prepare for the next days coming ahead.

Recently I am thinking: which day is better> working day or holiday. As working day is frequent,so I should seek something that energizes me in that way which will be beneficial to life and work.

Sorry if you read so far. But, I just wanted to write this post without any purpose and sometimes I like to enjoy my freedom...after all, its my blog.

Masud.

Saturday, October 9, 2010

The first night at JCC

The moment my parents left me in the college under the supervision of locker partner Sina vai (H-1819), I felt like a fish out of water. Completely new environment with new faces all over around me. From my childhood, I am an introvert boy and the environment was not much friendly there. Anyway, there was an information of joy that, after 7 days, there is a break for 20 days.


At the evening, cadets are told to go to the mosque for evening prayer. I along with other boys went to say prayers and I found that I was the smallest boy of my class. I felt really sad as senior guys started calling me 'picci'.


After the prayer, we came back to dorm-1o Hunanin house. Dorm leaders are Zahid vai (H-1769) who is recently my colleague in CSE,KU faculty and Imam vai. Those guys were not very aggressive, but not friendly also. Actually, cadet college is a tough place for junior cadets and I experienced it toughly.


At 7:30pm we were told to fall in for dinner. At the first day, Adjutant of the college had some speech in the dining hall and there occurred some interesting and scary events took place there which I will describe in the next post.
thanks

Saturday, September 25, 2010

My JCC started

After 7 years I left my college in 2003, I felt that I really to need to write the memories I have passed in JCC. Lets start from the beginning. Then I was reading in class 7 in sunrise public school in Benapole. I was the 2nd boy of my class. The first boy, who is also my close friend and renowned as 'British' because of his tremendous cleverness, was the first to know about cadet college. One day, I heard that he is taking preparation for admission in cadet college. Few days later, I managed to buy some books by Abdur Rahman bin Hafiz and started reading.
One of our teachers named Wazed sir was very enthusiastic about our admission in cadet college and he used to share his experience about cadet students. We were thrilled about the cadet life and started reading with full effort.
One day, I, razib and his home tutor started for JCC to buy the admission form in JCC. When we reached JCC, we are really amused about the beauty and heritage of JCC and inside me, I felt like being cadet.
Anyway, gradually, the date for admission came and I reached jessore in Shahanur uncle's mess to attend the written exam which was supposed to be held on Jessore Cantonment College. The whole night I read a lot and attended the exam in the morning. My Math was bad, GK was good, Bangla and English was awesome. After completing the exam, I with my father, who is the pillar of my being Masud, reached home.
Then many days were gone, one day result came out and we found that I, Hafiz and Rajib-all we got chance in written exam. We are greatly congratulated for the result and sunrise started to think of a better dream of having cadet college students.......!
that's for now. I will be back soon.
Masud.

Guitar

Recently I am planning to buy a guitar. I suddenly found that I need something to spend leisure fruitfully and amusing. Recently I watched a movie called 'August Rush'. I am greatly encouraged to enhance my passion to music. From my childhood, I was to some extent fond of music and used to listen different type classic and modern songs. During my college life, I also used to start learning the music also. But, due to some problem it does not ended up well. Anyway, I feel the passion for music still and I think its the best time for me to spend some of time for music. So, I am planning to buy a guitar and I am sure that will give me more amusement behind programming and web development works. I am also checking out with Adnan about this, as he is the boss before me.

thanks.

Guitar

Recently I am planning to buy a guitar. I suddenly found that I need something to spend leisure fruitfully and amusing. Recently I watched a movie called 'August Rush'. I am greatly encouraged to enhance my passion to music. From my childhood, I was to some extent fond of music and used to listen different type classic and modern songs. During my college life, I also used to start learning the music also. But, due to some problem it does not ended up well. Anyway, I feel the passion for music still and I think its the best time for me to spend some of time for music. So, I am planning to buy a guitar and I am sure that will give me more amusement behind programming and web development works. I am also checking out with Adnan about this, as he is the boss before me.

thanks.

Thursday, September 2, 2010

Deep interest to music

Once upon a time, I was greatly addicted to music. Specially, during 2003, when I was to some extent decided to join Army and got a lot of leisure to spend, then I discovered that I had a great interest for music. That time I came to know a lot of hindi remix songs of DJ HOT REMIX. After 7 years later, I am again entered into the world of music and I found I was really needed that. Human life is boring without music. Really, I feel that I have to be addicted to something which soothes my mind. Money making works does not give pleasure all the time....rather we have hearts that need to feed something like songs, story,love...etc.
Planning to have some audio CDs of musics of I 17-22s songs. That will remind me some golden time of my life and I really enjoy that...Lets do it.

Masud (03-09-2010)

Deep interest to music

Once upon a time, I was greatly addicted to music. Specially, during 2003, when I was to some extent decided to join Army and got a lot of leisure to spend, then I discovered that I had a great interest for music. That time I came to know a lot of hindi remix songs of DJ HOT REMIX. After 7 years later, I am again entered into the world of music and I found I was really needed that. Human life is boring without music. Really, I feel that I have to be addicted to something which soothes my mind. Money making works does not give pleasure all the time....rather we have hearts that need to feed something like songs, story,love...etc.
Planning to have some audio CDs of musics of I 17-22s songs. That will remind me some golden time of my life and I really enjoy that...Lets do it.

Masud (03-09-2010)

Ramadan Vacation

University is going to shutdown for vacation for almost 20 days. This afternoon I was supposed to have a huge rush for different sessional works evaluation. Anyway, due to some unofficial inconvenience, all of them was postponed upto PL and I got relieved. Probably, this is one of the best solution, because I found that working hard in the afternoon makes me weak and I can't do work at night. So, anyway, vacation is going to start and I have a lot of things to do during vacation. Now I just need a good plan to perform those operations one by one. That's why I felt to write it down as a blog post.
Good luck on Ramadan vacation.

Ahalan Sahalan, Saharu Ramadan
Eid Mubarak
Masud (02-09-2010)

Mat sleep

Recently I have bought a mat and started sleeping on it throwing my bed on the floor. I was living a bugs life. Every time I go to sleep on my bed I had to fight with some bugs and they just poisoned my body and I found it really hard for me to live in such manner. To some extent, I wonder dogs also can sleep in peace, but often human life becomes intolerable than that.

So, I just wen to the market and bought and mat of TK-150. Lets see how good effects come to me for this. I hope this will do good as it was suggested by mukta and my family. Overally, they always want good to me.......

Masud(02-09-2010)

Mat sleep

Recently I have bought a mat and started sleeping on it throwing my bed on the floor. I was living a bugs life. Every time I go to sleep on my bed I had to fight with some bugs and they just poisoned my body and I found it really hard for me to live in such manner. To some extent, I wonder dogs also can sleep in peace, but often human life becomes intolerable than that.

So, I just wen to the market and bought and mat of TK-150. Lets see how good effects come to me for this. I hope this will do good as it was suggested by mukta and my family. Overally, they always want good to me.......

Masud(02-09-2010)

Decision about programming

For few days I am discovering that I am not happy properly with the job I am doing. Some thing I probably missing and that's the feeling I felt. I had a habit of programming and often I found its really hard for me, but its the hilarious work I did in my university career. I found that I like most coding C in Visual Studio 6. Now, I have collected this software and going to install it and have some occasional programming as I need to develop the programming skills. I have gained some professional level skills in web development, but now I need core programming experience in Algorithms and ACM problems. Lets develop the skills...then I could be a real problem-solver.

thanks. Masud (02-09-2010)

Decision about programming

For few days I am discovering that I am not happy properly with the job I am doing. Some thing I probably missing and that's the feeling I felt. I had a habit of programming and often I found its really hard for me, but its the hilarious work I did in my university career. I found that I like most coding C in Visual Studio 6. Now, I have collected this software and going to install it and have some occasional programming as I need to develop the programming skills. I have gained some professional level skills in web development, but now I need core programming experience in Algorithms and ACM problems. Lets develop the skills...then I could be a real problem-solver.

thanks. Masud (02-09-2010)

Sunday, August 29, 2010

Handling event from Context Menu strip after a Right Click

Recently I deal with this problems for 1-1.5 hours. Anyway, lastly I figured it out how to perform this operations: Here are the steps. We need three controls for this

  • Windows form

  • ListView Control

  • ContextMenu Strip


Step-1:Loading listview items::



The following code loads the items to listview control.

protected void load_courses()
{

//code for loading the courses
try {
OleDbConnection conn = new OleDbConnection(StaticData.connection_string);
conn.Open();
string select_courses = "select * from Course";
OleDbDataAdapter oda = new OleDbDataAdapter(select_courses, conn);
DataTable dt = new DataTable();
oda.Fill(dt);

//databinding to the listview
TestlistView.Items.Clear();
for(int i=0;i < dt.Rows.Count;i++)
{
DataRow row = dt.Rows[i];
ListViewItem lvi = new ListViewItem(row["CourseNo"].ToString());
lvi.SubItems.Add(row["CourseID"].ToString());
lvi.SubItems.Add(row["Credit"].ToString());
TestlistView.Items.Add(lvi);
}


}
catch (Exception exc) { }
}



private void Form1_Load(object sender, EventArgs e)
{

//code for loading the courses
load_courses();

}



Step-2:Handling the right click event on listview items:



private void TestlistView_MouseClick(object sender, MouseEventArgs e)
{

if (e.Button == MouseButtons.Right)
{
Point pt = TestlistView.PointToScreen(e.Location);
contextMenuStrip1.Show(pt);
}


}


Step-3:Handling context menu strip event



private void contextMenuStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
{
if (e.ClickedItem.Text == "Upload")
{
MessageBox.Show("Upload started for:" + TestlistView.SelectedItems[0].Text);
}
}




Thats how we can use right click event to show a context menu strip and handle menu strip click events.
thanks. Masud(29-08-2010)

Friday, June 18, 2010

Random thoughts..............


  • Should I work sincerely always?

  • Should I dodge in my works to get relief?

  • Should I leave the job?

  • I am doing good. Should I do more good?

  • Should I work like a machine leaving all human senses?

  • Should I reach the peak of success?

  • What is called success? Am I happy with the success?

  • If I am successful why not I am happy?

  • Am I unhappy?

  • What I should exactly do then?

  • May be I need some rests and entertainment in works?

  • What about the long term planning? how to implement?

  • Am I unsocial? Nope I am not. So?

  • Do I have a lot of friends?

  • Am I not friendly? Do I communicate with them regularly?

  • What is the real benefit of this communication?

  • Why people communicate? Is communication really needed?

  • If yes,then why I didn't so many days?

  • I was busy for what, for job and establishment?

  • Yes! I was busy to have this time for communication!!!!

  • And this communication will remove the boredom of job....yes that's the answer!

Random thoughts..............


  • Should I work sincerely always?

  • Should I dodge in my works to get relief?

  • Should I leave the job?

  • I am doing good. Should I do more good?

  • Should I work like a machine leaving all human senses?

  • Should I reach the peak of success?

  • What is called success? Am I happy with the success?

  • If I am successful why not I am happy?

  • Am I unhappy?

  • What I should exactly do then?

  • May be I need some rests and entertainment in works?

  • What about the long term planning? how to implement?

  • Am I unsocial? Nope I am not. So?

  • Do I have a lot of friends?

  • Am I not friendly? Do I communicate with them regularly?

  • What is the real benefit of this communication?

  • Why people communicate? Is communication really needed?

  • If yes,then why I didn't so many days?

  • I was busy for what, for job and establishment?

  • Yes! I was busy to have this time for communication!!!!

  • And this communication will remove the boredom of job....yes that's the answer!

Thursday, June 10, 2010

Technopeople Team

Currently we started the company with the targets to gain some goodwill by completing some local projects. I think live working experiences from different reputed software companies will help us to cope with upcoming challenges of digital technology.

Current team configuration:
Chief Architect: Md. Masudur Rahman, Lecturer, CSE,Khulna University.
Lead Application Developer: Shamima Yeasmin Mukta, Lecturer, CSE, Khulna University.
Marketing Analyst: Ashif Rubaiyat Hossain Shovon, Assistant Programmer, Controller Office, KU.

We planning to have local projects from different local business organizations and we also soon use to have international contracts. Lets hope for the best for
http://www.technopeople.net
We wish to have a good stand in the era of explosion of digital technology in Bangladesh as well as all over the world.

Technopeople Team

Currently we started the company with the targets to gain some goodwill by completing some local projects. I think live working experiences from different reputed software companies will help us to cope with upcoming challenges of digital technology.

Current team configuration:
Chief Architect: Md. Masudur Rahman, Lecturer, CSE,Khulna University.
Lead Application Developer: Shamima Yeasmin Mukta, Lecturer, CSE, Khulna University.
Marketing Analyst: Ashif Rubaiyat Hossain Shovon, Assistant Programmer, Controller Office, KU.

We planning to have local projects from different local business organizations and we also soon use to have international contracts. Lets hope for the best for
http://www.technopeople.net
We wish to have a good stand in the era of explosion of digital technology in Bangladesh as well as all over the world.

Thursday, June 3, 2010

New company started

I have started a new software development company. Currently it is in online version. Currently, the target is to have a site loaded online for any kind to references I need to get projects from different outsourcing sites as well as local projects. And having a web portal really needed for recognition and different news publication.
The url is:
http://technopeople.net
Please visit the site and if you have any projects to be done, post into my site.
thx.

New company started

I have started a new software development company. Currently it is in online version. Currently, the target is to have a site loaded online for any kind to references I need to get projects from different outsourcing sites as well as local projects. And having a web portal really needed for recognition and different news publication.
The url is:
http://technopeople.net
Please visit the site and if you have any projects to be done, post into my site.
thx.

Observation about relationship

When relationship turns into a burden what we need to do? We need to rethink whether it became a burden or not. Generally, when you are in a relationship and you feel like that is a totally failure and you won't get what you wanted from that? According to some famous people, there is a say: Every relationship has some problems,but the matter is how you are handing those problems. If you break up with a girl few days later, you will try to again catch up a girl, because you need to live and for that you need support from her and without your partner your life wont be complete. But girls gave some problems that you need to realize and solve by yourself. Sometimes, you need to sacrifice, sometimes you need to answer, sometimes you need to make her understood....sometimes you need to shout to stop her. But, is this a good idea to leave her forever? I don't think so and it is also my weak point. When you leave someone that relationship ends into a misunderstanding which is a real bad luck, rather it is a good idea you try to reuse the code to solve problems...debug and debug and inspect the code but don't start a new project from the scratch..when you passed the half of the project deadline...Sorry for Software engineering language..but I guess you got the point.

Observation about relationship

When relationship turns into a burden what we need to do? We need to rethink whether it became a burden or not. Generally, when you are in a relationship and you feel like that is a totally failure and you won't get what you wanted from that? According to some famous people, there is a say: Every relationship has some problems,but the matter is how you are handing those problems. If you break up with a girl few days later, you will try to again catch up a girl, because you need to live and for that you need support from her and without your partner your life wont be complete. But girls gave some problems that you need to realize and solve by yourself. Sometimes, you need to sacrifice, sometimes you need to answer, sometimes you need to make her understood....sometimes you need to shout to stop her. But, is this a good idea to leave her forever? I don't think so and it is also my weak point. When you leave someone that relationship ends into a misunderstanding which is a real bad luck, rather it is a good idea you try to reuse the code to solve problems...debug and debug and inspect the code but don't start a new project from the scratch..when you passed the half of the project deadline...Sorry for Software engineering language..but I guess you got the point.

Sunday, May 16, 2010

Need to change the habit

Probably, I need to change the habit of keeping up at night. I started this at the very first of my student life. Probably, night was very silent for me to study and most of the time I used to do mathematics in night. After completing my SSC exam, something happened to me and I turned into a machine for study. It may be, because I did bad in SSC exam than I expected. I was supposed to be in first 3 of the college but I was far away. That made me very sticky to my determination and as a result, I found that I became 1st in 1st air final defeating the unbeaten boy Ahmed. From that time I started keeping up late and I remember I used to keep up late in my school life also and it is actually a part of my all styles and it would be hard for me to give up as I guess. Anyway, man can do everything as I believe. So, I should reduce the length of keeping up...I mean should sleep b4 4am. Lets see....

Need to change the habit

Probably, I need to change the habit of keeping up at night. I started this at the very first of my student life. Probably, night was very silent for me to study and most of the time I used to do mathematics in night. After completing my SSC exam, something happened to me and I turned into a machine for study. It may be, because I did bad in SSC exam than I expected. I was supposed to be in first 3 of the college but I was far away. That made me very sticky to my determination and as a result, I found that I became 1st in 1st air final defeating the unbeaten boy Ahmed. From that time I started keeping up late and I remember I used to keep up late in my school life also and it is actually a part of my all styles and it would be hard for me to give up as I guess. Anyway, man can do everything as I believe. So, I should reduce the length of keeping up...I mean should sleep b4 4am. Lets see....

Monday, May 10, 2010

What can happen at khulna in next 10 years?

Khulna is not my home town. Actually, I had never a home town, because Benapole was never a town rather it was a busy market place for some blacker. Anyway, the moment, I entered khulna city for my varsity education, I took a decision that Khulna will be best for me to settle, because, I never planned to have life a city like dhaka. Dhaka is not worthy for living. So, considering different parameters of living, I have taken khulna in my account. Anyway, I have some future plans regarding khulna city as I completed my B.Sc degree in IT field, so I have plans regarding ICT development in Khulna. Lets assume these things I can do in khulna:
(Its necessary to write down because, in later time I will forget what I am just thinking.)
What may happen in next 10 years in Khulna:

1. Khulna is having submarine cable in Mongla which is the second submarine cable of the country which will provide a good access to Internet.
2. When internet will be available here in low cost, then people will be encouraged to look into internet.
3. After few days, people will try to get some means to earn money or try to use internet to get their job done by internet.
4. Then internet related business will burst out.
5. Several ICT firms will be established and with sufficient amount of capital and Jalil tower will the BCS city of Khulna.
6. khulna has a huge number of students looking for higher education go to dhaka or outside khulna everywhere.
7. More private universities will have to be established to meet the demands of those students.
8. Bangladesh is still away to require very high quality-software, but it will start having benefit of IT facilities.
9. There will be more diversity in resources and knowledge and digital divide may occur which govt. need to take care.
10. After completion my masters and PhD there may be some switching:
11.a. may join a renowned big company
11.b. may start a consulting company / firm beside teaching in KU
11.c. may start a software firm (outsourcing & local sourcing) besides teaching with the gained expertise.

So, far I have thought. Lets see what comes to mind in next few days.

Masud.

Friday, May 7, 2010

Listening a lot of songs

Its 3 am. I am still with the habit of keeping up in night. Nowadays, my mind is bad. I found different times that musics have deep impact on me. Lets write down something about my some interesting things.
1. When it rains, I had a habit to stare at the rains and listening to the sound of raining. we had a house of tin shaded. I used to sleep there. I passed the most interesting time when it rains in the night. It seems to me world is really beautiful when its rains like that.
2. I am listening to lots of songs. Each of these songs is giving me something like ecstasy which I really need now.
3. I decided to have a huge collection of musics that will help me to pass good times.
4. Music really makes me forget the bad events and mishaps of my life for some time. When one of my favorite songs plays, it reminds me some events good and I used to feel that in my life...that's why I like the music.
5. Probably, I had a secret desire to be singer and Almighty gave me a good voice and may be one day I may be a singer, but it is evident that I have some real interest about music and songs.

Masud.

Listening a lot of songs

Its 3 am. I am still with the habit of keeping up in night. Nowadays, my mind is bad. I found different times that musics have deep impact on me. Lets write down something about my some interesting things.
1. When it rains, I had a habit to stare at the rains and listening to the sound of raining. we had a house of tin shaded. I used to sleep there. I passed the most interesting time when it rains in the night. It seems to me world is really beautiful when its rains like that.
2. I am listening to lots of songs. Each of these songs is giving me something like ecstasy which I really need now.
3. I decided to have a huge collection of musics that will help me to pass good times.
4. Music really makes me forget the bad events and mishaps of my life for some time. When one of my favorite songs plays, it reminds me some events good and I used to feel that in my life...that's why I like the music.
5. Probably, I had a secret desire to be singer and Almighty gave me a good voice and may be one day I may be a singer, but it is evident that I have some real interest about music and songs.

Masud.

What am I alike?

The most hard thing is to discover oneself probably. We can easily identify what other wants from you if you observe a little. But, at this stage of life, I found that I don't know what I really want from others. From my childhood, I was an introvert boy and I actually didn't expect much from others. Most of time, I like to spend my own time with myself...I got an adjective for myself called 'Nerd'. Though I don't have that much technical skills to be nerd which is related to technical jerks to some extent. But, I really found that I don't know what I want.

It may be the causes, I am having jobs and established to some extent at this stage of life and having two jobs with handsome salary in total, but whats next. What am I running for? Why I can't stop? What is the goal of my life? I am working for University (teaching the students) and Company, but what I am doing for myself? Or, does myself not exist or something unrealistic. From the childhood, I found I have targets to fulfill and finally I have succeeded to do that, but why I am not happy?

I generally did not want anything much from anyone, probably I am not confident enough to ask for something. To speak the truth, I feel shame to ask for any favor for me...that's why it is not easy for me to ask out a girl. Why does this hesitation come to me?....am I coward...actually not. Actually, I can't depend on others properly except my family still. Do I depend on myself? of course...! Do I want to be changed? actually I wanna be happy...............I want to know the meaning of this life provided to me by the One who gave others. I want to be happy with all in all respects..

This blog contains very personal matters. Those who read this blog already have known much about me and I guess I could consider you as friends.

Masud.

What am I alike?

The most hard thing is to discover oneself probably. We can easily identify what other wants from you if you observe a little. But, at this stage of life, I found that I don't know what I really want from others. From my childhood, I was an introvert boy and I actually didn't expect much from others. Most of time, I like to spend my own time with myself...I got an adjective for myself called 'Nerd'. Though I don't have that much technical skills to be nerd which is related to technical jerks to some extent. But, I really found that I don't know what I want.

It may be the causes, I am having jobs and established to some extent at this stage of life and having two jobs with handsome salary in total, but whats next. What am I running for? Why I can't stop? What is the goal of my life? I am working for University (teaching the students) and Company, but what I am doing for myself? Or, does myself not exist or something unrealistic. From the childhood, I found I have targets to fulfill and finally I have succeeded to do that, but why I am not happy?

I generally did not want anything much from anyone, probably I am not confident enough to ask for something. To speak the truth, I feel shame to ask for any favor for me...that's why it is not easy for me to ask out a girl. Why does this hesitation come to me?....am I coward...actually not. Actually, I can't depend on others properly except my family still. Do I depend on myself? of course...! Do I want to be changed? actually I wanna be happy...............I want to know the meaning of this life provided to me by the One who gave others. I want to be happy with all in all respects..

This blog contains very personal matters. Those who read this blog already have known much about me and I guess I could consider you as friends.

Masud.

Thursday, May 6, 2010

Hard times

Hard times come to human life often and on. I had this experiences different times and I also came over that situation. Before discussing this things let me express my view towards family education. I am a boy from a middle class family. My father was an employee of a shipping company (C& F Agent) called M/s Sharif Shipping Company. The boss of the company was a big fraud. My father was the general manager of that company. Due to lack of responsibility and foresight of the boss company was just going down and father left that job. Boss owed to my father 1+ lac TK. That amount of money, we didn't get yet. May be, it was not a big amount, but sometimes it was really big amount for our family in different crisis times. My mother is a housewife and an ideal woman in my life. I love her very much though I didn't get much chance to be with mother for long time in my childhood, because my younger brother is just 1.5 year junior to me. So, mother sometimes think I don't miss her too much, I also don't know whether I miss her or not, but she is the closest one (may be she does not know all about me) probably.

I said earlier, I have a mentality of middle class family. And for middle class family, establishment in life and supporting the family is sacred duty which I always remember from my childhood and believe it heart and soul.

Many years of my life passed and by this time, many things happened in my life, but this thoughts never changed.

Now lets come to the point.At the first, I was not much enthusiastic about the higher education of the girls and its because of having no example of successful girls in front of me. But when, I came along to some type of successful one, I became hopeful that yup its a good point and good success to be observed. But regarding the higher educated girls I have some observations to deliver in this blog.

a. For a long time, girls are deprived of higher education and different other facilities and they are really oppressed and dominated by the so called society conducted by man. So, when a girl came to a success defeating other boys and girls, then she consider it a great victory and I also believe that as they overcome lots of obstacles in the society for being in such positions despite of their merits.

b. Some girls are by born stubborn and if that success came to them like I mentioned they really became too much proud of their success and really ignore the contributors of their success. Of course, the most contribution to this success goes to her, but sometimes, they really try to ignore the others contribution. There is a cause behind this----so called society always try to dominate the girls and they can't believe that girls can go so high. So, those girls try to hide others contribution to her success. those who are generous enough, later they pay gratitude to those contributors, but some others may forget to pay gratitude and even if the contributor is male, then may be she forget it willingly.

c. My family education says that, may be I am a university professor, senior software developer or so on...but I am a son in my home. I am a family member to my family. And I like to do family works with others. From my childhood, I used to pay more time in study and was not involved in household chores much but that does not mean that I cant do that and I hate to do that. I feel good to be in a good position but I never hurt those well wishers.

d. I have a personal observation about education and establishment. Education is like a light that enlightens one's life and enlightens others life around him/her. Education teaches people adaptation with different environment efficiently and if anyone is boast of one's education too much then this enlightenment is not possible. Because, he/she keep him/herself busy in considering whether he/she is being paid the proper respect. May be, I am talking too long words and there may be a question, whether I follow those words or not. But, I will say, I follow these what I say, at least in my family and also tries elsewhere as much I can. I also respect my relatives who care about me and also respect some would be families also and always try to consider whether I am on right track or not.

e. I had such an incident with my partner yet. I don't know she will be my permanent partner or not, but I think I should write this down now, because few times later, may be all things I wont be able remember as I have some forgetting problems. Story started in this way:

Suppose, my mother is a housewife. She has to handle a lot of household chores in our house. We tried to have helping woman in our house but in rural area, it is a difficult task and you can never satisfy people with anything. Anyway, mother works a lot and she looks tired most of the time. We are four brothers and sometimes I feel bad that I am not helping her much in her works. Mother also does not want me to be involved in those work also as I was long-range investment for the family. But, when I used to help my mother I feel good.

But in case of her family (partner's) they have a kazer bua and their mother pays a lot of care behind them and house hold chores are shared with the bua. So, from that environment it is observed that the children of that family are habituated to see that room cleaning mainly done by bua and food-cooking done by their mother. So, from the childhood, they hate the bua's work and consider it as bua's work and cooking is their mother's work. So, according to this family, there is a clear classification of labor in their family. Actually, the problem is they used to hate bua as well as their works. May be, the bua was poor and illiterate. So, they hated her (silently) and as well as hated her works also.

Now, in case of my family, there were some working women in our family, whom we address using some relationship like kaki,vabi and we remember we never hate them and we feel grateful that they are helping my mother. The basic difference of these two families are that we were grateful despite of paying her, but they (other family) thought that they are buying the labor and they thought money can do everything. This is actually the cause of economic differences. When a family has some strong economic background, then slowly they become dominating over other families or persons in the society.

So, I was talking about different works of my family done by mother, that time I found she was very reluctant and non-interested with those works and actually, she hates those works. She thinks she is a higher educated woman and why she will do that kind of works and she is having a greater status...why she will lose it by doing so? But she forgot, the household chores are such things that everyone needs to do and there is nothing losing prestige in doing so.

There may be another explanation, probably, she is not thinking my home as homely and she is thinking she will be bound to do some serious physical works that she never experienced that will make her life horrible. So, she boldly protested that, 'I will never do those works'. Apparently, she is correct from her sense, but lets analyze the fact. As well as family background experience, she is boast of her success and she has a concept that nobody wont be able to make her done any works she does not want to do. And it is also true that it cant be done by her.

Now lets analyze my parents expectation from their daughter in law. Lets point out
1. She should be obedient to the family.
2. She may be qualified girl but in that family, she will have to behave like a daughter in law---means she cant be boast of her qualification, she should be gentle and and friendly.
3. They does not expect too much from her, but wants her to behave like their daughter as they don't have daughter.
4. They never want to get their job done by her, rather they wanna see she is taking care of me.
5. Last thing, they wanna see hospitality and cordiality from the other family.

Now lets equalize the things. I think she can be a good girl to my parents as my father already likes her, but I discovered a problem few days ago.
a. she will face a lot of problem in matching with my family and may not cope up properly if unfortunate.
b.There are some economical imbalance between these two families which may differentiate their choices, interests, thoughts,targets etc.
c. There may be a lack of hospitality due to socioeconomic and locational problem.

Problems in my cases:
a. She is a careerist girl and she will never tolerate anything that hampers her career probably. She does not have clear concept actually about careerism, but has a lot interest to be a careerist and she can sacrifice a lot for it. Apparently, its a good sign, but the problem is the same thing is true for me and that's why, I need and opposite person to take care of the family and whose main concern will be family and me.
b. So, should I feel guilty that, I am deleting someone's possibility of being famous? Actually, let me clarify things: Everybody, wants a shelter which is very necessary for the life to lead. Matter is the depth of love, if the love is there, both of them handle this thing quite easily and that does not require to warn that 'family will sacrifice if needed'.---this sentence expresses that she is not strong enough to handle careerism and family same time and that family is a load for her which sounded painful to me. Because, I myself also busy and will be busy but I never say that family has to sacrifice for that and I handle it smartly...may be she is not strong enough.

c.She has lack of gratefulness and she really forgets what other does for her. Probably, it is one of the characteristics of current modern girl that they want to be established in any cost and sometimes like a selfish also.


Now what I did:
a. Every time I planned I had a plan for her so that both of us can succeed and output is maximized. But her attitude does not reflect my contribution to her life all the time and sometimes she behaves like a stranger specially when she is angry...she cant recognize me when she is angry.
b. Actually, she hit my soft feelings about my family education and ours family educations don't match to some points and not sure it is not enough to make clash.
c. There may be domination in decision making by the family depending upon their current status.
d. Moreover, I hate boasting in people. People who are proud of themselves very much, actually they can perform the least and showing is bad. There may be self-confidence in people, but showing-off in words and attitude is quite bad though she never crossed me...but...she can hurt my family...as I think.
e. Especially, my parents may assume as their girl and may request for something from her and suddenly it may be found that she wont do that as it is not in her habit and when her stubbornness exposes to my parents, then it will create a bad situation and I will be a colored....that how I am living with her.....who cant compromise a simple little.....

Anyway, except me who has read so far, she already knew a lot about me and her. So, pray for us for a stable situation as I am not talking to her for 3 days.

thanks.

Hard times

Hard times come to human life often and on. I had this experiences different times and I also came over that situation. Before discussing this things let me express my view towards family education. I am a boy from a middle class family. My father was an employee of a shipping company (C& F Agent) called M/s Sharif Shipping Company. The boss of the company was a big fraud. My father was the general manager of that company. Due to lack of responsibility and foresight of the boss company was just going down and father left that job. Boss owed to my father 1+ lac TK. That amount of money, we didn't get yet. May be, it was not a big amount, but sometimes it was really big amount for our family in different crisis times. My mother is a housewife and an ideal woman in my life. I love her very much though I didn't get much chance to be with mother for long time in my childhood, because my younger brother is just 1.5 year junior to me. So, mother sometimes think I don't miss her too much, I also don't know whether I miss her or not, but she is the closest one (may be she does not know all about me) probably.

I said earlier, I have a mentality of middle class family. And for middle class family, establishment in life and supporting the family is sacred duty which I always remember from my childhood and believe it heart and soul.

Many years of my life passed and by this time, many things happened in my life, but this thoughts never changed.

Now lets come to the point.At the first, I was not much enthusiastic about the higher education of the girls and its because of having no example of successful girls in front of me. But when, I came along to some type of successful one, I became hopeful that yup its a good point and good success to be observed. But regarding the higher educated girls I have some observations to deliver in this blog.

a. For a long time, girls are deprived of higher education and different other facilities and they are really oppressed and dominated by the so called society conducted by man. So, when a girl came to a success defeating other boys and girls, then she consider it a great victory and I also believe that as they overcome lots of obstacles in the society for being in such positions despite of their merits.

b. Some girls are by born stubborn and if that success came to them like I mentioned they really became too much proud of their success and really ignore the contributors of their success. Of course, the most contribution to this success goes to her, but sometimes, they really try to ignore the others contribution. There is a cause behind this----so called society always try to dominate the girls and they can't believe that girls can go so high. So, those girls try to hide others contribution to her success. those who are generous enough, later they pay gratitude to those contributors, but some others may forget to pay gratitude and even if the contributor is male, then may be she forget it willingly.

c. My family education says that, may be I am a university professor, senior software developer or so on...but I am a son in my home. I am a family member to my family. And I like to do family works with others. From my childhood, I used to pay more time in study and was not involved in household chores much but that does not mean that I cant do that and I hate to do that. I feel good to be in a good position but I never hurt those well wishers.

d. I have a personal observation about education and establishment. Education is like a light that enlightens one's life and enlightens others life around him/her. Education teaches people adaptation with different environment efficiently and if anyone is boast of one's education too much then this enlightenment is not possible. Because, he/she keep him/herself busy in considering whether he/she is being paid the proper respect. May be, I am talking too long words and there may be a question, whether I follow those words or not. But, I will say, I follow these what I say, at least in my family and also tries elsewhere as much I can. I also respect my relatives who care about me and also respect some would be families also and always try to consider whether I am on right track or not.

e. I had such an incident with my partner yet. I don't know she will be my permanent partner or not, but I think I should write this down now, because few times later, may be all things I wont be able remember as I have some forgetting problems. Story started in this way:

Suppose, my mother is a housewife. She has to handle a lot of household chores in our house. We tried to have helping woman in our house but in rural area, it is a difficult task and you can never satisfy people with anything. Anyway, mother works a lot and she looks tired most of the time. We are four brothers and sometimes I feel bad that I am not helping her much in her works. Mother also does not want me to be involved in those work also as I was long-range investment for the family. But, when I used to help my mother I feel good.

But in case of her family (partner's) they have a kazer bua and their mother pays a lot of care behind them and house hold chores are shared with the bua. So, from that environment it is observed that the children of that family are habituated to see that room cleaning mainly done by bua and food-cooking done by their mother. So, from the childhood, they hate the bua's work and consider it as bua's work and cooking is their mother's work. So, according to this family, there is a clear classification of labor in their family. Actually, the problem is they used to hate bua as well as their works. May be, the bua was poor and illiterate. So, they hated her (silently) and as well as hated her works also.

Now, in case of my family, there were some working women in our family, whom we address using some relationship like kaki,vabi and we remember we never hate them and we feel grateful that they are helping my mother. The basic difference of these two families are that we were grateful despite of paying her, but they (other family) thought that they are buying the labor and they thought money can do everything. This is actually the cause of economic differences. When a family has some strong economic background, then slowly they become dominating over other families or persons in the society.

So, I was talking about different works of my family done by mother, that time I found she was very reluctant and non-interested with those works and actually, she hates those works. She thinks she is a higher educated woman and why she will do that kind of works and she is having a greater status...why she will lose it by doing so? But she forgot, the household chores are such things that everyone needs to do and there is nothing losing prestige in doing so.

There may be another explanation, probably, she is not thinking my home as homely and she is thinking she will be bound to do some serious physical works that she never experienced that will make her life horrible. So, she boldly protested that, 'I will never do those works'. Apparently, she is correct from her sense, but lets analyze the fact. As well as family background experience, she is boast of her success and she has a concept that nobody wont be able to make her done any works she does not want to do. And it is also true that it cant be done by her.

Now lets analyze my parents expectation from their daughter in law. Lets point out
1. She should be obedient to the family.
2. She may be qualified girl but in that family, she will have to behave like a daughter in law---means she cant be boast of her qualification, she should be gentle and and friendly.
3. They does not expect too much from her, but wants her to behave like their daughter as they don't have daughter.
4. They never want to get their job done by her, rather they wanna see she is taking care of me.
5. Last thing, they wanna see hospitality and cordiality from the other family.

Now lets equalize the things. I think she can be a good girl to my parents as my father already likes her, but I discovered a problem few days ago.
a. she will face a lot of problem in matching with my family and may not cope up properly if unfortunate.
b.There are some economical imbalance between these two families which may differentiate their choices, interests, thoughts,targets etc.
c. There may be a lack of hospitality due to socioeconomic and locational problem.

Problems in my cases:
a. She is a careerist girl and she will never tolerate anything that hampers her career probably. She does not have clear concept actually about careerism, but has a lot interest to be a careerist and she can sacrifice a lot for it. Apparently, its a good sign, but the problem is the same thing is true for me and that's why, I need and opposite person to take care of the family and whose main concern will be family and me.
b. So, should I feel guilty that, I am deleting someone's possibility of being famous? Actually, let me clarify things: Everybody, wants a shelter which is very necessary for the life to lead. Matter is the depth of love, if the love is there, both of them handle this thing quite easily and that does not require to warn that 'family will sacrifice if needed'.---this sentence expresses that she is not strong enough to handle careerism and family same time and that family is a load for her which sounded painful to me. Because, I myself also busy and will be busy but I never say that family has to sacrifice for that and I handle it smartly...may be she is not strong enough.

c.She has lack of gratefulness and she really forgets what other does for her. Probably, it is one of the characteristics of current modern girl that they want to be established in any cost and sometimes like a selfish also.


Now what I did:
a. Every time I planned I had a plan for her so that both of us can succeed and output is maximized. But her attitude does not reflect my contribution to her life all the time and sometimes she behaves like a stranger specially when she is angry...she cant recognize me when she is angry.
b. Actually, she hit my soft feelings about my family education and ours family educations don't match to some points and not sure it is not enough to make clash.
c. There may be domination in decision making by the family depending upon their current status.
d. Moreover, I hate boasting in people. People who are proud of themselves very much, actually they can perform the least and showing is bad. There may be self-confidence in people, but showing-off in words and attitude is quite bad though she never crossed me...but...she can hurt my family...as I think.
e. Especially, my parents may assume as their girl and may request for something from her and suddenly it may be found that she wont do that as it is not in her habit and when her stubbornness exposes to my parents, then it will create a bad situation and I will be a colored....that how I am living with her.....who cant compromise a simple little.....

Anyway, except me who has read so far, she already knew a lot about me and her. So, pray for us for a stable situation as I am not talking to her for 3 days.

thanks.

I had a class on digital Bangladesh in Rotory Club

I really feel good to write about this. I was assigned a class on Digital Bangladesh in Rotory Club on 5th May, 2010. Visiting Rotory Club I was really amused to see young boys and girls are much organized and eager to know about digital Bangladesh. Actually, I had some experiences of attending some seminars on digital Bangladesh and sharing our expression. This becomes a politically renowned buzzword currently, but I believe that, we supposed to do something like that for the technological and ICT development for our country. Anyway, I spent some hours to prepare the slides. Finally I found that I have made 76 slides in total. When I started the class, I was thinking I have to finish quick but later I found that I have spent 1 hour+ in lecture. To my utter surprise, I found that I had the longest theory class there so far. Anyway, people were responsive to the lecture and I really enjoyed taking class there. From my childhood, I had a dream that I have to be a good speaker and a good leader. And slowly, I am discovering that I a doing well in that target. thanks to Almighty and thanks to all well-wishers. When I feel some ecstasy in mind, then I would like to pay gratitude to the people around me in this way, because, gratefulness does not demean someone rather emblems one. Lets hope for the best.

Masud

Full functional LAN set up

For few days, I was trying to implement some important things to implement in the LAN of CSE Discipline, Khulna University. I was trying to develop a fully functional computer network. Such one network will contain the following entities:

A Web server

Here is the necessary help for that
1. http://blog.ifitcangowrong.com/windows/install-iis-60-on-windows-server-2003
2. http://technet.microsoft.com/en-us/library/aa998483%28EXCHG.65%29.aspx
3. http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/750d3137-462c-491d-b6c7-5f370d7f26cd.mspx?mfr=true

A DNS Server

Here is necessary help for that I think:
1.http://www.petri.co.il/install_and_configure_windows_2003_dns_server.htm
2.http://helpdeskgeek.com/networking/install-and-configure-dns-on-windows-server-2003/
3. http://support.microsoft.com/kb/814591

An Email sever (POP and SMTP)

1. http://www.ilopia.com/Articles/WindowsServer2003/EmailServer.aspx
2. http://www.windowsreference.com/windows-server-2003/step-by-step-email-server-setup-in-windows-server-2003/
3. http://articles.techrepublic.com.com/5100-10878_11-5035180.html
4. http://www.windowsnetworking.com/articles_tutorials/Windows_POP3_Service.html

Friday, April 23, 2010

I am using air-pillow

One of the most interesting thing is I am using an air pillow. When I came to khulna from Dhaka I dedicated my pillow to the mess I was staying for some reasons. So, as a matter of fact I got a pillow from mukta's house as a gift. But my days turned into bad when I found that I have brought some cirpoka from the Dhaka mess and its inside my mosquitoes. The bad experience is that whenever I turned the light off this shit comes out and starts biting. I was wondering how they come and where they live. One day, I washed the mosquito very sincerely with JET but stills it is inside it and I became astonished that this shit is staying inside the pillow I am using. The time i saw, I just threw that pillow outside my room and started sleeping using some under my head. After some days, I found cirpoka is also in the books I am using and then I took a candle and burn the books page corners and also the mosquito corners. Lastly, an idea came from mukta's head that air pillow can be used. So, now I am using an air pillow cost 270 tk and it is restricted from all kinds of external object except the air. So, now no cirpoka cant disturb me when lights off. I still know it is here but at least it wont enter my pillow. I am having good experience sleeping on air pillow and planning to have air bed or others that can be air type.

thanks.

I am using air-pillow

One of the most interesting thing is I am using an air pillow. When I came to khulna from Dhaka I dedicated my pillow to the mess I was staying for some reasons. So, as a matter of fact I got a pillow from mukta's house as a gift. But my days turned into bad when I found that I have brought some cirpoka from the Dhaka mess and its inside my mosquitoes. The bad experience is that whenever I turned the light off this shit comes out and starts biting. I was wondering how they come and where they live. One day, I washed the mosquito very sincerely with JET but stills it is inside it and I became astonished that this shit is staying inside the pillow I am using. The time i saw, I just threw that pillow outside my room and started sleeping using some under my head. After some days, I found cirpoka is also in the books I am using and then I took a candle and burn the books page corners and also the mosquito corners. Lastly, an idea came from mukta's head that air pillow can be used. So, now I am using an air pillow cost 270 tk and it is restricted from all kinds of external object except the air. So, now no cirpoka cant disturb me when lights off. I still know it is here but at least it wont enter my pillow. I am having good experience sleeping on air pillow and planning to have air bed or others that can be air type.

thanks.

Thursday, April 22, 2010

To Err is human

Today after dinner, I was buying some apples from a little boy sitting in the chair of his father. I asked him, 'Can you sell apples?' He replied,'yes'. I was thinking him little boy and also thinking about the boy's family. That time a man came and started playing with a mango. I was thinking whether this man is going to exploit this young child. Anyway, nothing happened like that. I bought .5 kg apple costs 55 TK. I gave the boy 100 Tk. He returned me 45 TK and I was demanding 55 Tk. I just forgot that I gave him 100 tk. I was thinking .5 cost 55 tk and I bought .5 kg and he should cash me 55 tk back. Suddenly, that man said how much I have given to the boy. That time I felt that I an wrong and the boy is correct. I was thinking about that man but with a great surprise I noticed that my activities was likely to exploiting the boy. I felt shame and could not forgive myself for doing that. We demand ourselves educated and a bit different.. and was thinking how could I...?..but that time I remembered..education makes better human but not above human. and making mistake is a notion of human behavior....so the proverb comes 'To err is human'.

To Err is human

Today after dinner, I was buying some apples from a little boy sitting in the chair of his father. I asked him, 'Can you sell apples?' He replied,'yes'. I was thinking him little boy and also thinking about the boy's family. That time a man came and started playing with a mango. I was thinking whether this man is going to exploit this young child. Anyway, nothing happened like that. I bought .5 kg apple costs 55 TK. I gave the boy 100 Tk. He returned me 45 TK and I was demanding 55 Tk. I just forgot that I gave him 100 tk. I was thinking .5 cost 55 tk and I bought .5 kg and he should cash me 55 tk back. Suddenly, that man said how much I have given to the boy. That time I felt that I an wrong and the boy is correct. I was thinking about that man but with a great surprise I noticed that my activities was likely to exploiting the boy. I felt shame and could not forgive myself for doing that. We demand ourselves educated and a bit different.. and was thinking how could I...?..but that time I remembered..education makes better human but not above human. and making mistake is a notion of human behavior....so the proverb comes 'To err is human'.

Tuesday, April 20, 2010

Using image map and popupcontrol extender

In interactive map client provided me a jquery library which is called zoom map and he instructed to work according to that but I found some problem in work with multiple version of jquery. For example jquery-min-1.3.2 does not support the coexistence with jquery-1.4.2.js. Anyway, I am going to describe here, how to use image map and popupcontrolextender. To perform this we need to follow these steps:

Step-1: We have to register the AjaxControlToolkit for using its control which we are calling here PopupControlExtender.

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>


Step-2:
Consider an image containing lots of hot spot and when there is a click on that hot spot certain popup-winow will show up. So, here is the code for image and map.

< img id="homeimg" src="maps/map-bg-w-dots.jpg" style="border-width:0px" runat="server" alt="" usemap="#homemap" / >
< map name="homemap" id="homemap">
< area id="hole1area" runat="server" target="_self" onclick="showdetails(1)" shape="circle" style="cursnor:pointer" alt="" coords="314,178,7"/>
< area id="hole2area" runat="server" target="_self" onclick="showdetails(2)" shape="circle" style="cursor:pointer" alt="" coords="285,56,7"/>
< /map>



Here, onclick="showdetails(1)" can be used to populate data from some xml file relevant to hole1area if needed. As for example I have done in
my map project

Step-3:
Now we need the popup control extender that will generate a popup. So, here is the code below:

< asp:ScriptManager runat="server">< /asp:ScriptManager>
< cc1:PopupControlExtender runat="server" ID="MyPopupExtender1" OffsetX="550" OffsetY="300" PopupControlID="popupwindow1" TargetControlID="hole1area">
< /cc1:PopupControlExtender>
< cc1:PopupControlExtender runat="server" ID="MyPopupExtender2" OffsetX="550" OffsetY="300" PopupControlID="popupwindow2" TargetControlID="hole2area">
< /cc1:PopupControlExtender>


< div id='popupwindow1'>
Description for hole1...............
< /div>
< div id='popupwindow2'>
Description for hole2................
< /div>



Here, several thing to notice:
TargetControlID= the control which will be clicked on.
PopupControlID= the control which will be shown as popup.
OffsetX= the X position where popup will be shown
OffsetY= the Y position where popup will be shown.

So, this is the simplest way to use image map and popupcontrolextender. And whenever I started working client become excited as I was not using his solution but finally I ended up with good solution and he was quite satisfied. So, this project was one of the challenging task to me.

thanks. Masud.

The challenging task in interactive map project

Few days ago I a project successfully called Interactive Map project. The development URL of this project is:
http://cpdemo.com/vistaverde/development.html
From this project I got an outline professional work and fancy works. Anyway, I was satisfying client's requirements and at time I found client has made an easy requirements visually but technically it is a tough one which I didn't perform ever. Actually, the life software engineer is quite thrilling in that sense that it is full of challenges and that's why I could not leave this despite of being a university lecturer. Anyway, here the way I solved the problem.

Requirement: to stop hiding the popup-window at click outside the popup window.
Relevance description: I was using asp.net ajax control toolkit to make a popup-window after a mouse click on some hot spot on an image map. And default behavior of the popup window as designed by the toolkit developers was to be hidden at the mouse click outside the popup window. I tried a lots of ways but I could not stop the mouse click. I used e.stopPropagation(){for FF} and e.cancelBubble=true {for IE} but nothing works for me and lastly I found some tutorials and several combination of them works.

Steps to solution:
step-1: to override the default behavior of the toolkit we need to override the function. For example, I was using popupcontrolExtender control for making popup-window. Anyone can easily download source from this URL to see the behavior of the control as set by the developers:
http://ajaxcontroltoolkit.codeplex.com/releases/view/16488#DownloadId=41941
Here, I found that _onBodyClick: handler is managing the click on the body of html page and making the __VisiblePopup hidden. So I need to override this handler as I found. This whole modification will be contained inside a dll. So I created a dll project on Visual Studio called MypopupControl

Step-2:
To override this handler I created a javascript file that contains the overridden handler which looks like the following. It is named as 'myjsfile.js' in my solution.



//starting of javascript code

try
{

AjaxControlToolkit.myPopupControlBehavior= function(element)
{
AjaxControlToolkit.myPopupControlBehavior.initializeBase(this,[element]);
};
AjaxControlToolkit.myPopupControlBehavior.prototype =
{
_onBodyClick:function()
{
if(this._popupVisible)
{
return false;
}
}
};
AjaxControlToolkit.myPopupControlBehavior.inheritsFrom(AjaxControlToolkit.PopupControlBehavior);
AjaxControlToolkit.myPopupControlBehavior.registerClass('AjaxControlToolkit.myPopupControlBehavior', AjaxControlToolkit.PopupControlBehavior);

if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();


}catch(exc){}


Here we can see that _onBodyClick handler is modified so that a visible popup wont be hidden by the mouse click on the body.

Step-3:
I also created a C# file called 'myPopupControlExtender.cs' that contains the following contents: Please note that myPopupControlExtender class inherits PopupControlExtender class of AjaxControlToolkit namespace that means it will have all the properties of PopupControlExtender class.


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using AjaxControlToolkit;


[assembly: WebResource("MyPopupControl.myjsfile.js", "text/javascript")] //the custom/override javascript file is an embedded resource

namespace MyPopupControl
{

[ClientScriptResource("AjaxControlToolkit.myPopupControlBehavior", "MyPopupControl.myjsfile.js")]

public class myPopupControlExtender : PopupControlExtender
{



}

}





Here, we can see that an assembly entry is used to embed the javascript file and it will be resided inside the C# dll we will be creating.

Step-4: The mostly important step of this process is to declared the javascript file as the embedded resource and without this whole process wont be effective. So, to do this:
Right click on js file>Properties> Build Action >Embedded Resource

Step-5: Now we need to just build the project and we will get a brand new dll called MyPopupControl which is containing the modified behavior of PopupControl and in my case I created new popupcontrolextender which was named as 'myPopupControlExtender' and as its inherits all the properties of popupcontrolExtender plus containing the modified behavior of _onBodyClick:function()...so that serves my purpose of the project.

thanks. Masud.

Wednesday, April 14, 2010

Campus shut down

Few days ago, I was awaken by the call from mukta and I was told that KU-campus is shut down for indefinite time and it occurred due tom campus violence of students. Actually, I didn't know anything about it beforehand. Then I went to university and found different kinds of explanation from different teachers and people are focusing that students were too violent and they destroyed the properties of the university. I was not lucky enough to hear from any student because, they were already out of campus. My thought about this occurrence is like this:
1. There should be a neutral and honest investigation team from inside or outside the university.
2. There should be thorough review of events for the past days before this mishap.
3. The main duty is to find out the culprits whoever may be students or teachers. Shahnawaj who is the worst culprit will have to be punished severely and anybody who gave him shelter will have to suffer and we have to be strong enough to punish any evil.
4. If anybody is trying to gain some interest from this event, we have to stop them.
5. No mercy will be paid to anyone for the overall welfare and future of this university.
6. I want welfare of this university not only teachers or not only students.
7. We all have our conscience and we have to use it for every step of this trial.

Lets hope we overcome this bad time of khulna university history.