Thursday, November 24, 2011

His last call

My dad, this picture had been taken at October, 22, 2011

November 19, 2011, at 12:35 am. I was at Chittagong at the Hotel Nobo Inn at room 601. Suddenly I had got a call. I checked, it was from my dad. I surprised! This time! I received. But my dad didn't say anything. I only heard that he is feeling pain and taking his breath strongly. Then he cut the the phone. I couldn't understand what to do. He knew I wasn't in Dhaka, at its midnight. generally never called this time. I thought this might be an mistake. His cell phone is always stays beside his pillow, so if he moves by mistake calls can be done.

But I was wrong. I realize that next morning when I get news of his death (Innalillahi wa innailaihi rajeun). Actually he couldn't tolerate his pain, that's why he called me to get help.  

Thursday, November 17, 2011

Web Design: Global Online


Faisal made this design for Global Online. I had worked to fix problems in coding in that site. But due to pregnancy couldn't finish the project.

Wednesday, November 16, 2011

My son has grown up



After marriage I have seen my husband couldn’t go to bed early. He had to work on computer till late night. Now his son starts doing same thing. I went to bed and Shafeen (2 years and 11 months old) use to work let on computer! Around 2am he could manage to stop work and shut down the computer and go to bed.

Tuesday, November 15, 2011

SQL: Date



//
SELECT something FROM tbl_name
    -> WHERE DATE_SUB(CURDATE(),INTERVAL 30 DAY) <= date_col;

//
SELECT DAYOFMONTH('2001-11-00'), MONTH('2005-00-00');
//
SELECT ADDDATE('1998-01-02', 31);
//
SELECT CURDATE();
        -> '1997-12-15'
//
mysql> SELECT CURDATE() + 0;
        -> 19971215

//
mysql> SELECT DATEDIFF('1997-12-31 23:59:59','1997-12-30');
        -> 1

//
mysql> SELECT INTERVAL 1 DAY + '1997-12-31';
        -> '1998-01-01'

//
mysql> SELECT DAYOFMONTH('1998-02-03');
        -> 3

//mysql> SELECT DAYOFWEEK('1998-02-03');
        -> 3

//
mysql> SELECT EXTRACT(YEAR FROM '1999-07-02');
       -> 1999

//
mysql> SELECT EXTRACT(YEAR_MONTH FROM '1999-07-02 01:02:03');
       -> 199907

//
mysql> SELECT EXTRACT(DAY_MINUTE FROM '1999-07-02 01:02:03');
       -> 20102


//mysql> SELECT LAST_DAY('2003-02-05');
        -> '2003-02-28'

//
mysql> SELECT MONTH('1998-02-03');
        -> 2

//
mysql> SELECT MONTHNAME('1998-02-05');
        -> 'February'

//
mysql> SELECT WEEK('1998-02-20');
        -> 7


//
mysql> SELECT YEAR('2000-01-01'), WEEK('2000-01-01',0);
        -> 2000, 0

//

Monday, November 14, 2011

Why we are on this Earth



Did you ever ask yourself that why are we on this Earth? Everybody wants to have a better life, like better job or business, beautiful hubby, getting love, good life standard, fame, money many things.  Everything is for them. If not, then these things only for their child. Is that the reason why we come here? Don’t know. If you are religious then you will know, that we are here to serve Allah. Question is what does it mean? It means, you have to search things what you need to live which is given by Allah. You have to live a life which is told by Allah, you have to grow up your child for future as define by Allah. Read Koran, if you don’t understand Arabic language then read the translation. You will know many things, which no one ever cares to inform you.

Sunday, November 13, 2011

At Shishu park, before having a child





Once upon a time, I and my hubby went to Shishu Park, Bangladesh. Yes, that is a children’s park, but any people from any age can have good time over there. On that moment we just wanted to pass some good time together, so I suggest him to go to Shishu Park, before having my son. We enjoyed. Soon my child will be 3 years old, and then we will again go there to give him (my son) some good time.

Saturday, November 12, 2011

This foot over bridge must be fixed



This longest foot over bridge in Dhaka city (probably in Bangladesh) is over the Komolapur Railway Station. And this is the most used foot over bridge. Lots of people from Mughdapara, Shabuj kanon, Mayakanon, Shabujbag, Bashabo etc are crossing this foot over bridge every day at least twice, especially in office time. But what is the condition of it. The stairs from Shabuj kanon are mostly broken, any time any kind of accident can happen. When any person put their legs on it, it moves. Another thing is it should have a shelter over it. Because, this longest of foot over bridge became very difficult for people who cross in both time rain and in sun. 

