Monday, October 27, 2014

Invited by Google to attend their compiler summit 2014 in Munich

I should have told this before but did not have time to post.  Anyway, I consider this as a second milestone of my PhD.  Thanks to Tobias for sending me the reference email that Google Munich is asking PhD students from Europe to apply to attend the Compiler Summit in Munich in December.  I applied and to my utmost joy, got an invitation from Google to attend this.

This is an ALL EXPENSES PAID trip and also by Google, a company I have been dreaming to be a part of since my coming abroad.  Who can tell, this can be the beginning of a long collaboration with them?

Also, the cool thing is the summit ends on 10th Dec and on the day of 11th, they are arranging a trip in Munich (which is my Birthday).  What more can be better as a birthday present?

GRUB Problem Ubuntu Windows 8.1 Dual Installation

It's been a really LONG time since I have written a blog.  It's not because I did not have anything to write about.  Trust me, I have many more things than ever  to write about in the blog.  But I was so lazy to post.  I will probably add one of them as that is related to my PhD progress and many people might be interested in it.

Anyway, today morning I ran into this problem.  In my Dell laptop (which my supervisor gave me), I had dual booted Ubuntu and Windows 8 (native OS) perfectly fine.  Yesterday I had to boot into windows (which I normally do once in 6 months, but now I am taking a machine learning course and therefore had to install (and use) MATLAB in windows.  Because I did not trust the version I installed in Ubuntu that much.

Anyway, yesterday I received a free upgrade offer from Windows to upgrade to 8.1  I recently bought a laptop for my mom (in my glorious US trip, which I should have mentioned in blogs given that it was one of the most memorable trips of my life) which had windows 8.1 installed and I kind of liked it.  The upgrade ran for hours and I did not check yesterday what is the state of my laptop after the upgrade.

But when I came to my office today in the morning, I discovered that the boot menu has been corrupted and I was not getting the option for booting into Ubuntu.  The laptop was directly booting into Windows 8.1  For a moment, I got a chill because a LOT of my research materials have not been backed up and they reside in the Ubuntu partition.

A quick search through Google revealed that this is a common problem after the upgrade to the Windows 8.1 and the problem can be fixed.  But there was infinitely many solutions to choose from and trying every one of them can easily ruin your whole day.

Therefore I'm gonna talk about the solution that worked for me.

1.  Disable the fast startup feature of Windows 8.1 as described here.
2.  Restart with the advanced startup option as described here (until Step 5), this is necessary to boot into Ubuntu to your modified firmware (which hopefully is not broken).
3.  Select the Ubuntu option once you see the UEFI boot list.
4.  This should take you into Ubuntu.
5.  Run sudo update-grub from Ubuntu terminal.
6.  Voila, its fixed :-)

This was really easy and saved a lot of time for me.  Hopefully it will help someone who is facing the same problem.

Friday, June 6, 2014

The day has come...

After the hustle of 3-4 months (but the dream started long back), finally the day has come.  Bai and Mom will be leaving TODAY from Barasat to come to Edmonton.  If not, this is gonna be the most happiest trip of my life after growing up.  I dreamt about this the moment in the Spring of 2012, I saw people in their convocation dress.

It has been a really LONG preparation, starting from getting passport for both of them, then getting VISA for two countries (USA and Canada), booking flights, hotels, getting my VISA for both countries.  Finally it's gonna pay off.  Hopefully they will be safe and sound through out the trip.  Also, I am going to drive for Jasper and Banff for the first time ;)

Two days earlier, an issue came up regarding my subletting my room.  A guy from Netherlands told me that it's guaranteed that he will take the room.  But when he came .. (Just now Bai and mom came online, let me talk to them and then I will write the rest. :D) (Just finished talk with Bai and Mom, they seem OK, a bit nervous which is common).

So about this Dutch guy -- just 3 days before my leaving, he told me that he's not gonna take the apartment.  It was a lightning on my head -- how I am going to find a tenant in this time.  After recovering, I put up ad again and asked Dmitry to show the room if somebody comes.  Thankfully, one Italian guy has asked for it.  Let's see how it goes.

