Re: Sample Forum

2018-01-17 Thread Paul King
Nice work Nathan, that certainly is a more pleasant user interface than nabble but I don't ever use nabble but rather just email clients. I'd certainly be happy advertising something like this as another alternate informal channel for Groovy communication alongside Slack and StackOverflow. If

Re: Sample Forum

2018-01-17 Thread Nathan Harvey
The delay can be removed, no worries :). The posts from the forums do not show up on the mailing list, but they show up as emails as if they were part of a mailing list. Basically the idea is that people don't have to leave their email client if they don't want to. Apologies if that was unclear.

Re: Improving named-argument support

2018-01-17 Thread Paul King
Yes, we have spoken about providing named arguments as a language feature before. It doesn't rule out the need for other options though. I have put some comments in the issue. On Thu, Jan 18, 2018 at 7:37 AM, Nathan Harvey wrote: > MG's approach is the one I favor,

Re: Sample Forum

2018-01-17 Thread Nathan Harvey
Let me clarify the two minute delay. When you start composing your post (on the forums, not from email) you of course have an unlimited amount of time for writing your post. Once you post it on the forums, it is posted to the forum instantly, but the email to people receiving emails alerts is not

Re: Sample Forum

2018-01-17 Thread Daniel Sun
Hi Nathan, Thanks for your spending time on setting up the forum. I tried just now, it's amazing! As for the following feature about delay sending, I wish you could remove it(and wish send the mail without any delay)... because if we are editing and have not completed in 2 minutes

Sample Forum

2018-01-17 Thread Nathan Harvey
Hi guys, today I have set up a sample Discourse forum for everyone to use. You can find it here: http://groovy.trydiscourse.com/ This forum is configured to behave almost exactly like a mailing list, for those who want it. You can mail in topics. For example, send an email to:

Re: Improving named-argument support

2018-01-17 Thread Nathan Harvey
MG's approach is the one I favor, although I am not sure I like using = in the calling syntax; the colon makes more sense to me. Small detail, though. -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Users-f329450.html

Re: Executing dynamic DSL command

2018-01-17 Thread Mohan Radhakrishnan
I've been reading the older posts and this code which constructs a closure works. It evalutes this line of code. bootStrap '//*[@id=\"pane\"]' public Object runInContext(Object context, String script, GroovyShell shell) { Closure cl = (Closure) shell.evaluate("{->" + script +