She Loves me…She Loves me not

“Giacomo di Chirico – He Loves Me, He Loves Me Not, 1872” by Giacomo Di Chirico – [1]. Licensed under Public Domain via Wikimedia Commons

This is an ancient game of French origin, in which one person seeks to determine whether the person of their affection returns that affection or not. It is well known that this system of determining whether the “girl/boy of your dreams” loves you, is futile. But, I was interested in determining if this game is biased (in the mathematical sense). Well, I should admit, even though I’m a rational being, I’ve fallen victim to such games, in an attempt to convince myself that I’m still in the “run” for a girl. I agree, the thrill is immense, but it could get depressing too soon, if you start with the wrong initial conditions. (Here, I’m going to elaborate the math behind your putative success :P)

Now, I’d like to present my thoughts on how biased/unbiased this “Love me-Love me not” game is. Let me go through the protocol in detail for readers who’ve been blessed with the fortune of not committing this grave error (a waste of time), or for those who’ve not heard of this “event”.

  1. Pluck a daisy from your garden (or from your friend’s)
  2. Sit on a bench
  3. Feel anxious to know whether he/she loves you or he/she doesn’t.
  4. Start with one of the two phrases. “He/She loves me” or “He/She Loves me not” [Friendly Tip: Start this game with an auspicious phrase, preferably “He/She loves me”]
  5. As you pluck a petal*, alternate between the two phrases.

*Try not to Litter.

Now, coming to some simple math. Most daisies have a Fibonacci** number of petals. Why? The fibonacci numbers are linked to the golden ratio, which is intimately linked to the spiral forms of many types of shells. So, this gives us a finite list of numbers to work with. [0,1,1,2,3,5,8…] 

** Fibonacci numbers were discovered by Leonardo Fibonacci in the early 1200’s, but Indian Scholar Hemachandra discovered this series centuries before Fibonacci (early 1100’s). I’m going to refer to Fibonacci numbers as the Hemachandra numbers from now on.

Given the number of petals is a hemachandra number, we have to determine whether this number is even or odd. There are 2 ways to determine this probability:

  • 1. We know that hemachandra numbers follows this sequence (order): E,O,O,E,O,O,E,O,O,E… ie for every even number, there are 2 odd numbers. This simplifies our calculation, giving us probability of getting an odd number (2/3 = ~0.67) and getting an even number (1/3=~0.33). [E-even; O-odd]

Not convinced? Let’s try another method.

  • 2. As, I’m a fan of the monte-carlo method for determining probabilities, I’ve written a simple python script to determine the probability of picking an odd hemachandra, and of picking an even hemachandra number. (Script attached)                                                                                                                               

Monte-carlo Script

This result clearly shows that the probability of getting a “She Loves me” result is significantly higher (~70%). As it isn’t a 50-50 (equal probability) event, I conclude this game is inherently biased.

All “Lovers” out there, plucking petals to know if she loves you, take advantage of this inherent defect and start this game with “She loves me” to get a desirable result 😉 

“Paid to Think”

Before I get started, I shall thank a couple of friends who’ve suggested a lot of past-time activities I could pursue during these holidays; And, I should say, this has made my life less insipid and more interesting. Priya suggested I start reading “The Book Thief” by Markus Zusak, Balaji sent me a “long” article that captures the life of a PhD student and Atul sent me a report that highlighted the ethical dilemma PhD students might be in, if they have enough evidence to turn-in their “boss” (Here, thesis advisor) for research malpractice. Another reading task I’ve taken up is to regularly read the “Views” section of the Gulf-News newspaper. The articles are either written by special correspondents or picked up straight from the Washington Post or The Guardian. I have to say, that’s the only section worth a daily read; the mains, business and sports sections can be read on a weekly basis. (They can be compared to Hindi/Tamil TV soaps, ie, you know the story-line even if you’ve missed a couple of episodes).

