Wednesday, December 26, 2012

Dial-Up using GPRS

Back to Godspeed internet @IITB.
So I thought why not a post on the now almost outdated way of connecting to the Internet - which I still use when I am back in Bangalore - the Dial-Up using a mobile phone as a modem..
Here is the list of things you need:
1. A GPRS enabled phone - obviously, basic models and even China phones would do !!
2. A data cable - something Samsung feature phones do not come with...
3. An active GPRS pack - 10p/10kb gets over in a jiffy !
4. Modem drivers - Generally installed when the phone is connected to the computer, best of luck finding one otherwise..
5. Extra Initialization Command - Final piece of the puzzle
6. *99# - An almost generic dial-up number for mobile phone connectivity, which should be entered when creating the new dial-up connection

Steps 1 to 3 are relatively straight forward, and Step 4 is a hit or miss - but still its the last one that finally gets you connected..
Its generally of the form :-
AT+CGDCONT=1,"IP","<Access Point Name>"
The command is different for different mobile service providers - so either google it, or call customer care. For e.g: Vodafone uses "www", Virgin Mobile uses "VINTENET.IN", Idea uses "ideagprs" etc.

If you are using a PC suite - its all well and good - just enter the access point name, and you are ready to go..
If not, there is more work to be done. Here comes the problem - The "customer representative" of your service provider will insist on installing a PC suite and continuing - just say you have the suite and follow the instructions until he/she asks you to enter the Access Point Name.
The command needs to be added to the Modem Driver installed on the PC. So go to Phone and Modem -> Select connected Modem -> Properties -> Advanced -> Extra Initialization Command  and enter the above data.

Test the connection by clicking on the respective Dial Up Connection icon and you are good to go - hopefully if you do not get a 619 or 734 error which means something is wrong - either with the hardware or the Extra initialization command.

Disclaimers:
1. I have no idea how tough or how easy it is to do all this with smartphones.
2. The above thing works in Windows - I am not aware of the equivalent in Linux.
3. This isnt completely a technical article - just an aggregation of my experience with GPRS and Dial-Up

Sunday, December 2, 2012

Placed !!

Placements Over :)
Got placed in the only company I had been shortlisted for on Day 2(and perhaps for the entire placement process!!) - Oracle.

Here is my interview experience:

Round 1: Tech
The notification of Round 1 being scheduled at 08:00 came at 07:50 in the blog. So I hurried up to breakfast - and reached the place; only to hear that it had been rescheduled by an hour.
However,since I had already reached, the interview started off at 08:30. After a short formal introduction and a look at my resume and projects, the questions began.

Question 1: Given a set of points representing some data set obtain the point at the middle(or say equidistant from others)
This consumed almost 20 minutes - where I initially thought of a binary search sort of scheme based on some ordering of the vertices - then got caught how to provide a distance measure to create that ordering - then gave a recursive divide into 3 parts and find minimum distant vertex set and combine.
The interviewer and I both still had doubts on whether it was correct, yet I got another question..
Question 2: Given a linked list without head pointer; delete a random node given a pointer to it
I gave an inefficient solution - that of pulling the neighbor node's data and proceeding until the end of the list; only to realize later that all I had to do was to copy the data of the successive node into given node and delete that successive node!

After Round 1, I was very doubtful of making to Round 2 - but to my surprise, I was called for Round 2!


Round 2: Tech
I was called for round 2 in a short while, and again there were 2 questions

Question 1: Given 2 dates in DD-MM-YYYY format, how do you find the time duration, in same format
Fairly obvious question I thought - and went ahead to give the solution starting from the year, and go backwards to the day, and capture the difference and decrement the values when needed etc.
But alas, missed a few corner cases - that the interviewer spotted immediately - and I went on to correct them
Question 2: Add 2 numbers represented in singly linked lists with one value per node.
Again , standard question; so I said reverse the lists and add from units place with carry propagation - leading to the next obvious question - How do you reverse a linked list?
I gave the recursive algorithm that I had memorized; so the interviewer asked to give an iterative one instead.
Here again, I began to fiddle with the code, missing and messing a few things - using three pointers, jumping twice per node and all, and finally got to it with the interviewer's tip to forget what I already had in mind partially about how the code should look like...

Again, after Round 2, I wasn't very sure about going ahead to the next round..


Round 3: Tech
Surprised again - I got called to Round 3 and I think this is the one round where I gained confidence and performed well..

Question 1: Give an optimal solution for a Snake and Ladder problem - with data representation of my choice.
I got full 20 minutes to develop the solution - so I went on writing classes for the board, ladder, snake and the logic of choosing the maximum distance reached from one of the six rolls of the dice until reaching the end.
The interviewer saw the solution for a moment, and then remarked - Why make it so complex when you can order the ladders to reach in minimum possible moves. I nodded my head for the same and kind of completed the solution..
Question 2: Write a singleton class.
8th sem B.E project in action - though I wrote a mix of C++ and Java syntax code, I covered it up and explained it correctly. Apparently the interviewer seemed pleased..


Round 4: HR
HR interview was cool - all standard questions like:
Tell me abt urself
Why Oracle, and why Apps?
Why Mtech when you got placed well in B.E itself
Why low CPI ?
Will you be joining if placed ?
Are you shortlisted for any other companies(obviously no :D)

Then the HR explained the Compensation details, and how the Apps profile differs from OFSS.
Meanwhile I asked for workplace preference of Bengaluru - for which the HR said mostly but cannot be totally confirmed right now.
Another question from my side was where do I see myself in next 2 years - usually asked from the other side of the desk!
All through the HR round - I was trying to look the HR in the eye - and not the dorky here and there look that is my default setting around the women lore :D : Interview Etiquette !!

It seemed to me like the HR was more confident about my getting in while explaining the compensation details and so on - and hence by the end of the interview, I thought the interview process was over.
But surprise again - There was one more technical round!


Round 5: Tech, again
One question: Draw an E-R diagram of a railway ticket booking system
Hopefully I still had remnants of the Entity, attributes and relationships concepts and modelling in my head.
I came up with a fairly good design - which still had shortcomings such as detachment of certain compartments, booking between any 2 stations in the way which the interviewer pointed out. So I had to plugin those modifications and add some more relations as well.
In response, the interviewer went into depth explaining how product development involves your own problem scope and refining it to add features and cover inadequacies; unlike application development aimed at satisfying set of features demanded by a client.
He then concluded that it would be a Yes from his side but had to wait for the others


5 rounds and I was done by 12 -> 3 and a half hours and I was all done.
But then I came back for lunch, had lunch and went back to the interview corner - waiting for 2 more hours doing nothing but waiting, got tired and came back to hostel again awaiting posting of the results online.

Finally all done - Got the Job!
So no more placement tension - actually there was never much of it since I had applied for a few companies(relative to few others..). And happy to have cleared the first and only company I was shortlisted in - nostalgically related with Cisco internship..

All said and done: Time to switch back to MTP mode !!

Friday, November 30, 2012

What season is it ?? - Placement season!!

It is that season of the academic year that students eagerly expect; and quite commonly one that professors are usually resentful - Placement....
Past few days were a countdown sequence to the start of the interviews - the much attention grabbing  Day 1 of the interviews where big shot companies compete to grab the most coveted talent of the IITs(Source: Various news sources and gossips). We had our end sems immediately followed by screening tests of few companies to lead upto today.


12:00 AM marks the start of Day 0 - one last day before the interviews; and consequently scheduled with a line-up of tests. From CS viewpoint - bigshots like Google, Microsoft, Opera, Twitter and Rocketfuel are coming on Day 1.

The last few days were eventful too - besides the tests themselves - one got to see serious preparations, planning, anticipation, expectation on the upcoming events. Personally - I was there refreshing the placement blogpage every now and then in hopes of getting shortlisted; and thats the scene in general - appreciate the people who got shortlisted, and a "Happy to see you in the club!" cheer for the ones who werent. 
So finally tonight I got shortlisted for Oracle's interview; and in the spirit of which this post is coming out. Oracle is on Day 2, so Day 1 is free(actually preparation time) - Time to watch the Day 1 drama and face the music on Day 2.

Wishing all the best to all my friends and to myself :)

Saturday, November 24, 2012

23 on 23


Another year added to my tally - now 23 years old. And the above song captures my emotions quite well :D

This year I tried a few funny things - trying many ways to keep it a secret to prevent bumps and ended up giving a treat to the guys anyway!

It started off with removing the birthday notification from facebook - the main source of knowing your friends' birthday in today's world. Then I also disabled posting on my wall. So I was only expecting a few wishes by message. But alas I forgot tagging - so a friend did try to stir up some interest by tagging my birthday on his wall. By the way thanks to all the guys who did remember my birthday without the help of fb...
But the idea worked - didnt get GPLed(IITB lingo for birthday bumps on you know where..) on the midnight! Only one Birthday paradox friend - sharing birthday with me knew it; and far later in the night another friend got to know from a birthday wish call. 

All this circus and I blew my own cover today - and took a few of the guys for a treat at a restaurant. But its a real dilemma to decide whom to include and whom not to. However it felt good to hurdle around a group of friends and take them to party - and it felt extra good to get the bill less than expected ;-) 

Thursday, November 8, 2012

Various PPTs


