[jruby-dev] Presentations in talks dir of http://dist.codehaus.org/jruby/

2007-04-28 Thread Chris Nelson
Guys, I'm putting together a very brief (30 minute) JRuby presentation for RubyCodeCamp in Columbus, OH next weekend. There are some very nice slides, particularly the performance graphs for JRuby, MRI, and JRuby compiled that I would to steal^H^H^H^Hborrow for my presenation. I would of course

Re: [jruby-dev] [jira] Created: (JRUBY-903) Java interface modules

2007-04-29 Thread Chris Nelson
Very timely, I was just asking about the new interface syntax on #jruby. I was under the (mistaken) assumption this was already in for 0.9.9. Thanks for explaining so thoroughly! --Chris On 4/29/07, Bill Dortch (JIRA) <[EMAIL PROTECTED]> wrote: Java interface modules --

[jruby-dev] buildr

2007-07-20 Thread Chris Nelson
I know there was some activity related to allowing buildr to run on JRuby. Does anyone know what the status of that is? I may be starting a JRuby project soon and would love to be able to use buildr on it. Also, it really seems like buildr might be looking for a lot of the stuff we do in goldspi

Re: [jruby-dev] Moving to Java 5?

2007-07-23 Thread Chris Nelson
+1 FWIW, I wrestled with these same kinds of issues with Trails and made the decision to go Java 5 a couple years ago. Though at that time there were a lot more people stuck on 1.4 I still didn't regret it. --Chris On 7/23/07, Changshin Lee <[EMAIL PROTECTED]> wrote: +1 Cheers, ias On 7/2

[jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-17 Thread Chris Nelson
Guys, This sounds like an awesome list of stuff, but a feature that I think would help a lot of with JRoR projects would be to improve the debugging experience. Right now the only way to get JRuby on Rails debugging to work in NetBeans is by setting an undocumented property in a config file. And

Re: [jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-17 Thread Chris Nelson
b methods I'm pretty much without a clue as to where the JRuby API code is to implement them. But I'm willing to learn, any pointers and/or docs would be welcomed. --Chris On 8/17/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote: > > Martin Krauskopf wrote: > > Chris Nel

Re: [jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-17 Thread Chris Nelson
'll start in on trying to make them pass. Look forward to working with you, --Chris On 8/17/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > > Chris Nelson wrote: > > Hi Martin, > > > > I recognize you from Netbeans Issuezilla :) It's great to he

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread Chris Nelson
Probably this is the wrong mailing list to start a Groovy vs Ruby language debate, but since the can of worms is open, I feel obligated to point out that it is at best a highly subjective statement to claim that Groovy has "all the advantages of Ruby", and at worst, misleading. It's obvious that G

Re: [jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-18 Thread Chris Nelson
I'll look at the ruby-debug trunk code and see what I can figure out. I wasn't clear from your post, are you saying your code is checked into JRuby trunk now? If so, where? I'm not seeing it. --Chris On 8/18/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote: > > C

Re: [jruby-dev] Fast debugger? (was Re: [jruby-dev] JRuby 1.1 Roadmap)

2007-08-21 Thread Chris Nelson
07, Martin Krauskopf <[EMAIL PROTECTED]> wrote: > > Martin Krauskopf wrote: > > Chris Nelson wrote: > >> I'll look at the ruby-debug trunk code and see what I can figure out. > >> I wasn't clear from your post, are you saying your code is checked >

[jruby-dev] Trying to get started with jruby-debug

2007-09-22 Thread Chris Nelson
Been attempting to try out Martin's jruby-debug code from debug-commons and haven't been able to get much of anywhere. I assume I'm missing something rather obvious, but I have not been able to get it to load. I had to make a small change to jruby trunk for Martin's code to compile (making RubyTh

Re: [jruby-dev] Trying to get started with jruby-debug

2007-09-24 Thread Chris Nelson
wait a bit before trying to get fast debug working? I don't mind addressing things one at a time as time permits, but if it's pretty likely the code would need to change again real soon I'd rather wait. --Chris On 9/24/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote: > >

[jruby-dev] Success! (was Re: [jruby-dev] Trying to get started with jruby-debug)

2007-09-24 Thread Chris Nelson
gc in DebugFrame is used for? I couldn't find any references to it. This is the only thing that was using getFrameArgs() --Chris On 9/24/07, Chris Nelson <[EMAIL PROTECTED]> wrote: > > Ok, I did the same and got a little farther. I've patched JRuby as you > suggested a

Re: [jruby-dev] Success! (was Re: [jruby-dev] Trying to get started with jruby-debug)

2007-09-24 Thread Chris Nelson
Ok, makes sense. It seems like it would be best to have technical discussions archived as much as is possible, so let's move this to debug-commons. On 9/24/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote: > > Chris Nelson wrote: > > Well, after all that whining it appear

Re: [jruby-dev] Trying to get started with jruby-debug

2007-09-25 Thread Chris Nelson
awesome, thanks! On 9/25/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > > Chris Nelson wrote: > > Ok, I did the same and got a little farther. I've patched JRuby as you > > suggested and built a jruby-debug.jar and put in JRUBY_HOME/lib. Then I > > t

[jruby-dev] One line patch for jruby-debug

2007-09-27 Thread Chris Nelson
Need this for DebugThread to be possible. Let me know if I should create a JIRA for this. --Chris Index: /home/ccnelson/workspace/jruby-debug/src/org/jruby/debug/Context.java === --- /home/ccnelson/workspace/jruby-debug/src/org/jruby

Re: [jruby-dev] One line patch for jruby-debug

2007-09-27 Thread Chris Nelson
DOH! Attached the wrong patch... trying again. This one is necessary for jruby-debug to compile, unless I'm missing something. On 9/27/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote: > > Chris Nelson wrote: > > Need this for DebugThread to be possible. Let me know if I s

Re: [jruby-dev] One line patch for jruby-debug

2007-09-30 Thread Chris Nelson
I'm sort of working thru problems one at a time and fixing them as we can. We don't even really have a solid yardstick of how far there is to go yet, I don't think. The c version of ruby-debug didn't really have a solid set of test cases to start with (tho I'm trying to add some as I go) so we don

Re: [jruby-dev] One line patch for jruby-debug

2007-09-30 Thread Chris Nelson
is working as a BasicLibraryService anyways. I'll probably try that soon. --Chris On 9/30/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote: > > Chris Nelson wrote: > > As far as my patch, I agree with Martin we're still in early stages but > > it does seem rather a

Re: [jruby-dev] Re: JRuby vs MRI - Petstore shootout

2007-10-04 Thread Chris Nelson
Just out of curiousity, has anyone tried rails benchmarks after applied Charles' caching compiled evals patch? Or is that in trunk already? --Chris On 10/4/07, Christian Seiler <[EMAIL PROTECTED] > wrote: > > Hi, > I did some more test with different recent versions of trunk. In all tests > > I

Re: [jruby-dev] Helping out with jruby-debug

2007-10-07 Thread Chris Nelson
Peter and Martin, As far as BasicLibraryService, there are (I think) 2 approaches we could pursue to having our code replace the c ruby-debug code for folks running jruby. Right now, we're patching jruby to add Martin's library in a way so that code that does require 'ruby_debug.so' gets our liba

[jruby-dev] jruby-debug gem (was Re: [jruby-dev] Helping out with jruby-debug)

2007-10-08 Thread Chris Nelson
approach is probably the right way to go, as it seems the least intrusive to me. Martin, is there any chance I could get commit rights to SVN so I can check all this in and let other folks start playing with it? --Chris On 10/7/07, Chris Nelson <[EMAIL PROTECTED]> wrote: >

Re: [jruby-dev] jruby-debug gem (was Re: [jruby-dev] Helping out with jruby-debug)

2007-10-08 Thread Chris Nelson
Ok, I've checked in my code. You'll still need the one line patch to RubyThread in jruby to use it. I'll open a JIRA issue for that and see if we can get that into jruby trunk. After that, check out the jruby-debug code and run rake install_gem. This should give you a somewhat working version o

Re: [jruby-dev] jruby-debug gem (was Re: [jruby-dev] Helping out with jruby-debug)

2007-10-09 Thread Chris Nelson
Heh, thanks Dudley, but Martin deserves most of the love. I built on and packaged what is mostly his work. --Chris On 10/8/07, Dudley Flanders < [EMAIL PROTECTED]> wrote: > > > On Oct 8, 2007, at 11:36 AM, Chris Nelson wrote: > > > Guys, > > > > Success! I

Re: [jruby-dev] jruby-debug gem (was Re: [jruby-dev] Helping out with jruby-debug)

2007-10-09 Thread Chris Nelson
Everything Martin says here is correct, and I've only put together a smattering of unit tests for the list variable stuff and them not checked in. So by all means, caveat emptor. Didn't mean to get carried away :) --Chris On 10/9/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote:

Re: [jruby-dev] Current best Petstore numbers

2007-10-15 Thread Chris Nelson
Has anyone tried with Charles' eval caching patch from awhile back? I don't know if this patch has been made obsolete by developments after it, but it seemed like a good idea at the time. If not, I'd be happy to try it if someone can point me at how to run these benchmarks. --Chris On 10/15/07,

[jruby-dev] JRuby profiler?

2007-10-15 Thread Chris Nelson
Guys, Don't know if this has been done or attempted already, so I thought I'd ask. It strikes me that what we really need to tune Rails performance is a JRuby profiler, e. g., something that will tell us details in terms of time spent per (Ruby) method invocation so we can apply the old tuning ad

Re: [jruby-dev] Obscure test/unit interaction problems

2007-10-18 Thread Chris Nelson
Yes, at this very moment I'm using rdebug against a Rails application. I am able to set breakpoints in a controller and inspect variables, but stepping doesn't appear to work in the Rails controller. However stepping does work in simple scripts. So I think we're getting closer, and even though i

Re: [jruby-dev] Obscure test/unit interaction problems

2007-10-18 Thread Chris Nelson
Now thats service! You rock :) --Chris On 10/18/07, Ola Bini <[EMAIL PROTECTED]> wrote: > > Chris Nelson wrote: > > Yes, at this very moment I'm using rdebug against a Rails > > application. I am able to set breakpoints in a controller and inspect > > variab

Re: [jruby-dev] Obscure test/unit interaction problems

2007-10-18 Thread Chris Nelson
ily of commands, is the next thing I'm doing to tackle.) > > Pete > > On 10/18/07, Chris Nelson <[EMAIL PROTECTED]> wrote: > > in simple scripts. So I think we're getting closer, and even though it > is > > alpha q

Re: [jruby-dev] jruby-debug stability, enabled in NetBeans (was Re: [jruby-dev] Obscure test/unit interaction problems)

2007-10-18 Thread Chris Nelson
Cool, what did you have to change in jruby-debug? Or is already part of your latest SVN commits? I'd love to try it out, and am downloading the NB ruby build now. --Chris On 10/18/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote: > > Martin Krauskopf wrote: > > Then when JRuby interpreter is sele

[jruby-dev] jruby-debug with Rails not stepping

2007-10-19 Thread Chris Nelson
Guys, Well, I've spent a good amount time the past day or two trying to understand why stepping through code in a Rails controller doesn't work. It stops on my breakpoint ok, but when I try to step to the next line it just continues without stopping on the next line. I think I've finally isolate

Re: [jruby-dev] jruby-debug stability, enabled in NetBeans (was Re: [jruby-dev] Obscure test/unit interaction problems)

2007-10-22 Thread Chris Nelson
this change but didn't want to without asking since I haven't yet touched ruby-debug-ide. --Chris On 10/18/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote: > > Chris Nelson wrote: > > Cool, what did you have to change in jruby-debug? Or is already part of > > your lat

Re: [jruby-dev] jruby-debug stability, enabled in NetBeans (was Re: [jruby-dev] Obscure test/unit interaction problems)

2007-10-22 Thread Chris Nelson
we have more work to do, of > course. Are there situations where it consistently fails? > > Pete > > P.S. Recent revisions of trunk use an array for the name attribute in > @JRubyMethod vs. name1, name2, etc. I'll revert r316 to match. > > On 10/22/07, Chris Nelson &l

Re: [jruby-dev] jruby-debug stability, enabled in NetBeans (was Re: [jruby-dev] Obscure test/unit interaction problems)

2007-10-22 Thread Chris Nelson
Looks like that's actually the right thing to do. rdebug with MRI > does the same thing. It's heading off into the Rails' implementation > of Class#const_missing looking for Car. > > JRuby rdebug log attached. > > Pete > > On 10/23/07, Chris Nelson <[EMAIL PRO

Re: [jruby-dev] jruby-debug stability, enabled in NetBeans (was Re: [jruby-dev] Obscure test/unit interaction problems)

2007-10-23 Thread Chris Nelson
s 1.2.5 in both. On 10/22/07, Chris Nelson <[EMAIL PROTECTED]> wrote: > > Hmm... ok, I think I must have seen a change from Rails 1.2.5 here and > gotten confused. In MRI it was stepping into ActiveRecord, but that was > because it was Rails 1.2.3. Looks like it's working. Awe

Re: [jruby-dev] jruby-debug done (almost)

2007-10-28 Thread Chris Nelson
Seems like this is a good time to start the discussion of which gems to install where. There are actually several gems which comprise the "fast" ruby debugger: 1. ruby-debug-base: this is the gem that implements the core debugging functionality and contains the only native code. jruby-debug buil

Re: [jruby-dev] Move javasupport .rb files out of jar?

2007-10-29 Thread Chris Nelson
On 10/27/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > Also...on the "import" deprecation issue: we kinda made our bed in 1.0 > by including "import", and we can't really deprecate it on the 1.0 line. > But we could deprecate it in 1.1 and provide an alternative. I'd feel > better about t

Re: [jruby-dev] Move javasupport .rb files out of jar?

2007-10-29 Thread Chris Nelson
Duh, i found jruby-1124 myself. On 10/29/07, Chris Nelson <[EMAIL PROTECTED]> wrote: > > > > On 10/27/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > > > Also...on the "import" deprecation issue: we kinda made our bed in 1.0 > > by includ

Re: [jruby-dev] Move javasupport .rb files out of jar?

2007-10-29 Thread Chris Nelson
Yikes. I understand now, thanks. Kind of darned if we do, darned if we don't. On 10/29/07, Ola Bini <[EMAIL PROTECTED]> wrote: > > Chris Nelson wrote: > > > > > > On 10/27/07, *Charles Oliver Nutter* <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTEC

Re: [jruby-dev] jruby-debug done (almost)

2007-10-31 Thread Chris Nelson
According the rubyforge docs, if you try to release a gem of the same name as a gem already released in a different project, it will just ignore you (e g not add it to the gem index). So we won't break anything, but probably won't have any effect. According to Jim Weirich of the rubygems team, (w

Re: [jruby-dev] jruby-debug done (almost)

2007-10-31 Thread Chris Nelson
Hmm... but the gem dependency from ruby-debug is going to be a problem. There is no way specify a depency from the ruby-debug gem to ruby-debug-base or jruby-debug-base. And you won't be able to install ruby-debug-base (MRI version) on jruby because of c code. So changing the require is not enoug

Re: [jruby-dev] jruby-debug done (almost)

2007-10-31 Thread Chris Nelson
On Oct 31, 2007 3:32 PM, Martin Krauskopf <[EMAIL PROTECTED]> wrote: > Chris Nelson wrote: > > Hmm... but the gem dependency from ruby-debug is going to be a problem. > > There is no way specify a depency from the ruby-debug gem to > > ruby-debug-base or jruby-debug-bas

Re: [jruby-dev] A JRuby Conference?

2007-11-11 Thread Chris Nelson
I'd definitely try to make it! --Chris On Nov 11, 2007 11:56 AM, tsuraan <[EMAIL PROTECTED]> wrote: > > Would any folks be interested in making a pilgrimage to JRuby central? I > > wouldn't be surprised if we had at least 4-5 out of the six core devs on > > site for any event. > > I'm not a JRub

Re: [jruby-dev] contribution to talks section

2008-02-01 Thread Chris Nelson
flux, with different apps getting very different results. --Chris On Feb 1, 2008 7:25 AM, Alexey Verkhovsky <[EMAIL PROTECTED]> wrote: > On Jan 30, 2008 4:05 PM, Chris Nelson > <[EMAIL PROTECTED]> wrote: > > Here are the slides for a presentation I gave at the Columbus

[jruby-dev] JRuby 1.1RC3 + warbler = no love

2008-03-23 Thread Chris Nelson
All, Has anyone had any luck getting JRuby 1.1RC3 running a Rails app using Warbler. The current version of warbler bundles RC2 and I built a jruby-complete jar with RC3 and copied it into the war file. Now I'm getting: java.lang.NoSuchMethodError: org.jruby.RubyClass.newInstance([Lorg/jruby/ru

[jruby-dev] New warbler release?

2008-03-23 Thread Chris Nelson
Ok... looks like the current warbler version is 0.9.3 which contains goldspike 1.5 and JRuby 1.1RC2. Any chance we could a new version out which works with JRuby 1.1RC3? I'm going to be demoing at TheServerSide on Thursday and would love to have a newer version of warbler to show off and have it

Re: [jruby-dev] New warbler release?

2008-03-24 Thread Chris Nelson
. That would be a little embarassing, as I'm sure this is something people would like to see, but so be it. --Chris On Mon, Mar 24, 2008 at 1:23 PM, Nick Sieger <[EMAIL PROTECTED]> wrote: > On Mon, Mar 24, 2008 at 12:14 AM, Chris Nelson > <[EMAIL PROTECTED]> wrote: > >

Re: [jruby-dev] New warbler release?

2008-03-24 Thread Chris Nelson
r, Collaborative Software Initiative > [EMAIL PROTECTED] > http://www.csinitiative.com > > > Chris Nelson wrote: > > I was planning on demoing using 1.1RC3 and using warbler. I tried just > > building my own snapshot build of goldspike 1.7 and including that, > > using th

Re: [jruby-dev] New warbler release?

2008-03-24 Thread Chris Nelson
gt; > http://repository.codehaus.org/org/jruby/jruby-complete/1.1RC3 > > > > http://repository.codehaus.org/org/jruby/extras/goldspike/1.6/goldspike-1.6.jar > > > > Mike > > > > Mike Herrick > > Program Manager, Collaborative Software Initiative > > [EMAIL PROTECTED] >

[jruby-dev] Reified classes referring to one another

2009-11-24 Thread Chris Nelson
Charles, Tom, et all, Was discussing this in IRC just now and thought I'd ask it here too. I'm about to start in on adding relationship support to jruby-hibernate and ran into the following conundrum. Let's say I have 2 classes, Event and Log, and Event has a many-to-one bi-directional relations

Re: [jruby-dev] Reified classes referring to one another

2009-11-25 Thread Chris Nelson
The first problem is not the annotation, it's the method signature. I need to call add_method_signature for a method whose return type is a class that has not yet been reified. --Chris On Tue, Nov 24, 2009 at 4:15 PM, Nick Sieger wrote: > On Tue, Nov 24, 2009 at 10:37 AM, Chri

[jruby-dev] [jira] Created: (JRUBY-1095) rake has bad shebang line

2007-06-03 Thread Chris Nelson (JIRA)
: Chris Nelson Assignee: Thomas E Enebo Fix For: JRuby 1.0.0 Looks like the rake script got checked in, (my guess is by Tom ;) ) with a bad shebang line. Should be changed to: #!/usr/bin/env jruby to match other scripts. -- This message is automatically generated by

[jruby-dev] [jira] Created: (JRUBY-1396) $? returns java null instead of RubyNil

2007-09-30 Thread Chris Nelson (JIRA)
: JRuby 1.0.1 Environment: linux, java5 Reporter: Chris Nelson puts $? blows an NPE. Either RubyGlobal.LastExitStatusVariable.get needs to check for null or ThreadContext needs to initialize lastExitStatus to be RubyNil. -- This message is automatically generated by JIRA

[jruby-dev] [jira] Created: (JRUBY-1418) Regression: File.each causes NoMethodError

2007-10-11 Thread Chris Nelson (JIRA)
Environment: jruby trunk on 10/11 Reporter: Chris Nelson Priority: Blocker Attachments: file_test.rb This is a regression from 1.0, and a pretty bad one it appears. Test case attached which passes in MRI and 1.0 -- This message is automatically generated by JIRA. - If

[jruby-dev] [jira] Created: (JRUBY-1420) Patch needed for jruby-debug

2007-10-11 Thread Chris Nelson (JIRA)
Patch needed for jruby-debug Key: JRUBY-1420 URL: http://jira.codehaus.org/browse/JRUBY-1420 Project: JRuby Issue Type: Bug Reporter: Chris Nelson Assignee: Thomas E Enebo

[jruby-dev] [jira] Created: (JRUBY-1421) Regression: packaging a gem no longer works.

2007-10-11 Thread Chris Nelson (JIRA)
Reporter: Chris Nelson Assignee: Thomas E Enebo Priority: Critical I was able to package my gem untill very recently, but something added in the code base now causes this: rake aborted! undefined method `flush' for nil:NilClass /home/ccnelson/workspace/jruby-sv

[jruby-dev] [jira] Created: (JRUBY-1695) JRuby in applet fails due Boolean.getProperty security permission

2007-12-09 Thread Chris Nelson (JIRA)
Versions: JRuby 1.1b1 Reporter: Chris Nelson Assignee: Thomas E Enebo Looks like this is a regression due to some new stuff that's been added to trunk. I can use 1.0.2 and call setSecurityRestricted(true) and am able to use JRuby in an applet but this fails in

[jruby-dev] [jira] Created: (JRUBY-3544) selecting from MSQLServer ntext columns are causing a BinaryStream conversion error

2009-04-01 Thread Chris Nelson (JIRA)
Issue Type: Bug Components: ActiveRecord-JDBC Affects Versions: ActiveRecord-JDBC-0.9.1 Environment: MSQLServer type 4 jdbc driver downloaded from MS Reporter: Chris Nelson The error is: ActiveRecord::ActiveRecordError: The conversion from ntext to