search for: codehaus

Displaying 20 results from an estimated 26 matches for "codehaus".

2007 Dec 28
1
JtestR 0.1 released
JtestR allows you to test your Java code with Ruby frameworks. Homepage: http://jtestr.codehaus.org Download: http://dist.codehaus.org/jtestr JtestR 0.1 is the first public release of the JtestR testing tool. JtestR integrates JRuby with several Ruby frameworks to allow painless testing of Java code, using RSpec, Test/Unit, dust and Mocha. Features: - Integrates with Ant and Maven - Include...
2009 Mar 06
0
[LLVMdev] Garbage collection
...n interfaces for implementing a broad range of collection algorithms. I was amused by the fact that "building a hybrid copying/mark-sweep collector" is one of the steps in their tutorial :) Of particular interest for LLVM is MMTk's API for communicating with the VM: http://rvm.codehaus.org/docs/api/org/mmtk/vm/VM.html http://rvm.codehaus.org/docs/api/org/mmtk/vm/Memory.html http://rvm.codehaus.org/docs/api/org/mmtk/vm/Barriers.html Although MMTk is far too much of a Swiss Army Knife for my purposes - too generalized and too complex - nevertheless some of its abstractions...
2009 Feb 27
2
[LLVMdev] Garbage collection
On Feb 26, 2009, at 12:25, Chris Lattner wrote: > On Feb 26, 2009, at 12:02 AM, Talin wrote: > >> With the increasing number of LLVM-based VMs and other projects, I >> suspect that the desire for more comprehensive garbage collection >> support in LLVM is only going to increase. > > What you see in LLVM right now is really only the second step of the >
2010 Jun 16
2
Sending a null byte to a socket
Hello, I am trying to write some code in R to communicate over sockets via the STOMP protocol (http://stomp.codehaus.org/Protocol). As you can see, a null byte (ASCII 0) is used as the "over" signal. I'd like to be able to do something like this: write.socket(socket, "CONNECT\nlogin: me\npasscode: pass\n\n\000") However, R does not like it when you put "\000" in a string: &gt...
2018 Jul 03
2
LVM problems
On Mon, Jul 2, 2018 at 7:53 PM, Ulf Volmer <u.volmer at u-v.de> wrote: > On 02.07.2018 18:23, Thomas Schweikle wrote: > >> System boots into emergency mode because it does not find any of the >> logical volumes defined, because it does not enable the LVM volume >> group. >> >> Giving "lvm", then "vgchange -a y", followed by CTRL-D
2006 Oct 20
6
Nightly Linux build?
Hey guys, I''m really sorry to be so out of touch these days. We just hired two new programmers at work so I''m busy bringing them up to speed...in time for them to help us get a major release out at the end of the year. So my personal goals for wxruby participation at the moment are: 1. Respond to any support requests as quickly as possible 2. Respond to any questions from you
2007 Aug 13
0
jruby + camping
CodeHaus has a great introduction of jruby running camping. looks really nice to have this kind of integration http://jruby.codehaus.org/The+JRuby+Tutorial+Part+2+-+Going+Camping -- Andr? G. Cardozo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/piper...
2006 Mar 21
4
habtm > join()
I''m trying to pull ou the ''name'' field for each of my associated rows and pass it as a string of names. I''m missing something obvious here but I thought @bag.packages.name.join(", ") would work. do I have to loop through @bag.packages? that seems like the long way. thanks -zac -- Posted via http://www.ruby-forum.com/.
2007 Oct 24
1
Status of Merb on JRuby
...ut, making one of the other engines work would be a great place to start :-) :dudley [0] http://merb.devjavu.com/ticket/231 [1] http://merb.devjavu.com/ticket/232 [2] http://merb.devjavu.com/ticket/236 [3] http://merb.devjavu.com/ticket/242 [4] http://merb.devjavu.com/ticket/235 [5] http://jira.codehaus.org/browse/JRUBY-1106 [6] http://rubyforge.org/frs/download.php/20097/mongrel-1.0.1-jruby.gem
2005 May 07
4
string syntactic sugar in R? - long post
...<- "the result is ${alpha} with the comment ${beta}" >cat(gstr) the result is 8 with the comment xyz This syntactic sugar reduces significantly the number of mistakes made with normal string concatenations. Gstrings are used in ant and groovy - (for details see http://groovy.codehaus.org/Strings, jump to GStrings). They are particularly useful for creating readable and error-free SQL statements, but obviously the simplify 'normal' string+value handling in all situations. [ps: gstrings are not nestable] I was wondering how difficult it would be to add such syntactic sug...
2008 Apr 15
4
trouble streaming images with send_data
Hi I''m doing some server-side graphics with Java2D and I''m trying to stream the resulting image to the browser using send_data. When I try to view the image that I streamed, the browser just shows the URL in the window as a very small image (about .4 kb) when I am using jpeg format. For png, it tells me that the image has errors and can''t load it. Here''s what
2005 Sep 21
2
Result Documents XML or JSON?
My Java servlets can generate both JavaScript objects, like JSON, and XML. I can generate both pretty easily. What''s best practice for AJAX responses? Return scripts to be evaled by the Ajax control, or return XML documents and iterate them using XML DOM? Thanks. -- Alan Gutierrez - alan@engrm.com - http://engrm.com/blogometer/index.html -
2008 Jul 08
8
POST instead of GET gives 404 (newbie)
Hi, Using JRuby 1.1 and Rails 2.0, I created a small project in NetBeans that allows me to generate a dynamic dialplan in XML. In case it matters, I''m using builder-2.1.2 and activerecord-2.0.2. Going in the browser to: http://localhost:3000/routing/dialplan?Caller-Destination-Number=0 Does exactly what I want: <document type="freeswitch/xml"> <section
2008 May 02
0
A word about compatibility with JRuby and Ruby 1.9
...ity with JRuby, I feel like I need to clear something up, and that''s that FXRuby will never (well, "almost certainly never") work with JRuby. This problem isn''t unique to FXRuby; it''s true for any C/C++-based Ruby extension. See this page: http://jruby.codehaus.org/Limitations for more information. FXRuby seems to be mostly working under Ruby 1.9, although it has obviously had very little testing at this point since the official release of Ruby 1.9.0. What that means is that the FXRuby source code can be compiled against Ruby 1.9, and the resultin...
2006 Nov 09
1
Making it work under JRuby
I''ve been having problems starting the daemon under JRuby, has anyone else tried this? What I''m trying to accomplish is running Rails on regular ruby and BackgroundRB on JRuby. I''m working on a project that requires me to use a java-api to communicate with a service and it should work so that when a user logs on to the rails app, it actually authenticates through the
2006 Aug 28
2
single specs
The spec command has an option to run a single spec. I''m realizing that I never, ever use this. Does anyone else? If not, I''d like to get rid of it! It''s one of those things that "seemed like a good idea at the time", but resulted in a bunch of hack-ish code.
2004 Nov 23
2
streams in fork
hi all, is there a way to use fork with redirected streams? i mean in a similar way that ruby''s standard open3 does it. i''d like to be able to read the stdout/stdin/stderr streams from the forked ruby process in the parent process. cheers, aslak
2006 Apr 11
3
fun/flamebait: Java Web Devel Stacks
I''ll pose a question partly for fun, partly out of interest to see what everyone else is doing to survive the pain of the day job. It''s for the professional J2EE developer converts out there. Let''s say someone hired you to write a Basecamp clone, but it has to be done in Java, say on the Tomcat or JBoss platform. What does your stack look like now that you''ve
2007 Apr 12
6
RSpec part of two (count ''em, two) GSoC projects
Here is the list of Ruby related projects accepted for GSoC. It includes two very similar projects (seemingly the same project, really, but I''m not saying anything ;) ) using RSpec to build a spec suite for implementations of the Ruby language: http://code.google.com/soc/ruby/about.html I''m, personally, very excited about the implications of this. Thanks to all of you who use,
2006 Mar 02
3
reloadable classes for other base classes than the built-ins
I''m working on the plugin for RBatis and a new little thing I''m toying around with called ActiveMessaging (sorry, David I stole the name from you from the TW AwayDay ;-)). Anyway, in both these applications I want to be able to have reloadable classes that don''t extend any of the standard built in ones. So, I don''t mean to offend the Eminent Core Members by