Good resources to learn Javascript
by jose on March 20, 2012
From time to time I find myself trying to learn more about this awesome language, and there is a lot of good resources out there, not easy to find though, so let’s change that.
When you want to learn a new language or certain patterns of that language you need to do something that no one else can do for you: Coding!
Therefore it doesn’t matter if you are watching screencasts, reading a book or a little tutorial, you should open your favourite text editor and try the examples by yourself.
Here you have some of the resources I’ve been using lately:
- Screencasts from D. Crockford
- Eloquent Javascript (book)
- Essential JavaScript Design Patterns (book)
- Documentation and tutorials on Mozilla Developer Network
When I learn all I can from these resources I’ll share more.
Life and weekends
by jose on March 10, 2012
I’ve been trying to understand why there are people who spend from Monday to Friday thinking about the weekend every single week of their life. If you think about it is a big problem. Let’s say you are 23 years old and you start to work for a company.
Common employee, Monday to Friday at work, weekends off. The following pie chart shows a regular year:
How to generate a random string
by jose on March 9, 2012
Q: How to generate a random string?
A: Put a fresh student in front of vi and tell him to quit.
by (@fR0DDY)
Textmate slow with large files
by jose on March 9, 2012
I was working the other day with an SQL dump, and Textmate was freezing all the time. Suddenly I realize that there could be a reason: Syntax Highlighting, and that was exactly the problem, I disabled it (setting the file as plain text) and it worked.

But, why? I mean, I know that syntax highlighting enabled should make Textmate slower than disabled, but so much? After some research I can give a possible explanation.
Textmate is like Mac OS X
by jose on March 9, 2012
Sometimes you find something really useful, but it has taken a long time until you discovered, just like in Mac OS X.

By the way, the result will be shown in the current file.
How to uninstall Textmate plugins
by jose on March 8, 2012
The other day I installed a plugin and I didn’t like it, so I tried to uninstall it, I say I tried because I spent more than 10 minutes looking for an element in Textmate where I can manage the plugins, and well…I didn’t find it, but I found the files and a little bit of documentation that came in handy.