O'Reilly sent an email about the update yesterday (a bit late but still), I posted an update on my blog: http://merbist.com and on twitter via @merbist which was retweeted by @macruby not sure what more I could do ;) Suggestions welcome tho.
I'd like to make sure people know when I push an update. I'm also thinking about offering a diff of the changes so one can easily see the modifications. - Matt On Thu, Jan 20, 2011 at 9:48 AM, Martin Hawkins <martin.hawk...@gmail.com>wrote: > Thanks, Matt; so I see. I must be one of the few people who have paid > the full price for the book, expecting O'Reilly to let me know when > updates were available, like The Pragmatic Bookshelf people do. > Apparently not! > > Very helpful book nonetheless ! > > On Jan 20, 5:27 pm, Matt Aimonetti <mattaimone...@gmail.com> wrote: > > Note that I also updated the book to reflect the change. > > > > - Matt > > > > Sent from my iPhone > > > > On Jan 20, 2011, at 8:07, "Ernest N. Prabhakar, Ph.D." < > prabh...@apple.com> wrote: > > > > > > > > > > > > > Hi Martin, > > > > > On Jan 20, 2011, at 7:58 AM, Martin Hawkins wrote: > > >> The Ruby programming Language - David Flanagan and Yukihiro Matsumoto > > >> The Well-Grounded Rubyist - David A. Black > > >> Programming Ruby - Dave Thomas > > > > >> None of the above are focussed on the web. > > >> Back to Grand Central Dispatch which was really the topic of the post > > >> - Dispatch and Dispatch::Group are available from macirb, but > > >> Dispatch::Job is not, so I suppose I'm really saying that in trying to > > >> discover what is available re GCD for macruby, the current > > >> documentation is confusing. > > > > > My apologies. The GCD primitives are "baked in" to MacRuby as part of > the Dispatch module. You should be able to do "ri Dispatch" from the shell, > or "help Dispatch" from inside MacRuby. > > > > > To get the high level routines you would require Dispatch, for which > you need to first install the gem. > > > > >http://rubygems.org/gems/dispatch > > >https://github.com/gunn/dispatch > > > > > The short answer is that Job, Proxy, and Enumerable are only in the > gem, while Queue, Semaphore and Source are built-in. The gem includes some > convenience methods for those, though, so it isn't entirely clear-cut. > > > > > -- Ernie P. > > > > >> On Jan 20, 3:46 pm, Johannes Fahrenkrug <jfahrenk...@gmail.com> > wrote: > > >>> Hi David, > > > > >>> I always thought the official tutorial on the Ruby site is pretty > good: > > > > >>>http://www.ruby-lang.org/en/documentation/quickstart/ > > > > >>> It is also normal practice to keep non-standard ruby functionality > out of core and distribute is as a gem. That should not discourage you from > using MacRuby or make you doubt that you can use it for Mac development now > or in the future. > > > > >>> Johannes > > > > >>> Sent from my iPhone > > > > >>> On 20.01.2011, at 07:29, David Frantz <websterindus...@mac.com> > wrote: > > > > >>>> Ok, forgive me for this question as I'm not a practicing Ruby > programmer but why would Dispatch not be part of Mac Ruby? > > > > >>>> For those wondering why I've been hanging out here for the last > couple of months it is due to the thought that Mac Ruby might become an > officially supported platform for Mac development. So I'm trying to wrap my > head around why people would use it (Ruby) instead of C/C++/Objective C or > Python for that matter. Frankly I think I need convincing in another way so > the next question is this, is there a good intro to Ruby that isn't oriented > to web development? My interest in the web is close to zero and > unfortunately most Ruby books seem to be focused there. Either that or my > mind just isn't oriented to the Ruby way. > > > > >>>> David A Frantz > > >>>> websterindustro4at4mac.com > > > > >>>> Sent from my iPhone. > > > > >>>> On Jan 20, 2011, at 9:56 AM, Mark Rada <mr...@marketcircle.com> > wrote: > > > > >>>>> The dispatch library was removed from the core just before the 0.8 > release. Someone is maintaining it as a gem. > > > > >>>>> I thought the dispatch library only had the Enumerable module > extensions, but I guess it had the Job class as well since I also don't have > it (using a 0.9 nightly build). > > > > >>>>> Someone who has better knowledge than me might be able to answer > your questions more thoroughly. > > > > >>>>> Mark Rada > > >>>>> mr...@marketcircle.com > > > > >>>>> On 2011-01-20, at 9:48 AM, Martin Hawkins wrote: > > > > >>>>>> I was looking at the short intro to GCD in Matt's book 'Macruby - > The > > >>>>>> Definitive Guide' > > > > >>>>>> I have macruby 0.8 and I come across an immediate problem > > >>>>>> macirb --simple-prompt > > >>>>>>>> require 'dispatch' > > >>>>>> LoadError: no such file to load -- dispatch > > > > >>>>>> However, it knows about Dispatch: > > >>>>>> macirb --simple-prompt > > >>>>>>>> @queue = Dispatch::Queue.new('a-queue-name') > > >>>>>> => a-queue-name > > > > >>>>>> but it doesn't know about Job: > > >>>>>> macirb --simple-prompt > > >>>>>>>> job = Dispatch::Job.new { slow_operation } > > >>>>>> NameError: uninitialized constant Dispatch::Job > > > > >>>>>> and, finally, the line on p24, 'To see the available concurrent > > >>>>>> enumerable methods' > > >>>>>> macruby -rdispatch -e "puts [].methods.grep(/^p_/)" > > >>>>>> no such file to load -- dispatch (LoadError) > > >>>>>> which, I suppose, just reiterates the first point. > > > > >>>>>> Is there an 'official' site where I can post queries regarding > this > > >>>>>> book? > > >>>>>> _______________________________________________ > > >>>>>> MacRuby-devel mailing list > > >>>>>> macruby-de...@lists.macosforge.org > > >>>>>>http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > > >>>>> _______________________________________________ > > >>>>> MacRuby-devel mailing list > > >>>>> macruby-de...@lists.macosforge.org > > >>>>>http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > >>>> _______________________________________________ > > >>>> MacRuby-devel mailing list > > >>>> macruby-de...@lists.macosforge.org > > >>>>http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > > >>> _______________________________________________ > > >>> MacRuby-devel mailing list > > >>> MacRuby-de...@lists.macosforge.orghttp:// > lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > >> _______________________________________________ > > >> MacRuby-devel mailing list > > >> macruby-de...@lists.macosforge.org > > >>http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > > > _______________________________________________ > > > MacRuby-devel mailing list > > > macruby-de...@lists.macosforge.org > > >http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > > _______________________________________________ > > MacRuby-devel mailing list > > MacRuby-de...@lists.macosforge.orghttp:// > lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > _______________________________________________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel