<head> web conference: October 24-26, 2008

11.11.2008

Why I surrport gay marriage!

I wanted to take a moment on my blog to share a small video on MSNBC by Keith Olbermann talking about Gay marriage and my outrage with the passage of Prop 8 in California.

I've long been a supporter of Gay marriage. I believe it to be the right of all citizens of this planet to be happy. I believe it to be the right of all citizens of this country to have equal rights under the law. I believe that discrimination and intolerance are the biggest problem we face as a society, both locally and internationally. I also believe that any law that takes rights away from citizens based on religious beliefs is wrong regardless of the separation of church and state.

It's difficult to speak about it without breaking down into accusations in anger. Without pointing fingers. Without blaming religion. Without judging people, exactly the behavior I wish, with all my heart, to discourage. Lucky for me, there are others in this world that can speak more eloquently on the subject. Please, for the sake of us all, watch this short video.



http://www.msnbc.msn.com/id/27650743/

10.29.2008

Are you a Programmer or a Manager?

A man flying in a hot air balloon suddenly realizes he's lost. He reduces height and spots a man down below. He lowers the balloon further and shouts to get directions, "Excuse me, can you tell me where I am?"

The man below says: "Yes, you're in a hot air balloon, hovering 30 feet above this field."

"You must work in Information Technology," says the balloonist.

"I do" replies the man. "How did you know?"

"Well," says the balloonist, "everything you have told me is technically correct, but It's of no use to anyone." The man below replies, "You must work in management."

"I do" replies the balloonist, "But how'd you know?"

"Well", says the man, "you don't know where you are, or where you're going, you expect me to be able to help. You're in the same position you were before we met, but now it's my fault."

Taken from Stack Overflow Thanks Gulzar!

10.28.2008

The joys of working for Microsoft

I work at PBJS a creative agency that does a lot of work as a vendor for Microsoft. As a creative agency we do a lot of design work on Macs. The entire Art Department has Macs, I have a Macbook Pro laptop, our editing stations are Mac Pros. You get the idea. This is nothing shocking, the majority of creative agencies I've seen have Macs as their primary workhorse machines.

Since I do a lot of development I have a PC as my primary work machine, along with my fellow Interactive developers. I use Visual Studio for a lot of my coding. I'd even say "I'm a PC" on one of those ads. The fact is, I use them both to do my job depending on the given task.

Right now we are doing an installation for the new Microsoft Company Store. This week myself and the art director are going on-site to tweak in the space. Since we need to have our work computers with us, we needed to find a way to sneak a Mac Pro into Building 92. A picture is worth 1000 words!





MacPro box, turned inside out with Simon, our logo, and the words "I'm a PC". That should do nicely!

Labels: ,

10.09.2008

Access WPF Storyboard in XAML from code-behind (C#)

At more than one time working with WPF I've wanted to create a generic Storyboard using Blend because it saves me time and gives me a nice time line type layout to create/tweak my Storyboard. What happens is when you save the Storyboard it's added to the Windows.Resources collection the XAML. In Silverlight you can access these Storyboard resources directly using their x:Name value. In WPF, however, you need to do it slightly differently.


  • First, You need to specify x:Key for each Storyboard

  • Storyboards must be found using TryFindResource:

    Storyboard myStoryboard = (Storyboard)TryFindResource("myStoryboard");

  • TryFindResource will only work if the Storyboard is in the Window.Resources section of the XAML and you're in the code-behind of that XAML

  • Once you have the reference to the Storyboard contained in a variable you can call the various Storyboard methods on it. To run it, use the Begin method:

    myStoryboard.Begin();



Here is a quick code snippet to help you out.



Here is the XAML:

Labels: , ,

10.03.2008

Discovering Qik.com Video Streaming from my phone.

So I was following up a Tweet by <head> organizer Aral Balkan and it took me to Qik.com. There I found a fun little app that captures live video streaming and makes it available on the web.

Here's the best part. On my initial test, a co-worker at PBJS came up to my desk to say "hello" or probably ask me how much work I was getting done. Either way, this is raw reaction here people. This is WHY developers make these types of apps.




"That's cool!" Indeed.

9.19.2008

WPF Full screen accross multiple monitors

I've been working on a cool instillation project for Microsoft and one of the things I need to do is have my application go full screen across multiple monitors. By default, if you maximize your application window inside Windows it fills the Primary Screen or Active screen but it doesn't go across all monitors. You have to manually drag the application window across to have it show up on more than one monitor. What if you wanted to make a screen saver for multiple monitors? Doing some internet searching I pieced together this little solution. Here is a code snippet that maximizes your WPF app window across all monitors in multi-mon setups. It also adds a listener for the ESC key to close the window down. Hope this helps people find this solution faster in the future.



Then in your XAML make sure you don't have any values set so the code behind can do it's thing.

Labels: ,

9.12.2008

Hug a Developer