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

2013-05-19 Thread Matt Aimonetti
Simple question tho: how well is Rubymotion running RubySpecs? On May 19, 2013 4:18 PM, "Colin Thomas Arnold Gray" wrote: > Just because RubyMotion is compiled doesn't mean it can't have > metaprogramming and reflection abilities. These features are not orthogonal > to each other. It is true that

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

2013-05-17 Thread Matt Aimonetti
Is "require" supported in RubyMotion for OS X? What about Ruby gems? Can one just compile his/her own MacRuby project using RubyMotion without making any (major) changes? - Matt On Fri, May 17, 2013 at 2:26 PM, stephen horne wrote: > From what I understand, the only thing missing in Rubymotion

Re: [MacRuby-devel] Compile command line app

2012-05-29 Thread Matt Aimonetti
from the man file: When building an executable, the very first file passed to macrubyc will be considered as the main file. Its machine code will be run once the executable starts. Other machine code files will be linked into the executable, but only run upon calls to the require method.

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

2012-05-03 Thread Matt Aimonetti
I agree with most of you, I think that Laurent deserves the financial backing for his work but I also have to admit that I'm worried about the future of MacRuby and what would happen to my RubyMotion projects if Laurent decides to move on. I don't have an issue with the commercial aspect of RubyMo

Re: [MacRuby-devel] migrating tickets to GitHub

2012-04-27 Thread Matt Aimonetti
Jake Smith > pace e bene > > On Friday, April 27, 2012 at 4:58 AM, Matt Aimonetti wrote: > > So it looks like we are waiting for the tracker tickets to be migrated > from MacOS Forge to GitHub to also do the website update and the release. > Who's working on

[MacRuby-devel] migrating tickets to GitHub

2012-04-27 Thread Matt Aimonetti
So it looks like we are waiting for the tracker tickets to be migrated from MacOS Forge to GitHub to also do the website update and the release. Who's working on that, what's the status of the migration? Thanks, - Matt ___ MacRuby-devel mailing list Mac

Re: [MacRuby-devel] mruby + mobiRuby ...

2012-04-20 Thread Matt Aimonetti
My take on both mruby and MobiRuby: http://matt.aimonetti.net/posts/2012/04/20/mruby-and-mobiruby/ - Matt On Fri, Apr 20, 2012 at 1:17 PM, Kevin Poorman wrote: > Looks like matz's is ahead of the game with an iOS compatible version of > ruby … > > http://mobiruby.org/ > > ___

Re: [MacRuby-devel] The future of MacRuby

2012-04-10 Thread Matt Aimonetti
> > To me the simplest benchmark would be supporting Rails and being an option > on Travis CI. > I've encountered problems with this with respect to running autotest, but > I think we can get there! > I'm ready. What can I do to help? I love the enthusiasm! While MacRuby's goal is not to run Rail

Re: [MacRuby-devel] The future of MacRuby

2012-04-08 Thread Matt Aimonetti
It looks really promising, is there a way to keep the original reporter or do Github tickets have to be attached at an actual user. If that's the case, is there a way to find users based on a given email address? -m Sent from my iPhone On Apr 8, 2012, at 18:00, Jake Smith wrote: > I have alre

Re: [MacRuby-devel] Future of MacRuby

2012-04-06 Thread Matt Aimonetti
You can also use git log or GitHub: https://github.com/MacRuby/MacRuby/compare/0.10...0.11 - Matt On Fri, Apr 6, 2012 at 7:01 PM, Eloy Duran wrote: > > Yes, I'm still alive :) As you may have noticed, I have been absent > > here for a few months. Last year we got a baby, then we moved back to

Re: [MacRuby-devel] The Future of MacRuby

2012-04-06 Thread Matt Aimonetti
Thanks a lot Andrew for the feedback. I think you have some really great points in there. I'm letting others weigh-in to gage the interest and then we can start getting organized. - Matt On Fri, Apr 6, 2012 at 9:49 AM, Andrew Havens wrote: > I've been a lurker in this mailing list for a while n

Re: [MacRuby-devel] Re The Future of MacRuby

2012-04-06 Thread Matt Aimonetti
; >> >> -- next part -- >> An HTML attachment was scrubbed... >> URL: < >> http://lists.macosforge.org/pipermail/macruby-devel/attachments/20120405/8b685d20/attachment-0001.html >> > >> >> -- >&

Re: [MacRuby-devel] The future of MacRuby

2012-04-05 Thread Matt Aimonetti
Absolutely, thanks for clarifying my poorly worded statement. - Matt On Fri, Apr 6, 2012 at 12:12 AM, Scott Ribe wrote: > On Apr 5, 2012, at 4:06 PM, Matt Aimonetti wrote: > > > • the target platform (OS X) isn't the one we all really want to > target (iOS) > > T

[MacRuby-devel] The future of MacRuby