Well, this vacation, I’ve also been successful in becoming an addict, a good one. Yes, I’ve transformed into a total-exercise-freak. Apart from the numerous articles I’ve read on LiveStrong or the endless videos I’ve viewed on speedo-fitness, I’m on a tight fitness regime (which includes a moderate level of exercise and a monitored calorie intake) and in the process of building a cross platform-accessible health-application that could help me record my daily-calorie-tally (Yes, a glorified excel sheet). As I haven’t run in a long time, owing to the summer-heat during the holy month of Ramadan (no consumption of water/electrolytes/food in public after Suhur), I’ve taken up swimming seriously. 😀

Now, something relevant to the title!

As one of the IoTx hackathon winners, I was offered an internship in a company that specializes in building Internet-of-Things equipment. Last Thursday, I attended an informal discussion session to understand my role and the tasks that would be assigned to me as an internee. I was excited about capitalizing this opportunity, as working in a corporate firm is an experience I’ve never had before.The talk I had with one of the senior members in the firm was quite memorable. There was a lot of initial chit-chat about my aims and aspirations, and how it could fit in with the firm’s grand-vision. Later, the discussion pivoted to “crazy” ideas I could bring to the table (ofcourse, related to IoT). To summarize, he mentioned that the firm was looking for people they could hire for running their innovation cell, a hub for thinking, debating and developing novel ideas. And, possibly chart a work-flow for each idea generated. This offer was enticing, as I’ve always envisioned working in an environment that challenges me intellectually. And, here, my sole “job” would be to think, come up with problems and putative solutions and finally, work with a team on crystallizing the solution. My course-projects at IIT demanded the same skill, but this “job” comes with an added advantage of witnessing implementation (rapid implementation) and the possibility of observing end-users interact with this product (Thanks to the firm’s excellent collaborations, great funding and state-of-the-art manufacturing centres) ; Hence, completing the cycle depicted below.

Cycle of Innovation

Cycle of Innovation

I’d like to end this post with an anecdote, my mom recites, quite often. If I remember right, the first time she told me this story was when I was in grade 7/8, the time, I was being introduced to inspirational books by Shiv Khera and Lee Iacocca. Here, it goes.

Henry Ford, as you all know, was a ‘Big-Man’ in the Auto-mobile industry. This story is set a few years before Ford became a king-pin in the industry. This was the first-time he hired an outsider for his company’s yearly-audit. The auditor visited each department, observed each individual (employee) and generated an extensive report (that could further be used by Ford to optimize his work-force). The external auditor stated that all his workers were working to their full potential, except for one. This one person was wasting his time in a small cubicle, ie by not actively working with ledgers (managing accounts/finance) or working with tools (on the manufacturing front). He also suggested that Ford give this man the pink slip and send him back home. In response, Ford replied: “This man is the most important person in my task-force. He is the ‘Thinker’!”

Friendship: Eternal bonds

Today has been an awful day. “Awful” is a moderate word to describe my day, I should use a much stronger word to describe this day (probably, abysmal fits the bill).

Before I dive into intricate details, let me give you some background.

In an attempt to keep myself occupied during the summer in Dubai, I attended the 48 hour Decode-hackathon. Yes, I slept for 2-3 hours in the last-two days, and it was exciting to know that I could push myself to learn and code. I’m no web-developer, so, the hackathon begun with me learning some basic web-frameworks (python-based) and exploring tools that were available to integrate databases and user-accounts on a website. Having completed the back-end, which included populating an sql database and the associated bar-code scanning (via bash script), I started playing with web-frameworks (flask-python, css and html). Close to three hours before the final pitch, we had developed a working site linked to a strong back-end database. My team was working on the power-point presentation, when I went back to catch some sleep.

After 30-45 minutes of deep sleep, I woke up to some really depressing news. (A good friend of mine had committed suicide and couple of friends had contacted me for verification). Not having slept for ~2 days, I was delusional. As I didn’t trust what I read, I immediately made a few phone-calls to verify the information, but wasn’t able to reach any-one. I was no-more in any state of mind to pitch the idea to a panel of investors. Firstly, the front-end of the website was poorly implemented, and secondly, this appalling news.