Anyway, so I am geared up for the dream trip of my life.  It's always special to bring your parents with parts of your savings, now I am joining the troop too.  Next stop, Edmonton!

Wednesday, May 28, 2014

A few events and Torsten's first milestone

A lot have happened in the past few days and I thought it is a good time to jot them down.

1.  I tried my hands (and legs) in indoor climbing with Greg and Dmitry.  Dmitry did a super splendid job for a first-day climber.  I did average.  This was expected because I really have bad forearm strength.  That is the reason why I can't do chin-ups in the gym.  At first you think rock climbing about climbing or lifting yourself up with your hands, but that is actually wrong.  Thankfully towards the end of the practice session, I realized that a LOT depends on your legs.  Though Greg (a semi-expert climber) was telling me this all the time, but it took me a while to get the grasp of it.  But once you start concentrating the placement of your feet, the hands are really a lot relaxed.

But you can't apply the same into "bouldering".  Or let me put it this way -  you can put this into bouldering, but you need great strength in arms too.  For a big guy like me, it really take a lot of strength to perform bouldering.  I failed to do it, as expected.  But I must say, I enjoyed climbing more when I was belayed by Dmitry than the time I was belayed by a machine.  How can I forget the first time when I had to let go and jump backwards with the belief that the belayer (the machine in the first case) will stop you.  It was really difficult to let go this fear. Here are some pictures:


Dmitry

Me (left) and Greg (right). Don't get carried by the fact that I am a bit higher than him ;)

Dmitry bouldering.  He did great!

My "try" at bouldering

2.  Greg left the lab.  Yes, the only guy who knew some music and seemed a bit chilled out ( a bit like me), left the lab.  Though he had a top tier publication (In SPAA) and his static analysis may be the major reason that our paper gets accepted in ASPLOS, he left.  He told that he did not find anything cool to do with polyhedral model.  I don't now who took the decision (whether he left or Torsten fired him), but that's that.  BTW, Marius is also on the verge of leaving.  Tomorrow he will talk with Torsten and decide whether he is staying or not.

3.  There was a department bbq in the restaurant top floor.  It was fun. Here are some pictures.


4.  Yesterday Torsten presented the progress of his lab and he was greatly accepted.  That means he is only 2 more steps away from getting a tenure (3 presentations had to be there before you get this).  I was a bit surprised by this because I have seen people fighting so much about this and also heard dreadful stories but for him it seemed like easier!

I haven't told Torsten yet about me going to Canada.  Probably I will tell him that during our meeting this Friday.  Tomorrow is some religious holiday.  8 more days to leave for Canada!  Can't wait to meet my parents.

Wednesday, May 14, 2014

PACT paper accepted, first in PhD

One of the happiest days of my life.  A lot was depending on this, and I was fortunate enough to be bestowed with this really cool research topic and also to find out some quick answers.  Though a lot to be done still, it was so satisfying to find out that my paper got accepted.  PACT is a good conference and having a paper at the beginning of your PhD really helps a lot.

The result was supposed to come out on May 19th, but it came out really early.  One more cool thing is that the conference will be in University of Alberta!  And Dr. Amaral is the chair.  This is insane!  I am so excited.  I was also excited to receive an email from Dr. Amaral congratulating me.

My Canadian passport application has also been processed and it's on its way home.  I was a bit tensed when after 5 days, the France Visa office did not acknowledge the receipt of the passport and I also lost my postal office receipt.  Anyway, hope the VISA is approved and then I can finally prepare for my visit to Edmonton for my convocation and then USA!  Yes, USA... FINALLY!

Phew, lets try hard for the ASPLOS paper now!  If it gets out, I will be overjoyed, but it's too soon to comment.

Always wanted to see this


Friday, May 2, 2014

Got some inspiration

Just when I was in the process of going low about my research topic, something wonderful happened in the last two days.

1.  I got good reviews for my PACT paper and there is a very good chance that it can be accepted.
2.  Today two guys came to give talks.  It was one of the busiest days SPCL.  One of those guys were Edgar Solomonik, a kind of genius from UC Berkeley.  At the age of 24, he is almost finishing his PhD and hoping to join as a Post Doc in our group.  I should tell that if he joins our group, it will be really a feather in the cap.  But his talk was so fast and so dense, we made a lot of jokes about his "super intellect" and how we will quit PhD and become "pizza delivery boys" after he joins our group to save ourselves from depression.

