calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
e_dub has joined #jruby
e_dub has quit [Client Quit]
nirvdrum has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noop has joined #jruby
e_dub has joined #jruby
toshetm has quit [Ping timeout: 240 seconds]
toshetm has joined #jruby
bpot has quit [Quit: Connection closed for inactivity]
havenwood has quit []
havenwood has joined #jruby
<headius>
woah
<headius>
what did I break
<headius>
ugh
<headius>
the one thing
purplefox has joined #jruby
ludyte has quit [Quit: ludyte]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] headius opened issue #2209: IR builder fails on zsuper with kwargs from within block http://git.io/HGIScg
JRubyGithub has left #jruby [#jruby]
subbu has joined #jruby
paulswilliamsesq has joined #jruby
towski has quit [Ping timeout: 255 seconds]
frobs has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] subbuss pushed 2 new commits to master: http://git.io/m4IJAw
<JRubyGithub>
jruby/master dd7f8b7 Subramanya Sastry: Fix #2205: All (except top-level) scopes have PUBLIC visibility by default...
<JRubyGithub>
jruby/master 5a134c3 Subramanya Sastry: Added stub method in IRBytecodeAdapter7 to unbreak build
JRubyGithub has left #jruby [#jruby]
<headius>
subbu: I was going to fix that compile error but then I got confused...it seems like the case I added doesn't actually hit this weird kwags hash
<headius>
can you show me the syntax that leads to it?
<headius>
I thought I just needed kwargs and zsuper in the same method
<subbu>
that will get exercised if the kwargs includes a kw rest arg.
<subbu>
headius, let me get you an example. one sec.
<headius>
ohhhh I see
<headius>
ok
<headius>
I have a proper indy impl of it basically ready, but then I realized I wasn't testing it :-)
<subbu>
i have to figure out the ruby syntax for kw args .. meh .. i don't know it myself :)
<subbu>
mri and jruby -X-C output matches on that .. JIT needs fixing. basically if you fix operands/Hash for the case where the isKWArgsHash flag is set .. JIT shoudl also be compliant. No other fixes should be necessary.
<subbu>
lunch time
<headius>
ok
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] headius pushed 3 new commits to master: http://git.io/jzigrQ
<JRubyGithub>
jruby/master b8d6643 Charles Oliver Nutter: Fix literal hash size safety check in JVM6 JIT.
<JRubyGithub>
jruby/master 5dec2f1 Charles Oliver Nutter: Fixes for keyrest + zsuper logic in JIT. #2208
<JRubyGithub>
jruby/master d227756 Charles Oliver Nutter: Use lookup in hash bootstrap.
thsig has quit [Read error: Connection reset by peer]
thsig_ has quit [Remote host closed the connection]
marr has joined #jruby
thsig has joined #jruby
thsig has quit [Ping timeout: 265 seconds]
drbobbeaty_ has joined #jruby
benlovell has joined #jruby
drbobbeaty has quit [Ping timeout: 245 seconds]
balo has quit [Quit: leaving]
drbobbeaty_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
balo has joined #jruby
havenwood has quit [Remote host closed the connection]
thsig has joined #jruby
benlovell has quit [Ping timeout: 255 seconds]
subbu has joined #jruby
tlarevo has joined #jruby
subbu has quit [Ping timeout: 250 seconds]
Hobogrammer has quit [Ping timeout: 244 seconds]
benlovell has joined #jruby
josh-k has joined #jruby
josh-k has quit [Ping timeout: 240 seconds]
tbuehlmann has quit [Quit: Leaving]
drbobbeaty has joined #jruby
subbu has joined #jruby
subbu has quit [Ping timeout: 265 seconds]
subbu has joined #jruby
tlarevo has quit [Ping timeout: 265 seconds]
tlarevo has joined #jruby
calavera has joined #jruby
anaeem1 has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 272 seconds]
paulswilliamsesq has quit [Quit: Textual IRC Client: www.textualapp.com]
tcrawley-away is now known as tcrawley
tlarevo has quit []
subbu has quit [Ping timeout: 265 seconds]
subbu has joined #jruby
paulswilliamsesq has joined #jruby
rsim has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] k77ch7 opened pull request #2210: improve handling of non ascii character after backslash on master (master...improve_handling_of_nonascii_character_after_backslash_on_master) http://git.io/LXhD-A
JRubyGithub has left #jruby [#jruby]
johnmuhl has joined #jruby
skade has joined #jruby
ludyte has joined #jruby
paulswil_ has joined #jruby
paulswilliamsesq has quit [Ping timeout: 255 seconds]
benlovell has joined #jruby
anaeem1_ has joined #jruby
paulswil_ has quit [Read error: Connection reset by peer]
paulswilliamsesq has joined #jruby
<brycek>
anyone remember a jruby-based language that was really just ruby with mandatory indents?
anaeem1_ has quit [Ping timeout: 240 seconds]
anaeem1 has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cajone has joined #jruby
bbrowning has joined #jruby
anaeem1 has quit [Remote host closed the connection]
paulswilliamsesq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
calavera has joined #jruby
thsig has quit [Remote host closed the connection]
postmodern has quit [Remote host closed the connection]
elux has joined #jruby
iamjarvo has joined #jruby
iamjarvo has quit [Client Quit]
tcrawley is now known as tcrawley-away
tharindu has joined #jruby
tcrawley-away is now known as tcrawley
thsig has joined #jruby
GregMefford has quit [Quit: Connection closed for inactivity]
dudleyf has joined #jruby
iamjarvo has joined #jruby
benlovell has quit [Ping timeout: 272 seconds]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
josh-k has joined #jruby
calavera has joined #jruby
benlovell has joined #jruby
calavera has quit [Client Quit]
josh-k has quit [Ping timeout: 258 seconds]
calavera has joined #jruby
viking has joined #jruby
elux_ has joined #jruby
statonjr has joined #jruby
noop has quit [Ping timeout: 258 seconds]
elux has quit [Ping timeout: 240 seconds]
<Antiarc>
jython?
<lopex>
not jruby-based though
cprice has joined #jruby
benlovell has quit [Ping timeout: 265 seconds]
subbu is now known as subbu|dinner
Aethenelle has joined #jruby
cprice404 has quit [Remote host closed the connection]
cprice is now known as cprice404
<Antiarc>
Heh, I know, that was mostly facetious
joast has quit [Quit: Leaving.]
<mjc_>
haha
paulswilliamsesq has joined #jruby
<mjc_>
hmm 9k d227756 seems to get stuck in org.jruby.RubyModule.searchMethodCommon() when booting my app
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
havenwood has joined #jruby
frobs has quit [Quit: Leaving]
paulswilliamsesq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
paulswilliamsesq has joined #jruby
subbu|dinner is now known as subbu
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #jruby
anaeem1 has joined #jruby
paulswilliamsesq has quit [Quit: Textual IRC Client: www.textualapp.com]
elux_ has quit [Quit: Bye!]
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #jruby
<subbu>
mjc_, does your app use prepend functionality or is it an 1.9 app?
havenwood has quit [Remote host closed the connection]
thsig has quit [Remote host closed the connection]
postmodern has joined #jruby
tmio has joined #jruby
<tmio>
Hi all. I am using jruby for quite some time with the following set-up. We use the runtime in singlethread mode, and we use evals to add code to the runtime (since our platform is quite dynamic)
<tmio>
We are seeing 2 issues.
<tmio>
1. If we move to threadsafe, then evals don't work anymore as a way to define classes
<tmio>
2. We see that over time, if we reload a lot (removing constants then rerunning our evals), we have a memory leak taking place in the constants of the main module of jruby.
<tmio>
what is a good way to make resources available to the jruby engine, in thread safe mode, without using evals?
<tmio>
headius: ^^
mkristian has quit [Quit: bye]
<lopex>
evals see current scope so maybe that's a leak source ?
<lopex>
tmio: why evals ?
bpot has joined #jruby
<tmio>
lopex: well, we got sources that are loaded from a source that’s not files
<tmio>
and those sources can change over time, as they are being manipulated at runtime.
<lopex>
tmio: maybe try to eval with specific binding ?
<tmio>
lopex: I’m not sure I follow?
<lopex>
or is it already top level binding ?
<tmio>
so I found out the mem leak comes from the Argv class
<Aethenelle>
define evals don't work to define classes? the classes defined don't exist on the next run?
<tmio>
it injects itself as a top scope variable
<tmio>
Aethenelle: yes, it seems so.
pglombardo has joined #jruby
<Aethenelle>
lemme check some docs...
<tmio>
ok thx
<lopex>
Aethenelle: I guee the problem is that they cant use require/load
<lopex>
*guess
<Aethenelle>
lopex: I think you were right with your first thought... lemme take a look at docs... haven't done much w/ the scripting engine...
<lopex>
Aethenelle: but htey might be a way via the engine right
<tmio>
lopex: yes
<Aethenelle>
tmio: can you give us code?
<lopex>
*there
<tmio>
Aethenelle: let me send you a NDA :)
<lopex>
tmio: can you make a minimal case ?
<Aethenelle>
bugger... okay, are you creating the container on each eval?
<tmio>
Aethenelle: no, we keep the same container
<tmio>
lopex: I can do that
<tmio>
these are 2 separate issues, as I mentioned, which one do you guys want better?
e_dub has joined #jruby
<headius>
sorry I'm not going to be very responsive this week...but we're not going to do any big formal release for pre1. We'll link to latest working tarball but also tag pre1 and make a post on jruby.org, stuff like that
<headius>
at least make it easy for people to just grab a build and start playing
<tmio>
headius: no worries.
<headius>
trying to finish slides so we can actually participate in the conf :-)
<Aethenelle>
tmio: if I'm right they're related and have the same cause
<tmio>
Aethenelle: :) cool. Let me do a little github project to reproduce.
iamjarvo has joined #jruby
josh-k has joined #jruby
wojtczak has joined #jruby
tmio has quit [Ping timeout: 256 seconds]
paulswilliamsesq has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thsig has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Client Quit]
iamjarvo has joined #jruby
x1337807x has joined #jruby
x1337807_ has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/Qp7vgA
<JRubyGithub>
jruby/truffle-head 2517489 Chris Seaton: Merge branch 'master' into truffle-head
JRubyGithub has left #jruby [#jruby]
yfeldblum has joined #jruby
yfeldblum has quit [Client Quit]
thsig has quit [Remote host closed the connection]
x1337807x has quit [Ping timeout: 256 seconds]
pglombar_ has joined #jruby
yfeldblum has joined #jruby
pglombardo has quit [Ping timeout: 256 seconds]
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #jruby
anaeem1 has quit [Read error: Connection reset by peer]
anaeem1 has joined #jruby
e_dub has quit [Quit: ZZZzzz…]
anaeem1 has quit [Ping timeout: 256 seconds]
noop has quit [Ping timeout: 255 seconds]
wojtczak_ has joined #jruby
wojtczak has quit [Read error: Connection reset by peer]
wojtcza__ has joined #jruby
wojtczak_ has quit [Ping timeout: 264 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toshetm has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] mkristian created versions (+4 new commits): http://git.io/qAwo4Q
<JRubyGithub>
jruby/versions 05f165c Christian Meier: use the VERSION for the archive inside jruby-dist/target
<JRubyGithub>
jruby/versions 366ee63 Christian Meier: translate -SNAPSHOT to .snapshot for jruby-jars.gem
<JRubyGithub>
jruby/versions 11fe4ea Christian Meier: remove .dev from the version
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] mkristian opened pull request #2211: Versions (master...versions) http://git.io/ppcYxA
JRubyGithub has left #jruby [#jruby]
josh-k has quit [Remote host closed the connection]
thsig has joined #jruby
paulswilliamsesq has quit [Read error: Connection reset by peer]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x1337807x has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] gdeoliveira opened issue #2212: Kernel#__method__ within a proc returns incorrect value after method definition http://git.io/s7AHdg
JRubyGithub has left #jruby [#jruby]
<Aethenelle>
mjc_: it's all good... i'll check the logs when i get home and take a look later tonight
<Aethenelle>
mjc_: any idea which method it's getting stuck looking up?
x1337807x has quit [Ping timeout: 255 seconds]
ludyte has quit [Quit: ludyte]
viking has quit [Remote host closed the connection]
<JRubyGithub>
[jruby] ruivieira opened issue #2213: 404 on RubySpec link in ClasspathAndLoadPath wiki page http://git.io/eOVAtw
JRubyGithub has left #jruby [#jruby]
skade has quit [Quit: Computer has gone to sleep.]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] headius closed issue #2213: 404 on RubySpec link in ClasspathAndLoadPath wiki page http://git.io/eOVAtw
JRubyGithub has left #jruby [#jruby]
kaawee has joined #jruby
<kaawee>
Hello! How do I build a gem which depends on one list of gems if the platform is JRuby and on a different list of gems if the platform is MRI?
<headius>
you can't because the gemspec is used at gem build time to create a static descriptor for the gem
<headius>
it sucks but we and RG folks don't have a better way right now
<kaawee>
headius: is there any gem which helps me creating 2 gems out of one source tree?
havenwood has quit []
<headius>
Antiarc, kaawee: I guess I should rephrase...you *can* put a platform check in the gemspec, but you still need to have two gems come out of it
<headius>
generating one with jruby and one with MRI, basically
<headius>
it's often simpler to have two gemspecs
<Antiarc>
Ah, for some reason I was thinking you could get away with the one and then have the gemspec be evaluated by your installing ruby at install time. Hm.
<headius>
yeah, I wish that worked
kelcecil has joined #jruby
<kaawee>
headius: are there any attempts to resolve this issue? else all downstream users of any gem need to have ugly %q{gem 'foo-java' if RUBY_PLATFORM == 'java'} lines in their Gemfile
<headius>
Gemfile supports platform
<headius>
platform :jruby do
<headius>
or something like that
<Antiarc>
Yeah, you can specify gem 'foo', platform: :java
<Antiarc>
or a platform block
<Antiarc>
kaawee: Maybe look at how gems like Nokogiri handle multiple platforms with native extensions
<Antiarc>
Though that's a bad example since nokogiri doesn't ship a gemspec
<kaawee>
I think nokogiri is not foolproof "rvm_error '\n'\''command gem pristine --extensions nokogiri --version 1.6.3.1'\'' failed, you need to fix this gems manually.'"
<Antiarc>
Did it fail because you're missing dependencies to install it?
<kaawee>
Antiarc: it looks like nokogiri failed because it apparently did not find its own copy of libxml2-devel while trying to compile its own copy of libxslt
<kaawee>
Antiarc: thank you about hiredis
<Antiarc>
Yup, that would be why. You gotta have the deps to install native extensions :)