ChanServ changed the topic of #jruby to: Get 9.0.1.0! http://jruby.org/ | http://wiki.jruby.org | http://logs.jruby.org/jruby/ | http://bugs.jruby.org | Paste at http://gist.github.com
pietr0 has quit [Quit: pietr0]
<lopex> nirvdrum: I guess the only way I dont envy uk is the weather
<lopex> *thing
Aethenelle has quit [Quit: Aethenelle]
jensnockert has joined #jruby
samphippen has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
jensnockert has quit [Ping timeout: 268 seconds]
Aethenelle has joined #jruby
havenwood has joined #jruby
camlow325 has quit []
dinfuehr has joined #jruby
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
Aethenelle has quit [Quit: Aethenelle]
havenwood has joined #jruby
nirvdrum has quit [Ping timeout: 240 seconds]
jensnockert has joined #jruby
tcrawley-away is now known as tcrawley
jensnockert has quit [Ping timeout: 260 seconds]
dinfuehr has quit [Quit: Leaving...]
bb010g has joined #jruby
yfeldblum has quit [Remote host closed the connection]
tcrawley is now known as tcrawley-away
rcvalle has joined #jruby
yfeldblum has joined #jruby
rcvalle has quit [Quit: rcvalle]
rcvalle has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
samphippen has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 250 seconds]
samphipp_ has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
samphipp_ has quit [Read error: Connection reset by peer]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 246 seconds]
yosafbridge has quit [Quit: Leaving]
thedarkone2 has quit [Quit: thedarkone2]
samphippen has joined #jruby
yosafbridge has joined #jruby
rcvalle has quit [Quit: rcvalle]
yfeldblum has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
pawnbox has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 252 seconds]
pawnbox has quit [Ping timeout: 252 seconds]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 250 seconds]
rsim has joined #jruby
mikemar10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #jruby
skade has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
robbyoconnor has joined #jruby
skade has joined #jruby
skade has quit [Ping timeout: 264 seconds]
jensnockert has joined #jruby
yfeldblum has joined #jruby
shellac has joined #jruby
jensnockert has quit [Ping timeout: 260 seconds]
donV has quit [Quit: donV]
shellac has quit [Quit: Computer has gone to sleep.]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
havenwood has quit [Ping timeout: 264 seconds]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 240 seconds]
samphippen has quit [Read error: Connection reset by peer]
e_dub has quit [Ping timeout: 272 seconds]
jensnockert has joined #jruby
e_dub has joined #jruby
jensnockert has quit [Ping timeout: 256 seconds]
brauliobo_ has joined #jruby
e_dub has quit [Ping timeout: 264 seconds]
e_dub has joined #jruby
shellac has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
samphippen has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #jruby
jensnockert has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
samphipp_ has joined #jruby
brauliobo has joined #jruby
brauliobo_ has quit [Ping timeout: 268 seconds]
jensnockert has quit [Ping timeout: 264 seconds]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #jruby
samphipp_ has quit [Read error: Connection reset by peer]
donV has joined #jruby
havenwood has joined #jruby
samphippen has joined #jruby
sferik has joined #jruby
jensnockert has joined #jruby
devn has quit [Ping timeout: 252 seconds]
devn has joined #jruby
jensnockert has quit [Ping timeout: 240 seconds]
samphippen has quit [Read error: Connection reset by peer]
mberg has quit [Ping timeout: 250 seconds]
mberg has joined #jruby
mberg is now known as Guest60421
skade has joined #jruby
brauliobo has quit [Ping timeout: 240 seconds]
brauliobo has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 264 seconds]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 264 seconds]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 268 seconds]
donV has quit [Quit: donV]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 255 seconds]
thedarkone2 has joined #jruby
bitfurry has joined #jruby
bitfurry has quit [Client Quit]
cristianrasch has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 252 seconds]
drbobbeaty has joined #jruby
<havenwood> A question came up in #ruby about Method#source_location for methods implemented in Java. I was curious but what I found in the method_source gem doesn't seem to work: to_java.source_location(Thread.current.to_java.getContext())
<havenwood> 42.public_method(:+).to_java.source_location Thread.current.to_java.getContext #=> nil
<havenwood> It seems like it's like MRI where C methods return `nil` but thought I'd ask anyway. :)
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 246 seconds]
<rtyler> chrisseaton: do you happen to know if there are any good docs/tutorials on building a basic fun-language to JVM bytecode compilers?
<chrisseaton> rtyler: do you mean the specifics of emitting bytecode? You can use a library like ASM (http://asm.ow2.org). As JVM bytecode is so high level you don't need to do much more than walk an AST emitting instructions to get something up and running.
<chrisseaton> Personally of course I would very strongly recommend using Truffle instead
<rtyler> do other languages on truffle suffer some of the performance challenges you guys have seen with ruby?
<chrisseaton> https://github.com/eclipse/golo-lang would be a good, simple but still complex enough example you could copy for bytecode generation
<chrisseaton> rtyler: do you mean things like startup performance?
<rtyler> yeah
jensnockert has joined #jruby
<chrisseaton> yes, but that is a solved problem - we have a build of JRuby+Truffle that runs hello world in a couple hundred ms, but the tech isn't open source yet
<rtyler> I was thinking while on the bus yesterday if it would be feasible to create something with the strictness of Ada's type system atop the JVM
<rtyler> ah
<rtyler> any form of hello world type docs for truffle?
<rtyler> w00t
<chrisseaton> but i can't deny the best thing to do is ask for help a lot - which we're happy for people to do
<rtyler> halp
<rtyler> is it okay to target jdk8 for this, or do I need graal?
<chrisseaton> You need Graal, but there is work underway to put Graal into JDK 9
<chrisseaton> And there are binaries of Graal freely available so unless you are in a complex ops environment it's probably not an issue to use it
<chrisseaton> I mean you don't *need* Graal, but I wouldn't run without it if I wanted performance
jensnockert has quit [Ping timeout: 260 seconds]
<rtyler> is graal in jdk9 a guarantee, or is that still not 100% committed to?
<rtyler> I'd be loathe to start a project where I had to target an out of mainline jvm
<rtyler> that kills part of my motivation to target the jvm to bgin with
<chrisseaton> it's not a guarantee - track here http://openjdk.java.net/jeps/243
<chrisseaton> I'd say if you want to produce something that people can definitely use right now, use indy, if you want high performance and can wait a bit until people need to use it in production, use Truffle
<rtyler> well, honestly i've never written a compiler ever never ever so the simpler the better :P
<chrisseaton> You are looking at an order of magnitude different in performance
havenn has joined #jruby
thedarkone2 has quit [Quit: thedarkone2]
<rtyler> chrisseaton: does truffle emit pure bytecode, or is there a runtime requirement along side it?
<rtyler> outside of graal that is
havenwood has quit [Ping timeout: 250 seconds]
<chrisseaton> truffle doesn't emit bytecode at all - it's just an AST interpreter, which graal can recognise
<chrisseaton> I should make it clear as well, Truffle doesn't do ahead of time compilation
<chrisseaton> we use JIT compilation in Truffle, even for languages like C
<rtyler> hm
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 256 seconds]
aces1up has joined #jruby
<aces1up> i have a embedded jruby 1.3 how can i determine a gem version that is compatible with that version of jruby.. i want to install nokogiri pure java compatible with this version of jruby
<rtyler> jruby 1.3? that's pretty old
<aces1up> yeh, this is an old app
<aces1up> is greasyspoon
<aces1up> an icap server
<aces1up> cannot figure out how to upgrade it without breaking it
<aces1up> comes with hpricot, but would rather use nokogiri
jensnockert has joined #jruby
<rtyler> that old of a jruby is likely targeting the ruby 1.8 language
<rtyler> which practically nothing supports anymore
<aces1up> yes it is
<rtyler> if you can at least get the jruby upgraded, then that opens up the world a bit
<rtyler> whichj I would do first
<aces1up> well
<aces1up> i can see the jruby directory it accesses..
<aces1up> tried upload the sources for the latest jruby but it broke things
<aces1up> so im stuck for now with 1.3
<aces1up> how can i find the nokogiri version that would work best with that jruby version?
<rtyler> nothing is going to tell you unfortunately
<aces1up> unless you know of a good icap server that can integrate ruby scripts
<rtyler> time to go through the wayback machine :)
<aces1up> or a icap server built from ruby
<aces1up> greasyspoon was the only icap server i found that can integrate ruby scripts
<rtyler> well, it';s clearly not going to work out of the box, but I'm sure you can hack on it a bit and upgrade the embedded jruby
<aces1up> there is some sort of .gsx extension that helps greasyspoon talk to jruby
<aces1up> simple replacing the jruby directory with current sources breaks stuff.
<rtyler> chrisseaton: I think this asm framework might be the best path to go forward
<aces1up> i have no idea what .gsx is
<aces1up> do you know of a ruby based icap server?
<rtyler> no
jensnockert has quit [Ping timeout: 250 seconds]
<aces1up> bummer
<aces1up> well i was able to load the most recent nokogiri into the gems directory of the jruby 1.3
<aces1up> but when i run i get this error
<aces1up> RUBY_DESCRIPTION/icap/lib/jruby/lib/ruby/gems/1.8/gems/nokogiri-1.6.6.2-java/lib/nokogiri/version.rb:3 warning: already initialized constant VERSION
<aces1up> was thinking to manually patch it
<aces1up> but was thinking i would get more of these types of errors cause i am running such an old version of jruby
<aces1up> think i should just patch it to make it work?
thedarkone2 has joined #jruby
<aces1up> well i patched seems no errors
<aces1up> is there code i can use to check what gems are loaded?
skade has joined #jruby
skade has quit [Client Quit]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 256 seconds]
havenn has quit [Quit: Textual IRC Client: www.textualapp.com]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 272 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 255 seconds]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 246 seconds]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 246 seconds]
jensnockert has joined #jruby
samphippen has joined #jruby
jensnockert has quit [Ping timeout: 264 seconds]
sferik has quit [Quit: Textual IRC Client: www.textualapp.com]
vyorkin has joined #jruby
enebo has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 246 seconds]
enebo has quit [Quit: enebo]
jensnockert has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
samphippen has joined #jruby
pawnbox has quit [Remote host closed the connection]
samphippen has quit [Read error: Connection reset by peer]
jensnockert has quit [Ping timeout: 255 seconds]
samphippen has joined #jruby
samphippen has quit [Client Quit]
vyorkin has quit [Quit: WeeChat 1.0.1]
donV has joined #jruby
samphippen has joined #jruby
jensnockert has joined #jruby
yfeldblum has joined #jruby
samphippen has quit [Ping timeout: 252 seconds]
jensnockert has quit [Ping timeout: 264 seconds]
samphippen has joined #jruby
samphipp_ has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
jensnockert has joined #jruby
samphippen has joined #jruby
samphipp_ has quit [Read error: Connection reset by peer]
samphippen has quit [Read error: Connection reset by peer]
jensnockert has quit [Ping timeout: 256 seconds]
samphippen has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 244 seconds]
jensnockert has joined #jruby
shellac has joined #jruby
jensnockert has quit [Ping timeout: 264 seconds]
samphippen has quit [Read error: Connection reset by peer]
jensnockert has joined #jruby
samphippen has joined #jruby
jensnockert has quit [Ping timeout: 246 seconds]
shellac has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
jensnockert has joined #jruby
skade has quit [Client Quit]
jensnockert has quit [Ping timeout: 264 seconds]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 250 seconds]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 272 seconds]
shellac has joined #jruby
digitalextremist has quit [Ping timeout: 250 seconds]
samphippen has quit [Read error: Connection reset by peer]
samphippen has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
jensnockert has joined #jruby
digitalextremist has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
samphippen has joined #jruby
jensnockert has quit [Ping timeout: 240 seconds]
samphippen has quit [Ping timeout: 255 seconds]
samphippen has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
samphipp_ has joined #jruby
rsim has quit [Quit: Leaving.]
samphipp_ has quit [Read error: Connection reset by peer]
jensnockert has joined #jruby
samphippen has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
samphippen has joined #jruby
jensnockert has quit [Ping timeout: 268 seconds]
samphippen has quit [Read error: Connection reset by peer]
samphippen has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
jensnockert has joined #jruby
samphippen has joined #jruby
yfeldblum has quit [Ping timeout: 246 seconds]
jensnockert has quit [Ping timeout: 250 seconds]