The first part of this placement season is nearing to a close: PPTs , viz. Pre-Placement Talks.
It was a mixed bag - some short ppts, some extremely long; some interesting, some very boring; some of established companies, some of relative startups;some that grabbed attention, and a lot that did not..
All in all, it was an interesting phase - although frankly without the 25% mandatory weekly attendance rule, things would have been different.

Apart from going over the company objectives, job profile, work environment, goals, and not to forget package; a few had other things to keep us interested.
There were companies that gave away a Kindle(no guesses who..) to Key bunches; and quite commonly T-shirts..
And a few Deja-Vu's as well - like the Stack by Stack presence and product explanation of NetApp, Intel's Pie graph of compensation breakdown etc; back from PESIT days.
Amazon had a problem grasping and solving session following its ppt; which was quite interesting.
Microsoft had a great place to show off its Surface, Kinect and other Windows 8 products arriving soon into the market(And a lot other companies did show off too)

Other than the traditional IT, development and research profiles that one can get in software, financial or analytical firms; one does get to see unconventional job profiles too - like Epic systems that works on Healthcare software, Strand Life that works on biological data etc.

But the placement process certainly differs here. 
Most companies give their ppt before, and have tests much later - quite different from the placement that used to happen in my former college. Only a few like Adobe and DirectI had their test following the presentation.
And right now it is the time of giving tests and waiting for the shortlists to be announced later.
Not to forget - some big names like Google, Twitter dont have ppts but have their tests directly scheduled.

More on the tests in the next post..

Friday, November 2, 2012

A day of Good things

Finally a good day after a string of monotonous days of everyday nothingness; that has persuaded me to blog after a long long time...!!

First thing - woke up at 7!! - An achievement of the recent past; but had to get up for I had my MTP presentation due in the afternoon..
Although the day didnt have a great start - spilt milk and corn flakes over chutni - and in effect ended up eating a mix of Uttapam, Chutni, Corn flakes and Milk for breakfast; but the rest of the day went on pretty well.

Later on: "Pappu pass ho gaya!".
Done with the fearsome stage 1 presentation - that weighs in at 50 credits and hence important. I was quite tensed but it did go rather well..
Not that it was supposed to be a heavy burden; but now that stage 1 is done; there is time for the other things in academia...

Its placement season - so we are having a test or two every day.
Today there were two company tests. And I did considerably well in one and willingly screwed up the other(cause the job posting isnt in Namma Bengaluru..).
Perhaps the former company is the first one on which I have some confidence of getting shortlisted...

So November has started off well, and in the hope of this continuing :-)

Tuesday, October 9, 2012

The Rupee Utilization Conundrum


There is something that I usually do when purchasing a commodity - Calculate how much time it takes to utilize a rupee of the amount spent on that item..

For e.g I bought a Capri(fancy term for the three-fourth that we all know) at 350/-. Considering that I would wear it twice a week for say 40 hours for approximately a year; that would come upto somewhere 5 hours utilization for a rupee - Very good...
On the other hand, if I bought some T-shirt for the same amount - and wore it only 10 times when going out, that would make up only like 5 minutes for a rupee - Not so great...
Worse still are items of luxury or say for the geeky us - gadgets. My 33k laptop should run for over 10 years incessantly to match the scale of the Capri :D !!

Well of course there is a flaw in the above notion; every thing has its own purpose and value, and correspondingly a different utilization policy. Different things have different value - a clothing item by no means serves the purpose of a laptop....
But the rupee utilization scale helps in thinking before putting money on something - a 33k modest laptop does provide most of the needed functionality needed of an exotic 1lac model like a mac or alien-ware

On the downside - this does bring out the "kanjoos" side of oneself. 
Would'nt it rather be better to save some 500/- that you would spend per head at a hotel to have some delicious meal, by say purchasing some books ??
Or save up some money by not lavishly spending a day-out at some resort or tour ?
Surely it is a fun-kill when one applies it bizzarely in all situations!!

Going beyond money related utilization, like time utilization - the same principle can be applied...
The time I spent writing this post was certainly better utilized than that when I would simply laze around by watching some movie or sitcom; but if spent on the big things coming up: MTP reports and presentations and Placements - it would have been even better.
But what can I say - Human nature!! Always attracted to things that are in the long-run insignificant...

To conclude(well, no matter how hard I tried, this post did turn out to be an essay - so let me throw in a conclusion..), Rupee Utilization is one of many ways to effectively spend money on things you need, but most often than not it conflicts with a compromise of quality/fun/flauntmanship..
There come many situations where the latter holds prominence, so you dont care about how bad your rupee is getting utilized!!
(Ok, that did sound freakishly weird, but since I put some time and effort onto it - I am going to let it stay...)

Have a good day folks :)