Author: Moazzam

  • The Downtown Boathouse for kayaking

    The downtown boathouse is located on Pier 40, 72 and 96  in Manhattan. It is operated by a group of volunteers who love kayaking and (I think) want everyone to experience the joy of kayaking.  The whole thing is free and they provide all the equipment, and teach you how to do it. You can…

  • Android 1.5 SDK Released !

    Google has released Android 1.5 SDK. This release is based on the cupcake branch in Android’s repository. Cupcake was a modified version of the SDK written by a group of independent developers and functioned better than the 1.0 SDK. Android 1.5 SDK also has other enchancements like a better profiler. For a list of all…

  • C# and SQL Server

    In this article, I will discuss how to communicate with SQL Server using C#. You can use this code for communicating with other databases too but the connection string may vary. SQL Server supports SQL queries and stored procedure, and we will take a look at how to run both of them. I will assume that…

  • Sending data to other activities in Android

    Let’s say you have a list activity which lists some information and you have another activity which adds/edits information in the list. How do you tell the edit activity which item (in the list of the first activity) needs to be edited?    In the first activity, you will do this : /********************************************* * These…

  • A program for mob world players

    For those who play mob world on facebook, you know how annoying it is to have to add people to your friends so you can add them to your mob. Here is a short program that you can use to add people using their IDs and not have to add them through FB. You can…

  • Gmail Autopilot

    For all those anti-social and hate replying to email, Google has release a new update to gmail (basically living your life for you). Now Gmail analyses the way you reply to your email and generates replies by itself. You can, of course, change its settings also if it’s a bit off.  If you believed the…

  • 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…