Pages

Friday, December 31, 2010

Jupiter’s Moon

Jupiter
Using 70mm Binocular , The star 20 Psc is confusing with Callisto (Both 6th Magnitude and same distance from Jupiter ) but "Io" and "Ganymede" constructs the line which distinguishes "Callisto" as Jupiter's moon ref:
http://www.wolframalpha.com/input/?i=Jupiter+7%3A43+pm+30+DEC+2010+from+hyderabad

For individual stats of Galileo moons

http://www.wolframalpha.com/input/?i=Ganymede

Jupiter’s Moon


Using 70mm Binocular , The star 20 Psc is confusing with Callisto (Both 6th Magnitude and same distance from Jupiter ) but "Io" and "Ganymede" constructs the line which distinguishes "Callisto" as Jupiter's moon ref:
http://www.wolframalpha.com/input/?i=Jupiter+7%3A43+pm+30+DEC+2010+from+hyderabad
For individual stats of Galileo moons
http://www.wolframalpha.com/input/?i=Ganymede

Saturday, December 25, 2010

How to choose telescope

I stumbled upon the following article in at Sky & Telescope which a few very good articles about details of an astronomical telescope.

http://www.skyandtelescope.com/equipment/basics 

For a quick summery I found the Amazon’s Telescope buyers’ guide

Also Orion’s PDF Instruction Manual was very informative regarding specifications and “What to expect from a beginner’s telescope ”

How to choose telescope

I stumbled upon the following article in at Sky & Telescope which a few very good articles about details of an astronomical telescope.

http://www.skyandtelescope.com/equipment/basics 

For a quick summery I found the Amazon’s Telescope buyers’ guide

Also Orion’s PDF Instruction Manual was very informative regarding specifications and “What to expect from a beginner’s telescope ”

Split, Merge , Rotate PDF Pages of a PDF File

This is my 1st post after my 1st ever surgery in life. Thanks to my family for taking care through out the medication and People at work allowing me getting off all the burden at work.
Apollo Hospitals in Hyderabad was very friendly and equipped with top facilities and dealing with TTK Health Insurance was hassle free.

I ended up piling up a lot of medical bills , reports and consulting prescriptions meanwhile. Since I have a habit of digitalizing everything coming in my way, I scanned all the documents into PDF formats at one go. However I wanted to organize them all in different conspicuous file names and rotate them in correct manner. I found the following web sites extremely simple and useful for this purpose

  1. http://www.splitpdf.net/
  2. http://www.mergepdf.net/
  3. http://www.rotatepdf.net/

Finally I uploaded all my documents online securely in Dropbox and noted down all my medications on Microsoft HealthVault so that it can be easily searched, retrieved  and analyzed later when required.

Note:Irrespective of all controversies I believe calling it “PDF format” is ok because PDF is no more a phrase which should be interpreted literally. PDF (Portable Document Format ) now is a new entity itself which refers to a particular  format by Adobe. Hence the phrase “PDF format” should be correct, so are terms like “SMS service”, “XML Language”, “ATM Machine”, “HTTP protocol”,HIV Virus, PAN Number .I don’t these are wrong.Taking their literal meaning is immaturity.

Merry Christmas !

Split, Merge , Rotate PDF Pages of a PDF File

This is my 1st post after my 1st ever surgery in life. Thanks to my family for taking care through out the medication and People at work allowing me getting off all the burden at work.
Apollo Hospitals in Hyderabad was very friendly and equipped with top facilities and dealing with TTK Health Insurance was hassle free.

I ended up piling up a lot of medical bills , reports and consulting prescriptions meanwhile. Since I have a habit of digitalizing everything coming in my way, I scanned all the documents into PDF formats at one go. However I wanted to organize them all in different conspicuous file names and rotate them in correct manner. I found the following web sites extremely simple and useful for this purpose

  1. http://www.splitpdf.net/
  2. http://www.mergepdf.net/
  3. http://www.rotatepdf.net/

Finally I uploaded all my documents online securely in Dropbox and noted down all my medications on Microsoft HealthVault so that it can be easily searched, retrieved  and analyzed later when required.

Note:Irrespective of all controversies I believe calling it “PDF format” is ok because PDF is no more a phrase which should be interpreted literally. PDF (Portable Document Format ) now is a new entity itself which refers to a particular  format by Adobe. Hence the phrase “PDF format” should be correct, so are terms like “SMS service”, “XML Language”, “ATM Machine”, “HTTP protocol”,HIV Virus, PAN Number .I don’t these are wrong.Taking their literal meaning is immaturity.

Merry Christmas !

Friday, December 17, 2010

Smallest Text to Speech Program

1.Open Notepad and copy and paste the following code into it


Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message


2.Now save the notepad file with the name speak.vbs at your desktop.
3.Now double click on speak.vbs type in the box whatever you want your computer to speak for you.

I have a sample uploaded here, just download it to your windows PC and double click on it.

http://files.neilghosh.com/neilghosh_com_files/speak.vbs

I have hosted the above file in my DropBox Public folder.(Learn How)

More tech tips at Digital Inspiration's Blog can be found here

Smallest Text to Speech Program

1.Open Notepad and copy and paste the following code into it


Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message


2.Now save the notepad file with the name speak.vbs at your desktop.
3.Now double click on speak.vbs type in the box whatever you want your computer to speak for you.

I have a sample uploaded here, just download it to your windows PC and double click on it.

http://files.neilghosh.com/neilghosh_com_files/speak.vbs

I have hosted the above file in my DropBox Public folder.(Learn How)

More tech tips at Digital Inspiration's Blog can be found here

Sunday, November 28, 2010

Online Planetariums and Sky Charts

When its a cloudy night and wrong season to see your favorite star , you might want to quickly look at a computer software's which emulates the sky. The 1st software I had seen back in my college days was CyberSky. Since then it has added so many futures that I can not even imagine. Since then I had never checked this because I got some alternative open source software like  Open Universe and Celestia. Both were pretty good but were little but heavy  because of their focus on 3D simulation of all the celestial objects.

