[MacRuby-devel] RoxorReturnFromBlockException*

2011-03-31 Thread Rob Gleeson
> > def trigger_action(sender) > a_proc = Proc.new { |var| > puts "hello in proc" > return 1 > } > a_proc.call('test') > puts "hello after proc" > end > That code runs without triggeri

Re: [MacRuby-devel] RoxorReturnFromBlockException*

2011-03-31 Thread Rob Gleeson
On 31 Mar 2011, at 08:05, Rob Gleeson wrote: > > >> >> def trigger_action(sender) >> a_proc = Proc.new { |var| >> puts "hello in proc" >> return 1 >> } >> a_proc.call('test') >> puts "hello after

Re: [MacRuby-devel] Tyro Needs Ruby vs. O-C Advice

2011-03-31 Thread Rob Gleeson
On 31 Mar 2011, at 04:43, Bryan Harrison wrote: > I've decided to use an upcoming sabbatical to teach myself OS X and iOS > programming. My background includes OS X systems administration and web > development, mostly using the Apache/MySQL/PHP model. I'm familiar with OOP > concepts and hav

Re: [MacRuby-devel] MacRuby-devel Digest, Vol 37, Issue 51

2011-03-31 Thread Jean-Denis Muys
On 31 mars 2011, at 05:56, Bryan Harrison wrote: > Message: 6 > Date: Wed, 30 Mar 2011 20:43:27 -0700 > From: Bryan Harrison > To: [email protected] > Subject: [MacRuby-devel] Tyro Needs Ruby vs. O-C Advice > Message-ID: > Content-Type: text/plain; charset="windows-1252" > >

Re: [MacRuby-devel] MacRuby-devel Digest, Vol 37, Issue 51

2011-03-31 Thread Joseph Anthony Pasquale Holsten
Jean-Denis Muys wrote: > Bryan Harrison wrote: >> >> I've decided to use an upcoming sabbatical to teach myself OS X and iOS >> programming. [...] >> [T]oday's million dollar question is Objective-C or MacRuby? [...] > > I will be blunt: stay away from MacRuby and go with Objective-C. > [...] >

Re: [MacRuby-devel] MacRuby-devel Digest, Vol 37, Issue 51

2011-03-31 Thread Eloy Durán
Well put, sir. Well put. Met vriendelijke groet, Eloy Durán On Mar 31, 2011, at 10:26 AM, Jean-Denis Muys wrote: > > I will be blunt: stay away from MacRuby and go with Objective-C. > > Before I get burned at the stake on this list, let me explain why. This stems > from an assumption I made f

Re: [MacRuby-devel] MacRuby-devel Digest, Vol 37, Issue 51

2011-03-31 Thread Thomas R. Koll
Am 31.03.2011 um 10:26 schrieb Jean-Denis Muys: > > I will be blunt: stay away from MacRuby and go with Objective-C. I say, if you don't know either Ruby or Objective-C yet, stay away from MacRuby. All those ruby dev who like me are most likely coming from webdevelopment, dive into this new wor

Re: [MacRuby-devel] RoxorReturnFromBlockException*

2011-03-31 Thread Gabriel Gilder
Yep, no worries. I probably should have explicitly said that "hello after proc" doesn't print, which is the correct behavior. -Gabriel On Thu, Mar 31, 2011 at 12:07 AM, Rob Gleeson wrote: > > On 31 Mar 2011, at 08:05, Rob Gleeson wrote: > > > > > def trigger_action(sender) > > a_proc = Proc.n

Re: [MacRuby-devel] hotcocoa virus

2011-03-31 Thread Gary Weaver
Enzo, What I meant is that there are various versions of HotCocoa on GitHub. You might want to try someone's repo that was updated more recently. The "official"/original version ( https://github.com/richkilmer/hotcocoa ) is probably the one you are using, but you can find a more recent one wi

Re: [MacRuby-devel] hotcocoa virus

