Wednesday, 21 October 2015

How to make chrome stop from suggesting a particular url



Have you ever tried to type starting of a url in google chrome and saw some weird suggestions? Or may be you visited a site once in your life for me it was "www.iss.k12.nc.us" and later if you just type iss for anything this suggestion would show up every single time. This is even true when you have bookmarked a different site with similar initial name like "https://lss.at.ufl.edu" which happens to be my universities site. I visit this site often but I find whenever I type "iss.." something, chrome just gives me “www.iss.k12.nc.us". Every single time. It was annoying. But after googling for solution I found that we can point to this url while search and press shift+ delete and that will delete it completely. But this doesn’t work if you are on mac. I tried many times but failed and this was so frustrating. I don’t want other to go through this so here it is. Solution is also at this link.

Problem: Stop chrome from suggesting same url again and again on mac.
Solution is use this key combination: fn+command+delete.
Note:
fn as in function key
command is command key
I understand that solution is simple( wont’ say trivial) but still it is worth sharing.
I hope this blog comes first in search so that other users can save some time. Please tweet and share it on Facebook if you found this solution helpful.


Friday, 7 November 2014

MOTO E Charging problem


So after my beloved Nexus 4 was stolen i have to get another stock android smart phone and i decided to go with Moto E. This decision have nothing to do with my parsimonousness, if anything reason were perhaps sdcard feature(not present in Moto G) and smaller screen with lesser resolution giving more than two and half day of battery life. Combined with me begin not techsavy Moto E was perfect.
Until one morning my phone stopped charging or connecting/mounting on my mac as a media device. I tried rebooting and various other normal futile debugging exercises. Solution was apparently very simple. All that I had to do was turn the USB Computer connection type from Media Device(MTP) to Camera(PTP).

Problem:

Moto E not charging with usb or power cable. And not showing on computer as media device.

Solution:

Change the USB Computer Connection type from Media Device (MTP) to Camera(PTP).

Reason:

Don't know for sure. But I think this problem might have started when I unknowingly disconnected mobile from my Linux/mac without proper unmounting. I am just guessing here.

This problem is still present i.e. i am not able to charge my mobile in MTP mode.  
Having received  more than 10K viewer on my previous post relating to Nexus 4 usb charging problem solution I thought this post might help another lost soul, so here is the reason i am posting it.
I am trying with many other kind of combination for debugging but if someone finds the solution for same please let me know.

Peace.

Sunday, 1 December 2013

Compiling/building Banshee from source and starting development

Banshee is an popular open source audio player. I tend to use it all the time on my ubuntu.
This post contains steps for a rookee/newbee to start with development of banshee and in some sense with any open source project. Most of the steps can be read on this official link.
But there are steps/issues that are not mentioned there and it would take some time for new person to google it out so listing/adding them here.

Environment: Ubuntu 13.10 - 64 bit
Note: Become root first,

sudo -i

1. Installing dependencies:
sudo apt-get install git-core autoconf automake libtool intltool gcc make libgconf2.0-cil-dev libgconf2-dev
sudo apt-get build-dep banshee
sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev

If you get error while running autogen.sh while it checks for dependencies like boo/gmcs not found. And you won't find the package name directly as they are not named as reported by the autogen.sh script.
Install below two packages

sudo apt-get install  libboo-cil-dev
sudo apt-get install mono-gmcs

Perhaps you will receive some other error and have to google it out anyway but above two dependency where not met for me on fresh installation and after installing all the other listed dependencies on official site. After these two it was all worked fine...

2. Get source code:
This step is easy

git clone git://git.gnome.org/banshee
cd banshee; git checkout stable-2.6; cd ..
3. Building, Installing and Running

cd banshee
./autogen.sh

If you have all the dependencies as mentioned above it should be all fine, but if it is not then which ever dependency is not met you need to find the package name which contains it and install it( ya basically google it out)
To build banshee just type
make
from command line in banshee directory

Now problem may come when you are trying to run it as it did for me while i was trying to run it using
banshee&
from command line.
I got following error.
Something like this

  1. Unhandled Exception: System.MissingMethodException: Method not found: 'System.Type.op_Inequality'.
  2.   at Hyena.Gui.Dialogs.ExceptionDialog..ctor (System.Exception e) [0x00000] in <filename unknown>:0
  3.   at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00069] in /root/banshee/src/Hyena/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:60

or something along the lines of

Missing method System.Reflection.PropertyInfo::op_Inequality(PropertyInfo,PropertyInfo) in assembly /usr/lib/mono/2.0/mscorlib.dll, referenced in assembly /usr/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll

Unhandled Exception: System.MissingMethodException: Method not found: 'System.Reflection.PropertyInfo.op_Inequality'.
  at Gtk.ListStore..ctor (System.Type[] types) [0x00000] in <filename unknown>:0 
  at Sysinfo.Sysinfo..ctor (System.String[] args) [0x00000] in <filename unknown>:0 
  at Sysinfo.Sysinfo.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: 'System.Reflection.PropertyInfo.op_Inequality'.
  at Gtk.ListStore..ctor (System.Type[] types) [0x00000] in <filename unknown>:0 
  at Sysinfo.Sysinfo..ctor (System.String[] args) [0x00000] in <filename unknown>:0 
  at Sysinfo.Sysinfo.Main (System.String[] args) [0x00000] in <filename unknown>:0 


Reason for it is
Mono tried to run an application using the 2.0 profile using libraries compiled for 4.0.

So you have two options for solving this...
1. Make complete rebuild with correct compiler-- gmcs , ( i did not opt for this option so not going in depths of it...)
2. Make a workaround in a single file which will force banshee at runtime to use version 4.0

Just type

vim `which banshee`

Basically it will open the file which will be used run banshee(as we used managed language)

Search for this pattern in file

exec_args="-a $BANSHEE_EXEC_NAME