Later when my interest switched from fun watching planetary animations to serious stargazing and watching clusters and comets I picked up software specialist in in sky-watching like  stellarium and Cartes-du-Ceil.

However there are few websites  which delivers interactive sky maps right in your browser.

1. worldwidetelescope [Needs Microsoft Silverlight ]

2. Google Sky (Google Earth is better )

3. neave planetarium

4. Sky and Telescope [Java applet]

5. Astro Viewer [Java Applet]

6. sky-map.org [Google Sky like interface]

7.Sky View Cafe [Java applet ]

Online Planetariums and Sky Charts

When its a cloudy night and wrong season to see your favorite star , you might want to quickly look at a computer software's which emulates the sky. The 1st software I had seen back in my college days was CyberSky. Since then it has added so many futures that I can not even imagine. Since then I had never checked this because I got some alternative open source software like  Open Universe and Celestia. Both were pretty good but were little but heavy  because of their focus on 3D simulation of all the celestial objects.

Later when my interest switched from fun watching planetary animations to serious stargazing and watching clusters and comets I picked up software specialist in in sky-watching like  stellarium and Cartes-du-Ceil.

However there are few websites  which delivers interactive sky maps right in your browser.

1. worldwidetelescope [Needs Microsoft Silverlight ]

2. Google Sky (Google Earth is better )

3. neave planetarium

4. Sky and Telescope [Java applet]

5. Astro Viewer [Java Applet]

6. sky-map.org [Google Sky like interface]

7.Sky View Cafe [Java applet ]

Wednesday, November 24, 2010

The November Sky

November is about to end but here is a quick summery of the night sky from hubblesite.org.

Paul Neave has designed an awesome interactive sky map. This is one of the wonderful creations of his.

The November Sky

November is about to end but here is a quick summery of the night sky from hubblesite.org.

Paul Neave has designed an awesome interactive sky map. This is one of the wonderful creations of his.

Wednesday, November 17, 2010

Its “The time of the year” again

Exactly a couple of years back I posted http://neilghosh.com/2008/11/15/significance-of-birthday/ saying about the reason why Birthdays does not really have anything to to your behavior.

Recently I spotted two very important objects in the sky with my new Celestron 15x70 Binoculars. Even though these are supposed to be visible in naked eye in a very dark sky I had to use Binoculars just to avoid urban glare/pollution of Hi-Tech City  Hyderabad. Presence half moon also added to the hindrance.

TIP: If you can find thus pentagon of the constellation of Pisces  and then locate the trapizium of stars situated at the south east of it.
Uranus at the mid way now a days .Also Jupiter is nearby .

First object was relatively very close to earth among all object we see in sky.It was +5.79 magnitude planet Uranus, the penultimate planet from the Sun about 20 astronomical units away from earth.1 AU is the distance between the Earth and the Sun .It was little difficult to spot in the sky without a map.I used the software Cartes du Ciel in the night mode (red screen ) to locate Uranus. Jupiter was close to it which was dominating the sky after moon.Using the chart I could sport the greenish looking planet easily.

 

Now It was turn for Andromeda  Galaxy M31.This was also very easy to spot as it is situated between the Andromeda constellation and Cassiopeia's head. Advantages of binoculars is that you can see the neighboring starts together in the same view so that you can locate the target relative to them. Telescopes cover so little space in sky at a time that some times it is not suitable for spotting object without detail guide.The Galaxy was of magnitude +3.50 and could have been seen easily with naked eyes in very dark sky.This is the only object outside our own galaxy (Milky way ) that we can see via naked eyes. This is also our neighboring galaxy 2.5 million light years away.Basically we see a snapshot of this galaxy which was taken  2.5 million years ago from now.

Also I managed to see Jupiter’s Moons Callisto , Europa , Ganymede through the binoculars , Interestingly the JAVA IDE Eclipse’s versions are named after them .

Its “The time of the year” again

Exactly a couple of years back I posted http://neilghosh.com/2008/11/15/significance-of-birthday/ saying about the reason why Birthdays does not really have anything to to your behavior.

Recently I spotted two very important objects in the sky with my new Celestron 15x70 Binoculars. Even though these are supposed to be visible in naked eye in a very dark sky I had to use Binoculars just to avoid urban glare/pollution of Hi-Tech City  Hyderabad. Presence half moon also added to the hindrance.

TIP: If you can find thus pentagon of the constellation of Pisces  and then locate the trapizium of stars situated at the south east of it.
Uranus at the mid way now a days .Also Jupiter is nearby .

First object was relatively very close to earth among all object we see in sky.It was +5.79 magnitude planet Uranus, the penultimate planet from the Sun about 20 astronomical units away from earth.1 AU is the distance between the Earth and the Sun .It was little difficult to spot in the sky without a map.I used the software Cartes du Ciel in the night mode (red screen ) to locate Uranus. Jupiter was close to it which was dominating the sky after moon.Using the chart I could sport the greenish looking planet easily.

 

Now It was turn for Andromeda  Galaxy M31.This was also very easy to spot as it is situated between the Andromeda constellation and Cassiopeia's head. Advantages of binoculars is that you can see the neighboring starts together in the same view so that you can locate the target relative to them. Telescopes cover so little space in sky at a time that some times it is not suitable for spotting object without detail guide.The Galaxy was of magnitude +3.50 and could have been seen easily with naked eyes in very dark sky.This is the only object outside our own galaxy (Milky way ) that we can see via naked eyes. This is also our neighboring galaxy 2.5 million light years away.Basically we see a snapshot of this galaxy which was taken  2.5 million years ago from now.

Also I managed to see Jupiter’s Moons Callisto , Europa , Ganymede through the binoculars , Interestingly the JAVA IDE Eclipse’s versions are named after them .

Wednesday, November 3, 2010

ARYAN invasion theory, proven false

I was taught in school books and many of my friends still feel “Good” to because of the theory called “Aryan invasion theory” which suggests that India was invaded and conquered by nomadic light-skinned Indo-European tribes from Central Asia around 1500-100 BC, who overthrew an earlier and more advanced dark-skinned Dravidian civilization from which they took most of what later became Hindu culture.I was always skeptical about it but had no evidence to argue about  it with my friends.

