May 2013
5 posts
99 Life Hacks to make your life easier!
shialabeowulf:
I suppose it is tempting, if the only tool you have is a hammer, to treat...
– Abraham Maslow
Big O Cheatsheet →
http://bigocheatsheet.com/
I hear and I forget. I see and I remember. I do and I understand.
– Confucious
April 2013
1 post
March 2013
2 posts
The trouble with bright kids →
Interesting article
2 tags
If you fear having the Dunning-Kruger symptom, is it because you have the imposter syndrome?
February 2013
3 posts
New rule:
Do not check your work phone before going to bed, or after 9pm. It can cause a sleepless night.
Work is really annoying and stressful today :(
November 2012
2 posts
Sometimes work feels like an episode of game of thrones and I am Ned…
October 2012
1 post
April 2012
3 posts
Instagram Engineering: Keeping Instagram up with... →
Very impressive list of tools used.
instagram-engineering:
On Tuesday we launched Instagram for Android, and it’s had a fantastic response so far. The last few weeks (on the infrastructure side) have been all about capacity planning and preparation to get everything in place, but on launch day itself the challenge is to find problems quickly, get to the…
March 2012
2 posts
1 tag
Postgresql authentication issues... →
If you can’t login to the user you created in postgresql, check out the link…
3 tags
November 2011
2 posts
Andrew Greene: No Compassion →
Very sad… It seems that the woman was more concerned about not getting sued rather than caring about the well-being of someone.
andrewgreene:
I got doored today by a woman getting out of a cab. I was about 1 block away from my apartment, and my concentration was wandering to the tasks for the rest of my day (Hadoop World, etc.) Letting up for 1 second means danger. NYC is a terrible place...
October 2011
2 posts
1 tag
Also: Why I'm learning to code →
Finally a executive that will understand that constant meetings will have a negative impact on programmer productivity!
roybahat:
I run a company whose product is written in code, and I don’t yet speak the language. I sometimes feel like a newspaper publisher who has to take his editor’s word for it that the articles are good. You trust your people, you know you could never write the way they...
5 tags
August 2011
16 posts
4 tags
DEEENCH: “I probably don’t talk to anyone more... →
cuprous:
“I probably don’t talk to anyone more than Alex [Song]; he’s a great person,”
“Obviously sometimes he gets a bit funny and goes ‘Oh, Frimpong you’ve come to take over my place, you don’t want my kids to eat, how am I going to get money for them?’ and stuff like that. But he’s a great player.’
…
Song is pretty funny too!
3 tags
MySQL Creating user rookie mistakes
I created a user ‘monty’ in a MySQL DB using the following command
CREATE USER 'monty'@'%' IDENTIFIED BY 'some_pass';
Then tried to connect to it from the local computer:
mysql -u monty -password=some_pass
It never worked… I spent an hour trying to figure it out, the answer was on the page I was reading.
It is necessary to have both accounts for monty to be able to...
3 tags
A good hockey player plays where the puck is. A great hockey player plays where...
– Wayne Gretzky
3 tags
2 tags
Allowing SSH via private keys for new users
Create a new user: sudo useradd ‘username’
Set the password: sudo passwd ‘username’
Login to that user: su - ‘username’
Create folder ~/.ssh: mkdir ~/.ssh
chmod that folder to 700: chmod 700 ~/.ssh
Generate public/private key: ssh-keygen (you don’t have to put a password, but should for better protection)
cat the contents of id_rsa.pub to...
6 tags
3 tags
Adding a keyboard shortcut for System Monitor in...
Being accustomed to Windows, I usually press Ctrl-Shift-Esc to open up the task manager when I want to see system information like memory usage and cpu usage.
I was a bit surprised that the same key combination did nothing in Ubuntu. So I created a keyboard shortcut to open the gnome system monitor.
I am doing these steps in Ubuntu 11.04
Open application ‘Keyboard Shortcuts’
Click...
3 tags
1 tag
1 tag
2 tags
Installing mysql-python in a virtualenv →
I ran into a problem where django couldn’t find the python bindings for mysql, so I tried to pip install mysql-python, but it gave this weird error. Luckily for me, I found this blog post that showed me what to do to resolve the issue.
1 tag
Structure and Interpretation of Computer Programs →
I never knew that this book was freely available for reading online. I must read a few pages a day!
2 tags
/home/vk/misc: SICP is Under Attack →
vedantk:
It’s official. UC Berkeley will soon join MIT and several other universities in abandoning Structure and Interpretation of Computer Programs, widely regarded as one of the best textbooks in computer science, in favor of alternative material covering Python.
This is a mistake.
SICP is…
4 tags
Do I need Windows anymore?
Ever since I got my hands on a free EC2 instance, I got a lot of exposure to Linux. I would ssh in to try things out, like deploying nginx and gunicorn, using vim to configure my settings, and writing code to get django up and running. I scoured the web looking to ‘pimp’ out my vim editor, found some excellent blog post such as this one from John Anderson. Trying to get his...
1 tag
Rain
My fiancée and I went out for a quick walk to the grocery store. As we were about to pay a huge storm broke out! It was carrying the chairs outside to the parking lots! Now we are at a coffee shop waiting the storm out, unlucky for us, the coffee is crap… :(
July 2011
16 posts
2 tags
Mediocrity hides in numbers
– Pico
1 tag
2 tags
MySQL tutorial →
I find this tutorial useful when I need to connect to MySQL and do some administrative work.
3 tags
Checking memory usage in Linux
One thing that annoyed me a little in linux when I started out was checking for free memory space remaining.
In Windows, you can clearly see how much memory you are using with Task Manager.
Browsing the linux forums, I learned that command ‘free’ shows you the memory use. ’top’ is another program you can use to check your current tasks and their %memory...
2 tags
1 tag
1 tag
Learn from the past, live for today, plan for tomorrow.
– Me
Facebook privacy vs. Google privacy →