Re: [MacRuby-devel] OS X10.9 & MacRuby's future...

2013-05-21 Thread Henry Maddocks
On 19/05/2013, at 8:04 PM, david kramf wrote: > Francis, > I know nothing about RubyMotion but if I understand correctly it uses a > compiler and not an interpreter. So I doubt if it can implement > Metaprogramming and Reflection. If it does not , then it is not a Ruby . It > might be an exce

Re: [MacRuby-devel] RubyMotion: Ruby for iOS

2012-05-03 Thread Henry Maddocks
What impact does this have on the plans for MacRuby for iOS? Henry ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] The Future of MacRuby

2012-04-09 Thread Henry Maddocks
On 9/04/2012, at 8:23 PM, Joshua Ballanco wrote: > What sort of information would you like to see on such a page? Your Boston.rb video covers most of what I wanted to know. I might write something up myself and put it on the wiki for review. Henry ___

Re: [MacRuby-devel] The Future of MacRuby

2012-04-08 Thread Henry Maddocks
On 7/04/2012, at 11:24 PM, Francis Chong wrote: > Automatic Reference Counting implements automatic memory management for > Objective-C objects and blocks. If you read MacRuby source code, you will > found that the VM is not even written in Objective-C! This is why a one page description of h

Re: [MacRuby-devel] The Future of MacRuby

2012-04-07 Thread Henry Maddocks
On 7/04/2012, at 6:13 PM, Joshua Ballanco wrote: > Regarding ARC, MacRuby cannot use ARC. That is, MacRuby cannot use the Obj-C > implementation of ARC. Why is that? Henry ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lis

Re: [MacRuby-devel] The Future of MacRuby

2012-04-06 Thread Henry Maddocks
On 7/04/2012, at 1:13 PM, Joshua Ballanco wrote: > I gave a talk last year to Boston.rb that they graciously taped and put > online. You can find it here: > http://bostonrb.org/presentations/macruby-what-is-it-and-why-should-i-care-part-1 > . Hopefully it should answer most of your questions

Re: [MacRuby-devel] The Future of MacRuby

2012-04-06 Thread Henry Maddocks
I've been a happy user of MacRuby for a while now and I have been intending to give back by helping with the development, so Matt's message is timely and inspirational. Here is a brain dump of some of the thoughts I've had about the project. I'd like to see a statement of the goal for MacRuby.

Re: [MacRuby-devel] rubyfying Cocoa iterators

2011-11-16 Thread Henry Maddocks
On 17/11/2011, at 4:07 AM, Daniel Westendorf wrote: > Give it some ruby love! I found this somewhere in the interwebs to iterate > over an NSIndexSet, which should be similar. https://gist.github.com/1370277 And while you're at it, check out Bean... https://github.com/dj2/Bean Lots more helpf

Re: [MacRuby-devel] MacRuby promise

2011-11-14 Thread Henry Maddocks
On 15/11/2011, at 5:15 AM, Jean-Denis MUYS wrote: > To me, this is the major MacRuby promise, and that promise is not kept yet. > > Am I out of my mind? I don't recall anyone ever making this promise. Henry ___ MacRuby-devel mailing list MacRuby-de

Re: [MacRuby-devel] Some general MacRuby/Cocoa questions

2011-11-13 Thread Henry Maddocks
On 12/11/2011, at 9:21 PM, Timo Springmann wrote: > > I think one controller per window is fine. What I don't like about the code > is the windowNibName method. Do I really have to do it this way? Or is there > a better way to 'connect' my in IB designed window to my ruby contoller class? I'm

Re: [MacRuby-devel] Some general MacRuby/Cocoa questions

2011-11-11 Thread Henry Maddocks
On 12/11/2011, at 10:07 AM, Timo Springmann wrote: > At the moment my application mostly consists of a NSTableView bound to a > CoreData Entity. Works like expected. In a next step I would like to extend > my application to open another window to enter the details for adding > content. I've

Re: [MacRuby-devel] MacRuby and ARC was: Advice for Total Tyro

2011-10-17 Thread Henry Maddocks
On 17/10/2011, at 7:11 PM, Igor Evsukov wrote: > Hi Henry, > >>> And it's impossible to make Ruby to use ARC. >> >> Why? > For memory management Objective-C uses a paradigm called "reference > counting". ... > In Ruby we have garbage collector which is acts in whole different way I unders

