- I will be at next meeting of @AustinGGUG http://t.co/tonGzKyxXV … Topic is Grails 3.0M1 release in reply to AustinGGUG 22:33:49, 2015-02-18
- @luther07 Still in Austin, spending time with @AustinClojure and @AustinGGUG in reply to luther07 19:28:16, 2015-02-23
- I will be doing #GroovyLang or #Clojure at @OpenHackATX – thanks to @EngineYard and @CapitalFactory for hosting 19:29:14, 2015-02-23
- @STLStude If I ever complain about 40 degrees being cold, I will just pack up and move back north in reply to STLStude 19:31:42, 2015-02-23
I have started looking at Clojure. I think it can handle concurrency well, I think functional programming will become more important, and I think all roads lead to Lisp.
I started out by looking at some of the short introductions and tutorials on the Clojure subreddit.
Lisp variants actually have less punctuation than other languages, yet they can still be a bit hard to get used to.
I had a bit of enlightenment about anonymous functions. I could not see where they would be used. One of the tutorials said you would use then when you need a function that you might use only once.
Then I noticed that the tutorials seemed to use them as arguments to the “collection functions”, like map, reduce, filter, remove, split-with. Those functions take a function and a collection as arguments. I noticed that those functions were a common place to use anonymous functions.
- @yanpujante I just found out about Glu. Is Glu the #Groovylang counterpart to Chef or Puppet? 21:31:57, 2015-02-06
- @yanpujante Thanks for the info in reply to yanpujante 15:36:08, 2015-02-07
- @HowWeLearn I know I'm answering this late, but good one is http://t.co/8zNkNE5zPi by @Yegor256 in reply to HowWeLearn 15:41:22, 2015-02-07
- @HowWeLearn Yegor's emphasis on immutability in Java really changed how I think about Java. in reply to HowWeLearn 15:42:09, 2015-02-07
There are still some lists of free DNS servers out there.
I found two at About.com.
The first is called Top Free Internet DNS Servers. It gives some background info on each one.
The better of the two is called Free and Public DNS Servers. It presents them in a list format, which I prefer.
- @FindGrailsJobs Your site seems to be down 21:53:47, 2015-01-20
- Does anyone know if @Genymotion be used to develop #Android apps with #GroovyLang or #Clojure? 23:05:04, 2015-01-21
- @arasthel92 Thanks for the info in reply to arasthel92 08:39:48, 2015-01-22
- RT @philjackson: http://t.co/EA3BxUaTrX – some great #git and #github tips. 08:45:25, 2015-01-22
- @ClojuRRe Thanks for the follow 23:43:27, 2015-01-26
- Issue With #GroovyLang Validator http://t.co/rguXZLWoQu Why does AST code work in GroovyConsole but not in tests? 23:45:16, 2015-01-26
I am having some issues with the Groovy Validator project. Here is an email I sent to the Groovy user mailing list:
I am making some annotations to do validation on POGOs. The github project is here:
One of my annotations is @StringAnnotation, which has the properties minLength, maxLength and regEx. I also have annotations for ints, longs, floats and doubles.
I got them working with POGOs and POGOs that have the @Immutable annotation.
So far I have the annotations working for POGOs by calling a static method on a class called AnnotationProcessor, and the annotations are handled by @Immutable objects with AstImmutableConstructorTransform.
I decided I would like to process the individual annotations with their own processor, so I started with the @StringAnnotation.
The AST class is here:
There are a lot of println statements since I am trying to figure all of this stuff out.
The issue that I am having is that when I run some tests the StringAnnotationTransform does not seem to work. All the strings wind up null in my tests.
Here is the command I use:
gradle clean; gradle -Dtest.single=BookSequelTest test -info
Yet, when I try these in the Groovy console (which I run with “gradle console”) things work as expected.
Why does everything work in the console but not in tests? Any ideas?
I have a bit more free time on my hands these days.
I plan on getting more into Clojure soon. I might use it to build my mail server. Or I might try that with GPars first.
Before that, I will take another crack at Groovy Validator. I would like to get rid of the static class that processes the annotations for mutable objects. I have one way of processing them for immutable objects, and another for mutable. It should be the same to the end developer.