That is when I realized, working for some-more time and getting the application ready wasn’t an option. I shut my laptop, disconnected all the cables, packed my bags, and left. Once I returned home, I jumped on my bed, and closed my eyes. Tears trickled down, but I fell asleep. I woke up in an hour’s time, and made a few calls to confirm the news. I was (and am) shocked to realize it was true. The next two hours, I experienced a kind of emptiness, and my mind was filled with hovering doubts about existence, and thoughts, that I wouldn’t ever be able to see him (or speak to him) was killing me from within. I made a few more international calls, spoke to a few more friends, all in an attempt to accept/digest this information.

It has been 15 hours since I first heard the news, and I’m still in a state of denial. Every instant that I spend thinking of the incident, I sincerely hope I’m in the midst of a bad-dream, eagerly waiting for someone to jolt me from my “deep sleep”. My mental state to this information has been oscillating from a state of shock-to-depression-to-anger.

Having said that, I will cherish moments that we spent together; Arguing, agreeing, epic birthday-bumps and of-course neck-patting. You were the symbol of absolute randomness, and have proved the same, until the end. I might be remembered as the “camel” by most in our branch, and yes, all thanks to you. Okay, I can go on-and-on, but I’ve not got the strength to do so, now.

I’m not going to disclose any information regarding what caused him to make such a decision, his name, or anything. Please do not ping/call me for more information; All that we need to know is, he was a fantastic person, a good friend, but had a few serious misconceptions about life (like any one of us). I was able to dig a photo that we took, the first time we teamed up for a course-project.

B-plan team!

Giraffe, Atul and Me. 

I’d like to end this post by redefining what friendship means to me. Friendship has been described by many as a bond that exists for a life-time. Well, it definitely extends for a lot-more time; They are bonds that last eternally. We miss you da.

I sincerely hope this is just a night-mare and that I’m yet to be jolted to reality.

Summer in Dubai!

I’m back in UAE!

Four fabulous years at IIT Madras has come to an end. Well, I’ll get back one-last-time for the convocation, but the thought of never getting to live, the way I lived the last 4 years is heart-wrenching.

But, Dubai never ceases to surprise me. I’ve set a few goals for this summer, and they seem to be right on track! I’ve continued my running “career” (I should say), by making sure I run ~4-6 km every alternate day (early morning). Along with that, I’ve taken to swimming. I’m an amateur swimmer, but my progress in the past 2-3 weeks has been quite promising. Panting for breath after swimming 25m (breast-stroke) to slowly increasing it to 400m has been exhilarating. For this, I would like to thank you-tube and the set of breast-stroke technique videos. They’ve helped me better my breathing technique, making my swim more efficient.

After a close-friend told me that I might be better of reducing some pounds, I’ve been working on that aspect too. On doing some online-reading, I drew this conclusion => working out is important, but if you don’t have a control over your diet, the attempt is pointless. Yes, barring these two factors, your genetic make-up plays a significant role too. (Thou shalt blame thy parents/ancestors for that :P)

Now, coming to the academic goals I had in mind. I enthusiastically started working on my Thesis, trying to make some significant advances. But, after working on the problem for a few days, it seemed like I had reached an impasse (Here, there wasn’t any disagreement, but mere scientific inaccuracies). Then, I shifted my focus to learning simple web-dev/android tools. And, there was a domino-effect.

#Apographi – Team!

Learning webdev tools — Visited many blogs — Heard about Hackathon in UAE — Formed a team — and finally ended with us winning the third place.

T’was my second Hackathon. And, I should say, it was significantly different from hackathons in India. Getting to network with start-up founders, VC’s, angel investors was a brilliant experience. Special credit to Mr. Tariq (our mentor) who shared his excitement about our project by helping me formulate a fantastic pitch for our idea.