Recently I was told by my uncle that many of the modern researchers think this theory is not correct and I continued to search in internet for proof. I came across the following documentary video which gives enough proof that “Aryan invasion theory” was just trick by western world to take credits away from ancient Indian science and civilization , similar to what they did by calling Indian numbers as “Arabic” (see my previous post )

This also slams those Indians who show off superior being “Aryans” , not sure about the reason.

http://www.youtube.com/v/MO8-JCK45tc?version=3

Part 2

Part 3

The Myth of the Aryan Invasion of India By David Frawley

ARYAN invasion theory, proven false

I was taught in school books and many of my friends still feel “Good” to because of the theory called “Aryan invasion theory” which suggests that India was invaded and conquered by nomadic light-skinned Indo-European tribes from Central Asia around 1500-100 BC, who overthrew an earlier and more advanced dark-skinned Dravidian civilization from which they took most of what later became Hindu culture.I was always skeptical about it but had no evidence to argue about  it with my friends.

Recently I was told by my uncle Dr. Ranbir Sinha  that many of the modern researchers think this theory is not correct and I continued to search in internet for proof. I came across the following documentary video which gives enough proof that “Aryan invasion theory” was just trick by western world to take credits away from ancient Indian science and civilization , similar to what they did by calling Indian numbers as “Arabic” (see my previous post )

This also slams those Indians who show off superior being “Aryans” , not sure about the reason.

http://www.youtube.com/v/MO8-JCK45tc?version=3

Part 2

Part 3

The Myth of the Aryan Invasion of India By David Frawley

The Story of Numbers (0 and 1) Indian Numerals or Arabic

 

I found the following videos and comments shared by the YouTube an user .Really These videos are made in such an interesting way that a non science/mathematics student can enjoy the video’s humor .Do watch them.

 

The Zero, decimal system, Indian numerals, astronomy, astrology, trigonometry, ayurveda, chemistry, everything even dream-analysis are some of the numerous contributions of scholars from India.
Unfortunately, the bias has always been against giving no credit whatsoever to the Indian mind. For instance, I was taught in school that the numerals we use are "Arabic Numerals". Why?
…..

……

The story of numbers is the story of civilization. Terry Jones ("Monty Python's Flying Circus") goes on a humor-filled journey to recount the amazing tale behind Indian numerals.
Interesting Facts:
* Baudhayana gave the 'Pythagoras theorem' centuries before the Greeks in 800 BC.
* Pingala (400 BC) invented the binary number system which is the basic of computer operations.
* Indian astronomer, Aryabhatta was the first to have propounded the theory that the earth was a sphere in the 5th century.
* Indian astronomer, Brahmagupta, estimated in the 7th century that the circumference of the earth was 5000 yojanas. A yojana is around 7.2 kms. Calculating on this basis we see that the estimate of 36,000 kms as the earth's circumference comes quite close to the actual circumference known today.

http://www.youtube.com/v/gulApUKih2w?version=3


http://www.youtube.com/v/FRpG6SKnRYA?version=3

The Story of Numbers (0 and 1) Indian Numerals or Arabic

 

I found the following videos and comments shared by the YouTube an user .Really These videos are made in such an interesting way that a non science/mathematics student can enjoy the video’s humor .Do watch them.

 

The Zero, decimal system, Indian numerals, astronomy, astrology, trigonometry, ayurveda, chemistry, everything even dream-analysis are some of the numerous contributions of scholars from India.
Unfortunately, the bias has always been against giving no credit whatsoever to the Indian mind. For instance, I was taught in school that the numerals we use are "Arabic Numerals". Why?
…..

……

The story of numbers is the story of civilization. Terry Jones ("Monty Python's Flying Circus") goes on a humor-filled journey to recount the amazing tale behind Indian numerals.
Interesting Facts:
* Baudhayana gave the 'Pythagoras theorem' centuries before the Greeks in 800 BC.
* Pingala (400 BC) invented the binary number system which is the basic of computer operations.
* Indian astronomer, Aryabhatta was the first to have propounded the theory that the earth was a sphere in the 5th century.
* Indian astronomer, Brahmagupta, estimated in the 7th century that the circumference of the earth was 5000 yojanas. A yojana is around 7.2 kms. Calculating on this basis we see that the estimate of 36,000 kms as the earth's circumference comes quite close to the actual circumference known today.

http://www.youtube.com/v/gulApUKih2w?version=3


http://www.youtube.com/v/FRpG6SKnRYA?version=3

Saturday, October 23, 2010

Stargazing with Binoculars

I recently bought a Astronomical Binocular  from Amazon. Initially I thought I should go for a higher powered one but later realized that this one is optimal.

Just about everyone associates stargazing with telescopes. But even the most experienced backyard astronomer owns binoculars. Why? One reason is that when it comes to having a quick look at the sky, it doesn't get any easier than grabbing your binos . It's as close to instant observing as you can get. The other attraction is that ordinary binoculars take in a lot more sky than most telescopes. For big-picture views. binoculars can't be beat. And there are numerous objects so big you actually need binoculars to see them at their best. BinocularFor beginners, there's the added appeal of low cost . Decent binoculars are much less expensive than a good starter telescope. Also, unlike telescopes, which yield images that are upside-down or mirror-reversed, the view in binoculars matches the orientation of the real world.

This means that the transition from unaided view to a magnified one is relatively uncomplicated. Chances are you already own binoculars. Even if they've spent the last decade buried in the back of a closet and may not have the best optics in the world, you will still see more with them than with your eyes alone.

Stargazing with Binoculars

I recently bought a Astronomical Binocular  from Amazon. Initially I thought I should go for a higher powered one but later realized that this one is optimal.