Full line will be like
exec_args="-a $BANSHEE_EXEC_NAME  $MONO_OPTIONS $MONO_EXE $BANSHEE_DEBUG $BANSHEE_CLIENT"

and make it like

exec_args="-a $BANSHEE_EXEC_NAME mono --runtime=v4.0 $MONO_OPTIONS $MONO_EXE $BANSHEE_DEBUG $BANSHEE_CLIENT"

Basically adding mono --runtime=v4.0 
Well this made my day and i was able to run my first opensource project compiled from source.
I had help from knocte from xchat...gimpnet(#banshee) Thanks a lot...

If you want to use monodevelop you will need to do the same change in the preference of the mode you are running it.
Steps
go to Run-->Run with --> Custom Parameters... --> Mono options

In the list search for

Runtime Version

It should be at bottom half
Change the value from empty to v4.0

This should be it.

Tuesday, 3 September 2013

Nexus 4 battery saving Tips/Technique

This post contains tips to save the battery on nexus 4. If you are fine with one day of battery usage you can close the tab. It is especially for not tech savvy people who want their standby time to be good and also features when they need it.
Of course normal instruction/guideline to save battery are included. Even after following these normal instruction that are published every where if you are not getting good battery back up from nexus 4, this is for you. No app grap!
By no way is nexus 4's battery worse or bad. It is just that you as a person using it need to be sensible/rationale, for example if your phone is trying to receive a signal from a object that is a distance of 36000 km--every single second of its operation and that too without LOS( line-of-sight) you should know every bit of the battery will be used and signal that will be received will be, more often then not, too sporadic to be of any use. So it will be useless. Agree? So turn the GPS off when you don't need it.
This is when you use GPS inside your house perhaps on cloudy day.

This on stock android 4.3.* unroot

Normal instruction
1. Location update switch off. It will kill your battery in 20 hours
2. Turn off NFC, most of the time you won't need it.
3. Try to do main data  transfer on Wifi. Network data transfer turn off
4. Make google auto-backup turn off also. You don't need every photo backed up, do you? At least i don't.
5. Try never to use google now. This is for Indian users especially. If you are not that much into using google now features, it makes sense to not activate it.

Now after you have done above thing, just make sure of some/below points. As i have seen many  people asking that 'even after following all this instruction there nexus 4 last only a day'( One day is less for them as they are coming from nokia handsets which easily use to work 4 days)

1. If you have Turned off the location update but you see that google framework in battery stats taking lot of memory. Perhaps equal to your onscreen time. Or worse is keeping you cpu always live/active. This is because of (kind of) hidden setting. First time you start using google now, it will ask for your permission for location update which you gladly give and forget about it. Even after you are not using the google now or have turned it of, google will go on sending you location information.You ask how and why? why i don't know, how i will tell you. In setting of google now, go to "Privacy & accounts" --> "Google Location Settings" Check off and disable Location reporting, location history. This is the main reason google framework was taking so much of batter in background. Now you will see that standby time increases significantly.

2. If you have done above steps and still not getting good battery life then there is one more thing that you could do. Google have many insidious ways to get user-location from many pre-installed apps. Google please don't do that. This time go to google+ settings from settings menu. Then to Location sharing then you will see ( most probably ) location sharing as on. i think this options reports your location even if you have gps turned off perhaps through wifi. I am no privacy freak but i would like to save battery ( especially standby time) and privacy is added effect. You might have turned it on while you first logged in google but forget about it from then on. Remember this is different from above steps as previous step was for system wide settings but this one is for google+ app only. Though google+ will tell it won't change much ..blah..blah.. but really telling it matter. So go do it if you need it.

3. I think it may be little perspicuous to pro android users but some are still oblivion towards internal of android memory/process management so would like to share my experience. People tend to think if they press home(middle) button as they get to home screen, process they where running is either closed or stopped. Not necessarily and if you see the memory usages you find your answer. So the other day i was searching for good wallpapers, which i found many , i did not close the chrome, one of the heavy apps, and let it run for 5 hours. Then when i checked battery i found chrome have drained 20 percent of battery in 5 hours even in background. That is preposterous to me. I think google apps get some kind of preferential treatment. So i would suggest to close an app from task bar key, right key. That is more correct way IMHO.

4. Use Battery Doctor, i am not a developer of this app but a satisfied user. It contains many useful tips to improve battery life. Below tips are from that app only.
  1. Try to avoid USB charging because the the current is lower and it will take longer to charge.
  2. Device need to breath and some cases prevent this from happening. So if you find your phone is heating up then remove the case.
  3. Please do a full charging regularly. To maintain lithium batteries run a full charging once a month.
i would add more tips as i get time/experience.

If you have some suggestion along this lines, please please , share. It takes a lot of head hitting for single person to figure out all the mysterious things google do.

Edit1:
After using Nexus 4 for more then 8-9 months i can safely say using above point will not make drastic changes to your phone charging patterns.
I have found it does not matter how much i use my phone it gets discharged in a day, with full functionality on ... like google now, location update, gps etc.  And so i have to charge it at night.
If i don't use all the features then i would save, say 30-40 battery life at the end of the day. Either way i have to charge it as i can't go around other whole day with that much charge...so why go down on features...Use them.
I believe it is in some way google's policy to push people to use there product especially google now..










Wednesday, 21 August 2013

Essays on Meditation - A personal

Below are my personal  (non ctrl-c && ctrl-v ) non bookess views on meditation. A process which I have cherished for activating certain energy centers in body to feel or perceive well-being unconditionally.


I consider that meditation is an addiction to peace. Or silence or whatever you want to call that feeling of independent thinking and thoughtless awareness. As simple as that.Some may say it is higher concentration, some say it is special form of concentration on God, Some are of view that it is door of immense blissful state and so on. It may all be true, but in real sense , if you are a beginner it is just that peace that brings you back to sit quickly for few minutes during day, not so much for others as for your own good because you value your internal peace as well. Meditation is an addiction to silence, your true identity, your true love for your higher self(which you are not sure exists till now perhaps just read about it) , to find a place where you fit-in in this world without conditions.


You would love to be in that serene moment of liquid peace , when thoughts seems to vanish for good, when you begin to feel happy, joy, free all for no reason, It is like completely out of blue that you feel like for first time you observe your mind from a distance, giving you insight about what makes you happy and sad, and these emotional waves can be seen as you are standing on shores . You just become your own in-active observer. You know the difference of what is mine and what is me. It is like in pristine water you can see the fishes-thoughts in it, some fishes are nice, some look great and some just plain tempting. But you are observing them from a distance you do not intend to swim in between them. This birds eye view helps to sort out some of the issues in your life so easily. Because in this moment, when you see your thoughts sprouting from every corner of your mind you actually become aware how uncontrolled they are and want to take control of them as you view them your only reason of restlessness. These thoughts are like weeds which can only be seen or removed during this lovely time of meditation.You take inspiration for the thought that what is restless or in motion will some day ceases but which is still, persists. You begin to explore the truth behind the statements(whose existence you doubt) or truth in our scriptures i.e. Gita, kuran , Bible. And though they seem to trouble you otherwise in normal consciousness but while you in the stillness you don’t feel so much distance from them. It feels like they are obviously true. How could i have missed those?



When it is said to so many people that they are souls and should not worry too much about this world they just can’t feel that way deep inside them, And they are not wrong in not having those feeling either . Actually thing is this , You can only know that you are soul if you meditate.  Until then everything that others say you can just appreciate for their effort to make you happy. But you will not be able to feel a word what they say until you actually want to feel, what life is by giving yourself some silent time.


You feel life more intensely when you meditate. You become more aware of your small moments of joy, happiness whether with your loved ones, with your friends or with your own self.
It gives you chance to analysis your life in your own terms and not what others think of it or want to think of it as. If you move around you can see people who can’t even smile there  true smile, and when want to cry they don’t know what to do, neither can they laugh or cry,  It is like they have a hole in their hearts , it there life is so hollow they can’t seem to find the meaning of what is going in there life, everything is out of control . For such people , if only they sit to meditate they can figure out all the subconscious problems that are effecting them in-directly and making them feel life less  than what they are supposed to. I think life is wonderful and believe me it can be only if you make an effort to invest in your own too. You will love what meditation can give you.


Every learning is an mediation , you need not sit silently in a dark room always,  though it is preferable in most case. You can still be your self, your higher self at work if you just concentrate at the work with utter devotion. It is easier to reach to level of no thoughts if you have only one thought to leave, It is easier to renounce if you only have your need to look out for :)


