00:00
zorak8 has quit [Ping timeout: 245 seconds]
00:01
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:02
zeroecco has quit [Ping timeout: 244 seconds]
00:09
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:12
ephemerian has quit [Quit: Leaving.]
00:15
travis-ci has joined #jruby
00:15
travis-ci has left #jruby [#jruby]
00:26
johnsonch_afk is now known as johnsonch
00:43
triple_b has joined #jruby
00:44
iamjarvo has joined #jruby
00:44
iamjarvo has quit [Max SendQ exceeded]
00:44
enebo has quit [Quit: enebo]
00:44
iamjarvo has joined #jruby
00:49
triple_b has quit [Remote host closed the connection]
00:49
triple_b has joined #jruby
00:54
diegoviola has quit [Ping timeout: 240 seconds]
00:55
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:55
diegovio2 has joined #jruby
00:56
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:05
oblutak has quit [Ping timeout: 246 seconds]
01:08
vyorkin has quit [Ping timeout: 256 seconds]
01:15
travis-ci has joined #jruby
01:15
travis-ci has left #jruby [#jruby]
01:17
robbyoconnor has quit [Ping timeout: 272 seconds]
01:18
elux has quit [Quit: Bye!]
01:20
AlHafoudh has quit [Ping timeout: 244 seconds]
01:21
benlovell has joined #jruby
01:22
AlHafoudh has joined #jruby
01:26
benlovell has quit [Ping timeout: 256 seconds]
01:28
diegovio2 is now known as diegoviola
01:36
multibot_ has quit [Remote host closed the connection]
01:37
multibot_ has joined #jruby
01:37
imperator has quit [Quit: Valete!]
01:46
marr has quit [Ping timeout: 258 seconds]
01:51
tenderlove has quit [Remote host closed the connection]
01:52
tenderlove has joined #jruby
01:53
byteit101 has quit [Remote host closed the connection]
01:53
tenderlove has quit [Remote host closed the connection]
01:54
tenderlove has joined #jruby
01:57
phrinx has quit [Remote host closed the connection]
01:58
phrinx has joined #jruby
02:00
tenderlove has quit [Ping timeout: 272 seconds]
02:00
havenwood has quit [Remote host closed the connection]
02:03
phrinx has quit [Ping timeout: 256 seconds]
02:06
tenderlove has joined #jruby
02:10
travis-ci has joined #jruby
02:10
travis-ci has left #jruby [#jruby]
02:11
zorak8 has joined #jruby
02:11
toshe_tm has quit [Ping timeout: 244 seconds]
02:15
diegovio1 has joined #jruby
02:15
diegoviola has quit [Ping timeout: 244 seconds]
02:22
ludyte has joined #jruby
02:27
iamjarvo has joined #jruby
02:27
iamjarvo has quit [Max SendQ exceeded]
02:27
iamjarvo has joined #jruby
02:36
diegovio1 is now known as diegoviola
02:47
travis-ci has joined #jruby
02:47
travis-ci has left #jruby [#jruby]
02:55
tenderlove has quit [Remote host closed the connection]
03:05
tenderlove has joined #jruby
03:09
phrinx has joined #jruby
03:10
benlovell has joined #jruby
03:13
phrinx has quit [Ping timeout: 256 seconds]
03:15
benlovell has quit [Ping timeout: 255 seconds]
03:18
tenderlove has quit [Remote host closed the connection]
03:20
travis-ci has joined #jruby
03:20
travis-ci has left #jruby [#jruby]
03:21
travis-ci has joined #jruby
03:21
travis-ci has left #jruby [#jruby]
03:25
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:28
travis-ci has joined #jruby
03:28
travis-ci has left #jruby [#jruby]
03:29
ludyte has quit [Quit: ludyte]
03:31
JRubyGithub has joined #jruby
03:31
<
JRubyGithub >
jruby/master 68ee23e Subramanya Sastry: Minor cleanup (dead comment, dead method args, excess whitespace)
03:31
<
JRubyGithub >
jruby/master 2c10c1e Subramanya Sastry: Move Truffle-mode tests to the entry of eval methods in IR interpreter
03:31
JRubyGithub has left #jruby [#jruby]
03:32
johnsonch is now known as johnsonch_afk
03:32
diegovio1 has joined #jruby
03:33
diegoviola is now known as Guest9165
03:33
diegovio1 is now known as diegoviola
03:33
Guest9165 has quit [Ping timeout: 244 seconds]
03:45
ludyte has joined #jruby
03:46
ludyte has quit [Client Quit]
03:47
ludyte has joined #jruby
03:47
projectodd-ci has quit [Remote host closed the connection]
03:49
projectodd-ci has joined #jruby
03:51
travis-ci has joined #jruby
03:51
travis-ci has left #jruby [#jruby]
03:51
subbu has quit [Ping timeout: 260 seconds]
03:59
zeroecco has joined #jruby
04:06
nirvdrum has quit [Ping timeout: 258 seconds]
04:11
zeroecco has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:12
havenwood has joined #jruby
04:19
tenderlove has joined #jruby
04:23
ludyte has quit [Quit: ludyte]
04:24
tenderlove has quit [Ping timeout: 260 seconds]
04:25
e_dub has joined #jruby
04:27
zorak8 has quit [Ping timeout: 260 seconds]
04:57
tenderlove has joined #jruby
04:58
benlovell has joined #jruby
05:01
jeremyevans has quit [Ping timeout: 272 seconds]
05:04
benlovell has quit [Ping timeout: 256 seconds]
05:09
tenderlove has quit [Remote host closed the connection]
05:16
SynrG has quit [Ping timeout: 244 seconds]
05:19
SynrG has joined #jruby
05:41
Xzyx987X has quit [Ping timeout: 272 seconds]
05:41
tenderlove has joined #jruby
05:42
Xzyx987X has joined #jruby
05:43
tlarevo has joined #jruby
05:46
tenderlove has quit [Ping timeout: 258 seconds]
05:47
aewffwea has joined #jruby
05:50
robbyoconnor has joined #jruby
06:21
anaeem1_ has joined #jruby
06:22
havenwood has quit [Remote host closed the connection]
06:44
benlovell has joined #jruby
06:50
benlovell has quit [Ping timeout: 272 seconds]
07:03
anaeem1_ has quit [Read error: Connection reset by peer]
07:04
anaeem1 has joined #jruby
07:04
avsej_ has joined #jruby
07:05
anaeem1 has quit [Remote host closed the connection]
07:05
anaeem1 has joined #jruby
07:07
avsej has quit [Ping timeout: 255 seconds]
07:07
avsej_ is now known as avsej
07:11
diegoviola has quit [Remote host closed the connection]
07:13
pchalupa has joined #jruby
07:19
pchalupa has quit [Quit: Leaving]
07:27
pchalupa has joined #jruby
07:28
tenderlove has joined #jruby
07:33
tenderlove has quit [Ping timeout: 256 seconds]
07:35
wojtczak has joined #jruby
07:45
benlovell has joined #jruby
07:50
benlovell has quit [Ping timeout: 250 seconds]
08:07
marr has joined #jruby
08:14
benlovell has joined #jruby
08:16
JohnBat26 has joined #jruby
08:22
Usuario has joined #jruby
08:23
Usuario is now known as obs
08:27
skade has quit [Quit: Computer has gone to sleep.]
08:31
yfeldblum has quit [Ping timeout: 265 seconds]
08:31
robbyoconnor has quit [Quit: Konversation terminated!]
08:48
vtunka has joined #jruby
08:50
drbobbeaty has joined #jruby
08:59
yfeldblum has joined #jruby
09:01
noop has joined #jruby
09:06
vyorkin has joined #jruby
09:08
elia has joined #jruby
09:09
vtunka has quit [Quit: Leaving]
09:09
thsig has joined #jruby
09:12
skade has joined #jruby
09:28
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
09:37
mister_solo has joined #jruby
09:46
ephemerian has joined #jruby
09:52
Hobogrammer has quit [Ping timeout: 256 seconds]
09:54
zorak8 has joined #jruby
09:55
benlovell has quit [Ping timeout: 265 seconds]
09:59
benlovell has joined #jruby
10:03
rsim has joined #jruby
10:06
rsim1 has joined #jruby
10:10
rsim has quit [Ping timeout: 265 seconds]
10:11
vyorkin has quit [Ping timeout: 264 seconds]
10:16
vtunka has joined #jruby
10:21
yfeldblum has quit [Remote host closed the connection]
10:30
tlarevo has quit [Ping timeout: 250 seconds]
10:30
tlarevo has joined #jruby
10:43
mister_solo has quit [Ping timeout: 245 seconds]
10:53
JRubyGithub has joined #jruby
10:53
<
JRubyGithub >
jruby/master bc642f4 Benoit Daloze: [Truffle] Do not try to know the caller class if we ignore the visibility....
10:53
JRubyGithub has left #jruby [#jruby]
10:55
mister_solo has joined #jruby
10:56
benlovell has quit [Ping timeout: 272 seconds]
10:56
anaeem___ has joined #jruby
10:57
anaeem___ has quit [Remote host closed the connection]
10:57
anaeem1_ has joined #jruby
10:57
anaeem1 has quit [Read error: Connection reset by peer]
10:57
benlovell has joined #jruby
10:59
drbobbeaty has joined #jruby
10:59
thsig has quit [Remote host closed the connection]
11:13
anaeem1 has joined #jruby
11:13
anaeem1 has quit [Remote host closed the connection]
11:13
anaeem1_ has quit [Read error: Connection reset by peer]
11:13
anaeem1_ has joined #jruby
11:19
avsej has quit [Quit: Quit]
11:21
avsej has joined #jruby
11:21
benlovell has quit [Ping timeout: 264 seconds]
11:22
travis-ci has joined #jruby
11:22
travis-ci has left #jruby [#jruby]
11:28
digitalextremist has joined #jruby
11:29
tcrawley-away is now known as tcrawley
11:30
benlovell has joined #jruby
11:57
vtunka has quit [Quit: Leaving]
11:59
imperator has joined #jruby
12:02
zorak8 has quit [Ping timeout: 255 seconds]
12:03
thsig has joined #jruby
12:09
skade has quit [Quit: Computer has gone to sleep.]
12:12
<
rtyler >
GAHH, the jruby 1.7.16.1 complete .jar file is bunched
12:14
benlovell has quit [Ping timeout: 245 seconds]
12:20
postmodern has quit [Quit: Leaving]
12:27
mister_solo has quit [Ping timeout: 256 seconds]
12:30
benlovell has joined #jruby
12:33
ludyte has joined #jruby
12:37
* rtyler
updates the ticket
12:41
benlovell has quit [Ping timeout: 255 seconds]
12:43
nirvdrum has joined #jruby
12:44
imperator has quit [Ping timeout: 265 seconds]
12:44
triple_b has joined #jruby
12:49
bbrowning_away is now known as bbrowning
12:50
skade has joined #jruby
12:55
anaeem1_ has quit [Remote host closed the connection]
13:01
JRubyGithub has joined #jruby
13:01
<
JRubyGithub >
jruby/master 4a0809f Benoit Daloze: Remove automated generated files (by mvn eclipse:eclipse) from the repository.
13:01
<
JRubyGithub >
jruby/master 75943e8 Benoit Daloze: Remove all old Eclipse files, we'll start from scratch.
13:01
<
JRubyGithub >
jruby/master 28f186c Benoit Daloze: Some .gitignore cleanup
13:01
JRubyGithub has left #jruby [#jruby]
13:04
ludyte has quit [Quit: ludyte]
13:07
tlarevo has quit [Ping timeout: 255 seconds]
13:07
tlarevo has joined #jruby
13:10
lance|afk is now known as lanceball
13:11
iamjarvo has joined #jruby
13:13
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
13:15
tcrawley is now known as tcrawley-away
13:15
rcvalle has joined #jruby
13:18
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:25
tcrawley-away is now known as tcrawley
13:27
benlovell has joined #jruby
13:29
enebo has joined #jruby
13:31
travis-ci has joined #jruby
13:31
travis-ci has left #jruby [#jruby]
13:31
vtunka has joined #jruby
13:33
ludyte has joined #jruby
13:34
thsig has quit [Remote host closed the connection]
13:34
thsig has joined #jruby
13:36
triple_b has joined #jruby
13:40
<
headius >
good morning friends!
13:40
<
headius >
rtyler: ugh.
13:41
JohnBat26 has joined #jruby
13:47
iamjarvo has joined #jruby
13:50
<
rtyler >
headius: yeah
13:51
<
rtyler >
I resemble that statement :)
13:53
sky-tyler has joined #jruby
13:53
<
sky-tyler >
man southwest is nuking SSH sessions
13:54
<
sky-tyler >
anyways, headius,I don't know how I can boil a test case down without just building a simple jruby-gradle app with good instructions :/
13:54
<
nirvdrum >
sky-tyler: Private Internet Access. It solves a lot of those problems for me.
13:54
<
sky-tyler >
I wonder if mkristian has a better idea on how we could test this..
13:55
<
sky-tyler >
nirvdrum: limited options at 37k feet
13:55
<
headius >
sky-tyler: where's the ticket?
13:55
thsig_ has joined #jruby
13:56
<
nirvdrum >
sky-tyler: I mean for the future. At least I found on Delta I had much better results routing my SSH traffic through a VPN.
13:56
thsig has quit [Read error: Connection reset by peer]
13:56
<
headius >
sky-tyler: do they use gogo too?
13:56
<
sky-tyler >
headius: no, their own thing
13:56
<
headius >
sky-tyler: oh whew...I thought somehow 1.7.16.1 regressed
13:57
<
sky-tyler >
nirvdrum: I see what you mean, I barely trust openvpn to work consistently on stable wifi though
13:57
<
headius >
sky-tyler: have you tried this with 1.7 HEAD recently?
13:57
<
sky-tyler >
headius: no, are there snapshot jars published for that?
13:57
<
headius >
should be
13:58
<
sky-tyler >
I'm pretty sure I asked this when I opened that ticket
13:58
<
headius >
maybe I didn't get that set up
13:58
<
headius >
gimme a few min
13:58
tlarevo has quit [Remote host closed the connection]
13:58
<
headius >
do you need it as a maven snapshot? we don't have a regular process for publishing snapshots yet
13:58
<
headius >
I can push one for now to sonatype snapshot repos
14:00
<
enebo >
mpapis: gpg: Can't check signature: public key not found
14:00
sky-tyler_ has joined #jruby
14:00
<
sky-tyler_ >
jesus, not even webchat can hold a connectoin
14:00
<
enebo >
mpapis: rvm get stable is blowing up using gpg
14:01
<
headius >
yep, pushing 1.7 snapshots to the wrong bucket I think
14:01
<
sky-tyler_ >
headius: if you want to add some comments to that ticket pointing me to where I can get snapshots, I'll gladly add a new maven repo
14:01
<
sky-tyler_ >
if they're just dumped into S3, that's okay too, but more work for me to get right :/
14:02
<
headius >
sky-tyler_: I'll chat with enebo today about getting nightly mvn snapshots published
14:02
sky-tyler has quit [Ping timeout: 246 seconds]
14:02
<
headius >
my only fear is that maven will somehow get totally confused about local snapshot versus nightly
14:02
<
enebo >
yeah I think snapshots are one thing royally messing up intellij too
14:03
<
headius >
I kicked off a build to push jruby-1_7 snapshots like those for master
14:03
<
enebo >
but that is apparently only my problem
14:03
<
headius >
enebo: saw your messages after the fact yesterday
14:03
<
headius >
bad snaps got in or something?
14:03
<
enebo >
headius: yeah if you can believe it I now am more fucked up than before
14:03
<
headius >
did you do a full build after you nuked repo?
14:03
<
enebo >
headius: I wonder if generating more modern iml from current maven files sets up something wrong
14:04
<
headius >
I have not wiped my iml files out in a while
14:04
<
enebo >
headius: I might have you send me yours :)
14:05
<
headius >
I'm 99% sure it will have /Users/headius paths in it
14:05
elia has quit [Ping timeout: 250 seconds]
14:05
<
headius >
those files seem to change every time I sneeze
14:05
<
headius >
that's why I stopped trying to commit them
14:05
<
enebo >
headius: I am the other 1% sure I can change the paths
14:05
<
headius >
ok, sure...I'll zip up what I have
14:05
sky-tyler_ has quit [Ping timeout: 246 seconds]
14:05
<
enebo >
headius: thanks. I am wits end :)
14:06
<
rtyler >
I'll just have to periodically try to re-log in I think
14:06
<
rtyler >
I didn't even get the message about mvn snapshots in webchat
14:06
<
headius >
you want master and 1.7?
14:06
<
rtyler >
asking me?
14:06
<
headius >
rtyler: no, sorry
14:06
<
headius >
you only get 1.7
14:06
<
rtyler >
yeah, I only need 1.7 :P
14:06
<
headius >
and you're gonna like it
14:06
<
rtyler >
(not rely plz)
14:07
<
headius >
enebo: I take that back...I did clean -dxf one of these branches and intellij rebuilt things fine
14:07
<
headius >
like within the last two weeks
14:07
<
rtyler >
alright, I need to stop trying to IRC, I'll catch you guys later
14:08
<
rtyler >
this connection reset shit is driving me up the wall
14:08
<
nirvdrum >
enebo: Did you fix it?!?!
14:08
<
headius >
I have no idea which files I need to include
14:08
<
enebo >
nirvdrum: no but we found out Struct.new can have def in the block
14:08
<
enebo >
nirvdrum: I am working through some other 2.2 change in popen atm
14:09
<
enebo >
nirvdrum: Then I can see a nice summary list of all activesupport failures
14:09
<
headius >
ok, how can my jruby project dir be > 1GB
14:09
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:09
<
enebo >
nirvdrum: I only make it through like 500-600 tests
14:09
<
nirvdrum >
enebo: I have no idea how many of those passed before. But it sounds like a plan. Ping me if you need anything.
14:09
<
mpapis >
enebo, did you add the key?
14:10
<
headius >
oh, a 336MB allocation profile dump might have something to do with it
14:10
<
enebo >
nirvdrum: will do. I highly doubt the problem was related to struct support
14:10
<
enebo >
mpapis: I just nuked rvm completely
14:10
<
enebo >
mpapis: I will reinstall it from scratch
14:10
<
mpapis >
enebo, you need to add the key, it's new "Secure by default"
14:11
<
enebo >
mpapis: oh I see…but lines like: bash: line 415: return: _ret: numeric argument required make it look like it is broken
14:11
<
mpapis >
enebo, indeed, let me check
14:12
<
enebo >
mpapis: ok I did download the key though
14:12
<
enebo >
mpapis: and it reloads
14:12
<
enebo >
mpapis: So only feedback is you have a message say, try downloading this key but it is far from clear it is from a change to rvm works
14:13
<
enebo >
mpapis: So perhaps make a message like, “After version of RVM blah.blah.blah you are now required to install a new key using GPG:”
14:13
<
mpapis >
enebo, pushed fix
14:14
e_dub has quit [Quit: ZZZzzz…]
14:14
wojtczak has quit [Quit: Leaving...]
14:14
<
enebo >
mpapis: ok. but I am using stable and like I said I just installed your new key
14:14
<
mpapis >
enebo, well, I can sugest installing it, it has to be users choice to trust me :)
14:14
<
enebo >
mpapis: sure but I was unclear from the message that you were really asking me to or something was broken
14:15
<
mpapis >
enebo, ticket please, I need to leave for polyconf in few
14:15
<
enebo >
mpapis: The actual reason explaining that they should install the key is missing
14:15
ludyte has quit [Quit: ludyte]
14:16
jeremyevans has joined #jruby
14:18
<
headius >
enebo: emailed you my whole jruby checkout sans .git, unsure which files you'll need
14:18
tenderlove has joined #jruby
14:18
<
headius >
enebo: how do the problems manifest?
14:19
<
headius >
tenderlove: morning!
14:19
mister_solo has joined #jruby
14:19
tenderlove has quit [Remote host closed the connection]
14:20
<
headius >
enebo: it looks like jruby-1_7 nightlies are pushing to the right place, but I still can't see them
14:21
<
headius >
oh, nevermind...there's just still no index for those dirs :-\
14:21
<
headius >
no mvn snaps yet
14:21
elia has joined #jruby
14:24
tenderlove has joined #jruby
14:25
<
tenderlove >
headius: good morning!
14:26
subbu has joined #jruby
14:26
iamjarvo has joined #jruby
14:29
avsej has quit [Ping timeout: 245 seconds]
14:30
tcrawley is now known as tcrawley-away
14:30
avsej has joined #jruby
14:32
<
headius >
tenderlove: are you relaxing at home yet?
14:33
<
tenderlove >
headius: ya, except I got a new phone and lost my 2FA credentials
14:33
<
tenderlove >
so I can't get on VPN
14:34
<
headius >
I periodically forget to back up my 2FA when I reflash my phone
14:34
<
headius >
if you want I can help you
14:39
ludyte has joined #jruby
14:50
JRubyGithub has joined #jruby
14:50
<
JRubyGithub >
jruby/truffle-head 84177f2 Benoit Daloze: Merge remote-tracking branch 'origin/master' into truffle-head
14:50
JRubyGithub has left #jruby [#jruby]
14:54
erikhatcher has joined #jruby
15:00
thsig_ has quit [Remote host closed the connection]
15:00
thsig has joined #jruby
15:02
e_dub has joined #jruby
15:16
benlovell has quit [Ping timeout: 244 seconds]
15:16
benlovell has joined #jruby
15:19
madsimian has joined #jruby
15:22
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:25
Aethenelle has joined #jruby
15:28
JRubyGithub has joined #jruby
15:28
<
JRubyGithub >
jruby/jruby-1_7 8942235 Charles Oliver Nutter: Use JVM 1.7 bytecodes by default for JVM >= 1.7. Fixes #2077.
15:28
JRubyGithub has left #jruby [#jruby]
15:28
zeroecco has joined #jruby
15:30
ludyte has quit [Quit: ludyte]
15:30
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:32
ludyte has joined #jruby
15:33
benlovell has quit [Ping timeout: 244 seconds]
15:33
noop has quit [Ping timeout: 264 seconds]
15:34
benlovell has joined #jruby
15:36
oblutak has joined #jruby
15:37
calavera has joined #jruby
15:37
thsig has quit [Read error: Connection reset by peer]
15:38
thsig has joined #jruby
15:39
<
headius >
enebo: maybe we should just remove version number from lib/ruby now
15:39
<
headius >
move it to lib/ruby/std or something
15:42
iamjarvo has joined #jruby
15:42
<
enebo >
headius: yeah I wondered about that in the past
15:43
ludyte has quit [Quit: ludyte]
15:43
<
enebo >
headius: but I wondered if anyone does path construction on version
15:43
<
enebo >
headius: we can try
15:43
<
headius >
might as well let it bake and see
15:43
<
enebo >
headius: on unixes we can also do softlink but that will not work on all platformsn
15:43
<
enebo >
headius: sure
15:43
<
headius >
lib/ruby/std? lib/ruby/standard?
15:44
<
enebo >
what is it called in docs on ruby-lang?
15:45
ludyte has joined #jruby
15:45
<
Aethenelle >
stdlib
15:45
<
enebo >
headius: so I think stdlib is reasonable
15:46
<
headius >
stdlib is fine with me
15:46
<
enebo >
it is really unfortunate it cannot just be lib/ruby
15:46
<
Aethenelle >
what file are you looking to move?
15:48
<
headius >
Aethenelle: I'm updating master to 2.2 stuffs
15:48
<
enebo >
Aethenelle: lib/ruby/2.2 -> lib/ruby/stdlib
15:48
<
headius >
huh, bunch of stdlib got removed
15:48
<
headius >
gserver, xmlrpc http server, complex, rational
15:48
zorak8 has joined #jruby
15:49
<
Aethenelle >
ahh... k
15:49
<
headius >
parts of mathn
15:49
<
enebo >
hmmm rational and mathn are probably totally native then?
15:49
<
Aethenelle >
wow... what'd they do w/ complex and rational?
15:49
<
headius >
mathn is going away in 2.3...deprecated now
15:49
<
headius >
complex and rational only had a handful of backward-compat aliases
15:49
<
headius >
since they went native in 1.9.2
15:50
<
Aethenelle >
ahhh.... ic
15:50
<
Aethenelle >
they're just cleaning out the crusty bits...
15:50
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:51
baroquebobcat has joined #jruby
15:55
travis-ci has joined #jruby
15:55
travis-ci has left #jruby [#jruby]
15:58
<
headius >
stuff available as gems appear to no longer be in lib too
15:58
<
headius >
minitest, test/unit
16:00
havenwood has joined #jruby
16:04
tcrawley-away is now known as tcrawley
16:06
triple_b has joined #jruby
16:07
bbrowning is now known as bbrowning_away
16:07
aewffwea has quit [Ping timeout: 256 seconds]
16:08
pietr0 has joined #jruby
16:08
anaeem1 has joined #jruby
16:11
benlovell has quit [Ping timeout: 245 seconds]
16:13
<
headius >
enebo: another thought...should we just remove mkmf?
16:13
<
headius >
it just raises NotImplementedError right now
16:14
<
enebo >
headius: what would the error be after that?
16:14
<
headius >
LoadError
16:14
<
enebo >
headius: perhaps the message is the important bit?
16:15
<
headius >
yeah I realized after I suggested it that NotImplemented plus our message is less confusing than the library simply not being there
16:15
<
headius >
will leave in place and nuke other contents so it doesn't look like it's a working file
16:22
pchalupa has quit [Quit: Leaving]
16:22
_dabradley has quit [Ping timeout: 255 seconds]
16:25
benlovell has joined #jruby
16:32
<
headius >
enebo: I think we should drop lib/ruby/shared too
16:33
<
headius >
there's no overlap and we don't have multiple versions of stdlib that need to share anything
16:33
<
enebo >
headius: move it into the jar?
16:33
benlovell has quit [Ping timeout: 250 seconds]
16:33
<
headius >
no, just into stdlib
16:33
<
enebo >
I forgot what shared meant for a minute
16:33
<
enebo >
but I agree
16:33
<
headius >
there are some jruby-specific libs there
16:33
<
enebo >
It also shortens loadpath
16:33
<
headius >
ant, jrubyc
16:34
<
headius >
any concern? still no overlap and our stdlib updater will not care
16:34
<
enebo >
headius: I guess stdlib may mean our stdlib
16:34
<
headius >
they are technically that, yes
16:34
<
enebo >
headius: but more generally if there is a future conflict then something big will need to change anyways
16:34
_dabradley has joined #jruby
16:35
<
headius >
enebo: did you see this power-assert library at kaigi?
16:35
<
headius >
it's listed in the bundled gems for 2.2 now
16:36
<
enebo >
I missed that
16:36
<
headius >
appears to be more assert forms for test/unit and miniunit
16:36
<
headius >
I'm adding it anyway
16:36
<
headius >
as well as putting minitest and test/unit in lib/pom.rb
16:36
<
headius >
gemification, slow but sure
16:36
obs has quit [Quit: Leaving]
16:37
cpuguy83 has quit [Ping timeout: 244 seconds]
16:37
GregMefford has quit [Ping timeout: 272 seconds]
16:37
n1ftyn8 has quit [Ping timeout: 272 seconds]
16:37
<
enebo >
headius: yeah perhaps they can gemify rexml next :)
16:37
gazarsgo has quit [Ping timeout: 260 seconds]
16:38
bryancp has quit [Ping timeout: 265 seconds]
16:38
bruceadams has quit [Ping timeout: 244 seconds]
16:38
chrisseaton has quit [Ping timeout: 260 seconds]
16:38
Scorchin has quit [Ping timeout: 265 seconds]
16:38
<
headius >
I think most of these libraries haven't been gemified because nobody is willing to maintain them
16:38
asarih has quit [Ping timeout: 265 seconds]
16:39
bbrowning_away is now known as bbrowning
16:39
<
headius >
or there's only one half-time newb doing it
16:39
joelmheim_ has quit [Ping timeout: 272 seconds]
16:40
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:40
rsim1 has quit [K-Lined]
16:41
calavera has joined #jruby
16:53
zorak8 has quit [Ping timeout: 265 seconds]
16:56
iamjarvo has joined #jruby
16:57
<
headius >
there's a regexp in one of the updated stdlib that doesn't appear to parse
16:57
<
enebo >
YES! LOPEX!!!!!
16:58
<
enebo >
YOU YOU ARE LOPEX
16:59
<
enebo >
It is no mistake lopEX ends in regEX
17:02
x1337807x has joined #jruby
17:02
<
headius >
confirm for me: /\A[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*\z/
17:02
imperator has joined #jruby
17:02
x1337807x has quit [Max SendQ exceeded]
17:02
<
headius >
I may not have a fully working build yet
17:02
x1337807x has joined #jruby
17:03
x1337807x has quit [Max SendQ exceeded]
17:03
zeroecco has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:03
x1337807x has joined #jruby
17:03
yfeldblum has joined #jruby
17:06
pietr0 has quit [Quit: pietr0]
17:06
JRubyGithub has joined #jruby
17:06
<
JRubyGithub >
jruby/master 032326d Benoit Daloze: [Truffle] Introduce ImplicitCast from int to long....
17:06
<
JRubyGithub >
jruby/master 27efcb8 Benoit Daloze: [Truffle] Remove useless specializations for (int,int) on +,-,* always fitting long.
17:06
<
JRubyGithub >
jruby/master c134174 Benoit Daloze: [Truffle] Fix bad return value for long * long without overflow.
17:06
JRubyGithub has left #jruby [#jruby]
17:07
<
lopex >
the /#$%'/ doesnt parse on 1.9 either
17:07
<
lopex >
does on 2.1 though
17:07
anaeem1 has quit [Remote host closed the connection]
17:07
elia has quit [Quit: Computer has gone to sleep.]
17:08
<
lopex >
1.9 fails with "syntax error, unexpected $undefined"
17:08
<
headius >
yeah what is that noise
17:08
<
lopex >
we fail with null
17:08
towski has quit [Ping timeout: 245 seconds]
17:08
anaeem1_ has joined #jruby
17:09
pietr0 has joined #jruby
17:09
JRubyGithub has joined #jruby
17:09
<
JRubyGithub >
jruby/master e1cf5f6 Benoit Daloze: [Truffle] Fix a bad bug promoting long to BigInteger!
17:09
JRubyGithub has left #jruby [#jruby]
17:09
<
lopex >
headius: $undefined seems to go straight from yacc
17:10
blinsay_ is now known as blinsay
17:10
imperator has quit [Ping timeout: 245 seconds]
17:11
Hobogrammer has joined #jruby
17:12
<
lopex >
enebo: does jruby parser lookk into regexp literals ?
17:12
thsig has quit [Remote host closed the connection]
17:13
thsig has joined #jruby
17:13
anaeem1_ has quit [Ping timeout: 255 seconds]
17:13
<
headius >
I think it just tries to parse them with joni after they've been parsed by jruby
17:13
<
multibot_ >
(SyntaxError) <script>:2: syntax error, unexpected null
17:13
<
lopex >
there it goes
17:14
<
lopex >
not a regexp issue ?
17:14
ephemerian has quit [Quit: Leaving.]
17:15
<
enebo >
lopex: Ah could be a bug with thinking this should interpolate in the regexp?
17:15
yfeldblum has quit [Ping timeout: 256 seconds]
17:15
<
lopex >
enebo: via the #/$ string interpolation ?
17:16
<
enebo >
%r{foo #{something} bar}
17:16
<
enebo >
but #$foo is valid interpolation
17:16
<
headius >
oh interesting
17:16
<
enebo >
ok I will look at this after lunch (which I will be eating NOW)
17:16
<
headius >
is it supposed to interpolate $% into place there?
17:16
<
enebo >
headius: Don’t know myself
17:17
<
multibot_ >
(SyntaxError) <script>:2: syntax error, unexpected null
17:17
<
headius >
yeah weird
17:17
<
multibot_ >
(SyntaxError) <script>:2: syntax error, unexpected null
17:17
thsig_ has joined #jruby
17:18
thsig_ has quit [Remote host closed the connection]
17:19
tcrawley is now known as tcrawley-away
17:21
thsig has quit [Ping timeout: 255 seconds]
17:21
e_dub has quit [Quit: ZZZzzz…]
17:22
Scorchin has joined #jruby
17:23
anaeem1 has joined #jruby
17:25
bruceadams has joined #jruby
17:26
tcrawley-away is now known as tcrawley
17:27
asarih has joined #jruby
17:28
erikhatcher has quit [Quit: erikhatcher]
17:29
madsimian has quit [Remote host closed the connection]
17:29
tlarevo has joined #jruby
17:32
zeroecco has joined #jruby
17:33
blinsay is now known as blinsay_
17:34
blinsay_ is now known as blinsay
17:35
ludyte has quit [Quit: ludyte]
17:35
n1ftyn8 has joined #jruby
17:39
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:41
cpuguy83 has joined #jruby
17:42
multibot__ has joined #jruby
17:42
bryancp has joined #jruby
17:43
ludyte has joined #jruby
17:43
GregMefford has joined #jruby
17:44
travis-ci has joined #jruby
17:44
travis-ci has left #jruby [#jruby]
17:45
gazarsgo has joined #jruby
17:46
joelmheim_ has joined #jruby
17:47
ludyte has quit [Client Quit]
17:49
robbyoconnor has joined #jruby
17:51
multibot_ has quit [Remote host closed the connection]
18:00
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:00
skade has quit [Quit: Computer has gone to sleep.]
18:01
chrisseaton has joined #jruby
18:02
<
rtyler >
enebo: did you figure out that rvm/gpg thing that I saw earlier?
18:02
iamjarvo has joined #jruby
18:08
<
headius >
enebo: r and i suffixes don't parse yet either
18:08
<
headius >
I may have to shelve this because 2.1 tests depend on e.g. rational, and 2.2 tests use r suffix
18:09
blinsay is now known as blinsay_
18:10
vtunka has quit [Ping timeout: 245 seconds]
18:10
<
enebo >
rtyler: I filed an issue on making the message more friendly
18:12
<
enebo >
rtyler: but yeah I did figure it out
18:12
mister_solo has quit [Ping timeout: 264 seconds]
18:19
e_dub has joined #jruby
18:20
Antiarc has joined #jruby
18:22
bbrowning is now known as bbrowning_away
18:30
ludyte has joined #jruby
18:32
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:36
noop has joined #jruby
18:38
lanceball is now known as lance|afk
18:40
byteit101 has joined #jruby
18:45
subbu is now known as subbu|lunch
18:49
travis-ci has joined #jruby
18:49
travis-ci has left #jruby [#jruby]
18:52
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:03
mje113__ has joined #jruby
19:04
skade has joined #jruby
19:07
tlarevo has quit [Remote host closed the connection]
19:09
lance|afk is now known as lanceball
19:09
<
headius >
mpapis: any reason why rvm install ruby-head would just exit(1) and do nothing?
19:11
iamjarvo has joined #jruby
19:12
skade has quit [Ping timeout: 244 seconds]
19:15
<
headius >
lopex: enebo: just realized that regexp parsing issue is not a #{} thing...those chars are all inside [] so they should just be treated as normal chars for regexp
19:16
<
headius >
I'm going to hack it to work for the moment
19:16
<
lopex >
headius: what is $% ?
19:16
<
headius >
doesn't appear to be anything
19:16
<
lopex >
but it's the culprit it seems
19:17
<
lopex >
2.1 fails with `$%' is not allowed as a global variable name
19:17
ludyte has quit [Quit: ludyte]
19:17
<
lopex >
1.9 does the $undefined thing
19:17
<
lopex >
and jruby does syntax error, unexpected null
19:17
<
enebo >
sounds like it is interpolating when it shouldn’t to me
19:18
<
multibot__ >
(SyntaxError) <script>:2: syntax error, unexpected null
19:18
erikhatcher has joined #jruby
19:18
ludyte has joined #jruby
19:18
<
headius >
that's the problem
19:19
<
lopex >
2.1 just doesnt raise on "#$%"
19:19
<
headius >
I think :-)
19:19
<
lopex >
but 1.9 fails on it
19:19
<
lopex >
I dont know how it all relates to regexp
19:19
<
enebo >
lopex: regexp lexing reuses string lexing code
19:20
<
lopex >
enebo: but it's all string literals here
19:20
<
lopex >
not regexps
19:20
<
headius >
$ rvm ruby-2.1.2 do ruby -e 'p /[#$%]/'
19:20
<
enebo >
lopex: So there must be some extra magic added to ignore # when it is in [ or perhaps they only interpolate in %R{} now
19:20
<
lopex >
% Regexp.new '#$%'
19:20
<
multibot__ >
(?-mix:#$%)
19:20
<
lopex >
not a regexp problem
19:20
yfeldblum has joined #jruby
19:20
<
headius >
same output on 1.9.3p547
19:20
<
lopex >
% Regexp.quote '#$%'
19:21
<
enebo >
lopex: yeah I would be surprised if the error is a regexp thing. It seems like interpolation parsing in lexer
19:21
<
lopex >
enebo: also a parser thingy it seems apart the string literals even
19:21
<
lopex >
enebo: because of $% beheviour
19:22
<
headius >
my hack is \u0023
19:22
<
headius >
seems to be ok with that
19:22
<
enebo >
only % after #$ really?
19:22
<
multibot__ >
(SyntaxError) <script>:2: unterminated string meets end of file
19:22
<
enebo >
or this was just how you are solving this single case for the moment
19:22
<
multibot__ >
(SyntaxError) <script>:2: syntax error, unexpected null
19:23
phrinx has joined #jruby
19:23
<
enebo >
minimal repro and I can figure it out…just putting in Rational operand in IR atm
19:23
<
headius >
enebo: I have to defer pushing stdlib update because I need to update tests and they need r suffix at least
19:23
<
headius >
I will push what I have to a branch with updated everything ready for parser
19:23
phrinx_ has joined #jruby
19:23
<
enebo >
headius: wait you need to update tests? Or we need proper r literal support?
19:24
<
lopex >
enebo: and yes, wrt ignore in literals
19:24
<
headius >
2.1 tests don't work right with 2.2 stdlib
19:24
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:24
<
enebo >
headius: working r literal support will work in a couple of minutes
19:24
<
headius >
2.2 tests require r suffix in places
19:24
<
enebo >
headius: so let’s update to 2.2 tests since this will be solved soon
19:25
<
headius >
I have it locally, just can't run to confirm and tag
19:26
<
headius >
something is seriously dogging my internet connection
19:26
bbrowning_away is now known as bbrowning
19:27
<
headius >
enebo: I'm not sure if I'll need i suffix, but I wouldn't be surprised...you doing that one too?
19:27
phrinx has quit [Ping timeout: 256 seconds]
19:27
<
enebo >
headius: sure I will do that next and then interp/regexp bug
19:28
<
lopex >
dont call it regexp bug
19:28
<
lopex >
it makes me nervous
19:28
<
enebo >
I must have added these to 1.7 branch before we call it
19:28
<
enebo >
branched it
19:28
<
enebo >
lopex: wow I feel like I have aphasia
19:29
<
enebo >
that interp/regexp should have been interpolation/{omited} bug
19:29
robbyoconnor has quit [Read error: Connection reset by peer]
19:30
<
lopex >
enebo: the regexps on this channel highlight in my mind even it's not colored
19:31
<
enebo >
lopex: like a regexp?
19:31
JRubyGithub has joined #jruby
19:31
<
JRubyGithub >
jruby/master b251a22 Thomas E. Enebo: Float is an immutableliteral it is a knownvalue from that
19:31
<
JRubyGithub >
jruby/master 3cbf819 Thomas E. Enebo: Make intellij happy about this file
19:31
<
JRubyGithub >
jruby/master 79d9a4d Thomas E. Enebo: New IR Operand Rational. Say hello Rational
19:31
JRubyGithub has left #jruby [#jruby]
19:33
JRubyGithub has joined #jruby
19:33
<
JRubyGithub >
jruby/master 00ba272 Thomas E. Enebo: Rational is not an ARRAY
19:33
JRubyGithub has left #jruby [#jruby]
19:34
<
headius >
testing that now...once I land this I'll get JIT part in too
19:34
<
headius >
we still need .freeze hack somewhere too
19:36
zeroecco has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:38
<
lopex >
enebo: yes!
19:39
<
lopex >
enebo: why aphasia ?
19:39
<
enebo >
lopex: randomly changing words
19:39
<
enebo >
lopex: but I think I amd writing something else
19:41
towski has joined #jruby
19:42
subbu|lunch is now known as subbu
19:44
<
headius >
enebo: ping me when everything's in...bbiab
19:44
<
enebo >
headius: ok
19:48
anaeem1 has quit [Remote host closed the connection]
19:51
anaeem1 has joined #jruby
19:51
GregMefford has quit [Quit: Connection closed for inactivity]
19:51
anaeem1 has quit [Remote host closed the connection]
19:52
bbrowning_ has joined #jruby
19:52
bbrowning has quit [Ping timeout: 244 seconds]
19:53
bbrowning_ is now known as bbrowning
19:56
subbu has quit [Ping timeout: 255 seconds]
19:57
JRubyGithub has joined #jruby
19:57
<
JRubyGithub >
jruby/master d35c59d Thomas E. Enebo: New IR Operand Complex
19:57
JRubyGithub has left #jruby [#jruby]
19:57
<
enebo >
lopex: can you give me a minimal example of the $#? bug
19:58
anaeem1 has joined #jruby
19:58
havenwood has quit [Remote host closed the connection]
19:59
<
lopex >
isnt "#$%" a simpler one ?
19:59
bbrowning is now known as bbrowning_away
20:02
subbu has joined #jruby
20:03
<
headius >
I don't know what the bug is exactly
20:03
<
headius >
should #$%
*never* interpolate? then lopex's case would be better
20:04
<
lopex >
headius: I guess it shouldnt interpolate for non-existing $-whatever variables ?
20:05
<
multibot__ >
(SyntaxError) <script>:2: syntax error, unexpected null
20:05
<
lopex >
works on 2.1
20:05
<
headius >
so there's some general change they made for #$
20:06
<
lopex >
looks like it
20:06
<
lopex >
just like /#$^/
20:06
<
lopex >
so it looks like it uses "allowed global var name"
20:07
<
lopex >
or something like that
20:07
<
headius >
that would be simple if true
20:07
<
lopex >
headius: ruby -e "p /#{$^}/"
20:08
<
lopex >
#{} behaves differently on 2.1
20:08
<
lopex >
it does full eval
20:08
<
lopex >
# is special here I think?
20:09
anaeem1 has quit [Remote host closed the connection]
20:10
mister_solo has joined #jruby
20:13
<
headius >
yeah I think the #$ is special case
20:13
<
lopex >
same for "#@"
20:13
<
multibot__ >
(SyntaxError) <script>:2: syntax error, unexpected null
20:13
<
lopex >
same difference wrt 2.1
20:14
<
headius >
because it's not a valid ivar name
20:14
e_dub has quit [Quit: ZZZzzz…]
20:15
mister_solo has quit [Ping timeout: 245 seconds]
20:15
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:20
noop has quit [Ping timeout: 265 seconds]
20:21
<
lopex >
enebo: you here ?
20:22
<
enebo >
lopex: I am
20:22
<
enebo >
lopex: yeah I am fixing all of this
20:23
<
enebo >
I found the problem a while ago but they use some weird bit array to efficiently determine which characters are valid gvars
20:23
<
lopex >
so they silently parse unless !parser_is_identchar
20:23
<
enebo >
lopex: well they actually parse more than that
20:24
<
enebo >
lopex: since $0 would not be found by that method
20:24
<
enebo >
lopex: look for ruby_global_punct_bits
20:25
<
lopex >
you mean ruby_global_name_punct_bits ?
20:25
<
enebo >
is_global_name_punct
20:25
<
enebo >
which uses ruby_global_name_punct_bits
20:26
<
lopex >
yeah i see it
20:26
<
enebo >
yeah I need an impl of that and so I am working on that. I already have the rest of $ handled and then @ is pretty small to fix
20:27
e_dub has joined #jruby
20:32
zeroecco has joined #jruby
20:33
imperator has joined #jruby
20:40
phrinx has joined #jruby
20:42
phrinx_ has quit [Ping timeout: 258 seconds]
20:42
phrinx__ has joined #jruby
20:45
phrinx has quit [Ping timeout: 244 seconds]
20:50
JRubyGithub has joined #jruby
20:50
<
JRubyGithub >
jruby/master ce10121 Chris Seaton: [Truffle] Make safepoints not a node or instrument, but just a runtime call.
20:50
JRubyGithub has left #jruby [#jruby]
20:58
iamjarvo has joined #jruby
20:59
ludyte has quit [Quit: ludyte]
21:05
zeroecco has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:08
zorak8 has joined #jruby
21:10
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:11
havenwood has joined #jruby
21:16
x1337807x has joined #jruby
21:17
iamjarvo has joined #jruby
21:22
zeroecco has joined #jruby
21:25
imperator has quit [Quit: Leaving]
21:32
JRubyGithub has joined #jruby
21:32
<
JRubyGithub >
jruby/master c11cb6e Thomas E. Enebo: Horrific fix for global and ivar characters which are not interpolators fix. Cleanup next fix
21:32
JRubyGithub has left #jruby [#jruby]
21:33
<
enebo >
headius: ^ fixes things but another zero-sum fix will be coming to remove a lot of the duplication in the patch
21:33
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:33
<
enebo >
headius: so complex, rational, and this regexp should be only problems to getting 2.2 updated I think right?
21:34
<
enebo >
hah…I even still missed a case
21:34
pglombardo has joined #jruby
21:46
pglombardo has quit []
21:48
Aethenelle has quit [Quit: Aethenelle]
21:48
zenspider has joined #jruby
21:48
diegoviola has joined #jruby
21:51
robbyoconnor has joined #jruby
21:55
tcrawley is now known as tcrawley-away
22:00
nirvdrum has quit [Ping timeout: 264 seconds]
22:06
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:09
mister_solo has joined #jruby
22:13
mister_solo has quit [Ping timeout: 245 seconds]
22:14
DomKM has joined #jruby
22:23
anaeem1 has joined #jruby
22:23
calavera has joined #jruby
22:26
mje113__ has quit [Quit: Connection closed for inactivity]
22:39
subbu_ has joined #jruby
22:40
subbu has quit [Ping timeout: 265 seconds]
22:49
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:50
e_dub has quit [Quit: ZZZzzz…]
22:50
digitalextremist has quit [Quit: demonstrate freedom //]
22:51
subbu_ has quit [Read error: Connection reset by peer]
22:52
oblutak has quit [Quit: Page closed]
23:02
havenwood has quit []
23:09
thsig has joined #jruby
23:10
thsig has quit [Remote host closed the connection]
23:10
calavera has joined #jruby
23:11
thsig has joined #jruby
23:17
thsig_ has joined #jruby
23:20
erikhatcher has quit [Quit: erikhatcher]
23:20
thsig has quit [Read error: Connection reset by peer]
23:20
thsig__ has joined #jruby
23:23
thsig__ has quit [Client Quit]
23:24
thsig_ has quit [Ping timeout: 260 seconds]
23:26
zorak8 has quit [Read error: Connection reset by peer]
23:26
zorak_ has joined #jruby
23:29
robbyoconnor has quit [Quit: Konversation terminated!]
23:30
baroquebobcat has quit [Quit: baroquebobcat]
23:35
blinsay_ is now known as blinsay
23:36
enebo has quit [Quit: enebo]
23:36
<
blinsay >
hey y'all, got a question about type coercion when calling java methods
23:36
josh-k has joined #jruby
23:36
<
blinsay >
having a funky problem trying to call ByteArrayOutputStream#write(int)
23:37
<
blinsay >
looks like my arguments get coerced to.... something?
23:37
<
blinsay >
it's not an int, short, or byte
23:39
<
blinsay >
like, I have NO idea why it would be wrapping after 10 bits
23:39
<
headius >
enebo: these are all the cases I know of so far
23:40
<
blinsay >
fwiw if I use java_send, exactly the same thing happens
23:42
<
headius >
blinsay: well that method wants a byte, right?
23:42
<
blinsay >
headius: no sir
23:42
<
headius >
"Writes the specified byte to this byte array output stream."
23:42
<
headius >
1024 is out of byte range, so it would get truncated on the other side
23:43
<
blinsay >
oh crap, you're so correct
23:43
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
23:43
<
headius >
not in JRuby... we will coerce any Fixnum into int by truncation if there's no long signature
23:43
robbyoconnor has joined #jruby
23:44
<
headius >
I
*believe* you might also need to 2's complement the value if it's > 127, but not sure if you're writing high ascii
23:44
<
blinsay >
not gonna worry about that. was trying to write the bytes of an int to the stream, and write(string.to_java_bytes) does the right thing :)
23:44
<
blinsay >
thanks for pointing the "byte
23:44
<
headius >
yeah no worries
23:44
<
headius >
if you wrap with a DataOutputStream you'll have signatures for all the types, I believe
23:45
<
headius >
so there's that option too
23:45
<
blinsay >
write_bytes_to_stream(128) -> -128
23:45
<
blinsay >
headius: word!
23:45
<
headius >
it's also possible to take any stream and to_io it
23:45
<
headius >
then it's just a Ruby IO
23:46
<
headius >
oh, that's neat...the Java side must treat unsigned byte as though you meant to do 2s complement
23:46
<
headius >
unless that's the string version
23:46
<
headius >
anyway...you're on your way now :-)
23:47
<
blinsay >
yep. thanks much!
23:50
e_dub has joined #jruby
23:52
<
blinsay >
headius: scared to ask this, but what encoding does String.to_java_bytes use? didn't see anything on the interop wiki page
23:52
<
headius >
it uses whatever the String is encoded as, I believe
23:54
<
blinsay >
awesome, thanks
23:54
<
headius >
yeah, it basically returns a new byte[] that's a copy of the actual range of bytes in the string...no encoding change or anyhting
23:55
<
headius >
enebo: I'm not seeing the parser change for r and i
23:55
<
headius >
they're still giving me syntax error
23:56
<
headius >
I'm going to push this stuff to a branch for now so I can work on other things