Desktop multi-plataform ruby app

Tom Cloyd wrote:

All the dependencies, etc., DOES look (in the mind) a bit scary, but I've found that if one give the Big Boys a few months, they generally get things wired together so they Just Work. And beyond that, there's the marvelous Ruby community. Rare has been the time that I haven't gotten an answer back to whatever problem I've posted about - in under an hour. Phenomenal, actually. The rest of life should be so good!

There are usually a few people on IRC, on #monkeybars, hanging out willing to answer questions. (Maybe not so much on Sunday; but usually we're on the channel.)

There's also a monkeybars mailing (see www.monkeybars.org)

···

--
James Britt

www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff
www.risingtidesoftware.com - Wicked Cool Coding

Axel Etzold wrote:

Dear Monkeybars developers,

how did you produce the videos ?

David made them on a Mac using some magic Mac software :); hopefully he'll pipe up on this thread and give a real answer.

(I use Kubuntu and really can't tell one mac app from another. )

···

--
James Britt

www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff
www.risingtidesoftware.com - Wicked Cool Coding

James Britt wrote:

Michael T. Richter wrote:

If you have questions, jump on #monkeybars on irc; the Monkeybars squad is usually about and very happy to answer questions.

Which network? Freenode? The #monkeybars channel there has no topic
and one person idling in it. :slight_smile:

Well, it's Sunday, and I just got back home. I confess that IRC support on the weekends is less than ideal.

Folks can E-mail me if they can't get help on irc.

James, you're an amazing fellow!

t.

···

On Sat, 2008-06-07 at 05:57 +0900, James Britt wrote:

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC
Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< tc@tomcloyd.com >> (email)
<< TomCloyd.com >> (website & psychotherapy weblog)
<< sleightmind.wordpress.com >> (mental health issues weblog)
<< directpathdesign.com >> (web site design & consultation)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

They were made using Snapz Pro X for recording and Quicktime Pro for splicing/cropping.

David Koontz

···

On Jun 8, 2008, at 2:56 AM, Axel Etzold wrote:

Dear Monkeybars developers,

how did you produce the videos ?

Thanks.

Best regards,

Axel
--

Is there anything available that does not require JRuby and Swing
(ick, disgusting GUI)

···

On Jun 6, 4:44 pm, Phillip Gawlowski <cmdjackr...@googlemail.com> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yazmin Cardenas wrote:

> HELLLLLOOOOUU
>
> I ´m still seeking for a Ruby on rails developer for a Job in San
Fco........

1) Thread hijacking doesn't help with that.

2) 'An emergency on your part does not constitute an emergency on my part.'

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
Blog:http://justarubyist.blogspot.com

~ - You know you've been hacking too long when...
..your speech is punctuated by finger twitches (or arm-waving)
indicating braces.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org

iEYEARECAAYFAkhJr/kACgkQbtAgaoJTgL9s3gCfUg3umQVCJEiS+Fs9lFy/2jyx
z/YAn0boGvi5PefYYcvKvM3ynvAcjzb9
=R7By
-----END PGP SIGNATURE-----

Israel Guerra wrote:

Indeed.
I was thinking about the efficiency.

The question would be: If i will use a JVM, is it worth using an interpreter
running on another interpreter just because i want to program in ruby?

It's probabily ok for small and non processing demanding apps.
:slight_smile:

Actually, JRuby may be faster than C Ruby. Not sure if that's true for all possible code, but so far I've not noticed any issues. And since I can use any Java lib out there, I've saved myself all sort sorts of work and headaches by avoiding incomplete or non-existent Ruby libs for some tasks.

My guess is speed of the underlying mechanisms will not be your problem.

···

--
James Britt

"I can see them saying something like 'OMG Three Wizards Awesome'"
   - billinboston, on reddit.com

Try FXRuby

···

On Sat, Jun 7, 2008 at 10:14 AM, Hassan Schroeder < hassan.schroeder@gmail.com> wrote:

On Sat, Jun 7, 2008 at 5:48 AM, Victor Reyes <victor.reyes@gmail.com> > wrote:

> I guess I would have to uninstall Ruby.

No, not necessary at all.

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

One thing i have really liked about monkeybars is the mvc thing. If i choose
another GUI option, would i have another option that would give me the mvc
abstraction like that?

Another option, like someone said, would be to use rails and forget a non
web interface.

···

On Sat, Jun 7, 2008 at 7:03 PM, Leslie Viljoen <leslieviljoen@gmail.com> wrote:

On Sat, Jun 7, 2008 at 11:20 PM, James Britt <james.britt@gmail.com> > wrote:
> Leslie Viljoen wrote:
>
>>
>> I understand your dread - I have the same dread, and the same problems
>> getting
>> Java + XYZ to work. I actually currently have a Netbeans install that
>> I have tried
>> to use the built-in plugin installer to install Ruby support - after
>> incomprehensible
>> errors it knows nothing of Ruby. Busy re-downloading. I tried monkeybars
>> and the
>> tutorials for a few hours and failed completely. Perhaps it is very
>> good, but it is
>> surely also very complicated.
>
> If you honestly believe that then we (the Monkeybars crew) have failed
> someplace, perhaps in the docs or the screencasts, because the last thing
we
> want is anything complicated.
>
> Now, granted, I'm biased (I'm a Monkeybars contributer and have been
> building production apps with it for almost a year), but if you can tell
me
> (off-list, perhaps) what you thought was complicated, I will see what I
can
> do to help you out.

I don't think you failed, and it's not that the process is complex,
it's that the whole setup is
complex. I think Matisse is a fantastic GUI builder and have been
eagerly waiting for it to
support Ruby for ages now (even spoke to the developer for a while) so
I am glad there's
finally a solution for wiring it into Ruby. It's just that Ruby + Java
+ Packages + Netbeans + dependencies + MVC framework + updating + etc.
is a very slow 50 step process with a
huge number of dependencies.

I have just now finished that process for the second time and I still
don't have anything to see.
I must have missed something. I watched all the videos and followed
all the tutorials here:
http://monkeybars.rubyforge.org/tutorials.html

The last page seems to be here:
http://monkeybars.rubyforge.org/tutorials/netbeans.html .. which talks
about RAWR. Rawr install just seems to have added to my Rakefile, and
I don't know what to do now. Do I start making forms? Do I run one of
the RAWR tasks? The link at the bottom of that page points back to
"using the generator" which I have already done. The link after that
is an overview page which is rather long and sounds good but still
doesn't get me to just plain connect a form to my app!

When I got to this point before I started looking at the view,
thinking that it would be somehow related to a form I might build with
Matisse. I tried putting things into the quotes after set_java_class.

If I click "run" now I get to choose something to do with RAWR from a
combo box and then I get:

init:
deps-jar:
Created dir: /home/lesliev/dev/ruby-gui/demo/build/classes
Compiling 1 source file to /home/lesliev/dev/ruby-gui/demo/build/classes
/home/lesliev/dev/ruby-gui/demo/src/org/rubyforge/rawr/Main.java:11:
package org.jruby does not exist
import org.jruby.Ruby;
/home/lesliev/dev/ruby-gui/demo/src/org/rubyforge/rawr/Main.java:12:
package org.jruby.javasupport does not exist
import org.jruby.javasupport.JavaEmbedUtils;
/home/lesliev/dev/ruby-gui/demo/src/org/rubyforge/rawr/Main.java:19:
cannot find symbol
symbol : class Ruby
location: class org.rubyforge.rawr.Main
   Ruby runtime = JavaEmbedUtils.initialize(new ArrayList(0));
/home/lesliev/dev/ruby-gui/demo/src/org/rubyforge/rawr/Main.java:19:
cannot find symbol
symbol : variable JavaEmbedUtils
location: class org.rubyforge.rawr.Main
   Ruby runtime = JavaEmbedUtils.initialize(new ArrayList(0));
4 errors
BUILD FAILED (total time: 2 seconds)

So you see, it's complicated.

Les

--
Guerra

mdiam wrote:

(but jruby is still a litle slower than ruby at startup time, because
of the JVM)

In 1.1.2 we have hopefully improved that...for me, startup time went from 1.5s to about .6s, which is a great improvement. Others have reported similar boost, maybe not as great. Work continues.

- Charlie

I'd seriously like to know how to continue here. Either I missed a tutorial page
somewhere or the tutorials stop short of actually building a form and connecting
it to the Ruby program. Did I miss something?

Les

···

On Sun, Jun 8, 2008 at 12:03 AM, Leslie Viljoen <leslieviljoen@gmail.com> wrote:

When I got to this point before I started looking at the view,
thinking that it would be somehow related to a form I might build with
Matisse. I tried putting things into the quotes after set_java_class.

If I click "run" now I get to choose something to do with RAWR from a
combo box and then I get:

