Pattern Postulate – The Singleton

September 6, 2011

I decided to flip through a little book called “Head First Design Patterns” today. It was 700 pages long, so I assumed it contained something good. In reality, it was about 700 pages of bulk. I guess for people who don’t understand something immediately, they’d have 50 pages to learn it… The design patterns in [...]

Read the full article →

Project Euler Problem 5 in Python

August 26, 2011

This one runs really fast.

Read the full article →

Project Euler Problem 4 in Python

August 24, 2011

I‘ve decided to take up Python as a hobby. Why? In school, we use Macs. Netbeans is hard to close quickly, but the terminal has almost instant loading. I can basically just type “python test.py” and there you go, the file is running. Plus, I’ve always wanted to use Vim. (I actually use MacVim; the [...]

Read the full article →

A Funny Game Idea

August 20, 2011

The other day, I was daydreaming and came up with a funny game which I call the “Computer Jargon” game. See if you can guess the references!

Read the full article →

The Best Way to Learn is not by Reading a Book

June 27, 2011

Often people ask me what the best book to learn a programming language is. The thing is, reading won’t get you far. Sure it’ll help you by doing rather boring exercises, but there’s a better way: learning from the start. Recently, I started learning Java so I could make plugins for the popular Bukkit server mod [...]

Read the full article →

What is taking up my hard drive space?

April 27, 2011

Most of us with at least Windows XP or Mac Leopard have at least 200 gigabytes of storage. That is a lot. But a lot of us tend to eat this up easily. How?

Read the full article →

The Power of the Facebook “Like” Button

April 23, 2011

We’ve all seen the Facebook like button. As a matter of fact, yesterday marked its first birthday. You may see the new one I just added to my site. But why is it so successful? The primary reason of the button’s success is its simplicity: no logins are required, no popups to click a share [...]

Read the full article →

Times New Roman is Dead.

April 17, 2011

Typography is changing once again. I was compelled to write this post because of a certain organization that has gotten on my nerves: the MLA. The MLA is basically an association that promotes uniform standards, and my English teacher and the rest of my school, city, and state follow it. With my OCD, I would [...]

Read the full article →

Project Euler Problem 6

April 14, 2011

The sum of the squares of the first ten natural numbers is, 12 + 22 + … + 102 = 385 The square of the sum of the first ten natural numbers is, (1 + 2 + … + 10)2 = 552 = 3025 Hence the difference between the sum of the squares of the [...]

Read the full article →

How to Rename Files on Mac

April 14, 2011

So I’ve got my Mac. I’ve been doing some screenshots and I can’t figure out how to rename a file in Mac OSX. But it turns out, it’s very simple. Select the file, press Enter, then type in the filename of your choice. Simple. Mac.

Read the full article →