Posted by:
Shawn Hartsock
on 2012-04-20 12:44:20.0
Many, many, years ago I got the chance to work with a highly seasoned developer. This guy had helped write tools like make. Yes kids... he worked on an early version of make. So as he came up to speed on our new system I left him be, figuring who the heck was I to direct his work at all? I was just some schlub who started at the company earlier.
This seasoned developer got under the gun on his first project at our little company and we had a monthly UAT cycle. In the process this...more »
Posted by:
James Williams
on 2012-04-20 10:30:00.0
Even though I've only been using Todo.txt for a couple days, I've fallen in love with it enought to figure out how to write an add-on. Because it uses a lightly formatted text file, if you have a good grasp of String manipulation and File I/O, you are off to the races.
One of the add-ons that I installed with Todo is lately. It gives you a listing of the tasks you have completed in a certain threshold. I loved the add-on but my list is a combination of my work and personal...more »
Posted by:
Shawn Hartsock
on 2012-04-17 08:45:00.0
This post was sitting in my drafts bin for a while but I decided to finish it off and post it today. My apologies if it is a bit dated and not up on current Clojure syntax.
I was at Clojure User's Group, NYC back in 2011...
And Stuart Halloway flashed this code on the screen:
(describe String (named "last"))
He complained that while it appears simple, it is in fact not simple and showed this code instead (which does the same...more »
Posted by:
Burt Beckwith
on 2012-04-17 02:20:00.0
The process for publishing plugins changed this week. The old Subversion-based repo at http://svn.codehaus.org/grails-plugins/ is now read-only and plugins now must be published to the new Artifactory-based repository at http://repo.grails.org/grails/. This means that plugin developers and users will have to make some changes – see this User list thread – but plugin publishing will be a lot faster and far less likely to corrupt the master plugin list. See the updated “Creating...more »
Posted by:
James Williams
on 2012-04-16 13:00:00.0
One of the default settings in Ratpack is that it starts applications on port 5000. It's easy enough to override this but on several occasions I deployed several Ratpack apps in the same container and have one or more fail to deploy because the port was already in use.
A solution to this annoyance is to have Ratpack dynamically select a port instead of defaulting to 5000 as shown in the snippet below:
def findOpenPort = {
def port = new ServerSocket(0)
...more »
Posted by:
Shawn Hartsock
on 2012-04-13 11:00:09.0
This post was sitting in my drafts bin for a while but I decided to finish it off and post it today. My apologies if it is a bit dated and not up on current Clojure syntax.
I was at Clojure User's Group, NYC back in 2011...
And Stuart Halloway flashed this code on the screen:
(describe String (named "last"))
He complained that while it appears simple, it is in fact not simple and showed this code instead (which does the same...more »
Posted by:
Sam Brannen
on 2012-04-13 09:48:00.0
Sam Brannen will be presenting “Effective out-of-container Integration Testing” and “Spring 3.x and MVC Testing Support” at the 4Developers Conference in Poznan, Poland on Wednesday, April 18, 2012.
4Developers is the biggest programming event in Poland — 400 developers, 4 parallel tracks and more than 30 speakers!
4Developers is a professional, technical conference for developers, project managers and all students interested in programming. It is a place to...more »
Posted by:
James Williams
on 2012-04-12 02:00:00.0
Before the last week, my most recent task management system was a hodge-podge of Google Calendar events, notes written in a notebook, and QuickNote notes. Date sensitive things that were in QuickNote often were late as well as tasks when a good amount of details had those details overlooked when in Google Calendar.
About a week ago, I happened upon a task management system called Todo.txt. Having been familiar with its creator Gina Tripani, I had heard of the system but had never...more »
Posted by:
Burt Beckwith
on 2012-04-10 07:03:00.0
Grails 2.0.3 was released this week to address some issues with the 2.0.2 release, in particular being too aggressive with the updated parameter binding fixes. Check out the release notes for the details.
Interested in taking the SpringSource Groovy and Grails course? Check out the course info and updated schedule. The course is currently available in Columbia MD, Chicago IL, San Francisco CA, Paris, London, Brussels, Bangalore, and online. I wouldn’t mind teaching the class in Bangalore...more »
Posted by:
James Williams
on 2012-04-08 21:00:00.0
Hat tip by Jonathan Beri who just made his own circle management post.
At first, when you try to organize your circles I felt like I was (possibly inappropriately) judging people. But after realizing that only you can see your circles, I didn't feel so bad and saw it as a powerful tool to help me consume content.
The only overarching rule I have is to not put people in too many circles and stick to what I believe is their strongest characteristic or aspect in which I...more »
Posted by:
James Williams
on 2012-04-08 20:30:00.0
About a month ago, there were a couple of posts about making an autocomplete solution using tries. Inspired by it as an interesting engineering problem I decided to use the Python code from this post and create a solution with Groovy and Ratpack for a hack day at work.
A trie or prefix tree is a tree structure that generally stores string data. In the figure below, we can see a basic example of a trie that stores airport codes. Typing the characters in a node will return the...more »
Posted by:
Ken Sipe
on 2012-04-05 13:55:28.0
I recent ran into a interesting situation, for which I thought it would be worth sharing. I have a new project with the following build needs: Java, Spring MVC and Spock Testing. The problem is simple... The WAR build in gradle was building a WAR file that included the Groovy libraries. This project has no need for groovy at runtime. Groovy is needed because I'm using Spock for my testing.Gradle and providedCompileIn older versions of Gradle it was commonly necessary to manage the jars in...more »
Posted by:
Burt Beckwith
on 2012-04-02 13:13:00.0
Grails 2.0.2 and 1.3.8 were released this week, primarily to address parameter binding issues. See the release notes for 2.0.2 and Jeff’s blog post on the data binding issues. You should also read the SpringSource security advisory CVE-2012-1833 and Marc Palmer’s blog post “Inside the Grails dependency injection binding vulnerability”.
It turns out that the new whitelisting features in 2.0.2 were a bit too aggressive, so expect a 2.0.3 release soon to address that....more »
Posted by:
Guillaume LaForge
on 2012-03-30 02:43:00.0
Posted by:
Shawn Hartsock
on 2012-03-29 13:12:24.0
I had a great time at POSSCON 2012, met up with Steve Graham (a fellow Triangle Resident), got to talk to Jon 'Maddog' Hall, and a whole host of Open Source luminaries. I even learned what a Palmetto is.
My talk was An Introduction to Grails where in I live code while explaining each line. The source code is up on github now if you want. The slides are naturally available below:
POSSCON is definitely a conference you should check out.more »
Posted by:
Burt Beckwith
on 2012-03-26 09:51:00.0
A Grails application won the Neo4j Heroku Challenge.
The prolific Bobby Warner has created a new screencast, “Making Money with Grails”.
STS 2.9.1 was released.
Katasoft has renamed to Stormpath and is offering commercial support for the excellent Shiro security framework.
“Static Typing”
If you want to keep up with these “This Week in Grails” posts you can access them directly via their category link or in an RSS reader with the feed for just...more »
Items: 1 to 20 of 3350
Next »
NFJS, the Magazine
2012-04-01 00:00:00.0 Issue Now AvailableConnected Data With Neo4J
by Tim BerglundOn Prototypal Inheritance, Part 1
by Raju GandhiLog4JFugue Part Two
by Brian TarboxDemystifying Java-Groovy Integration
by Venkat Subramaniam