Someone said we are what we are between our thoughts. Meditation is just a way to realize that.
Small gaps in between your thoughts gradually bloom into longer periods of quiet mindedness, and then those periods of quietness start to lengthen and deepen until one day, you find that you are able to sink into prolonged states of profound, blissful stillness.


Meditation is probably the best form of prayer. A silent one but never-the-less most effective. Both scientifically and personally. As i always believe”PRAY. it always works”. It is silent prayer of soul to universe to break the web of bounds and make it free. Like a drop ardently seeking to join ocean.If only i could emphasise this metaphor more than enough.


More you meditate you realize a subtle truth about your body. Your consciousness will present you with a realization that this bundle of energy is more like a attire. Which you ought to leave sooner than later.

To be continue....

Sunday, 11 August 2013

USB Charging problem solution on nexus 4 android 4.3 update


Hi Amigos,
Nexus  4 have been my apple of eye from the day i held it in my hand with back ground thought every new update will make it more better/efficient. I fell in love with that idea. But Android 4.3 update uprooted it.
Just to give you a hint of kind of distress i was in.I was musing (hard to think of sharing something which you love )about selling it at cheap price because of this problem. Thank god i did not.

Problem: My nexus 4 would not charge(power) when connect to USB or Power AC when turned on. Neither was it detecting as MTP device on both windows/Ubuntu. Tried different PCs/OSs/Cables etc.
Current state: Problem is not completely solved i.e. Phone is still not detected by my PC but it is charging  both from USB and AC(wall in American way :) ) And i am on cloud nine. For gods sake i don't have to sell or waste any more time on it.
Things that i Tried that did not work.
1. Enable USB debugging in developer option. In every forum i visited i found this one given. Did not work.
2. Make USB connection to MTP or PTP from USB computer connection in storage of settings. Did not work.
3. Tried to remove SIM card --> Turned off --> Turned on --> USB charge connected. Still not charge.
4. Tried removing cache, temporary files , uninstalling most recent app thinking it might be because of some incompatible app. Did not work.
5. Tried Factory reset. Three times. Lost all the data. Still did not work. Felt Hopeless.
6. Tried with Nexus toolkit (new version) as phone was not getting detected at all it also did not work.
7. Tried downloading ever USB app found on the app store thinking may be it would show up some information. One app out of these helped in solving this problem though.

So what did work? To be truthful i don't know either but i will state the steps. Please don't try to judge me with kind of irrational things that i try or try to find rationale of doing what i did. I was desperate.

Steps

1. Turned the phone off --> connect USB -----> charging.
2. Turned it on ---> connect USB ---->> not charging.
3. Turned MTP off, usb debugging off -->> still not charging
4. Tried USB host Diagnostics app --> click "start diagnostics" then follow instruction.If you are lucky phone will start recharging now. I was not that lucky.
5. Took the sim card out.
5. Switched the phone off.
6. Turned it back on and Tested the same test i.e. "start diagnostics". This time i got a different screen
something i never got.


And as you can see battery started recharging...Volllaa...  i was so happy that moment.

I am not the developer of this app.
I am not hundred percent sure it would work for all or not but just thought i might help some one in distress like me.
As of now nexus is charging but not detected by PC/linux. If someone finds a way to do same i would give my love to her/him(no :) ).
Edit:1 After step 3 i also uninstalled the updates of goggle play services. To be safe you can uninstall all the updates that you can uninstall that came with 4.3 android as you can install it any time later until we know the RCA ( root cause) of this issue.

