_elia has quit [Ping timeout: 245 seconds]
jnh has quit [Remote host closed the connection]
jnh has joined #rubinius
<dmilith> where can I find changelog
<dmilith> of 2.5.0?
<dmilith> um.. it's unofficial yet?
<dmilith> <3
<dmilith> http://rubini.us/2014/12/31/matz-s-ruby-developers-don-t-use-rubyspec/ - i think.. that dropping rubyspec.. will kill that language ;]
<dmilith> Matz with his team is too fucking stupid to lead such project. IMHO
<dmilith> no political correctness in my opinion, but for those who use ruby since 1.8.4.. it's just plain truth
<dmilith> Rubinius 2.5.0 - build in progress
<dmilith> if I build Rubinius with LLVM, the JIT is enabled by default?
<|jemc|> dmilith: yes
<|jemc|> dmilith: see `rbx -Xhelp` for the available runtime options, including disabling the JIT or enabling debug messages to watch the work of the JIT
<dmilith> cool
Bwild has quit [Ping timeout: 265 seconds]
Bwild has joined #rubinius
<dmilith> works fine on osx
<dmilith> meanwhile it's 2:33 am here, laterz.
<brixen> dmilith: could you open an issue with the rb-readline project?
<brixen> dmilith: you may be able to gem install rubysl-readline to use the old C-ext readline
amclain has quit [Ping timeout: 245 seconds]
amclain has joined #rubinius
havenwood has quit [Remote host closed the connection]
diegoviola has joined #rubinius
havenwood has joined #rubinius
Prathame_ has joined #rubinius
GitHub105 has joined #rubinius
<GitHub105> [rubinius] johnmuhl opened pull request #3287: Fix typos in -Xhelp output (master...fix-xhelp-typos) http://git.io/Kjjqxw
GitHub105 has left #rubinius [#rubinius]
meh` has quit [Ping timeout: 272 seconds]
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GitHub108 has joined #rubinius
<GitHub108> [rubinius] jemc closed pull request #3287: Fix typos in -Xhelp output (master...fix-xhelp-typos) http://git.io/Kjjqxw
GitHub108 has left #rubinius [#rubinius]
GitHub139 has joined #rubinius
<GitHub139> [rubinius] jemc pushed 2 new commits to master: http://git.io/IBt0SQ
<GitHub139> rubinius/master fef87a7 John Muhl: Fix typos in -Xhelp output...
<GitHub139> rubinius/master f3961c4 Joe Eli McIlvain: Merge pull request #3287 from johnmuhl/fix-xhelp-typos...
GitHub139 has left #rubinius [#rubinius]
travis-ci has joined #rubinius
<travis-ci> rubinius/rubinius/master (f3961c4 - Joe Eli McIlvain): http://travis-ci.org/rubinius/rubinius/builds/47481323: The build passed.
travis-ci has left #rubinius [#rubinius]
diegoviola has quit [Quit: WeeChat 1.1]
havenwood has quit [Remote host closed the connection]
Prathame_ has joined #rubinius
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Prathame_ has joined #rubinius
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Prathame_ has joined #rubinius
jnh_ has joined #rubinius
jnh has quit [Ping timeout: 255 seconds]
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Prathame_ has joined #rubinius
noop has joined #rubinius
Bwild has quit [Ping timeout: 245 seconds]
Bwild has joined #rubinius
amclain has quit [Quit: Leaving]
josh-k has joined #rubinius
josh-k_ has joined #rubinius
jnh_ has quit [Remote host closed the connection]
josh-k has quit [Ping timeout: 264 seconds]
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
|jemc| has quit [Ping timeout: 240 seconds]
Prathame_ has joined #rubinius
JohnBat26 has joined #rubinius
flavio has joined #rubinius
<dmilith> brixen: after installing that gem, nothing's changed
<dmilith> i can do a little ktrace later to get some more info what's happening here
<dmilith> this is also a bit strange, Is it normal that rbx -v takes 10 seconds to be done?
<dmilith> ng0b / # date +%F-%S && rbx -v && date +%F-%S
<dmilith> 2015-01-19-47
<dmilith> rubinius 2.5.0 (2.1.0 50777f41 2015-01-17 3.5.0 JI) [x86_64-freebsd10.1]
<dmilith> 2015-01-19-57
<dmilith> not a bug ofc, but it might be worth mentioning :}
elia has joined #rubinius
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Prathame_ has joined #rubinius
goyox86 has joined #rubinius
josh-k_ has quit [Remote host closed the connection]
<yorickpeterse> morning
<dmilith> morning
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Prathame_ has joined #rubinius
josh-k has joined #rubinius
<goyox86> morning
benlovell has joined #rubinius
<yorickpeterse> oh hey, a difference in MRI and JRuby nokogiri
<yorickpeterse> where the JRuby version works and the MRI version segfaults
<yorickpeterse> \-/
<yorickpeterse> errr
<yorickpeterse> \0/
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
goyox86 has joined #rubinius
goyox86 has quit [Client Quit]
goyox86 has joined #rubinius
goyox86 has quit [Client Quit]
goyox86 has joined #rubinius
<yorickpeterse> well on the bright side I get to replace Nokogiri with Oga here
<dmilith> MRI is designed to segfault
<dmilith> is it something new? ;]
<yorickpeterse> segfault as a service
<dmilith> :D
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
goyox86 has joined #rubinius
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
goyox86 has joined #rubinius
<dmilith> brixen: if you want, I can give you access to one of my vms with freebsd 10.1 if you want to play with that
<dmilith> if not, I'll try to hunt that issue with 2.5.0 later
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djellemah has joined #rubinius
<dmilith> huh, rubinius 2.5 is crashing badly with puma on my osx
<dmilith> it's probably on some polling stuff inside puma: http://s.verknowsys.com/9fc83d9d424dfa562033f54bfe5479f289cd6bd8.png
<dmilith> trying the same with 2.4.1
<dmilith> 2.4.1 works correctly with Rails 4.1.x
<dmilith> interesting ;]
<dmilith> both version built the same way
Prathame_ has joined #rubinius
Bwild has quit [Remote host closed the connection]
lbianc has joined #rubinius
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
goyox86 has joined #rubinius
goyox86 has quit [Client Quit]
<yorickpeterse> yay replaced stuff with Oga
<yorickpeterse> and it doesn't crash, shocking
<flavorjones> yorickpeterse: Can you please file a bug report on Nokogiri?
<yorickpeterse> I am
<yorickpeterse> Writing one as we speak actually
<yorickpeterse> fek
<yorickpeterse> hit enter too fast
<yorickpeterse> there we go
elia has quit [Remote host closed the connection]
goyox86 has joined #rubinius
elia has joined #rubinius
[spoiler] has joined #rubinius
goyox86 has quit [Client Quit]
goyox86 has joined #rubinius
goyox86 has quit [Client Quit]
goyox86 has joined #rubinius
<flavorjones> yorickpeterse: Thanks much.
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
goyox86 has joined #rubinius
goyox86 has quit [Client Quit]
elia has quit [Ping timeout: 264 seconds]
elia has joined #rubinius
<cremes> IO’s FFI conversion continues...
frzng has joined #rubinius
Prathame_ has joined #rubinius
josh-k has quit [Remote host closed the connection]
goyox86 has joined #rubinius
goyox86 has quit [Client Quit]
goyox86 has joined #rubinius
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
goyox86 has joined #rubinius
goyox86 has quit [Client Quit]
lbianc has quit [Quit: ChatZilla 0.9.91.1 [Firefox 24.8.1/20140923194127]]
yxhuvud has joined #rubinius
lbianc has joined #rubinius
goyox86 has joined #rubinius
<goyox86> @brixen started playing with this for some terminal dashboards for rbx metrics -> https://github.com/yaronn/blessed-contrib/
<goyox86> BTW Node.js fucking callbacks are melting my brain
noop has quit [Quit: Leaving]
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
josh-k has joined #rubinius
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
goyox86 has joined #rubinius
tenderlove has joined #rubinius
Prathame_ has joined #rubinius
havenwood has joined #rubinius
<cremes> brixen: i see a line like this in io.cpp: state->vm()->metrics()->system_metrics.io_read_bytes += bytes_read;
<cremes> i assume that is for the new metrics you are tracking. is that object available from Ruby-land so I can update it there?
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
|jemc| has joined #rubinius
<|jemc|> cremes: I see you can do Rubinius::Metrics::Map["io.read.bytes"] += bytes_read
<cremes> |jemc|: thanks!
<|jemc|> but I'm not sure if that is sufficient to cause them to be emitted to statsd
<|jemc|> if there isn't a way to do this right yet, there probably *should* be and that line might serve an okay placeholder in your code for now
<|jemc|> I'm also not sure how that += would be made properly atomic / threadsafe
<|jemc|> probably with some kind of synchronized "increment+ method instead of using +=
<|jemc|> "increment"
josh-k has quit [Remote host closed the connection]
<brixen> dmilith: could you set up a repo that reproduces the Puma issue?
<brixen> dmilith: are you using worker model? I'm wondering if an fd is getting closed when it shouldn't
<brixen> dmilith: also, on freebsd 10.1, there's an issue with shutdown not canceling the timer on the metrics thread
<dmilith> in puma.rb I have worker 1
<brixen> dmilith: there should be an issue open
<dmilith> thread 1,8
<dmilith> I can give you Gemfile
<dmilith> atm
<brixen> ok, if you can get me a repro, I'll take a look
<dmilith> it's closed code project, I can't
<dmilith> I'll check with rails 4.1 myself on clean project and will try it again
<brixen> can you extract it
<brixen> ok, that would be helpful
<dmilith> the worse case is on fbsd
<dmilith> pure interpreter is crashing, I'll need a while for this one.
<dmilith> hah
<dmilith> it just crashes without any arguments
<dmilith> ng0b / # ruby -e "puts 'abc'"
<dmilith> abc
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Prathame_ has joined #rubinius
goyox86 has joined #rubinius
<brixen> dmilith: "crash" is a uselessly vague term
<dmilith> yea
<brixen> did it raise an exception, cause a segv, etc
<|jemc|> dmilith: did you check if it is the same version or rb-readline that worked okay for you with rbx-2.4.1?
<dmilith> not yet
<|jemc|> if you run rubinius without any arguments, it runs irb, which uses rb-readline
goyox86 has quit [Client Quit]
<|jemc|> if you run it with -e, it just runs the code you give, so it doesn't use rb-readline (unless you load it or something that uses it yourself)
diegoviola has joined #rubinius
noop has joined #rubinius
<|jemc|> the behavior when invoking rubinius' ruby binary with no arguments is different from MRI - which just uselessly loads and empty interpreter and hangs forever
<|jemc|> *AN EMPTY
<|jemc|> err... minus the caps
meh` has joined #rubinius
frzng has quit [Quit: frzng]
GitHub171 has joined #rubinius
<GitHub171> [rubinius] brixen pushed 1 new commit to master: http://git.io/uBgS3g
<GitHub171> rubinius/master 95d2534 Brian Shirai: Added Gitter notifications.
GitHub171 has left #rubinius [#rubinius]
diegoviola has quit [Ping timeout: 252 seconds]
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
josh-k has joined #rubinius
<brixen> gitter is open for business folks: https://gitter.im/rubinius/rubinius
Prathame_ has joined #rubinius
<brixen> if you are a member of the Rubinius org, there's a single private room for the org as well
<brixen> yorickpeterse: sweet
<yorickpeterse> bbl
<brixen> yorickpeterse: when you're back, I'm migrating our S3 stuff out of the old account
<brixen> yorickpeterse: so I can give you a token for the new account and you'll be able to upload directly
<brixen> yorickpeterse: but we should figure out how to tie this all together with the new release stuff
lbianc has quit [Quit: ChatZilla 0.9.91.1 [Firefox 24.8.1/20140923194127]]
lbianc has joined #rubinius
goyox86 has joined #rubinius
elia has quit [Ping timeout: 252 seconds]
|jemc| has quit [Quit: WeeChat 1.0.1]
|jemc| has joined #rubinius
travis-ci has joined #rubinius
<travis-ci> rubinius/rubinius/master (95d2534 - Brian Shirai): http://travis-ci.org/rubinius/rubinius/builds/47544817: The build was broken.
travis-ci has left #rubinius [#rubinius]
<goyox86> cremes: I think you cannot update metrcis from Rubyland
<goyox86> You can read them in Rubinius::Metrics.data
<brixen> looks like there's still a race in rubygems/bundler :(
<brixen> goyox86: updating them from Ruby doesn't make sense
<brixen> the metrics counters are in the VM
* |jemc| has to figure out how the gitter-to-irc bridge works so he doesn't have to look at the overblown web app UI
<goyox86> @brixen Agree was just answering @cremes
<|jemc|> brixen: unless your io bytes read are read from FFI :)
<brixen> ah yes, that part is not yet available
<brixen> arbitrary statsd counters/gauges
<brixen> but that's not updating the metrics, those would be separate metrics
benlovell has quit [Ping timeout: 240 seconds]
diegoviola has joined #rubinius
|jemc| has quit [Quit: WeeChat 1.0.1]
amsi has joined #rubinius
|jemc| has joined #rubinius
<|jemc|> if anyone needs tips for configuring weechat to connect to gitter, I found this: https://gist.github.com/allcentury/e1ed5800d0a98a8828a9
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
travis-ci has joined #rubinius
<travis-ci> rubinius/rubinius/master (95d2534 - Brian Shirai): http://travis-ci.org/rubinius/rubinius/builds/47544817: The build passed.
travis-ci has left #rubinius [#rubinius]
noop has quit [Ping timeout: 245 seconds]
havenwood has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 1.1]
goyox86 has joined #rubinius
tenderlove has quit [Quit: Leaving...]
<dmilith> brixen: I have one more question about configure/build process - here I have Rubinius prefix - http://s.verknowsys.com/bc780820a70233e7a43d2f55589ec63f9753ba28.png
<dmilith> is there a way to put that "gems" into that prefix dir?
tenderlove has joined #rubinius
<brixen> how do you mean?
<dmilith> I'd like to merge these dirs with prefix http://s.verknowsys.com/8434f925f62e752dbb6056c767ce768b34e9b5c8.png
<brixen> what is "prefix"?
<dmilith> /Software/Rubinius
<dmilith> you specify --prefix with configure
<dmilith> if you want to pick something other than default /usr/local
<brixen> I still don't understand
<brixen> you want the 'gem' dir to be the same as whatever 'prefix' is?
<dmilith> i'd like to have contents of /Software/Rubinius/gems into /Software/Rubinius
<dmilith> to have one common bin/
<brixen> I wouldn't suggest doing that
<dmilith> f rbx binary is in prefix/bin
<yorickpeterse> brixen: re S3, that would be nice although I currently don't have a way to automatically trigger builds in our Jenkins
<dmilith> brixen: why?
<yorickpeterse> granted the process now is just 1) fill in version number 2) hit "release"
<brixen> yorickpeterse: ok, at least you could upload them automated
<brixen> dmilith: because a gem binary wrapper could overwrite an rbx binary
havenwood has joined #rubinius
<brixen> dmilith: what is the problem caused by them being separate?
<dmilith> h
<dmilith> cause I have to hack PATH with prefix/gems/bin
<yorickpeterse> brixen: I can append to the index as well if needed, but then we have to put a lock around it in case of concurrent builds :P
<brixen> dmilith: a very long time ago, we separated gem bins from system bin because we don't think gem bins should be able to overwrite system bins
<brixen> dmilith: setting PATH is *the* way to configure a system to find executables
<brixen> yorickpeterse: that index is freakin terrible
flavio has quit [Quit: WeeChat 1.0]
<brixen> I hate it
<dmilith> yea, but prefix/{bin,sbin,libexec} *is* the standard too ;]
<yorickpeterse> brixen: hihi
<brixen> it's only there because RVM is broken
<dmilith> it's not prefix/gems/bin
<yorickpeterse> allright, lets see this Gitter thing
pietr0 has joined #rubinius
<yorickpeterse> oh hey, github auth
<dmilith> bundle exec binary is also the solution for it ;]
<brixen> yorickpeterse: |jemc| is way ahead of you on IRC client integration :p
<dmilith> ruby is a strange world ;]
<brixen> dmilith: it is
<brixen> dmilith: you can try to patch configure etc to support a single bin/ dir
<brixen> you need to figure out how gem gets the binary path, too
<dmilith> i'm tryong to figure out what's that --sitedir and --vendordir for
<cremes> if we didn’t have IO#ungetbyte and IO#ungetc, we wouldn’t have to ever *explicitly* worry about buffered IO. <sigh>
<dmilith> yea. I don't want to change the default
<brixen> cremes: yeah, that's some fucked up API there
<yorickpeterse> |jemc|: hmm
<cremes> yep. i’m just working on getting normal read/write to work properly. it’s too bad common/io.rb has so much knowledge about the internal buffering sprinkled throughout. it’s tedious to unwind all of that code.
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<brixen> cremes: yeah, that sucks :(
<brixen> cremes: btw, mmap should allow that ungetc nonsense quite easily
<brixen> you can open in an overlay mode where your changes are not visible
<brixen> if it's read mode
<cremes> yep, true.
<dmilith> brixen: after building rubinius, the ruby lib/ folder is unused right?
<dmilith> i mean lib/ruby/
<cremes> i think i have another approach that will work for both mmapped descriptors and regular descriptors though.
<brixen> dmilith: shouldn't exist
<dmilith> ok I have the way to do it properly :} (I think)
<dmilith> brixen: here, the "base" MRI ruby is installed in same prefix
<brixen> dmilith: if you can figure out all the binary executable stuff in rubygems, we can probably make a separate config item for it
<dmilith> not needed. I can safely move gems/bin to ../bin and just do a symlink
<dmilith> it will do the job
<dmilith> i'm playing with it right now
diegoviola has joined #rubinius
diegoviola has quit [Client Quit]
<dmilith> brixen: 1th thought: can't reproduce rails issue under freebsd 10.1 with latest rails (that file descriptor one)
<dmilith> so that's like good news
<brixen> dmilith: hm, weird
<brixen> dmilith: did you open an issue with rb-readline?
<dmilith> yea
<brixen> dmilith: ok, I'll check in on that
<brixen> I need to boot my 10.1 vbox machine to look at the metrics thread timer cancel issue
<brixen> gotta run for a bit though
<cremes> mmm, disappointing that I can’t use class vars, e.g. @@cvar, in any bootstrap classes. bummer!
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
josh-k has quit [Remote host closed the connection]
elia has joined #rubinius
<cremes> learning lots of about Ruby… just learned when & why to use a custom allocator (necessary for IO.pipe)
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #rubinius
JohnBat26 has joined #rubinius
<flavorjones> yorickpeterse: just committed a fix for the Nokogiri bug you filed. Thanks again. Will be in 1.6.6.
elia has quit [Quit: Computer has gone to sleep.]
JohnBat26 has quit [Client Quit]
JohnBat26 has joined #rubinius
elia has joined #rubinius
<yorickpeterse> flavorjones: thanks
goyox86_ has joined #rubinius
pietr0 has quit [Quit: pietr0]
[spoiler] has quit [Quit: Leaving]
pietr0 has joined #rubinius
goyox86_ has quit [Quit: Textual IRC Client: www.textualapp.com]
goyox86_ has joined #rubinius
josh-k has joined #rubinius
josh-k_ has joined #rubinius
josh-k has quit [Ping timeout: 255 seconds]
slaught has joined #rubinius
goyox86_ has quit [Read error: Connection reset by peer]
slaught has quit [Quit: slaught]
goyox86_ has joined #rubinius
GitHub92 has joined #rubinius
<GitHub92> [rubinius] chuckremes created ffi-io (+8 new commits): http://git.io/Fj9dfQ
<GitHub92> rubinius/ffi-io cf961ab Chuck Remes: add basic support for additional IO functions
<GitHub92> rubinius/ffi-io cd2fadb Chuck Remes: add back dup2 function definition
<GitHub92> rubinius/ffi-io bbd1acf Chuck Remes: add convenience methods for errno handling
GitHub92 has left #rubinius [#rubinius]
<cremes> if anyone is interested in checking out the ffi-io branch and playing along i would be grateful. just pushed first set of changes. lot’s of broken stuff
<cremes> but quite a bit works too.
<cremes> for anyone looking to mess around, i recommend running this command after building the branch:
<cremes> % bin/mspec spec/ruby/core/io/read_spec.rb
<cremes> and see if you can figure out how to fix those 5 failures!
* cremes goes to donate blood (for real, not an irc joke) :)
goyox86_ has quit [Read error: Connection reset by peer]
<yorickpeterse> for a moment I thought you were working on the CAPI
goyox86_ has joined #rubinius
goyox86_ has quit [Client Quit]
havenn has joined #rubinius
havenwood has quit [Ping timeout: 250 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
frzng has joined #rubinius
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
goyox86 has joined #rubinius
goyox86 has quit [Client Quit]
Bwild has joined #rubinius
<cremes> yorickpeterse: i’m not that crazy
<yorickpeterse> uhu
GitHub148 has joined #rubinius
<GitHub148> [rubinius] jasonrclark opened pull request #3289: Adding RBXOPT information to help on -X options (master...rbxopt-help) http://git.io/Pyb5Og
GitHub148 has left #rubinius [#rubinius]
GitHub53 has joined #rubinius
<GitHub53> [rubinius] jc00ke closed pull request #3289: Adding RBXOPT information to help on -X options (master...rbxopt-help) http://git.io/Pyb5Og
GitHub53 has left #rubinius [#rubinius]
GitHub169 has joined #rubinius
<GitHub169> rubinius/master bf7db36 Jesse Cooke: Merge pull request #3289 from jasonrclark/rbxopt-help...
<GitHub169> [rubinius] jc00ke pushed 2 new commits to master: http://git.io/JIc8VA
<GitHub169> rubinius/master 98a88a7 Jason R. Clark: Adding RBXOPT information to help on -X options
GitHub169 has left #rubinius [#rubinius]
josh-k_ has quit [Remote host closed the connection]