Apart from networking and learning, the day ended well, with us getting a cash-prize of AED 9000; plus a crystal plaque and a certificate. Apart from the materialistic benefits, the feeling of winning in UAE after 4 year dry-spell (while in IIT) is fantastic! (A video of the same posted by the dubai-smart-govt: https://instagram.com/p/3re6k4QV2M/

Pitching our idea!

After Hamdan Award, Sharjah Award and Honda-YES; This is the next big-prize that has significantly filled my pocket 😀

The Last-Lap.

Priyankaa, Me, Atul
(Atul – the epitome of sincerity & muggu-ness)

The last few weeks have been fantastic. I’m done with my grand-viva, BTP Review and a few minor projects. To all those who don’t know what a grand-viva is, let me elaborate that further. It is a ~1:30 hour long session, with the student standing beside a black/white board with a marker in his/her hand in front of a panel of professors (~6-7 profs). They question the candidate on courses the student has taken in the past 4 years at IITM. I didn’t know a couple of questions, but answered quite a few too. Well, the “net” experience was positive 😛

Junaid, Srivatsav, Pratyusha, Senthamizh, Manu, Priyankaa, Me
(The BT Family!)

I am finally done receiving all my admits & rejects. In all, it’s 6 admits and 2 rejects of the 8 places, I applied to. That said, I’m entitled to choosing a single university. I’ve chosen MS(Research) in Carnegie Mellon University. Even though, UC Berkeley has a slightly bigger name, I felt CMU would fit my interests (wrt exploring biomedical diagnostics and therapeutics). Plus, a couple of good friends will be coming along with me to CMU.

Having said that, I experience infinite nostalgia when the thought of leaving IITM crosses my head. Of all the schools I’ve attended in the past 15-18 years, this has been the best of all. I’ve experienced a true sense of belonging over here. Of all the friend circles I’ve had, this is one place where I could fit in, without any effort. Let me reiterate that “Zero Effort”.

Institute Day – with grandparents!
With Junaid (Room-mate ho to aisa :D)

The institute has been kind by organizing multiple “hang-out” sessions; where members of our batch can meet, talk, laugh and cry. Well, apart from the above activities, for the ‘photo-whore’ in me, I’ve featured in infinitely many pictures! So, here are some pictures, from the OAT dinner, hostel night(s) and from Institute day. Oh, I won a prize during the institute day this year too. This time I’ve clicked some pictures with my grandparents who came all the way to IITM, to witness that one-minute, where I got to share the stage with the director, professors and a few distinguished alumni :’)

Supreeth, Me, Srivatsav and Junaid
Institute Day prize

Adyar Cancer Hospital (Pediatric Ward)

Most of my courses in IITM have stressed that every product designed should be “novel” technologically plus it should be made keeping the users requirements in mind. So, instead of assuming the user’s requirements, it’s best to meet, interact with users in order to determine what functionality they might require in the product. 

Magician
Children viewing Magic Show
Keeping this in mind, I visited the Adyar Cancer Hospital (Pediatric Ward) to spend some time with children who came for regular check-ups and observe, interact with them to know what kind of difficulties they face on a daily basis and to possibly design assistive devices for the same. 
The children spent their waiting time in the play-room, where we volunteered to engage them with interesting activities. As it was the first time I visited the hospital, I stuck to conventional activities, like engaging them in coloring/drawing, playing carom, etc. It was 2 hours of time well-spent.
After spending an hour, there was a magic show for the children organized by students of Satyabhama University, who came there on an NSS project trip. 
Well, this first trip has given me enough impetus to get back next Saturday or even enroll as a mentor during the weekdays. And, I thank prada (Sreeprada) for taking me along with her. I hope to get there next weekend with new & interesting ideas regarding activities these kids could engage in. 
Viewing the Magic Show (Me, children)
The age group of kids present at the playroom ranges from 2-10 years. If you, readers, have exciting activities that I could engage kids in, please share them with me (by commenting on this post).

Running 21.1 Km at Auroville Marathon.

The first phrase I uttered on the day of my first Half-marathon was: “Oh F***, We’re Late”.

We (Me & Atul) left for Puducherry on 7th evening at around 5 pm. After an arduous bus-journey, we reached our hotel (Ram-International) by 9.30 pm. The delay was due to infinite traffic in chennai, coupled with the fact that our bus was moving at snails pace.

We overloaded ourselves with 2 butter Na’ans & a Kulcha, a high-carbohydrate diet, in order to ensure none of us face hypoglycemia the next day. Done with dinner, we reached our rooms and crashed. I set 4-5 alarms just-in-case. But, all the efforts were in vain. We ended up waking up at 5:30 AM, missed the 5:15 AM free shuttle to Auroville from pondicherry. Our run was scheduled to flag-off at 6:15 AM and we estimated that we would reach the start-line only by 6:30 AM. But, luck wasn’t on our side. We started the run only by 6:45 AM.

