August 2010 Entries

Stop the Mediocrity…

“Art & Copy” just shattered my status-quo. While the film is essentially a documentary about the top advertising firms, I found it overflowing with inspiring and challenging ideas from the best in the field of advertising. The men and women from these firms are brilliant. They literally defined some of the culture that we all take for granted. While diverse in background and approach, each has the task of connecting to their audience, usually with the goal of affecting change or action. Each uses different styles and comes with a different perspective. And yet, they share...

posted @ Friday, August 20, 2010 12:32 AM | Feedback (0)

Preventing Inlining for Code that Inspects the Stack Frames

There's a first time for everything. Today, I got to use the attribute that prevents a method from being inlined. There's a good post, including a bit of a warning, on the MSDN forums regarding the issue and solution. In my case, I was looking at the call stack to get the current method, so that I could pull some metadata attributes off of the method. Worked well until it hit the build server. Then the unit tests started failing. Adding the [MethodImpl(MethodImplOptions.NoInlining)] attribute did the trick. If you're going to try this, I'd recommend the...

posted @ Saturday, August 07, 2010 1:08 AM | Feedback (0)