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
gregoriokusowski has quit [Quit: gregoriokusowski]
KevinCorcoran has left #jruby [#jruby]
snim2_ has quit [Quit: Page closed]
nateberkopec has quit [Quit: Leaving...]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
djbkd has joined #jruby
subbu has joined #jruby
camlow325 has quit []
djbkd has quit [Ping timeout: 252 seconds]
djbkd has joined #jruby
nateberkopec has joined #jruby
nateberkopec has quit [Client Quit]
brycek has left #jruby [#jruby]
<GitHub61> [jruby] headius pushed 1 new commit to master: http://git.io/vCaSv
<GitHub61> jruby/master a8bc41e Charles Oliver Nutter: Start rooting symbols used as identifiers, to preserve encoding....
maleghast has joined #jruby
KevinCorcoran has joined #jruby
KevinCorcoran has quit [Ping timeout: 240 seconds]
KevinCorcoran has joined #jruby
<GitHub46> [jruby] headius pushed 3 new commits to master: http://git.io/vCad3
<GitHub46> jruby/master ed17ba4 Charles Oliver Nutter: Add colon to KeyError.
<GitHub46> jruby/master eb46319 Charles Oliver Nutter: Remove useless exception handling and logging here.
<GitHub46> jruby/master 8e6f722 Charles Oliver Nutter: Eliminate circular require warning for bigdecimal.
KevinCorcoran has quit [Ping timeout: 240 seconds]
<GitHub195> [jruby] headius closed issue #2390: BigDecimal can be provoked into a big infinite loop http://git.io/ea1q9g
<GitHub90> [jruby] headius closed issue #1186: BigMath.exp and log missing http://git.io/vCaFG
Aethenelle has joined #jruby
colinsurprenant has joined #jruby
gregoriokusowski has joined #jruby
yfeldblum has quit [Remote host closed the connection]
subbu has quit [Ping timeout: 252 seconds]
samphippen has joined #jruby
subbu has joined #jruby
subbu is now known as Guest92432
<GitHub76> [jruby] film42 closed issue #3391: define_method performance degradation http://git.io/vC4DG
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
KevinCorcoran has joined #jruby
mdedetrich has joined #jruby
KevinCorcoran has quit [Ping timeout: 246 seconds]
bb010g has joined #jruby
nirvdrum has quit [Ping timeout: 255 seconds]
gregoriokusowski has quit [Quit: gregoriokusowski]
yfeldblum has joined #jruby
kares has quit [Remote host closed the connection]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 246 seconds]
Aethenelle has quit [Quit: Aethenelle]
colinsurprenant has quit [Quit: colinsurprenant]
djbkd has quit [Quit: My people need me...]
brauliobo has quit [Ping timeout: 240 seconds]
yfeldblum has joined #jruby
KevinCorcoran has joined #jruby
KevinCorcoran has quit [Ping timeout: 246 seconds]
djbkd has joined #jruby
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat_ has joined #jruby
baroquebobcat_ has quit [Client Quit]
kares has joined #jruby
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
djbkd has quit [Quit: My people need me...]
skade has joined #jruby
thedarkone2 has quit [Quit: thedarkone2]
mkristian_ has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 264 seconds]
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mkristian_ has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Ping timeout: 246 seconds]
pawnbox has joined #jruby
rsim has joined #jruby
mkristian_ has joined #jruby
drbobbeaty has joined #jruby
rsim1 has joined #jruby
rsim1 has quit [Read error: Connection reset by peer]
rsim has quit [Ping timeout: 240 seconds]
rsim has joined #jruby
vtunka has joined #jruby
mdedetrich has joined #jruby
vtunka has quit [Quit: Leaving]
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mkristian_ has quit [Quit: This computer has gone to sleep]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
drbobbeaty has quit [Ping timeout: 240 seconds]
mdedetrich has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
kares has quit [Quit: I'm using a Free IRC Bouncer from BNC4FREE - http://bnc4free.com/]
skade has quit [Quit: Computer has gone to sleep.]
JohnBat26 has joined #jruby
JohnBat26 has quit [Client Quit]
kares has joined #jruby
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #jruby
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
snim2_ has joined #jruby
snim2_ is now known as snim2
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
vtunka has joined #jruby
skade has joined #jruby
drbobbeaty has joined #jruby
pawnbox has quit [Remote host closed the connection]
<GitHub41> [jruby] eregon pushed 2 new commits to master: http://git.io/vCwsh
<GitHub41> jruby/master 3d35dbc Benoit Daloze: [Truffle] Fix allocation of ranges....
<GitHub41> jruby/master 4be5200 Benoit Daloze: Add a spec for Range#dup...
<GitHub8> [jruby] eregon commented on commit 09ecd35: Profiles should in general not be defined in the base node itself, as there only one instance of that one for *N* specializations. In this case it's fine because they are only used in one specialization but if they were in multiple specializations it would cause profile pollution between specializations.... http://git.io/vCwc3
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bb010g has quit [Quit: Connection closed for inactivity]
<GitHub110> [jruby] chrisseaton commented on commit 09ecd35: Yeah we already have the guidance you wrote in the wiki which make sense to me. Things like condition profiles are especially easy to do in the DSL. http://git.io/vCwc9
mkristian_ has joined #jruby
pawnbox has joined #jruby
<GitHub48> [jruby] eregon pushed 1 new commit to master: http://git.io/vCwRE
<GitHub48> jruby/master 26c4d68 Benoit Daloze: Refactor a couple Module#prepend specs
<GitHub65> [jruby] eregon commented on commit 6a52113: @headius Generally I try to avoid `should_not raise_error` as it is a rather weak matcher (for instance it would just work if the impl did erroneous behavior but happened to not throw anything). I fixed it in 26c4d6829c4a2720780d01810d4e920965a27cc2 by just checking the base value of the included hook. http://git.io/vCwRH
snim2 has quit [Ping timeout: 246 seconds]
<GitHub37> [jruby] headius commented on commit 6a52113: Actually, I was just following the pattern you did in 79ce2764 :-) But yes, I agree...actually tracking something positive is better. http://git.io/vCwEk
<GitHub154> [jruby] headius commented on commit 6a52113: Ahh actually, I don't know who did that original change... 79ce2764 is just the squashed commit. Could even have been me! http://git.io/vCwEs
<headius> hah, it was me
<headius> in June
<headius> oh well, thanks for the improvements eregon
<headius> these cases were both causing stack overflows and I wasn't sure how else to test that they didn't blow up
pawnbox has quit [Remote host closed the connection]
mkristian_ has quit [Quit: This computer has gone to sleep]
snim2 has joined #jruby
yfeldblum has quit [Ping timeout: 246 seconds]
mkristian has joined #jruby
pawnbox has joined #jruby
mkristian has quit [Quit: This computer has gone to sleep]
digitalextremist has quit [Ping timeout: 252 seconds]
digitalextremist has joined #jruby
cristianrasch has joined #jruby
mdedetrich has joined #jruby
drbobbeaty has joined #jruby
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gregoriokusowski has joined #jruby
<headius> kares: do you have a benchmark you use to measure the improvement of IntHashMap in overloaded Java dispatch?
mdedetrich has joined #jruby
nateberkopec has joined #jruby
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<GitHub125> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vCwdQ
<GitHub125> jruby/master 7187bb2 Chris Seaton: [Truffle] Use MainExitException.
mdedetrich has joined #jruby
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<GitHub75> [jruby] headius created sync_signature_caches (+1 new commit): http://git.io/vCwAK
<GitHub75> jruby/sync_signature_caches b52e483 Charles Oliver Nutter: Refactor Java invoker cache logic to allow encapsulation, sync....
<GitHub13> [jruby] headius opened pull request #3395: Refactor Java invoker cache logic to allow encapsulation, sync. (master...sync_signature_caches) http://git.io/vCwAX
mdedetrich has joined #jruby
brauliobo has joined #jruby
nirvdrum has joined #jruby
Guest92432 is now known as subbu
subbu is now known as Guest62390
Guest62390 is now known as subbu_ss
<GitHub147> [jruby] nirvdrum commented on commit 09ecd35: Sorry, I forgot about the sharing (and the wiki). I'll update accordingly. http://git.io/vCrkz
cajone has joined #jruby
cajone has left #jruby [#jruby]
bbrowning_away is now known as bbrowning
cpuguy83 has quit [Quit: ZNC - http://znc.in]
cpuguy83 has joined #jruby
mkristian has joined #jruby
subbu_ss is now known as subbu
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cpuguy83 has quit [Quit: ZNC - http://znc.in]
cpuguy83 has joined #jruby
<GitHub17> [jruby] eregon commented on commit 6a52113: Indeed :) ruby/rubyspec@6209f8228d1d575fff766ffd70aa1701d19d45de... http://git.io/vCrsN
samphippen has joined #jruby
mkristian has quit [Quit: This computer has gone to sleep]
lance|afk is now known as lanceball
mdedetrich has joined #jruby
colinsurprenant has joined #jruby
<GitHub79> [jruby] headius pushed 1 new commit to sync_signature_caches: http://git.io/vCr8s
<GitHub79> jruby/sync_signature_caches f28fd8b Charles Oliver Nutter: Use copy-on-write IntHashMaps to avoid sync cost on lookup....
Aethenelle has joined #jruby
pawnbox has quit [Remote host closed the connection]
<GitHub2> [jruby] eregon pushed 2 new commits to master: http://git.io/vCrRd
<GitHub2> jruby/master 8afab97 Benoit Daloze: New spec for Kernel#exit across threads
<GitHub2> jruby/master 483cd0d Benoit Daloze: [Truffle] Send a SystemExit back to the main thread if it reaches the thread top-level handler.
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<GitHub94> [jruby] headius pushed 1 new commit to sync_signature_caches: http://git.io/vCr09
<GitHub94> jruby/sync_signature_caches a18758f Charles Oliver Nutter: Use copy-on-write IntHashMap for jcreate! too.
enebo has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
maleghast has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<GitHub29> [jruby] eregon pushed 1 new commit to master: http://git.io/vCrKC
<GitHub29> jruby/master 4b7109d Benoit Daloze: [Truffle] Join the request thread.
samphippen has joined #jruby
baroquebobcat has joined #jruby
mkristian has joined #jruby
baroquebobcat has quit [Client Quit]
<GitHub106> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/vCrXo
<GitHub106> jruby/truffle-head c276170 Chris Seaton: Merge branch 'master' into truffle-head
mkristian has quit [Quit: This computer has gone to sleep]
donV has quit [Quit: donV]
<GitHub15> [jruby] enebo pushed 1 new commit to master: http://git.io/vCr9r
<GitHub15> jruby/master 6387195 Thomas E. Enebo: Update jruby to use released version of jnr-posix
<headius> enebo: I have some concurrency fixes for JI that need to get into 9.0.2
<headius> I'm testing a few versions right now
<headius> #3394
<headius> pr in #3395
<enebo> headius: I saw
<enebo> headius: I also looked at that and I suspect it will not grow into a memory leak
<headius> I'm doing some benchmarking of contended JI dispatch right now comparing the COW version with a ReadWriteLock
<enebo> headius: but if there were lots o signatures it would grow anyways
mkristian has joined #jruby
<enebo> so I guess I am not concerned by that angle as well
<headius> yeah, it will be limited by the number of incoming type combinations at JI call sites
<headius> yeah
colinsurprenant has quit [Quit: colinsurprenant]
<headius> it will be more load early on if there's lots of different signatures, but if there's not it's almost no additional overhead
<headius> signatures meaning combinations of argument types at a given call site
<enebo> headius: I want to review your commit on the GC’ing of symbols + idents for methods so I can hook up from the parser
<headius> yeah I added some fixmes in IRRuntimeHelpers for that
<headius> there are many, many other candidate locations though
<headius> we can chat about it any time today
<enebo> ok
<headius> contended JI dispatch with read/write lock = 2.19s....with COW = 0.44s
<headius> ten threads doing 1M calls each
<headius> I guess that about decides that
<headius> enebo: dunno if you saw but I also made some updates to jruby.org... using github-pages as primary dep now instead of specific version of jekyll, using kramdown instead of maruku for markdown
<headius> started to fix tryjruby page but not done yet
<GitHub120> [jruby] eregon pushed 1 new commit to master: http://git.io/vCrQ7
<GitHub120> jruby/master 1164b0a Benoit Daloze: [Truffle] Fix boundary/frame conflict....
Aethenelle has quit [Quit: Aethenelle]
<enebo> headius: ah so did anything change on making posts?
<headius> no
<enebo> ok well I am really happy then since it has been pretty brittle
<headius> maruku to kramdown is supposed to be a pretty easy move
<enebo> same syntax largely right
<headius> I clicked through several pages and everything looks fine
<headius> yeah same syntax
<enebo> ok sounds fine. Even if some pages do need changing it will be nice not to have to do some much wacky stuff
<headius> kramdown is more flexible for embedding html into markdown also
<headius> yeah let me know if you see anything busted
<enebo> headius: like do we still need to LC_ALL=UTF-8.en
<headius> I couldn't tell a difference
<headius> using github-pages as primary gem dep also ensures we're using the stuff gh-pages use in production
<headius> we were using some one-off version of jekyll from years ago still
<enebo> Gollum is used by gh-pages?
<headius> gollum is the wiki engine, dunno if it's used for this
<enebo> ok but this does not work for jruby with now
<headius> gh-pages still uses jekyll
<enebo> I don’t care all that much
<headius> yeah, that's a jekyll problem
<enebo> oh I guess I thought it used gollum but I think I am getting confused
<headius> github-pages gem just aggregates
<headius> yeah gollum is the git-based wiki engine
<enebo> we probably need a fast-stemmer ext made at some point
<headius> probably easy to port
<GitHub88> [jruby] eregon pushed 1 new commit to master: http://git.io/vCr5j
<GitHub88> jruby/master 507af09 Benoit Daloze: [Truffle] Fix warning
<GitHub72> [jruby] hading opened issue #3396: Pathname#relative_path_from failing when there are certain unicode characters in the path http://git.io/vCrd4
<enebo> haha fast-stemmer is done in that it has not had source changed in more than 3 years
<enebo> gemspec update 2 years ago
colinsurprenant has joined #jruby
<enebo> yeah like <500 lines of C too
<eregon> enebo, headius: thanks for the congrats and nice tweet :)
<enebo> eregon: you deserve it
<enebo> eregon: are you going to rubyworld conference?
<eregon> :)
<eregon> yes, should be quite a trip
<eregon> enebo: did you go to Japan already? For kaigi maybe?
<enebo> eregon: Matsue is a small place but it is a nice conference
<enebo> eregon: I have went to 6 Kaigis I think
<eregon> oh nice, you went to RubyWorldConf?
<enebo> eregon: I also did 3 rubybusinesscommons confs in Japan too
<enebo> eregon: Charlie and I went ro rubyworld once I think around 2009 or so
<eregon> any occasion to travel is good? :)
<enebo> eregon: well I don’t know about that but Japan is a nice place to visit :)
<headius> I'd love to get back to RubyWorld
<enebo> Love Janky
<headius> maybe next year...Kaigi is my Japan trip this year
<headius> Love Janky!
<eregon> I see, not sure what I'll visit yet in that area
<headius> eregon: if it's anything like when we were there they put on a really nice tour day for the speakers
pawnbox has joined #jruby
<headius> around Izumo
<eregon> there is Hiroshima and apaprently a nice island not far, and then north Osaka/Kyoto
<headius> epic soba noodle lunch
<eregon> yeah seems to be quite a few events, I was missing that at RubyConf last year
<enebo> eregon: Matsue prefecture is not super well connected to things but if you can tack on a week and hang out in another location like Tokyo then you can see a lot more stuff
<GitHub101> [jruby] headius pushed 1 new commit to sync_signature_caches: http://git.io/vCrNm
<GitHub101> jruby/sync_signature_caches b7bf353 Charles Oliver Nutter: Add contended case.
<eregon> seems like another world, is it dangerous to not speak Japanese?^^
<enebo> eregon: if you are shy it is an issue at some restaurants since many do not have english menus
<enebo> eregon: but it is not very difficult if you can get past pointing at food in those places :)
<eregon> yeah, I'm going to have try some random dishes, but that's good too
<headius> eregon: I've never had any trouble but I'm happy to just point at stuff and hope for the best
<eregon> I see, I definitely can point to stuff
<headius> usually it works
<headius> sometimes you get deep fried knuckle bones
<enebo> eregon: and quite a few people do speak some english as well…restaurants are probably one of those occasions where language barrier is more obvious
<eregon> just hoping to not get lost in a huge city :)
<headius> I still don't know what that dish was
<enebo> eregon: you won’t in Matsue ;)
<eregon> :D
<headius> enebo: do you know what that might be? I ordered what looked like little fried meat nuggets and they all seemed to be basically just little breaded bones
<enebo> eregon: but even if you are in Tokyo it is really easy to get around
<enebo> eregon: and that place is massive
<headius> like way too hard to crunch for that to be the right thing
<eregon> at least my smartphone should work to some extend there, I went to China and it became no mroe useful than a watch
<eregon> extent*
<enebo> headius: I don’t but it could have been pig knckles
<headius> I figured something along those lines
<headius> they weren't good
<bbrowning> enebo: I'm trying to test 9.0.2.0-SNAPSHOT against TB3's jruby9 branch and it's failing with "Caused by: java.io.FileNotFoundException: loading resource from classloader failed: META-INF/jruby.home/bin/gem" early in our build
<bbrowning> I think this part of the build uses jruby-complete.jar to do some gem installs
<GitHub13> [jruby] headius closed pull request #3395: Refactor Java invoker cache logic to allow encapsulation, sync. (master...sync_signature_caches) http://git.io/vCwAX
<GitHub187> [jruby] headius closed issue #3394: JRuby thread stuck on IntHashMap.rehash http://git.io/vCgOn
<GitHub19> [jruby] headius pushed 1 new commit to master: http://git.io/vCrxq
<GitHub19> jruby/master d0bcfee Charles Oliver Nutter: Merge pull request #3395 from jruby/sync_signature_caches...
<enebo> bbrowning: ah ok. I will do a test build and see if something is wrong with jruby-complete
<enebo> bbrowning: mkristian is on and this might pop out as to the cause
<GitHub49> [jruby] headius deleted sync_signature_caches at b7bf353: http://git.io/vCrx8
Aethenelle has joined #jruby
<mkristian> bbrowning, will have a look
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
donV has joined #jruby
brauliobo has quit [Ping timeout: 268 seconds]
<headius> enebo: I think we're going to have to bite the bullet some day and incorporate one of the external collections libraries
<mkristian> bbrowning, not sure. yes it uses jruby-complete-1.7.20 to install gems
<headius> it would introduce a pretty fat addition to JRuby but we could drop several collections of ours that are half-assed
<enebo> headius: this is one of those cases where I wish each collection was it’s own artifact :)
<headius> I know
<mkristian> headius, it might be possible to shrink to what is really used via the shade-plugin - just thinking
<headius> we only need a handful
<headius> mkristian: that's a good thought
<enebo> mkristian: we can probably do it and rewrite the package since I doubt these things Class.forName
<headius> it's really only the dist for rubyists and the complete jar we're concerned about
<headius> enebo: that too
<enebo> OOOOHHHHH that library is rich!
<mkristian> this does not sound like tech site
<headius> I still don't see a fancy ConcurrentIntObjectMap though
<enebo> will we get charged transaction fees if we use this?
<headius> I know some folks at GS, they know their stuff
<headius> this lib is proposed to become Eclipse Collections some time soon under EPL
<xardion> If they're using java for quant and HFT, then they would have to
<headius> it's kinda between this and guava I guess
<headius> there's a few other contenders but not nearly as wide usage
<xardion> I like it.
<xardion> It's got all the toys
<xardion> well, assuming you're good with just int keys
<headius> boo yeah still no concurrent version though
<headius> xardion: they generate all permutations of primitives + object for most of the collections in this lib
<xardion> Oh, yeah, I'm seeing that now
<xardion> you're right though, not seeing any that handle concurrency on their own
<headius> yeah
<xardion> they have concurrent hash maps, that's it
<headius> so that doesn't solve my immediate need
<headius> a concurrent int map can't possibly be harder to do than a concurrent hash map
<enebo> heh
<xardion> they do provide a concurrent mutable map interface, if you wanted to implement your own
<enebo> you would hope not…the hashing part is already done
<headius> yeah GS seems to have a far greater range of stuff than Guava
<headius> xardion: but it would box for all calls
<headius> it would be fine for memory compactness but not for speed of calls
<xardion> yeah
<headius> tiny in comparison
<headius> HEH
<headius> gs-collections.jar is 8.2MB
<headius> in maven
<headius> gauva is 2.2M
<xardion> heh
<headius> but shaded we'd probably use about the same from each
<headius> shaded and renamed, nobody would have to worry about it really
<enebo> headius: the other consideration is how easy it is to only shade part of these libs
<headius> yeah I'm looking into that
<headius> there's also proguarding and I don't know which does what
<headius> I didn't think shade did proguard like stuff
<headius> you can only explicitly exclude or include
<headius> not just say "only include what i'm using"
<headius> hmm
<headius> minimizeJar in shaade
<mkristian> I was thinking about minimize feature - but I never used it
thedarkone2 has joined #jruby
<headius> that might be promising
<headius> I'd probably say to minimize only stuff we rename
<headius> asm, some collections lib, etc
<headius> I'm playing with it a bit
<headius> enebo: you got any other blockers for 9.0.2?
<headius> we still need to work through the symbol fix
<headius> adding minimize to our main build only shrunk jruby.jar by 1MB or so, but it yanked out stuff we need
<headius> thedarkone2: g'day
<enebo> headius: I would like to get the hash arg calling stuff fixed
<headius> oh the stuff you mentioned yesterday
<thedarkone2> headius: hi
<enebo> headius: but I wonder if I should fix symbols for def in parser too
<headius> well, as it is now there's no way to preserve encoding of def identifiers
<headius> but that's not new
<headius> it is not aligned with attr and define_method, the two main places I fixed
<enebo> headius: yeah so it is not imperative but now it is possible
<headius> it's a reasonably simple call to make, TypeConverter.checkID which will intern string, create hard symbol, and return that interned string
<headius> so it's a small API change on consumer end
<headius> there's a version that takes IRubyObject and a version that takes Ruby and Byteist
<headius> List
<enebo> headius: all idents are already intern'd
<enebo> yeah
<enebo> so it is easy to provide byte[] or bytelist, encoding, and intern’d string at to def*node
<headius> well that part's just a no-op but it's there anyway
<enebo> no-op?
<headius> yeah I figured
<headius> I mean no-op if they're already interned
<headius> it just makes sure when creating the symbol
<enebo> I have always wondered about overhead of calling intern
<enebo> it must hash and lookup in intern hash
<headius> mkristian: I can't figure out how to get shade to include all of some jars and only parts of others with minimize
<headius> it still seems to only include what I tell it to include and then minimize rips it all back out again
cremes has quit [Ping timeout: 240 seconds]
<headius> enebo: yeah unsure if strings have a flag saying they've been interned
<enebo> headius: they cannot really can they since they are different instances until interned
<mkristian> is it possible to just pick some packages of the collection jar ? but I am looking at the docu now
<enebo> headius: it needs to look it up somehow so I have been trying to minimize them (which may not really matter)
<headius> mkristian: I'm trying a mode where I tell shade to include everything and then let minimize chew it up
<headius> see how bad that is
<headius> enebo: but once interned they could mark it as such and not try to look up again
<headius> if you call intern repeatedly against an interned string
<headius> isInterned = true or something
rcvalle has joined #jruby
<headius> but yeah for different instances of the same string you always pay the cost
<headius> and we see that in some profiles
<headius> [INFO] Including com.goldmansachs:gs-collections-api:jar:6.2.0 in the shaded jar.
<headius> [INFO] Minimizing jar org.jruby:jruby-core:jar:9.0.2.0-SNAPSHOT
<headius> [INFO] Minimized 15252 -> 8910 (58%)
<enebo> headius: I guess intern() on an niter() might end up having a boolean or something
<headius> so that seems to have ripped out gs-collections but it probably ripped out other jruby stuff too
<enebo> headius: intern() is massive in lexing
cremes has joined #jruby
brauliobo has joined #jruby
<mkristian> headius, sounds like a two step process. no idea yet how to do it nicely
<headius> enebo: yeah I am not surprised
<headius> mkristian: right...I'm fiddling with filters and includes and blah blah blah
<headius> trying to get it to absolutely include the libs we ship unmodified and only minimize the ones we rename
<headius> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.1:shade (create lib/jruby.jar) on project jruby-core: Error creating shaded jar: / by zero -> [Help 1]
<headius> hah
<headius> I've never triggered a divide by zero in a build tool before
<headius> mkristian: gotta say, fiddling around with pom.rb today I'm surprised how well it handles whatever syntax I throw at it
<headius> :filters => [
<headius> { 'artifact' => '*', 'includes' => [ 'org.jruby.*', 'com.headius.*', 'org.ow2.asm.*', 'jnr.*', 'com.jcraft.*', 'com.martiansoftware.*', 'org.joda.*'] }
<headius> ]
<headius> generated the proper XML for this
camlow325 has joined #jruby
<chrisseaton> headius: how do I construct a jnr.posix.Timeval? It's abstract
<mkristian> headius, minimize the whole lib/jrubyjar is probably too much ?
skade has quit [Quit: Computer has gone to sleep.]
<headius> mkristian: are you thinking minimizing just gs-collections and explicitly saying which packages or classes we need?
<headius> chrisseaton: it's a native struct so it would be created by jnr
skade has joined #jruby
<chrisseaton> headius: but if I'm calling a native function that accepts a pointer to one, what then?
<chrisseaton> It's not being returned
<mkristian> headius, we shade all dependencies into jruby.jar, add the collection dependency to it , and tell shade to minimize the shaded jar - which probably happens at the end anyways. and then take this jar
<headius> there's a DefaultNativeTimeVal
<headius> and one for BSD
<headius> the layouts are different so you'll have to handle that
<headius> mkristian: hmmm yeah that could work
vtunka has quit [Quit: Leaving]
<headius> I can't get this to work, shade keeps erroring
<chrisseaton> headius: so just write my own factory?
<mkristian> it will minimize everything we shaded - if it would work :)
<headius> chrisseaton: we could add one to jnr-posix
<headius> right now we just construct them via jnr-ffi in a couple places under the covers of jnr-posix
<headius> times = Struct.arrayOf(getRuntime(), DefaultNativeTimeval.class, 2);
KevinCorcoran has joined #jruby
<chrisseaton> headius: ok, np - last question am I supposed to do something more intelligent than jnr.ffi.Runtime.getSystemRuntime() when I want a Runtime?
<headius> hmm
<headius> yeah I'm not sure
<headius> looks like jnr-posix uses some deprecated paths to bind libs, which probably just do that
skade has quit [Quit: Computer has gone to sleep.]
<headius> yeah the places where jnr-posix uses Runtime it gets system runtime as far as I can see
<GitHub55> [jruby] eregon pushed 4 new commits to master: http://git.io/vCoBH
<GitHub55> jruby/master 6a2d340 Benoit Daloze: [Truffle] Fix isEvalParse with the new ParserContext.
<GitHub55> jruby/master d49876e Benoit Daloze: Add spec for alias and undef raising a NameError which is not a NoMethodError
<GitHub55> jruby/master e429baf Benoit Daloze: [Truffle] Alias + undef are NameError and not NoMethodError.
<headius> mkristian: well my experiment seems to be a dead end
<headius> I can't get past this error
KevinCorcoran has left #jruby [#jruby]
<mkristian> a '/ by zero' error is frustrating
<headius> indeed :-)
<xardion> if that's the issue that's affecting you, they fixed it in 2.4
<headius> xardion: I tried updating to 2.4.1 :-(
<headius> does seem similar though
<headius> jesus, apache needs to stop using svn
<xardion> my god, yes.
<headius> so perhaps my filters are busted
<xardion> also, try enabling info logging
<xardion> you should get a Mimimize ## -> ## (##%) message before that / by zero error, if this is the issue
<xardion> I should say, if you've got the fix, you should see that message.
<xardion> if you don't, then that fix isn't in 2.4.1 or you're accidentally running an old version still
<headius> yeah
<headius> I sure don't see it and I see it pull down 2.4.1
<xardion> yeah, if you aren't getting that Mimimized ## -> output with info logging turned on, then you're definitely having that bug, since it gets triggered when it tries to log that %
<xardion> does it still say [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.1:shade ?
<xardion> or is it 2.4.1:shade ?
<headius> debug logging didn't even reveal anything
<headius> Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.4.1:shade (create lib/jruby.jar) on project jruby-core: Error creating shaded jar: / by zero -> [Help 1]
<xardion> this is so weird
<headius> Caused by: java.lang.ArithmeticException: / by zero
<headius> at org.apache.maven.plugins.shade.filter.MinijarFilter.finished(MinijarFilter.java:223)
<headius> sure seems like the same place
<headius> uh
<xardion> yeah, that's definitely the issue
<headius> is it just me or is the fix completely wrong
<headius> they have the logic reversed
<xardion> BAHAHAHA
<xardion> yes
<headius> come on people
<xardion> HEH
<headius> in any case this means I haven't successfully included any classes, so I'm still doing something wrong
<xardion> I added a comment on that jira issue to let them know the fix was broken
<headius> ok I found my problem... filter is against files, not classes
<headius> s/./\//
<GitHub169> [jruby] mkristian pushed 1 new commit to jruby-1_7: http://git.io/vCowv
<GitHub169> jruby/jruby-1_7 7f30455 Christian Meier: Revert "cleanup the temp files /tmp/jruby-*/jruby*jar"...
<headius> so it completed but it still ripped out a bunch of deps
<headius> even though I told it to include them
<headius> enebo: I need to rewrite the invoker generator to spit out Java code instead of class files
<headius> we're going to need it to wire up the last mile of kwargs optz
<enebo> yum
<headius> getting closer
<headius> enebo: I used the eclipse java dev tools library on another project for generating Java source, it worked extremely well
<headius> felt almost like emitting bytecode but it produced neatly-formatted syntactically correct java
<enebo> headius: it definitely will be less opaque too
<enebo> sample dist build closes on sonatype
<headius> the JDT API would allow me to have some pre-made templates as well, and just tweak them to call different methods
<headius> since it's all based on a source model
<bbrowning> mkristian: enebo: looks like my earlier jruby-complete error was a red herring - apparently I forgot to add '-Pcomplete' when building jruby this time :D
<bbrowning> no wonder if couldn't find 'gem' inside the jar
<bbrowning> the jar didn't exist
<headius> hah
<headius> shipt it
<mkristian> ok
<headius> argh
<headius> why do I always feel like these core maven plugins were written by someone who doesn't do any testing at all
<enebo> heh
mkristian_ has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
SynrGyy has joined #jruby
mkristian has quit [Ping timeout: 264 seconds]
digit681 has joined #jruby
samphippen has joined #jruby
colinsurprenant has joined #jruby
CustosLim3n has joined #jruby
digitalextremist has quit [*.net *.split]
jimbaker has quit [*.net *.split]
Puffball has quit [*.net *.split]
SynrG has quit [*.net *.split]
Cyrus has quit [*.net *.split]
hoodow has quit [*.net *.split]
devn has quit [*.net *.split]
CustosLimen has quit [*.net *.split]
lumeet has quit [*.net *.split]
yopp has quit [*.net *.split]
awx has quit [*.net *.split]
mpapis has quit [*.net *.split]
rcvalle has quit [*.net *.split]
havenwood has quit [*.net *.split]
headius has quit [*.net *.split]
joast has quit [*.net *.split]
jeremyevans has quit [*.net *.split]
Liothen has quit [*.net *.split]
colinsurprenant has quit [Client Quit]
Antiarc has quit [Ping timeout: 264 seconds]
lanceball is now known as lance|afk
rsim has quit [Quit: Leaving.]
rcvalle has joined #jruby
havenwood has joined #jruby
headius has joined #jruby
joast has joined #jruby
jeremyevans has joined #jruby
Liothen has joined #jruby
<xardion> ew, haven't seen a netsplit on freenode in a while.
camlow32_ has joined #jruby
camlow325 has quit [Ping timeout: 264 seconds]
rcvalle has quit [*.net *.split]
havenwood has quit [*.net *.split]
headius has quit [*.net *.split]
joast has quit [*.net *.split]
jeremyevans has quit [*.net *.split]
Liothen has quit [*.net *.split]
devn has joined #jruby
hoodow has joined #jruby
lumeet has joined #jruby
hoodow has joined #jruby
hoodow has quit [Changing host]
Puffball has joined #jruby
jimbaker has joined #jruby
Cyrus has joined #jruby
Cyrus is now known as Guest76723
jimbaker has quit [Changing host]
jimbaker has joined #jruby
awx has joined #jruby
mpapis has joined #jruby
yopp has joined #jruby
rcvalle has joined #jruby
havenwood has joined #jruby
headius has joined #jruby
joast has joined #jruby
Liothen has joined #jruby
jeremyevans has joined #jruby
headius has quit [Quit: ZNC - http://znc.in]
mkristian_ has quit [Quit: This computer has gone to sleep]
headius has joined #jruby
skade has joined #jruby
<headius> had to kick my bnc to find a better server
brauliobo has quit [Ping timeout: 240 seconds]
camlow32_ has quit [Remote host closed the connection]
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
<chrisseaton> Why can't IRC be a graph rather than a tree?
<GitHub138> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vCKeL
<GitHub138> jruby/master 14a7a31 Chris Seaton: [Truffle] Poll during select.
<GitHub141> [jruby] chrisseaton commented on commit 14a7a31: @eregon please review http://git.io/vCKe4
rsim has joined #jruby
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
<GitHub158> [jruby] chrisseaton commented on commit 14a7a31: I should say this solution has some limitations. All threads which would normally be blocked on a select now wake up every 500ms (too frequently), and we've also increased the latency for safe points where threads are blocked on a select to 500s (not frequent enough). http://git.io/vCKfv
jamiejackson has joined #jruby
<jamiejackson> hi folks. it's been a while since i touched RoR, and i've forgotten the little i ever know. i'm trying to upgrade from a RoR 3.2 to 4.2.
<jamiejackson> here's my latest challenge
<jamiejackson> --- Backtrace
<jamiejackson> Errno::EISDIR: Is a directory - /opt/glassfish4/glassfish/domains/domain1/applications/cwo_data/WEB-INF/public/assets
<jamiejackson> read at org/jruby/RubyIO.java:3785
<headius> jamiejackson: what version of JRuby?
<headius> that looks vaguely familiar
pawnbox has quit [Remote host closed the connection]
<headius> I have no idea about glassfish anymore either...are you just deploying as a WAR file?
pawnbox has joined #jruby
<jamiejackson> yeah, deploying as a war, and it's jruby 9.0.0.0.pre1
<headius> oh jeez, pre1
<headius> don't run on that
<jamiejackson> alrighty!
<headius> 9.0.1 is available right now
<xardion> Ok, looks like the fix for that / by zero will be in 2.4.1
<xardion> err 2.4.2
<jamiejackson> okay, don't know where i got that
<headius> xardion: yay
<jamiejackson> actually, i do. headius, i'm running rvm and have specified: environment_id="jruby-9@cwo_data_rails_4.2"
bb010g has joined #jruby
<headius> ahh hrm
<headius> looks like rvm is still not updated :-(
<headius> use jruby-9.0.1.0
<jamiejackson> trying that now...
pawnbox has quit [Ping timeout: 244 seconds]
samphippen has quit [Ping timeout: 256 seconds]
samphipp_ has joined #jruby
bbrowning has quit [Remote host closed the connection]
samphipp_ has quit [Read error: Connection reset by peer]
bbrowning has joined #jruby
<jamiejackson> same problem with that version, fwiw, headius
jhstatewide has joined #jruby
<jhstatewide> I'm getting LoadError: no such file to load -- bundler/dep_proxy when using warbler and trying to make a standalone jar... has anyone ever run into this?
bbrowning has quit [Remote host closed the connection]
<jhstatewide> well more specifically
bbrowning has joined #jruby
<jhstatewide> my jar builds fine
<jhstatewide> what's what i get when i run java -jar myjar.exe -> LoadError: no such file to load -- bundler/dep_proxy
hobodave has joined #jruby
yfeldblum has joined #jruby
<jamiejackson> in a RoR app's war, am i supposed to see compiled assets in assets/ or /WEB-INF/public/assets ?
bbrowning is now known as bbrowning_away
samphippen has joined #jruby
colinsurprenant has joined #jruby
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jamiejackson> headius: i got it figured it out. i had to move around and clean up some assets deprecations
donV has quit [Read error: Connection reset by peer]
<jamiejackson> configs, that is
donV has joined #jruby
samphippen has joined #jruby
bbrowning_away is now known as bbrowning
lance|afk is now known as lanceball
<jamiejackson> where can i find the jvm version dependencies of jruby versions?
<jamiejackson> or more straight to the point, i'd like to know the latest version that's compatible with java 6
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
<headius> jamiejackson: oh ok, sorry I was away for lunch
<headius> jamiejackson: JRuby 9+ require Java 7+
<headius> JRuby 1.7.x, which we still maintain and release, work on Java 6
<jamiejackson> great. i'll try out 1.7.4 with rails 4.2
<headius> jamiejackson: 1.7.21 is latest :-)
<headius> oops 22
<headius> I have 21 local
<jamiejackson> ah, okay
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 240 seconds]
samphippen has joined #jruby
bbrowning is now known as bbrowning_away
skade has quit [Quit: Computer has gone to sleep.]
brauliobo has joined #jruby
brauliobo has quit [Ping timeout: 244 seconds]
cpuguy83_ has joined #jruby
<GitHub43> [jruby] nirvdrum pushed 1 new commit to truffle-head: http://git.io/vCKby
<GitHub43> jruby/truffle-head fc345df Kevin Menard: [Truffle] Keep FindBugs happy.
cpuguy83_ has quit [Remote host closed the connection]
DomKM has joined #jruby
<GitHub127> [jruby] enebo pushed 1 new commit to master: http://git.io/vCKxV
<GitHub127> jruby/master 303a128 Thomas E. Enebo: Fixes #3137. Hash#select! inconsistency with MRI when yielding only one argument
<GitHub100> [jruby] enebo closed issue #3137: Hash#select! inconsistency with MRI when yielding only one argument http://git.io/vm8e6
<headius> enebo: I may start spiking a piece of code that takes source + target signature and an array of args
<headius> start figuring out all the paths
<enebo> headius: so this one looks important to me
<enebo> I don’t know if mkristian has figured it out or if he is asking a question
lanceball is now known as lance|afk
<headius> something doesn't ring right on this one
<headius> ok, I think I know what's up with it
<headius> it's probably __FILE__ not reflecting the proper filename at runtime and still embedding the filename at compile time
<headius> I thought I had that right though
<headius> ugh
<headius> it never got visitor treatment so I never did it
<headius> ok
<GitHub143> [jruby] enebo closed issue #3379: jRuby 9.0.0.0+ affected by CVE-2014-4043 http://git.io/vCkyP
yfeldblum has joined #jruby
<GitHub9> [jruby] chrisseaton fast-forwarded master from 303a128 to a78ea29: http://git.io/vCKhQ
<GitHub112> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/vCKhH
<GitHub112> jruby/truffle-head f678b4f Chris Seaton: Merge branch 'master' into truffle-head
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has joined #jruby
jhstatewide has quit [Ping timeout: 246 seconds]
jensnockert has joined #jruby
lance|afk is now known as lanceball
lanceball is now known as lance|afk
jamiejackson has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rsim has quit [Quit: Leaving.]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
lance|afk is now known as lanceball
<GitHub114> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vC6kn
<GitHub114> jruby/master b25fa1c Kevin Menard: [Truffle] No-op on String#force_encoding if the encoding is the same as what the String already has.
mkristian has joined #jruby
brauliobo has joined #jruby
jensnockert has quit [Ping timeout: 260 seconds]
jensnock_ has joined #jruby
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
camlow32_ has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
bb010g has quit [Quit: Connection closed for inactivity]
Aethenelle has quit [Quit: Aethenelle]
hobodave has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #jruby
mdedetrich has quit [Client Quit]
hobodave has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Aethenelle has joined #jruby
yfeldblum has quit [Ping timeout: 246 seconds]
hobodave has quit [Quit: Computer has gone to sleep.]
enebo has quit [Quit: enebo]
lanceball is now known as lance|afk
mkristian has quit [Quit: This computer has gone to sleep]
mdedetrich has joined #jruby
jensnock_ has quit [Remote host closed the connection]
mkristian has joined #jruby
brauliobo has quit [Remote host closed the connection]
brauliobo has joined #jruby
djbkd has joined #jruby
bffff_ has joined #jruby
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dfr has quit [Ping timeout: 246 seconds]
skade has quit [Ping timeout: 272 seconds]
mdedetrich has joined #jruby
mkristian has quit [Quit: This computer has gone to sleep]
Aethenelle has quit [Quit: Aethenelle]
yfeldblum has joined #jruby
samphippen has joined #jruby
cristianrasch has quit [Quit: Leaving]
temporalfox has quit [Ping timeout: 246 seconds]
tcrawley-away is now known as tcrawley
temporalfox has joined #jruby
tcrawley is now known as tcrawley-away
kwando_ has joined #jruby
rcvalle has quit [Quit: rcvalle]
kith_ has joined #jruby
kith has quit [Read error: Connection reset by peer]