Saturday, October 27, 2007

Tweaking TextMate Groovy Bundle

When using TextMate to work with Groovy code, I use the Groovy Bundle. When you run your code, the default behavior of the bundle is to popup a window and display the results in it. This can be a minor inconvenience to problems at times. For one, to quickly see the output especially during a presentation, I find the popup window annoying. Furthermore, the output may not be what you want to see. Take the example of the following Groovy code (saved in sample.groovy):

bldr = new groovy.xml.MarkupBuilder()

bldr.html {
body {
h1('foo')
}
}

When you press Apple R to run it, the popup window shows "foo" instead of the actual HTML output.



A little tweak to the bundle can fix this problem and make things more convenient. In TextMate, go to Bundles -> Bundle Editor -> Show Bundle Editor and navigate down to the Run command under Groovy.




Change the exit_show_html to exit_show_tool_tip. Close the Bundle Editor and back in the TextMate editor, press Apple R to see the output appear as tool tip.


Wednesday, October 17, 2007

Talking DSL with Scott

My good friend Scott finally came to my rescue and gave me some pills to swallow (I won't ask him what it was, but it worked )[Hope you are doing better Scott]. I got good rest on the flight (as much as one could get on a flight that is). I am looking forward to being at the SEC tomorrow before finally going home. A few weeks ago, Scott and I sat down to talk about DSL and while at it, we got a crazy idea to actually do a video recording as well.
He has posted it on About Groovy. Here's the link for the interview and here's the link for the video.

Comment by Demian Neidetcher (http://neidetcher.com)
Thanks for doing that screencast. I missed the talk in Boulder and was very happy to see you guys put something up.

The screencast format especially fits your format for presenting technical topics, it was great!

Pleasure and pain of being at the Grails eXchange

Visit to the first Grails eXchange was a pleasure and pain. I have been on the road for almost a month and I have spoken all except three days during that time. Plus, for some reason, last week I had trouble sleeping (first time I remember having problem sleeping!). So, by the time I got to London, I must have hit the limits my body can physically take. I managed to give my two talks there, though I was quite conscious I was loosing my rhythm. In spite of all the pain, I am go glad I made it there. I had the pleasure of meeting some of the great minds (key contributers) in the Groovy and Grails space.

I sat down with Kirk Pepperdine for an interview for Serverside (I will post the link to it later). I also had the privilege of meeting Geertjan Wielenga. I was mentioning to him how impressed I am in the way NetBeans has turned around for better. He said something that caught my attention: "I have been using NetBeans on a open source project I have been working on and I am happier with it now than I was several months ago." Look at what happens if a developer is also an active user of a product!

Later in the evening, Geertjan ask me to sit down for a few minutes for an agile interview (it is quite agile, he wrote it as we spoke and posted it soon after).

Monday, October 15, 2007

Looking forward to SEC

I am looking forward to meet some exciting software developers and practitioners at the Software Engineering Conference organized by CougarCS (CS students) at UH. I am told that close to 200 are expected in attendance. Thank you for the organizations that sponsored (especially those that kindly responded to my request) and the speakers who volunteered. I am quite amazed at the efforts the students have put in to get this organized. If you've not had a chance to register (free, but you need to register if you plan to attend), the deadline is at Noon on Tuesday Oct. 16th , 2007.

Finnishing a long trip

I am wrapping up a course in Finland today. This is my first time in Finland. The culture is different, but I find the developers share some of the same concerns and passions as anywhere else I've been.

The interaction has been different in classes here. I got educated that as to how they do not respond right away, but take the time to absorb what you say, and then ask you good questions. I found most of the attendees not only very attentive, but also very critical in their thinking. There were a number of genuine questions about the pragmatics of development practices, and discussions on how to approach for their specific environments. I look forward to returning here soon to interact further.

My next stop tomorrow is London where I am looking forward to give two talks (Agile Web Development with Grails and Domain Specific Languages in Groovy) at the Grails Exchange and to chat with some of the regular criminals on the circuit.

I am eager to return home after, what appears especially now to be, a long trip. The trip through seven cities across four countries started more than three weeks go. The exciting part is that I got to meet and work with some brilliant software developers and managers along the way. However, I can't wait to go back home and play with my kids!

Thursday, October 11, 2007

Dynamic Languages on .NET Rocks

I have been on the road for a few weeks now with very limited internet time and only now I noticed
that my recording on Inevitability of Dynamic Languages had been posted on .NET Rocks earlier this month.

If you are interested in dynamic languages, you can hear me talk to Carl and Richard about it there.

Comment by Mike Moore (http://blowmage.com/)
I really enjoyed that episode. You made a very compelling argument for dynamic languages on the CLR.