Vim seemed to not working properly when I remotely connected my mac with Berkeley’s remote machine. My mac has OS X Mountain Lion 10.8.3 and I connected to a server running Solaris 10. When I was editing a file using Vim, the arrow keys printed “A”, “B”, “C”, “D” and delete key simply did nothing. And after a short time of search I found this works for me and hopefully this can help you too.
First go to the root directory of the remote machine:
Then create a new Vim config file .vimrc
Add these two lines to this file to correct arrow keys and delete key behavior.
And that’s it, it works for me and if there is any better solution I’m happy to know!
Learned part of this through my last internship. Very valuable to me.
Answer by Alex Gartrell:
I've twice been an intern and twice managed an intern. If I had to distill down what I've learned from these experiences, I'd say that there are three important things for an intern to think about
1) Deliver high quality code. It's really easy to fall into your college habits of hacking on stuff and then turning in something with a fair number of minor flaws (extra printf's, commented out code, missed edge cases etc.) Ultimately though, the people employing you are going to be making a hiring decision based upon your work, and one way for them to answer that question is "Do I trust this person to work here?" Having a history of solid, clean commits is the best way to earn their trust.
2) Be visible beyond your manager. Good intern managers exist more as teachers and advocates than as evaluators, and so the feedback of other members of the group is taken very seriously in offer consideration. I'm not suggesting that you should be boastful (in fact, the full timers will see right through you if you are), but you should make sure that you're regularly updating people with the progress of your projects, especially with data that shows that you're doing the right thing. Ultimately, it's better to figure out that a project isn't working out fast and get assigned to a new one than it is to drag it out because you're afraid of bad news.
3) Be aware of where you stand. Good companies take care to obscure the relative seniority of different employees in a way that allows the very senior and very junior to collaborate on projects without social pressures that could screw up the dynamic. Unfortunately, there's no way to obscure the fact that someone is only here for a 12 week internship, so these problems spring up in full-time/intern relationships. The problem is exacerbated by the fact that it's almost universally the case that it's much easier to become an intern than to become a full timer. The net result is that if you find yourself in fundamental conflict with a stubborn full-timer, you're probably not going to be able to push back. Great engineers and managers will take constructive feedback from anyone, but it's important to recognize that there are mediocre people out there, and, as an intern, you'll be best served by avoiding conflict with them.
View Answer on Quora
You don’t want someone else to impersonate you to login Facebook, or other social network, right?
And today while I read some articles about session hijacking, I think it’s a good idea to turn on “Secure Browsing” on Facebook account setting under “Security” option to prevent attackers from gaining unauthorized access to your computer system.
Many websites, including Facebook, use HTTP cookies to maintain session. A session is a semi-permanent connection between two computers (e.g. your browser and server). You must have such experience before: when you first time sign into Facebook by typing username and password, the next day you can still login without typing them again, even after a week. That’s because Facebook saves a “HTTP cookie” on your browser to maintain this connection.
By default, Facebook only uses HTTPS protocol, a secure protocol, when you need to send password on the public Internet and that’s when you login or logout. Notice the green lock and “https” word on the left hand of the address bar. However the whole website is not covered by HTTPS. Notice the green lock and “https” disappear after you login. And that exposes some security concerns over transmitting data on the Internet. For example, an attacker could use packet sniffing to read traffic between two parties to steal session cookies.
So, just take 30 secs to turn on that setting on Facebook and your account can be safer.
This is my first blog. I do appreciate the humour behind the title of the default blog: Hello world, since this is so familiar to every computer science student when we learn a new language.
For me, it’s important to share what I think is useful with others and hope you all enjoy my blogs : )