Just about everyone associates stargazing with telescopes. But even the most experienced backyard astronomer owns binoculars. Why? One reason is that when it comes to having a quick look at the sky, it doesn't get any easier than grabbing your binos . It's as close to instant observing as you can get. The other attraction is that ordinary binoculars take in a lot more sky than most telescopes. For big-picture views. binoculars can't be beat. And there are numerous objects so big you actually need binoculars to see them at their best. BinocularFor beginners, there's the added appeal of low cost . Decent binoculars are much less expensive than a good starter telescope. Also, unlike telescopes, which yield images that are upside-down or mirror-reversed, the view in binoculars matches the orientation of the real world.

This means that the transition from unaided view to a magnified one is relatively uncomplicated. Chances are you already own binoculars. Even if they've spent the last decade buried in the back of a closet and may not have the best optics in the world, you will still see more with them than with your eyes alone.

Wednesday, September 29, 2010

Sunday, September 26, 2010

Mounting Windows folder in Ubuntu running inside Oracle VirtualBox

I have been using Free Oracle Virtual Box since quite a while and I take back up of the hard disk file (Lucid Lynx.vdi) regularly so that I don’t loose any installation and configuration I have done in Ubuntu in case of any OS crash.

Host OS :- Windows XP

Guest OS :- Ubuntu 10.04

1.Install the Guest Additions. (Make sure from command line that its successful )

2.Share a windows folder at Settings –> “Shared folders ”  -> Add machine folder eg.  “dev”  as name and  path D:dev

3.Boot the guest OS and go to terminal

4 make folder to be the destination of the mount mkdir ~host

5. sudo mount -t vboxsf dev ~/host

6.For mounting automatically everytime you boot add the above line at /etc/rc.local

Now the folder ~host gives me access to all the contents of D:dev directory in windows drive.

Courtesy http://forums.virtualbox.org/viewtopic.php?t=15868

You can follow them http://twitter.com/virtualbox 
and If you see problems feel free to ask at http://forums.virtualbox.org/index.php

Mounting Windows folder in Ubuntu running inside Oracle VirtualBox

I have been using Free Oracle Virtual Box since quite a while and I take back up of the hard disk file (Lucid Lynx.vdi) regularly so that I don’t loose any installation and configuration I have done in Ubuntu in case of any OS crash.

Host OS :- Windows XP

Guest OS :- Ubuntu 10.04

1.Install the Guest Additions. (Make sure from command line that its successful )

2.Share a windows folder at Settings –> “Shared folders ”  -> Add machine folder eg.  “dev”  as name and  path D:\dev

3.Boot the guest OS and go to terminal

4 make folder to be the destination of the mount mkdir ~host

5. sudo mount -t vboxsf dev ~/host

6.For mounting automatically everytime you boot add the above line at /etc/rc.local

Now the folder ~host gives me access to all the contents of D:\dev directory in windows drive.

Courtesy http://forums.virtualbox.org/viewtopic.php?t=15868

You can follow them http://twitter.com/virtualbox 
and If you see problems feel free to ask at http://forums.virtualbox.org/index.php

Tuesday, September 21, 2010

Setting JAVA_HOME Environment variable in Ubuntu

I know this is a very tiny problem but we often tend to forget and start googling till we find an working example

We can use the following to set the $JAVA_HOME environment variable on an Ubuntu Linux system where there is no specific JDK installation directory and we want to point it to the default JDK location.This happens when JDK is installed from update manager.

export JAVA_HOME=/usr/lib/jvm/default-java

This entry can be made in the file ~/.bashrc to have it executed every time we log in and set the env variable automatically from the next log in onwards.

Setting JAVA_HOME Environment variable in Ubuntu

I know this is a very tiny problem but we often tend to forget and start googling till we find an working example

We can use the following to set the $JAVA_HOME environment variable on an Ubuntu Linux system where there is no specific JDK installation directory and we want to point it to the default JDK location.This happens when JDK is installed from update manager.

export JAVA_HOME=/usr/lib/jvm/default-java

This entry can be made in the file ~/.bashrc to have it executed every time we log in and set the env variable automatically from the next log in onwards.

Friday, September 17, 2010

HBase Resources

Todd Lipcon gives a brief introduction to HBase, Hadoop's database. Todd goes on to explain HBase usage scenarios, how HBase compare to an RDBMS, and how HBase complements Hadoop.

http://player.vimeo.com/video/14068552

Introduction to HBase (Ch1) - Todd Lipcon from Cloudera on Vimeo.

Also there is a nice beginners article by Jim Wilson

HBase Resources

Todd Lipcon gives a brief introduction to HBase, Hadoop's database. Todd goes on to explain HBase usage scenarios, how HBase compare to an RDBMS, and how HBase complements Hadoop.

http://player.vimeo.com/video/14068552

Introduction to HBase (Ch1) - Todd Lipcon from Cloudera on Vimeo.

Also there is a nice beginners article by Jim Wilson

Tuesday, September 7, 2010

Hadoop Resources

I thought of putting Hadoop recourses together in this post

Apache
--------

MapReduce Tutorial ||Quick Start setup [Versions keeps increasing , see the URL for latest]

API Docs || Wiki || Source Control

Yahoo
-------

Hadoop Blog || Yahoo Hadoop Tutorial 

Cloudera Video Training

Books
-------

Hadoop: The Definitive Guide / Pro Hadoop

Blogs:

What Hadoop is good at

Mailing list : common-user@hadoop.apache.org

IRC : irc.freenode.net   room : #hadoop

Hadoop Resources

I thought of putting Hadoop recourses together in this post

Apache
--------

MapReduce Tutorial ||Quick Start setup [Versions keeps increasing , see the URL for latest]

API Docs || Wiki || Source Control

Yahoo
-------

Hadoop Blog || Yahoo Hadoop Tutorial 

Cloudera Video Training

Books
-------

Hadoop: The Definitive Guide / Pro Hadoop

Blogs:

What Hadoop is good at

Mailing list : common-user@hadoop.apache.org

IRC : irc.freenode.net   room : #hadoop

Sunday, August 22, 2010

Google – Behind the Scenes

http://video.google.com/googleplayer.swf?docid=-1508211417393454786&hl=en&fs=true