The other guy was Satoshi Matsuoka, a professor and big name in the area of supercomputing in Japan.  His talk was mainly on the future of big data and it covered many other topics.  It was one of the longest talks ever and he really gives LONG answers if someone asks questions.  But I like his flawless english pronunciation.

But the big thing is, both of these guys were interested in the generation of performance models.  Edgar mentioned in the talk that "I know Torsten that you are looking at machine learning methods to generate performance models automatically..."  I then exchanged glances with Torsten because I was the one working on it.

After the talk by Dr. Matsuoka, Torsten told me to have a conversation with him.  And this conversation really made my day.  They were working on a VERY similar topic on the generation of performance models and he was REALLY interested in my tool, PEMOGEN.  He told there is not a useful tool on this topic and a good tool is necessary.  He also invited me to work for some months in Tokyo (which will be one thing off my bucket list , Visiting Japan).  We exchanged email IDs and when I told Torsten this, he told me that this will be a great collaboration.

After this conversation we were gossiping in the la when Timo also mentioned that the research on performance modelling is really cool and one will be really famous if it comes out.

Today I found one use cas eof my research and trust me, this is a great motivation for my PhD.  Looking forward for the final PACT answer.

Wednesday, April 16, 2014

USA Bern Embassy Sucks

I am so pissed off right now, I needed to write something.   I applied for a USA VISA on Wednesday last week.  This embassy does not have an online VISA status checking system.  In stead, if you want to pick up your VISA, they give you a slip that you have to bring on the day they tell you to come.  They announce the day just after the VISA interview.

For me, they told that my VISA will be ready on Friday (the second day after my interview).  I was so happy that I will get the VISA and went there on Friday.

It was a hot day and from Zurich, Bern round trip costs 40 francs.  When I went there, they told me that sometimes there is a problem with the system and the VISA is not printed.  They told me to go back and promised that they will give me a call on Monday to tell me when I can pick up the VISA.  They did not even say that they are sorry.  As if its taken for granted that there can be mistakes.

Naturally, on Monday they did not give me a call, even Tuesday they did not.  I at last called them in the morning on Wednesday when they told me that I have to call between 2 to 4 pm.  When I gave them a call at 2, they told that my VISA is printed today.  They also asked me why I am in a hurry to collect the VISA.  That is NONE of their freaking business, but I told them that I have to get another VISA.  Anyway, they told me that I have to come today at 4pm to collect it.  I asked them if I can go at 4.30, they told that 4pm is the time I have to come!  Even though, they started giving out the passports at 4.10 on the day I went.  As if they run on perfect time!

Now they told me to collect the VISA at 3pm tomorrow.  I told them OK.  After 5 minutes, an email arrived asking me to collect it at 2pm!  They are not even sure when they want to distribute it.  I am so pissed off with the embassy, sorry for the negative post!

Tuesday, April 15, 2014

European guys say Happy New Year in Bengali

I made the dudes from my lab say "subho nobo borsho" which means "Happy new year in Bengali"  They did a pretty good job.

Tuesday, April 1, 2014

Installing ggplot2 in Ubuntu 12.04 (64 bit)

This version of Ubuntu installs an Older version of R (2.x), thus making the installation of ggplot2 infeasible.  Because ggplot2 requires >3.x version of R.

To upgrade the installed R to a higher version do, the following:

  1. sudo gedit /etc/apt/sources.list
    This will open up your sources.list file in gedit, where you can add the following line.
  2. deb http://cran.cnr.berkeley.edu/bin/linux/ubuntu/ version/
    Replace version/ with whatever version of Ubuntu you are using (eg, precise/oneric/, and so on). If you're getting a "Malformed line error", check to see if you have a space between /ubuntu/ and version/.
  3. Fetch the secure APT key with gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
  4. Feed it to apt-key with gpg -a --export E084DAB9 | sudo apt-key add -
  5. Update your sources and upgrade your installation with sudo apt-get update && sudo apt-get upgrade.