Edit:2 (date:21st August 2013)
Timothy Yuen Commented below and for some mysterious reason deleted the same.With the thought it might help someone else i am putting it down. This is my request , please don't be shy/anything to share.. It is in general good of fellow human beings..

"
I had the same problem and couldn't get it to recharge, and had tried all the steps (MTP on/off etc).

And then it worked.

Current settings before getting it to work
- MTP is checked
- Phone is turned on
- Galaxy nexus phone
- never took off SIM

My steps
- turned on wifi (so i could download the app. i just didn't want to use my data on the mobile plan).
- downloaded and installed the USB Host Diagnostics App
- opened the app (and wondered what I had to do)
- with usb cable connected to computer, i connected the other end to the phone.
- and then the message 'Connected as a mobile device'. Woohoo, it's charging as well now!
 "

Tuesday, 9 October 2012

How to be an Excellent Programmer


Below is something i found other day while surfing. Thinking it will help fellow programmers, i thought i better make a post out of it.

1. Choose a small subset of available technology, learn it intimately, and embrace it. Then evolve that subset.
2. Understand the pros and cons of various data structures, both in memory and on disk.
3. Understand the pros and cons of various algorithms.
4. Understand your domain. Get away from your computer and do what your users do.
5. Be ready, willing, & able to deep dive multiple levels at any time. You must know what's going on under the hood. There is a strong correlation between "number of levels of deepness understood" and "programming prowess".
6. Use your imagination. Always be asking, "Is there a better way?" Think outside the quadralateral. The best solution may be one that's never been taken.
7. Good programmer: I optimize code. Better programmer: I structure data. Best programmer: What's the difference?
8. Structure your data properly. Any shortcomings there will cause endless techincal debt in your code.
9. Name things properly. Use "Verb-Adjective-Noun" for routines and functions. Variables should be long enough, short enough, and meaningful. If another programmer cannot understand your code, you haven't made it clear enough. In most cases, coding for the next programmer is more important than coding for the environment.
10. Decouple analysis from programming. They are not the same thing, require different personal resources, and should be done at different times and places. If you do both at the same time, you do neither well. (I like to conduct analysis without technology at the end of the day and start the next morning programming.)
11. Never use early exits. Never deploy the same code twice. Never name a variable a subset of another variable. You may not understand these rules and you may even want to debate them. But once you start doing them, it will force you to properly structure your code. These things are all crutches whose use causes junior programmers to remain junior.
12. Learn how to benchmark. Amazing what else you'll learn.
13. Learn the difference between a detail (doesn't really make that much difference) and an issue (can end the world). Focus only on issues.
14. Engage your user/customer/managers. Help them identify their "what". Their "how" is not nearly as important.
15. Write a framework, whether you ever plan to use it or not. You'll learn things you'll never learn any other way.
16. Teach others what you know, either in person or in writing. You'll accidently end up teaching yourself, too.
17. Always tell your customer/user "yes", even if you're not sure. 90% of the time, you'll find a way to do it. 10% of the time, you'll go back and apologize. Small price to pay for major personal growth.
18. Find someone else's code that does amazing things but is unintelligible. Refactor it. Then throw it away and promise yourself to never make the same mistakes they made. (You'll find plenty.)
19. Data always > theory or opinions. Learn the data by building stuff.
20. At some point, run your own business (service or product). You will learn things about programming that you'll never learn as an employee.

21. If you don't love your job, find another one.


one from me too :)
"Always ignore advice that begins with the word "always". The use of "never" is never a good sign either"

Ram ram
Varun

Sunday, 23 September 2012



45 LIFE LESSONS, WRITTEN BY A 90 YEAR OLD


1. Life isn’t fair, but it’s still good.
2. When in doubt, just take the next small step.
3. Life is too short not to enjoy it.
4. Your job won’t take care of you when you are sick. Your friends and family will.
5. Don’t buy stuff you don’t need.
6. You don’t have to win every argument. Stay true to yourself.
7. Cry with someone. It’s more healing than crying alone.
8. It’s OK to get angry with God. He can take it.
9. Save for things that matter.
10. When it comes to chocolate, resistance is futile.
11. Make peace with your past so it won’t screw up the present.
12. It’s OK to let your children see you cry.
13. Don’t compare your life to others. You have no idea what their journey is all about.
14. If a relationship has to be a secret, you shouldn’t be in it.
15. Everything can change in the blink of an eye… But don’t worry; God never blinks.
16. Take a deep breath. It calms the mind.
17. Get rid of anything that isn’t useful.  Clutter weighs you down in many ways.
18. Whatever doesn’t kill you really does make you stronger.
19. It’s never too late to be happy.  But it’s all up to you and no one else.
20. When it comes to going after what you love in life, don’t take no for an answer.
21. Burn the candles, use the nice sheets, wear the fancy lingerie. Don’t save it for a special occasion. Today is special.
22. Overprepare, then go with the flow.
23. Be eccentric now. Don’t wait for old age to wear purple.
24. The most important sex organ is the brain.
25. No one is in charge of your happiness but you.
26. Frame every so-called disaster with these words, ‘In five years, will this matter?’
27. Always choose Life.
28. Forgive but don’t forget.
29. What other people think of you is none of your business.
30. Time heals almost everything. Give Time time.
31. However good or bad a situation is, it will change.
32. Don’t take yourself so seriously. No one else does.
33. Believe in miracles.
34. God loves you because of who God is, not because of anything you did or didn’t do.
35. Don’t audit life. Show up and make the most of it now.
36. Growing old beats the alternative — dying young.
37. Your children get only one childhood.
38. All that truly matters in the end is that you loved.
39. Get outside every day. Miracles are waiting everywhere.
40. If we all threw our problems in a pile and saw everyone else’s, we’d
grab ours back.
41. Envy is a waste of time. Accept what you already have, not what you think you need.
42. The best is yet to come…
43. No matter how you feel, get up, dress up and show up.
44. Yield.
45. Life isn’t tied with a bow, but it’s still a gift.