[MacRuby-devel] MacRuby and ARC was: Advice for Total Tyro

2011-10-16 Thread Henry Maddocks
On 16/10/2011, at 9:07 PM, Igor Evsukov wrote: > And it's impossible to make Ruby to use ARC. Why? Henry ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] Computer Serial Number

2011-04-05 Thread Henry Maddocks
On 6/04/2011, at 9:10 AM, Robert Rice wrote: > Hi Gang: > > Could anyone help me to read the computer's serial number from a MacRuby > program. Since I don't know Objective C, I haven't been able to figure out > how to access it. system_profile = `system_profiler SPHardwareDataType` serial_nu

Re: [MacRuby-devel] Renaming the MacRuby project

2011-04-03 Thread Henry Maddocks
On 3/04/2011, at 10:46 PM, Ben Rimmington wrote: > But I thought it was worth suggesting, because choosing to rename after v1.0 > (e.g. "iPhone OS 3.x" to "iOS 4") is worse. Didn't do iOS any harm. Henry ___ MacRuby-devel mailing list MacRuby-de

Re: [MacRuby-devel] Is HotCocoa dead?

2011-03-25 Thread Henry Maddocks
On 25/03/2011, at 2:21 PM, dan sinclair wrote: > For me, I've basically dropped HotCocoa. After doing a few apps with it I > quickly came to realize that I liked IB and building apps that way. The thing > that I've missed from HotCocoa is all the little Ruby-ish extensions that it > added to v

Re: [MacRuby-devel] Array and NSMutableArray mutability

2011-01-30 Thread Henry Maddocks
On 31/01/2011, at 6:37 PM, Caio Chassot wrote: > On 2011-01-30, at 23:55 , Mark Rada wrote: >> >> Should both types of arrays work the same way? An instance of NSMutableArray >> says its class is Array, so I thought that they would. > > There's something weird going on in there, I don't really

Re: [MacRuby-devel] Bizarre behaviour with an instance variable

2011-01-27 Thread Henry Maddocks
On 28/01/2011, at 2:46 AM, Eloy Durán wrote: > > In your example ‘theProjectRoot’ is not a parameter to the block, that's ‘f’. > It could have been a local variable (or method) outside of the block, but > that isn't so either, the one variable you defined that comes close is the > instance va

Re: [MacRuby-devel] convert array into a string

2011-01-10 Thread Henry Maddocks
On 11/01/2011, at 10:29 AM, Joel Reymont wrote: > How do I lookup documentation? In your terminal ri Array#pack or Google. Henry ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/mac

Re: [MacRuby-devel] Static Typing

2011-01-05 Thread Henry Maddocks
On 6/01/2011, at 5:31 PM, Rich Morin wrote: >> No. > > Gotta love categorical answers like this one. They > always sound so definitive and are all too frequently > shown to be incorrect. > > There's some really interesting work being done in > this area, so a better answer might be "not soon":

Re: [MacRuby-devel] Static Typing

2011-01-05 Thread Henry Maddocks
On 6/01/2011, at 2:34 PM, Brad Hutchins wrote: > Will MacRuby eventually allow for optional Static Typing like in Objective-C? No. ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/mac

Re: [MacRuby-devel] Hotcocoa or not?

2011-01-02 Thread Henry Maddocks
On 3/01/2011, at 4:57 PM, "Buddy Lindsey, Jr." wrote: > . I haven't, yet, heard of any being officially accepted yet, but then I am > new to the list and google hasn't produced much either. Just a lot of > speculation that Apple should accept them. I'm pretty sure there are MacRuby apps that

Re: [MacRuby-devel] Hotcocoa or not?

