Posts

Silicon Valley Code Camp

I am currently at my first Silicon Valley code camp in Los Altos. A cool talk from Douglas Crockford on ES5 ! More to come :)

HTML5 Dev Conf

I just came back from the first HTML5 Dev Conf in San Francisco, which also happens to be my first ever conference. In summary: Lot's of exciting things should come out of HTML5 and the web in general. HTML5 has already been around for a few years it seems that only now we are realizing the powers of it :) There were around 1200 people at the conference. They had predicted 200! There were many interesting talks, notably from Douglas Crockford and Steve Souders. However, one that caught my attention was the one by David Herman, a programming language propeller-head at Mozilla, about the future of JavaScript. He gave us an overview of the next standard : ECMA TC39 and presented some of the features that the language will implement. I thought it was nice to see that JavaScript will implement generators, like Python already does. I'm looking forward to see this. I won't go into the details of all the features that he presented, but if you are interested, his slides are availabl...
Reading about HTML5 local storage. This webpage a very good starter: HTML5 Local Storage

Learning to use Screen ! Here's a cheat sheet

ctrl-a c: create a new window ctrl-a ": list windows and select one ctrl-a A: name a window ctrl-a w: show all windows ctrl-a N: switch to window N, where N is an int (1,2,3, etc...) ctrl-a ctrl-a: switch between windows ctrl-a d: detach window ctrl-a [: start copy move, move like in Vi. ctrl-a ]: paste from buffer ctrl-a S: create a split screen

giving write access to apache2

Giving write access for apache2 (probably this is a quick fix) I would not recommend this in production. Apparently, suPHP is the norm. But for what I am doing, this should suffice: chgrp -R www-data /var/www chmod -R g+w /var/www

when you need to download the web! or a very small part of it....

wget is your friend. I needed to download the web version of one of my courses for records, wget did the trick! This article is pretty good at showing some examples:

Go beyond your limits

Awesome life example from Bruce Lee: Bruce had me up to three miles a day, really at a good pace. We’d run the three miles in twenty-one or twenty-two minutes. Just under eight minutes a mile [Note: when running on his own in 1968, Lee would get his time down to six-and-a half minutes per mile]. So this morning he said to me “We’re going to go five.” I said, “Bruce, I can’t go five. I’m a helluva lot older than you are, and I can’t do five.” He said, “When we get to three, we’ll shift gears and it’s only two more and you’ll do it.” I said “Okay, hell, I’ll go for it.” So we get to three, we go into the fourth mile and I’m okay for three or four minutes, and then I really begin to give out. I’m tired, my heart’s pounding, I can’t go any more and so I say to him, “Bruce if I run any more,” —and we’re still running-“if I run any more I’m liable to have a heart attack and die.” He said, “Then die.” It made me so mad that I went the full five miles. Afterward I went to the shower and then I...