Something i thought worth sharing and remembering. Just  stumbled on it. 
Hope you have good read!

Saturday, 8 September 2012

Da's Life


Thirty-two months of college life are over officially and there is still time before my joining in Bangalore so I decided to summarize or share some of my experiences if I want to put it in simple words. Just hoping they could be helpful, in case you are going to do same mistakes as I did. My intention is to help rather than showing my writing skills, if any! This post mainly contains the advice/rules/practical information that I wish someone would have told me when I was in first year. Please enjoy them with open mind. But, Hold on!! Here is the “disclaimer” which you should really read before proceeding further.


  1. Whatever follows in this post will be statically true for approximately 95 percentage of DA students. Not all. There is no truth ever written which can be true for all. As time changes so does everything.
  2. I like CT, I have nothing against anyone or anything related to CT. As some of my best friends and roomie where into CT, though they now are in IT industry!
  3. It is probably the longest post you would have ever read. So have patience. One thing I promise is it would be worth reading it. And you may thank him/her, who referred you here.
  4. Exception exists for everything. 
Talk to your seniors.
You will learn more about everything while interacting with your seniors than you will ever learn in class or even talking to professors. They will be a constant guide of your whole college life and even after that. When I came to Bangalore, one of my seniors called me and inquired if I needed any kind of help in getting flat or anything. That is cool na?? In college, your senior may know what kind of prof. is teaching you or what kind of projects you need to do. You may seek their guidance when there is problem and you are stuck. Our seniors were great, hope you can say same about yours! Even if you have not talked to them for 1-2 years, don’t worry, go ahead and talk to them about how everything is going, discuss your problems and believe me, if one is not an egocentric, he/she will be cool to you.  I had many books that I didn't know whom to give, so if someone would have contacted me, I would have surely given to him (I don't have them now!) but my point is make as much contacts with your seniors as possible. For your problems, if they can, they will try to help you or show you a better way. At least they will understand you and not be like professors who will start asking question
about your pointer and all that. So just interact with your seniors.

You will forget almost 95 percent of what you study in class. I know because I did forget - especially CT and EL and I just crossed 4th year. So, it is preferable to keep all slides with you even after college.  

Don’t be shy or feel embarrassed to say that I am coming from RC, or to say that I studied. This is what I have closely seen in first two years of college. Everyone try to sneak into RC and try to come out hidden. Wish that there was some tunnel which leads him to the room secretly. And god forbid some of your friend see you while you are trying to sneak out of RC, what possible reason could you give if they ask you (it’s always like their eyes are asking you question), " I was watching series" or "sleep". Naahhh.. Just be a man and say yes, I was studying. OK? “pura din CS to nahi khel sakta na” or something similar. Then they won’t say anything in your whole college life. And anyway this habit of going to RC, vanishes as you come to last three semesters. However, it is considered the best place to study for entrance examinations. Be it CAT or GATE or GRE. Be genuine to your friends and yourself.

Some tips for getting good pointers (subjectively)!

In my view, anything above 7 is decent, considering mind-set of our professors. Go to 50 to 80 percent classes -- especially to last lectures just before in-sem and end-sem.
Read slides - especially slides of last lecture before in-sem, A must. Even if it is not told explicitly to read them. RAMs of most Prof. are not good. They all seem to have long-term memory loss.

Talk to teacher at least once a month or even after a class. If you have some genuine doubt then go to their room and you can ask about anything or problem or doubt or whatever but, just remain in touch with them. (It is always preferable to drop a mail to faculty asking his appointment!!) This would effect when teacher is finally grading you. Believe me NOBODY is impartial, though exception exists (always). Try to be personal or at least good with TAs. They can increase your marks if they remember you while checking papers. Nobody checks paper once TAs have graded them.

Always go through previous year question papers!! Sometimes 40%+ of the paper contains questions from them, true for some professors. i.e. Prof. Sam Chat.

For CT, notes chaat lo, yar. Yeah, mug them up. But, surely you should try to first understand them but if you can’t, then mug them up anyway. (Especially Fourier Transform ka formula to 3 semester tak ditto ayega) And if you are confident that you are good at this art of mugging (I wasn't) and you can rely on your brain to vomit in the exam, in a presentable manner, then you really don’t need to go more than 50 percent of CT classes, however interesting they may sound.

An interesting thing that I have observed so far is if first two in-sem are easy, like only from notes, then most probably final will be on little tougher side, in the sense that questions will be from exercises of the book that teacher refers in class or questions left as homework in class. So if you have time after mugging up notes, than do the exercises of corresponding chapter of referred book. Sometime question are as-it-is from there. But, remember only after mugging.
If you sense that the teacher is too busy or not teaching much, then most probably exam is going to be completely from lecture slides/notes or what he taught in last lectures.
These rules don’t apply for Prof. Anish Mathuria and Prof. Sanjay Srivastava. :)
They belong to different class of professor altogether. Giving their exams is always a fun.  
If you don’t get above 6 pointer after this then you are nut case and don’t read after this. It is not meant for you. But, if you don’t do above things and expect good results; please save your excuses.

Try to avoid buying so many course books. If possible try to read from e-book as much as possible. I guess most of course books are available in e-book form, if needed take print out of relevant part or take it from your friend/share. I am telling you this because at end of 4th year many of my friends had nearly 15 odd big books and did not know what to do with them, as you can't carry them home if your home is far. Some you can't even give to your junior as course or Prof. for that course change and as a result book referred to, also. So try to minimize your expenditure on purchasing books. It is sort of wastage of money in long run, and any way you have e-book for the same. I purchased just one book in my whole B.tech. life.(Etronge!!)

