Re: [MacRuby-devel] MacRuby challenge

2011-12-20 Thread Paul Vinieratos
oh.. I changed the preset. replace all 1280 with 640 and all 720 with 480 and check again. On 20 Δεκ 2011, at 15:20, "Jordan K. Hubbard" wrote: > > On Dec 20, 2011, at 11:34 AM, Pavlos Vinieratos wrote: > >> https://gist.github.com/1501117 >> how is that? :) > > Now broken on the MacBook Ai

Re: [MacRuby-devel] MacRuby challenge

2011-12-07 Thread Paul Vinieratos
iSight mustachifiation.. sounds fun :p On 7 Δεκ 2011, at 16:01, Matt Aimonetti wrote: > Congrats to @pvinis for his mustachification script which works quite well > and does more than simply mustachify your pics: > https://img.skitch.com/20111207-k74i8ih5191xgstus4tk9ps3qq.jpg > Source code: h

Re: [MacRuby-devel] Advice for Total Tyro

2011-10-17 Thread Paul Howson
27;m using TextMate for editing the code and XCode for running it. I'm not trying to ship a product yet, so I can live with the occasional MacRuby teething problems. They will be fixed in time. On OSX, MacRuby does do modern memory management, which is a big plus IMHO. Paul Howson

Re: [MacRuby-devel] Fwd: How do I get gems into XCode/MacRuby environment?

2011-04-19 Thread Paul Davis
PD On 16-Apr-11, at 7:02 AM, Morgan Schweers wrote: > Greetings, > Interesting; I actually eschew rvm for macruby stuff, so I use 'rvm system' > whenever I want to interact with MacRuby, otherwise the gems get confused. > > -- Morgan > > On Thu, Apr 14, 2011 at 8:

[MacRuby-devel] Fwd: How do I get gems into XCode/MacRuby environment?

2011-04-14 Thread Paul Davis
OME and GEM_PATH values, and add these into the Environment Variables table in the Arguments tab of the XCode/Scheme/Edit Scheme dialog (whew!). Then just install whatever gems you need at the command line within rvm. PD Begin forwarded message: > From: Paul Davis > Date: 15 April 201

Re: [MacRuby-devel] How do I get gems into XCode/MacRuby environment?

2011-04-14 Thread Paul Davis
pr-11, at 2:00 AM, [email protected] wrote: > Try using "macgem". All of the MacRuby binaries are prefixed with "mac-" > (macruby, macirb, macri, etc.) > > On Thu, Apr 14, 2011 at 1:44 AM, Paul Davis wrote: > >> I'm past the He

[MacRuby-devel] How do I get gems into XCode/MacRuby environment?

2011-04-13 Thread Paul Davis
I'm past the Hello World tutorial, and want to try something useful but I cannot seem to access my gems from within the XCode/MacRuby environment. rubygems is there, as is pp; but not, for instance hpricot. $gem list --local ... hpricot (0.8.1, 0.6.164) ... rack (1.0.1) rails (2.3.5, 2.3.4, 1.2.

Re: [MacRuby-devel] CVImageBufferRef vs __NSCFType

2010-08-24 Thread Paul Howson
karound in the meantime, except > waiting for the BridgeSupport update. Previous BridgeSupport errors and omissions have been fixed by manual editing of the BridgeSupport file pending an updated version. Can you supply a copy of the fix in this case? Paul Howson ___

[MacRuby-devel] Where are the rake tasks?

2010-07-14 Thread Paul Howson
This might be a dumb question, but I notice mention of various macruby-related rake tasks (e.g "rake clean") Is there a standard set of rake tasks supplied with macruby? Where are the rake files for these tasks? ---- P

Re: [MacRuby-devel] CFRange (Boxed) elements not accessible

2010-05-31 Thread Paul Howson
option if you > intend to ship the project later, but I think we can add a fix in trunk to > expose the fields. We can maybe find another workaround if needed. Editing the file fixed the problem. By the time I'm ready to ship something

Re: [MacRuby-devel] CFRange (Boxed) elements not accessible

