Let your heart guide you......It whispers so listen closely

Thursday, January 10, 2013

A Google Disaster

We were happily running our blog: Certain News about Uncertain World (no use of clicking since it is locked). In fact recently we had extended our presence on Facebook as well. We also got to meet many readers of our blog who were impressed by this venture. Our blog life was beautiful and everything seemed to make perfect sense until the moment we attempted making a Google+ page.

So what actually happened?
For making a Google page first of all we were asked to provide the Name. Though the Gmail account is named “Statistical Events”, Google + settings didn’t allow us with that name. So we named it “Akanksha Inderdeep”. Next step was to provide date of birth. We had created this blog on 2nd Feb 2011, so we have always considered this as the DoB of our joint venture. For a moment a thought came to our mind that if it had created so much fuss about name, then it might even retort on our age. But we went on to submit the information expecting not more than a pop-up prompting to change the DoB just like Name. And guess what happened the next moment…. Our account was disabled and we were asked to submit DoB proof within 29 days. We went to a state of shock. We were wondering whose DoB proof should be attached. At the same time a thought of copying stuff from blog flashed in our minds, to have raw material, just in case we need to start from square one.

And then came the biggest shock as a blogger. Our blog was removed. We hadn’t imagined, even in a nightmare that some such thing would happen in a matter of a click. We had invested a lot of time in meticulously maintaining this blog. We are robbed of our most prized possession.

Now what??
We have submitted a file with DoB proofs of both of us, since we don’t have ID with Akanksha Inderdeep K. We have also tried to explain our sad little story to them in that file itself. What we can do now is just wait and watch.
We already miss you alot..  Please come back soon !!!

The only ray of hope is that our blog is not dead yet. It’s in coma and even if it recovers it is in a danger of suffering from loss of memory. So please please please pray for us…


Afterword
Posted after 19 hours: Our blog life is back to normal :) :) . Seems Google people were really moved by our sad little story and chose to react quickly. Thank you all for your prayers ..

Wednesday, January 9, 2013

बीत गया एक और उन करोड़ों में से

बस चन्द करोड़ों सालों में
सूरज की आग बुझेगी जब
और राख उड़ेगी सूरज से
जब कोई चाँद न डूबेगा
और कोई ज़मीं न उभरेगी


तब ठंडा बुझा इक कोयला सा
टुकड़ा ये ज़मीं का घूमेगा
भटका भटका
मदधम खकिस्त्री रौशनी में !

-गुलज़ार


Thursday, December 27, 2012

parts of past

Met an old friend today.. she is more like a younger sister. Till like 2 years back, I had spent considerable time with her. We used to chat a lot, share tit bits.. with time it didn't remain much. Today when I met, I felt so light and good, we again chatted endlessly. And it reminded me of the past... 

There are so many layers of it. While coming back, some how I floated into the deeper past. There were so many things, so many people, so many expressions. I feel excited, embarrassed,  nostalgic.. everything at the same time. I was almost watching my past as a movie. I was riding, there was traffic on the road, but simultaneously there was jam in the mind, thoughts from the past were pushing each other to overtake and come to the front line. There were moments which were clear as crystal.. I could hear/read the exact sentences, see the expressions on the faces of people.. but then, also there were moments which were hidden in fog.. it was hard to recall what was actual course.. how things actually happened. There were friends, relations, blogs, posts, messages, emails, walks, songs, drawings.. I miss parts of them. I want to delete parts of them. That time.. it was good.. it was bad. But I am somehow missing it badly at this moment. As if it was a dear friend of mine. Might not be the perfect but close to heart. I want to hang around with it, for some more time. I am alone and I feel it wants to give me company.

चलो ना शोर में  बैठें, जहाँ कुछ न सुनाई दे
कि  इस ख़ामोशी में तो सोच भी बजती है कानों में


PS: There is a sudden rush of feelings. I don't wanna loose it as always. So just wrote whatever came  to my mind, without bothering the grammar or logic. But this is first time that I am unable to feel lighter, even after writing.

Post PS (added on December 28, 2012 - 2:40 PM): Those lines in Hindi are part of a त्रिवेणी  by Gulzar.

Monday, October 8, 2012

organised randomness

Once again, long time since I wrote. But this time I was really really busy. I think now I am actually working ;) But surfing can never be stopped. In the meanwhile I read many things which I felt would be of interest to some of you, so i kept on collecting them. I know its too creepy to read a post full of hyperlinks. But that is how this one is gonna be.

> Scientific Methods of catching a lion. This started when we came across new techniques of Big Game Hunting. Horward Eves, in his book on Mathematical stories & anecdotes talks about many such interesting methods, which got place in American Mathematical Monthly; and not even this, book also notes the events which led to the facetious contribution. Here is one of those methods: 
"THE METHOD OF INVERSIVE GEOMETRY. We place a spherical cage in the desert, enter it, and lock it. We perform an inversion with respect to the cage. The lion is then in the interior of the cage, and we
are outside." - Mathematical Circles Revisited: A Second Collection of Mathematical Stories and Anecdotes (Page - 77).

