Skip to main content

When and how I started programming

I have read of posts where poeple mentioned that they started programming at very early age but in my case it was opposite even though I was exposed to it at an early age. I have met many people who feel that its very late for them to start programming. This post is for them

I was in 7 grade when I was exposed to programming. One of my family member was learning web desiging. She showed me the structure of HTML

I wrote the first program and at that time I did not know that what I was doing is "programming" for me it was just some fancy thing like make slides on power point. 

My first code was the following

<HTML>
<HEAD>
<TITLE> Siddiq </TITLE>
<BODY> Hello World </BODY>
</HEAD>


I played for some time and then got busy with other stuff.

Years passed by I completed my BS in CS with some exposure to JAVA still I was not doing much programming until I enrolled in MS in CS.  All my peers were really good at programming and CS fundamentals and I was okay at that time. I was scared and was afraid to ask people which I feel was my mistake. Its always good idea to discuss with your peers and always respect their suggestions.

How did I overcome my fear of Programming?

I started to develop fear of programming. Time passed by and I finally decided this is not who I am. I take challenges and solve them. So I made a plan and strategy to overcome this fear.  My plan of action was to meet people whom I was comfortable with and who belong to same field. I started to share my experience and the response I got was amazing. I met so many people who had same experience as I had. 

Some suggested me books, some suggested me to take classes and some gave me ideas. I combined all the advices I got and made the following plan 

I am a guy who believe in practical learning. If you give me a book I will take more time to learn when compared to if you give me project.  I picked up a Java book read few pages and after that I kept the book at oneside and then thought of simple ideas that I can implement. 

As usualy I started with "Hello World" in Java (at the same time read about the structure of Java program) . Then I wanted to create a program that would take all my friends name and print them in 
sorted order (learnt about IO operations as well as sorting algorithm)

 
 
Cont.....

Comments

Popular posts from this blog

Adding loading spinner to JSP Page using pure CSS and JS

I wanted to add loading spinner to the web application that I was working on. This application is a legacy application and I was looking into a way to add the loading spinner whenever the user performs certain actions such as the following


Clicks a button which behind the scene performs CRUD operationWhen user request data 
As the web application was based of JSP and I was looking for a way to adding it to the webpage and finally came across the following solution 
Create a div Add the CSS for the divCreate a JS function which gets called on button click. 

Here is the code



HTML

JS


CSS




Enabling TLS 1.2 in Java 7

I am working on web application that uses third party API and apparently those guys have stopped using TLS 1.0 and switched TLS 1.2

I was getting the following error


Apparently Java 1.8 have TLS 1.2 by default and for Java 1.7 you have to enable it. I have been searching online for few days to enable TLS 1.2. I have tried all the following things but it did not work


For each application, enter this command:java ... -Dhttps.protocols=TLSv1.1,TLSv1.2 ...
Using JAVA_OPTS, enter the following command in your .profile, shell rc (to affect all Java programs run by the user), or conductor.sh (to just affect Datameer):export JAVA_OPTS="${JAVA_OPTS} -Dhttps.protocols=TLSv1.1,TLSv1.2"
This is what I did and boom it worked

Simple IOT Project - Electric Imp Led Light Controller

Recently I went to IBM IOT Hackathon and got Electic IMP device and thought of playing with it and this is the first application I created LED Light controller using Electric IMP device and REST webservice.

OverviewSkill Level: Beginner

Below are detailed steps on how to connect an Electric Imp with environmental sensors to the Watson IoT Platform in order to visualize and monitor your refrigerator in real time.

Ingridients

  Your WIFI *network name* and *password* A computer with a web browser Smartphone with the Electric Imp app IOS or AndroidA free Electric Imp developer account An Electric Imp Explorer kit - purchase from Amazon Three AA batteries
STEP BY STEP  Step 1 - What is demonstrated in this example? Use an Electric Imp to switch on/off light sensor and change the color of light using combination of RGB.
 Step 2 - Connect your Electric Imp to the Internet  Set Up Hardware  Plug the Imp001 into the Explorer Kit Board.Power up your Imp with the AA batteries.



When the imp is fi…