This will install a higher version of R.  So you can go inside R and perform a install.packages("ggplot2").

Hope it helps someone.

Sunday, February 9, 2014

Moving to Mentalism..First Successful and Unsuccessful Performance Today

For the last month, I have been increasingly interested into magic.  First, I started with card magics and got introduced to the Bicycle brand decks, as they are the mostly used brand my the magician and poker players.  I also bought some "trick decks" as are used in magic like Svengali Deck, Stripper Deck, Invisible Deck.  The sheer genius behind these decks have been constantly fascinating me.  I also constantly started uploading videos in youtube.

On day ( I think it was last week) , I accidentally ran into a website and ran into basic mentalism techniques.  For example, if you ask someone to guess a two digit number between 1-50 whose digits are different and odd, most will select 37.  I got a success rate of 3 to 1 (my dad guessed 35), but still in the case of successes, the reaction were better than the best card tricks.  Thus I leaned towards mentalism.

Yesterday night I was watching videos and reading classic mentalism books until 4 o' clock.  And today, I successfully performed a Liar Detection act on my grandmother (dadan) and mom.  It was amazing to discover how simple clues of body language can detect liars.  It was almost like a science.

But when I performed another mind reading trick on my girlfriend, I was not successful.  Partly because poor internet connection (that's why it was heard to read the body language).  And secondly, I got the routine in a wrong sequence.  I am planning to try it again to my parents or somebody else.  The scientist within me is dying to discover whether really there is a science in human thinking.

Needless to say, I will read a lot of books and see a lot of videos in the coming week.  Though there are many mentalism tricks that use gimmicks, I really don't like them.  I want to do something that is related to science, direction of thinking, eye reading etc.  I will keep you updated.


Sunday, January 19, 2014

Learning magic: The KINGS are gone

I learned it today and performed.  Still not prefect.  But practise will make it perfect  :-)

Saturday, January 18, 2014

Learning Magic: The four jokers

This is my recent interest.  Though I have found the mathematical self working magic tricks fascinating, I want to perfect the tricks that require actual skills like slide of hands and everything.  I just learned this trick today and performed it.  It is not perfect, but hey, just thought of sharing with you guys.  It is based on Elmsey count and double and triple lifts.


Wednesday, January 15, 2014

IEEE latex bibliography solution

Well I was preparing my writing for the upcoming PACT 2014 conference (which happens to be in Edmonton, yayyy.  I so want a paper there I can't tell!!).  This year, they are following the IEEE style for the submission.  If you try to download the IEEE standard latex files, the files are downloaded in a zipped archive where you will find an empty bare_conf.tex file that you have to edit. Also the regular IEEEtran.cls file.

Now in the sample tex file (bare_conf.tex), they mention the bibliography in the following format:

\begin{thebibliography}

----a bunch of \bibitems

\end{thebibliography}

It is a good technique, in the sense that while submitting the source files for your submission, you can integrate your citations in the .tex file and submit it.  But obviously, for generating the \bibitems, you have to successfully run \bibtex on the .bib file.  For using the .bib file IEEE suggests the following format.

\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,mybibfile}

Clearly, you neead a IEEEtran.bst file for successful compilation but they don't supply it with the original zip archive!!  Well, here are the contents of IEEEtran.bst and IEEEabrv.bib as found from the internet.  (Note that, you can also skip creating the IEEEabrv.bib file and use the command --  \bibliography{mybibfile}


Hope it helps someone quickly!!



Thursday, January 9, 2014

First Milestone in PhD?

Well it's new year.  I should have written this post all by myself.  But the post is mainly inspired by my father, who encouraged me to write this today.  In fact, now I am thinking of documenting the different stages of my Phd.  Most of the time when I feel low, I don't feel like writing.  But let's make a new year's resolution!  Whenever I will feel low, in stead of getting depressed and sitting in the corner of a room, I will start writing.  Who knows, may be in the course of writing, I will find a solution to overcome this.

