A truly great relationship between 2 people can only exist on basis of giving freedom to each other and never ever on commitments made to each other — RGV
I don’t know where i am eligible to write this post as but lately when i look at some of the failed relationships of my frineds i thouht i would like to share my opinion about relationships and commitments
its perfectly fine for a people to fall in Love and become crazy over it, you and i cant help it, but the real problem comes when they commit to each other at a very early stage. usually any guy or a girl tries to show up there best or good part of them in the beggninning of any relationship may be friendship or lovers or for that matter even in new job this usually stays for may be first 6 months or 1 year depending on the person so obiviously when they are trying to show there best part these times relationships go fine . but the real person comes out only at the time of difficult situation or critical times and usually it takes little long time to observe the guy’s or girls behiour in these times. by this time people might have allready been in a commited relationship then the bad time starts and compromises begeins if both the guys are meature enough of understand each others problem and comprimise then it’s fine happy story otherwise relationship breaks and they wil have terreble time.
so my only advice is Don’t commit to a person early. be friends for some time obeserve in happy and tough times and see if he is right one for you and then make a decesion. i know its difficult for any indian girl to hangout with a guy and not been in a relation but times are chaning people are becoming more open.
please share your perspective about this in the comments below.
In india Missed calls are very popular. we tent to have some preconsived notions and try to communacte it to other people with out even wasting a penny (just a missed call)
For the People who have came here for the first time Kookoo is the simplest and easiest way to build telecom applications
IVRs, office PBX and outbound campaigns. this is my earlier post on how to Build kookoo app with PHP
we can build missed call Applications with Kookoo, for example you can just give a missed call to a number and get cricket score. as this app was allready built by another company. i tried to build a similar app with it you will get your horoscope with a missed call
here is how it works .
first call this number 918030412941 then it will ask you to enter your birth date in particular format. ( this is the only time your call get charged)
from the next call onwards your call will be disconnected and SMS horoscope will be sent to you.
to know more you can post a comment here or drop me a mail.
Prerequisite : you should know the Codeigniter framework and Kookoo API.
KooKoo communicates with our application by posting GET requests to our web server and passing request parameters. but Codeigniter, by default crafts it’s URL in a search engine friendly format. It uses a segment-based approach.
So the first and foremost tweak that we need to do is configure Codeigniter to mix the segments and querystring. this howto article can help you in doing it Howto article.
This is what you can do if you need to have a mixed segment and querystring approach. You can enable this either globally for your whole application or just locally within a controller.
To enable this globally, go to your application/config.php file, and look for $config['uri_protocol'] variable and change it to:
$config['uri_protocol'] = “PATH_INFO”;
After that, find the $config['enable_query_strings'] variable and change it to:
$config['enable_query_strings'] = TRUE;
Now your application is ready to accept both segments and querystrings.
Next thing is you need to parse the url string so that you can get the Parameters available in your class.
so add this line in your Controller Constructor method.
parse_str($_SERVER['QUERY_STRING'],$_GET);
thats it now we are ready to work with Get style of URL’s in codeigniter.
Kookoo has provided a PHP library for working with Kookoo. this is the modified version for codeignitor
so please download this and you can add this file to your application/libraries. Kookoo codeignitor lib
once its done you can start writing your logic in your Class. here is one such example for my Book isbn APP.
class Kookooapp extends Controller {
function Kookooapp()
{
parent::Controller();
$this->load->library('Kookoo');
$this->load->library('session');
parse_str($_SERVER['QUERY_STRING'],$_REQUEST);
}
function index()
{
$calldata = array(
'callno' => '',
'state' => '',
'isbn' => '',
'logged_in' => TRUE
);
//for email
$to = "sandeep.eecs@gmail.com";
$subject = "KooKooApp call";
if($_REQUEST['event']=="NewCall") {
$this->kookoo->response("5692");
$this->kookoo->collectdtmf('15','#','5000');
$this->kookoo->addPlayText("Please Enter the Book. isebean number and terminate with hash");
$this->session->set_userdata('state', 'getISBN');
$this->session->set_userdata('callno', $_REQUEST['cid']);
$this->kookoo->getXML();
} else if ($_REQUEST['event']=="GotDTMF" && $this->session->userdata('state') == "getISBN") {
$isbn = $_REQUEST['data'];
$this->kookoo->response("5692");
$bookdata = $this->flipkartdata($isbn);
$emailtext="We got a call from ". $this->session->userdata('callno')." for a book with ISBN ".$isbn ;
mail($to,$subject,$emailtext,$headers);
if($bookdata['msg']=="gotdata")
{
$this->session->set_userdata('title', $bookdata['title']);
$this->session->set_userdata('fkprice', $bookdata['price']);
$this->kookoo->collectdtmf('1','#','5000');
$this->kookoo->addPlayText("We found book with title .");
$this->kookoo->addPlayText($bookdata['title']);
$this->kookoo->addPlayText(" and FlipKart Price is ");
$this->kookoo->addPlayText($bookdata['price']);
$this->kookoo->addPlayText(" Please Press one to find Price of other Stores");
$this->kookoo->addPlayText(" and terminate with hash");
$smstext="www.mydiscountbay.com"."flipkart Price ".$this->session->userdata('price'). "booktitle :".$this->session->userdata('title') ;
$this->kookoo->sendsms($smstext,$this->session->userdata('callno'));
$calldetails = $this->session->userdata('callno'). " called for " .$isbn;
$this->kookoo->sendsms($calldetails,'9916810809');
$this->session->set_userdata('isbn', $isbn);
$this->session->set_userdata('state', 'other store price');
$this->kookoo->getXML();
}
else
{
$this->kookoo->collectdtmf('15','#','5000');
$this->kookoo->addPlayText("Invalid Isbn number Please try again");
$this->session->set_userdata('state', 'getISBN');
$this->kookoo->getXML();
}
}
else if ($_REQUEST['event']=="GotDTMF" && $this->session->userdata('state') == "other store price") {
$option = $_REQUEST['data'];
$isbn= $this->session->userdata('isbn');
$lmprice=$this->getprices->landmark($isbn);
$ibprice=$this->getprices->infibeam($isbn);
if($lmprice=="N/A")
$lmprice="Book not found";
else
$lmprice = "Rupees ".$lmprice;
if($ibprice=="N/A")
$ibprice="Book not found";
else
$ibprice = "Rupees ".$ibprice;
$this->kookoo->response("5692");
$this->kookoo->PlayText("The Book Price at Landmark is ");
$this->kookoo->PlayText($lmprice);
$this->kookoo->PlayText("The Book Price at infibeam is ");
$this->kookoo->PlayText($ibprice);
$this->kookoo->playtext("Thank you for calling Us.");
$smstext="www.mydiscountbay.com book with :".$isbn. "price at landmark is ".$lmprice ."and Price at infibeam is ".$ibprice;
$this->kookoo->sendsms($smstext,$this->session->userdata('callno'));
$this->kookoo->hangup();
$this->kookoo->getXML();
//session_destroy();
//$this->session->unset_userdata($calldata);
$this->session->set_userdata('state', '');
}
}
function flipkartdata($isbn)
{
if(!$this->isbn->check($isbn))
{
$data = array('msg' => "The ISBN number is not Valid" );
}
else{
$flipkart=$this->flipkart->getdata_html($isbn);
$data = array(
'title' => $flipkart['title'],
'author' => $flipkart['author'],
'msg'=> "gotdata",
'price'=> $flipkart['price']);
}
return $data ;
}
}
Post your comments if you found this usefull.
This weekend i have built an app thought with you get Get Book Prices Over a Phone if you know the Book ISBN.
Simple : just make a Call to 040-44556944 and enter my App code 5692 and follow the instructions.
A typical use case can be like you are at a book store and the Shopkeer is saying the price of some Book as Rs X so you can just make a call to this app and find the Bookprice from Flipkart, infibeam, and Landmark. (these are online Book stores) Flipkart and infibeam offer freeshiping so just in-case the Price is low than what shopkeeper is saying you can either bargain or buy it from these stores overall you can save some money
.
Process Flow of the Call.