2010-05-30 Thread Paul Howson
On 31/05/2010, at 11:47 AM, Laurent Sansonetti wrote: > Hi Paul, > > I believe that here the function is typed to return an anonymous struct > (likely a bug in the bridgesupport file), so MacRuby won't be able to > associate it as an NSRange. You may be able to a

[MacRuby-devel] CFRange (Boxed) elements not accessible

2010-05-30 Thread Paul Howson
; for # (NoMethodError) (I think a similar error related to CLLocation has been discussed here before.) Is there a way to get around this problem? - Paul Howson Warwick Qld Australia ___ MacRuby-devel mailing list MacRuby-

Re: [MacRuby-devel] How to set up and retrieve returned buffer from CTFrameGetLineOrigins?

2010-05-06 Thread Paul Howson
On 07/05/2010, at 1:03 PM, Laurent Sansonetti wrote: > Hi Paul, > > You're right, the Pointer class must be used. Sorry about the lack of > documentation. Here is a snippet that might work: > > # n must be defined > origins = Pointer.new(CGPoint.type, n) # this b

Re: [MacRuby-devel] How to set up and retrieve returned buffer from CTFrameGetLineOrigins?

2010-05-06 Thread Paul Howson
by with Cocoa classes. Paul Howson ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

[MacRuby-devel] How to set up and retrieve returned buffer from CTFrameGetLineOrigins?

2010-05-06 Thread Paul Howson
buffer. Easy to do in C, but how to do in MacRuby? ---- Paul Howson Warwick Qld Australia ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailm

Re: [MacRuby-devel] [MacRuby] #628: CTFramesetterCreateFrame doesn't like the CFRange type

2010-05-06 Thread Paul Howson
On 06/05/2010, at 1:18 PM, Laurent Sansonetti wrote: > Hi Paul, > > On May 5, 2010, at 7:57 PM, Paul Howson wrote: > >> On 26/04/2010, at 1:33 PM, MacRuby wrote: >> >> Hi Laurent, >> >> What would be a feasible workaround for this problem, given t

Re: [MacRuby-devel] [MacRuby] #628: CTFramesetterCreateFrame doesn't like the CFRange type

2010-05-05 Thread Paul Howson
tterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil) The second argument is a range which produces the error. Can I edit the bridge support file? Or is there some other workaround? Can I use a more recent built of MacRuby? Or are these too bu

[MacRuby-devel] Macruby and serialport

2010-02-04 Thread John-Paul Bader
Hey guys, i was recently playing around with Arduino / Microcontrollers and wrote a little script to make a hardware itunes volume control out of a potentiometer. Now would love to do that with macruby instead of this disgrace: http://github.com/hukl/Arduino-Experiments/blob/master/itunes_volu

Re: [MacRuby-devel] Requirements for Interface Builder to correctly parse MacRuby files?

2010-02-01 Thread Paul Howson
On 02/02/2010, at 2:14 PM, Laurent Sansonetti wrote: > Hi Paul, > > In theory, splitting files should not be an issue. Keep in mind that the IB > parser is very rudimentary at the moment (we are working on a much better > solution for a future release), so if you define classes

[MacRuby-devel] Requirements for Interface Builder to correctly parse MacRuby files?

2010-02-01 Thread Paul Howson
please explain how and when IB parses Ruby source files and why splitting a class into separate files breaks the parsing? Is this documented somewhere? Any suggestions for a way around this? Thanks, Paul Howson Queensland Australia ___ MacRuby-devel

Re: [MacRuby-devel] [MacRuby] #499: Order declaring class hierarchy gets MacRuby confused about instance variables

2010-01-31 Thread Paul Howson
> > Comment(by lsansone...@…): > > Definitely a bug... thanks for the report. This bug has not been fixed in MacRuby 0.5. Will it automatically migrate to being a 0.6 milestone? Paul Howson ___ MacRuby-devel mailing list Mac

Re: [MacRuby-devel] How to test if you're running MacRuby vs. Ruby?

