Wednesday, August 20, 2008

See the Data, Be the Data at 360|Flex

Juan Sanchez and I just got done with what turned out to be a really fun presentation on Data Visualization at 360|Flex. We had code samples that we didn't get to, but hearing feedback it seems like people were fine with that and enjoyed the chat about theory a bit.

Here's the presentation:

See the Data, Be the Data
View SlideShare presentation or Upload your own. (tags: juan sanchez)


The code samples are up here - if you're not using git, you can still click the download link and get a tarball of the source code. Thanks to everyone who came to see the talk.

UPDATE:

I noticed that this preso is up on AMP now, and as I watched it I noticed how I failed to answer the question about the 2D picture for 1D data in the olympics example. I talked about lying and all that stuff, but what I didn't get was that as long as the *area* of the circles showing the gold medals was in proportion, then the graph was true to the data. Sorry for being misleading, there, I was a little thrown by the question, but I should have be able to get it.

Flex on Rails at 360|Flex

My Flex and Rails presentation at 360 went really well, and thanks to everyone who came that early in the morning.

All the code can be found at Git-hub here

And the presentation can be found up here, or embedded right here:

Flex And Rails
View SlideShare presentation or Upload your own. (tags: flex 360)


Luckily the 360 Guys also had a sweet video set up which you can watch through Adobe Media Player. Ted Patrick has more here, since I'm not sure how to include the badge that links directly in just yet:

http://www.onflex.org/ted/2008/08/360flex-15-sessions-posted.php
http://www.onflex.org/ted/2008/08/360flex-sessions-media-rss-feed.php

Again, thanks a lot for showing up and I hope the presentation was helpful.

Monday, August 11, 2008

DHH on the UIRC

I was fortunate to be able to take part in an interview with David Heinemeier Hansson on the User Interface Resource Center.

As always, David was on point about the ingredients of good software, both from a framework and an interface perspective.

Process is on my mind a lot these days: process for building great software, process for dealing with clients and features, and it's great to have a public figure like DHH to be able to point to, who's made the arguments again and again, and just has the rap down.

Great read, and some nice audio clips too.

Thursday, July 17, 2008

Use blank fixtures for Bj tables when testing with Bj

I have an integration test where I need to test a web process that starts a background process with Ara T Howard's awesomely named Bj plugin (Background Job - but never has overhearing talk about Rails testing cause so many funny looks and stifled laughs).

I found some great notes here: http://robsanheim.com/2008/07/10/notes-on-testing-bj-background-job/ which show how to wait for a job to finish during a test.

One problem I ran into, though, was that I somehow had a bad job that got stuck in the testing database table, and that was messing up testing results because Bj would wake up during the test, see the old bad job, and resubmit it. It took a while to track that down.

I fixed it by simply putting blank fixtures in test/fixtures for each of the Bj tables: bj_config, bj_job, and bj_job_archive. That way Bj starts from a blank slate when each test starts. There's a Bj protip for you. Another one is to watch the Bj logs for the test environment.

Monday, July 14, 2008

360's coming, did you bring your coat?

So Tom and John have really been putting on the pressure to blog, so here I am! Finally blogging!

I'm going to be at 360 Flex in San Jose on August 17th (register at http://360flex.eventbrite.com/), and if you're new to that conference, you should definitely think about going. 360 is more fun than a lot of other conferences I've been to in the past because of the close-knit community and the effort that Tom and John put into making the event work smoothly and fun for everyone.

I'm going to be speaking about my perennial topic, Flex and Rails, this time with more focus on RubyAMF and getting things connected. I'm also lucky enough to be presenting on Data Visualization with Juan Sanchez of ScaleNine.com fame, a friend and colleague. We're going to try to put on a good show for you guys, so, we'll see you there right?

Sunday, July 13, 2008

UIRC scores Iron Man Interview

Ok, maybe not with Iron Man himself, but close. The User Interface Resource Center, (UIRC) which is sponsored by my company EffectiveUI, has a great interview up with Kent Seki, the designer in charge of visualizations and HUDs for the Iron Man movie.

Not only is this a great interview, but I like the way the UIRC is approaching talking about UIs. This interview and another one a little bird told me is coming up are some great cross-cutting looks into people who think hard about designing innovative interfaces.

Wednesday, June 25, 2008

Flex Needs Some New Thinking

Anyone who's used Ruby or another dynamic language (I suppose Python is good, but I can't stand the syntax and whitespace-nazism) and started to really grok it and what you can do with a dynamic language with a friendly syntax generally feels a resistance from deep down in their soul-area when they have to go back to Java-land or worse.

I feel less of that resistance when I switch from Ruby to ActionScript via Flex, but it's still there. Especially since I know that a lot of dynamic capabilities are available, but bad for performance and confusing to other developers expecting the more common approaches.

I happen to like Cairngorm just fine, although a lot of people complain about its red tape and preponderance of boilerplate code and I would be happy to use something less bloaty. I like PureMVC as well, but I don't find it to be any better than Cairngorm at what people usually complain about Cairngorm for. There's nothing wrong with Cairngorm that a code generator and Prana won't fix for me, but I'm a little set in my ways, nothing against PureMVC at all.

In fact any of the other frameworks that are popping up as alternatives to Cairngorm, PureMVC, or Roll-your-own, like Mate and Swiz are mostly just cutting down on clutter, but using the same ideas. There's merit to that, but I want to see what thinking like a Rubyist could do for us.

I'd like to try to learn from the dynamic language community and try some new thinking and new approaches to solving framework issues, and it's good to see others thinking about it too:

Jay Fields has got a lot of experience from the Rails and Rails testing world and has some great thoughts on testing in Flex and on Flex in general that resonate with me. I'm excited to see some favorable views on Flex from the Rails community and I hope it continues so we can get some new thinking, new techniques, and get that stuff recognized and incorporated in the Flex community.