2011-03-31 Thread Vincenzo Piombo
Ok, thanks a lot, Gary: I will try them. So no "official" repository is going to be put up ? Enzo On Thu, Mar 31, 2011 at 6:52 PM, Gary Weaver wrote: > Enzo, > > What I meant is that there are various versions of HotCocoa on GitHub. You > might want to try someone's repo that was updated more

Re: [MacRuby-devel] hotcocoa virus

2011-03-31 Thread Gary Weaver
I'm not the HotCocoa authority, but in http://www.macruby.org/hotcocoa/getting_started.html it states: "HotCocoa is part of the MacRuby distribution which will ship with figure versions of OS X." (I think it is supposed to be "future" not "figure", btw.) But, accordi

Re: [MacRuby-devel] hotcocoa virus

2011-03-31 Thread Joshua Ballanco
HotCocoa development has been happening independently of MacRuby for a while now. Any remaining references in the code or on the website are bugs (or, in the case of the website, out-of-date pages). It would be nice to clean up some of these references, but that's a rather low-priority task at the

Re: [MacRuby-devel] Tyro Needs Ruby vs. O-C Advice

2011-03-31 Thread Bryan Harrison
Forgive me for not saying "thanks" individually, but you've all been so generous with your time and thoughts that doing so would clutter up the list. ;) If anyone's curious, my immediate reaction is that I'll learn both, starting by devoting a week to each just to get a feel and figure out whi

Re: [MacRuby-devel] MacRuby-devel Digest, Vol 37, Issue 51

2011-03-31 Thread Terry Moore
Well it would appear that Macruby is just not ready for real development. I for one have some faith that Macruby is good enough now and will be language of choice in the future. There are no barriers to you mixing external frameworks or adding objc classes. Ruby as a language has many feature

Re: [MacRuby-devel] hotcocoa virus

2011-03-31 Thread Jordan K. Hubbard
On Mar 31, 2011, at 10:24 AM, Gary Weaver wrote: > Also, there are still references to HotCocoa in MacRuby (latest from GitHub): We should probably nuke those! Would you please file a trac ticket? Thanks! - Jordan ___ MacRuby-devel mailing list Ma

Re: [MacRuby-devel] MacRuby-devel Digest, Vol 37, Issue 51

2011-03-31 Thread Matt Massicotte
On Mar 31, 2011, at 11:41 AM, Terry Moore wrote: > Well it would appear that Macruby is just not ready for real development. > > I for one have some faith that Macruby is good enough now and will be > language of choice in the future. > > There are no barriers to you mixing external framework

Re: [MacRuby-devel] MacRuby-devel Digest, Vol 37, Issue 51

2011-03-31 Thread Terry Moore
I for one would like to see some examples of objc meta programming. Standard ruby is built with c are you saying c has some meta programming capabilities because of this. An example like attr_accessor. I know objc 2 now has properties. I also know some aspects of ruby are scary 'eval' and re o

Re: [MacRuby-devel] MacRuby-devel Digest, Vol 37, Issue 51

2011-03-31 Thread Matt Massicotte
On Mar 31, 2011, at 12:47 PM, Terry Moore wrote: > I for one would like to see some examples of objc meta programming. Here's a good place to start looking. http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Introduction/Introduction.html In particular, the

Re: [MacRuby-devel] MacRuby-devel Digest, Vol 37, Issue 51

2011-03-31 Thread Morgan Schweers
Greetings, Yeah, I remember being shocked when I poked at a 'method_missing' kind of thing on Objective C and realized that it was totally doable... I had a little fun with it, before punting and going back to a language where it's easy. :) Check out: http://goo.gl/bz50U -- Morgan On Thu, Mar

Re: [MacRuby-devel] MacRuby-devel Digest, Vol 37, Issue 51

2011-03-31 Thread Terry Moore
Interesting... a nice reference for all those bridgesupport method parameters :) Its nice but not what hit me about ruby... especially this http://mislav.uniqpath.com/poignant-guide/ persevere until dwemthy's array. classes inhereting from a functions gave me a headache :) I have gone fr