Thursday, November 10, 2011

Planning for next tour



I like to travel new places. I wish I could go out every now and then. But you know, you had to always take care of your budget. So, now I can plan to go out only once in a year. Not bad. Something is better than nothing.

This year, I am planning to travel inside Bangladesh. Problem is, you can get info of anywhere of this earth through internet. But you can’t get enough info inside Bangladesh from net. Still we are far behind in tourism over net. I think that is one the reason (big reason) that we are not good in tourism. Anyway let’s see how much info I can get and plan and then go out for a nice trip.

Wednesday, November 9, 2011

UML: Frequently Asked Questions


source: http://www.ibm.com/software/rational/


The Unified Modeling Language (UML) is a language for specifying, visualizing, constructing, and documenting the artifacts of software systems, as well as for business modeling and other non-software systems. The UML represents a collection of best engineering practices that have proven successful in the modeling of large and complex systems.

Rational Software, Microsoft, Hewlett-Packard, Oracle, Sterling, Software, MCI Systemhouse, Unisys, ICON Computing, IntelliCorp, i-Logix, IBM, ObjecTime, Platinum Technology, Ptech, Taskon, Reich Technologies and Softeam.

Developing a model for an industrial-strength software system prior to its construction or renovation is as essential as having a blueprint for large building. Good models are essential for communication among project teams and to assure architectural soundness. As the complexity of systems increase, so does the importance of good modeling techniques. There are many additional factors of a project's success, but having a rigorous modeling language standard is one essential factor.

Prior to the UML, there was no clearly leading modeling language. Users had to choose from among many similar modeling languages with minor difference in overall expressive power. Most of the modeling languages shared a set of commonly accepted concepts that were expressed slightly differently in the different notations. These differences did not greatly expand the power of modeling, but instead helped to fragment the OO industry, and unfortunately sometimes discourage new users from learning visual modeling. Users longed for the industry to adopt one, broadly supported modeling language suitable for general-purpose usage. They wanted a lingua franca for modeling.

For years the object-oriented analysis and design market had languished, despite the perfect fit between object technology and systems analysis and design problems. Major battles raged between methodologists and vendors on methods, processes, and even specific graphical notations. In 1995, consolidation in the analysis & design tools market and key support from leading methodologists worldwide spurred the OMG into action. In a landmark meeting in Silicon Valley, OMG gathered in one room most of the world's leading methodologists or their representatives. At that point, methodologists and methods tools producers agreed that users needed a worldwide standard for metamodelling and notation. They agreed that the fast, consensus-based, open OMG process would be a perfect setting to accomplish those objectives. The result has already been hailed as the first major international standard for object-oriented modelling.

The OMG has traditionally focussed on infrastructure and layered vertical application domain standardized interfaces. UML represents a broadening of that focus into system design. While the UML is indeed a new direction for the OMG, it supports the primary goal of interoperability and portability through standardized design technologies. Standardized requirements capture, systems analysis and software design fit quite naturally into a standardized implementation architecture such as the Object Management Architecture.
UML is based on OMT, Booch, OOSE and other important modeling languages available. Those who have been trained on these three languages will have little trouble getting to work with UML. While software professionals trained in these languages may need some training to become fully productive with the UML, the benefit of working with an industry standard language will more than compensate for the time spent learning it.

UML does not guarantee project success but it does improve many things. For example, it significantly lowers the perpetual cost of training and retooling when changing between projects or organizations. It provides the opportunity for new integration between tools, processes, and domains. But most importantly, it enables developers to focus on delivering business value and provides them a paradigm to accomplish this.

Rational will continue to provide leadership in the definition of the UML. The OMG established a Revision Task Force to address any necessary minor revisions to the UML, upon which Rational is well represented. Any major revisions to the UML would likely occur via the OMG's open Request for Proposal process.

Tuesday, November 8, 2011

Eid Mubarak



Eid Mubarak to you all. This was a great eid. My son enjoyed his eid by sleeping all day, including first of his night. Then? Then he couldn’t sleep after mid night and didn’t let others to sleep. So, my eid day was awaking at day and night….. Don’t know when I can again have some sleep.

Monday, November 7, 2011

UML: History



The Unified Modeling Language

