Have to agree with Brian regarding Hillegass.
You can compare with my examples here : (http://www.johnmacshea.org/examples/
- which i will try to keep mirrored here:http://idisk.mac.com/johnmshea-Public?view=web
since i may turn my mac mini off when i go on holidays).
I would suggest tryin
This is useful to know this in case I really need another stdlib.c
function. For some reason I thought they were included (probably
they're included in the C/Obj-C files, which I should have realized
isn't the same as being available in MacRuby.)
I'm already using NSTemporaryDirectory as a
Hehehe, ok ok ok.
I surrender…
http://files.myopera.com/Inquisitor/files/old_forum_import/surrender.jpg
Just released 0.2.0 which includes as an alternative the way lamer
version: `ugem' ;-)
- Eloy
On 9 feb 2009, at 23:43, John Barnette wrote:
On Mon, Feb 9, 2009 at 1:36 AM, Eloy Duran
As long as I can type microgem (or better, ugem), I don't care
what magic characters are allowed. Even overweening cuteness
is OK, as long as it's optional...
-r
--
http://www.cfcl.com/rdmRich Morin
http://www.cfcl.com/rdm/resume r...@cfcl.com
http://www.cfcl.com/rdm/weblog +
Laurent,
Initially I ran HotConsole, loaded my framework, and sent a packet. I
verified there was a response on the bus analyzer, but there was no
indication of response packet callback and no packet data ever showed up in
the object.
Thinking I may have misunderstood, I called
NSApplication.shar
On Mon, Feb 9, 2009 at 1:36 AM, Eloy Duran wrote:
> For us on the mac the way to type this character is ALT+M, see the excellent
> Keyboard Viewer for this kind of info.
This is pretty sweet, but kind of a deal-breaker for those of us who
have "use option as meta key" enabled in Terminal.app. ;)
Barry,
That's weird, HotConsole should not behave like that. Are you calling
NSApplication.sharedApplication.run in the HotConsole prompt by
yourself? If yes, then you shouldn't because HotConsole already called
it for you. All you should do is use your framework without thinking
of the r
Laurent,
As usual your insight is spot on. I tested the -i386 switch and it worked,
then I rebuild the framework for 64-bit and that also worked.
Unfortunately, the initial goal of permitting callbacks to the framework
during execution is still not met by HotConsole. HotConsole seems to act
exac
On Feb 8, 2009, at 9:10 PM, Jordan K. Hubbard wrote:
On Feb 8, 2009, at 4:43 PM, Tedd Fox wrote:
I would like to create a small program that I can do mundane tasks
for my server with a minimal interface.
First I would like to create a program that runs software
update..before you say it
ahh Patrick is our new savior :) I can't wait to be able to use macruby with
minigems/rubygems.
Thanks Laurent for keeping us posted.
- Matt
On Mon, Feb 9, 2009 at 11:34 AM, Laurent Sansonetti
wrote:
> Excellent work Eloy, I look forward to using it :-) You should definitely
> write in the READ
Excellent work Eloy, I look forward to using it :-) You should
definitely write in the README file how to manually produce the µ
character though :-)
As an aside, Patrick Thomson, our new Core OS intern, started to work
on the new IO subsystem, which should theoretically fix the IO
proble
Indeed (and sorry for the late reply), mkstemp is not covered by the
BridgeSupport mechanism yet, which is why it is not available from
MacRuby.
As a workaround I would recommend too to wrap the call inside an
Objective-C class. You don't have to build a framework, just a shared
library
Barry,
MacRuby trunk builds in 64-bit by default, so I suspect that here
VersaPHY.framework has only been built for 32-bit only.
Try to load macirb for i386 first and see if you can load your
framework:
$ arch -i386 /usr/local/bin/macirb
It is good practice since Leopard to build your ow
Thanks again for the help. I macraked the trunk and hotconsole and it
worked, sort of.
With the trunk build, my framework won't load.
>> framework 'VersaPHY'
2009-02-09 12:04:12.258 macruby[35283:10b] Error loading
/Users/barry/Library/Frameworks/VersaPHY.framework/VersaPHY:
dlopen(/Users/barry/
mkstemp is defined in the standard C library. To use it, you would
need to define a new bridged function in MacRuby on the fly. I don't
think there is a way to do this right now.
As a work-around, you could wrap the C function calls in methods
defined in an Obj-C class and build a framework. The
It is well worth your time to learn the basics of C and Objective-C,
even if your ultimate goal is to mainly use MacRuby
(http://www.joelonsoftware.com/articles/LeakyAbstractions.html ect.).
They are small languages, and everything you need is covered in about
200 pages[1,2]. The cocoa libraries ar
http://rubyosa.rubyforge.org/
On Mon, Feb 9, 2009 at 4:28 AM, Robert Schaaf wrote:
> Tedd,
>
> To quote Ogden Nash, I'm a stranger here myself.
>
> I agree about objective-c; it's notationally unattractive. It seems to be
> an uncomfortable hybrid, despite the power of the object model.
>
> The
On 9 Feb 2009, at 04:28, Robert Schaaf wrote:
Tedd,
To quote Ogden Nash, I'm a stranger here myself.
I agree about objective-c; it's notationally unattractive. It seems
to be an uncomfortable hybrid, despite the power of the object model.
The only appreciable Ruby code I've written is a
On Mon, Feb 9, 2009 at 4:28 AM, Robert Schaaf wrote:
> I agree about objective-c; it's notationally unattractive. It seems to be
> an uncomfortable hybrid, despite the power of the object model.
>
These things are subjective. Despite my love of Ruby I find I am quite
happy writing Objective-C.
µ complete me
On Mon, Feb 9, 2009 at 7:36 PM, Eloy Duran wrote:
> Hehehe.
> Actually this is meant as a forced way to have people _not_ think about
> ASCII too much, as I think that happens way too often :-)
> However, if there are technical problems I will rename it to, for instance,
> microgem.
Hehehe.
Actually this is meant as a forced way to have people _not_ think
about ASCII too much, as I think that happens way too often :-)
However, if there are technical problems I will rename it to, for
instance, microgem. But until then I prefer the shorter version.
For us on the mac the
it looks like a very interesting project but may I suggest you drop the µ
letter that most of us probably don't know how to type :( Sticking to ASCII
might be better.
- Matt
On Mon, Feb 9, 2009 at 12:40 AM, Eloy Duran wrote:
> Hi,
>
> As most people know installing gems on MacRuby still fail
Hi,
As most people know installing gems on MacRuby still fails for most
gems.
I was getting so annoyed looking through the source of RubyGems
that I decided to write a clean room implementation of it.
For now it only does installing, but was the only goal since that's
what fails on MacRuby.
23 matches
Mail list logo