This documentary shows how Google works behind the scenes and describes the ultimate goals of Google. Primarily it is to collect ALL information available worldwide. At the moment this is mostly about websites, but e.g. with Google Books they are allready expanding to printed media - and with Google Video (and Youtube) they are also expanding to movies. More information sources are going to be included in Googles data-collection. Of course their slogan is “Don’t be evil“, but the question is what power does a company has, that knows about the “entire” information available worldwide?

Google – Behind the Scenes

http://video.google.com/googleplayer.swf?docid=-1508211417393454786&hl=en&fs=true

This documentary shows how Google works behind the scenes and describes the ultimate goals of Google. Primarily it is to collect ALL information available worldwide. At the moment this is mostly about websites, but e.g. with Google Books they are allready expanding to printed media - and with Google Video (and Youtube) they are also expanding to movies. More information sources are going to be included in Googles data-collection. Of course their slogan is “Don’t be evil“, but the question is what power does a company has, that knows about the “entire” information available worldwide?

Saturday, August 21, 2010

Beginning Android

IMAG0087 The word “Android” had been buzzing since quite a while now. However I realized the power and beauty of it only when I saw my friend’s Google Nexus one phone (Not sure why they stopped it, probably it was just for Demo :D ) and finally ended up buying an entry level Android phone , HTC Tattoo for experimenting. It has been a couple of weeks I began writing Android apps code for Hello World and finally got an idea of the programming framework after writing a simple app.

I also started following Android developer blog in my Google reader

I started with Hello World Example in official Android developer’s website. It was quite easy with the Eclipse plug-in. Then I went on to explore the Layouts and UI elements.It has a similarity with Adobe Flex programming that we can create fixed UI objects in main.xml like we do in .mxml file in Flex. Also we can create these elements dynamically in program code (Java) like we do in Action Script in case of flex programming.

 image

qrcode

Finally I ran the app in emulator and when it ran successfully, in no time I exported the app in .APK file and  transferred it to my Phone using QR code generator, installed and tested.  You can scan the QR code in the left using the bar code reader app of your android phone to input the URL of the app file to the phone. For installing, of course I had to change phone setting to allow non-market apps.

This app contains an input text box where you can type partial company name like “Reliance” or “TATA” and hit the “Search” button and it will pop up a list ticker symbols of all the companies listed in Indian stock exchanges with than name,  if your phone is connected to WI-FI , GPRS, EDGE or 3G. Then if you touch on any of the symbols in the list it will populate the text box with the same symbol. Now you can press the “Go” Button and after sometime it will fetch the current price of the Stock in INR and display below the text box. Email me at neil [AT] neilghosh  [DOT] com or comment bellow to get the Java source code.

My colleague Jake has been writing some good posts in his blog http://theappslab.com/ about android as well.

 

 

 

Here are some useful links I found while developing app for the 1st time

Please add interesting links in the comment of this post if you come across any .

Beginning Android

The word “Android” had been buzzing since quite a while now. However I realized the power and beauty of it only when I saw my friend’s Google Nexus one phone (Not sure why they stopped it, probably it was just for Demo :D ) and finally ended up buying an entry level Android phone , HTC Tattoo for experimenting. It has been a couple of weeks I began writing Android apps code for Hello World and finally got an idea of the programming framework after writing a simple app.


I also started following Android developer blog in my Google reader
I started with Hello World Example in official Android developer’s website. It was quite easy with the Eclipse plug-in. Then I went on to explore the Layouts and UI elements.It has a similarity with Adobe Flex programming that we can create fixed UI objects in main.xml like we do in .mxml file in Flex. Also we can create these elements dynamically in program code (Java) like we do in Action Script in case of flex programming.
 
qrcode
Finally I ran the app in emulator and when it ran successfully, in no time I exported the app in .APK file and  transferred it to my Phone using QR code generator, installed and tested.  You can scan the QR code in the left using the bar code reader app of your android phone to input the URL of the app file to the phone. For installing, of course I had to change phone setting to allow non-market apps.
This app contains an input text box where you can type partial company name like “Reliance” or “TATA” and hit the “Search” button and it will pop up a list ticker symbols of all the companies listed in Indian stock exchanges with than name,  if your phone is connected to WI-FI , GPRS, EDGE or 3G. Then if you touch on any of the symbols in the list it will populate the text box with the same symbol. Now you can press the “Go” Button and after sometime it will fetch the current price of the Stock in INR and display below the text box. Email me at neil [AT] neilghosh  [DOT] com or comment bellow to get the Java source code.
My colleague Jake has been writing some good posts in his blog http://theappslab.com/ about android as well.



Here are some useful links I found while developing app for the 1st time
Please add interesting links in the comment of this post if you come across any .

Thursday, August 12, 2010

Download – The True Story Of The Internet "People Power"

I always loved the documentaries containing history of computers.I already posted triumph of nerds which is based on history of software till 1995.  I watched this few years back in discovery channel and loved the whole series. This is based on power of internet using social aspects.

http://video.google.com/googleplayer.swf?docid=380058528391483877&hl=en&fs=true

i

Download – The True Story Of The Internet "People Power"

I always loved the documentaries containing history of computers.I already posted triumph of nerds which is based on history of software till 1995.  I watched this few years back in discovery channel and loved the whole series. This is based on power of internet using social aspects.

http://video.google.com/googleplayer.swf?docid=380058528391483877&hl=en&fs=true

i

Monday, July 12, 2010

Google Easter Eggs

Many of us might know about the following Google search result which is not as expected but teaches you what it is in an humorous way :)

http://www.google.com/search?q=anagram [Notice the Did you mean feature … ]

Did you mean: nag a ram

One can use Wolfram|Alpha to create anagrams

http://www.wolframalpha.com/input/?i=anagrams+pepsi+cola

Similarly other Easter eggs are

http://www.google.com/search?q=ascii+art [Notice the Google logo in search result …]

  ___                _