The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson, and Jim Rumbaugh at Rational Software Corporation, with contributions from other leading methodologists, software vendors, and many users. Based on extensive use of the Booch, OMT, and Jacobson methods, the UML is the evolution of these and other approaches to business process, object, and component modeling. The UML provides the application modeling language for:
  • Business process modeling with use cases.
  • Class and object modeling.
  • Component modeling.
  • Distribution and deployment modeling.

Sunday, November 6, 2011

They are hurting my son



My son loves people, especially his relatives, his family members. But do they really care for him? My son needs his family to be with him. Every day he is asking for them. I had to say they are in the work, can’t come to you now. In sleep he is screaming by their name. But what can I do. I asked them 100 times to live with my son but they care for some other family. Sometimes I am feeling that they come to my son in every few days and my son waiting for them and felt bad. If they never come to him then they can’t hurt him this way. Then my son won’t wait for them. If I can’t make them to stay with us then I better make them not to come to my son after one or two week.  If you can stay with us then great otherwise you better not show your face at all.

Saturday, November 5, 2011

Java: Applet



import java.applet.*;
import java.awt.*;

public class helloworld extends Applet
{
public void pain (Graphics g)
{
g.drawString("Hello World",10,10);
}
}

Friday, November 4, 2011

Love is the most valuable thing in this world



Today in the morning somewhere outside someone was playing the song “Prithibite valobasha shob cheye daami” that means, love is the most valuable thing on the Earth. I agree. You know to feel better, to live better we do many things, spends money, give time but when you fall in love everything became beautiful, every moment is precious, the world becomes so beautiful, without any reason you got full energy to work. Then you will feel what a beautiful world, what a life. So, I believe Love is the most valuable thing on this Earth.

Thursday, November 3, 2011

Java: simple task. Can you do it?





Consider a situation where we have a superclass Worker and subclassses PartTimeWorker and FullTime Worker. Every worker has a name and a salary rate. Write a method that computes the weekly pay for every worker. A part-time worker gets paid the hourly wage for the actual number of hours worked, if the hours are 40 or less. If the part-time worker works more than 40 hours, the excess is paid at time and a half. The full-time worker gets paid the hourly wage for 40 hours, no matter what the actual number of hours worked. Develop and test this program by demonstrating the use of inheritance and polymorphism.

Print on canvas



Who doesn’t want to decorate their house like their dream house? We brought expensive paintings or pictures to make the room elegant.  What about your own picture? Or someone you care? Yes, you can print on canvas your own picture, or whatever you like to print. Isn’t it interesting? If you visit to print on canvas you will find some exiting offers. Like its giving free shipping for 2 days, free image enhancements and free gallery wrapping. More over you have money back guarantee.  If you have questions then you can call them by 866.678.6933 Monday to Saturday 9am to 6pm eastern.

Wednesday, November 2, 2011

To understand people, check what they are doing



I always try to understand people. What they really want or what is their real motive. I believe I don’t understand people. Many times I trusted wrong person and suffered. I wanted to be alert from this kind of person who can give me pain. I can’t read face so I try to understand people by their work. If the say they care for me, that is not enough to think that they really care for me. When I see that in their work that they really care for me then I will trust them. This worked in many ways. I could understand many people by their work.

Sometimes people say comments and work about any other person whom I never met. I could assume correct nature of that person and could say what that person will do next. That’s why my friends always told me that they will bring their boy friend to me before they get marry (no worry, no body actually did). Many times my husband told me about their office environment, without meeting with them in real life, I could suggest my husband that what that person’s real nature is. Sometimes my husband didn’t agree, but later that person proved, that I was right.

Tuesday, November 1, 2011

Java: int, double


I have worked with this file overload.class long time back.


class overloaddemo
{//start overloaddemo
    void test()
{//start test
    System.out.println("Hello World!");
}//end test
void test(int a)
 {//st test(int a)
   System.out.println("the value of a:"+" "+a);
 }//end test(int a)
void test (int a,int b)
{//st test(a,b)
 System.out.println("here a & b are:"+" "+a+" "+b);
}//end test(a,b)
double test(double a)
{//st test(double a)
  System.out.println("double a:"+" "+a);
  return a*a;
}//end test(double a)
 };//end overloaddemo
class overload
{
public static void main(String[] args)
{
overloaddemo ob = new overloaddemo();
double result;
ob.test();
     ob.test(10);
      ob.test(10,20);
      result = ob.test(123.2);
System.out.println("Hello World! result of ob is"+ result);
}
}