The Kaptain on … stuff

Archive for October, 2009

25 Oct, 2009

Grails-UI DataTable using XML for a model

Posted by: TheKaptain In: Development

I had a great chance to play with some new stuff this weekend, namely Grails 1.2-M3, the new Grails REST plugin and Groovy in general. Awhile back I wrote some Groovy code to explore the various Jira, Fisheye and Crucible REST api’s using Apache HttpClient directly, and I wanted to see what it would like […]

Share

24 Oct, 2009

Groovy reverse map sort done easy

Posted by: TheKaptain In: Development

Sorting a Map by value with Groovy is very simple, due to the added ‘sort’ method on the Map interface. Turns out doing a reverse sort on a Map by values is almost as easy. Using the spaceship operator (‘< =>‘) you can define a very terse syntax for accessing ‘compareTo’, as long as the […]

Share

11 Oct, 2009

Twitter Weekly Updates for 2009-10-12

Posted by: TheKaptain In: TweetTweet

LOL! RT 37signals is now worth $100 billion. Congrats guys! http://bit.ly/11P45W # Back working with JBoss Seam today. And it seems I missed it too. Don't worry Grails, I still love you more 🙂 # RT @aalmiray: ♺ @pledbrook How to test your Grails scripts: http://tinyurl.com/ycsjwc8 we're so borrowing that for #griffon 😉 # Out […]

Share

04 Oct, 2009

Twitter Weekly Updates for 2009-10-05

Posted by: TheKaptain In: TweetTweet

RT @alphasimple http://alphasimple.com is now available! Please complete survey. Interested in alpha testing?Just drop us a line.RT@abstratt # Is it an omen if your screensaver shows words from a Dictionary and you come back to your desk to find "anomaly" splashed across the screen? # For all the times I'm told to build(another) JTable visualization. […]

Share

04 Oct, 2009

Groovy CliBuilder with multiple arguments

Posted by: TheKaptain In: Development

I’ve been writing a lot of Groovy scripts lately and have developed quite a fondness for the CliBuilder along the way. There’s lots of great examples on the internet, but I could only find one place that demonstrated how to easily consume an unknown number of parameters as a List and that was a copy […]

Share

About

Tales of development, life and the folly that goes along with both.

Tags

profile for TheKaptain at Stack Overflow, Q&A for professional and enthusiast programmers
Get Adobe Flash player