2012-04-05 Thread Matt Aimonetti
*Many of you have been wondering what is going on with the MacRuby project given the lack of up-to-date releases and overall communication. I feel we owe you some explanation. As a lot of you have noticed, our de-facto project leader Laurent Sansonetti has been M.I.A since October 2011, his last p

Re: [MacRuby-devel] Rails.app done by the MacRuby community

2012-04-03 Thread Matt Aimonetti
On Fri, Mar 30, 2012 at 2:34 PM, Matt Aimonetti wrote: > Just a quick update, the awesome Jeremy McAnally started working on a > Cocoa app which he first wrote in Objective-C. He's now porting it to > MacRuby and will open source it for us to help. > > Mark Villacampa & I

Re: [MacRuby-devel] MacRuby development in Xcode

2012-03-30 Thread Matt Aimonetti
at least the visual indicators look right and I'm able to build. > > Is this also covered with the other fix or is there something else needed > to correctly install? > > thanks in advance > Rick > > > On Thursday, March 29, 2012 3:15:05 AM UTC-4, Matt Aimonetti wr

Re: [MacRuby-devel] Rails.app done by the MacRuby community

2012-03-30 Thread Matt Aimonetti
ption to run specific port would be neccessary to run multiple apps at > once. Maybe even handle that automatically detecting already used ports. > > I'm going to start digging in couchdbx's code right now :) > > Enviado desde mi iPhone > > El 29/03/2012, a las 09:51

Re: [MacRuby-devel] App Store

2012-03-29 Thread Matt Aimonetti
ubmission > > dw > > > On Fri, Mar 16, 2012 at 7:40 PM, Matt Aimonetti > wrote: > >> Thanks Again Daniel, very much appreciated. >> >> - Matt >> >> >> On Fri, Mar 16, 2012 at 11:18 AM, Daniel Westendorf < >> dan...@prowestech.com> wrote

Re: [MacRuby-devel] Rails.app done by the MacRuby community

2012-03-29 Thread Matt Aimonetti
y apps :) > > What is the next step once we gather a reasonable number of people > interested in this thread? > > Enviado desde mi iPhone > > El 29/03/2012, a las 07:42, Matt Aimonetti > escribió: > > > Someone already did a RVM GUI in MacRuby, check it out: > ht

Re: [MacRuby-devel] MacRuby development in Xcode

2012-03-29 Thread Matt Aimonetti
Rick, this is a known issue with Xcode 4.3.x which was moved from a system folder to an standard application folder. Xcode calls a custom script to recognize the MacRuby classes and make them available to the devs. Because the project was moved, the script isn't found so your MacRuby classes aren't

Re: [MacRuby-devel] Rails.app done by the MacRuby community

2012-03-28 Thread Matt Aimonetti
to be one of the first apps I'd do with > MacRuby, so I would love to contribute to this project. > > > > Mark Villacampa > > @MarkVillacampa > > > > Enviado desde mi iPhone > > > > El 29/03/2012, a las 06:44, Matt Aimonetti > escribió: > > >

Re: [MacRuby-devel] Rails.app done by the MacRuby community

2012-03-28 Thread Matt Aimonetti
te kickstarter project yesterday. > > A GUI for rvm was already going to be one of the first apps I'd do with > MacRuby, so I would love to contribute to this project. > > Mark Villacampa > @MarkVillacampa > > Enviado desde mi iPhone > > El 29/03/2012, a las 06

[MacRuby-devel] Rails.app done by the MacRuby community

2012-03-28 Thread Matt Aimonetti
Today a mini drama was started after Yehuda Katz announced his kickstarter project to build a ".app" for Rails. He's trying to raise $25k to work on the project, see more there: http://news.ycombinator.com/item?id=3768339 Putting the money raising question aside, I think this is a good project b

Re: [MacRuby-devel] App Store

2012-03-16 Thread Matt Aimonetti
y, Objective-C - and programming. This page shows > a couple of the things I've spent some time figuring out online. > > I'm not sure exactly what should be going on the wiki, but If this type of > page is something people feel is useful I will continue to add to it. > &g

Re: [MacRuby-devel] App Store

2012-03-16 Thread Matt Aimonetti
Thanks Again Daniel, very much appreciated. - Matt On Fri, Mar 16, 2012 at 11:18 AM, Daniel Westendorf wrote: > Okay, that sounds like a good move going forward. I'll see if I can't get > that added. > > Daniel > > > On Thu, Mar 15, 2012 at 9:24 PM, Matt Aimon

Re: [MacRuby-devel] App Store

2012-03-15 Thread Matt Aimonetti
ry when 0.11 is released. Thank you very much for offering to write the page. - Matt On Thu, Mar 15, 2012 at 8:05 PM, Daniel Westendorf wrote: > Matt, > > I'll add a topic to the wiki as soon as 0.11 hits. Do we know when that > might be? > > dw > > > On Thu, Mar 15, 20

Re: [MacRuby-devel] App Store