Now let me reveal a secret in my life.  I don't know how everyone else's life goes.  But in my life, there is a distinctive and magical pattern.  Surprisingly, extreme failure (well not "failure" exactly, let's call them bad days) and good days come repetitively in my life.  It has become so evident that in my bad days, I become certain that even if I don't try, good days are coming along.  And wow, good days follow.  I don't know if deep inside I become the architect of my good days, but they just come.  But how would you explain getting another tram within seconds after you see a tram leaving in front of your eyes in your good days, and missing a tram for seconds after running hard and then waiting for minutes in your bad days.  I guess there are some miracles.

Anyway, this post is getting somewhere else.  Let's talk PhD.  Well, 2014 came.  And following the trend, I also took a resolution that I will be the first person to go to the office in the morning, no matter what happens.  There is this Russian guy Dmitry who comes every freaking day so early to the office.  I was feeling like going before him so strongly because from my school days, I love to be the first person coming to the school or a lab or whatever.  And I did it!!  I had to run, had to catch my breath after leaving from our residence at the same time (we live in the same residence), but I finally beat him.  For 3 out of 4 days so far I am the first person to go to the office.  I told to myself that "I can".  I don't know why but sometimes I love to push myself into challenges.

Alright, now let's talk about PhD.  My PhD topic (I don't know whether it will be the exact PhD topic I will be working on or not, but this is the first independent project I was assigned by Torsten, my supervisor) was assigned to me in November.  First it appeared to me as a bit abstract and a bit mathematical (major statistics). But it had lots of potentials because NCSA at UIUC (my dream university) had research on the topic with Torsten and I thought that if I hang on to the project, I would get a chance to do an internship in NCSA (my ultimate goal).

So I took up the topic, understood it at the high level, wrote a draft proposal and sent the proposal to Torsten.  He told me "very good".  I was happy.

Well, too soon! When I started to dig deeper, I became a bit lost.  I read a lot of papers, but it was really unclear to me, how much of the topic will be mathematical and how much programming.  I was trying to make sense of the mathematics for long and lost a lot of time.  When I sent my second version of the proposal, Torsten even told me that whether I want to change my topic.  I was very much affected by it.

Anyway, after a conversation with Torsten (by the way, it is really difficult to get a hold of him as he is busy, but he is nice enough to give you time eventually and he really expresses interest and enthusiasm in your work, unlike old professor, when he is talking to you), I had a clearer picture of it.  But still I was having a hard time putting everything together and coming up with something concrete.  I read a lot of papers but that did not help much.  In the next conversation Torsten even told me that I am making the least amount of progress in the group.  But despite this assault in this conversation, some areas became more clear to me and at last I was getting some grip.

Everytime I hear  something negative about me, my ego comes into play and it makes me work really hard.  In the christmas vacation I worked, skipping my plan of roaming around Switzerland.  After the vacation, I worked my ass off for a few days (I stayed for almost 12 hours everyday in the office) and implemented some stuff.  I wrote an email to Torsten about my progress and he called me up today.

I was really holding onto my nerves before the meeting because during the vacation, I was getting very late replies from Torsten.  Also other members of the group was having regular meetings with Torsten and I was never summoned.  I really at some point felt that I am gonna loose my job.

But today, the conversation was the most promising conversation so far.  Not only my work was appreciated by Torsten, but also I realized that I am proceeding in the dead right way.  While I had trouble figuring out at the beginning, I finally got a grip of the topic.  He was really cracking jokes and smiling throughout the conversation which made me feel really good.  Even in some cases, I realized that I have dealt with more complex cases in my implementation than is necessary.  Even the next steps seem promising to me now.

I would not say that I am utterly satisfied and am suffering from self-content. But today's conversation was really promising.  This proved that my good phase has come and it will stay for a while.  Also it gave me a lot of inspiration to move further.  And as for today, I have a good feeling about the project and I think I can produce a paper out of it.  Hard work indeed pays and I think I am going to love research.  If there is some success in it, the joy is unbearable.

From now on, whenever there is a major phase (bad/good) in my PhD, I will write it down.  I know that this is the last time in my life I will be documenting "my" emotions because after a few years, there will be very little time to think about "me" because I have to think of my "family".  Also everyone says, if you document your PhD phases, it will be a worthy document to be kept throughout your life.  It is a journey that teaches you many things, makes you a man, so that you can fight  the rest of the struggles of your life.