You are not prepared

month

January 2011

1 post

It does end up wasting more resources

Having to drag the cans to the curb every week is a bit of a pain, but I’d much rather live in a neighborhood with garbage collection than have to manually release every object I retain.

Jan 30, 20111 note

December 2010

3 posts

I'd rather have chapped lips

For the last couple days, I’ve had David Lee Roth stuck in my head.

AND HE’S WEARING ASSLESS PANTS!

DEAR GOD!

PLEASE SEND HELP!

Dec 17, 20100 notes
“What if you’re happy and you don’t know it?” —The Three Year Old, at breakfast this morning.
Dec 11, 20100 notes
Daily Kōan

I love the smell of Xcode in the morning: It smells like …

… challenges.

Dec 10, 20100 notes

November 2010

3 posts

Waiting for Jackie Mason

The one year old, encouraged by her older sister, has become enamored of knock-knock jokes. To be specific, she’s become enamored of a knock-knock joke. It goes like this:

1 Year Old: Knock-knock.

Dad: Who’s there?

1 Year Old: Nuffin.

Dad: Nothing who?

1 Year Old: <silence>

3 Year Old: <hysterical laughter>

The thing is, I don’t think either of them really “get” the joke, and it’s funnier than anything I’ve come up with in years.

Nov 08, 20100 notes
Play
Nov 03, 20100 notes
OpenGL ES for iOS → iphonedevelopment.blogspot.com

quatermain:

Jeff LaMarche (yes, that Jeff LaMarche) has been working on an OpenGL ES book for Pragmatic Programmers for a while now, but due to a lack of time to work on it (he is also very busy as one third of MartianCraft) has had to cancel the project. The good news is that as a result he’s now publishing the completed portions of the book on his blog, chapter by chapter. So far we have:

  • Chapter 1 — Introduction
  • Chapter 2 — Meet OpenGL ES
  • Chapter 3 — Fundamentals of 3D Programming

It’s all well worth a read. Go to it people. Read and be awed.

Nov 01, 20109 notes

October 2010

18 posts

Oct 29, 20100 notes
Why men have two testicles? So they can trade one for something.

Someone needs to explain to me how it is that the Tacoma Mall has an Apple Store, but downtown Seattle gets nothing. It’s not like Seattleites don’t like Apple. They love apple. Look at this table!


(Note: This table is likely meaningless. Taken from mintdata.)

I just spent thirty minutes tooling around 2 different AT&T* stores and an Office Depot** looking for an iPhone stand. No luck. I swear that if there were somewhere nearby that I could actually act upon my impulses for Apple products and accessories, they would get $500 a month from me.

Update: I just became a backer of the Glif project. I’ll have to wait for my stand, but it’s only $20 and it looks like it’s just what I need.

*Of course we have two AT&T stores (pretty big ones too) within three blocks of each other. Counting Radio Shack, T-Mobile, Verizon, Sprint, and those sleazy looking affiliate stores, there are probably more places to buy a cell phone downtown than there are Starbucks. And there are a lot of Starbucks.

**It may have actually been an Office Max or even a Staples. Is there really any difference between those stores?

Oct 29, 20100 notes
Play
Oct 28, 20100 notes
I left my comfort zone at home

I’m trying desperately to come up with a joke involving feeling out of my element and the periodic table, but I’m way too uncomfortable to think straight.

Unrelated: They really should serve alcohol at these all-parent meetings at the preschool.

Oct 27, 20100 notes
Evidence

I have a feeling that my greatest fear is becoming realized and that the three year old is going to grow up to be a Republican.

I present the following evidence:

  • Her favorite animal at the zoo is the elephant.
  • Her favorite genre of music is country.*
  • And the clincher - Whenever you try and reason with her during an argument, she stomps her feet, grimaces harshly, and delivers this retort: “No! Don’t say that!”

As for the one year old, her favorite animal is the giraffe. So who knows what the hell that means.

*I’m taking a bit of poetic licence here. Technically, her favorite genre is bluegrass, especially if it involves a lot a banjo.

Oct 26, 20100 notes
“We went to a B-52s concert last month.” —My parents. (True story.)
Oct 26, 20100 notes
Oct 22, 20100 notes
Play
Oct 18, 20100 notes
bbum's weblog-o-mat » Blog Archive » When is a Leak not a Leak? Using Heapshot Analysis to Find Undesirable Memory Growth → friday.com

I saw a WWDC presentation that was very much along these lines as well, but for finding objects that were safe to dump when the app got a memory warning. It pays to get to know Instruments well, it’s a very deep and powerful tool.

Oct 18, 20100 notes
Alex Vollmer — Assert Yourself! → alexvollmer.com

Alex Vollmer has created a really nice Javascript library to make creating UIAutomation based tests easier. Be sure to check out tuneup_js as well.

Oct 18, 20100 notes
enormego:developers → developers.enormego.com

A nice collection of open source iPhone and Cocoa (and PHP) utilities.

Oct 16, 20100 notes
Oct 15, 20100 notes
Blocks

I wrote my first code using blocks today. It was only for a test project, not production code, but I thought I’d preserve it for posterity.

ALAssetsGroupEnumerationResultsBlock assetEnumerator = ^(ALAsset *asset, NSUInteger index, BOOL *stop) {
    if(asset != nil) {
        ALAssetRepresentation* representation = [asset defaultRepresentation];
        NSLog(@"UTI = %@", [representation UTI]);
        NSLog(@"Metadata = %@", [representation metadata]);
    }
};

ALAssetsLibraryGroupsEnumerationResultsBlock assetGroupEnumerator = ^(ALAssetsGroup *group, BOOL *stop) {
    if(group != nil) {
        [group setAssetsFilter:[ALAssetsFilter allVideos]];
        [group enumerateAssetsUsingBlock:assetEnumerator];          
    }
};

ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];
[library enumerateGroupsWithTypes:ALAssetsGroupAll
                       usingBlock:assetGroupEnumerator
                     failureBlock:^(NSError *error) {
                         NSLog(@"A problem occured. %@", error);
                     }];
[library release];

I wrote it to answer this Stack Overflow question.

Oct 15, 20101 note
Next page →
2010 2011
  • January 1
  • February
  • March
  • April
  • May
  • June
  • July
  • August
  • September
  • October
  • November
  • December
2010 2011
  • January
  • February
  • March
  • April
  • May
  • June
  • July
  • August
  • September 1
  • October 18
  • November 3
  • December 3