Think Different

Here’s to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes.

The ones who see things differently. They’re not fond of rules. And they have no respect for the status quo. You can quote them, disagree with them, glorify or vilify them.

About the only thing you can’t do is ignore them. Because they change things. They invent. They imagine. They heal. They explore. They create. They inspire. They push the human race forward.

Maybe they have to be crazy.

How else can you stare at an empty canvas and see a work of art? Or sit in silence and hear a song that’s never been written? Or gaze at a red planet and see a laboratory on wheels?

We make tools for these kinds of people.

While some see them as the crazy ones, we see genius. Because the people who are crazy enough to think they can change the world, are the ones who do.

 

Turns out, the TextEdit application in Mac OS X uses a portion of this text as part of its icon.

Retrieved from Wikipedia on June 22, 2011.

Duo Adept: An 8-bit Homebrew Computer


Man, I’ve always dreamed of doing this. Designing and building a computer (hardware, OS, software, everything) from scratch. This high school grad actually did this! According to this article on Yahoo, a programmer named Jack Eisenmann who just graduated from high school has built an 8-bit computer using an old keyboard, a TV and tons of boards, chips and wires. When I was struggling with wires, chips and boards, trying to build a simple digital timer; this guy was busy building a programmable computer. And when I was trying to see a ‘Hello World’ on my computer screen, he was busy designing an operating system and programming his homemade computer. Simply amazing!

Homemade 8-bit Computer by Jack Eisenmann



Retrieved from Yahoo! News on June 22, 2011.


Singleton Classes

Singleton classes are a design pattern used in software engineering which restricts the instantiation of a class to one object. At any time, at most one object of a singleton class can exist.

There are numerous ways to achieve this. Below is a simple approach implemented in Java:


public class Singleton
{
    private static Singleton instance = null;

    /* Since the constructor is private,
     * other classes cannot instantiate this class explicitly
     */
    private Singleton()
    {
    }

    public Singleton getInstance()
    {
        if (instance == null)
            instance = new Singleton();

        return instance;
    }
}