[MacRuby-devel] hello world error

2011-08-05 Thread Emil Tin
hi, it's been a while since i played with macruby, so i did a fresh install of 0.10 from binary om my 10.7 system and copied the hello world example from: https://github.com/mattetti/MacRuby--The-Definitive-Guide/blob/master/chapter_1/hello_world.rb but running it and clicking the 'hello wor

Re: [MacRuby-devel] [ANN] MacRuby 0.9

2011-02-25 Thread Emil Tin
congrats! well done! On 25/02/2011, at 23.35, Laurent Sansonetti wrote: > Hi, > > After about 2 months of development since the last release, MacRuby 0.9 is > now available. Get it here while it's still hot! > > MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X > core techno

Re: [MacRuby-devel] converging for 1.0

2010-11-30 Thread Emil Tin
sounds great. but isn't saturday the 4th, not the 6th? emil tin On 30/11/2010, at 00.11, Laurent Sansonetti wrote: > Hi guys, > > Now that the vacations are behind us (well, behind me at least :)), it's time > to focus on converging MacRuby for its first stable re

Re: [MacRuby-devel] Request for feedback on new tutorial

2010-08-20 Thread Emil Tin
l replace this with 'curl' since it's part of the base > system. > > 2. I'll describe this step in a little more detail, perhaps with a > screenshot. There is a reasonable familiarity with XCode that's assumed, > though. > > 3. I suspect this is related

Re: [MacRuby-devel] Request for feedback on new tutorial

2010-08-20 Thread Emil Tin
nice tutorials! i tried following the tutorial but ran into a few problems: 1. wget command was not found. wget is not installed by default in os x, it seems. 2. linking agains foundation and libz: as an xcode beginner, i had to guess a bit to figure out how to do this. i suppose you mean addi

[MacRuby-devel] unrecognized runtime type `{OpaqueExtAudioFile}

2010-08-15 Thread Emil Tin
I'm trying to load audio data using ExtAudioFileOpenURL() in the AudioToolbox, but seem to have a problem with the pointer gymnastics involved. First I created a BridgeSuppport file using: gen_bridge_metadata -f AudioToolbox -o AudioToolbox.bridgesupport I'm then using code like this:

Re: [MacRuby-devel] Unnamed Selectors

2010-08-07 Thread Emil Tin
Cool. How do you run these examples? I don't see any XCode project files? On 07/08/2010, at 20.32, Larry Staton Jr. wrote: > All - > > I'm freshening up on my Core Animation by translating the code from > Bill Dudney's "Core Animation" book: >

Re: [MacRuby-devel] [MacRuby] #818: NSBitmapImageRep#bitmapData returns empty String

2010-08-04 Thread Emil Tin
ok. is this an bug with bridgesupport, or just the way things are designed? i was writing a small fractal app, and wanted to try to write directly to a bitmap, to see if it was faster than using setPixel() repeatedly. but i gues ruby doesn't allow writing to memory directly without some class (

[MacRuby-devel] working with pixels in bitmaps?

2010-07-28 Thread Emil Tin
mpty string. The workaround > was to create the class in an Objective C bundle. any news on this issue? thanks in advance, emil tin smime.p7s Description: S/MIME cryptographic signature ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] difference in float behaviour

2010-06-08 Thread Emil Tin
e pack them as immediate values, for performance reasons. As a more generic > issue, floating point arithmetic is almost never accurate. > > Laurent > > On Jun 5, 2010, at 9:59 AM, Emil Tin wrote: > >> >> hey, >> thanks for all the great work with macrub

[MacRuby-devel] difference in float behaviour

2010-06-05 Thread Emil Tin
hey, thanks for all the great work with macruby! i'm experiencing a difference in floating point behaviour between mri and the latest macruby 0.7 nightly: ~$ ruby -v ruby 1.8.7 (2009-06-08 patchlevel 173) [universal-darwin10.0] ~$ ruby -e "z = 0.034228469425; puts Math.sqrt(z*z) < z" false

Re: [MacRuby-devel] MacRuby 0.6

2010-05-03 Thread Emil Tin
congratulations on the 0.6 release! great work! -emil smime.p7s Description: S/MIME cryptographic signature ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] [hotcocoa] MVC helper?

2009-04-20 Thread Emil Tin
cool! i cloned the git repo, but when i do 'macrake' in the dir, it fails. ~/phare$ macrake (in /Users/emiltin/phare) 2009-04-17 09:29:21.313 Phare[12075:613] registering AccountSetupView 2009-04-17 09:29:21.440 Phare[12075:613] registering ProjectSelectionView 2009-04-17 09:29:22.707 Phare[