Showing posts with label The JRuby Programming Language. Show all posts
Showing posts with label The JRuby Programming Language. Show all posts

Tuesday, July 10, 2012

The Pragmatic Bookshelf: Deploying with JRuby

Deploying with JRuby:
Deploy using the JVM's high performance while building your apps in the language you love. JRuby is a fast, scalable, and powerful JVM language with all the benefits of a traditional Ruby environment. See how to consolidate the many moving parts of an MRI-based Ruby deployment onto a single JVM process. You'll learn how to port a Rails application to JRuby, get it into production, and keep it running.

Sunday, January 15, 2012

on 2012-01-03 Google changed the XML for their address books, and that breaks jruby

At first I thought, it breaks XmlSimple or REXML, but everything is fine with MRI ruby, just jruby (up until 1.6.5.1) is concerned.

Before then Google Contacts had their German "umlauts" (ä, ö, ü, Ä, Ö, Ü) and the German "sz" i.e. "ß" represented as "ä" (for ä) etc.

In the middle of that day they changed that, and started showing the characters themselves (in UTF-8).

Thursday, September 22, 2011

JRuby and Lucene

Danny 'Jay' Donnell: JRuby and Lucene: K I S S I N G

Lucene was a question in my interview today.
Had I read Ruby Weekly and this article before, I could have answered that interview question then.

Sunday, July 17, 2011

JasperReports and JRuby

I am hot for combining these two – using the JasperReports API from JRuby for a nice utility, maybe a rewrite of my "TextApp nephew".

Monday, March 7, 2011

my call monitor software is going jruby

My FRITZ!Box call monitor is written in ruby-1.9. So far I am running it using MRI-ruby-1.9.

This call monitor is a FRITZ!Box call monitor, it does not monitor the calls on my smartphone yet (which is rather, rather sad). Most of the year (for economical reasons) I should sit in a customer's office quite a little away from my place – receiving calls on my smartphone. So it makes much sense to get my call monitor software to monitor the calls on my smartphone one day (rather sooner than later).

Just recently (with the help of RVM) I delved into the the jruby world, and of course I am trying to run my call monitor software also with "jruby --1.9".
My current problems with "jruby-1.6.0.RC2 --1.9" are with I18N and encodings, so I cannot open my gmail address book with "r:UTF-16LE:UTF-8". My evasive strategy is to let it read a UTF-8 version of it.
The ruby CSV module, that parses my address book using regular expressions, seems to give the runtime system yet unseen tasks.
Maybe I am not too far away from running a slightly adapter version of my call monitor in jruby and therefore on a JVM.

Of course, IronRuby (a .Net ruby implementation) is also an option.

There are not that many different smartphone operating systems, that run JVM-s, so we are mainly talking about Android.
Does Android allow non-core software to (sort of) monitor the incoming and outgoing calls?

Once jruby successfully runs my call monitor, the way is free to go for an Android implementation. I am rather hot for it.

Update 2011-03-07:
After a couple of postings on user@jruby.codehouse.org and especially with the support of Thomas E. Enebo, my software now runs just as well with the very, very latest jruby, that I produced through "rvm install jruby-head".


Update 2011-03-28:
Now it runs reading the XML Google Contacts, which is more comfortable, as I can download it on the command line.