Re: [MacRuby-devel] Tutorial for the new Sandbox class.

2010-10-09 Thread Matt Aimonetti
No worries, I merged everything into our svn repo and it will go in our next website deployment. - Matt On Sat, Oct 9, 2010 at 2:35 PM, Rob Gleeson wrote: > > On 8 Oct 2010, at 23:27, Matt Aimonetti wrote: > > > Thanks Rob, I didn't forget you, but I'm on a business trip and I don't > have the

Re: [MacRuby-devel] Tutorial for the new Sandbox class.

2010-10-09 Thread Rob Gleeson
On 8 Oct 2010, at 23:27, Matt Aimonetti wrote: > Thanks Rob, I didn't forget you, but I'm on a business trip and I don't have > the macruby repo setup on this machine so I'll merge your changes over the > week end. > > - Matt No worries. I spotted some errors in the tutorial, I mapped Sandbo

Re: [MacRuby-devel] Tutorial for the new Sandbox class.

2010-10-08 Thread Matt Aimonetti
Thanks Rob, I didn't forget you, but I'm on a business trip and I don't have the macruby repo setup on this machine so I'll merge your changes over the week end. - Matt On Thu, Oct 7, 2010 at 7:25 AM, Rob Gleeson wrote: > Okay, I modified the document a tiny bit making note of the return value

Re: [MacRuby-devel] Tutorial for the new Sandbox class.

2010-10-07 Thread Rob Gleeson
Okay, I modified the document a tiny bit making note of the return value of #apply!, and the SecurityError exception it can raise: http://github.com/robgleeson/macruby_website/blob/Sandbox_class_tutorial/content/documentation/the-sandbox-class.txt ___ M

Re: [MacRuby-devel] Tutorial for the new Sandbox class.

2010-10-07 Thread Rob Gleeson
On 7 Oct 2010, at 10:49, Nick Ludlam wrote: > Hi Rob, > I like the tutorial, it's nicely short and concise. One thing I'd like to see > is the expected outcome of running the code you've placed within the text. > Could you include this information underneath the code blocks? > > I'm imagining

Re: [MacRuby-devel] Tutorial for the new Sandbox class.

2010-10-07 Thread Nick Ludlam
Hi Rob, I like the tutorial, it's nicely short and concise. One thing I'd like to see is the expected outcome of running the code you've placed within the text. Could you include this information underneath the code blocks? I'm imagining that most people would try this out using the interactive

Re: [MacRuby-devel] Tutorial for the new Sandbox class.

2010-10-07 Thread Rob Gleeson
On 7 Oct 2010, at 07:55, Matt Aimonetti wrote: > Thx I'll merge the article asap (after a quick sanity check). > > - Matt > > Sent from my iPhone > Thanks Matt. ___ MacRuby-devel mailing list [email protected] http://lists.macosfo

Re: [MacRuby-devel] Tutorial for the new Sandbox class.

2010-10-06 Thread Matt Aimonetti
Thx I'll merge the article asap (after a quick sanity check). - Matt Sent from my iPhone On Oct 7, 2010, at 1:17, Rob Gleeson wrote: >> >> It looks good to me (but I'm not a native English speaker :)). >> >> I think this tutorial should be on the website. Would you mind converting >> it? If

Re: [MacRuby-devel] Tutorial for the new Sandbox class.

2010-10-06 Thread Rob Gleeson
> > It looks good to me (but I'm not a native English speaker :)). > > I think this tutorial should be on the website. Would you mind converting it? > If yes, some information is available here: > http://www.macruby.org/documentation/website-contributions.html > > Laurent > Done! :-) Commi

Re: [MacRuby-devel] Tutorial for the new Sandbox class.

2010-10-06 Thread Laurent Sansonetti
On Oct 6, 2010, at 3:07 AM, Rob Gleeson wrote: > On 6 Oct 2010, at 09:19, Laurent Sansonetti wrote: > >> >> It looks nice! Thanks for writing it :) > > No problem! My way of contributing back to the MacRuby community, since I'm > not that good with C/ObjC. > >> Something worth mentioning I bel

Re: [MacRuby-devel] Tutorial for the new Sandbox class.

2010-10-06 Thread Rob Gleeson
On 6 Oct 2010, at 09:19, Laurent Sansonetti wrote: > > It looks nice! Thanks for writing it :) No problem! My way of contributing back to the MacRuby community, since I'm not that good with C/ObjC. > Something worth mentioning I believe is that sandbox profiles are actually > Scheme expres

Re: [MacRuby-devel] Tutorial for the new Sandbox class.

2010-10-06 Thread Laurent Sansonetti
Hi Rob, It looks nice! Thanks for writing it :) Something worth mentioning I believe is that sandbox profiles are actually Scheme expressions, and that the default Sandbox class constructor allows you to pass such an expression, as a string. If you look at the /usr/share/sandbox/ directory on