21.1 km Marathon – Bib

The first 3 km were a cake-walk. That is when I started having a mild-knee ache. This was absurd, mainly because I’ve never had pain in the knee while running, be it 3km or 10km. Once I reached the second aid station, I used the volini spray to numb the pain. This helped me boost my speed for the covering the next 9 km. After a while, I saw the placard labelled 15km. The excitement was tremendous. Having completed 15km, I had to complete 6 more. Not a very difficult task after all, I felt. I continued running at the same pace. After crossing roughly 2 Aid-stations, refilling my system with electrolytes and glucose, I reached the 18km mark.  On reaching the 18k Mark, I realized my knee ache was back again, with the only exception it was much worse. Thanks to another Aid-station, volini did the magic again! I was back on the track at a much lower pace, but strong enough to complete the run.  There was tremendous joy when volunteers screamed that I was at the last 500 meters of my race. I sprinted from then on. After 2-3 minutes, I had 200 meters to go, could see the finish line and picked up my pace again. I ended my first 21.1km Half-marathon at 2hrs and 28 min, which translates to an average running speed of ~ 8.5km/hr.

A more experienced marathoner has expressed his excitement about the Auroville Marathon. Well, he run the Full Marathon and his blog post is just a delight to read. Please take a look at it. On reading the same, I notice the immaturity in my post – as a beginner marathoner and the maturity in his.
(http://soulfulgrowing.com/the-agony-and-ecstacy-at-auroville-marathon/)

Some History 😀

Having spoken about some of the intricacies of my run, I would like to present some background of my “Athletic abilities” back in Dubai (over the first 15 years of my life) – A stark contrast of my current life.

My family (Dad, Mom, Sister and Me) has been excited about exercise in general, and walking to be specific. But, we never set high “Athletic” targets to meet. We were regular runners at 2 famous marathons in Dubai (namely, Standard Chartered and Samsung Marathon). We used to always go for the 3km fun-run. While in my 12th grade, I struggled to finish a 3km run – sprinting 0.5km and walking the rest. I never trained while at school and used to hate running.

I started jogging at IITM from my 2nd year, when a couple of friends (Balaji, Atul, Aritra) decided to start running with the sole objective of burning some fat. For me, losing weight was my initial goal. The mess at IITM helped me pull down ~6kg and the morning runs probably ~2kg.

School —> IITM 

More than the number 21.1, I’m excited about my improvement over the past 2-3 years at IIT-M.
From 1km (At Dubai[Grade 9-12])–> 4km (Mandak-Maingate-Mandak[2nd year]) –> 6km (Terry Fox Run[2nd & 3rd year]) to 10km (T+ Run at Anna University[4th year]) –> 16 km (GC-Maingate-GC (4 times) [4th year]) and finally to 21km (Auroville Marathon[4th year]). 

It has been a fabulous journey, and I hope to scale up to the Full Marathon (42.2 km) and then the Ultra Marathon (50km) in next 2-3 years (probably at Graduate-school). I’m attempting my 2nd half-marathon next month (March 22nd).

Talking about Graduate school, I finally got my first admit from Cornell University. I hope the other admits follow 🙂

Final Semester Thoughts -1

The term “IIT” and its inhabitant “IITian” has been used, abused in almost every Indian household atleast once. And, now we feature in most memes and websites. I recently came across a dating site exclusively for IITians, something called dateiitians.com. WoW. Innovative stuff. Well, I fear the site might be populated by guys alone.

I’m no sexist, and the earlier comment was meant to reflect the poor sex ratio at most IITs. It’s a pity that there are not many girls here. Well, I could attribute that to the importance “modern” parents give to marrying their daughters away, nurture them to be mediocre because an IITian girl cannot find a guy more qualified than herself. Hmmm. And, this is the typical mindset in most families, ranging from conservative to bold risk-takers, every one.

Being in IIT, I fall into an existential crisis quite often. Seeing my friends at other institutes post pictures of their outings during Onam, New Year, X, Y and Z, I question myself : “Is all this ‘Fight’ really worth it?”; “What do I plan to gain out of all this?”; “Why not just enjoy my present to the fullest?” Every single time these questions flash in front of me, I pat my back and say, “If they enjoy 1x now, you’re creating a future to enjoy 100x”. Now, this statement has become a joke. I mean seriously, I’m surprised that I’ve been so gullible to believe in this fact for all these years.

Living with such questions, I often wait for miracles aka achievements to “tell” me, “Yes, I’m doing the right thing”.

Shaastra and Saarang, the two fantastic festivals conducted by IITM are done, and my last semester has begun. Shaastra gave me 30k, couple of shirts, bags , while during Saarang, I attended my first dance workshop. I won the IITM Research expo and was awarded with Rs 30k, while the consolation prize at an android app development competition got me some goodies. And, I finally went for a Salsa dance workshop this time, thanks to Shreya who teamed up with me.

A really fun start to this year. One of the movies I watched recently was the “Pirates of Silicon Valley”. It’s an old film (1999 release), depicting the birth of 2 Computer Giants, Microsoft and Apple.

Let me end this post with some memes. All are IIT Memes. Most, True.

Back! After a long break.

“It’s been such a long time since I last blogged.” Well, I couldn’t find a more appropriate line to start this post.

Yes, my last semester (7th-sem) was the major reason for this long period of hibernation. Even though, it was really hectic, with a course-load of close to 30 credits, I thoroughly enjoyed most of the courses I took up. [For those relatively new to the education-system at undergraduate college/universities – 30 credits is a LOT. Most universities in the US “force” their students to take close to 30 credits in TWO semesters, and is deemed impossible to be completed in a single semester.]

My semester was a fun-one, and the winter that followed was quite interesting as well. This time, the first time since I joined IITM, I took close to a month’s break. All these years at IITM, I’ve had long summer (~3-months) & winter breaks(~1-month), but I’ve always been keen on keeping them only a week-long, and then heading for an internship/project.

This winter, I spent my time, applying to graduate schools, learning the basics of Django (not the movie), and speaking to a lot of people. The “speaking” came a bit late in the winter, and most of it was with friends who were with me at Meccademia. It was exciting to know their exotic plans for the future, ranging from pursuing a Masters/PhD to founding a start-up. Of all our discussions, I learnt one thing – “Machine Learning (ML)” is an important tool every engineer should possess. I was introduced to Neural Networks, unsupervised learning and the basics of ML in my 7th semester by the course titled “Computational Neuroscience”. [Even though I had a course-based introduction, most of my understanding came from this set of lecture-videos by Dr. Yaser at Caltech]

Of all the things I’ve learnt at IITM, I’m happy that I explored athletics. I recall my disinterest in running while in school, barely managing to complete the 3 Km Fun-runs conducted by Standard Chartered. Now, this has changed for the good; My morning walks at IITM converted to Morning runs and now to marathons. This winter, I completed my first un-official half-marathon (21.1km) in ~3.30 hrs. [I wasn’t registered for the marathon, and hence took a different route to complete ~21 km] My next half-marathon is in two months (Feb 9th) – The Auroville Marathon – close to Puducherry. I’ve re-started my training, and now that I’m back in IITM for my last semester, I’m going to make the best use of its big-campus.

Auroville

I’ve been reading Peter Thiel’s book “Zero To One” the past few days. It’s an excellent read for start-up enthusiasts. In my next blog post, I plan to provide a summary of the book and the important pointers I have gathered from my first complete read. [For those of who’ve never heard of Peter Thiel, he’s the co-founder of Paypal]

Rahmaniac for life #Rahmaniac


I’ve been a Rahmaniac since birth; followed and relished every single composition. His mesmerizing composition never fails to “up” my spirits.

This time, it’s different. It doesn’t just “up” my spirits, but I end up getting goosebumps every time I replay the song. And, part of the credit goes to Lata ji. Her voice compliments Rahman’s composition brilliantly. 

Having used so many adjectives to describe Rahman and Lata ji, I’m going to attach the clip. Watch it, and enjoy! A small primer:- This video is specifically made to support women empowerment.