2011-01-02 Thread Henry Maddocks
Sent from my iPad On 3/01/2011, at 10:30 AM, "Jordan K. Hubbard" wrote: > I think Thibault may have been a little too terse in his statement, leaving > it ambiguous as to why. This is not a question of developer agreements > (which have been broadened since the original clause 3.3.1 was dra

Re: [MacRuby-devel] Hotcocoa or not?

2011-01-02 Thread Henry Maddocks
Sent from my iPad On 3/01/2011, at 5:03 AM, Thibault Martin-Lagardette wrote: > However, please be aware that as of today, it is not possible to submit, on > the AppStore (the iOS AppStore), an application that has been written using > MacRuby :-(. Why not? What information do you have? H

Re: [MacRuby-devel] converging for 1.0

2010-12-01 Thread Henry Maddocks
On 1/12/2010, at 10:45 PM, denny trebbin wrote: > I switched from Java to Ruby and thanks to MacRuby I tried Xcode but hell I > can understand how people are able to write code with Xcode ;-) > Anyways anything is better then SVN "Don't show me your tools, show me what you made with them"

Re: [MacRuby-devel] How to use NSIndexSet with tableView data

2010-10-23 Thread Henry Maddocks
On 24/10/2010, at 1:43 AM, Eloy Duran wrote: > > If you find you need to work with NSIndexSet's a lot, you could go to > town and add this to NSIndexSet: http://gist.github.com/642166 Great minds think alike :) http://blog.acute-distress.com/post/830826884/macruby-is-awesome _

[MacRuby-devel] MacRuby in the Mac App Store

2010-10-20 Thread Henry Maddocks
This clause... 2.24 Apps that use deprecated or optionally installed technologies (e.g., Java, Rosetta) will be rejected seems to prohibit MacRuby apps. Anyone know for sure? Henry ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org htt

Re: [MacRuby-devel] New iOS developer agreement

2010-09-09 Thread Henry Maddocks
On 10/09/2010, at 11:54 AM, Caio Chassot wrote: > On 2010-09-09, at 20:44 , Henry Maddocks wrote: >> >> Do the recent changes mean we can use MacRuby to write iPhone apps? > > No, MacRuby is garbage-collected, and there's no garbage collection in iOS. Does iOS have a

[MacRuby-devel] New iOS developer agreement

2010-09-09 Thread Henry Maddocks
Do the recent changes mean we can use MacRuby to write iPhone apps? Henry ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] Release Build

2010-09-08 Thread Henry Maddocks
On 8/09/2010, at 6:31 PM, Laurent Sansonetti wrote: > Hi Henry, > > Sorry for the late response. > > On Sep 6, 2010, at 5:52 PM, Henry Maddocks wrote: > >> I've been working on a MacRuby/Cocoa app and I'm getting to close to >> release. Is their

[MacRuby-devel] Release Build

2010-09-06 Thread Henry Maddocks
I've been working on a MacRuby/Cocoa app and I'm getting to close to release. Is their any docs on how to prepare your app for release? Any tips or tricks? I know I will need to embed MacRuby in my app but is there anything else that is required/recommended, eg. can you compile the code? Henry

[MacRuby-devel] Break Points. Was Re: MacRuby hanging

2010-08-12 Thread Henry Maddocks
On 13/08/2010, at 3:31 AM, Robert Rice wrote: > Hi MacRuby developers: > > Using MacRuby 0.6 stable, the most time consuming problem debugging is the > tendency of MacRuby to hang without generating an error when calling an > undefined method name. I usually can breakpoint until I find my erro

Re: [MacRuby-devel] [ANN] minitest-macruby 1.0.0 Released

2010-07-19 Thread Henry Maddocks
On 20/07/2010, at 1:04 PM, Rob Gleeson wrote: > Hi, > > It is available as a Gem on GemCutter. > > http://rubygems.org/gems/minitest-macruby > gem install minitest-macruby > > I don't think it is documented, yet. To be used with macruby I presume it should be installed with macgem? If so I g

Re: [MacRuby-devel] [ANN] minitest-macruby 1.0.0 Released

2010-07-19 Thread Henry Maddocks
On 16/07/2010, at 1:09 PM, Ryan Davis wrote: > minitest-macruby version 1.0.0 has been released! Do you have info on how we are supposed to install and run this? ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosfor

Re: [MacRuby-devel] When is a String not an NSString?

2010-07-13 Thread Henry Maddocks
On 14/07/2010, at 9:10 AM, Thibault Martin-Lagardette wrote: > In fact, there's already a track ticket for that (and I think that's the > discussion Laurent was looking for): > > http://www.macruby.org/trac/ticket/726 Should I add my two cents here or on the trac ticket? Henry _

[MacRuby-devel] When is a String not an NSString?

2010-07-12 Thread Henry Maddocks
With respect to the following code 1 require 'test/unit' 2 3 class String 4 def my_method 5 "My Method " + self 6 end 7 end 8 9 class Test_Tumblr < Test::Unit::TestCase 10 11def test_strings 12 cocoa_str