Archive for the ‘General’ Category

A crash course in pointers

Wednesday, April 27th, 2011

OK, so a crash course on pointers. This will be a long email. But it’s at least a month worth of classes crushed into a couple of pages.

A pointer is a variable literally pointing to an address (any address) in memory.

for instance:

int nVar = 12; //This is a regular variable!
int * pVar = 0; //This is a pointer variable!


Need to start posting more often!

Wednesday, April 27th, 2011

Ok, so between school, work, other projects and getting some gaming done, I just haven’t been able to post anything.

I shall soon, when I get my ruby project going!

XNA Mouse Input and Handling

Sunday, March 22nd, 2009

This is short tutorial on how I’m handling some of the mouse commands. I’m dumping it here in case some one find it useful:

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Graphics;

static public class InputHandler


Notice the libraries that are included. Only the ones that are strictly necessary. The reason it’s static and public, it’s to allow all other parts of the program access to it. This is handy because it will allow us to control menu selections, and gameplay at the same time without having to initialize the class everywhere. (more…)

Battlestar Galactica – Sometimes a Great Notion

Monday, January 19th, 2009

Thus will it come to pass. A dying leader will know the truth of the Opera House. The missing Three will give you the Five who come from the home of the Thirteenth. You are the harbinger of death, Kara Thrace. You will lead them all to their end. End of Line

Spoiler Alert: Episode – Sometimes a Great Notion. January 16th, 2006

This is the last line that the Hybrid gives to Starbuck before being unplugged during the Season 4 (1st half) Episode – Faith. Why is it so significant? Well, for the second part of season 4 this will be the line to unravel the story (or so my theory goes).

Danielle has an interesting theory actually. She believes that Starbuck is actually a 13th cylon or cylon related “creature”. The theory is actually pretty good if you tie it to this specific line. This is go it goes.


Anthony Bourdain in Colombia

Friday, December 5th, 2008

I tried to look for Anthony Bourdain’s email address on the internet with no success. He is apparently very hard to get a hold of, which seems reasonable with the crazy schedule he must handle whenever he shoots No Reservations. So my only hope is that maybe for one crazy twist of life, he stumbles across this post on the internet.

I grew up in Bogotá, Colombia. For many, the synonym for a drugs, violence and corruption. I grew up on a very different Bogotá though. Mine was full of kids playing soccer, my mom working 8am to 7pm and a catholic school that taught both Creationism and Evolution without any of the controversy surrounding the same matter here in the states.

I was not oblivious to the violence that occurred in my country growing up. I remember guerrillas taking over the Justice Palace where the supreme court of Colombia resided. I remember presidential candidate getting killed (one in a plane, one in a platform while giving a speech), and their funerals. I remember the kidnappings of periodists, the release of some and the dead of others. I remember bombs exploding on government buildings and malls. I remember Escobar being taken down from the roof of a house. His bloody shirt, and his limp hands tucked in his pants.

I also grew up on less violent times and yet a lot scarier. A corrupt president that gave half the country to the guerrillas in a lob sided trade to sit on “Peace talks”, and that same president that sunk my beatiful country so far into the mud that my family was forced to leave it in search of a better future.

Those are realities we cannot hide, not should we ever forget. Yet, life in Colombia has changed (as Anthony Bourdain so beautifully has shown). Gone are those days of daily fear. Optimism can be smelled in the air. An economic boom that has sent ripple effects through out the nation has occurred in the last 8 years. I didn’t get to enjoy any of those things, but I’m happy to see my own country do much better than when I left it.

From Serendipity to WordPress

Sunday, June 15th, 2008

Finally finished moving the blog from Serendipity to WordPress. I initially liked Serendipity better. Serendipity has a great community and it has a ton of plug-ins. However, Serendipity took way to long to load and it uses too many tables. Also the folders in Serendipity are a mess. I guess there is a reason why WordPress is the leading blog engine as it is flexible and light weight.

The migration was also a bit painful because of the way Serendipity stores the posts. I finally ended importing the entire set of posts by hand. It wasn’t that many (thank god!) but it took about 2 hours to do the whole thing.

I’m glad I moved to WordPress now. I think I might start posting more too because they have a great UI and the WYSIWYG is much much better and less buggy than serendipity’s.

Till next time!

The History of Martinez

Wednesday, May 28th, 2008

Recently I had to do some research about the city I live in. It turns out my town is full history. When I moved here I thought it was a small town that was more like a hole in the wall. After doing some very interesting research, I found out that it’s not only one of the first towns to be built along the coast of Northern California, but that it played a very important roll on the development of the state both during the Gold Rush and the Railroad Monopoly. It was also a fishing town, shipping point and had one of the first oil refineries in the west coast. Here is my Essay:


Boys will be boys…

Thursday, May 1st, 2008

I watched this video on today:

The story is simple. Tech guys in the silicon valley, get to gether once a month and beat each other up into a pulp. It’s a new story on itself. Fight Clubs have been existence for a long time, and although Brad Pitt and Edward Norton made them mainstream, this particular one predates the movie.


God damn it! I hate

Tuesday, April 29th, 2008

I think it’s not news to anyone that knows my web habits that I hate with a passion. They’re the most stupid website ever created. The problem is not the website itself or what they do. I have the guilty pleasure of trolling “top-ten” lists of all sorts. I enjoy the cheap thrill of enduring the first 9 boring items for the surprise punch effect of the number one. Hells, I even watched all the VH1 specials even though they recycled every single top ten with the same videos and just changed the title.

No… The problem I have with craked is that they’re not even honest on their lists. They don’t do research, they don’t even try to look up what they’re talking about before making a “statement” on the subject they’re listing.


artsy fartsy penny-arcade!

Monday, April 21st, 2008

Edit: Stupid Serendipity doesn’t let me embed video. So I added the url to penny-arcade TV on
I’ve always loved penny-arcade I’ve followed these guys since around 2002 when they got introduced to me by my good friend dustin. I haven’t been lucky enough to go to PAX, but I make a point to donate to Child’s Play

because I strongly believe on the power of video games (PSA: If you don’t already have a charity, please think about this one. It’s an honest effort from two guy in Seattle to try to make sick kids’ lives a little more enjoyable).