But, there are some books that you will never regret purchasing (especially for IT). Indeed I highly recommend you to purchase them not because prof. asked to go for them (Actually, no one told me about them, surprised!) but because they are as per industrial standards and standard in themselves and also not to mention in-expensive. They are not only useful in courses but also after you have learnt that course. i.e. For placements. They are:

  1. Introduction to algorithms -- Corman
    Reason: All standard algorithms you will ever encounter in your life are in it already. It can be text book for all IT courses in our college.
  2. C programming language -- Brian Kernighan and Dennis Ritchie.
    Reason: Still the best programming book I have ever read. Though you shouldn't read it as your first programming book. But, after you had some programming experience you will love reading it.
  3. Computer Networking: A Top-Down Approach -- Kurose, Ross (Must for Networking/Security fields)
Don’t be regular, but don’t be regularly irregular either. Both extremes are just plain boring and won’t do any good either to your personal growth or grades.
If you have a dream to do something or to work on something and if you go on delaying them, remember dreams will die with time in your mind, but they will still be there in your heart; only time will not be. Please do yourself a favour, don't ever procrastinate. 90% of dreams in life are not worth pursuing as they are mainly out of infatuation or momentary sprites. You get to know what is worth pursuing for yourself and you get to completely know about your strengths and weaknesses. Human brain doesn’t change much after 21, so stop blaming yourself for being criticized, just keep in mind, 90% of people always are busy pointing out mistakes and strengths. But, it is only 10% who don’t give up even after doing several mistakes. And, of course, none can be good at everything!

Labs @ DA-IICT
.
Even writing about it feels so useless, as they are in reality. But I am going to say some concise words about it. Theory is what you try to learn in class. Theory is when you know everything but nothing works. Practice is when everything works but no one knows why. In our lab, theory and practice are combined: nothing works and no one knows why. Remember EL or CT lab! Get used to it. :) You are not going to learn anything there anyway. May be just pretending to work, however everyone knows that you are doing nothing.

Learn to touch type.
Yes, it is very important. I don’t care what you think. I will be straight with you on this. No one will tell you to do practice on a software, how to type without seeing keyboard. But, it is very very essential. I simply can't stress it enough.

See this link!
It is worth reading, inspirational and will probably bring back the point that how important it is to learn to touch type. Though I have to tell you, author of this post has very interesting style.
Placements @ DA-IICT.
In summers of 3rd year make sure that you are good in these languages C, C++/Java. Be sure you are pretty comfortable with at least one OOP language, preferably Java or C++. Try some sample aptitude questions. Nearly all the companies ask them. I couldn't clear initial 8 aptitude exams just because I hadn't practiced enough and my friends who were preparing for CAT cracked those exams easily. It is just a matter of practice and not intelligence, as golden rule of life says "Your I CAN is more important than your IQ".

Interviews.
From resume, most important points are your projects. If you have not done any project, start doing them. If your pointer is around 8 and don’t have any good project to show then you are same as 6 pointer (Just eligible, nothing more than that.) Project can be open source or college project. But, it must be worthwhile, something that you can say in interview that you learned while doing it. They would believe you if you say some technical thing in interview, because they know nothing about your project. :P But, just be confident in what you say.
 
What dress you wear during placements matters a lot. Don’t be lazy in that. It is your first impression. Talk to SPC member as much as possible, even when they say "mail kar denge kuch hoga to". Most of the times, there is something that they do not share with all other than their close friends. Any company where you get complete project to work on, then that is good company because that will add to your personal growth and
add value to your resume.

Before placement fair begins, SPC will conduct a seminar mostly to frighten you. Especially AB’s (Bakerji) speech made me feel, with deep saddening inner expression mera to ho gaya ab.  And I think you will also feel this because that is the purpose of these seminars and nothing else. If you see the statistics you will know every next year as average CPI is decreasing (thanks to our professors), Average CTC or number of A graded companies visiting campus and number of students getting placed in A companies are actually increasing. But in this seminar you will be made to feel like you have to work very very hard and you are just shit of this college. I suggest, be serious, prepare well but don’t ever let SPC talks get on your nerves or anything for that matter.

College has placement cell that doesn’t necessarily mean that you can’t try off-campus; you must approach professor and ask for some company where he/she can recommend you. Also keep watching for posts in DRDO, ISRO, BHEL etc. Go for GATE, if you are interested in Public sector. You may not know which opportunity is waiting for you.
RC.
As I have seen, most of students don’t know that they can access their library account (which book they have issued) from hostels or search for books from hostel. Use this link to login.
http://resourcecentre.daiict.ac.in:8081/webslim/login.asp.
Usually, your username and password are same - your ID, until you change it.

You can check that which books are issued on your name, hopefully after this you will not make century in RC due. You can check same for others too. i.e., if you want to know which books are issued on their name (If they don’t know not this little trick and if they have not changed their passwords only).

Use RC as much as possible, issue books, even when you couldn’t read them all. At least try. It would do more good than harm. If you have reading habit, you will miss RC once you pass out. Our RC is as good as the ones which are there in IITs.


Self-control. Below is what Nikhil Marathe, best gem of our batch said.
“The first is self-control. In college, nothing else matters! If you want to get things done, if you want to stay on the right path (subjectively of course), then nothing else will matter more than self-control. Not your intelligence, your wealth, your environment or your friends. Only your will-power. You and I are living in a world where addiction is easier than ever to fall prey to. Information bombards us from everywhere, a plethora of online services crave for our attention, and in the physical world, chatter, video, liquids and powders demand our attention. These distractions will stop you from giving your time to the things that matter the most to you. Those who can stick to their course will fare better.”
For self-control, there are many tricks/methods/process like mediation, yoga and all that. But most simple trick is this. Whenever you are taking decision, just keep the picture of you father and mother in front of you, and feel what they will think about you if you take this decision. If you really really love them, you will never do anything to harm that feeling. And if you take the right decision; believe me you will know yourself how much you love your parents and how much importance they hold in your life.