init:
deps-jar:
Created dir: /home/lesliev/dev/ruby-gui/demo/build/classes
Compiling 1 source file to /home/lesliev/dev/ruby-gui/demo/build/classes
/home/lesliev/dev/ruby-gui/demo/src/org/rubyforge/rawr/Main.java:11:
package org.jruby does not exist
import org.jruby.Ruby;
/home/lesliev/dev/ruby-gui/demo/src/org/rubyforge/rawr/Main.java:12:
package org.jruby.javasupport does not exist
import org.jruby.javasupport.JavaEmbedUtils;
/home/lesliev/dev/ruby-gui/demo/src/org/rubyforge/rawr/Main.java:19:
cannot find symbol
symbol : class Ruby
location: class org.rubyforge.rawr.Main
   Ruby runtime = JavaEmbedUtils.initialize(new ArrayList(0));
/home/lesliev/dev/ruby-gui/demo/src/org/rubyforge/rawr/Main.java:19:
cannot find symbol
symbol : variable JavaEmbedUtils
location: class org.rubyforge.rawr.Main
   Ruby runtime = JavaEmbedUtils.initialize(new ArrayList(0));
4 errors
BUILD FAILED (total time: 2 seconds)

Ok, here's my Glade tutorial video:
http://www.mediafire.com/download.php?nguxzzmhci8

Here's the text for the tutorial:
http://www.mediafire.com/download.php?d0cgjyjmtas

Here's glader as a gem:
http://www.mediafire.com/download.php?d3v3x9vpw9e

For Glade installation tips search this forum for my earlier posts.

Les

Tom Cloyd wrote:

James Britt wrote:

Michael T. Richter wrote:

If you have questions, jump on #monkeybars on irc; the Monkeybars squad is usually about and very happy to answer questions.

Which network? Freenode? The #monkeybars channel there has no topic
and one person idling in it. :slight_smile:

Well, it's Sunday, and I just got back home. I confess that IRC support on the weekends is less than ideal.

Folks can E-mail me if they can't get help on irc.

James, you're an amazing fellow!

Thank you.

Truth is, I hang with amazing people and some of it rubs off.

:slight_smile:

···

On Sat, 2008-06-07 at 05:57 +0900, James Britt wrote:

--
James Britt

"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
  - Benjamin Franklin, when asked about static typing
   (and a tip of the hat to raganwald)

Oki doki!

Will study monkeybars a bit and try to work with it! :slight_smile:

Thanks for tips!

···

On Fri, Jun 6, 2008 at 8:58 PM, James Britt <james.britt@gmail.com> wrote:

Israel Guerra wrote:

Indeed.
I was thinking about the efficiency.

The question would be: If i will use a JVM, is it worth using an
interpreter
running on another interpreter just because i want to program in ruby?

It's probabily ok for small and non processing demanding apps.
:slight_smile:

Actually, JRuby may be faster than C Ruby. Not sure if that's true for all
possible code, but so far I've not noticed any issues. And since I can use
any Java lib out there, I've saved myself all sort sorts of work and
headaches by avoiding incomplete or non-existent Ruby libs for some tasks.

My guess is speed of the underlying mechanisms will not be your problem.

--
James Britt

"I can see them saying something like 'OMG Three Wizards Awesome'"
- billinboston, on reddit.com

--
Guerra

Israel Guerra wrote:

One thing i have really liked about monkeybars is the mvc thing. If i choose
another GUI option, would i have another option that would give me the mvc
abstraction like that?

I don't know if other GUI tools encourages any particular way to organize your code. I believe most are simply bindings to widgets.

Another option, like someone said, would be to use rails and forget a non
web interface.

If so, you should give a look at Ramaze, Merb, and some of the other dozen+ Ruby Web frameworks. Find something that suits how you want to work and build.

···

--
James Britt

www.risingtidesoftware.com - Wicked Cool Coding
www.rubystuff.com - The Ruby Store for Ruby Stuff

Leslie Viljoen wrote:

I'd seriously like to know how to continue here. Either I missed a tutorial page
somewhere or the tutorials stop short of actually building a form and connecting
it to the Ruby program. Did I miss something?

Possibly. The monkeybars site has a screencast walking though the coding of an app, including creating a form and wiring it up.

If you have more problems, please contact me directly, or post questions to the monkeybars list.

···

--
James Britt

www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff
www.jamesbritt.com - Playing with Better Toys

