00:01
baroquebobcat has quit [Quit: baroquebobcat]
00:02
baroquebobcat has joined #jruby
00:02
robbyoconnor has joined #jruby
00:02
havenwood has quit [Remote host closed the connection]
00:06
erikhatcher has joined #jruby
00:07
skade has quit [Quit: Computer has gone to sleep.]
00:09
baroquebobcat has quit [Quit: baroquebobcat]
00:09
metadave has joined #jruby
00:09
JRubyGithub has joined #jruby
00:09
JRubyGithub has left #jruby [#jruby]
00:10
<
headius >
rabbit hole
00:17
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:18
viking has quit [Remote host closed the connection]
00:24
erikhatcher has quit [Quit: erikhatcher]
00:25
mister_solo has quit [Quit: So long, and thanks for all the fish!]
00:33
JRubyGithub has joined #jruby
00:33
JRubyGithub has left #jruby [#jruby]
00:33
JRubyGithub has joined #jruby
00:33
<
JRubyGithub >
jruby/master 88d03a9 Chris Seaton: [Truffle] Import GC from Rubinius.
00:33
JRubyGithub has left #jruby [#jruby]
00:39
tenderlove has quit [Quit: Leaving...]
00:40
zorak8 has joined #jruby
00:40
Felystirra has quit []
00:40
travis-ci has joined #jruby
00:40
travis-ci has left #jruby [#jruby]
00:46
JRubyGithub has joined #jruby
00:46
<
JRubyGithub >
jruby/master fe48a1f Chris Seaton: [Truffle] Remove prettyprint shims and import real code.
00:46
JRubyGithub has left #jruby [#jruby]
00:52
drbobbeaty has joined #jruby
00:53
<
headius >
that's it for me...ttfn
00:54
Felystirra has joined #jruby
00:57
rsim has quit [Quit: Leaving.]
01:05
pgokeeffe has joined #jruby
01:15
pgokeeffe has quit [Quit: pgokeeffe]
01:16
Felystirra has quit []
01:17
pgokeeffe has joined #jruby
01:28
pietr0 has quit [Quit: pietr0]
01:30
marr has quit [Ping timeout: 245 seconds]
01:31
JRubyGithub has joined #jruby
01:31
<
JRubyGithub >
jruby/master 2ecddc6 Chris Seaton: [Truffle] Import nil from Rubinius.
01:31
<
JRubyGithub >
jruby/master 4948b9b Chris Seaton: [Truffle] Move some non-performance sensitive True and False methods into Rubinius code.
01:31
JRubyGithub has left #jruby [#jruby]
01:35
JRubyGithub has joined #jruby
01:35
JRubyGithub has left #jruby [#jruby]
01:35
<
JRubyGithub >
jruby/master fda9948 Subramanya Sastry: Splats: Call method_missing if defined when to_ary/to_a are missing...
01:36
JRubyGithub has joined #jruby
01:36
<
JRubyGithub >
jruby/truffle-head dc764f8 Chris Seaton: Merge branch 'master' into truffle-head
01:36
JRubyGithub has left #jruby [#jruby]
01:36
JRubyGithub has joined #jruby
01:36
JRubyGithub has left #jruby [#jruby]
01:36
metadave has joined #jruby
01:36
pgokeeffe has quit [Quit: pgokeeffe]
01:36
metadave has quit [Client Quit]
01:36
Hobogrammer has joined #jruby
01:37
nanoyak has quit [Quit: Computer has gone to sleep.]
01:42
x1337807x has quit [Ping timeout: 256 seconds]
01:44
subbu has quit [Ping timeout: 256 seconds]
01:50
anaeem1 has quit [Remote host closed the connection]
01:51
havenwood has joined #jruby
01:55
travis-ci has joined #jruby
01:55
travis-ci has left #jruby [#jruby]
01:56
havenwood has quit [Ping timeout: 244 seconds]
01:56
camlow325 has quit []
01:56
anaeem1_ has joined #jruby
02:00
anaeem1_ has quit [Ping timeout: 264 seconds]
02:00
subbu has joined #jruby
02:06
zorak8 has quit [Ping timeout: 265 seconds]
02:07
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:12
multibot_ has quit [Read error: Connection reset by peer]
02:12
multibot_ has joined #jruby
02:13
mrmargolis has joined #jruby
02:15
calavera has joined #jruby
02:16
pgokeeffe has joined #jruby
02:32
travis-ci has joined #jruby
02:32
travis-ci has left #jruby [#jruby]
02:34
subbu has quit [Ping timeout: 256 seconds]
02:46
nanoyak has joined #jruby
02:48
calavera has quit [Read error: Connection reset by peer]
02:49
nanoyak has quit [Read error: Connection reset by peer]
02:49
calavera has joined #jruby
02:49
nanoyak has joined #jruby
03:01
robbyoconnor has quit [Ping timeout: 265 seconds]
03:03
travis-ci has joined #jruby
03:03
travis-ci has left #jruby [#jruby]
03:03
nirvdrum has quit [Quit: Leaving]
03:06
Aethenelle has joined #jruby
03:20
mrmargolis has quit [Remote host closed the connection]
03:20
mrmargolis has joined #jruby
03:21
subbu has joined #jruby
03:25
mrmargolis has quit [Ping timeout: 256 seconds]
03:30
nanoyak has quit [Read error: Connection reset by peer]
03:30
nanoyak has joined #jruby
03:35
travis-ci has joined #jruby
03:35
travis-ci has left #jruby [#jruby]
03:36
pgokeeffe has quit [Quit: pgokeeffe]
03:40
havenwood has joined #jruby
03:45
havenwood has quit [Ping timeout: 256 seconds]
04:04
x1337807x has joined #jruby
04:08
travis-ci has joined #jruby
04:08
travis-ci has left #jruby [#jruby]
04:09
x1337807x has quit [Client Quit]
04:09
e_dub has joined #jruby
04:16
pgokeeffe has joined #jruby
04:43
colinsurprenant has joined #jruby
04:49
imperator has joined #jruby
04:53
subbu has quit [Ping timeout: 245 seconds]
04:54
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:58
Aethenelle has quit [Quit: Aethenelle]
05:01
anaeem1 has joined #jruby
05:05
anaeem1 has quit [Ping timeout: 256 seconds]
05:08
mrmargolis has joined #jruby
05:09
calavera has joined #jruby
05:09
colinsurprenant has quit [Quit: colinsurprenant]
05:10
colinsurprenant has joined #jruby
05:13
mrmargolis has quit [Ping timeout: 244 seconds]
05:50
zorak8 has joined #jruby
05:51
dabradley has quit [Ping timeout: 245 seconds]
06:00
colinsurprenant has quit [Quit: colinsurprenant]
06:04
nanoyak has quit [Quit: Computer has gone to sleep.]
06:06
nanoyak has joined #jruby
06:08
dabradley has joined #jruby
06:18
x1337807x has joined #jruby
06:22
x1337807x has quit [Client Quit]
06:23
x1337807x has joined #jruby
06:27
x1337807x has quit [Ping timeout: 264 seconds]
06:31
donV has quit [Quit: donV]
06:36
yfeldblum has quit [Ping timeout: 265 seconds]
06:54
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:55
donV has joined #jruby
07:00
zorak8 has quit [Ping timeout: 264 seconds]
07:00
deobalds has joined #jruby
07:07
kares has joined #jruby
07:10
deobalds has quit [Quit: Computer has gone to sleep.]
07:16
pchalupa has joined #jruby
07:45
skade has joined #jruby
08:00
skade has quit [Remote host closed the connection]
08:04
robbyoconnor has joined #jruby
08:04
robbyoconnor has joined #jruby
08:04
robbyoconnor has quit [Changing host]
08:05
skade has joined #jruby
08:05
skade has quit [Remote host closed the connection]
08:08
skade has joined #jruby
08:11
skade has quit [Remote host closed the connection]
08:13
skade has joined #jruby
08:16
ahadding1 has quit [Ping timeout: 244 seconds]
08:19
skade has quit [Remote host closed the connection]
08:23
skade has joined #jruby
08:25
rsim has joined #jruby
08:26
rsim1 has joined #jruby
08:27
nanoyak has quit [Quit: Computer has gone to sleep.]
08:29
ahadding1 has joined #jruby
08:30
rsim has quit [Ping timeout: 265 seconds]
08:35
robbyoconnor has quit [Quit: Konversation terminated!]
08:45
robbyoconnor has joined #jruby
08:52
skade has quit [Remote host closed the connection]
08:55
skade has joined #jruby
08:56
elia has joined #jruby
08:58
pgokeeffe has quit [Quit: pgokeeffe]
09:01
anaeem1 has joined #jruby
09:03
pgokeeffe has joined #jruby
09:06
anaeem1 has quit [Ping timeout: 264 seconds]
09:10
anaeem1_ has joined #jruby
09:11
anaeem1_ has quit [Remote host closed the connection]
09:12
Hobogrammer has quit [Ping timeout: 265 seconds]
09:31
marr has joined #jruby
09:32
benlovell has joined #jruby
09:38
anaeem1 has joined #jruby
09:39
pgokeeffe has quit [Quit: pgokeeffe]
09:50
pgokeeffe has joined #jruby
10:23
vtunka has joined #jruby
10:44
roidrage_ has joined #jruby
10:46
roidrage_ has quit [Client Quit]
10:49
shellac has joined #jruby
11:01
dfr|work has quit [Ping timeout: 244 seconds]
11:04
kares has quit [Ping timeout: 244 seconds]
11:14
zorak8 has joined #jruby
11:14
dfr|work has joined #jruby
11:15
Neomex has joined #jruby
11:16
kares has joined #jruby
11:28
skade has quit [Remote host closed the connection]
11:34
skade has joined #jruby
11:38
kares has quit [Ping timeout: 245 seconds]
11:45
skade has quit [Read error: Connection reset by peer]
11:53
deobalds has joined #jruby
12:01
dabradley has quit [Ping timeout: 255 seconds]
12:08
flavorjones has joined #jruby
12:10
kares has joined #jruby
12:17
flavorjones has quit [Ping timeout: 265 seconds]
12:21
dabradley has joined #jruby
12:21
benlovell has quit [Ping timeout: 240 seconds]
12:23
zorak8 has quit [Ping timeout: 265 seconds]
12:44
nateberkopec has joined #jruby
12:57
flavorjones has joined #jruby
13:03
subbu has joined #jruby
13:05
erikhatcher has joined #jruby
13:06
anaeem1 has quit [Quit: Leaving...]
13:15
bbrowning_away is now known as bbrowning
13:17
benlovell has joined #jruby
13:18
erikhatcher has quit [Quit: erikhatcher]
13:19
skade has joined #jruby
13:21
erikhatcher has joined #jruby
13:29
colinsurprenant has joined #jruby
13:33
imperator has quit [Quit: Leaving]
13:34
colinsurprenant has quit [Client Quit]
13:38
deobalds has quit [Quit: Computer has gone to sleep.]
13:42
JRubyGithub has joined #jruby
13:42
<
JRubyGithub >
jruby/master 3e4f49c Benoit Daloze: [Truffle] Store the visibility in the frame and walk the frames to find it.
13:42
JRubyGithub has left #jruby [#jruby]
13:51
vtunka has quit [Quit: Leaving]
13:52
travis-ci has joined #jruby
13:52
travis-ci has left #jruby [#jruby]
13:53
nateberkopec has quit [Quit: Leaving...]
13:53
shellac has quit [Ping timeout: 264 seconds]
13:54
vtunka has joined #jruby
13:56
nateberkopec has joined #jruby
13:57
JRubyGithub has joined #jruby
13:57
<
JRubyGithub >
jruby/master ea58dc2 Benoit Daloze: [Truffle] Pass LexicalScope explicitly to OpenModuleNode....
13:57
JRubyGithub has left #jruby [#jruby]
14:06
rcvalle has quit [Quit: rcvalle]
14:13
colinsurprenant has joined #jruby
14:14
rcvalle has joined #jruby
14:18
metadave has joined #jruby
14:20
JRubyGithub has joined #jruby
14:20
JRubyGithub has left #jruby [#jruby]
14:20
<
JRubyGithub >
jruby/master e0589c5 Benoit Daloze: [Truffle] Stop using the SharedMethodInfo's LexicalScope except for Module.nesting.
14:22
deobalds has joined #jruby
14:24
capitalfellow has joined #jruby
14:24
travis-ci has joined #jruby
14:24
travis-ci has left #jruby [#jruby]
14:24
mrmargolis has joined #jruby
14:24
colinsurprenant has quit [Quit: colinsurprenant]
14:27
Xzyx987X_ has quit [Read error: Connection reset by peer]
14:28
Xzyx987X_ has joined #jruby
14:32
viking has joined #jruby
14:32
viking has joined #jruby
14:39
tcrawley-away is now known as tcrawley
14:43
kares has quit [Ping timeout: 245 seconds]
14:44
capitalfellow has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
14:45
capitalfellow has joined #jruby
14:45
colinsurprenant has joined #jruby
14:46
JRubyGithub has joined #jruby
14:46
<
JRubyGithub >
jruby/master 378ca01 Benoit Daloze: [Truffle] Refactor jt a bit.
14:46
JRubyGithub has left #jruby [#jruby]
14:52
enebo has joined #jruby
14:52
Aethenelle has joined #jruby
14:55
metadave has quit [Ping timeout: 265 seconds]
14:57
travis-ci has joined #jruby
14:57
travis-ci has left #jruby [#jruby]
14:59
jmimi has joined #jruby
15:01
travis-ci has joined #jruby
15:01
travis-ci has left #jruby [#jruby]
15:03
mitchellhenke has joined #jruby
15:04
jmimi has quit [Ping timeout: 265 seconds]
15:05
jmimi has joined #jruby
15:08
e_dub has quit [Quit: e_dub]
15:08
* lupine
gets a 40x speedup in dns response latency by switching from (j)ruby gubbins to go
15:09
<
lupine >
huehehehehe
15:10
metadave has joined #jruby
15:17
flavorjones has quit [Ping timeout: 264 seconds]
15:22
pgokeeffe has quit [Quit: pgokeeffe]
15:31
travis-ci has joined #jruby
15:31
travis-ci has left #jruby [#jruby]
15:37
flavorjones has joined #jruby
15:42
JRubyGithub has joined #jruby
15:42
<
JRubyGithub >
jruby/truffle-head 44fc96e Chris Seaton: [Truffle] Fixes for new DSL.
15:42
<
JRubyGithub >
jruby/truffle-head 2168abb Chris Seaton: [Truffle] Use the new DSL layout.
15:42
JRubyGithub has left #jruby [#jruby]
15:56
tenderlove has joined #jruby
16:00
e_dub has joined #jruby
16:00
JRubyGithub has joined #jruby
16:00
<
JRubyGithub >
jruby/master 4b5ac1b Benoit Daloze: [Truffle] jt: Make sure to only look in Commands' methods.
16:00
JRubyGithub has left #jruby [#jruby]
16:06
Hobogrammer has joined #jruby
16:06
camlow325 has joined #jruby
16:06
<
headius >
good morning!
16:10
shellac has joined #jruby
16:13
travis-ci has joined #jruby
16:13
travis-ci has left #jruby [#jruby]
16:20
<
subbu >
headius, good morning ... please see updates to issue 1917 (wonder if this is i/o related or something else) and issue 2410.
16:21
rsim1 has quit [Quit: Leaving.]
16:21
<
headius >
subbu: good morning! I'll have a look
16:22
kares has joined #jruby
16:32
etehtsea has joined #jruby
16:32
etehtsea has quit [Max SendQ exceeded]
16:38
nirvdrum has joined #jruby
16:38
flavorjones has quit [Ping timeout: 244 seconds]
16:39
travis-ci has joined #jruby
16:39
travis-ci has left #jruby [#jruby]
16:40
<
headius >
subbu: if you're happy with the changes for 2410, they look fine to me
16:40
pchalupa has quit [Quit: Leaving]
16:40
<
subbu >
ok .. i guess the only thing left there would be tests.
16:40
<
headius >
yeah I was going to ask about that
16:41
<
headius >
RubySpec has added coercion specs over time...dunno if they cover all cases we need but we should make sure we're running them
16:41
<
headius >
MRI has a few but they're not easily located
16:42
<
subbu >
ok .. i cannot look now .. but happy to look later tonight / tomorrow if one of you doesn't get to it before me.
16:43
vtunka has quit [Quit: Leaving]
16:49
<
headius >
subbu: no problem
16:53
deobalds has quit [Quit: Computer has gone to sleep.]
16:54
capitalfellow has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:55
klemanski has joined #jruby
16:55
flavorjones has joined #jruby
16:55
<
klemanski >
Hello, I've noticed something strange - [].hash == [2].hash
16:56
<
klemanski >
seems like a bug
16:56
<
klemanski >
jruby 1.7.16.1 but also 1.7.13, 1.6.8
16:56
Hobogrammer has quit [Ping timeout: 255 seconds]
16:57
skade has quit [Quit: Computer has gone to sleep.]
16:58
<
klemanski >
both [].hash and [2].hash are 0
16:58
Xzyx987X_ has quit [Read error: Connection reset by peer]
16:58
nirvdrum has quit [Ping timeout: 264 seconds]
16:58
<
Aethenelle >
is doesn't match MRI but it is a valid result
16:59
Xzyx987X_ has joined #jruby
16:59
<
klemanski >
different arrays with same hash?
16:59
<
Aethenelle >
the contract for #hash is a.eql?(b) implies a.hash == b.hash
16:59
<
klemanski >
[].eql?([2]) => false
17:00
<
Aethenelle >
that is if a.eql?(b) then a.hash == b.hash
17:00
jgraichen has joined #jruby
17:00
<
Aethenelle >
or equivalently a.eql?(b) then not a.hash != b.hash
17:00
mswart has joined #jruby
17:01
<
klemanski >
Aethenelle, those are different arrays - one is empty array, other is array with element 2
17:01
<
Aethenelle >
this is not a "if and only if" the reverse (a.hash == b.hash) -> a.eql?(b) need not be true
17:01
<
Aethenelle >
klemanski: correct
17:01
<
klemanski >
[].hash == [2].hash => true
17:02
<
Aethenelle >
klemanski: that is correct according to the requirements of #hash (in all languages i know of too)
17:02
<
Aethenelle >
what are you trying to do? you expecting something like an md5 from #hash?
17:03
<
klemanski >
Aethenelle, I thought so, that hash is uniq for different objects
17:04
<
Aethenelle >
klemanski: it can be but isn't required to be. what are you trying to implement?
17:05
<
klemanski >
i was building cache key using object.hash
17:06
<
klemanski >
it's kind of request cache
17:06
calavera has joined #jruby
17:07
<
Aethenelle >
what requirements do you have for the cache?
17:07
<
klemanski >
i will change it to some other method, but I was sure that hash works like say md5
17:09
<
Aethenelle >
if you to_s the array and .hash it you'll get something rather than 0
17:10
pietr0 has joined #jruby
17:10
colinsurprenant has quit [Quit: colinsurprenant]
17:10
<
klemanski >
Aethenelle, thanks
17:10
<
Aethenelle >
though, why are you writing something yourself ranther than using something from Java?
17:11
<
dfr|work >
morning folks
17:12
lanceball is now known as lance|afk
17:12
<
klemanski >
in Java i would also need some cache key, my cache is basicaly Hash#fetch
17:13
<
chrisseaton >
does anyone know how the core/src/main/ruby files get into the jruby-complete jar? my truffle files don't seem to be included as well
17:13
kotk has joined #jruby
17:13
<
headius >
klemanski: are you seeing many different arrays have the same hash, or just this case?
17:13
<
headius >
hash is just a number calculated off array contents...it's certainly possible two different arrays could have the same hash
17:14
<
klemanski >
I only found this one today while analyzing some bug inside app
17:14
<
headius >
ok...I wouldn't be immediately concerned
17:14
<
Aethenelle >
headius: it seems all ruby arrays have a hash of 0
17:14
<
klemanski >
and 2 have also hash of 0
17:14
<
klemanski >
0 + 0 = 0
17:15
<
Aethenelle >
headius: maybe not... [1,2].hash => 8
17:15
kotk_ has quit [Ping timeout: 264 seconds]
17:15
<
headius >
[1], [3], [4] are hashes 3, 1, and 6
17:15
<
headius >
the [2] case is just coincidence
17:16
<
Aethenelle >
.... or is it? ...
17:16
<
headius >
they are oddly simple hashes compared to MRI though
17:17
<
klemanski >
MRI behaviour was what i expected, but now i understanda that "(a.hash == b.hash) -> a.eql?(b) need not be true" (thanks to Aethenelle :)
17:18
<
headius >
weird...MRI includes the pointer to the rb_ary_hash function in the hash
17:18
<
headius >
if I'm reading this right
17:19
<
headius >
and a hash based on length
17:19
<
Aethenelle >
headius: that can't be right...
17:19
<
headius >
I'll gist it
17:20
<
headius >
I haven't dug into all the related functions here but the function pointer is definitely doing something
17:21
<
Aethenelle >
iterates over array contents and calls #hash on them
17:21
<
enebo >
headius: if living guaranteed to be a unique amongst other living objects starting value
17:21
<
Aethenelle >
no pointer info used
17:21
<
enebo >
headius: but it is likely xor crap over that so :)
17:21
<
headius >
ah, they're also using murmur there and we're not
17:22
<
enebo >
which of course could conflict
17:22
<
headius >
Aethenelle: the line with (st_index_t)rb_ary_hash though...
17:23
<
enebo >
what I think this should tell people is hashing an array as a key in a map is not cheap :)
17:23
<
Aethenelle >
that's a pointer to the function... not sure why that's there...
17:23
<
headius >
rb_hash_unit eventually dumps into the "st" hash logic that does murmur calculation
17:23
<
headius >
Aethenelle: right...it seems that rb_hash_uint takes current hash and new value
17:23
<
enebo >
oh yeah wtf
17:23
<
headius >
so they're throwing pointer address in to mess with ya
17:24
<
headius >
probably so that run to run it hashes differently
17:24
<
enebo >
perhaps they do this as a convention/seed vs other structured types as base for hashing?
17:24
<
headius >
and it definitely does change run to run
17:24
<
Aethenelle >
headius: it's a pointer address to the function so it'll be different across installs but the same for each install
17:25
<
enebo >
Aethenelle: yeah
17:25
<
dfr|work >
any of you guys know isaiah by any chance and whether he's in IRC? :)
17:25
<
Aethenelle >
[1].hash changes from run to run or the value of the pointer?
17:25
<
Aethenelle >
... or do you mean execution of ruby on the command line?
17:26
<
headius >
Aethenelle: at command line
17:26
<
headius >
separate runs different hash
17:26
<
Aethenelle >
headius: ahh... that makes sense
17:26
<
enebo >
because of murmur
17:26
<
headius >
so I think they're using pointer as a sort of pseudo-random salt
17:26
<
enebo >
headius: you think that address is not consistently the same?
17:26
<
headius >
enebo: I don't see anything else in that logic or in the related functions that would explain it being different
17:26
<
Aethenelle >
headius: basically, they're guaranteeing objects from different runtimes aren't equal
17:27
<
headius >
Aethenelle: right, and mostly unpredictable between runs
17:28
<
headius >
looks like 1.8 is similar to our hashes, but 1.9+ change every time and are much broader values
17:28
<
Aethenelle >
bbl lunch time
17:29
<
headius >
rbx has consistent hash but [] is 0 and [1] is 1396078460937419743
17:29
<
headius >
so perhaps murmur as well but without salting
17:29
<
headius >
klemanski: so it seems we have Ruby 1.8 hashing for arrays right now, and that is a good target to improve
17:30
<
headius >
open an issue please
17:31
<
headius >
enebo: maybe all our unsolved perf issues are due to arrays hashing too similarly :-D
17:33
<
headius >
klemanski: did we lose ya?
17:33
<
klemanski >
headius, not yet ;) I'm writing issue
17:34
shellac has quit [Ping timeout: 252 seconds]
17:35
JRubyGithub has joined #jruby
17:35
JRubyGithub has left #jruby [#jruby]
17:36
elia has quit [Quit: Computer has gone to sleep.]
17:36
<
klemanski >
title and descriptin is not perfect i think
17:36
baroquebobcat has joined #jruby
17:38
<
klemanski >
Aethenelle, headius, enebo: thank you for clarification and anylysis
17:38
jmimi has quit [Ping timeout: 255 seconds]
17:39
<
headius >
klemanski: great, thank you
17:40
klemanski has quit [Quit: Leaving]
17:40
colinsurprenant has joined #jruby
17:41
<
enebo >
headius: heh
17:41
<
lopex >
that function pointer is funny
17:41
jmimi has joined #jruby
17:42
<
headius >
heh, and just like that klemanski is gone
17:42
<
headius >
I was going to ask him to fix it :-D
17:43
benlovell has quit [Ping timeout: 245 seconds]
17:45
<
dfr|work >
headius, freeloader? :)
17:46
rsim has joined #jruby
17:49
lance|afk is now known as lanceball
17:49
lanceball is now known as lancbeall
17:49
lancbeall is now known as lanceball
17:51
<
lopex >
headius: on some OSes you'll get same values quite repeatably for that pointer, it's better to seed that from random
17:56
Felystirra has joined #jruby
17:56
<
headius >
lopex: yeah I figured that could happen
17:57
<
headius >
dfr|work: I think the term I've heard is "drive-by" :-)
17:57
<
headius >
but he did chat with us about it
17:58
<
lopex >
what is this
17:58
<
headius >
there's a conjugation I haven't seen in a while
17:58
<
lopex >
bayesian collector
18:00
e_dub has quit [Quit: e_dub]
18:01
e_dub has joined #jruby
18:02
<
headius >
that's neat
18:02
e_dub has quit [Client Quit]
18:03
<
enebo >
There must be a Java Heap analyser for standard collections to see if your buckets have long chains in them
18:03
<
headius >
I think I've seen that, maybe a visualvm plugin
18:03
<
headius >
it was a weird one-off plugin somewhere
18:03
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:03
<
headius >
collection analyzer or something
18:03
<
enebo >
Feels like it must exist :)
18:04
<
enebo >
headius: and the thought came from your dark matter joke
18:04
<
headius >
yeah, who knows
18:04
<
lopex >
dark hash ?
18:04
<
headius >
maybe we've got a bad hash somewhere and everything's going in the same bucket
18:04
<
headius >
anyway, I marked that array-hashing bug as beginner...should be CS101 level work required
18:05
<
enebo >
lopex: DARKHASH
18:05
<
enebo >
sounds like uber crypto
18:06
<
lopex >
headius: mri used to do lots of collisions via high array/hash size threshold
18:06
Felystirra has quit []
18:08
<
headius >
probably would be worth checking other core type hashes to make sure they're sufficiently hashy
18:08
<
headius >
I couldn't think of a better word
18:08
nirvdrum has joined #jruby
18:09
<
lopex >
but if nothing has changed lately our hash has already pretty big load factor compared to java's 0.75
18:10
<
enebo >
lopex: I am not all that worried if our hashes sucked I think we would get lots of it keeps getting slower reports
18:14
skade has joined #jruby
18:19
capitalfellow has joined #jruby
18:19
klemanski has joined #jruby
18:21
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:22
calavera has joined #jruby
18:23
flavorjones has quit [Quit: Leaving]
18:23
flavorjones has joined #jruby
18:24
klemanski has quit [Quit: Leaving]
18:26
JRubyGithub has joined #jruby
18:26
<
JRubyGithub >
jruby/master 25075a5 Kevin Menard: [Truffle] Fixed path to cgi/util.
18:26
JRubyGithub has left #jruby [#jruby]
18:27
<
Aethenelle >
i don't think they were too worried about predictability just that it was less likely two runtimes would have the same result
18:27
JRubyGithub has joined #jruby
18:27
<
JRubyGithub >
jruby/master 5055eaf Chris Seaton: [Truffle] Fixes for new DSL.
18:27
<
JRubyGithub >
jruby/master cd612c0 Chris Seaton: [Truffle] Make lexical scope static in dispatch - can't remember why we ever did it any other way.
18:27
<
JRubyGithub >
jruby/master cef7d80 Chris Seaton: [Truffle] Move a couple of enums to top level.
18:27
JRubyGithub has left #jruby [#jruby]
18:28
rsim has quit [Quit: Leaving.]
18:28
Felystirra has joined #jruby
18:28
rsim has joined #jruby
18:30
<
Aethenelle >
i hope he doesn't expect #inspect to have the same results on arbitrary objects...
18:30
flavorjones has quit [Quit: Leaving]
18:30
<
Aethenelle >
now that i think about it my to_s advice was wrong...
18:31
flavorjones has joined #jruby
18:32
<
Aethenelle >
now i have to remember how to use solaris...
18:33
flavorjones has quit [Client Quit]
18:33
flavorjones has joined #jruby
18:34
vyorkin has joined #jruby
18:34
flavorjones_ has joined #jruby
18:34
flavorjones has quit [Client Quit]
18:34
havenwood has joined #jruby
18:34
flavorjones_ has quit [Read error: Connection reset by peer]
18:35
flavorjones has joined #jruby
18:37
metadave has joined #jruby
18:44
flavorjones has quit [Quit: Ex-Chat]
18:44
nanoyak has joined #jruby
18:45
colinsurprenant has quit [Quit: colinsurprenant]
18:46
flavorjones has joined #jruby
18:47
flavorjones has quit [Remote host closed the connection]
18:47
flavorjones has joined #jruby
18:47
nanoyak has quit [Client Quit]
18:49
benlovell has joined #jruby
18:49
flavorjones has quit [Remote host closed the connection]
18:51
Felystirra has quit [Read error: Connection reset by peer]
18:51
Felystirra has joined #jruby
18:52
Felystirra has quit [Client Quit]
18:52
flavorjones has joined #jruby
18:53
flavorjones has quit [Client Quit]
18:53
flavorjones has joined #jruby
18:53
benlovell has quit [Ping timeout: 240 seconds]
18:54
colinsurprenant has joined #jruby
18:57
flavorjones has quit [Client Quit]
18:58
flavorjones has joined #jruby
18:59
colinsurprenant has quit [Ping timeout: 240 seconds]
19:01
cultureulterior1 has joined #jruby
19:03
skade has quit [Quit: Computer has gone to sleep.]
19:06
tcrawley is now known as tcrawley-away
19:09
travis-ci has joined #jruby
19:09
travis-ci has left #jruby [#jruby]
19:11
nanoyak has joined #jruby
19:11
Aethenelle has quit [Quit: Aethenelle]
19:12
tcrawley-away is now known as tcrawley
19:15
vyorkin has quit [Quit: WeeChat 1.0.1]
19:17
rsim has quit [Quit: Leaving.]
19:20
colinsurprenant has joined #jruby
19:24
rsim has joined #jruby
19:25
e_dub has joined #jruby
19:27
yfeldblum has joined #jruby
19:33
skade has joined #jruby
19:34
Aethenelle has joined #jruby
19:38
<
bbrowning >
a single thread running any ruby code and it's waiting on something to do with fibers
19:41
JRubyGithub has joined #jruby
19:41
<
JRubyGithub >
jruby/master ac9c832 Chris Seaton: [Truffle] Import Complex from Rubinius.
19:41
JRubyGithub has left #jruby [#jruby]
19:41
<
bbrowning >
it seems like there should be another jruby thread still alive that's supposed to notify() this waiting thread?
19:42
<
bbrowning >
somehow that other thread dies / goes away and the waiting thread never gets notified
19:47
x1337807x has joined #jruby
19:48
jmimi has quit [Ping timeout: 252 seconds]
19:49
mswart has quit [Remote host closed the connection]
19:49
mswart has joined #jruby
19:51
travis-ci has joined #jruby
19:51
travis-ci has left #jruby [#jruby]
19:51
elia has joined #jruby
19:51
jmimi has joined #jruby
19:54
JRubyGithub has joined #jruby
19:54
JRubyGithub has left #jruby [#jruby]
19:54
<
JRubyGithub >
jruby/master 206152a Kevin Menard: [Truffle] Implemented TrueClass#hash and FalseClass#hash.
19:55
<
nirvdrum >
bbrowning: headius had found some threading issues with Fibers in master that he fixed, but supposedly 1.7 wasn't affected by the problem. Maybe that assessment was wrong.
19:57
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:58
skade has quit [Quit: Computer has gone to sleep.]
19:58
<
headius >
bbrowning: hmm
19:59
subbu has quit [Ping timeout: 264 seconds]
20:00
elia has quit [Quit: Computer has gone to sleep.]
20:00
<
headius >
that does look like a fiber died and didn't notify parent thread correctly
20:01
<
headius >
the fix I made on master should have already been in place in 1.7 but it's possible another case needs improvement
20:01
<
headius >
bbrowning: is this just recently you're seeing it?
20:01
nirvdrum has quit [Quit: Leaving]
20:02
<
bbrowning >
headius: this is a bug I've been hitting with TB4 integs on travis for at least a month or two now
20:02
<
bbrowning >
happens intermittently, and I finally reproduced locally by installing an ubuntu 12.04 VM :D
20:02
<
headius >
that's interesting
20:02
benlovell has joined #jruby
20:02
<
bbrowning >
not sure if ubuntu itself has anything to do with it or if it's just a coincidence, but I can't repro on my fedora desktop or other fedora VMs
20:03
<
bbrowning >
perhaps just some difference in kernel task scheduling or something causing the race to show up
20:03
<
headius >
could be a trigger of some kind but seems unlikely it's directly related
20:04
<
headius >
bbrowning: open a bug...I'll take a big to review fiber impl on master versus 1.7
20:04
<
bbrowning >
will do
20:06
<
bbrowning >
I don't have a simple reproducer yet - just a rails 4 integ app that intermittently fails on ubuntu :D
20:08
<
headius >
yeah I figured...fun with threads
20:08
<
headius >
there are definitely differences in the fiber impl that probably don't need to be there
20:09
subbu has joined #jruby
20:09
<
headius >
I could prepare a patch that backports 9k fiber to 1.7 and let you run integs against that
20:09
<
bbrowning >
actually - did anything wrt threads and fibers changed from 1.7.16.1 to 1.7.18?
20:09
<
bbrowning >
I realize now I was using 1.7.16.1 locally to match travis but I should test w/ 1.7.18 to confirm it's still a problem
20:11
<
headius >
the SizedQueue impls are different too
20:11
<
headius >
bbrowning: not much
20:11
<
headius >
please do try it though
20:11
<
headius >
if you can narrow down which versions exhibit it that would be a huge help
20:12
<
headius >
I'm reluctant to swap out Queue/SizedQueue from master because it's quite different
20:12
<
headius >
but it could be the cause
20:13
elia has joined #jruby
20:13
<
bbrowning >
I'll do a bit more poking then :)
20:18
nanoyak has quit [Quit: Computer has gone to sleep.]
20:19
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:19
<
Aethenelle >
anyone wrestle rvm onto solaris recently?
20:21
<
Aethenelle >
nvm...
20:23
travis-ci has joined #jruby
20:23
travis-ci has left #jruby [#jruby]
20:24
skade has joined #jruby
20:25
donV has quit [Quit: donV]
20:28
elia has quit [Quit: Computer has gone to sleep.]
20:32
<
headius >
had to port more than I wanted but it all dropped in ok
20:33
<
headius >
bbrowning: I'm running some local tests to ensure it functions and then I'll push to a test branch
20:33
skade has quit [Ping timeout: 264 seconds]
20:34
<
bbrowning >
cool :)
20:35
<
bbrowning >
I'm still trying to trigger the repro w/ 1.7.18
20:37
Aethenelle_ has joined #jruby
20:37
Aethenelle has quit [Read error: Connection reset by peer]
20:37
Aethenelle_ is now known as Aethenelle
20:39
<
Aethenelle >
mpapis: rvm installation on solaris11 seems a bit borked am I doing it wrong?
20:45
dcorbin has quit [Ping timeout: 256 seconds]
20:47
JRubyGithub has joined #jruby
20:47
<
JRubyGithub >
jruby/master fe7f9c7 Chris Seaton: [Truffle] Massive untagging of specs.
20:47
JRubyGithub has left #jruby [#jruby]
20:47
JRubyGithub has joined #jruby
20:47
<
JRubyGithub >
jruby/test-new-fiber-queue-1.7 afc5062 Charles Oliver Nutter: Backport Queue, SizedQueue, ThreadFiber and support code.
20:47
JRubyGithub has left #jruby [#jruby]
20:48
<
headius >
chrisseaton: I hope you are able to reuse most of our Array#pack logic
20:48
<
headius >
I have not looked at what you have
20:48
<
chrisseaton >
headius: yeah we are
20:49
<
headius >
nice array of tags removed
20:49
<
chrisseaton >
I might have to further generalise a few interfaces, like nirvdrum has been doing with string
20:49
<
headius >
yeah, the more we share the better
20:49
<
chrisseaton >
headius: I found an example of MRI's tests being particularly bad compared to RubySpec...
20:50
<
mpapis >
Aethenelle, show me
20:50
<
Aethenelle >
good idea... one sec...
20:52
<
chrisseaton >
way off
20:52
<
chrisseaton >
while!
20:52
<
chrisseaton >
as in while loops
20:52
<
headius >
looks like someone was trying to be cute
20:52
<
chrisseaton >
and that's one of the first few files I looked at
20:52
<
Aethenelle >
not sure if it's a rtfm thing or std practice but i had issues w/ the install because of the utils not being gnu... got past that with a few soft links...
20:54
<
headius >
chrisseaton: from what I've seen this is a particularly weird case
20:55
metadave has joined #jruby
20:55
<
headius >
they appear to be testing different forms of flow control
20:55
<
headius >
next, redo, break
20:57
<
headius >
these are tests that came forward from the old runit or rubyunit tests
20:57
havenwood has quit []
20:57
<
headius >
those tests were just one flat file with a bunch of assertions
20:58
travis-ci has joined #jruby
20:58
travis-ci has left #jruby [#jruby]
20:59
nanoyak has joined #jruby
21:00
<
headius >
bbrowning: I pushed that branch...MRI tests and RubySpec pass
21:00
JRubyGithub has joined #jruby
21:00
<
JRubyGithub >
[jruby] dalizard opened issue #2438: Time#getlocal should accept Fixnum as an argument
http://git.io/OARLig
21:00
JRubyGithub has left #jruby [#jruby]
21:00
<
bbrowning >
headius: great - I'll build and try it in a bit
21:00
<
bbrowning >
still looping tests to verify 1.7.18 fails - takes about 25 mins per loop :/
21:01
<
bbrowning >
I've yet to reproduce it without running the entire suite - just running the spec that occasionally fails doesn't seem to do it
21:03
<
chrisseaton >
Am I right in thinking that you don't have to register for FOSDEM, in any form?
21:05
JohnBat26 has joined #jruby
21:05
<
headius >
chrisseaton: I'm not sure...I don't think I have
21:05
<
headius >
they don't have badges or anything
21:05
<
chrisseaton >
I can't understand how any venue would be ok with that - but it's really cool if it's the case
21:06
<
headius >
fosdem page says "No registration necessary"
21:06
<
headius >
so there ya go
21:09
x1337807x has joined #jruby
21:13
yfeldblum has quit [Remote host closed the connection]
21:19
JRubyGithub has joined #jruby
21:19
JRubyGithub has left #jruby [#jruby]
21:19
<
JRubyGithub >
jruby/jruby-1_7 dbf58e6 Chris Heald: Fix #localtime and #gmtime when they are given numeric offsets...
21:20
nanoyak has quit [Quit: Computer has gone to sleep.]
21:24
<
Antiarc >
I have no idea why that's in there
21:24
<
Antiarc >
I blame intellij
21:24
<
headius >
DocFlavor!!!
21:24
<
headius >
yeah, it gets really excited about adding imports sometimes
21:24
<
enebo >
how the hell did that happen :)
21:25
<
Antiarc >
Chances are good that I was being a bad programmer and didn't thoroughly diff that commit before pushing
21:25
<
enebo >
All source needs a bit of DocFlavor…doesn’t it? :)
21:25
<
enebo >
Antiarc: well it would have never matched in the case
21:26
<
enebo >
Antiarc: I switched to instanceof’s just so it was simpler to resolve in 1.7 vs master
21:26
skade has joined #jruby
21:26
<
enebo >
Antiarc: I wish our coercion protocol + calling syntaxes were a bit simpler to learn too
21:26
elia has joined #jruby
21:26
<
Antiarc >
enebo: What do you mean?
21:27
<
enebo >
Antiarc: We have like 6 methods for coverting between types
21:27
metadave_ has joined #jruby
21:27
<
enebo >
Antiarc: and we lack check_funcall except sometimes we do have variants (like in RubyClass)
21:29
yfeldblum has joined #jruby
21:30
metadave has quit [Ping timeout: 264 seconds]
21:30
<
Aethenelle >
mpapis: manually installing the requirements and setting autolibs to read-only seems to work
21:31
<
mpapis >
Aethenelle, open a bug with details, I will try to fix it
21:32
<
Aethenelle >
I have to get a solaris 10 box up still so I'll take better notes
21:32
JRubyGithub has joined #jruby
21:32
<
JRubyGithub >
jruby/master 422d460 Thomas E. Enebo: Merge branch 'jruby-1_7'...
21:32
JRubyGithub has left #jruby [#jruby]
21:32
nanoyak has joined #jruby
21:33
JRubyGithub has joined #jruby
21:33
<
JRubyGithub >
jruby/master 4a6aa1a Chris Seaton: [Truffle] Translate UnsupportedSpecializationException to TypeError rather than TruffleError.
21:33
JRubyGithub has left #jruby [#jruby]
21:33
zorak8 has joined #jruby
21:34
skade has quit [Ping timeout: 265 seconds]
21:35
nanoyak has quit [Remote host closed the connection]
21:36
nanoyak has joined #jruby
21:37
<
headius >
a day of threading bugs...yay
21:37
Aethenelle has quit [Read error: Connection reset by peer]
21:39
<
enebo >
amazing that spec file updated 2.2 tags from 1.9 tags file :)
21:39
<
enebo >
probably doing the right this…
21:39
Aethenelle has joined #jruby
21:41
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:41
donV has joined #jruby
21:41
<
headius >
enebo: yeah history goes back to when they were 1.9 tags so merging sometimes gets odd
21:41
<
headius >
probably should have made a clean break
21:41
<
enebo >
headius: it is ok I think. I just did not really notice that during the merg
21:42
travis-ci has joined #jruby
21:42
travis-ci has left #jruby [#jruby]
21:43
nanoyak_ has joined #jruby
21:43
yipdw has quit [Quit: yipdw]
21:43
x1337807x has joined #jruby
21:43
nanoyak_ has quit [Remote host closed the connection]
21:43
benlovell has quit [Ping timeout: 245 seconds]
21:43
yipdw has joined #jruby
21:43
yipdw has joined #jruby
21:43
yipdw has quit [Changing host]
21:44
nanoyak_ has joined #jruby
21:44
nanoyak has quit [Read error: Connection reset by peer]
21:47
mitchellhenke has quit [Quit: Computer has gone to sleep.]
21:50
benlovell has joined #jruby
21:51
metadave has joined #jruby
21:53
<
bbrowning >
headius: I still can't reproduce my issue on 1.7.18 vs 1.7.16.1 - new travis update comes out today, right?
21:53
<
bbrowning >
so maybe after that update my issue will go away on travis as well
21:54
<
headius >
bbrowning: well that would be great
21:56
travis-ci has joined #jruby
21:56
travis-ci has left #jruby [#jruby]
21:56
<
headius >
I'm greening the build, all...new features enabled some tests that fail
21:57
<
enebo >
headius: ah ok. I was hoping these were new
21:57
<
headius >
yeah, when I implemented io/nonblock some additional tests in test_io started running
21:57
<
headius >
for copy_stream, which we only partially support
21:58
capitalfellow has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:58
<
headius >
one of them uses fork, so that's out, but I'll check the other two
21:58
capitalfellow has joined #jruby
22:00
capitalfellow has quit [Client Quit]
22:00
benlovell has quit [Ping timeout: 244 seconds]
22:01
atambo has quit [Remote host closed the connection]
22:01
atambo has joined #jruby
22:01
kares has quit [Ping timeout: 244 seconds]
22:03
rsim has quit [Quit: Leaving.]
22:03
capitalfellow has joined #jruby
22:03
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:10
<
headius >
yay, one was easy
22:11
bbrowning is now known as bbrowning_away
22:12
JRubyGithub has joined #jruby
22:12
<
JRubyGithub >
jruby/master 0e47d16 Chris Seaton: [Truffle] False positive on some specs.
22:12
JRubyGithub has left #jruby [#jruby]
22:15
x1337807x has joined #jruby
22:17
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:21
zorak8 has quit [Read error: Connection reset by peer]
22:25
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:27
rsim has joined #jruby
22:28
rsim1 has joined #jruby
22:30
x1337807x has joined #jruby
22:32
rsim has quit [Ping timeout: 265 seconds]
22:32
travis-ci has joined #jruby
22:32
travis-ci has left #jruby [#jruby]
22:33
zorak8 has joined #jruby
22:34
zorak8 has quit [Read error: Connection reset by peer]
22:34
zorak8 has joined #jruby
22:37
tcrawley is now known as tcrawley-away
22:39
Aethenelle has quit [Read error: Connection reset by peer]
22:40
zorak8 has quit [Read error: Connection reset by peer]
22:40
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:42
x1337807x has joined #jruby
22:43
zorak8 has joined #jruby
22:52
viking has quit [Remote host closed the connection]
22:54
multibot_ has quit [Read error: Connection reset by peer]
22:55
multibot_ has joined #jruby
22:58
mrmargolis has quit [Remote host closed the connection]
23:00
<
jgdavey >
Is there a way in JRuby 9000 to determine the path of the jruby jar itself, at runtime?
23:01
JRubyGithub has joined #jruby
23:01
JRubyGithub has left #jruby [#jruby]
23:01
<
jgdavey >
Trying to work around warbler atm.
23:06
camlow325 has quit [Ping timeout: 255 seconds]
23:07
travis-ci has joined #jruby
23:07
travis-ci has left #jruby [#jruby]
23:08
<
headius >
jgdavey: mmm I believe so but I don't remember
23:09
<
jgdavey >
I'd like to include the JRuby 9000 jar in another war, was going to monkey with warbler to get it working until 9k drops.
23:09
<
jgdavey >
headius: something off the JRuby constant, or the JRuby.runtime perhaps?
23:11
nanoyak_ has quit [Quit: Computer has gone to sleep.]
23:13
<
dfr|work >
jgdavey, jruby-complete.jar ?
23:14
x1337807x has quit [Ping timeout: 265 seconds]
23:14
jgdavey has quit [Ping timeout: 240 seconds]
23:15
zorak8 has quit [Ping timeout: 256 seconds]
23:16
nanoyak has joined #jruby
23:16
nanoyak has quit [Remote host closed the connection]
23:16
colinsurprenant_ has joined #jruby
23:16
jgdavey has joined #jruby
23:17
x1337807x has joined #jruby
23:17
nanoyak has joined #jruby
23:17
colinsurprenant has quit [Ping timeout: 256 seconds]
23:17
colinsurprenant_ is now known as colinsurprenant
23:18
colinsurprenant has quit [Client Quit]
23:18
<
jgdavey >
headius: Lost connection there for a moment. Was there anything else about the jar I missed? I had asked about the JRuby constant or using JRuby.runtime
23:18
skade has joined #jruby
23:20
<
jgdavey >
dfr|work: maybe that does, yes.
23:20
<
jgdavey >
I saw JRuby.runtime.jruby_home
23:21
enebo has quit [Quit: enebo]
23:21
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
23:21
<
dfr|work >
jgdavey, If JRuby.runtime.jruby_home works, I'd use that first. But it's a bit of dark magic, so whatever you do will be hacky, so whatever works.
23:21
<
jgdavey >
Indeed! Thanks!
23:23
JRubyGithub has joined #jruby
23:23
<
JRubyGithub >
[jruby] headius opened issue #2439: IO.copy_stream should block when called against a non-blocking stream
http://git.io/H270IA
23:23
JRubyGithub has left #jruby [#jruby]
23:23
zorak8 has joined #jruby
23:23
dragonkh has joined #jruby
23:24
dragonkh has quit [Client Quit]
23:24
camlow325 has joined #jruby
23:24
dragonkh has joined #jruby
23:25
dragonkh has left #jruby [#jruby]
23:26
<
headius >
jgdavey: for a typical JRuby install, jruby_home/jruby.jar should always work
23:26
<
headius >
I'm not sure about the right way to determine path to complete jar though
23:26
<
headius >
jgdavey: in theory you should be able to look at classloader resources to do it
23:27
calavera has joined #jruby
23:27
<
headius >
$ jruby -e "puts JRuby.runtime.jruby_class_loader.get_resource('org/jruby/Ruby.class')"
23:27
<
headius >
jar:file:/Users/headius/projects/jruby/lib/jruby.jar!/org/jruby/Ruby.class
23:28
<
headius >
that won't be guaranteed to always be the right one if running in a complicated environment, but should usually work
23:28
<
headius >
% puts JRuby.runtime.jruby_class_loader.get_resource('org/jruby/Ruby.class')
23:28
<
multibot_ >
jar:file:/app/target/universal/stage/lib/org.jruby.jruby-complete-1.7.10.jar!/org/jruby/Ruby.class
23:28
<
headius >
lopex: interesting fs path
23:29
subbu has quit [Ping timeout: 244 seconds]
23:29
<
lopex >
headius: not sure it's from hosted os on amazon, I'm not in charge of that bot anymore
23:30
<
lopex >
headius: oh, might also come from some sbt conf
23:30
<
headius >
interesting
23:31
camlow325 has quit [Remote host closed the connection]
23:34
camlow325 has joined #jruby
23:34
rsim1 has quit [Quit: Leaving.]
23:36
e_dub has quit [Quit: e_dub]
23:38
camlow325 has quit [Remote host closed the connection]
23:45
skade has quit [Quit: Computer has gone to sleep.]
23:45
oblutak has left #jruby [#jruby]
23:51
<
lopex >
plus bytecode viewers etc
23:52
<
headius >
lopex: I've been meaning to use somethign better than ASM's dumper to for our bytecode logging output
23:52
<
headius >
maybe one of the libs this uses would be good
23:52
<
lopex >
headius: there's a video there
23:52
<
lopex >
might fit your needs
23:54
<
headius >
that can be part of my evening's entertainment
23:54
<
headius >
PS3, bytecode, and a bag of jellybeans
23:55
JRubyGithub has joined #jruby
23:55
<
JRubyGithub >
jruby/master 830c8e6 Chris Seaton: [Truffle] Fixnum#& and #bit_length.
23:55
JRubyGithub has left #jruby [#jruby]
23:56
<
lopex >
headius: why not show decompiled code where it can ?
23:57
camlow325 has joined #jruby
23:57
<
headius >
what, you mean our bytecode turned into decompiled?
23:57
<
headius >
I wonder how hideous it would be
23:57
<
headius >
9k would have a lot of temporary variables and most of them aren't valid Java identifier names
23:58
<
lopex >
headius: dunno, it works for scala most of the time
23:58
<
lopex >
headius: and even jad was able to decompile AOTed jrubyc
23:59
pietr0 has quit [Quit: pietr0]
23:59
<
headius >
let's try it
23:59
<
headius >
well jad almost got there
23:59
<
headius >
when I tried it there were still chunks of bytecode in the output