Friday, October 2, 2009

Mawsmai Cave

It was luckily a sunny day at Cherrapunjee, the wettest place on the planet, after seeing few long V-shaped valleys between Shillong and Cherrapunjee, we reached Mawsmai, a place near Cherrapunje, at around 12:30. Near Mawsmai Cave we saw a natural spring . It was protected by walls.
Then we had lunch at a small restaurant near Mawsmai Cave. Mawsmai Cave is a natural limestone cave situated at southern side of Cherrapunjee at about 6 kilometers north of Indo-Bangladesh border. The entrance was very spacious. We were totally 10 and I lead the way inside the cave. Soon the narrowed down into a small passage of less than a foot width. After the narrow passage, cave split into two. The right side was double decked and was very short. Within few seconds lights went off on the right side. So those who came after me didn't get the view of this side. Left side after the passage was again spacious. Water was dripping continuously from the roof. The walls had coarse vertical patterns. Roof had long, huge pointed structures formed due to constant dripping of water through soft limestone.



At many places these huge structures joined with floor to form pillars. At about 100 meter from entrance, the passage again got narrow. This time it was small enough that crawling is the only way to cross. Here we noticed some rubble due to a recent collapse of the wall. After crossing about 150 meter we saw sunlight. But this is not from the exit, but due to a huge cave-in of the roof. Near to that was the exit. After crossing about 150-200 meter we came out of the cave. It was really a great experience visiting that cave.


Map of Mawsmai Cave:

Friday, August 28, 2009

Happy Days of Life

Today I'm feeling a lot more relaxed. I'm relieved of lots of confusions. I'm done with almost all tasks I had on my table. Now everything is going at right pace. I have only a few, well defined tasks before me.

Wednesday, August 26, 2009

My Home Page

Nearly after 2 weeks after receiving the password, today I launched my homepage inside iitg portal. Don’t forget visit the older version of the page.

It's at http://www.iitg.ernet.in/stud/karthik.r/

Wednesday, March 11, 2009

When I could not compile HelloWorld.C

After a long gap, just after finishing my assignment in Esterel, today I wrote a C code. It just took few seconds or probably a minute for me to write the HelloWorld code. I still didn't forget the compile[cc] command. When I tried compiling, I got the following error,

HelloWorld.txt: file not recognized: File format not recognized collect2: ld returned 1 exit status
???!?!?!?!?... Yeah, by mistake i saved it as .txt file. Fine!. Immediately I renamed it as HelloWorld.c, Now again I tried compiling it. This time I couldn't even remember what this error means. This is what I got,

HelloWorld.c:2: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘main’

Now I tried replacing init with int.... yeah, i ve typed init in front of main, instead of int. Again I tried compiling, but error is still the same. Now I opened a C code which i typed long back and saw the difference. I noticed one thing. #include. I was not having this line in my old code. I blindly removed it. I still dont understand, why i removed it. Now the error has changed,

HelloWorld.c: In function ‘main’:
HelloWorld.c:3: error: ‘System’ undeclared (first use in this function)
HelloWorld.c:3: error: (Each undeclared identifier is reported only once
HelloWorld.c:3: error: for each function it appears in.)

System undeclared ??? Where did System came in a C Code. Thanks to Java.

ok.... I ve typed System.out.println
. I changed it to printf. I guess Im almost done.
This time when i compiled, I didnt get any error, But a warning,

HelloWorld.c:3: warning: incompatible implicit declaration of built-in function ‘printf’

I again retyped, #include
Finally, my code was compiled successfully, to print the Hello World!.

This was the same program what I copied from blackboard almost 7 years back when i started learning C for the firt time. That time, without even knowing what these statements actually mean, it just took few seconds to modify the HelloWorld program to print my Name. And now it took almost 10 minutes to do the same program, knowing the meaning for each line.

This is the first version of the C(think so!) code what I type,




Final Version is...