From ola.bini at ki.se Sun Oct 1 05:54:01 2006 From: ola.bini at ki.se (Ola Bini) Date: Sun, 01 Oct 2006 11:54:01 +0200 Subject: [Jruby-extras-devel] [jruby-dev] Next mongrel issue In-Reply-To: References: <44EEB970.8030706@ki.se> <45163F6A.7000109@ki.se> Message-ID: <451F9039.8030803@ki.se> Charles O Nutter wrote: > On 9/24/06, Charles O Nutter wrote: >> Bingo! > > I committed this fix (TCPServer.listen == noop) and the added > ECONNRESET Errno error to trunk. The next issue for Mongrel is the > missing readpartial implementation. Feel free to jump on that one; I'm > on to other things for the moment. > I'm moving on this one today, having reproduced your error. -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined. From ola.bini at ki.se Sun Oct 1 11:44:36 2006 From: ola.bini at ki.se (Ola Bini) Date: Sun, 01 Oct 2006 17:44:36 +0200 Subject: [Jruby-extras-devel] Mongrel 0.4 WORKS! Message-ID: <451FE264.9040001@ki.se> Hi, As my subject states, I now have a working Mongrel 0.4, serving a servlet and a directory tree (actually the directory tree for the source to the mongrel-support project =). It works really well, right now. So, what's needed? First, update to latest version of mongrel-support. I have fixed a few issues with the parser. The attached patch fixes a readpartial-implementation for all IOHandlerNio-RubyIO-objects. And that's really all there is to it. I'm attaching my testMongrel.rb to, so you can test it out. I'm planning on blogging about this, providing ready-made http11.jar and such in a few hours. (Oh, and the gem_plugin issue is easy to solve. either do jruby gem install gem_plugin, or do cp $MONGREL04_SRC/projects/gem_plugin/lib/gem_plugin.rb $JRUBY_HOME/lib/ruby/site_ruby/1.8) (Oh, I also plan to check the mongrel_rails script tonight, seeing if we can get Rails served with Mongrel now... =) Much joy. -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined. -------------- next part -------------- A non-text attachment was scrubbed... Name: mongrelIO.patch Type: text/x-patch Size: 2024 bytes Desc: not available Url : http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20061001/fcb17b23/attachment-0002.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: testMongrel.rb Type: application/x-ruby Size: 843 bytes Desc: not available Url : http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20061001/fcb17b23/attachment-0003.bin From ola.bini at ki.se Sun Oct 1 14:29:40 2006 From: ola.bini at ki.se (Ola Bini) Date: Sun, 01 Oct 2006 20:29:40 +0200 Subject: [Jruby-extras-devel] Mongrel 0.4 + Rails in JRuby Message-ID: <45200914.7070205@ki.se> Hi Zed, I have spent some more time with Mongrel 0.4, and I've gotten far enough that it works really well with something like this: class SimpleHandler < Mongrel::HttpHandler def process(request, response) response.start do |head,out| head["Content-Type"] = "text/html" results = "Your request:
#{request.params.inspect}
View the files." if request.params["HTTP_ACCEPT_ENCODING"] == "gzip,deflate" head["Content-Encoding"] = "deflate" # send it back deflated out << Zlib::Deflate.deflate(results) else # no gzip supported, send it back normal out << results end end end end @simple = SimpleHandler.new @files = Mongrel::DirHandler.new(ARGV[0]) @http_server = Mongrel::HttpServer.new('0.0.0.0',3333) @http_server.register("/", @simple) @http_server.register("/files", @files) @http_server.run Now, I'm trying to get the Rails-stuff working too, but there I've hit a small snag. In the file mongrel/rails.rb you have code that looks like this: ops[:prefix] ||= "/" and later in the same method ActionController::AbstractRequest.relative_url_root = ops[:prefix] I'm not sure if this works with MRI, but it certainly doesn't work in JRuby, since Rails will take the relative_url_root and remove it from the request. For example, if I request "/products" it will become "products", and later on, in the mother recognize() (in routing.rb), the recognizing code will depend on the first "/" being there. The end result is that Rails doesn't recognize anything you give to it, except for static files. Any heads up on this behaviour? Regards -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined. From ola.bini at ki.se Mon Oct 2 05:05:51 2006 From: ola.bini at ki.se (Ola Bini) Date: Mon, 02 Oct 2006 11:05:51 +0200 Subject: [Jruby-extras-devel] Rails functional in JRuby+Mongrel Message-ID: <4520D66F.9040603@ki.se> Hi, I have now committed a few fixes to mongrel-support, which makes Rails functional in JRuby with Mongrel 0.4. There is one slight problem, though. As I mailed about before, the relative_uri_root gets handled wrong by Mongrel or Rails, for some reason. The workaround for this is to either change the mongrel_rails script, changing the default for the "--prefix"-parameter from '/' into '', or just call it like this: ./mongrel_rails --prefix "" start A small tutorial from end to end will be soon forthcoming. -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined. From ola.bini at ki.se Tue Oct 3 11:51:34 2006 From: ola.bini at ki.se (Ola Bini) Date: Tue, 03 Oct 2006 17:51:34 +0200 Subject: [Jruby-extras-devel] [ANN] ActiveRecord-JDBC 0.2.2 released Message-ID: <45228706.9090500@ki.se> ActiveRecord-JDBC 0.2.2 have now been released. This release is mostly a bug fix release, but also adds support for MimerSQL. Further, the internal structure have been changed, to allow further refactorings down the road. The new release can be downloaded from RubyForge at: http://rubyforge.org/frs/?group_id=2014 or installed through RubyGems -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined. From ricardo.trindade at emation.pt Mon Oct 9 12:59:13 2006 From: ricardo.trindade at emation.pt (Ricardo Trindade) Date: Mon, 09 Oct 2006 17:59:13 +0100 Subject: [Jruby-extras-devel] svn access Message-ID: <452A7FE1.8040504@emation.pt> Hi, I'm having trouble accessing the repository, I'm trying to checkout using the following URL : svn+ssh://USERNAME at rubyforge.org/var/svn/jruby-extras Although I was asked to confirm the server key, and get a prompt for my password, the password isn't accepted, and I just keep getting the prompt over and over. I'm using tortoiseSVN. thanks for any help, Ricardo From ricardo.trindade at emation.pt Mon Oct 9 15:30:08 2006 From: ricardo.trindade at emation.pt (Ricardo Trindade) Date: Mon, 09 Oct 2006 20:30:08 +0100 Subject: [Jruby-extras-devel] JRuby Swing Console Message-ID: <452AA340.8040704@emation.pt> Hi, I just added the JRuby Swing Console to jruby-extras. The source has been added to the jruby-extras svn, and a file release for version 0.1 has been made. http://rubyforge.org/projects/jruby-extras/ This is a port of the pnuts swing console for jruby, written mainly in ruby. cheers, Ricardo Trindade From ricardo.trindade at emation.pt Mon Oct 9 15:33:17 2006 From: ricardo.trindade at emation.pt (Ricardo Trindade) Date: Mon, 09 Oct 2006 20:33:17 +0100 Subject: [Jruby-extras-devel] svn access In-Reply-To: <452A7FE1.8040504@emation.pt> References: <452A7FE1.8040504@emation.pt> Message-ID: <452AA3FD.3030506@emation.pt> Hi, Forget this, I found it in the FAQ. sorry, Ricardo Ricardo Trindade wrote: > Hi, > > I'm having trouble accessing the repository, I'm trying to checkout > using the following URL : > > svn+ssh://USERNAME at rubyforge.org/var/svn/jruby-extras > > Although I was asked to confirm the server key, and get a prompt for > my password, the password isn't accepted, and I just keep getting the > prompt over and over. > > I'm using tortoiseSVN. > > thanks for any help, > Ricardo > > _______________________________________________ > Jruby-extras-devel mailing list > Jruby-extras-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/jruby-extras-devel > > From ola.bini at ki.se Mon Oct 9 15:37:27 2006 From: ola.bini at ki.se (Ola Bini) Date: Mon, 09 Oct 2006 21:37:27 +0200 Subject: [Jruby-extras-devel] svn access In-Reply-To: <452A7FE1.8040504@emation.pt> References: <452A7FE1.8040504@emation.pt> Message-ID: <452AA4F7.6060803@ki.se> Ricardo Trindade wrote: > Hi, > > I'm having trouble accessing the repository, I'm trying to checkout > using the following URL : > > svn+ssh://USERNAME at rubyforge.org/var/svn/jruby-extras > > Although I was asked to confirm the server key, and get a prompt for > my password, the password isn't accepted, and I just keep getting the > prompt over and over. > > I'm using tortoiseSVN. > > thanks for any help, > Ricardo > Hi, That's strange indeed. You are a project member correctly and everything. I haven't used tortoiseSVN, though, so I'm not sure. Some SVN clients have trouble with svn+ssh. I do all my SVN and CVS from the command prompt. I recommend that you try that and see if it works better. -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined. From ricardo.trindade at emation.pt Tue Oct 10 05:34:21 2006 From: ricardo.trindade at emation.pt (Ricardo Trindade) Date: Tue, 10 Oct 2006 10:34:21 +0100 Subject: [Jruby-extras-devel] svn access In-Reply-To: <452AA4F7.6060803@ki.se> References: <452A7FE1.8040504@emation.pt> <452AA4F7.6060803@ki.se> Message-ID: <452B691D.7090405@emation.pt> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20061010/5b6f1d65/attachment.html From public at bagotricks.com Wed Oct 18 00:38:18 2006 From: public at bagotricks.com (Thomas Palmer) Date: Tue, 17 Oct 2006 21:38:18 -0700 Subject: [Jruby-extras-devel] Milestone 1 release of RMagickJr Message-ID: <4535AFBA.5080907@bagotricks.com> Hello, I've tagged an "m1" release of RMagickJr. Here are the main good things to say about it: * At varying degrees of quality and hackishness, it runs all these samples: http://rmagick.rubyforge.org/portfolio.html * The build.xml works and by default shows a sample picture. Put together, this means that other people might be able to run it, and they might be able to put it to some simple use. Well, except that it doesn't support real data export yet. It just displays pictures. Here are some bad things to say about it: * I've tested only on a Mac so far. * Some things are super hacks, and some implementation is super shallow. * Some of the pictures don't look quite right. * Fixing some of what's off (especially the convolution/blurring) will be nontrivial for me. * Some project organization is less than ideal. Still need to understand RubyGems, extensions/ext concepts, and rake better. * Not much attention paid to super performance. * My progress is slow, but that was expected. * Probably a lot more. But it's still progress, and I'm actually reading the pick axe (v2 - I'd looked at v1 online a few years ago), so maybe I'll start grokking the Ruby world better soon. Maybe by m2 or m3 (or sometime), I could try to find a real app using RMagick and try to make it work with my version. For the next moment, though, I'll probably try tackling page 2 or 3 of the "portfolio" samples at the RMagick web site. And eventually go into class by class and method by method depth. Or something. I'm just trying to work with tracer bullets for now. And I might rename the project to "rmagick4j" or "rmagick-jruby" or something at some point. Not sure what's best, so I'm sticking with "jr" for now. And that's an accurate representation for now, anyway. - Tom Palmer From headius at headius.com Wed Oct 18 01:04:39 2006 From: headius at headius.com (Charles O Nutter) Date: Wed, 18 Oct 2006 00:04:39 -0500 Subject: [Jruby-extras-devel] Milestone 1 release of RMagickJr In-Reply-To: <4535AFBA.5080907@bagotricks.com> References: <4535AFBA.5080907@bagotricks.com> Message-ID: On 10/17/06, Thomas Palmer wrote: > I've tagged an "m1" release of RMagickJr. Here are the main good things > to say about it: I was just thinking about this today, wondering if things were still moving along. Your M1 is quite timely :) > > * At varying degrees of quality and hackishness, it runs all these > samples: http://rmagick.rubyforge.org/portfolio.html > * The build.xml works and by default shows a sample picture. That's a huge start by any measure. RMagick is one of those things most people (including me) thought would never, ever work in JRuby. I'm glad you're proving us wrong. > > Put together, this means that other people might be able to run it, and > they might be able to put it to some simple use. Well, except that it > doesn't support real data export yet. It just displays pictures. > > Here are some bad things to say about it: > > * I've tested only on a Mac so far. > * Some things are super hacks, and some implementation is super shallow. > * Some of the pictures don't look quite right. > * Fixing some of what's off (especially the convolution/blurring) will > be nontrivial for me. > * Some project organization is less than ideal. Still need to understand > RubyGems, extensions/ext concepts, and rake better. There are others here who should be able to help you with that. I still don't know how to package a gem, but from what I gather it's not terribly difficult. We do not yet have a gem that installs a Java-based JRuby extension, so that's an area for discussion and additional work... > * Not much attention paid to super performance. Yeah, welcome to the club. As we improve performance of JRuby, you'll gain with us; 0.9.1 is something like 50% faster than the previous release for real-world execution. And for areas that just don't work well in Ruby, you may want to try to reimplement in pure Java and you may find others willing to help with that. > * My progress is slow, but that was expected. > * Probably a lot more. > > But it's still progress, and I'm actually reading the pick axe (v2 - I'd > looked at v1 online a few years ago), so maybe I'll start grokking the > Ruby world better soon. > > Maybe by m2 or m3 (or sometime), I could try to find a real app using > RMagick and try to make it work with my version. For the next moment, > though, I'll probably try tackling page 2 or 3 of the "portfolio" > samples at the RMagick web site. And eventually go into class by class > and method by method depth. Or something. I'm just trying to work with > tracer bullets for now. All sound like fine ways to progress. I'm really impressed with what you've gotten working so far. > > And I might rename the project to "rmagick4j" or "rmagick-jruby" or > something at some point. Not sure what's best, so I'm sticking with "jr" > for now. And that's an accurate representation for now, anyway. Whatever name you prefer, of course, but it would be great to reach out to the rmagick team/person and start building bridges. The problem we have with Ruby and Gems is that there's no concept of equivalency...i.e. we can't say that rmagickjr is equivalent to rmagick when running under JRuby, so any apps that depend on rmagick will always depend on *exactly* rmagick. That complicates swapping rmagickjr in when running in JRuby. One answer is to get the rmagick team/person interested in offering a Java/JRuby-based gem under the same rmagick name. The other option is working with the community and Jim Weirich of RubyGems to work out some sort of equivalency model. I don't know what's best. The jruby-mongrel guys have taken the former path, working with Zed Shaw of Mongrel fame who is currently interested in offering the Java-based version alongside the C-based version as equivalent gems. This will become more and more an issue as we provide Java-based versions of Ruby extension gems. -- Contribute to RubySpec! @ www.headius.com/rubyspec Charles Oliver Nutter @ headius.blogspot.com Ruby User @ ruby.mn From public at bagotricks.com Thu Oct 19 00:33:19 2006 From: public at bagotricks.com (Thomas Palmer) Date: Wed, 18 Oct 2006 21:33:19 -0700 Subject: [Jruby-extras-devel] Milestone 1 release of RMagickJr In-Reply-To: References: <4535AFBA.5080907@bagotricks.com> Message-ID: <4537000F.4020201@bagotricks.com> Charles O Nutter wrote: > Whatever name you prefer, of course, but it would be great to reach > out to the rmagick team/person and start building bridges. The problem > we have with Ruby and Gems is that there's no concept of > equivalency...i.e. we can't say that rmagickjr is equivalent to > rmagick when running under JRuby, so any apps that depend on rmagick > will always depend on *exactly* rmagick. That complicates swapping > rmagickjr in when running in JRuby. One answer is to get the rmagick > team/person interested in offering a Java/JRuby-based gem under the > same rmagick name. The other option is working with the community and > Jim Weirich of RubyGems to work out some sort of equivalency model. I > don't know what's best. The jruby-mongrel guys have taken the former > path, working with Zed Shaw of Mongrel fame who is currently > interested in offering the Java-based version alongside the C-based > version as equivalent gems. > > This will become more and more an issue as we provide Java-based > versions of Ruby extension gems. > > I've posted a message on the RMagick forum about my project. I'll see what they think about it. Concerning general strategies, is it possible that JRuby could externally override features (e.g., by redefining methods) in RubyGems to support the ability to load alternative gems for JRuby? At least until RubyGems gets such features built in? Concerning built-in support in RubyGems, the PickAxe 2 RubyGems chapter mentions planned future support for downloading different precompiled extension gems based on the platform. Is the hope that this would be abstract enough to support JRuby or any other implementation? I suppose that was the Jim Weirich option you mentioned about. On a semi-related note, I've also had some recent email correspondence with the developer of the Swank (Tk in Java) project. Here's the web page for it: http://www.onemoonscientific.com/swank/index.html He said that he expects that after his next release, the Java API is unlikely to be changing much and that it's probably already more stable than he admits to on the web site. Maybe could be a way to provide Ruby/Tk support. Not that I intend to run into such a thing with RMagick still lacking so much, but maybe someone else could be convinced to pick it up. And I suppose that should probably go into JRuby proper, since Ruby/Tk is part of the standard Ruby libraries. (Other fun projects would be FxRuby and wxRuby, but again, I'm not going there right now.) Anyway, maybe worth pinging the JRuby User mailing list to see if anyone would be interested in the Tk thing. - Tom Palmer From djd at apache.org Fri Oct 20 19:10:16 2006 From: djd at apache.org (Daniel John Debrunner) Date: Fri, 20 Oct 2006 16:10:16 -0700 Subject: [Jruby-extras-devel] ActiveRecord-JDBC without Rails? Message-ID: <45395758.4050807@apache.org> Is it possible to run just JRuby and ActiveRecord-JDBC without rails? I downloaded them both, successfully installed ActiveRecord-JDBC with gem but then I'm lost. Trying the various 'require's I see in examples in blogs etc. I always get a load error. hw.rb:1:in `require': No such file to load -- active_record/connection_adapters/ jdbc_adapter (LoadError) from hw.rb:1 I'm new to Ruby so I'm just experimenting here, don't find much documentation on ActiveRecord-JDBC. Thanks for any help, Dan. From peter at oaktop.com Sat Oct 21 16:56:40 2006 From: peter at oaktop.com (Peter K Chan) Date: Sat, 21 Oct 2006 16:56:40 -0400 Subject: [Jruby-extras-devel] ActiveRecord-JDBC without Rails? In-Reply-To: <45395758.4050807@apache.org> Message-ID: Hi Dan, Yes. I have been running ActiveRecod-JDBC by itself without Rails in my project, and it works very well. Make sure that you load the appropriate jdbc_adapter.rb file (or whatever it's called) before establishing the connection. Something like: Require "path_to_you_jdbc_adapter.rb" Peter -----Original Message----- From: jruby-extras-devel-bounces at rubyforge.org [mailto:jruby-extras-devel-bounces at rubyforge.org] On Behalf Of Daniel John Debrunner Sent: Friday, October 20, 2006 6:10 PM To: jruby-extras-devel at rubyforge.org Subject: [Jruby-extras-devel] ActiveRecord-JDBC without Rails? Is it possible to run just JRuby and ActiveRecord-JDBC without rails? I downloaded them both, successfully installed ActiveRecord-JDBC with gem but then I'm lost. Trying the various 'require's I see in examples in blogs etc. I always get a load error. hw.rb:1:in `require': No such file to load -- active_record/connection_adapters/ jdbc_adapter (LoadError) from hw.rb:1 I'm new to Ruby so I'm just experimenting here, don't find much documentation on ActiveRecord-JDBC. Thanks for any help, Dan. _______________________________________________ Jruby-extras-devel mailing list Jruby-extras-devel at rubyforge.org http://rubyforge.org/mailman/listinfo/jruby-extras-devel From headius at headius.com Sat Oct 21 16:58:53 2006 From: headius at headius.com (Charles O Nutter) Date: Sat, 21 Oct 2006 14:58:53 -0600 Subject: [Jruby-extras-devel] ActiveRecord-JDBC without Rails? In-Reply-To: <45395758.4050807@apache.org> References: <45395758.4050807@apache.org> Message-ID: FYI, you normally can't post unless you join the list, but I let this one through... You can use just ActiveRecord-JDBC, but you still need at least ActiveRecord (we don't provide all of ActiveRecord, just some connectors). gem install activerecord and activerecord-jdbc and you should be fine. On 10/20/06, Daniel John Debrunner wrote: > Is it possible to run just JRuby and ActiveRecord-JDBC without rails? > > I downloaded them both, successfully installed ActiveRecord-JDBC with > gem but then I'm lost. Trying the various 'require's I see in examples > in blogs etc. I always get a load error. > > hw.rb:1:in `require': No such file to load -- > active_record/connection_adapters/ > jdbc_adapter (LoadError) > from hw.rb:1 > > I'm new to Ruby so I'm just experimenting here, don't find much > documentation on ActiveRecord-JDBC. > > Thanks for any help, > Dan. > > _______________________________________________ > Jruby-extras-devel mailing list > Jruby-extras-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/jruby-extras-devel > -- Contribute to RubySpec! @ www.headius.com/rubyspec Charles Oliver Nutter @ headius.blogspot.com Ruby User @ ruby.mn From ret1 at sbcglobal.net Sat Oct 21 17:03:47 2006 From: ret1 at sbcglobal.net (Rob Thornton) Date: Sat, 21 Oct 2006 16:03:47 -0500 Subject: [Jruby-extras-devel] ActiveRecord-JDBC without Rails? In-Reply-To: <45395758.4050807@apache.org> References: <45395758.4050807@apache.org> Message-ID: <453A8B33.4010505@sbcglobal.net> It is definitely possible. Here's some code I have using Derby w/o Rails: require "rubygems" require_gem "activerecord" require 'jdbc_adapter' ActiveRecord::Base.establish_connection(:adapter => "jdbc" , :driver => "org.apache.derby.jdbc.EmbeddedDriver" , :url => "jdbc:derby:jrubyDB;create=true" ) Hope that helps (note, I did have to get the latest JRuby code to make it work - 0.9 was the latest at the time, I haven't tried it with 0.9.1). Daniel John Debrunner wrote: > Is it possible to run just JRuby and ActiveRecord-JDBC without rails? > > I downloaded them both, successfully installed ActiveRecord-JDBC with > gem but then I'm lost. Trying the various 'require's I see in examples > in blogs etc. I always get a load error. > > hw.rb:1:in `require': No such file to load -- > active_record/connection_adapters/ > jdbc_adapter (LoadError) > from hw.rb:1 > > I'm new to Ruby so I'm just experimenting here, don't find much > documentation on ActiveRecord-JDBC. > > Thanks for any help, > Dan. > > _______________________________________________ > Jruby-extras-devel mailing list > Jruby-extras-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/jruby-extras-devel > > > From charles.nutter at sun.com Tue Oct 24 21:04:03 2006 From: charles.nutter at sun.com (Charles Oliver Nutter) Date: Tue, 24 Oct 2006 20:04:03 -0500 Subject: [Jruby-extras-devel] Mongrel, next steps Message-ID: <453EB803.7000407@sun.com> I talked with Zed at RubyConf. Here's a run-down of what we thought the next steps should be for Mongrel-Java: - 0.4 is the experimental future version of Mongrel, but it *is* going to eventually become *the* version of Mongrel. The biggest difference is the move from the C-based TST to a Ruby-based one, and that the 0.3 series has a bunch of security fixes. Zed thought we could try to do 0.3 if we wanted, but that concentrating on 0.4 is probably fine too. - Zed is willing to include the Java-based stuff in Mongrel as an alternative platform...so projects that require "mongrel" will still be able to install once we have this up and running. - We should follow up on looking at using Ragel to generate the HTTP parser. It's available now, but I don't think anyone's circled back around to making it go. Once we have that and appropriate code for hooking it into JRuby, there's very little code we'll have different from Mongrel proper. Zed was excited about that possibility. -- Charles Oliver Nutter, JRuby Core Developer headius at headius.com -- charles.nutter at sun.com Blogging at headius.blogspot.com From public at bagotricks.com Sat Oct 28 19:37:15 2006 From: public at bagotricks.com (Thomas Palmer) Date: Sat, 28 Oct 2006 16:37:15 -0700 Subject: [Jruby-extras-devel] RMagickJr 0.2 Message-ID: <4543E9AB.4090800@bagotricks.com> Cut a new release that actually lets you save what you do. Still not all that exciting. Here are my simple release notes: More I/O support including basic handling of write, to_blob, and from_blob. Also upgraded RMagick libs to 1.14.0 and bundled JRuby to 0.9.1. Also reorganized the directory layout better. Moved JRuby files to its own folder. Moved draw support into magickjr package. - Tom Palmer From public at bagotricks.com Sun Oct 29 01:03:49 2006 From: public at bagotricks.com (Thomas Palmer) Date: Sat, 28 Oct 2006 22:03:49 -0700 Subject: [Jruby-extras-devel] Gruff graphs Message-ID: <45443635.7020300@bagotricks.com> This could be a fun one to try to getting running under RMagickJr: http://nubyonrails.com/pages/gruff More about drawing than image processing, but drawing will be easier for me (I think) anyway, and Gruff Graphs seems to be semi popular. That could give me a real-world goal, maybe. I also wouldn't mind finding a Rails photo album manager using RMagick. Seems like such a thing ought to exist. - Tom From headius at headius.com Sun Oct 29 04:17:30 2006 From: headius at headius.com (Charles Oliver Nutter) Date: Sun, 29 Oct 2006 03:17:30 -0600 Subject: [Jruby-extras-devel] Gruff graphs In-Reply-To: <45443635.7020300@bagotricks.com> References: <45443635.7020300@bagotricks.com> Message-ID: <454471AA.3050101@headius.com> Thomas Palmer wrote: > This could be a fun one to try to getting running under RMagickJr: > > http://nubyonrails.com/pages/gruff > > More about drawing than image processing, but drawing will be easier for > me (I think) anyway, and Gruff Graphs seems to be semi popular. > > That could give me a real-world goal, maybe. I also wouldn't mind > finding a Rails photo album manager using RMagick. Seems like such a > thing ought to exist. I'd love to see gruff work...it seems to have become the standard for generating graphs these days, and that pesky RMagick dependency is really the only thing in our way. It would also prove very flashy if we could show it working in JRuby for demos and presentations, since most folks know it depends on a C library normally. It's a more visible way to show that JRuby can meet Ruby toe-to-toe, even when C extensions are involved (ActiveRecord being the less-visible example). - Charlie From headius at headius.com Tue Oct 31 09:50:22 2006 From: headius at headius.com (Charles Oliver Nutter) Date: Tue, 31 Oct 2006 08:50:22 -0600 Subject: [Jruby-extras-devel] Bug report for ActiveRecord-JDBC Message-ID: <454762AE.20701@headius.com> I noticed this on someone's blog post...but hadn't noticed the bug report or seen an email. Anyway, for those of you AR-JDBC guys, maybe give it a looksee: http://rubyforge.org/tracker/index.php?func=detail&aid=6414&group_id=2014&atid=7857 And the blog: http://kofno.wordpress.com/2006/10/31/activerecord-jdbc-bug-numerics-retrieved-using-getint/ - Charlie