Monthly Archives: August 2010

Netflix + Apple TV, a match made in heaven.

Bloomburg Businessweek: “Programming from Netflix may enhance the appeal of a product that has been called a “hobby” by Apple executives and hasn’t resonated widely with consumers. The Cupertino, California-based company is due to release a $99 version of Apple TV, $130 less than the current model, people familiar with the plans said last week.”

We’re already Netflix subscribers, I love the service, but a dedicated box for $99.00 sounds good. Add that to the list of Apple stuff I’d like to own.

Objective-C: Don’t make this mistake

Duct Tape, fixer of all things!It’s the little things that can drive a developer to jumping out a window. You plan a solution, code the solution, build the solution, run it, and… it doesn’t work. Most of the time you spot the problem right away, some times you’re left scratching your head, repeating over and over “this looks like it should work?” Of course you know better. It didn’t work, you just can’t see why. I had this problem last night so I thought I’d share with the world, ok not the world, just my electronic brain, so I can look it up later if necessary.

Here’s what I did.

@protocol Blah<NSObject>
-(void)somethingHappened
-(void)somethingElse
@end

Then I implemented the protocol.

@interface NeatoStuff : OtherStuff<Blah>
...
@end

Later, in a different hunk of code I want to send a message to that implementation, so I did something I’ve now done many, many, times. I check to see if the delegate I’ve been given actually answers the message(implements the method) I’d like to send.

SEL delegateSelector = @selector(somethingHappened:);
if ([_delegate respondsToSelector:delegateSelector]) 
{ 
    [_delegate performSelector:delegateSelector];
}

It didn’t work, and I couldn’t see why. Can you? I’ll wait, go ahead and look it over again, I’ll play some Jeopardy music while you work.

Did you spot the problem? It’s one little character. This…

SEL delegateSelector = @selector(somethingHappened:);

Should be this…

SEL delegateSelector = @selector(somethingHappened);

Yep, that’s it. One little “:” had me pulling my hair out, and I just couldn’t see the problem to save my life, at least not for about 10-minutes of outright frustration.

The message doesn’t expect to receive arguments, so the “:” is not necessary. Note to self: Don’t do that again.

Join LEVEL

LEVEL Studios – Careers: “We believe that truly great work is born out of a professional, yet casual and collaborative environment. Each of our offices has their own unique vibe, but all share our corporate culture based on creativity, flexibility and teamwork. Coffee. Darts. Videogames. Whiteboards. Scooters. Nerf footballs. Brownbag brainstorming. More coffee. And plenty of interaction between clients and co-workers.”

Come on in, the water’s fine, and we’re doing lots of cool stuff. You even have different locations to choose from; San Luis Obispo, San Jose, and Los Angeles.

Oh, and the site fails to mention LEVEL Secret #2.

Movie line of the week

And.... ACTION!Sorry, I’ve been very busy as of late.

Here’s the line, good luck.

Actor #1: You know, for an old man you ain’t bad in a fight.
Actor #2: Thanks.
Actor #1: What are you, like, 80?

Ok, quick, what movie! Send your guesses here.

Need a job?

Dropbox Jobs: “When it comes down to it, you want to work on things you enjoy. At Dropbox, you’re free to choose what you work on because we want you to own a project and feel passionate about it. Since we don’t wait for product cycles, this means that you can start a project on Monday and have it seen by millions on Friday.”

I just installed Dropbox on Kim’s Mac and this is one of those tools you need in your daily workflow. It’s just necessary.

Anywho, looks like a pretty nice place to work, especially if you dig San Francisco.

Smartphone Evolution

Marco Arment:“Fans of the former types of smartphones and much of the tech press declared this smartphone useless or not capable enough because of its lack of a keyboard, its non-removable battery, its lack of expansion slots or ports, and other hardware features in which Apple chose differently from what most other manufacturers were doing.”

I was just talking to a co-worker about this the other day. Apple managed to wake up the smartphone market. Now we have such great choices; iPhone, Android, and Palm.

Movie line of the week

Cut, cut, cut!
Good morning, it’s been a busy week here, too much to do and no time to do it. The good news is we have a movie line to share, the bad news is we have a movie line to share. Here it is, good luck!

All right, but apart from the sanitation, medicine, education, wine, public order, irrigation, roads, the fresh water system and public health, what have the Romans ever done for us?

Ok, quick, what movie! Send your guesses here.

Oracle vs. Google

RoughlyDrafted Magazine: “Oracle’s purchase of Sun was likely done in part to get the Java intellectual property that could be used by Oracle to stab Google in the face. And yes, Oracle isn’t just after money, it’s after blood. In its complaint, Oracle does’t just demand monetary infringement damages, it’s seeking to have any code that is found to infringe upon Oracle’s copyrights “impounded and destroyed.””

If Oracle wins what does this mean for Android?

This will be fun to watch from the cheap seats.