As I see it, main thing is -
Everyone knows in the heart what is right thing to do, it is only 'Doing' that lacks.
Just have will. Way is yours.

Find out what you love to do, be it coding, singing, playing instrument (I learnt flute, guitar), playing cricket etc. Though, I do not recommend playing CS/ Dota/ quark/ AOE as addiction. I played them once a month or semester just when I got nothing else to do.
It is hard to be good at something which you do not love to do.
http://www.yosefk.com/blog/work-on-unimportant-problems.html

Very important Semesters are 3rd, 4th, 5th. From point of view of making of pointers and also for learning, they are formative. 6th is also important, depending on your field of choice- electives.

Don’t propose a girl in 4th year. And you will remember it as a tragedy. She will think, itne din so rahe tha kya? You know what? It is not even worth it as you are out of college in few months anyway. And I think, this love thing (by which I mean college love), is highly over-rated. It is not worth it in long run. Make friends.
If you are a girl ( have crush on a boy or liked him for long) propose a boy anytime, statistically speaking he will say yes in 98 percent of cases, if he does not have gf already. If you don’t say it to him, he will definitely be taken. You gonna regret then!!

Little things which matters a lot.
And just to inform you about fogging, it is only waste of time. It does not effect in least bit to mosquitoes. Try not to depend on it. I think mosquitoes sort of enjoy it like a perfume. In my room I noticed their population increased after fogging. Strange!!
Laptop with i-7 is not a good idea, unless you have an external battery and don’t care about life of you laptop. i-5 is good for most of the purposes. When on night out, try to avoid going to sleep between 6 - 8 am, there is no point. Get your breakfast and then sleep. You will love your sleep more than ever and may be your time table will improve with next day. When there is a fire in or near hostel, run to washroom not for fire extinguisher. Most of the fire extinguisher in hostel does not work. Try not to depend on them. Once I was screwed because of them. Damn you Parmar.

Some of our dreams are not worth our joy, some of our wishing are not worth our wanting.
Choice of electives.
Do not take advice of every teacher seriously. I have seen that when time comes to choose your subjects during third year, students go to teachers, most of time there favourites, to ask what should they do, what is that is good for them? As I have already said no one is unbiased, if you go to a CT teacher there is no way he is going to tell you straight away to take IT. He will cunningly (may be a wrong word to use) try to convince you that there is bright future in CT, and will say that you are hardworking and I will help you among other things. And if you go to IT teacher he will do the same. And you know what, neither of these teachers is wrong in what they are saying. Only missing thing is, even though what is said is true, it is not the best choice for you.
You should remember that teachers may be good in what they teach, they may not be good in helping you take decision in life, don’t childishly come into words of teachers, do your own research over statistics for yourself.

One teacher, well respected Professor told that it does not matter what subjects you take during your undergraduate, no one sees it, take anything. Though I have lot of respect for him, I have to say that you are fucking wrong, sir. Those of who are reading this, let me ask you this question if you would have taken commerce during your 11th and 12th would it not matter? Ok, let me ask another, if you have taken EL or CT and sitting for IT company for placements, aren’t you confused? or over-smart? In interview they will say - we need IT guys, or CS students and no one else. Though you may say I know IT things and have done the basic course so I have knowledge comparable to others. A very fair argument!! But here is the thing, they will not listen to this. They will simply say we have been instructed to take students from CS branch. And I am sharing you this because this happened in Deloitte interview. A hard working, guy from CT, having 8 pointer, good at programming as far as I know was simply refused, in the interview itself, saying you do not fit our profile. Do you see my point? They don’t listen to your argument however right it might be. So make a strong case for your selection.

And in some rational sense it is fair, too. Because if you take CT and EL as your electives and sit in IT company then these are some of the possibilities that interviewer will think about you (if not obvious ones) you are not interested in IT, probably don’t know coding or don’t like i.e. (you have not taken IT), or you are over-smart to take any branch and learn everything but expert at nothing or you are confused, don’t know what you are doing with your life, where you are headed or you are not sure you are going to join the company or want selection just as an back-up option. In either of cases, you are trying to befool the interviewer. And let me tell you that, it is not that easy. They are really smart people, experts and have lot of industrial experiences. Imagine 6th grade school student trying to impress a college student. College student would get it, right. Won’t he?

Always take course like Algorithms in elective, even if it be painstaking. This is true for 95% who are not sure. For those who are sure about their life, go ahead, never look back and regret about not feeling pulse of your inner conviction, but also never let convictions be biased or based upon temporary gushes of professor or friends or trends.

In my interview, I was asked question from the subjects that I took as optional ones and rationale behind my choice and other questions related to these subjects. If I would not have taken Network protocols, cryptography and security protocols; it would have become next to impossible for me to answer any of the interviewer’s questions. My technical interview lasted for more than 40 minutes. So if wanna let you know my take on this then I would say that it matters like a hell that which subjects you choose. It is far better to be king in hell then to be slave in heaven.

Try not to waste too much time on facebook, you will never be remembered for that (just reminding). When you look back on your college life and remember yourself wasting more than an hour refreshing facebook pages then probably you are not being just to your life. This is what goes in mind of most people while reading newsfeed or stream: "Whatever'', "Whore.", "Your life sucks.", "Song lyrics.", "Inside joke?", "Needs a therapist.", "What the fuck am I supposed to do with that", "want to tell me something then tell me directly, don't facebook it." etc.

While taking professional decision.
You may say that I have interest in EL and CT so I want to take it. That is fine. And it is not wrong to have interest in it. But you may have interest in playing guitar or flute (in my case) as well, but that doesn’t mean you gone make it your career choice, at least not now.

