Archive for the ‘HowTos’ Category

Javascript para mostrar cuando ciertos streams están en vivo.

Como ustedes podrán saber, hice una pequeña comunidad de SC2 en Mexico, http://www.sc2mx.com/ Dentro de la misma, hay muchos jugadores que tienen sus propios streams o shows en vivo donde discuten el juego en vivo en las siguientes páginas: ustream, livestream, y justin.tv. También hay streams en own3d, pero desafortunadamente no tienen un API público. Para [...]

More »

How jagged arrays can be used and when they would be preferred over normal arrays

This is a follow-up from this post. A reader asks: Could you possibly do a post on how jagged arrays can be used and when they would be preferred over normal arrays? Thanks! Sure, why not!? I encourage people to ask me questions as I sometimes run out of blog topics. As I’m sure you [...]

More »

How to compile and execute a Java file from within another Java Program

A few months ago I was tasked with writing a Java pseudo-compiler that would translate a made-up language, “One-T”, into Java. I guess what the teacher wanted was for me to create a stack that contained push and pop instructions and do all this complicated stuff. What I did instead was translate “One-T” into Java, [...]

More »

How to do Jagged Arrays in Java?

This is a brief tutorial on how to do jagged arrays in Java. Most of the time, when we thing of arrays, we think of  M*N rectangular arrays, where M represents the rows and N represents the columns. These type of arrays are easy to create in Java: public class arrayExample1 { public static void [...]

More »

How to update the Windows Media Player 11 library

So, I downloaded a cd from the Internet and I place it on my music folder. I then select all my music and hit “Play all.”  Nothing happens. It gave me some weird error about me missing some file or that something was broken. In other words, garbage. I googled the error and found the solution: [...]

More »

How to: Make the Backspace key work in Emacs

Help! Whenever I type the “backspace” key on my terminal in Windows, it brings up the emacs help page! Oh, noes! WHAT DO I DO? Panic! Halp! HALP! I TOO SCARED Have no fear, citizen! Simply go into emacs and, assuming you have version 21 or higher, type: M-x normal-erase-is-backspace-mode BAM. Problem solved. Keep on [...]

More »

How to: Dialing US toll free numbers from Mexico

I hate making international telephone calls. I live in the US-MEXICO (Tijuana-San Diego) border region, and it always happens that when I’m in Mexico, I have to call the US, and when I’m in the US, I have to call Mexico. It normally wouldn’t be such a big friggin deal if my cellphone handled it [...]

More »

How to teach Grandparents to use computers!

I’ve always wanted to teach my grandparents how to use computers. Computers are a big part of my life, but so are my grandparents. My grandma has been going through a bout of depression and I read in this article that doing something like this might help. Besides, I love spending time with my grandparents. [...]

More »

How to install django-oembed in WebFaction

Gave me some trouble, so I’d figure I would write a short guide for those of you unfamiliar with Linux. (By the way, if you guys need a good Web Host, I highly recommend the guys at Webfaction.com) Anyway, here is how you do it: CD into your webapp. Usually, it’s something like this: /home/username/webapps/your_app/ [...]

More »