> Here comes the actual reason for the title of this post. With the advancement of science, to be more precise statistics and computing, the time has come when one can randomly generate English sentences, which almost make sense. Here is a statistician sharing his R code. Story doesn't end here. People have developed softwares where one can generate research papers, grant proposals and what not. And things make so much sense that such stuff was published and read in conferences. If you are still far from surprise, look at this. There is somebody around the corner, who is generating RANDOM theorems and giving proofs to them.

> A Most Unusual Bird -  Statistical adaptation of the Raven (a poem by E.A. Poe). Very interesting modification of the famous poem, bringing in Statisticians and Statistical theories.  This one was passed on by ASK. 

> A Komplexified website. This website is all about mathematics and humor  The best stuff I found here was  interpretation of the commonly used phrases in mathematical literature and different varieties of proofs. There were also some funny one-liners and quotes.


Thats all about the not-so-serious stuff.  Here are some chunks of serious news:

> This year on teachers' day, the Statistics department of Presidency University, Kolkata organized a special programme to felicitate the three living legends of statistics Gun-Gupta-Dasgupta. So does something click in your mind after reading these names. They are well known for their book Fundamentals of Statistics, which we used to read in our B.Sc. For reasons, which are not so clear to me, I felt very excited after reading this piece of news. What a great way to celebrate the day.

> On 12th August  we attended a memorable ceremony, where a commemorative blue plaque was placed on Dr. P. V. Sukhatme's residence. We had a really great time listening to incidences related to Dr. Sukhatme by Dr. J.V. Deshpande and Dr. Suhas Sukhatme. You may find the details of the event at ASK's post. 


PS: As always.. hoping to come back soon :)

Thursday, August 30, 2012

parallel computing in R

I don't know what would have happened to me and my research if I didn't knew R. It has always been the most co-operative tool. But  RBM was never happy with the speed of programs, specially when I am doing simulations etc. So, one fine day I started googling, the ways to speed up the programs. I invested one complete day and got decent increase in speed. I was very happy and excited that I actually managed something cool; but next day his reactions made me realise that it is not sufficient. 
This led to following two consequences:
i) I was kind of disheartened; so neither I tried going in to greater depth nor did I try formulating and recording the procedure, at least for my record.
ii) I started looking into package making in R (which he always wanted me to do). In last 2 years I have tried doing that at least 2-3 times, but always gave up. But to my surprise, this time I managed within a day (will share that too, soon).

So there I was.. Within 2 days, I had successfully managed implementing 2 reasonably clumsy techniques. But my laziness never allowed me to go ahead with it.

It was only when MGK poked me, I realised that I cannot recall any of it. I didn't knew which files to look into. But eventually I managed. Thanks to ASK, who helped me in reviving. Before I forget again, I made a point to re-search, re-view and document...

Few important notes:
> I have used Revolution R Community 6.0 . One can also try with other versions of R like R 2.15.1, but then you need to make sure if all the required libraries/packages are downloaded/installed. Revolution R has got all of them.

> The version of parallel computing I have used, employs the notion of foreach (a replacement for standard "for statement"). It says "do this to everything in this set", rather than "do this x times".

> We have to register a parallel backend, otherwise foreach will execute tasks sequentially.

> %dopar% executes the R expression using the currently registered backend.

So here is a sample code:

# packages that have to be loaded
library(parallel)
library(foreach)
library(iterators)
library(doParallel)

# to detect the number of CPU cores on the current host
detectCores()  

# 
Creates a set of copies (say 2) of R running in parallel
cl = makeCluster(2) 

# registers the parallel backend with the ‘foreach’ package
registerDoParallel(cl)

# to check if the multiple core is registered. If not, a warning will be issued that it is running sequentially. However, warning is issued only once
z=foreach(i=1:10)%dopar% 
{  sample(c("H", "T"), 10000, replace=TRUE)
}

# returns the number of execution workers in the currently registered doPar backend; should be same as input to makeCluster
getDoParWorkers()

# sample code
x=foreach(i=1:T,.combine='+')%dopar%
{    # a function which has to be executed T times
     vec=vecofderiv(N,M,orgtpm,orgtP)               
     I=vec%*%t(vec)
}
# x contains the sum of expression, on the last line of the loop (since argument to .combine is '+'). Here x is sum of I’s.

Some more notes:
 >   I am not sure, but my experimentation indicated that it is sufficient to register as many parallel backends as is the number of cores available. There was no improvement if I tried registering more backends than available no. of cores

>  Other arguments to .combine could be 'cbind', 'c', or some user defined function (not very sure about the usage). 

> Since the execution is parallel, make sure that the tasks are not related or dependent.

> This is not the only option available. Though I had to stick to this one as I was not able to exactly understand how to bring others to work, like doSNOW, which is a parallel adapter for SNOW (Simple Network of Workstations) package.  There were few which were not available for Windows, like doMC, which is a parallel adaptor for the multicore package. 


PS-1. Thanks are due to the authors of all the R help files I looked into; and offcourse the R team.
PS-2. Please post your valuable comments, so that we can get a better insight of the procedure.

Post PS: Hope to get back soon, with something light and random ;)