Getting back into the swing of things

 

It’s been a solid 17 days since I started Destroy Everyday—the creation-a-day mini blog aimed to balance my life between coding and off-the-computer mediums. So far, it’s been a success, meaning I have yet to miss a day. It’s been such a personal success that I’ve somewhat neglected the mothership—Destroy Today. Now that I have a solid routine down for the new year, it’s time to get back to business and stay active across the board.

I have a number of new DestroyFramework classes ready to document and check-in over the next few days. I plan to get back into sharing interesting and useful things I come across, regarding both programming and design. And, now that I’ve been introduced to MVC(S) and RobotLegs, I have a lot more to talk about—expect a tutorial in the near future.

To add some imagery to this post, below is yesterday’s Destroy Everyday post featuring Andy Mangold. I also included a detail shot because the web-sized image really doesn’t do it justice.

andy

andy_detail

Using code to problem-solve everyday issues

 

If I spend a third of my life sleeping, I spend another third programming. Most of the code I write is for an application or framework, but lately I find myself using code for everyday problem solving. In the last post, regarding the width of DT, I wrote a 3-line script to find sizes with 3:2 ratios, without decimals. Here’s the code:

1
2
3
for (var w:uint= 576; w < 650; ++w) {
	if (w / 1.5 == int(w / 1.5)) trace(w, "x", w / 1.5);
}

Sure, it’s not the prettiest code, but it gets the job done—and in less than a minute. Without these three lines, I could have spent a good 15 minutes with the calculator widget.

Another scenario where code came in handy happened a month ago. I visited my sister, Lizzy, in Philly and we decided to play Scattegories. Unfortunately, she didn’t have the die to pick the letter for each round. Luckily, I had my laptop with me, so I wrote this snippet:

1
trace("abcdefghijklmnopqrstuvwxyz".substr(int(Math.random() * 26), 1));

In less than a minute, we had a pseudo-random letter and a fun time. There are dozens of moments each day where code is the quick solution, but I don’t always think code-first. Of course, code isn’t always the fastest solution to all problems, but it certainly comes in handy. Next time you have an issue, try using code. Heck, you can even write a 1-line 8-ball script if you have trouble making decisions.

Interview on RIA Radio

 

RIA Radio

The RIA Radio podcast episode that I was a guest on the other week has been posted to the InsideRIA website. It’s a solid hour and a half, so if you plan to listen get a bag of popcorn—I’m a bit long-winded. We discuss my new job at Adobe, how I got started with AIR, the origins of “Destroy Today”, and so much more. Check it out and keep track of how many times I say “you know.”

Miracle Whip commercials: 1991 vs 2009

 

Is anyone else deeply disturbed about the new Miracle Whip commercial that’s currently airing? There’s a huge disconnect between the brand and the rebel style of advert. Because I was a bit surprised to see a commercial about Miracle Whip in the first place, I decided to see what they used to be like. Below is one from 1991—I just get it. It’s an alternative to mayo and everyone likes it.

Now, take a look at the one airing now. It’s just a shame what’s happened. Why do I immediately feel like I’m watching this Ketel One vodka commercial? I miss the tangy zip of Miracle Whip.

The feeling of San Francisco

 

Hotel view

If there’s one thing I love about San Francisco, it’s the views—seems like everywhere I look is filled gorgeous architecture, beautiful scenery, or just something unique. This photo is from my hotel room, where the Apple store glows bright next to Virgin records.

There’s always so much activity, but it’s not over-the-top or stressful. Though I did have the chance of walking through some shady neighborhoods, they’re nothing compared to those of Baltimore—it’s actually a bit refreshing, bringing a bit of familiarity to the west.

I think Robert Hodgin, of the Barbarian Group, said it best in his speech at the 2006 Flash in the Can, “If you’re constantly staring at an environment that doesn’t inspire you…I’d highly recommend you find the energy to pick up and move.” Oddly enough, he was referring to his move to San Francisco as well.

Icon memory usage in DestroyTwitter

 

Icon memory usage

In the next release of DestroyTwitter, I’m introducing a new icon preference. It lets the user choose whether they want small icons, big icons, or none at all. The choice is not entirely a visual one, but also one of resource usage.

The above profiler tests show the memory usage between the three options. As you can see, there’s a startling difference between DestroyTwitter when it has icons compared to when it doesn’t. That was expected to some degree, but what’s also interesting is the how slight the difference is between small and big icon memory usage. Since the big icons have 33% more bitmap data than the small ones, I assumed the margin would be greater than 641 kb.

Throughout development of DestroyTwitter, an option for bigger icons has always been high on the list of most requested features. I always pushed it to the side, claiming it would use a considerable amount of memory compared to the current size. After performing these tests, it’s safe to say that the difference is minimal. If you prefer a larger icon, you’re not going take a hit. With the option for no icons, however, are you tempted to go for text only?

At last! My arm is complete again.

 

Wacom

I misplaced my Wacom pen about six months ago. Losing it killed me since I’m not a mouse person and a replacement is a solid $60. Getting ready to drive back home from PA, I asked my ma to put something in the small compartment of my backpack. Keep in mind, I use this pocket more than any other part of the bag. She puts her hand in and pulls out my pen—it was with me this whole time.

I’m mentioning this because of two things. One—if you ever lose something, thoroughly check the most common place. I remember checking that little pocket many times, but I guess I just needed to check it once more. Two—if you don’t use a Wacom tablet, you should. It has saved my hand from carpal tunnel and surprisingly makes me program faster. The trick is setting the mapping to mouse.

How do you talk to your idol?

 

How do you talk to your idol?

Tonight, I spent some time looking at the work of someone I’ve looked up to for years now. His work is always original and leaps over anything considered innovative these days. I then stopped and wondered, “If I were to meet him, what would I say?” It’s a very hard question to answer. Do you tell them you’ve been following their work forever and gush over them like you’re on MTV’s Fanatic? Do you even mention their work or your interest in it, and stumble while trying to come off cool and down-to-earth?

It’s something I’ve always wondered. Last year, James Jean visited MICA and the entire school shut down (not literally). Everyone went crazy—like seeing The Beatles on The Ed Sullivan Show. I happened to have his book, “Process Recess”, which sells on Amazon for as much as $875. Of course, I wanted him to sign mine, but so did everyone else at MICA. When I got up to see James, I was clueless as to what to say, so I said nothing and held the book in front of him like Oliver Twist asking for more. He didn’t scream “Morrrrrrrrre?!” like in the movie, but he did look at me like I was just there to double the value of my book. Though the scenario wasn’t one to sit down and have a chat, I did feel a bit let down that I couldn’t even introduce myself.

Now, James Jean isn’t my idol, but now that I’m an Adobe employee, I’ll be meeting a lot of people I’ve looked up to over the years—especially being in San Francisco. I’m sure I’ll have more to say than when I met James Jean, but it makes me wonder. For those who have already met their idol(s), what did you talk about? I’m sure there’s a handful of good stories out there. Feel free to share.

I didn’t really know what sort of imagery to accompany with this text, so I used a shot I took a while back, trying out the 5D for the first time with Jen.