Pages

Wednesday, May 29, 2013

"For example, I...

"For example, I was taught in college that one ought to figure out a program completely on paper before even going near a computer. I found that I did not program this way. I found that I liked to program sitting in front of a computer, not a piece of paper. Worse still, instead of patiently writing out a complete program and assuring myself it was correct, I tended to just spew out code that was hopelessly broken, and gradually beat it into shape. Debugging, I was taught, was a kind of final pass where you caught typos and oversights. The way I worked, it seemed like programming consisted of debugging.
For a long time I felt bad about this, just as I once felt bad that I didn't hold my pencil the way they taught me to in elementary school. If I had only looked over at the other makers, the painters or the architects, I would have realized that there was a name for what I was doing: sketching. As far as I can tell, the way they taught me to program in college was all wrong. You should figure out programs as you're writing them, just as writers and painters and architects do. "    

 

 

"Universities and research labs force hackers to be scientists, and companies force them to be engineers"

- Paul Graham

"For example, I...

"For example, I was taught in college that one ought to figure out a program
completely on paper before even going near a computer. I found that I did not
program this way. I found that I liked to program sitting in front of a computer,
not a piece of paper. Worse still, instead of patiently writing out a complete
program and assuring myself it was correct, I tended to just spew out code that
was hopelessly broken, and gradually beat it into shape. Debugging, I was
taught, was a kind of final pass where you caught typos and oversights. The way
I worked, it seemed like programming consisted of debugging.
For a long time I felt bad about this, just as I once felt bad that I didn't hold my
pencil the way they taught me to in elementary school. If I had only looked over
at the other makers, the painters or the architects, I would have realized that
there was a name for what I was doing: sketching. As far as I can tell, the way
they taught me to program in college was all wrong. You should figure out
programs as you're writing them, just as writers and painters and architects do.
"
- Paul Graham

Monday, May 27, 2013

Ubuntu: youtube downloader

 

 

To download youtube videos or any embedded videos from websites,

  1. Install firfox if you don't have it on your system.

  2. open firefox web browser

  3. go to Tools->Add Ons

  4. search for video downloadHelper

  5. the "video downloadHelper" add on will appear in search results.

  6. install the add on.

  7. restart the firefox.

  8. open youtube.

  9. click on some video.

  10. to the left of address bar in firefox, you will see one animated bubbles playing, which means the particular website has an embedded video to download.

  11. click on it and download the video.

  12. DONE.