00:18
subbu is now known as subbu|dinner
00:35
subbu|dinner is now known as subbu
00:46
lucasallan has quit []
01:32
tenderlove has quit [Remote host closed the connection]
01:32
tenderlove has joined #jruby
01:37
tenderlove has quit [Ping timeout: 260 seconds]
01:40
thedarkone2 has joined #jruby
01:46
jensnockert has quit [Remote host closed the connection]
01:49
enebo has joined #jruby
02:00
tenderlove has joined #jruby
02:10
tenderlove has quit [Remote host closed the connection]
02:11
tenderlove has joined #jruby
02:15
enebo has quit [Quit: enebo]
02:15
tenderlove has quit [Ping timeout: 260 seconds]
02:24
jensnockert has joined #jruby
02:29
jensnockert has quit [Ping timeout: 260 seconds]
03:02
cremes has quit [Quit: cremes]
03:19
jensnockert has joined #jruby
03:24
jensnockert has quit [Ping timeout: 248 seconds]
04:16
swills has quit [Ping timeout: 245 seconds]
04:19
swills has joined #jruby
04:37
etehtsea has joined #jruby
04:39
jensnockert has joined #jruby
04:43
jensnockert has quit [Ping timeout: 258 seconds]
04:45
pawnbox has joined #jruby
05:15
cschneid has quit [Ping timeout: 260 seconds]
05:15
halorgium has quit [Ping timeout: 260 seconds]
05:15
atambo has quit [Ping timeout: 260 seconds]
05:15
electrical has quit [Ping timeout: 260 seconds]
05:15
deepak_ has quit [Ping timeout: 260 seconds]
05:16
andrewvc has quit [Ping timeout: 260 seconds]
05:16
eregon has quit [Ping timeout: 260 seconds]
05:16
eregon has joined #jruby
05:18
deepak_ has joined #jruby
05:18
electrical has joined #jruby
05:19
atambo has joined #jruby
05:20
andrewvc has joined #jruby
05:21
cschneid has joined #jruby
05:33
tenderlove has joined #jruby
05:35
tenderlove has quit [Read error: Connection reset by peer]
05:35
tenderlove has joined #jruby
05:38
jensnockert has joined #jruby
05:43
jensnockert has quit [Ping timeout: 248 seconds]
06:04
thedarkone2 has quit [Quit: thedarkone2]
06:29
etehtsea has quit [Read error: Connection reset by peer]
06:31
etehtsea has joined #jruby
06:38
jensnockert has joined #jruby
06:45
jensnockert has quit [Ping timeout: 268 seconds]
07:02
<
GitHub43 >
[jruby] kares closed pull request #4364: Add regression test for shell exit (master...javierhonduco/test-shell-exit)
https://git.io/v1Rxp
07:02
<
GitHub131 >
jruby/master 587bb74 Javier Honduvilla Coto: Add regression test for shell exit (#4364)...
07:10
Antiarc has quit [Ping timeout: 265 seconds]
07:13
Antiarc has joined #jruby
07:18
donV has quit [Quit: donV]
07:18
pawnbox has quit [Remote host closed the connection]
07:24
prasunanand has joined #jruby
07:30
Puffball has quit [Quit: No Ping reply in 180 seconds.]
07:31
jensnockert has joined #jruby
07:31
Puffball has joined #jruby
07:36
jensnockert has quit []
07:36
shellac has joined #jruby
07:39
pawnbox has joined #jruby
07:42
olle has joined #jruby
07:45
prasunanand has quit [Ping timeout: 258 seconds]
07:57
prasunanand has joined #jruby
08:11
<
GitHub58 >
[jruby] kares closed pull request #4362: change status array of ints to an int (master...javierhonduco/status-basic-type)
https://git.io/v1RO8
08:11
<
GitHub40 >
jruby/master 9291c56 Javier Honduvilla Coto: change status array of ints to an int (#4362)
08:38
claudiuinberlin has joined #jruby
09:23
vtunka has joined #jruby
09:38
vtunka has quit [Quit: Leaving]
09:40
vtunka has joined #jruby
09:41
shellac has quit [Quit: Computer has gone to sleep.]
09:45
FINbit has joined #jruby
09:47
pawnbox_ has joined #jruby
09:47
pawnbox has quit [Read error: Connection reset by peer]
10:10
drbobbeaty has joined #jruby
10:17
djellemah_ has quit [Ping timeout: 258 seconds]
10:20
vtunka has quit [Quit: Leaving]
10:24
pawnbox has joined #jruby
10:25
pawnbox_ has quit [Read error: Connection reset by peer]
10:25
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
10:31
djellemah has joined #jruby
10:43
kith has quit [Read error: Connection reset by peer]
10:48
halorgium has joined #jruby
10:57
codefinger has quit [Ping timeout: 248 seconds]
10:58
codefinger has joined #jruby
11:06
olle has quit [Quit: olle]
11:17
prasunanand has quit [Ping timeout: 258 seconds]
11:31
pawnbox has quit [Remote host closed the connection]
11:35
olle has joined #jruby
11:39
pawnbox has joined #jruby
11:41
vtunka has joined #jruby
11:54
pawnbox has quit [Read error: Connection reset by peer]
11:54
pawnbox has joined #jruby
12:10
shellac has joined #jruby
12:10
cremes has joined #jruby
12:14
<
GitHub99 >
jruby/master 933fae0 Karol Bucek: Merge pull request #4366 from ivoanjo/improve-defined-performance...
12:14
<
GitHub3 >
[jruby] kares closed pull request #4366: Optimize getDefinedMessage by deduping during initialization (master...improve-defined-performance)
https://git.io/v1EfV
12:14
<
GitHub99 >
jruby/master 95b5d2e Ivo Anjo: Optimize getDefinedMessage by deduping during initialization...
12:14
drbobbeaty has joined #jruby
12:14
<
GitHub194 >
[jruby] kares closed pull request #4307: JRuby 1.7: update jruby openssl to 0.9.18 (jruby-1_7...jruby-1_7-update-jruby-openssl-to-0.9.18)
https://git.io/vX9qY
12:22
claudiuinberlin has quit [Remote host closed the connection]
12:22
claudiuinberlin has joined #jruby
12:24
vtunka has quit [Quit: Leaving]
12:27
claudiuinberlin has quit [Ping timeout: 260 seconds]
12:47
jsvd has joined #jruby
12:55
claudiuinberlin has joined #jruby
13:00
claudiuinberlin has quit [Ping timeout: 250 seconds]
13:25
claudiuinberlin has joined #jruby
13:43
vtunka has joined #jruby
14:16
alxs has joined #jruby
14:21
<
alxs >
Hey! I'm looking into jruby to build a "sandbox'ed ruby script execution service" or something (what's in the name?!)
14:22
<
alxs >
Where ruby and sandbox'ed is the requirement part
14:23
<
alxs >
Thinking, running on the JVM, was an advantage... SecurityManager and the classloading part came to mind
14:23
<
alxs >
anyhow, wondered if anyone had any pointers? Currently reading through the redbridge stuff - thought I'd start prototyping something off that
14:33
enebo has joined #jruby
14:34
pawnbox has quit [Remote host closed the connection]
14:36
pawnbox has joined #jruby
14:56
tcrawley-away is now known as tcrawley
15:24
<
swills >
i was told yesterday that jruby 1.7.x is EOL at the end of the year. can someone point me at a web page that documents that?
15:24
pawnbox has quit [Remote host closed the connection]
15:47
pawnbox has joined #jruby
16:00
olle has quit [Quit: olle]
16:03
pawnbox has quit [Remote host closed the connection]
16:04
pawnbox has joined #jruby
16:26
subbu is now known as subbu|breakfast
16:51
camlow325 has joined #jruby
16:57
subbu|breakfast is now known as subbu
16:59
alxs has quit [Ping timeout: 248 seconds]
17:00
<
GitHub170 >
jruby/master 9dfb955 Charles Oliver Nutter: Add specs for missing non-trivial defined? cases. See #4366.
17:00
<
GitHub170 >
jruby/master 56cb52b Charles Oliver Nutter: Further optimize defined? messages. See #4366....
17:05
klemanski has joined #jruby
17:07
<
klemanski >
Hello, I've got some strange behavior with Fixnum/Bignum and mongo driver; looks like two numbers with same #hash are not enough "hasty" for Hash
http://pastie.org/10978801
17:08
<
klemanski >
mongo returns 2400000017 (Int64) as Bignum
17:08
<
klemanski >
I'm not sure whose error is that
17:09
<
klemanski >
probably this number should not be returned as Bignum but as Fixnum
17:10
<
klemanski >
and thats how i will fix it in my app - i will cast number from mongo/bson back to fixnum
17:12
<
klemanski >
my question is if i should create bug on jruby or bson?
17:24
claudiuinberlin has quit []
17:32
FINbit has quit [Ping timeout: 240 seconds]
17:36
alxs has joined #jruby
17:37
tenderlove has quit [Ping timeout: 265 seconds]
17:43
camlow325 has quit [Remote host closed the connection]
17:44
camlow325 has joined #jruby
17:47
tenderlove has joined #jruby
18:00
<
klemanski >
i don't know if it's possible to test this on MRI as I don't know if there is method to create Bignum in range of Fixnum
18:03
vtunka has quit [Quit: Leaving]
18:10
amdprophet has quit [Read error: Connection reset by peer]
18:12
amdprophet has joined #jruby
18:12
amdprophet has joined #jruby
18:12
amdprophet has quit [Changing host]
18:15
<
klemanski >
lopex, its problem with bson gem on jruby that returns bignum even when it should be fixnum
18:15
<
lopex >
klemanski: maybe it should use bignorm
18:15
<
klemanski >
but if Fixnum#hash == Lignum#hash then i would expect more "hasty" behavior
18:15
<
klemanski >
*"hashy"
18:16
<
lopex >
but jruby uses full long for Fixnums
18:17
<
lopex >
so it wont match mri
18:17
<
enebo >
klemanski: strikes me this is a Ruby 2.4 thing we need to deal with in JRuby since there will be no Bignum or Fixnum externally
18:17
<
lopex >
anyways, it if fits fixnum one should use bignorm
18:18
<
klemanski >
but why f.hash == b.hash but h[b] and h[f] is not same?
18:18
<
klemanski >
Hash is not based on Object#hash?
18:19
<
lopex >
all of those have their own hash impl
18:19
<
lopex >
but the culprit is == a suppose
18:19
<
lopex >
er, "eql?" actually
18:20
<
lopex >
do they "eql?"
18:21
<
klemanski >
f.eql?(b) => false
18:21
claudiuinberlin has joined #jruby
18:21
<
klemanski >
f === b => true
18:22
<
klemanski >
so should i create issue or just ignore this for now? i will fix this by Bignum#to_f.to_i or something like this
18:23
<
lopex >
klemanski: hmm, I think the ge should use bignom
18:24
<
klemanski >
they are using Bignum but look that Fixnum is ok for Int64
18:25
<
lopex >
that's what I'm alluring to
18:26
<
lopex >
*ding even lol
18:26
donV has joined #jruby
18:27
<
lopex >
enebo: though maybe eql? should work here ?
18:27
c0de1 has quit [Ping timeout: 250 seconds]
18:27
<
enebo >
lopex: does MRI?
18:27
<
lopex >
enebo: mri is very strict to not allow bignums in fixnum range
18:27
<
lopex >
enebo: but this case explicitely does that
18:27
<
klemanski >
lopex: ok, but you said "gem should use bignom" (bignum?) where it should not :)
18:28
<
enebo >
lopex: so you are saying it won’t then
18:28
<
lopex >
enebo: well, as if shouldnt happen
18:28
ruurd has quit [Ping timeout: 250 seconds]
18:28
<
enebo >
lopex: I just wanted to know if you tried or not
18:28
<
lopex >
enebo: tried what ?
18:29
<
lopex >
klemanski: which gem is that ?
18:29
<
lopex >
klemanski: we might look at c sources
18:29
<
enebo >
lopex: oh there is no way to make a Bignum in fixnum range so we cannot test it?
18:29
<
lopex >
enebo: I hope so
18:30
<
lopex >
need to follow thos code
18:31
<
klemanski >
just wanted to put this, but it's to "c" for me to understand
18:31
<
lopex >
klemanski: yep is uses rb_ll2inum
18:31
<
lopex >
and in turn if (FIXABLE(n)) return LONG2FIX(n
18:31
<
lopex >
klemanski: java gem is wrong
18:32
c0de1 has joined #jruby
18:32
c0de1 has quit [Changing host]
18:32
c0de1 has joined #jruby
18:32
<
klemanski >
i could create an issue for them, but what to write there? just that bignum should not be created when fixnum covers the range?
18:33
<
enebo >
rb_ll2inum(LONG_LONG n) {
18:33
<
enebo >
if (FIXABLE(n)) return LONG2FIX(n);
18:33
<
enebo >
return rb_ll2big(n);
18:33
<
enebo >
klemanski: point out that this is what C ext calls and Java should do something similar
18:34
<
enebo >
klemanski: you can see that first if tests to see if it fits into a fixnum
18:34
<
lopex >
hmm, but htey already use use getLong() there
18:34
<
lopex >
it will always fit fixnum
18:35
<
lopex >
as the name suggests :}
18:35
<
lopex >
klemanski: they should wrap it with fixnum
18:35
<
enebo >
lopex: but with that said the C ext also still calls this
18:35
<
lopex >
klemanski: just that
18:35
<
lopex >
enebo: maybe impl discrepency ?
18:36
<
lopex >
enebo: hey but htey also do memcpy(&i64, READ_PTR(b), 8)
18:36
<
enebo >
lopex: since C impl could LONG2FIX(value)
18:36
<
lopex >
enebo: so essentially they truncate ti
18:36
<
enebo >
lopex: pesky bits
18:36
<
enebo >
but they know it is presumably 64 bit word
18:37
<
lopex >
so, just wrap in Fixnum for jruby gem
18:37
<
enebo >
so I wonder how well Ruby 2.4 cexts will work now
18:37
<
enebo >
all these macros will still create ‘something’
18:37
<
enebo >
lopex: yeah I think it has to be the same
18:37
ruurd has joined #jruby
18:38
<
enebo >
but both of Fixnum and Bignum will say they are Integer?
18:38
<
lopex >
but that's just reflection
18:38
<
enebo >
so cext will still need to know
18:38
<
lopex >
enebo: internalt type checks will still work
18:38
<
enebo >
lopex: yeah it will have to
18:38
<
lopex >
same as they now
18:38
<
enebo >
so only getName() changes
18:39
<
enebo >
errr getClass()
18:44
<
lopex >
and it works with cuda etc
18:44
<
lopex >
like a charm
18:44
<
lopex >
enebo: and they have prebuilt binaries for everything in maven artifacts
18:45
claudiuinberlin has quit [Remote host closed the connection]
18:46
claudiuinberlin has joined #jruby
18:50
claudiuinberlin has quit [Ping timeout: 260 seconds]
19:04
camlow325 has quit [Quit: WeeChat 1.5]
19:06
<
GitHub104 >
jruby/master 509dd05 Thomas E. Enebo: Move array arg list logic into native block calls and remove it from...
19:16
claudiuinberlin has joined #jruby
19:19
subbu is now known as subbu|lunch
19:19
bbrowning has joined #jruby
19:20
bbrowning_away has quit [Ping timeout: 244 seconds]
19:23
FINbit has joined #jruby
19:33
shellac has quit [Quit: Computer has gone to sleep.]
20:01
klemanski has quit [Quit: This computer has gone to sleep]
20:05
subbu|lunch is now known as subbu
20:13
bbrowning has quit [Remote host closed the connection]
20:14
bbrowning has joined #jruby
20:20
AckZ has joined #jruby
20:29
<
GitHub26 >
jruby/truffle-head 02b2d6c Kevin Menard: [Truffle] Remove windows tags for core specs....
20:39
pawnbox has quit [Remote host closed the connection]
20:40
klemanski has joined #jruby
20:41
<
GitHub174 >
jruby/master 179099c Thomas E. Enebo: Fixup other IRubyObect[] internal block types for call in addition to yield
20:44
claudiuinberlin has quit []
20:46
klemanski has quit [Quit: Leaving]
21:26
thedarkone2 has joined #jruby
21:43
FINbit has quit [Ping timeout: 240 seconds]
21:45
FINbit has joined #jruby
21:49
bbrowning has quit [Quit: Leaving]
21:52
FINbit has quit [Ping timeout: 240 seconds]
21:58
tcrawley is now known as tcrawley-away
22:10
alxs has quit [Ping timeout: 245 seconds]
22:16
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:37
shellac has joined #jruby
22:43
<
GitHub100 >
jruby/master 9afc357 Thomas E. Enebo: Only prune extra args as our instructions can add missing ones for internal block calling
23:16
enebo has quit [Quit: enebo]
23:41
alxs has joined #jruby
23:42
shellac has quit [Quit: Computer has gone to sleep.]
23:50
alxs has quit [Ping timeout: 256 seconds]
23:57
camlow325 has joined #jruby
23:58
shellac has joined #jruby