From: cs ss on
Hi there Everyone,

I've spent the last year or so away from ruby. That being said, I
wouldn't say I was a ruby guru at the height of my knowledge anyway!

I'm interested in building a macruby desktop app for backtesting forex
data. There aren't any backtesting apps for OSX, and I hate having to
spend so much time in Win XP these days whilst I'm trading. Basically
the screen is filled with graphical elements representing the movement
of currencies. This window can be dragged and manipulated with other
graphical elements being overlaid on the screen.

What would be the best library to use for the graphics with this in
mind?

I've had a look at hotCocoa::graphics which lets me interact with core
graphics and core image etc within Mac OSX. That looks like the best
option at the moment.

Any advise? Has anyone done anything like this before?

be kind :)
--
Posted via http://www.ruby-forum.com/.

From: Jonathan Waddilove on
cs ss wrote:
> Hi there Everyone,
>
> I've spent the last year or so away from ruby. That being said, I
> wouldn't say I was a ruby guru at the height of my knowledge anyway!
>
> I'm interested in building a macruby desktop app for backtesting forex
> data. There aren't any backtesting apps for OSX, and I hate having to
> spend so much time in Win XP these days whilst I'm trading. Basically
> the screen is filled with graphical elements representing the movement
> of currencies. This window can be dragged and manipulated with other
> graphical elements being overlaid on the screen.
>
> What would be the best library to use for the graphics with this in
> mind?
>
> I've had a look at hotCocoa::graphics which lets me interact with core
> graphics and core image etc within Mac OSX. That looks like the best
> option at the moment.
>
> Any advise? Has anyone done anything like this before?
>
> be kind :)

Hi, for most flexibility I'd look at the MacRuby project
(http://www.macruby.org/) provided you're happy to work on Snow Leopard.

You can then access as much (or as little) of the Cocoa graphics
environment as you want: OpenGL, Quartz, etc as well as using HotCocoa
if you want to avoid (Interface Builder).

If you are plotting data you might also want to look at the core plot
project at http://code.google.com/p/core-plot/

HTH Jonathan
--
Posted via http://www.ruby-forum.com/.

From: cs ss on
Great - thanks for that Jonathan,

I had a look at Core Plot. Looks really interesting.

I'd planned on using macruby and hotcocoa. The less time spent in
interface builder the better ;)

Tough area to be getting started in as the documentation is a bit thin
on the ground. Guess I'll be spending some time in rdocs!

I know there is an O'Reily title coming out soon on MacRuby etc Any
other good sites,, books people know about? I haven't seen much when
I've looked.


--
Posted via http://www.ruby-forum.com/.

From: Jonathan Waddilove on
I haven't seen much about the O'Reilly book, it would be good if there
is a beta copy.

One of the best resources I've seen is John Shea's stuff. He's busy
writing openGL games in MacRuby and he's also ported the Hillegass cocoa
examples. You can find a repository of stuff at
http://public.me.com/johnmshea - in particular look at the /MacRuby/Game
related/mine/presentation (he used to have a ppt version but that seems
to have disappeared).

I've also tried to contribute a little about pointers in MacRuby:
http://jonathan.waddilove.net/macruby_pointers.html

Jonathan
--
Posted via http://www.ruby-forum.com/.

From: Josh Cheek on
[Note: parts of this message were removed to make it a legal post.]

On Tue, Mar 30, 2010 at 4:19 PM, cs ss <cs.subscribe(a)gmail.com> wrote:

> Great - thanks for that Jonathan,
>
> I had a look at Core Plot. Looks really interesting.
>
> I'd planned on using macruby and hotcocoa. The less time spent in
> interface builder the better ;)
>
> Tough area to be getting started in as the documentation is a bit thin
> on the ground. Guess I'll be spending some time in rdocs!
>
> I know there is an O'Reily title coming out soon on MacRuby etc Any
> other good sites,, books people know about? I haven't seen much when
> I've looked.
>
>
> --
> Posted via http://www.ruby-forum.com/.
>
>
Peepcode has a video for it https://peepcode.com/products/meet-macruby

But I don't know if it is still current, they seem to have taken the links
down from their homepage, I had to guess the url.