2012-03-15 Thread Matt Aimonetti
It would be great if is someone could contribute on the topic in the wiki and add a recipe there: https://github.com/MacRuby/MacRuby/wiki/_pages It might be a good place to save a lot of small things that we discover as we go through the projects and which might not need to be on the main site (it

Re: [MacRuby-devel] eval() Behavior Difference Between Ruby and MacRuby

2012-03-08 Thread Matt Aimonetti
ore/kernel/eval_spec.rb > (but, of course, I didn't think to look there!) > > Best, > Braxton > > On Thu, Mar 8, 2012 at 8:47 PM, Matt Aimonetti > wrote: > > It's actually a difference between Ruby 1.8 and 1.9, see the same code > with > > 1.9.3: &g

Re: [MacRuby-devel] eval() Behavior Difference Between Ruby and MacRuby

2012-03-08 Thread Matt Aimonetti
It's actually a difference between Ruby 1.8 and 1.9, see the same code with 1.9.3: $ irb 1.9.3p125 :001 > eval "f=12" => 12 1.9.3p125 :002 > f NameError: undefined local variable or method `f' for main:Object from (irb):2 from /Users/mattetti/.rvm/rubies/ruby-1.9.3-p125/bin/irb:16:in `' - Matt

Re: [MacRuby-devel] Introduction

2012-03-05 Thread Matt Aimonetti
Hey Matthew, Thanks for sharing your interest to contribute. All contributors are welcome, the process is quite simple, you fork the official repo: https://github.com/macruby/macruby Make your changes in your local branch and send a pull request to get your commit merged into the main repo. We ha

Re: [MacRuby-devel] Xcode: rb_nibtool no longer picking up actions

2012-02-24 Thread Matt Aimonetti
Can you show your code, was it working in 4.2? - Matt On Fri, Feb 24, 2012 at 10:57 AM, Steve Clarke wrote: > No, I'd already read earlier comments about the block syntax. I can't > get actions recognised at all, even in the most trivial cases. If everyone > else is OK I might just be doing

Re: [MacRuby-devel] Nightly Build Package is not latest.

2012-02-21 Thread Matt Aimonetti
Thanks Bill! - Matt On Tue, Feb 21, 2012 at 10:21 AM, William Siegrist wrote: > The nightly builder uses a modified rake task which conflicted with recent > changes so it stopped updating automatically. I have fixed the conflict and > the nightly for the 21st should be up to date. > > -Bill > >

Re: [MacRuby-devel] Xcode 4.3 move template files -- Workaround found!!!

2012-02-18 Thread Matt Aimonetti
w i can get signed apps to run unsigned code? OR how else to get Xcode to trigger unsigned code. Or maybe both. Until we figure that one out, we can use Xcode 4.3 (and yes, I totally checked the versions this time. This isn't a false alarm) -Kevin On Feb 18, 2012, at 11:28 PM, Matt Aimo

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Matt Aimonetti
ls/rb_nibtool > This doesn't actually exist. because Xcode 4.3 is signed … I'm not sure > how we solve this one. I wonder if symbolic links will alter the code sig ? > > -pkj > > On Feb 18, 2012, at 9:51 PM, Matt Aimonetti wrote: > > > Last time that happened I ha

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Matt Aimonetti
Last time that happened I had to file a bug with Apple and thy fixed it. This time it might be more tricky as we need to know where Xcode expects us to put this file. Maybe someone at Apple could help? Thanks -Matt Sent from my iPhone On Feb 18, 2012, at 18:35, Marc Abramowitz wrote: > Perha

Re: [MacRuby-devel] MacRuby & MountainLion + what you can do to help the project

2012-02-18 Thread Matt Aimonetti
> -Marc > http://marc-abramowitz.com > Sent from my iPhone 4 > > > On Feb 18, 2012, at 12:54 AM, Matt Aimonetti wrote: > >> Hey guys, >> >> A few of you asked me privately and publicly what was going on with MacRuby >> releases and what was the plan now

[MacRuby-devel] contributing to the website

2012-02-18 Thread Matt Aimonetti
Here is the tutorial we have on the website: http://www.macruby.org/documentation/website-contributions.html I just added a .rvmrc file and a Gemfile (bundler) so anyone should be able to run webby to build the site locally https://github.com/MacRuby/MacRubyWebsite/commit/adbc7a2713e0ffcb2656da8370

Re: [MacRuby-devel] MacRuby & MountainLion + what you can do to help the project

2012-02-18 Thread Matt Aimonetti
I'll > check it out. > > I was trying webby (head) and 1.9.3 > > Can you offer any more guidance as to what you'd like to see added / > modified / etc. to the website ? > > > > On Feb 18, 2012, at 11:16 AM, Matt Aimonetti wrote: > > Yes I'll

Re: [MacRuby-devel] MacRuby & MountainLion + what you can do to help the project

2012-02-18 Thread Matt Aimonetti
there is a place for the macruby Recipes i've been > kicking out on a new site? > > I'm also going to take a shot at the installer here in a minute, and the > sublime text2 bundle (but thats a stretch goal for me, I don't know python > yet) > > -Pkj > >

Re: [MacRuby-devel] MacRuby & MountainLion + what you can do to help the project

2012-02-18 Thread Matt Aimonetti
> (this is predicated on the assumption that I determined correctly that it is > a webby based site ? > > -pkj > > On Feb 18, 2012, at 3:54 AM, Matt Aimonetti wrote: > >> Allan Delacruz, a designer friend of the project did a redesign of the site >> but we need som

Re: [MacRuby-devel] MacRuby & MountainLion + what you can do to help the project

2012-02-18 Thread Matt Aimonetti
1:37, Geoffrey Roguelon wrote: > Hi, > > Are installer code located in public place (GitHub) ? > > Best regards. > > - > Geoffrey Roguelon > > Le 18 févr. 2012 à 10:26, Matt Aimonetti a écrit : > >> Thanks James, the templates didn't change

Re: [MacRuby-devel] MacRuby & MountainLion + what you can do to help the project

2012-02-18 Thread Matt Aimonetti
> > Regarding Xcode template support, dropping update < Xcode 4.3 would not be > a big issue. For 4.2 or lower the current template can be used. > > Can't wait to see 0.11 and other updates! > > Thanks a lot! > > James > > On Sat, Feb 18, 2012 at 5:54 PM, Mat

[MacRuby-devel] MacRuby & MountainLion + what you can do to help the project

2012-02-18 Thread Matt Aimonetti
Hey guys, A few of you asked me privately and publicly what was going on with MacRuby releases and what was the plan now that Apple clearly said that ARC is the future and that the GC will be deprecated in MountainLion. First off, I want to emphasis that even though ARC is the future for iOS and

Re: [MacRuby-devel] Rubygems version

2012-02-07 Thread Matt Aimonetti
It's always quite a lot of work, especially when a new release is pushed weekly. Could you open a ticket tho? Thanks On Mon, Feb 6, 2012 at 2:21 PM, Gabriel Gilder wrote: > Hi, just wondering if there are plans to bring the version of Rubygems > that is bundled with MacRuby up to date any time s

Re: [MacRuby-devel] A Future for MacRuby

2011-12-20 Thread Matt Aimonetti
> > No one outside of Apple can integrate it with XCode, or allow it on iOS > devices. While the XCode part is partly true (due to limited APIs to say the least), MacRuby doesn't need to be blessed by Apple to run on iOS. Legally, Apple isn't blocking anything. I see that as a double edged sword

Re: [MacRuby-devel] MacRuby challenge

2011-12-20 Thread Matt Aimonetti
Confirmed to work on my recent MacBook Pro. - Matt On Tue, Dec 20, 2011 at 11:19 AM, Alan Skipp wrote: > The version below supports 640x480 and 1280x720 resolutions. > > https://gist.github.com/1501766 > > I've also added support for multiple live video Santas. > I'm not keen on my use of class

Re: [MacRuby-devel] MacRuby challenge

2011-12-19 Thread Matt Aimonetti
When I tried the live video script, the items weren't properly located either. -m Sent from my iPhone On Dec 19, 2011, at 12:34, Alan Skipp wrote: > Hmm… curious. > The positioning code could certainly do with some refinement, but from my > testing it's close enough for rock 'n' roll, as they

Re: [MacRuby-devel] LLVM 3.0 and MacRuby

2011-12-11 Thread Matt Aimonetti
As indicated in the readme, you have to compile MacRuby with a specific version of LLVM (prior 3.0) -m Sent from my iPhone On Dec 11, 2011, at 16:50, Maik Kempe wrote: > Hi all, > > use any of you LLVM 3.0 and MacRuby or can compile MacRuby with LLVM 3.0 ? Or > is currently only LLVM 2.9 sup

Re: [MacRuby-devel] MacRuby challenge

2011-12-07 Thread Matt Aimonetti
working on a real time video mustachification script! Keep on sending your scripts. - Matt On Thu, Dec 1, 2011 at 5:27 PM, Matt Aimonetti wrote: > Hey guys, > > In case you missed the tweet > http://twitter.com/macruby/status/142271489058672640 here is a quick > Ma

Re: [MacRuby-devel] ruby structure for NSOutlineView

2011-12-06 Thread Matt Aimonetti
k more > questions. > > Thanks and A+ (not a rate but a french code) > François > > > Le 2011-12-02 à 19:08, Matt Aimonetti a écrit : > > > François, if you also want to see a practical use of a NSOutlineView > checkout my TV app: https://github.com/mattetti/LiveTV/

[MacRuby-devel] #welovemacruby

2011-12-06 Thread Matt Aimonetti
Jonathan Penn put together a website to show your love for MacRuby and desire to have it run on iOS: http://welovemacruby.com/ While I don't think we can really pressure Apple in doing anything, I think it's nice to show your love. - Matt ___ MacRuby-dev

Re: [MacRuby-devel] ruby structure for NSOutlineView

2011-12-02 Thread Matt Aimonetti
François, if you also want to see a practical use of a NSOutlineView checkout my TV app: https://github.com/mattetti/LiveTV/ - Matt 2011/12/2 François Boone > Hi, > > Thank you very much for these links. > I tried them and they worked more or less … since I used Xcode 3 > But I decide to upgrad

[MacRuby-devel] MacRuby challenge

2011-12-01 Thread Matt Aimonetti
Hey guys, In case you missed the tweet http://twitter.com/macruby/status/142271489058672640 here is a quick MacRuby challenge: - modify this face detection script http://gist.github.com/1417463 to make it "mustachify" passed images. The exercise is interesting since it makes you work outsi

[MacRuby-devel] Face detection sample

2011-12-01 Thread Matt Aimonetti
The other day @seanlilmateus wrote a quick face detection script using MacRuby: https://gist.github.com/1386468 I cleaned up his script and made it more Ruby-like: https://gist.github.com/1417463 as well as added support to pass your own image. You can try the script your self easily: $ macruby -e

Re: [MacRuby-devel] ApplicationSupport framework

2011-11-25 Thread Matt Aimonetti
If you are not on Lion (OS X 10.7x), you need to install BridgeSupport preview 3: http://www.macruby.org/files/BridgeSupport%20Preview%203.zip Let us know if that helped, - Matt On Fri, Nov 25, 2011 at 6:54 PM, Kevin Colyar wrote: > All, > > I'm unable to access any ApplicationSupport framewor

Re: [MacRuby-devel] Macruby dispatch problem

2011-11-25 Thread Matt Aimonetti
> > Once again, I don't if it's the appropriate forum to post this question. In the doubt... post. This is the main place to discuss MacRuby related things, so feel free to post, worst case scenario, someone will (hopefully) nicely let you know if you are posting in the wrong forum. - Matt 201

Re: [MacRuby-devel] MacRuby: the definitive guide

2011-11-25 Thread Matt Aimonetti
ble, but not the Table Column. Since the > Test Field Cell depends on Table Column, I suppose the settings of Table > Column overwrite ones of Text Field Cell. That makes sense. > > I will go on with the book > Thanks a lot > Have a nice day > > François > > >

Re: [MacRuby-devel] MacRuby: the definitive guide

2011-11-24 Thread Matt Aimonetti
not choose NSButtonCell for example. What I have to do is to drag from class library the NSButtonCell to the cell in my table and the the class identity field is set to NSButtonClass. Maybe it' the right way to do this... I am just a beginner ! On Thu, Nov 24, 2011 at 3:56 PM, Matt Aimone

Re: [MacRuby-devel] MacRuby: the definitive guide

2011-11-24 Thread Matt Aimonetti
Hello François, The book covers Xcode 4.x and not 3.x, but I'll try to see what could be the problem and I'll get back to you shortly. - Matt 2011/11/24 François Boone > HI, > > I don't know if it's the right forum to post my question and I apologize > if not. > > I have just bought The defini

Re: [MacRuby-devel] rubyfying Cocoa iterators

2011-11-17 Thread Matt Aimonetti
you could also create a module and mix it in with the objects you want have the custom methods defined in. - Matt On Thu, Nov 17, 2011 at 3:21 PM, Kam Dahlin wrote: > If you didn't want to use a category, you could do: > > orderedSet = NSOrderedSet.orderedSetWithArray(["1", "2", "3"]) > ordered

Re: [MacRuby-devel] MacRuby promise delivered

2011-11-15 Thread Matt Aimonetti
This is great Jean-Denis, thanks a lot. A few notes, if you look at: https://github.com/jdmuys/MacRubyReload/blob/master/MacRubyReload/AppDelegate.rb#L17-18 You don't need to end your lines of code by a semi colon and when using puts, a return carriage is automatically used (use print if you don't

Re: [MacRuby-devel] Scripting OmniGraffle

2011-11-15 Thread Matt Aimonetti
Sophie, alloc.init is the same as new in Ruby and probably make in applescript. Basically, alloc allocate an object of a given type and initialize it. All instances of a class can be initiated using alloc.init. If you look at my previous post, I started working on an application that document the

[MacRuby-devel] ScriptingBridge browser project

2011-11-15 Thread Matt Aimonetti
Since a few of you asked about ScriptingBridge within the last week or so, I started working on a very very very basic app showing you the available methods. I don't have much free time so I really expect you guys to pick it up and make it awesome. Here is a screenshot of what I have so far: https

Re: [MacRuby-devel] Write your own version of Siri in MacRuby

2011-11-15 Thread Matt Aimonetti
Nice, Florian's version is much more complete, mine is merely an example to get people started. -m Sent from my iPhone On Nov 15, 2011, at 7:14, Eloy Duran wrote: > There’s also James by Florian Hanke: https://github.com/floere/james > > On Mon, Nov 14, 2011 at 5:57 PM,

Re: [MacRuby-devel] MacRuby-devel Digest, Vol 45, Issue 20

2011-11-14 Thread Matt Aimonetti
ov 14, 2011, at 11:19 AM, > > macruby-devel-request@lists.macosforge.orgwrote: > > > >> Send MacRuby-devel mailing list submissions to > >> macruby-devel@lists.macosforge.org > >> > >> To subscribe or

Re: [MacRuby-devel] MacRuby promise

2011-11-14 Thread Matt Aimonetti
> > I probably even could implement a rough bare bone version. I'm currently traveling but I would be glad to assist you. - Matt On Mon, Nov 14, 2011 at 2:09 PM, Jean-Denis MUYS wrote: > > On 14 nov. 2011, at 17:54, > wrote: > > Date: Mon, 14 Nov 2011 08:53:14 -0800 > From: Nat Brown > T

[MacRuby-devel] Write your own version of Siri in MacRuby

2011-11-14 Thread Matt Aimonetti
I extracted an old demo I had made for RubyConf which shows how to use the voice recognizer feature of OS X to implement an app which could be the Siri equivalent for OS X: https://github.com/mattetti/MacRuby-Siri The code is straight forward, the app runs in the top menu. Don't forget to turn on

Re: [MacRuby-devel] MacRuby promise

2011-11-14 Thread Matt Aimonetti
Very good point Jean Denis. You are totally right, it shouldn't be hard to reload all the Ruby source while the code is running. One thing tho, you might also have to reset the state of your application, including its drawing state. But maybe we could leave that up to the developers. What I'm think

Re: [MacRuby-devel] anyone using WebKit to generate dialogs?

2011-11-14 Thread Matt Aimonetti
As a reminder you can get MacRuby to talk to JS in a webkit instance as shown there: https://github.com/mattetti/RubyConfX-code/blob/master/ps3controller/demo.rb#L16-18 On Mon, Nov 14, 2011 at 2:20 AM, Michael Pitra wrote: > > I have a similar approach in one of my applications: a WebKit view >

Re: [MacRuby-devel] BridgeSupport (objC header file) simple parser

2011-11-11 Thread Matt Aimonetti
My guess is that JS automatically converts the object in its string representation while in Ruby, you get the real object and you have to call a method on it. I agree that this isn't great and I'm not a BridgeSupport/ScriptingBridge expert so I can't tell you if that's something wrong on SB side or

[MacRuby-devel] BridgeSupport (objC header file) simple parser

2011-11-08 Thread Matt Aimonetti
On my way down to RubyConf Argentina I wrote these few lines of code to parse the Objective-C header generated by the sdef/sdp commands into a Ruby object that I then dump to JSON. https://gist.github.com/1349038 Usage: $ ./bridgesupport_doc_parser.rb ~/tmp/inDesign.h Feel free to build whateve

Re: [MacRuby-devel] NSTimer.timerWithTimeInterval ?

2011-11-08 Thread Matt Aimonetti
more "true". OTOH this might make it into an > ArgumentError so not easy to handle... > > Regards, > > Robert > > On Tue, Nov 8, 2011 at 12:32 AM, Matt Aimonetti > wrote: > > Here is an example of a small game written entirely in MacRuby and which > > u

Re: [MacRuby-devel] NSTimer.timerWithTimeInterval ?

2011-11-07 Thread Matt Aimonetti
Here is an example of a small game written entirely in MacRuby and which uses NSTimer to run the game loop: https://github.com/mattetti/phileas_frog/blob/master/game_loop.rb#L32-36 I hope it helps, - Matt On Mon, Nov 7, 2011 at 11:54 AM, Robert Feldt wrote: > Thanks guys, I'll try to read up on

Re: [MacRuby-devel] Scripting Bridge

2011-11-06 Thread Matt Aimonetti
d let you browse the API, nothing fancy but enough for someone to hack around and make the app awesome. - Matt On Thu, Nov 3, 2011 at 5:08 PM, Matt Aimonetti wrote: > If you call "methods(true, true).grep /export/i" on one of your objects > and you get a met

Re: [MacRuby-devel] Scripting Bridge

2011-11-03 Thread Matt Aimonetti
If you call "methods(true, true).grep /export/i" on one of your objects and you get a method signature such as: exportFormat:to:showingOptions:using:versionComments:forceSave: That means you need to call it as shown in my example: page.exportFormat("tagged text/PDF", to:"/Users/mattetti/tmp/page2.

Re: [MacRuby-devel] MacRuby: The Definitive Guide

2011-11-03 Thread Matt Aimonetti
Thank you Jean-Denis, I really appreciate it. - Matt On Thu, Nov 3, 2011 at 6:30 AM, Jean-Denis MUYS wrote: > > On 3 nov. 2011, at 13:28, Matt Aimonetti > wrote: > > Date: Wed, 2 Nov 2011 19:46:42 -0700 > From: Matt Aimonetti > To: "MacRuby development discussion

Re: [MacRuby-devel] Scripting Bridge

2011-11-02 Thread Matt Aimonetti
Your Snow Leopard machine needs to have the latest BridgeSupport installed: http://www.macruby.org/files/BridgeSupport%20Preview%203.zip Lion has the final version already installed. We added some more info on the website and we will hopefully deploy the updates soon when 0.11 goes live. - Matt

[MacRuby-devel] MacRuby: The Definitive Guide

2011-11-02 Thread Matt Aimonetti
Hey guys, if you pre ordered the hard copy of my book, it should arrive in a few days (just got mine). Otherwise you can buy from O'Reilly: http://shop.oreilly.com/product/063692723.do or Amazon: http://amzn.to/tVx4ng (cheaper) Digital versions are available on the iBooks and Kindle marketplace

Re: [MacRuby-devel] Scripting Bridge

2011-11-01 Thread Matt Aimonetti
Yes, I also saw these warnings (not errors). The header file and the bridgesupport look good here on Lion. I did some more tests and here is what I got: I was able to package the document with the following script: framework 'Foundation' framework 'ScriptingBridge' load_bridge_support_file 'inDes

Re: [MacRuby-devel] Scripting Bridge

2011-11-01 Thread Matt Aimonetti
I generated the header file and looked at the description and I think that the issue us that the returned value isn't cast: @property (copy) id appliedFont; // The font applied to the find glyph preference, specified as either a font object or the name of font family. Can return: font, string or

Re: [MacRuby-devel] Scripting Bridge

2011-11-01 Thread Matt Aimonetti
I talked with Laurent and it said that the fact that the object type is SBObject is probably done on purpose by the inDesign API. - Matt On Tue, Nov 1, 2011 at 12:12 PM, Matt Aimonetti wrote: > I generated the header file and looked at the description and I think that > the issue us th

Re: [MacRuby-devel] Scripting Bridge

2011-10-31 Thread Matt Aimonetti
Hey in this post http://merbist.com/2010/01/17/controlling-itunes-with-macruby/ I'm explaining how to do that with iTunes. I haven't tried scripting InDesign but the same concept/approach should apply. I have InDesign CS5.5 installed on my machine, if you share some code with you, I might be able

Re: [MacRuby-devel] brace yourselves, 0.11 is coming!

2011-10-25 Thread Matt Aimonetti
; On 24 Oct 2011, at 20:08, Matt Aimonetti wrote: > >> fair... I didn't file a radar, my bad. Did anyone else file a rdr? >> >> - Matt >> >> On Mon, Oct 24, 2011 at 11:43 AM, Jordan K. Hubbard wrote: >> Radar #? :) >> >> On Oct 23, 2011, at

Re: [MacRuby-devel] MacRuby app store guide

2011-10-24 Thread Matt Aimonetti
Rob, have you tried to use codesign as Eliott suggested in his blog post? - Matt On Mon, Oct 24, 2011 at 4:19 AM, rob ista wrote: > I don't know if this is a xcode bug .. I'm still developing on SL with > xcode 4.0.2 because Lion and 4.2 gives me too much trouble and crashes. The > automated re

Re: [MacRuby-devel] brace yourselves, 0.11 is coming!

2011-10-24 Thread Matt Aimonetti
fair... I didn't file a radar, my bad. Did anyone else file a rdr? - Matt On Mon, Oct 24, 2011 at 11:43 AM, Jordan K. Hubbard wrote: > Radar #? :) > > On Oct 23, 2011, at 7:51 PM, Matt Aimonetti wrote: > > This message is a warning probably due to a smal

Re: [MacRuby-devel] brace yourselves, 0.11 is coming!

2011-10-23 Thread Matt Aimonetti
ne_thread_registration_error() to debug. > Bye! > > The program runs great, it just always spits out this message. > > > > > On Oct 23, 2011, at 8:27 PM, Matt Aimonetti wrote: > > Seems to be working great for me. > > - Matt > > On Sat, Oct 22, 2011 at 7:40 AM,

Re: [MacRuby-devel] brace yourselves, 0.11 is coming!

2011-10-23 Thread Matt Aimonetti
Seems to be working great for me. - Matt On Sat, Oct 22, 2011 at 7:40 AM, Steve Clarke wrote: > Hi, > > I installed 0.11 using the installer pkg. The install seemed to work fine. > > However, when I run my app I get a message that wasn't there with 0.10 or > with an earlier build of 0.11. > >

Re: [MacRuby-devel] thread-safety and collections in macruby

2011-10-20 Thread Matt Aimonetti
Hmm thanks, I didn't realize we had a google groups mirror. I'm wondering if we shouldn't just move there since it's much easier to use and maintain than macosforge. Thoughts, ideas, suggestions? - Matt On Thu, Oct 20, 2011 at 12:13 AM, Sven A. Schmidt wrote: > I found that searching the google

Re: [MacRuby-devel] MacRuby app store guide

2011-10-19 Thread Matt Aimonetti
Thanks for sharing Eliott, that seems to be a bug with Xcode and it should be affecting all 3rd party frameworks, not just MacRuby. Quite strange, but thanks for showing how you worked around the signing problem. - Matt On Wed, Oct 19, 2011 at 11:23 AM, Elliot Temple wrote: > http://curi.us/153

Re: [MacRuby-devel] thread-safety and collections in macruby

2011-10-19 Thread Matt Aimonetti
I believe someone (Ernie or someone else) did indeed extract some of the dispatch gem's mixins. - Matt On Wed, Oct 19, 2011 at 1:43 PM, Jordan K. Hubbard wrote: > > On Oct 19, 2011, at 11:38 AM, Terry Moore wrote: > > Yes. But he does state it is a read only not modified array. My > understandi

Re: [MacRuby-devel] Xcode 4.2/IB and MacRuby: Works!

2011-10-19 Thread Matt Aimonetti
Sorry we didn't make more noise about it, but after opening a bug report on Apple's site and bugging a few people there, they fixed the Xcode bug. The fix has been in all the recent Xcode beta but we forgot to announce it when 4.2 was publicly released. - Matt On Wed, Oct 19, 2011 at 2:21 PM, ste

Re: [MacRuby-devel] thread-safety and collections in macruby

2011-10-19 Thread Matt Aimonetti
The proper way to protect mutable objects is to use a mutex: http://www.ruby-doc.org/core-1.9.2/Mutex.html - Matt Sent from my iPhone On Oct 19, 2011, at 8:06, Chuck Remes wrote: > > On Oct 19, 2011, at 12:41 AM, Terry Moore wrote: > >> If you're not wring/changing the array no problems. Bu

[MacRuby-devel] MacRuby O'Reilly book final e-version finally available

2011-10-17 Thread Matt Aimonetti
I just noticed that what looks like the final pdf/epub/mobi version of MacRuby book is now available to people who already bought the book or for new customers. If you already bought the book, get your update from: https://members.oreilly.com/account/emedia/index Otherwise the book is for sale on

Re: [MacRuby-devel] Advice for Total Tyro

2011-10-17 Thread Matt Aimonetti
>> And given that Apple doesn't hesitate to squelch tech when it feels like it, >> I'm clear that committing to any technology it hasn't blessed is "at your >> own risk." While this is partly true, I don't see what Apple could realistically do to hurt MacRuby developers (and why they would do th

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

2011-10-17 Thread Matt Aimonetti
See my earlier reply, basically, you are right, it is technically possible to change the way MacRuby works to use an automatic reference counting approach. But it's far from being trivial. - Matt On Mon, Oct 17, 2011 at 1:28 PM, Henry Maddocks wrote: > > On 17/10/2011, at 7:11 PM, Igor Evsukov

Re: [MacRuby-devel] Advice for Total Tyro

2011-10-17 Thread Matt Aimonetti
" I have to admit that MacRuby is getting better everyday but MacRuby is still far from complete." Could you elaborate on that please? Thanks, - Matt On Mon, Oct 17, 2011 at 12:02 PM, David Frantz wrote: > Here is my perspective, limited as it is. > 1. > You can not get by without learning Obj

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

2011-10-17 Thread Matt Aimonetti
Python uses a reference counting GC, MacRuby could, in theory, implement ARC under the cover. It would however make C extensions really really hard to support. - Matt On Sun, Oct 16, 2011 at 11:11 PM, Igor Evsukov wrote: > Hi Henry, > > And it's impossible to make Ruby to use ARC. > > Why? > > F

Re: [MacRuby-devel] [ANN] HotCocoa gets reheated

2011-10-14 Thread Matt Aimonetti
Great job guys! - Matt On Fri, Oct 14, 2011 at 1:03 AM, Eloy Duran wrote: > Great work, Mark! > > On Fri, Oct 14, 2011 at 7:08 AM, Robert Lowe wrote: > > Mark, > > > > You're freaking amazing! (Not only for your commits to macruby) but for > breathing life into hotcocoa. Damn. > > > > Appspec

Re: [MacRuby-devel] ASIHTTPRequest examples

2011-10-11 Thread Matt Aimonetti
I wasn't pleased with the APIs provided by ASIHTTPRequest so I wrote my own async/sync wrapper: https://github.com/mattetti/macruby-httpwrapper Feel free to use/fork/fix/improve/abuse. - Matt Sent from my iPhone On Oct 11, 2011, at 17:19, Alex Heaton wrote: > Hi everyone, > > I was wonderi

Re: [MacRuby-devel] Progress towards 1.0?

2011-10-11 Thread Matt Aimonetti
Hi Dave, The project is more stable than ever and we are planning a 0.11 release for really soon which should be hopefully followed by a 1.0 release. Laurent recently became a dad and he's currently in parental leave which explains why he didn't contribute too much code recently. MacRuby is now re

  1   2   3   4   5   6   >