Auto-Incrementing Build Numbers in XCode

On 2011/02/05, in iPhone, by danny

When getting feedback from your users, it’s important to know what version of your software they’re having problems with.  Here’s a simple way to have an always incrementing build number in your project.

Continue reading »

 

Singletons in Objective-C

On 2010/11/15, in Objective-C, by danny

Here’s the fullest implementation of a Singleton pattern for Objective-C.

Continue reading »

 

Requirements for a useful website

On 2010/11/14, in Web, by danny

Everyone these days can put up a website.  My mom, the lady that never wanted to touch a computer when I was growing up, has a blog.  But what makes you, the user, want to use a website?

Continue reading »

 

Apparently recent version of Linux (including Fedora 13 and Ubuntu 10.10) running CUPS 1.4.x have a problem discovering Linux printers.  This appears to be a problem with the CUPS implementation on Linux.  As a temporary workaround, you can run the following command on your OSX system:

cupsctl BrowseRemoteProtocols=cups

Your printers should then immediately appear.

Sources:

 

Introduction

In this article, I’ll discuss some of the issues surrounding usability of open-source software and propose what I hope is an elegant solution.  I’ll use GNOME as an example because that’s what I’m familiar with the most, and is my personal preferred Linux desktop..  However, keep in mind that my comments are not specific to the GNOME project.

Continue reading »

 

Marketing: Engineered to Fail

On 2010/08/22, in Business, by danny

“We don’t have time to do it right, but we have time to do it thrice.”

Continue reading »

 

Is He Psychic?

On 2010/06/28, in Logic Problems, by danny
There are 3 students lined up one behind the other, facing the front of the room.  The teacher has 3 black hats and 2 white hats.  The teacher puts 1 hat on each student randomly, and tells them whoever can say for sure what their hat color is gets an A for the semester.

Continue reading »

 

Comparing Apples and Kindles

On 2010/06/26, in Business, Technology, by danny

Introduction

With the recent launch of the iPad, there’s been a lot of comparisons[1] between them and Amazon’s Kindle.  In this article, I’ll talk about why they really aren’t competitors and why it would be a mistake for Amazon to try to compete with the iPad.

Continue reading »

 

Introduction

The greatest advance the Internet has brought us is a new level of connectivity between people around the world.  And one area that has enjoyed the greatest benefit is online games.  Now, no matter where you are or what time it is, you can find someone to play a game with.  Anything from Chess to World of Warcraft, and even Monopoly.

However, because of both the sheer number of people on the Internet and because of the anonymity it offers, one aspect that holds back new or casual players is gaming etiquette.

In this article, I’ll describe some of the problems that an Internet-based game has and why this is compounded by traditional scoring methods.  And I’ll propose a method to alleviate these issues, making these games once again fun for all.

Continue reading »

 

Multi-Line Macros in C

On 2010/06/16, in C, Software Development, by danny

Every once in a while you need to use a multi-line macro in C.  Typically this is because you’re doing something like inlining, but for whatever reason inlining isn’t particle/portable.  I’ll first give you the template for doing this correctly, then explain why.

Continue reading »