There are a few example projects on the site: http://monkeybars.rubyforge.org/examples.html
These are also part of the source repository in the examples directory: http://gitorious.org/projects/monkeybars/repos/mainline/trees/master/examples

As for the tutorial pages just leaving off, this is my fault. I got the pages for installing Netbeans and configuring your environment but didn't get back to getting into the usage of Monkeybars. I will be working on that today and will send out an announcement to our mailing list when it is uploaded. There is a form to join the mailing list here: http://monkeybars.rubyforge.org/docs.html

Thank you for your patience.

David Koontz

···

On Jun 8, 2008, at 3:22 AM, Leslie Viljoen wrote:

On Sun, Jun 8, 2008 at 12:03 AM, Leslie Viljoen <leslieviljoen@gmail.com > > wrote:

When I got to this point before I started looking at the view,
thinking that it would be somehow related to a form I might build with
Matisse. I tried putting things into the quotes after set_java_class.

If I click "run" now I get to choose something to do with RAWR from a
combo box and then I get:

init:
deps-jar:
Created dir: /home/lesliev/dev/ruby-gui/demo/build/classes
Compiling 1 source file to /home/lesliev/dev/ruby-gui/demo/build/classes
/home/lesliev/dev/ruby-gui/demo/src/org/rubyforge/rawr/Main.java:11:
package org.jruby does not exist
import org.jruby.Ruby;
/home/lesliev/dev/ruby-gui/demo/src/org/rubyforge/rawr/Main.java:12:
package org.jruby.javasupport does not exist
import org.jruby.javasupport.JavaEmbedUtils;
/home/lesliev/dev/ruby-gui/demo/src/org/rubyforge/rawr/Main.java:19:
cannot find symbol
symbol : class Ruby
location: class org.rubyforge.rawr.Main
  Ruby runtime = JavaEmbedUtils.initialize(new ArrayList(0));
/home/lesliev/dev/ruby-gui/demo/src/org/rubyforge/rawr/Main.java:19:
cannot find symbol
symbol : variable JavaEmbedUtils
location: class org.rubyforge.rawr.Main
  Ruby runtime = JavaEmbedUtils.initialize(new ArrayList(0));
4 errors
BUILD FAILED (total time: 2 seconds)

I'd seriously like to know how to continue here. Either I missed a tutorial page
somewhere or the tutorials stop short of actually building a form and connecting
it to the Ruby program. Did I miss something?

Les

Where can i get a good tutorial with examples on Monkeybars?

···

On Fri, Jun 6, 2008 at 8:55 PM, James Britt <james.britt@gmail.com> wrote:

gavin.b.lynch@gmail.com wrote:
-

Is there anything available that does not require JRuby and Swing
(ick, disgusting GUI)

I can't help you there. There are alternatives for Ruby GUI apps, but I
cannot vouch for their aesthetics.

Swing apps can be skinned. There is much choice. The NetBeans built-in
GUI editor is quite slick.

You're going to have to decide what trade-offs to make; ease of development
(Monkeybars wins) ease of maintenance (Monkeybars wins), solid
cross-platform support (JRuby (AKA Java) + Swing wins), specific
look-and-feel ... well, that's more a matter of taste.

--
James Britt

"I can see them saying something like 'OMG Three Wizards Awesome'"
- billinboston, on reddit.com

--
Guerra

Israel Guerra wrote:

Where can i get a good tutorial with examples on Monkeybars?

There are a few screencasts on monkeybars.org that walk you through all the steps from installation to app creation.

We're preparing some examples to bundle up with the distro as well.

···

--
James Britt

http://www.ruby-doc.org - Ruby Help & Documentation
http://www.rubystuff.com - The Ruby Store for Ruby Stuff

Hi james,

i didnt have much time to look at the project. i installed it and i can say
i have a good first impression.

This weekend i will take a better look at it :slight_smile:

Congratz for the work with it! :slight_smile:

Best regards,

···

On Fri, Jun 6, 2008 at 11:57 PM, James Britt <james.britt@gmail.com> wrote:

Israel Guerra wrote:

Where can i get a good tutorial with examples on Monkeybars?

There are a few screencasts on monkeybars.org that walk you through all
the steps from installation to app creation.

We're preparing some examples to bundle up with the distro as well.

--
James Britt

http://www.ruby-doc.org - Ruby Help & Documentation
http://www.rubystuff.com - The Ruby Store for Ruby Stuff

--
Guerra