story behind.
A Professor at my college was working on a Startup which has developed a Telephone Applications through with we can integrate web app with Telephone. so after playing around with it for some time. finally i could build this
Techonologies used:
PHP (codeignitor), Yahoo YQL , and Kookoo.in API.
In my Next post i will Share the code and write a how to atricle on building a Kookoo based app in PHP with codeignitor.
Suggestion and comments for the app are welcome.
Today i was testing an application that i have built this weekend for which i need to create some couple of accounts in the application which requires unique email ID for each account and we have to verify it to successfully create an account. (app sends a key in the email to verify )
I have some 3 emails of mine but then i need to create at least 10 accounts to test it properly. insted of creating 10 emails accounts for testing, i found this cool trick .
Gmail doesn’t recognize dots
that means sandeep.eecs@gmail.com is same as sandeepeecs@gmail.com, s.a.n.d.e.e.p.e.e.c.s@gmail.com or sand.eep.ee.cs@gmail.com (cant believe it, just go to gmail.com and try logging in with out dots if ur username has dots. it works
)
As my application does recognize dots. So each time i enter my emails with dots at different places it thinks them as new email id and creates account for it. and i could finish my testing with one email ID only
.
Found it interesting so thought of sharing it with you guys.
BTW it seems even Facebooks did same thing for vanity url . facebook.com/psandeepreddy is same as facebook.com/p.sandeep.reddy
Book Review : The Pleasure of Finding things out .