/ __|___ ___ __ _| |___
| (_ / _ / _ / _` | -_)
______/___/__, |____|
  |___/


http://www.google.com/search?q=recursion [Notice the Did you mean …]

Google Easter Eggs

Many of us might know about the following Google search result which is not as expected but teaches you what it is in an humorous way :)

http://www.google.com/search?q=anagram [Notice the Did you mean feature … ]

Did you mean: nag a ram

One can use Wolfram|Alpha to create anagrams

http://www.wolframalpha.com/input/?i=anagrams+pepsi+cola

Similarly other Easter eggs are

http://www.google.com/search?q=ascii+art [Notice the Google logo in search result …]

  ___                _
/ __|___ ___ __ _| |___
| (_ / _ \/ _ \/ _` | -_)
\___\___/\___/\__, |_\___|
  |___/


http://www.google.com/search?q=recursion [Notice the Did you mean …]

Saturday, July 10, 2010

Bengali English word definition in Google Dictionary

It was good to see that Google Dictionary supports Bengali Language along with Hindi , Gujarati, , Marathi and Other south Indian Languages (Malayalam , Kanada , Telegu , Tamil)

http://www.google.com/dictionary?aq=f&langpair=bn|en&q=??????+&hl=en

bn-en

Similarly most of the Bengali words’ english meaning can be determined as follows

http://www.google.com/dictionary?aq=f&langpair=en|bn&q=irony&hl=en

en-bn

However the Bengali font size was so small that I had to Ctrl + “+” to make them properly visible.

I hope Only major remaining  language Oriya will follow up.

This feature might be available shortly as part of other features of Google Search bar.

Bengali English word definition in Google Dictionary

It was good to see that Google Dictionary supports Bengali Language along with Hindi , Gujarati, , Marathi and Other south Indian Languages (Malayalam , Kanada , Telegu , Tamil)
http://www.google.com/dictionary?aq=f&langpair=bn|en&q=অভিঘাত+&hl=en




























Similarly most of the Bengali words’ english meaning can be determined as follows
http://www.google.com/dictionary?aq=f&langpair=en|bn&q=irony&hl=en




























However the Bengali font size was so small that I had to Ctrl + “+” to make them properly visible.
I hope Only major remaining  language Oriya will follow up.
This feature might be available shortly as part of other features of Google Search bar.

Saturday, July 3, 2010

Pav Bhaaji

With Brazil’s exit from FIFA world cup 2010 today, my football fever is no more at the peak. Thanks to my friends and relatives for the condolence messages via email and SMS. So I am back to work (in full fledge), study and blogging. This is again one of the very few food related blog post. This time very common snacks item in western India, called  “Pav Bhaji”.

STEPS for Pav Bhaji for 4-5 people
FOR BHAJJI
Though there are many vegetables which can be used for making this i will tell you about the ones i have used.
1) Rinse with water and cut  them into chunky pieces not fine as at the end they all will be mashed[ (peeled) 4potatoes, 1 small cauliflower,3-4 carrot,250 gms peas, 3-4capsicum, 250 gms beans ]

2) Take some 3-4 tsp of oil in a pressure cooker, when the oil is heated up  add 1 tsp of jeera,3-4 tejpata (if u have)add 2 finely chopped onions,2-3 finely chopped green chilies, sauté them then add ginger garlic paste after some time add 4-5 finely chopped tomatoes, saute them in sim mode

3) Once its looks cooked add the vegetables, then add 2 -3 tsps of salt, 2 tbsp coriander powder, half spoon turmeric,half spoon red chili powder, 3-4 tbsp of any branded paw bhaji masala.

4) let the cooker whistle in sim mode for 3-4 times then in high mode for 3- 4 times.than take it off the stove and let it cool for 10 minutes or till the lid of the cooker opens

5)Mash all the vegetables with a masher then add lemon juice (at least 3 medium size lemon ) and more according to your taste to make it slightly sour and mix properly.

6) Check the taste, if salt is less add more

7) Sprinkle finely chopped onions, coriander leaves, green chilies, thin slices of lemon, grated cheese(optional), butter for garnishing and its ready to be served

For PAV
1) Take the Pav  cut it and put ghee on the tava  and warm the pieces both sides

Serve warm PAV BHAJJI  with  SEV

Recipe Courtesy : Poonam

Pav Bhaaji

With Brazil’s exit from FIFA world cup 2010 today, my football fever is no more at the peak. Thanks to my friends and relatives for the condolence messages via email and SMS. So I am back to work (in full fledge), study and blogging. This is again one of the very few food related blog post. This time very common snacks item in western India, called  “Pav Bhaji”.

STEPS for Pav Bhaji for 4-5 people
FOR BHAJJI
Though there are many vegetables which can be used for making this i will tell you about the ones i have used.
1) Rinse with water and cut  them into chunky pieces not fine as at the end they all will be mashed[ (peeled) 4potatoes, 1 small cauliflower,3-4 carrot,250 gms peas, 3-4capsicum, 250 gms beans ]

2) Take some 3-4 tsp of oil in a pressure cooker, when the oil is heated up  add 1 tsp of jeera,3-4 tejpata (if u have)add 2 finely chopped onions,2-3 finely chopped green chilies, sauté them then add ginger garlic paste after some time add 4-5 finely chopped tomatoes, saute them in sim mode

3) Once its looks cooked add the vegetables, then add 2 -3 tsps of salt, 2 tbsp coriander powder, half spoon turmeric,half spoon red chili powder, 3-4 tbsp of any branded paw bhaji masala.

4) let the cooker whistle in sim mode for 3-4 times then in high mode for 3- 4 times.than take it off the stove and let it cool for 10 minutes or till the lid of the cooker opens

5)Mash all the vegetables with a masher then add lemon juice (at least 3 medium size lemon ) and more according to your taste to make it slightly sour and mix properly.

6) Check the taste, if salt is less add more

7) Sprinkle finely chopped onions, coriander leaves, green chilies, thin slices of lemon, grated cheese(optional), butter for garnishing and its ready to be served

For PAV
1) Take the Pav  cut it and put ghee on the tava  and warm the pieces both sides

