The One where I spent a morning because -0.5 turned to be parsed as 1/2

This summer, I have been doing some amazing stuff for GeoGebra. First of all, I would like to thank two people: Miguel, my mentor, who guided me through all that really advanced mathematical stuff; and Heinz Kredel, JAS creator and developer, who answered all my questions and implemented my suggestions as quickly as I could …

Read moreThe One where I spent a morning because -0.5 turned to be parsed as 1/2

Status update for GeoGebra.

My contributions for the first part of the first part of GSoC 2010 can be divided in two: general improvements and coding. General improvements I made a few general improvements on GeoGebra: Refactored build.dir in ant build file. Previously, build.dir wasn’t in the root directory. A few ant tasks were added, such compile-grammar, compile-oe (outside …

Read moreStatus update for GeoGebra.

Writing your own JRuby extension. First problem.

Maybe, when requiring your just created extension, you get a LoadError. If it is the first time you require it, it is quite likely that you have not followed JRuby requiring conventions. If you want to know how require works, you can find the best documentation ever about it in the comment before org.jruby.runtime.load.LoadService class. …

Read moreWriting your own JRuby extension. First problem.

Writing your own JRuby extension. Part I: BasicLibraryService.

Note: not code in this post, but you can see the code in Github. Follow the links! Writing a JRuby extension is very easy, but there are almost not post out there about it. As far as I know, there is only one, Ola’s. It is a really good tutorial indeed, but it lacks some …

Read moreWriting your own JRuby extension. Part I: BasicLibraryService.

Do you wanna help us with pure-Java Nokogiri?

First things first, if you wanna help, you’ll need to clone the git repo. Just: git clone git://github.com/tenderlove/nokogiri.git cd nokogiri git checkout –track -b java origin/java Install the dependencies. Just: rake install:deps Because it uses some native libraries, you’ll need to do that with MRI. Finally, you’ll need to generate some files, just run jruby …

Read moreDo you wanna help us with pure-Java Nokogiri?

Final Status Update (or How to get Nokogiri in JRuby without FFI)

Hi, all, sorry for the silence all these months, but I’ve been working hard on Nokogiri. First things first, it is not complete yet. Anyway, I’m gonna tell you how to build a gem and start working with it. photo credit: Matthew Byrne Clone the repo and checkout the java branch. git clone git://github.com/tenderlove/nokogiri.git git …

Read moreFinal Status Update (or How to get Nokogiri in JRuby without FFI)

Status Update: RMagick4J, Nokogiri, ruby2java and a possible MagickWand4J

It’s been long time since last status update, but there are some things to tell, so here I am. Thankfully, this year I’m a GSoC student again (and my mentor is Tom too). The main part of my project would be porting Nokogiri to JRuby, so I haven’t code for RMagick for a while now. …

Read moreStatus Update: RMagick4J, Nokogiri, ruby2java and a possible MagickWand4J

RMagick4J 0.3.7 Happy Birthmonth released.

RMagick4J 0.3.7 Happy Birthmonth has been released! RMagick is a Ruby binding to ImageMagick and GraphicsMagick. RMagick4J implements ImageMagick functionality and the C portions of RMagick for use with JRuby. Current stable version: 0.3.7 Project URL: http://kenai.com/projects/rmagick4j Installation: gem install rmagick4j New effects: Charcoal Edge Implode Negate Normalize Shade Solarize Wave (I think that’s all …

Read moreRMagick4J 0.3.7 Happy Birthmonth released.

New RMagick4J release.

RMagick aims to implement the ImageMagick funcionality and the C portions of RMagick for make it works in JRuby. Current stable version: 0.3.5 Project URL: http://code.google.com/p/rmagick4j/ Installation: gem install rmagick4j Google Summer of Code project should be thanked for making this new release possible. In release 0.3.5 the following improvements have been made: Implemented Draw …

Read moreNew RMagick4J release.