If you have ever seen my signature this is how it looks. I use this every where, passport, bank accounts almost every where . its definitely Not my name “sandeep” .. .. its Feynman my childhood hero. He is the one who taught me how to learn Science . he is my role model, inspiration how to look at things and understand how stuff works in a scientific way.
So how I got to know about Feynman is when i was studying my 10+2 at delta Academy (Hyderabad), Srikanth sir was my Physics Professor (one of my fav teachers) there and one day I went to library and asked for a good Physics book and a guy in the library suggest me to read the book “Lectures on Physics By R P Feynman” thats it the beginning of it all. I read all most all topics from vol 1 and vol 2 which i can understand at that time and Vol 3 was above my head and those book are my life time fav books. if any one ever asked me to suggest a book for Physics i will tell them these books in fact they should be a must read of every physics student. I always regret That i made a wrong decision of not choosing a Physics career. but I am scared of my math skills so due to some wired reasons i came to this field Engineering ..
Recently i came across this book in the store. it was there in my reading list since long time so i bought it and read it finally so here goes the review..
Title: The Pleasure of Finding Thing’s Out. By R P Feynman.
The book is the collection ranging from a talk given at Caltech in 1959 to his minority report to the space shuttle Challenger inquiry it does bring together a broad variety of his work and offers further insight into the mind of this quirky genius.
Whether speaking about his personal experiences in Los Alamos (discussing everything from his safe-cracking methods to the first atomic blast itself), about cult sciences, about Computing Machines in the Future or, more generally, about What is Science ? (and how it should be taught), Feynman shows the advantages of great curiosity (and a healthy dose of doubt, especially when confronted by authority). The book is filled with anecdotes and speculations, raising possibilities, considering what is and might be possible in the future (notably with regards to things of minute size, from computers to engines). At every turn his mind seems to jump ahead to the next idea.
As the name tells its the pleasure of finding things out that makes people Like Feynman Do science, there is a Thrill in Finding out how world works.
One of his Interview on BBC Horizon . see its simply great he explains that well with no charts no powerpoint. its infectious
Links : Feynman wiki Complete Book review Some of His interviews on BBC Horizon His Picture