2009-12-18 Thread Paul Howson
cruby' i.e. the argument to defined? must be put in parentheses else MacRuby crashes. Paul Howson ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

[MacRuby-devel] How to test if you're running MacRuby vs. Ruby?

2009-12-17 Thread Paul Howson
g in plain Ruby. Paul Howson ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

[MacRuby-devel] String#getbyte not working?

2009-11-23 Thread Paul Howson
It appears the new String method called getbyte for Ruby 1.9 is not working? Results in an "Abort trap" message. ~/Dev $ macruby --version MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] ~/Dev $ macruby -e ' "abc".getbyte(0);' Abort trap Pau

Re: [MacRuby-devel] Drawing in Custom Views

2009-10-25 Thread John-Paul Bader
Ah never mind. If I put the path drawing code directly into the drawRect method it all works fine. The whole thing now looks like this: http://pastie.textmate.org/private/rczadjlgyv63txzv6raea ~ John On 25.10.2009, at 20:36, John-Paul Bader wrote: Hey, just saw the previous question

[MacRuby-devel] Drawing in Custom Views

2009-10-25 Thread John-Paul Bader
Hey, just saw the previous question regarding an example from the Cocoa book. I'm currently trying play with custom views and paths. Right now I'm trying the Example from page 240 »Drawing with NSBezierPath« but I can't get the path to draw. I uploaded the xcode project onto http://smyck.

[MacRuby-devel] Do the nightly builds continue from the latest beta

2009-10-09 Thread Paul Howson
? Paul Howson Warwick Qld Australia ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] not 32bit

2009-10-08 Thread Paul Howson
On 09/10/2009, at 4:56 AM, Laurent Sansonetti wrote: Note that MacRuby is only known to work under a certain revision of LLVM trunk (which is documented in the README.rdoc file). Does the MacRuby installer also install LLVM? If not, how is that kept up to date? Paul Howson Queensland

Re: [MacRuby-devel] Xcode Project Template with Testing Baked In

2009-10-02 Thread John-Paul Bader
Hey, how exactly can I run these tests? rake test would be great. kind regards, John On 02.10.2009, at 08:35, Dylan Bruzenak wrote: How very self-referential; I love it :) I'll have a look. Maybe wait until my fever goes away before I take a stab at prose though. - Dylan On Fri, Oct

Re: [MacRuby-devel] Globbed method arguments (splat) Limit

2009-09-08 Thread John-Paul Bader
on my mac book pro 4,1 Kind regards, John ruffman.tar.bz2 Description: BZip2 compressed data On 05.09.2009, at 21:34, Laurent Sansonetti wrote: Hi, On Sep 5, 2009, at 3:11 AM, John-Paul Bader wrote: Hey guys, a friend of mine implemented a heap in ruby for educational purposes. He

[MacRuby-devel] Globbed method arguments (splat) Limit

2009-09-05 Thread John-Paul Bader
Hey guys, a friend of mine implemented a heap in ruby for educational purposes. He did so with several implementations. He had a few benchmarks and I suggested to run them on macruby to see how well it would hold up. Unfortunately we didn't get really far because apparently there is a pr

Re: [MacRuby-devel] Trunk does not build any more

2009-08-30 Thread John-Paul Bader
ld you give it a try again? Thanks, Laurent On Aug 29, 2009, at 12:38 AM, John-Paul Bader wrote: Hey, I'm a regular trunk raker ;) After the large (and amazing) change set from the last 24h it isn't building anymore. It stops with this error: /usr/bin/gcc -I. -I./include -I./on

Re: [MacRuby-devel] Trunk does not build any more

2009-08-29 Thread John-Paul Bader
Yes - all latest and greatest. Clean install. Worked perfectly the last couple of days. Kind regards, John On 29.08.2009, at 10:02, Claudio Poli wrote: are you using xcode from snow leopard dvd? Il giorno 29/ago/2009, alle ore 09.59, John-Paul Bader ha scritto: Hey Matt, I did a rake

Re: [MacRuby-devel] Trunk does not build any more

