Just installed the new MacRuby 0.9 and I still have this problem.
I'm assuming it's something I've screwed up, and hints and tips greatly
welcomed...
-Jonathan
On 24 Feb 2011, at 16:58, Jonathan Waddilove wrote:
> Hi, I'm trying to apply a predicate to a core
>
> (Presuming the exception is being thrown from under executeFetchRequest.)
>
> Just a few guesses from a fellow traveler on the Core Data highway. :/
>
> -- Morgan
>
> p.s. It could also be tweaked to be more Ruby-esque, but that won't help with
> the proble
Hi, I'm trying to apply a predicate to a core data fetch and hitting
EXC_BAD_ACCESS.
I've successfully used NSPredicate to filter an array's contents, but all my
attempts to use NSPredicate with Coredata fail.
I'm using framework 'Coredata' and framework 'Foundation' and this is the
method th
e)} seconds"
>
> al
>
>
> On 13 Feb 2011, at 16:42, Jonathan Waddilove wrote:
>
>> Hi, I have been trying to use the NSDate initWithTimeInterval:sinceDate:
>> method to measure elapsed times.
>>
>> I know there has been some discussion about the mappin
>
> The snippet works fine in my environment :(
>
> Laurent
>
> On Feb 13, 2011, at 8:55 AM, Jonathan Waddilove wrote:
>
>> Hi, another MacRuby 0.9 question...
>>
>> I've been trying to use lambda and/or Proc.new to provide callback blocks
>> (as su
Just reinstalled xcode 3, MacRuby 0.8 and added BS preview 3 - still have the
same problem:-(
-Jonathan
On 13 Feb 2011, at 19:14, Jordan K. Hubbard wrote:
> And with the most recent BridgeSupport installed?
>
> On Feb 13, 2011, at 10:53 AM, Jonathan Waddilove wrote:
>
>
er) instead of void(^)(NSInteger result) but
> all of Apple's API name the parameters. It could be something else in MacRuby
> though it's hard to say.
>
> What version of Ruby/OS X are you running?
>
> -Robert
>
> On Feb 14, 2011, at 7:16 AM, Jonathan Waddi
st to be safe and I'm still not getting
> any issues with it... someone else might be able to help.
>
> -Robert
>
> On 14/02/2011, at 7:01 AM, Jonathan Waddilove wrote:
>
>> Hello Robert,
>>
>> Sorry, I must be using the 'other' macirb ;-) -
gt;
> framework "Cocoa"
> a = [0,1,2,3,4]
> a.enumerateObjectsUsingBlock(Proc.new{|object, index, stop|
> puts "#{object}"
> })
>
> It's working over here in MacIrb
> On 14/02/2011, at 6:52 AM, Jonathan Waddilove wrote:
>
>> Hi Robert, Tha
ayne wrote:
> Hi Jonathan,
>
> The syntax looks good and it works on my end. Are you using a nightly of
> MacRuby or the 0.8 trunk?
>
> a = [0,1,2,3,4]
> puts "#{a}"
> a.enumerateObjectsUsingBlock(Proc.new{|object, index, stop|
> puts "object: #{ob
Hi, another MacRuby 0.9 question...
I've been trying to use lambda and/or Proc.new to provide callback blocks (as
suggested in Matt's excellent draft book). Again I have seen discussions about
problems in this area and for me all the suggested variants of code fail.
Here's a snip of failing cod
Hi, I have been trying to use the NSDate initWithTimeInterval:sinceDate: method
to measure elapsed times.
I know there has been some discussion about the mapping from Cocoa NSDate to
Ruby Time and back but I'm not sure if this is supposed to be working now?
Here's a snip of code that calculates
ifically somewhere linked
>> from https://www.macruby.org/documentation.html). It would nicely
>> compliment all the various tutorials and screencasts already there, most of
>> which tend to give the reader a basic intro to MacRuby ("Here's how to build
>> your f
by ("Here's how to build
>> your first Cocoa app in IB!") and then leave all the really hairy stuff
>> which follows as an exercise for the reader. :-)
>>
>> - Jordan
>>
>> On Jan 23, 2010, at 6:19 AM, Jonathan Waddilove wrote:
>>
;
>
> the release is there because i know now that CoreGraphics is not garbage
> collected.
>
> So the very same opengl mipmap call (with same datatype) works fine now, and
> so does the game (IcePhage - and its the same code in CarNage).
>
> Of course you coul
>> They do not use VAs or VBOs - but I do have some test projects which use VAs
>> and VBOs, and a 3D test (which uses an exported c header file (from Cheetah
>> 3D) holding vertex arrays).
>>
>> Let me know if you are interested and I will dig them up and send them
g to port ? We could
> maybe work on it together ?
>
>
> Julien
>
> Le 22 janv. 2010 à 17:32, Jonathan Waddilove a écrit :
>
>> John,
>>
>> Thank you for the response. GLUT won't be my first choice but I'm trying to
>> follow the examples in the Supe
m Cheetah
> 3D) holding vertex arrays).
>
> Let me know if you are interested and I will dig them up and send them to you
> (only tested on MacRuby 0.4 however).
>
> In that game related folder you will also see translations from other
> people's opengl work
er good reasons to have your own bridge class anyway - i imagine
> that BridgeSupport is always going to be lagging Cocoa a bit (eg Core
> Animation constants), and it might just be easier allocating OpenGL texture
> memory in ObjC (well I still use objC for that)
>
> HTH,
> J
Hi, I'm back to using MacRuby again and I'm confused about Bridge Support.
I have been using the excellent sojaster port of the Cocoa OpenGL example to
help develop an OpenGL playpen. However, when I started using glut calls
(glutBitmapCharacter, glutStrokeString, etc) I started to get problems.
OK, thanks for all the comments. I'll move any new SL questions to the
Dev Forums.
However, for what it's worth. I have now been able to build & install
the experimental branch on SL. There was only one snag... I had to
remove .gem/macruby/1.9.1/bin from my path in order to get rake to run.
Rich,
Thanks, I'll try 0.5 again and see how I do.
regards, Jonathan
smime.p7s
Description: S/MIME cryptographic signature
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-d
Should we expect MacRuby 0.4 to work under the SnowLeopard beta? I'm
seeing crashes in both macirb and magem (see below). I've also tried
0.5 branch and that has crashes as well.
(hope you're all enjoying WWDC)
Crashes MacIrb:
/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/bin/macru
Matt, Thank you. It hadn't occured to me that the 'C' dependency would
upset the MacGem process! I'll think about the issues of Ruby OpenGL
v. Cocoa OpenGl.
John, Thank you for sharing the examples... More reading to do :)
Jonathan
___
MacRuby-de
Hi, I'm just starting to use MacRuby and I would like to be able to
use OpenGL. So far I have been unable to install the GEM.
I have just checked out the current MacRuby trunk (Mon 25 May) and
after building it I get the following error:
sudo macgem install ruby-opengl
Password:
macrub
25 matches
Mail list logo