subbu has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pietr0 has quit [Quit: pietr0]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elia has quit [Ping timeout: 246 seconds]
pjammer has joined #jruby
baroquebobcat has quit [Quit: baroquebobcat]
subbu has quit [Ping timeout: 252 seconds]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 246 seconds]
pjammer has joined #jruby
nateberkope has joined #jruby
nateberkopec has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
elia has joined #jruby
camlow325 has quit []
<ebbflowgo> I'm looking to setup a simple ActiveRecord database with activerecord-jdbcpostgresql-adapter... i bundled the gems but can't for the life of me get it to work.. gist error here: https://gist.github.com/ebbflowgo/c706b2ab9cc8abb95ee2
<ebbflowgo> I'm running it with jruby -S db/database.rb
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
subbu has joined #jruby
pjammer has joined #jruby
elia has quit [Ping timeout: 265 seconds]
elia has joined #jruby
<Antiarc> can you gist the contents of /Users/hank/.rvm/gems/jruby-1.7.19/gems/activerecord-jdbc-adapter-1.3.15/lib/arjdbc/jdbc/base_ext.rb ?
<ebbflowgo> Antiarc: sure, finding now
<Antiarc> (I could just look it up)
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mitchellhenke has joined #jruby
<Antiarc> what version of jruby?
elia has quit [Read error: Connection reset by peer]
<ebbflowgo> jruby -v
<ebbflowgo> jruby 1.7.19 (1.9.3p551) 2015-01-29 20786bd on Java HotSpot(TM) 64-Bit Server VM 1.7.0_21-b12 +jit [darwin-x86_64]
<Antiarc> Hrm. Nothing obvious there. I'm wondering if AR is somehow including something twice which is double-firing that included call
<ebbflowgo> Antiarc: yeah nothing obvious to me either.. I'll be right back..
<Antiarc> I gotta run out for a bit anyhow
<Antiarc> Maybe someone else with more expertise can help :)
<ebbflowgo> yeah, be back in a couple mins
<ebbflowgo> Antiarc: thanks for having a look anyways
ebbflowgo has left #jruby [#jruby]
pjammer has joined #jruby
ebbflowgo has joined #jruby
<ebbflowgo> back
nateberkope has quit [Read error: Connection reset by peer]
nateberkopec has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
subbu has quit [Ping timeout: 252 seconds]
tcrawley is now known as tcrawley-away
<ebbflowgo> does anyone mind having a look?
cremes has joined #jruby
pjammer has joined #jruby
nirvdrum has quit [Ping timeout: 248 seconds]
iamjarvo has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
a5i has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
nateberkopec has quit [Quit: Leaving...]
djbkd has quit [Remote host closed the connection]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
djbkd has joined #jruby
djbkd has quit [Remote host closed the connection]
flori has quit [Ping timeout: 265 seconds]
flori has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
mje113__ has quit [Quit: Connection closed for inactivity]
Neomex has joined #jruby
aj07 has joined #jruby
anaeem1 has joined #jruby
subbu has joined #jruby
aj07 has quit [Quit: Page closed]
anaeem1 has quit [Remote host closed the connection]
anaeem1_ has joined #jruby
havenwood has quit []
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cajone has joined #jruby
anaeem1__ has joined #jruby
anaeem1_ has quit [Read error: Connection reset by peer]
cajone has quit [Ping timeout: 250 seconds]
bjfish2 has left #jruby [#jruby]
skade has joined #jruby
anaeem1__ has quit [Ping timeout: 276 seconds]
subbu has quit [Ping timeout: 250 seconds]
ebbflowgo has quit [Read error: Connection reset by peer]
ebbflowgo has joined #jruby
anaeem1 has joined #jruby
rsim has joined #jruby
iamjarvo_ has joined #jruby
yfeldblum has quit [Remote host closed the connection]
kares has joined #jruby
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anaeem1 has quit [Remote host closed the connection]
x1337807x has joined #jruby
anaeem1_ has joined #jruby
anaeem1_ has quit [Ping timeout: 244 seconds]
dinfuehr has joined #jruby
kares has quit [Ping timeout: 244 seconds]
anaeem1 has joined #jruby
travis-ci has joined #jruby
<travis-ci> kares/jruby (test-jossl-0.9.7.dev-1_7:a28cc6d by kares): The build has errored. (http://travis-ci.org/kares/jruby/builds/57857635)
travis-ci has left #jruby [#jruby]
cajone has joined #jruby
elia has joined #jruby
zorak8 has quit [Ping timeout: 245 seconds]
skade has quit [Quit: Computer has gone to sleep.]
elia has quit [Ping timeout: 252 seconds]
elia has joined #jruby
skade has joined #jruby
Neomex has quit [Quit: Leaving]
elia has quit [Read error: Connection reset by peer]
skade has quit [Ping timeout: 276 seconds]
temporalfox has joined #jruby
stepheneb has quit [Quit: stepheneb]
iamjarvo has joined #jruby
skade has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mister_solo has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
yfeldblum has joined #jruby
kares has joined #jruby
e_dub has quit [Quit: ZZZzzz…]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
travis-ci has joined #jruby
<travis-ci> kares/jruby (test-jossl-0.9.7.dev-1_7:a28cc6d by kares): The build passed. (http://travis-ci.org/kares/jruby/builds/57857635)
travis-ci has left #jruby [#jruby]
e_dub has joined #jruby
temporal_ has joined #jruby
temporalfox has quit [Ping timeout: 252 seconds]
elia has joined #jruby
ypasmk has joined #jruby
temporal_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marr has joined #jruby
skade has joined #jruby
cremes has quit [Ping timeout: 250 seconds]
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #jruby
JohnBat26 has joined #jruby
Hobogrammer has quit [Ping timeout: 276 seconds]
Xzyx987X has quit [Read error: Connection reset by peer]
Xzyx987X has joined #jruby
mister_solo has quit [Ping timeout: 240 seconds]
vtunka has joined #jruby
mister_solo has joined #jruby
vtunka_ has joined #jruby
vtunka_ has quit [Remote host closed the connection]
marr has quit []
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #jruby
marr has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
temporalfox has joined #jruby
rsim has quit [Quit: Leaving.]
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
mister_solo has quit [Remote host closed the connection]
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
havenwood has joined #jruby
e_dub has quit [Client Quit]
vtunka has quit [Ping timeout: 245 seconds]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
iamjarvo has joined #jruby
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
pjammer has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
drbobbeaty has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
iamjarvo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares closed issue #1874: OpenSSL::SSL::SSLContext::METHODS in MRI vs JRuby http://git.io/veA8P
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares closed issue #931: Cipher "des-ede" working differently between JRuby and MRI http://git.io/veABY
JRubyGithub has left #jruby [#jruby]
shellac has joined #jruby
<chrisseaton> headius: Truffle is good to go for pre2 and we won't push anything new until it's out
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<chrisseaton> have you got a release notes page on the wiki or something like that where I can put our current completeness status?
pitr-ch has joined #jruby
iamjarvo has joined #jruby
dabradley has quit [Ping timeout: 248 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #jruby
dling has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<balo> :D
<balo> wrong window again
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
pjammer has joined #jruby
cremes has joined #jruby
temporalfox has joined #jruby
erikhatcher has joined #jruby
rsim has joined #jruby
e_dub has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lance|afk is now known as lanceball
subbu has joined #jruby
havenwood has quit [Remote host closed the connection]
tcrawley-away is now known as tcrawley
bbrowning_away is now known as bbrowning
nirvdrum has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
subbu has quit [Ping timeout: 265 seconds]
zorak8 has joined #jruby
kares has quit [Ping timeout: 272 seconds]
<ebbflowgo> any suggestions on how to get around this? https://github.com/jruby/jruby/issues/2286 --- activerecord-jdbc-adapter gem issue
erikhatcher has quit [Quit: erikhatcher]
a5i has quit [Quit: Connection closed for inactivity]
yfeldblum has quit [Ping timeout: 245 seconds]
pjammer has joined #jruby
<ebbflowgo> it looks like the 4.2 AR support needs some work.. https://github.com/jruby/activerecord-jdbc-adapter/issues/599
kwando_ has joined #jruby
kwando has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
dabradley has joined #jruby
<nirvdrum> Yeah. AR-JDBC is still lagging behind Rails 4.2 a bit. kares has been working on it, but it's a lot of work for one guy part time.
<nirvdrum> For my part, I switched to using Sequel a while back and it helps avoid situations like this.
vtunka has joined #jruby
nateberkopec has joined #jruby
qmx has quit [Quit: ZNC - http://znc.in]
qmx has joined #jruby
qmx has quit [Changing host]
qmx has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
e_dub has quit [Quit: ZZZzzz…]
iamjarvo_ has joined #jruby
iamjarvo_ has quit [Max SendQ exceeded]
iamjarvo_ has joined #jruby
vtunka_ has joined #jruby
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
subbu has joined #jruby
mitchellhenke has joined #jruby
qmx has quit [Ping timeout: 264 seconds]
pjammer has joined #jruby
enebo has joined #jruby
erikhatcher has joined #jruby
bjfish2 has joined #jruby
vtunka_ has quit [Ping timeout: 250 seconds]
vtunka has quit [Ping timeout: 250 seconds]
dinfuehr has quit [Remote host closed the connection]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
ebbflowgo_ has joined #jruby
<ebbflowgo_> nirvdrum: it looks like that's what I'll have to do as well
<nirvdrum> I switched for other reasons with AR . . . plugins broke on every Rails release. Two unexpected benefits though: 1) Sequel optimizes extremely well on JRuby; 2) I don't have to worry about AR-JDBC lagging.
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kares has joined #jruby
qmx has joined #jruby
qmx has quit [Changing host]
qmx has joined #jruby
<ebbflowgo_> nirvdrum: fair, I didn't know about this alternative, I'll check it out
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pjammer has joined #jruby
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
mitchellhenke has joined #jruby
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
<lopex> sequel ftw
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
a5i has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
mrmargolis has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mrmargolis> Is there a trick to profiling multithreaded code? jruby's profiler is telling me that I spend most of my time on "ConditionVariable#wait" but I am not seeing how that time is being spent.
dvorak is now known as clayton
<chrisseaton> mrmargolis: what is your code doing? maybe it is spending more of that time waiting? can you see where wait is being called from?
<mrmargolis> chrisseaton: Using Celluloid to concurrently validate a handful of ActiveRecord instances and then render them to json. The wait appears to be from Celluloid.
<chrisseaton> That's not surprising - a concurrent application having to wait at some point - but without a graph profiler (does Java have one of those) it's hard to say more
pjammer has joined #jruby
<mrmargolis> I am using graph output for the jruby compiler, but either I'm reading it wrong or it's opaque on where the time is actually being spent. I am going to make it single threaded and profile again to see if anything jumps out at me. Thanks.
<mrmargolis> err jruby profiler, not compiler
JRubyGithub has joined #jruby
<JRubyGithub> jruby/truffle-pack d630ab8 Chris Seaton: [Truffle] Remove pack benchmark and add PE test instead.
<JRubyGithub> jruby/truffle-pack 9a0facf Chris Seaton: [Truffle] Add tagged PE test for failing pack constant fold.
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to truffle-pack: http://git.io/vexXR
JRubyGithub has left #jruby [#jruby]
dinfuehr has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
e_dub has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares closed issue #2286: Loading some constants twice with Rails 4.2.0.rc1 and postgres http://git.io/87Zj_Q
JRubyGithub has left #jruby [#jruby]
mje113__ has joined #jruby
dinfuehr_ has joined #jruby
anaeem___ has joined #jruby
stepheneb has joined #jruby
anaeem1 has quit [Read error: Connection reset by peer]
dinfuehr_ has quit [Ping timeout: 272 seconds]
bbrowning is now known as bbrowning_away
temporalfox has joined #jruby
dinfuehr has quit [Remote host closed the connection]
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #jruby
iamjarvo has joined #jruby
ahadding1 has quit [Ping timeout: 256 seconds]
pjammer has joined #jruby
ahadding1 has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ypasmk_ has joined #jruby
ypasmk has quit [Ping timeout: 240 seconds]
shellac has quit [Remote host closed the connection]
thsig has joined #jruby
baroquebobcat has joined #jruby
camlow325 has joined #jruby
thsig has quit [Client Quit]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stepheneb has quit [Quit: stepheneb]
iamjarvo has joined #jruby
havenwood has joined #jruby
ypasmk_ has quit [Ping timeout: 256 seconds]
mrmargolis has quit []
erikhatcher has quit [Ping timeout: 245 seconds]
pjammer has joined #jruby
erikhatcher has joined #jruby
ebbflowgo has quit [Ping timeout: 255 seconds]
cremes has quit [Remote host closed the connection]
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #jruby
cremes has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened issue #2818: [Truffle] File#basename needed for pathname http://git.io/vep81
JRubyGithub has left #jruby [#jruby]
e_dub has quit [Quit: ZZZzzz…]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
e_dub has joined #jruby
bbrowning_away is now known as bbrowning
baroquebobcat has quit [Remote host closed the connection]
kares has quit [Ping timeout: 264 seconds]
baroquebobcat has joined #jruby
Hobogrammer has joined #jruby
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened pull request #2819: [Truffle] Add jt mri test command. (master...truffle_jt_mri) http://git.io/vepQ7
JRubyGithub has left #jruby [#jruby]
skade has quit [Quit: Computer has gone to sleep.]
e_dub has quit [Quit: ZZZzzz…]
djbkd has joined #jruby
pitr-ch_ has joined #jruby
stepheneb has joined #jruby
pitr-ch has quit [Ping timeout: 256 seconds]
<tarcieri> _____ ____ ___ ____ _ __ ___ _ _
<tarcieri> | ___| _ \|_ _| _ \ / \\ \ / / | | |
<tarcieri> | |_ | |_) || || | | |/ _ \\ V /| | | |
<tarcieri> | _| | _ < | || |_| / ___ \| | |_|_|_|
<tarcieri> |_| |_| \_\___|____/_/ \_\_| (_|_|_)
<tarcieri>
x1337807x has joined #jruby
rsim has quit [Quit: Leaving.]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pjammer has joined #jruby
havenwood has quit [Remote host closed the connection]
dinfuehr has joined #jruby
erikhatcher has quit [Ping timeout: 252 seconds]
erikhatcher has joined #jruby
elia has joined #jruby
marr has quit [Ping timeout: 245 seconds]
eswiac has joined #jruby
subbu is now known as subbu|lunch
<eswiac> hello everyone. I am migrating a rails 4 app from mri to jruby. everything is fine but for one thing: activerecord-jdbcmysql does not emulate booleans (as it should be doing per default per the doc) and return 1 or 0. The fields in my DB are tinyint(1).
<eswiac> ActiveRecord::ConnectionAdapters::Mysql2Adapter.emulate_booleans is set to true already, so I don't know what else I can do
elia has quit [Quit: Computer has gone to sleep.]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #jruby
temporalfox has joined #jruby
x1337807_ has joined #jruby
x1337807x has quit [Read error: Connection reset by peer]
skade has joined #jruby
elia has joined #jruby
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has quit [Quit: Computer has gone to sleep.]
havenwood has joined #jruby
e_dub has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lopex> eswiac: does the version of mysql jdbc driver report that field as tiny int ?
lanceball is now known as lance|afk
<enebo> lopex: yes. I have had that one
<lopex> enebo: waiting for tomorrow
<enebo> lopex: anticpation
havenwood has quit [Remote host closed the connection]
<eswiac> lopex: in mysql the field is tinyint(1). how can I see if mysql-jdbc reports the field as tinyint?
havenwood has joined #jruby
<lopex> eswiac: via jdbc metadata, there should be a code for that in ar-jdbc
<enebo> lopex: Apparently I have had 4 brewfist beers but not that one
<eswiac> lopex: thanks, checking right now
<lopex> enebo: are these good ?
<enebo> oh haha…I had it in Berlin at the worlds longest beer festival (1km)
<lopex> yeah, some friends of mine also attend that
<lopex> enebo: they also end up in some other areas in germany after
<enebo> 3 I gave 3.5 and one a 3. 3.5 is my it’s fine rating
<lopex> multi rye one
<eswiac> lopex: schema.rb reports is as boolean: t.boolean "is_draft", limit: 1, default: false
<enebo> have had 3 different Kormoran’s but that was from visiting Poland last year
<enebo> Porter Warminski I gave a 4
<eswiac> lopex: sorry but I have no idea where to look for this metadata. is it generated by rails' introspection of the schema?
<enebo> I think that Baltic Porter has won some brewing competitions
<lopex> enebo: I guess kares does most of ar-jdbc work now ?
<enebo> lopex: yeah
iamjarvo has joined #jruby
<lopex> enebo: got up catching onigmo this week
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
<enebo> lopex: awesome
<lopex> but it will take a month maybe
<lopex> when 9k will be out ?
<enebo> hopefully less than a month :)
<enebo> pre2 slips to mid next week but hopefully rc quickly after
<lopex> enebo: I wonder if it's possible to get regexp to 0/0
<enebo> def m(a = nil, b: 1); [a, b]; end
<enebo> p m("a" => 1, :b => 2, "c" => 3)
<enebo> lopex: ^ run that
<enebo> on mri
<lopex> I have 2.2.1p85 locally
<lopex> it says [{"a"=>1, "c"=>3}, 2]
<enebo> I don’t any one would intentially right code like this but there it is
<enebo> write
<lopex> symbol does that ?
<enebo> yeah it creates a kwarg hash and a non-kwarg hash on setting up args processing and divvies up the symbol/non-symbol keys
<enebo> very intentional and probably too tricky to be reliably used idiomatically ever
<lopex> enebo: and the impl looks like a mess I gather ?
<enebo> lopex: well processing of args in general yes. The wrting to the two hashes is a bit weird codewise but not super hard to read
<enebo> lopex: class.c separate_symbol is called on each pair
<enebo> lopex: the pointer math to choose hash is pretty weird to me but I am no longer a C programmer so all pointer math looks weird to me now :)
<lopex> oh st_foreach just writes to that as key/value pair afaik
<enebo> lopex: yeah and they pass two element array which will be out params for two hashes potentially
rsim has joined #jruby
<lopex> but hey use st_foreach all around
<enebo> lopex: yeah nothing wrong with st_foreach
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
zorak8 has quit [Max SendQ exceeded]
zorak8 has joined #jruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
skade has joined #jruby
skade has quit [Client Quit]
subbu|lunch is now known as subbu
<lopex> looks like they reverted that 2.0 min dep for execjs gem
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marr has joined #jruby
<lopex> enebo: strings as hash keys are not frozen by default right ?
Aethenelle has joined #jruby
djbkd has quit [Remote host closed the connection]
phlebas has joined #jruby
lance|afk is now known as lanceball
skade has joined #jruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<phlebas> is there a way for me to hook into instance variable access without modifying the vm?
<phlebas> locals would also be nice, but not strictly necessary
dinfuehr has quit [Remote host closed the connection]
dinfuehr has joined #jruby
dinfuehr has quit [Remote host closed the connection]
<nirvdrum> phlebas: There's multiple ways to access ivars. What are you looking to do?
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<phlebas> i'd like to intercept any direct reads and writes to a variable an possibly redirect them
<phlebas> it seems the VariableAccessor classes might be right for the job
yfeldblum has joined #jruby
<phlebas> I guess I'm just wondering if there's a pure (j)ruby way to do so
<phlebas> e.g., can I just require 'java' and futz with these internals, or will i need to modify the VM
<phlebas> either way is fine with me, but the smaller the diff to the master, the better
<Antiarc> Hah, yikes. I'm super curious about your use case here.
<Antiarc> (My guess is that you're going to need to mess with the VM, but I may well be wrong)
<phlebas> Antiarc: seeing how hard it would be to implement Babelsberg/R on Jruby (https://github.com/babelsberg/babelsberg-r)
<Antiarc> Where is the ivar interception needed?
<Antiarc> Ooh, I see
<Antiarc> This is actually a topaz fork
<nirvdrum> I'm not sure, but you probably need to modify JRuby.
<phlebas> Antiarc: yes
subbu has quit [Ping timeout: 272 seconds]
<phlebas> i need it throughout the runtime of the program. VariableTableManager already distinguishes between unsafe and safe variable to decide which accessor to return, i basically need a third case to check if the variable has previously appeared in a constraint
<Antiarc> VariableAccessor looks like a likely culprit, then
<Antiarc> Fortunately it's very easy to compile jruby, and there's a nice robust test suite to guide you :)
mitchellhenke has joined #jruby
djbkd has joined #jruby
e_dub has quit [Quit: It's a hard knock life]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
e_dub has joined #jruby
iamjarvo has joined #jruby
djbkd has quit [Ping timeout: 252 seconds]
subbu has joined #jruby
dinfuehr has joined #jruby
erikhatcher_ has joined #jruby
erikhatcher has quit [Ping timeout: 272 seconds]
erikhatcher_ is now known as erikhatcher
djbkd has joined #jruby
x1337807x has joined #jruby
djbkd has quit [Ping timeout: 272 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
camlow32_ has joined #jruby
baroquebobcat has joined #jruby
camlow325 has quit [Ping timeout: 246 seconds]
phlebas has quit [Ping timeout: 265 seconds]
djbkd has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
a5i has quit [Quit: Connection closed for inactivity]
<chrisseaton> did phlebas go? this would be something that would be easy to do in Truffle
tcrawley is now known as tcrawley-away
camlow32_ has quit [Remote host closed the connection]
mitchellhenke has joined #jruby
camlow325 has joined #jruby
x1337807x has joined #jruby
pitr-ch_ has quit [Ping timeout: 265 seconds]
<lopex> chrisseaton: howdy there
<chrisseaton> hello
pietr0 has joined #jruby
<lopex> chrisseaton: is there a tool that might show ruby overhead with respect to runtime (core impls) overead ? like dispatch performance is one thing and an impl of a method is another
<chrisseaton> you could profile and just sum the time of core impl methods
<lopex> I know inlining will thwart things
<chrisseaton> profiling handles that doesn't it?
<lopex> I guess ?
<lopex> yeah, hmm
<lopex> a simple script might automate that
elia has joined #jruby
<lopex> chrisseaton: I guess I meant a tool that would show the boundaries, but that possible
lanceball is now known as lance|afk
<lopex> chrisseaton: what I'm trying to boil into is a reliable tool with fast feedback for measuring core method perf
<lopex> visualvm and the like is a no go here
<chrisseaton> Isn't there a profile which shows you time for a method and method it calls - and then you can just look at each core method, or one at a time, and see how long they take
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lopex> that's not a fast feedback
<chrisseaton> but in Ruby there is almost nothing but core library is there?
<chrisseaton> what is not core library? creating a closure? writing to a local variable? method prelude? there's not a lot
<lopex> depends on the benchmark
<chrisseaton> what benchmark is not almost entirely core library?
<chrisseaton> empty method calls?
<chrisseaton> moving a few objects around between parameters and locals?
<lopex> benchmark with loops ?
<lopex> whatever
<chrisseaton> you'd need some logic to break out of the loop - so a comparison or something - which is core library
<lopex> sure
<lopex> in those terms yes
<lopex> ok, then I guess I want to eliminate dispatch etc
<chrisseaton> maybe you could make something synthetic that calls core library implementations statically, without actually a running ruby program?
<chrisseaton> a Java program that calls core library methods
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<chrisseaton> my_array.op_plus(my_other_array) to test Array#+
bbrowning is now known as bbrowning_away
<lopex> yeah, but in that case, I'd have to basically reimplement every benchmark
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<chrisseaton> maybe you could do some kind of very basic translation from Ruby to Java if you knew what most benchmarks looked like
<lopex> yeah I know
<lopex> just wanted to avoid that
<lopex> to be more specific, let's assume I want to benchamrk String#scan and for that I need a code like x.times.do {str.scan(regexp)}
<chrisseaton> Well that would be easy to write in Java
<lopex> and rehaersal code
<lopex> sure
<lopex> but there's lots of combinations of those
<lopex> maybe I'm asking for too much for free
<chrisseaton> Do you have specific optimisations in end? If you're just planning to have a go at generally optimising all core library methods you may find you want to focus more anyway
<lopex> optimisations throughout a given set of core impls
<lopex> er, was that sentence correct ?
ypasmk has joined #jruby
<chrisseaton> yeah i get it
marr has quit []
ypasmk has quit [Ping timeout: 252 seconds]
anaeem___ has quit [Remote host closed the connection]
phlebas has joined #jruby
Antiarc has quit [Ping timeout: 252 seconds]
phlebas has quit [Ping timeout: 251 seconds]
elia has quit [Read error: Connection reset by peer]
elia has joined #jruby
djbkd has quit [Remote host closed the connection]
Antiarc has joined #jruby
erikhatcher has quit [Quit: erikhatcher]
<Antiarc> What's the current state of the art for rubyland debugging these days?
<Antiarc> (I have a coworker asking)
mitchellhenke has joined #jruby
dinfuehr has quit [Remote host closed the connection]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
e_dub has quit [Quit: ZZZzzz…]
subbu has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
mje113__ has quit [Quit: Connection closed for inactivity]
temporalfox has joined #jruby
djbkd has joined #jruby
<chrisseaton> Antiarc: I think I've successfully used that debugger within the last year
baroquebobcat has quit [Quit: baroquebobcat]
mitchellhenke has joined #jruby
enebo has quit [Quit: enebo]
elia has quit [Quit: Computer has gone to sleep.]
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #jruby
rsim has quit [Quit: Leaving.]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 245 seconds]
djbkd has quit [Remote host closed the connection]
x1337807x has quit [Ping timeout: 240 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 8 new commits to truffle-pack: http://git.io/vveDP
<JRubyGithub> jruby/truffle-pack a935919 Chris Seaton: [Truffle] Remove Base64 import that's not used.
<JRubyGithub> jruby/truffle-pack 04d88a6 Chris Seaton: [Truffle] Document and tidy up pack.
<JRubyGithub> jruby/truffle-pack 83311cc Chris Seaton: [Truffle] Some string types in pack use to_s instead of to_str.
JRubyGithub has left #jruby [#jruby]
pietr0 has quit [Quit: pietr0]
mitchellhenke has quit [Quit: Computer has gone to sleep.]