A blog where Moazzam … rambles

  • More Android phones on the way

    Yes, you heard it. More Android based phones (at least 2)are on their way some time in 2009. Motorola, Sony, Samsung, etc are also going to come out with Android phones some time by 2010. HTC’s CEO said that they will be releasing at least 3 phones this year. We know one of them is…

  • Scrolling a datagrid to a specific row (or to the bottom)

    There are 2 ways you can do this. In the first method, you can derive a class from datagrid and use the protected method GetVScroll(). In the second method, you can just do this : [csharp]this.dataGridView1.CurrentCell = this.dataGridView1[0, rowIndex];[/csharp] If you want to scroll to the bottom then do this : [csharp]this.dataGridView1.CurrentCell = this.dataGridView1[0, this.dataGridView.Rows.count…

  • How can we become better Muslims and better people

    A lot of times, during the sermon before Friday prayer, I have heard the khateeb say “become better Muslims”, “pray 5 times a day”. Rarely do I find them saying “doing this will make you a better Muslim”.  Praying 5 times a day is definitely up there but Islam is not limited to that, is…

  • Oaths in Islam

    I have heard a lot of Muslims say “I swear on my children that .. ” or ” I swear on my mother .. “. According to Islam, it is unlawful to take an oath by anyone except Allah (SWT). You can only swear by Allah.  So, if you want to take an oath by…

  • Men and Jewelry in Islam

    Can men wear any jewelry in Islam? The answer is : No, except for a silver ring which weighs less than 4.235 grams. The Prophet (peace be upon him) used to wear a silver ring in his pinky finger with an Abyssinian stone in it. And, he would make the stone face his palm. The…

  • A dua to improve your health

    My brother found this dua in the book “Children around the prophet” my brother found this dua.

  • RSS Feeds for this blog

    For those who want RSS feeds on from this blog, you can click on the big orange icon on the right. It is an RSS feed icon. Here’s a picture of it: Of course, I will probably end up changing the theme of this blog again and then this post will become invalid.

  • Java 101 – Lesson 4 – Variables

    We know how to compile and run a basic Java application. We also know the basic structure of code for Java. If you don’t know what I am talking about, please refer to the previous articles in the Java 101 series (lessons 1, 2 and 3). In this article, we will take a look at…

  • Java 101 – Lesson 3 – Dissecting Hello World

    This article is a continuation of articles in the series of Java 101. You will need to read lesson 1 and lesson 2 to completely understand this article (or blog post, or whatever you want to call it).  In lesson 2, we executed a piece of code, which printed “Hello World” on the command prompt…

  • An application from back in the day

    I found a screenshot I had taken of a website which hosted an open source component I wrote a while ago. Back then, I was very active with open source development. Now, life has gotten so busy that I haven’t been able to spend much time on it. This was one of my first applications…

Got any book recommendations?