2009-08-29 Thread John-Paul Bader
Matt On Sat, Aug 29, 2009 at 12:38 AM, John-Paul Bader wrote: Hey, I'm a regular trunk raker ;) After the large (and amazing) change set from the last 24h it isn't building anymore. It stops with this error: /usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -ar

[MacRuby-devel] Trunk does not build any more

2009-08-29 Thread John-Paul Bader
Hey, I'm a regular trunk raker ;) After the large (and amazing) change set from the last 24h it isn't building anymore. It stops with this error: /usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno- parenthe

Re: [MacRuby-devel] experimental branch: status update

2009-08-06 Thread John-Paul Bader
thing works as expected, changes on svn branches should now appear on github as well. URL: http://github.com/hukl/macruby-mirror/ Kind regards, John On 06.08.2009, at 09:04, John-Paul Bader wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I just forked the "official"

Re: [MacRuby-devel] experimental branch: status update

2009-08-06 Thread John-Paul Bader
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I just forked the "official" github macruby repository and updated it. http://github.com/hukl/macruby/tree/master I will deploy a script later on to keep it up to date. Kind regards, John (who is still shaking his head about those svn stunt

Re: [MacRuby-devel] MacRuby Build Issues

2009-08-05 Thread John-Paul Bader
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, I'm on the following hard and software: Model Identifier: MacBookPro4,1 Processor Name: Intel Core 2 Duo Processor Speed:2.6 GHz OS: Mac OS X 10.5.7 RakeVersion 0.8.7 Longer B

Re: [MacRuby-devel] experimental branch: status update

2009-08-05 Thread John-Paul Bader
On 04.08.2009, at 22:59, Laurent Sansonetti wrote: I will proceed with the merge tomorrow at 3PM California time (midnight Amsterdam time, 7AM Tokyo time). Feel free to commit before, but please hold off your commits at that time :) This screams for a DVCS but I guess you already had that d

[MacRuby-devel] MacRuby Build Issues

2009-08-05 Thread John-Paul Bader
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey guys, i'm relatively new in the world of MacRuby but I'm hooked already. I tried to build it from source (trunk and experimental) but didn't have any luck with it. The experimental branch exits here: … "llvm::Intrinsic::getDeclaration(l

[MacRuby-devel] 0.5 branch build failing

2009-06-21 Thread Paul
://gist.github.com/133671 Thanks folks! Paul ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] Setting Breakpoints/Debugger

2009-06-18 Thread Paul Howson
would be the desirable route for a MacRuby debugging facility -- once that works inside xcode just like Objective-C? Paul ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] Setting Breakpoints/Debugger

2009-06-18 Thread Paul Howson
ugger but that might be cool. I'm not familiar with hotconsole. Would that be something like script/ console in Rails? That would be useful. Also, thanks Eloy for your response. Good points. Paul ___ MacRuby-devel mailing list Mac

Re: [MacRuby-devel] Setting Breakpoints/Debugger

2009-06-17 Thread Paul Howson
Is anyone using MacRuby for a large project? How are they coping without a debugger? (I'd like to know since I'm planning to convert an old non-Objective-C app to MacRuby). Paul Howson Queensland Australia ___ MacRuby-devel mailin

Re: [MacRuby-devel] MacRuby Document-based Application template in XCode?

2009-06-17 Thread Paul Howson
Thanks everyone for those tips. Paul Howson ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

[MacRuby-devel] MacRuby Document-based Application template in XCode?

2009-06-16 Thread Paul Howson
opy across the relevant bits from a new Cocoa Document-based Application in order to make a MacRuby Document-based Application? Is it that simple, or are there other gotchas I need to know about? Paul Howson Queensland Australia ___ MacRuby-de

[MacRuby-devel] Cocoa Framework compatibility

2009-06-09 Thread Paul
hanks! ps. I am really really loving MacRuby Paul ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] A MacRuby-users group?

2009-05-24 Thread Paul Howson
list? Something with an RSS feed would make it easier to integrate with other feed subscriptions. And maybe something with a better designed/ more modern web interface? Paul Howson ___ MacRuby-devel mailing list [email protected]