Serve warm PAV BHAJJI  with  SEV

Recipe Courtesy : Poonam

Friday, June 4, 2010

XSD editor in netbeans IDE 6.8

Recently I downloaded netbeans IDE from http://netbeans.org/ everything seemed to be working fine until I tried to validate my .xsd file in it.
It showed me an error “Cannot find the declaration of element 'xsd:schema'.”  even though my xsd file was valid and began with xsd tag

 

<xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema
                     targetNamespace="http://www.example.org/schema/test/v1"
                     xmlns:tns="http://www.example.org/schema/test/v1" 
                     elementFormDefault="qualified"
                     version="1.0"> 
                     <!—ommitted –> 
</xsd:schema>

 

Finally I fixed this by downloading the XSD editor plugin from as follows

1) Open "Plugins" dialog from “Tools” menu
2) Go to "Settings" tab
3) Add an update center:
- Name: NetBeans Dev
- URL:
http://updates.netbeans.org/netbeans/updates/6.8/uc/m1/dev/catalog.xml.gz
4) Wait for catalog to be downloaded
5) Back to "Available plugins" tab
6) Intall plugin called "XML Schema and WSDL"

Finally I could edit XSD files and validate with Source , Schema and Design view.

XSD editor in netbeans IDE 6.8

Recently I downloaded netbeans IDE from http://netbeans.org/ everything seemed to be working fine until I tried to validate my .xsd file in it.
It showed me an error “Cannot find the declaration of element 'xsd:schema'.”  even though my xsd file was valid and began with xsd tag

 

<xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema
                     targetNamespace="http://www.example.org/schema/test/v1"
                     xmlns:tns="http://www.example.org/schema/test/v1" 
                     elementFormDefault="qualified"
                     version="1.0"> 
                     <!—ommitted –> 
</xsd:schema>

 

Finally I fixed this by downloading the XSD editor plugin from as follows

1) Open "Plugins" dialog from “Tools” menu
2) Go to "Settings" tab
3) Add an update center:
- Name: NetBeans Dev
- URL:
http://updates.netbeans.org/netbeans/updates/6.8/uc/m1/dev/catalog.xml.gz
4) Wait for catalog to be downloaded
5) Back to "Available plugins" tab
6) Intall plugin called "XML Schema and WSDL"

Finally I could edit XSD files and validate with Source , Schema and Design view.

Monday, May 31, 2010

Know your location without GPS (Geolocation)

I was fascinated by the Google I/O day one session specially the HTML5 capabilities and Geolocation feature in the latest browsers.

Last weekend I thought of combining the this feature with The Google Geocoding API. In fact I used the  Reverse Geocoding (Address Lookup) to determine the approximate Address of your current location from the Latitude and longitude information gathered by the Geolocation feature .

Note this works only in the latest Firefox (v 3.5 and above) and the latest Google Chrome , Safari and Opera Browser.Internet Explorer yet to implement this.

The below link works well in India as long as you are in an urban place (Metros and important cities).

 

http://neilghosh.com/blog/wp-content/uploads/2011/01/share1.jpgutil/geo/

 

You have to click on “share Location”  in firefox or “Accept” in Chrome at the top of the page , before it sends your location information to server.

share

Used xls to transform the xml returned (with Ajax) by the Google Geocoding API and show as HTML content.

Test the above link and let me know (via comment ) how accurate it gives for your place.(at least it points to my building).

Know your location without GPS (Geolocation)

I was fascinated by the Google I/O day one session specially the HTML5 capabilities and Geolocation feature in the latest browsers.

Last weekend I thought of combining the this feature with The Google Geocoding API. In fact I used the  Reverse Geocoding (Address Lookup) to determine the approximate Address of your current location from the Latitude and longitude information gathered by the Geolocation feature .

Note this works only in the latest Firefox (v 3.5 and above) and the latest Google Chrome , Safari and Opera Browser.Internet Explorer yet to implement this.

The below link works well in India as long as you are in an urban place (Metros and important cities).

 

http://neilghosh.files.wordpress.com/2010/05/share.jpgutil/geo/

 

You have to click on “share Location”  in firefox or “Accept” in Chrome at the top of the page , before it sends your location information to server.

share

Used xls to transform the xml returned (with Ajax) by the Google Geocoding API and show as HTML content.

Test the above link and let me know (via comment ) how accurate it gives for your place.(at least it points to my building).

Sunday, May 30, 2010

Free Public Oracle Application Demo Instance [E-Business Suite]

Hosting Oracle Application Instance is very costly and the license itself is very costly and it needs a lot of hardware resource for the middle tier and underlying Database.

Fortunately the following are available

OracleApps

This screenshot is taken from the 12.1.1 environment http://vis1211.solutionbeacon.ne

1. Appshosting.com provides Oracle 11i 10.2 Vision Demo and one can login with MFG/welcome.

2. Solutionbeacon.com provides

11.5.9 11.5.10 R12 12.1.1

Release 11.5.9 (a159vis2)
(11.5.9.0 Installation from Media Pack/9.2.0.3. No ATG RUPs applied. No additional Consolidated Updates or Family Pack patches applied)
Output listing from patchsets.sh for 11.5.9 from 3/27/06

 

username/password