Forget about your interest (Unless it is exclusive). Interest is a very fragile thing. Today you are interested in this thing, tomorrow you may not be. Then there is no point from where you can turn back and start the game again. Don’t take professional decision on the basis of your interest (At least not now, if you would have taken every decision in your life on basis of what you like, you would not be here in first place). Even a fool can do the things that are at its heart, but it takes a mountain of courage to do what is right for you. So don’t make “interest” as your prime, the most important criteria, for choosing your branch subject, this is with respect to choosing IT or EL or CT. I have seen friends regret taking EL, if not openly and in their fourth year going for “introduction to algorithm” course. If you take decision from your mind you will rarely regret it. (Even if decision turn out to be wrong, you will have a reason at least to blame on options you have had at that time). It does not matter in life what your intentions are , If you are doing the right thing even for wrong reasons you are gonna get successful. If you want to know more about how to choose the subjects, please let me know.


If not at other things, at least I was particularly good at choosing electives. For example in my whole last year i.e. last two semesters, I had to take only 4 subjects, all of my choice i.e. not limitation that this much of SC are left or one Technical elective left or could not do HM because of exceeding maximum limit for the same. And to add further, due to choice, I had to sit for only 3-4 exams in total. Yes, in my fourth year I gave only 3 to 4 exams, including in-sems and end-sems. Grading was mostly on basis of project or presentation. What a relief, that there are no exams in whole semester, isn’t it? And most importantly I still managed to get 9.15 pointer. :)

And to be frank, I worked the least in that year. So if you make smart choices, your college life will be awesome and less frustrating as well.

Series.
During my college life I watched approximately 60-70 series (some still on) including anime, comedy, drama, cartoon, fantasy, case files etc. That would be like 600-700 GB. A record I think (Let me know if you have watched more than this).

Best ones are –

  1. Prison break (9.5) - Though I have never met anyone who watched it and not liked but if you don’t like this one, well…. I don't know how that is possible. What a Brother can't do?
  2. Friends (8.9) - If you don’t like this one, may be you didn’t understand it or hate someone laughing in back ground.
  3. Dexter (9.1) - If you don’t like this one, may be because you didn’t have patience.
  4. Breaking Bed (8.5) - Same as Dexter.
  5. kyleXY (8.1) - I don’t know anyone who did not like this.
  6. Big Bang theory (8.4) - You will love it from very first episode.
  7. O.C (8.0) - Good drama.
  8. House (8.3) - Awesome character of house.
  9. Supernatural (7.7) - Got to have patience.
  10. Two and half men (8.2) - Charlie sheen :)
  11. Jericho (8.0) – Inspiring one.

Don’t watch these series as in long run they seemed to me just waste of time.

  1. Lost - You will hate yourself for seeing this. I left it at 6th season and didn’t care about ending it even.
  2. How I met you mother - I f****** graduated before finding his mother. And you know what, I don’t care now. Die you. I watched it only for one person and you know who he is.
  3. Heros - Not that bad, but just not worth so much watching when there are good series to watch.
  4. weeds – You may like/dislike it. Though, ending of season 6 is good.
Mass bunking is an illusion. There is always a bastard which will ruin your plan. Doesn’t matter how many IPs come, doesn’t matter how many +1 others do. Don’t depend on it. I have learned it the hard way by missing many pops.

Google
everything. If there is one thing I want to tell more than anything, this will be it. My good friend cody told me, I never never took it seriously until last year. Form this habit of googling anything you like or any question you have. Like difference between orange and mousambi, rat and mouse, or any other elementary thing you want to know.
It will make you more curious. You will learn more, adding to your personality. Any problem in coding, writing, first step is to google it. You can live without facebook for a day, preferably for month, I know I did for years now, but if you are programmer you can’t live without googling for a damn day. Make googling things a habit. It is good habit.  

Don’t hold grudges.
You will regret your small mindedness. Find a middle ground. Try to understand others, too. Talk it through, if you want that relationship/friendship to work. Most of the fights that I have seen arose not so much by the topic of discussion or point of talk but by the way you speak. i.e., the manner of speaking, the way you convey your thoughts. Expression is important. So talking or replying wrong or rudely or arrogantly is first step to fight. A step you may not get chance to retrace. Another major reason is you bring past things in present discussion even though it has nothing to do with it. So when discussing try to remain focussed on solution of problem and not on mistakes of others made by them in past.

Take pictues.
Even if they are as lame as of vacant cafeteria or classroom. They will remind you of your golden period and good memories if you see them after you college. Don’t miss chance of taking pics. Store them somewhere on your hard drive or upload on google+ album collection as they offer unlimited storage for normal pictures. Whenever there is a birth day of your friend or you go out, take pictures from your mobile camera. Do not worry about quality of pics as much. Just take pics because that instance will never ever come back.

No one can fight with 100 persons, unless you are sunny “d/l oel/n” or RAJNIKANT. Well jokes apart, I want to say, make Friends, they are all that you have after you pass out.

When companies like Google, Microsoft, Directi, or any good company come for internship, don’t be lazy. To all those who even don’t apply, come out of mediocre created by yourself, don’t think you will not get in. If you think there is even a one percentage of realistic chance, then go for it. You will never know what you are capable of
until you give it a try. You never know how strong you are, until being strong is the only option.  

In your life you will find all kinds of crazy people telling all kinds of things, including me, never forget to give such things a thought, but also never take them blindly.
One great person rightly said:  “Your life starts when your decisions are 100% yours.”

Do you know what Bill Gates have to say about fail and pass of courses in college. No? Just read,
“I failed in some subjects in exam, but my friend passed in all. Now he is engineer in Microsoft and I am the owner of Microsoft.”
“Don’t ever let someone tell you that you can’t do something. Not even me. You got a dream, you gotta protect it. When people can’t do something themselves, they  gonna tell you that you can’t do it. You want something, go get it. Period.”   Will Smith (The pursuit of Happiness, film)

I think these thirty two months of your life will be the shortest and most cherished time and please let me know how you felt while reading it. 

Thanks to Jaley and Raghuvir for helping me with editing and formatting
To be continued :)

Ram ram,
Varun Vyas.


 
 
Copyright © Ramanjali
Blogger Theme by BloggerThemes Design by Diovo.com