Release 11.5.10.2 (a510vis5)
(11.5.10.2 Installation from Media Pack/9.2.0.7. ATG RUP#3 applied. Family Pack applied current except for HR and BIS)
Output listing from patchsets.sh for 11.5.10.2 from 10/15/2006

 

username/password

Release 12.0.6 Vision (vis1200)
(12.0.6 RUP6 applied to 12.0.0 Installation Media Pack.)
Output listing from patchsets.sh on 1/24/09

 

 username/password

Release 12.1.1 Vision (vis1211)
(12.1.1 fresh install from 12.1.1 Installation Media Pack.)
Output listing from patchsets.sh on 8/19/09

 

username : operations

Password : welcome

Release 11.5.10 (a510vis1)
(11.5.10.0 Installation from Media Pack/9.2.0.5. No ATG RUPs applied. No additional Consolidated Updates or Family Pack patches applied)
Output listing from patchsets.sh for 11.5.10.0 from 3/27/06

 

username/password

   

 

Please write comment if you have trouble accessing the above environments .

Free Public Oracle Application Demo Instance [E-Business Suite]

Hosting Oracle Application Instance is very costly and the license itself is very costly and it needs a lot of hardware resource for the middle tier and underlying Database.

Fortunately the following are available

OracleApps

This screenshot is taken from the 12.1.1 environment http://vis1211.solutionbeacon.ne

1. Appshosting.com provides Oracle 11i 10.2 Vision Demo and one can login with MFG/welcome.

2. Solutionbeacon.com provides

11.5.9 11.5.10 R12 12.1.1

Release 11.5.9 (a159vis2)
(11.5.9.0 Installation from Media Pack/9.2.0.3. No ATG RUPs applied. No additional Consolidated Updates or Family Pack patches applied)
Output listing from patchsets.sh for 11.5.9 from 3/27/06

 

username/password

Release 11.5.10.2 (a510vis5)
(11.5.10.2 Installation from Media Pack/9.2.0.7. ATG RUP#3 applied. Family Pack applied current except for HR and BIS)
Output listing from patchsets.sh for 11.5.10.2 from 10/15/2006

 

username/password

Release 12.0.6 Vision (vis1200)
(12.0.6 RUP6 applied to 12.0.0 Installation Media Pack.)
Output listing from patchsets.sh on 1/24/09

 

 username/password

Release 12.1.1 Vision (vis1211)
(12.1.1 fresh install from 12.1.1 Installation Media Pack.)
Output listing from patchsets.sh on 8/19/09

 

username : operations

Password : welcome

Release 11.5.10 (a510vis1)
(11.5.10.0 Installation from Media Pack/9.2.0.5. No ATG RUPs applied. No additional Consolidated Updates or Family Pack patches applied)
Output listing from patchsets.sh for 11.5.10.0 from 3/27/06

 

username/password

   

 

Please write comment if you have trouble accessing the above environments .

Saturday, May 22, 2010

Watch TV series and Complete Movie on the web

After long time I found a couple of website which has a comprehensive collection of popular TV series and Movies which can be streamed.

For TV series

http://tv.blinkx.com

and for movies

http://stagevu.com

Watch TV series and Complete Movie on the web

After long time I found a couple of website which has a comprehensive collection of popular TV series and Movies which can be streamed.

For TV series

http://tv.blinkx.com

and for movies

http://stagevu.com

Tuesday, May 11, 2010

Compute from the address bar

Many times my colleagues asked me how do I quickly open up a bug details in the browser  just by typing  a letter and the number and hit enter.It saves a lot of time as we skip one step always.The step might be either opening up the home page containing the form field or changing the search engine add on (accessible via Ctrl  +K ) .I added a Firefox bookmark keyword  today to open up WolframAlpha and give typed string as input automatically and compute on it. Here is the screenshot of the Bookmark from the Bookmark Library of the Mozilla Firefox.

 

image

Now after saving this bookmark when I type  (in the blank address bar ) “w <space> (23-5)/6” or any other expression computable in Wolfram|Alpha and Hit Enter, it opens up the results page having the input as (23-5)/6 automatically.

image

Alternatively following tools can be used for quick search and computation.

http://www.wolframalpha.com/downloads.html

Compute from the address bar

Many times my colleagues asked me how do I quickly open up a bug details in the browser  just by typing  a letter and the number and hit enter.It saves a lot of time as we skip one step always.The step might be either opening up the home page containing the form field or changing the search engine add on (accessible via Ctrl  +K ) .I added a Firefox bookmark keyword  today to open up WolframAlpha and give typed string as input automatically and compute on it. Here is the screenshot of the Bookmark from the Bookmark Library of the Mozilla Firefox.



Now after saving this bookmark when I type  (in the blank address bar ) “w <space> (23-5)/6” or any other expression computable in Wolfram|Alpha and Hit Enter, it opens up the results page having the input as (23-5)/6 automatically.


Alternatively following tools can be used for quick search and computation.
http://www.wolframalpha.com/downloads.html

Monday, May 3, 2010

How the Universe Works

A new science show premiered on The Discovery Channel last week called "How The Universe Works".I made a YouTube playlist of the episodes.

However for HD videos I the videos were not embeddable, can be viewed in YouTube itself.

http://www.youtube.com/p/BC8D359EA0CCA46B&hl=en_US&fs=1

I am Still waiting for YouTube videos for the 2nd episode on Black Holes.I missed it on TV :(

Meanwhile I also came across the Into The Universe with Stephen Hawking DVD

Courtesy Bad Astronomer

How the Universe Works

A new science show premiered on The Discovery Channel last week called "How The Universe Works".I made a YouTube playlist of the episodes.

However for HD videos I the videos were not embeddable, can be viewed in YouTube itself.

http://www.youtube.com/p/BC8D359EA0CCA46B&hl=en_US&fs=1

I am Still waiting for YouTube videos for the 2nd episode on Black Holes.I missed it on TV :(

Meanwhile I also came across the Into The Universe with Stephen Hawking DVD

Courtesy Bad Astronomer

Thursday, April 29, 2010

How to make CC (Cold Coffee)

1.  2 tea spoons sugar
     + 3/4 tea spoons coffee (Nescafe or any other brand)
     + 1 teaspoon water
     + 1/2 tea spoon chocolate drinking powder
2.  Mix these all things in cup.
3.  Beat/stir it with spoon.Initially it will be think and hard.But Keep on stirring
4.  After 5 minutes add 1 tea spoon of water...
5.  You will find brown colour will change to thick light brown colour
6.  Stop stirring when you will become tired :)
7.  Add 2 cups of milk in it.
8.  Add ice, Vanilla ice cream.
9.  (Optional) for garnishing , you can add Hershey chocolate sauce
10.CC is done , how you can ditch CCD and have in-house hang out with friends.

IMAGE_735