hsbt_away changed the topic of #ruby-core to: check the latest release candidate for 1.9.1 release ftp.ruby-lang.org:/home/yugui/ruby-1.9.1-r26021+1.tar.bz2
nagachika has joined #ruby-core
nari has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby-core
tylersmith has quit [Ping timeout: 264 seconds]
tylersmith has joined #ruby-core
marcandre has joined #ruby-core
marcandre has quit [Remote host closed the connection]
nari has joined #ruby-core
kosaki8_ has joined #ruby-core
kosaki8 has quit [Read error: Connection reset by peer]
soba has joined #ruby-core
Domon has joined #ruby-core
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-core
Domon has quit [Remote host closed the connection]
DanKnox is now known as DanKnox_away
Domon has joined #ruby-core
<znz_jp> biff: [ruby-changes:30634] nobu:r42713 (trunk): configure.in: check for sys/pstat.h - http://mla.n-z.jp/?ruby-changes=30634
shinnya has quit [Ping timeout: 240 seconds]
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-core
tylersmith has quit [Ping timeout: 246 seconds]
anveo has quit [Quit: Computer has gone to sleep.]
tylersmith has joined #ruby-core
tylersmith has quit [Ping timeout: 264 seconds]
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-core
Domon has quit [Ping timeout: 245 seconds]
Domon has joined #ruby-core
heroux has quit [Ping timeout: 264 seconds]
<_ko1> ping
heroux has joined #ruby-core
<drbrain> _ko1: pong?
<_ko1> no charliesome?
<drbrain> ah
<_ko1> no problem
<_ko1> drbrain: do you have any issue/features you want to introduce to 2.1?
<drbrain> _ko1: outside RDoc and RubyGems work (bundler integration, specifically) I don't know if I will have time.
<_ko1> this weekend, we make a face to face meeting
<drbrain> I would like to do more net/http work, but it may have to wait
<drbrain> nice!
<_ko1> are you busy recently?
<drbrain> when is feature freeze?
<_ko1> maybe the end of Sep
<drbrain> ok
<drbrain> I guess RubyGems will have minimal bundler integration then
<_ko1> i see
<drbrain> I've been busy on RubyGems and RDoc for the past month
<_ko1> cool
<drbrain> today I committed RubyGems 2.1 RC 2 to ruby
<drbrain> other than HTML changes, I think RDoc 4.1 will be ready for end of Sep
<drbrain> but I will also be traveling to Moscow to speak at the end of September, and I need to prepare my talk
<_ko1> Moscow!
<_ko1> I never been Russia
charliesome has joined #ruby-core
<drbrain> and it's so close to you!
<_ko1> yea
<_ko1> we need visa
<drbrain> there was a politician in America who said "I can see Russia from my house" because she lived in Alaska
<drbrain> me too
<drbrain> tomorrow I'm going to get it
<drbrain> everybody thought her statement was a joke (because you can't see Russia from much of Alaska)
<drbrain> and nobody wants to live where you can because it's too remote
<_ko1> and too cold
<drbrain> yes
<_ko1> Here is too hot Japanese summer, so I want to go there :(
<charliesome> _ko1: pong
samsaffron has joined #ruby-core
<znz_jp> biff: [ruby-changes:30635] nobu:r42714 (trunk): thread_pthread.c: simplify - http://mla.n-z.jp/?ruby-changes=30635
<_ko1> samsaffron: hi
<samsaffron> hi ko1 !
<_ko1> n0kada-freenode: hi
<_ko1> he is specialist.
<samsaffron> been trying to figure out what class is being released here: https://github.com/ruby/ruby/blob/trunk/gc.c#L1229 to see what is triggering our message cache invalidation
<samsaffron> hi n0kada!
n0kada-freenode is now known as n0kada
<samsaffron> charlisome suggested figuring out if its a singleton using: fprintf(stderr, "singleton class? %s\n", FL_TEST(obj, FL_SINGLETON) ? "yes" : "no"); and then turning gc debugging on
<samsaffron> sorry I mean method cache :)
<n0kada> your class is discarded?
<n0kada> then why you can call its method later
<samsaffron> yes, seeing 10 or so being discarded after running N requests against our Rails app in the GC
<samsaffron> mainly trying to figure out what the class is to avoid that bit of meta programming that must be hiding in one of 100 or so gems
<samsaffron> is there a DUMP_DIAGS((VALUE)obj) somewhere hiding in MRI ?
<n0kada> no
<n0kada> but if you use gdb, rp helps you
<samsaffron> rp was segfaulting there when I tried
<n0kada> debuggee ruby process?
<samsaffron> yes
<samsaffron> going to try a standalone sample
<n0kada> rp is a pure gdb macro command
<n0kada> method cache is cleared for many various reasons, define/remove method/constant, for example
<n0kada> or simply table overflowed
<samsaffron> yeah ... those were very easy to trace, its just when it happens in the GC that it is hard figure out why
<samsaffron> its odd https://gist.github.com/SamSaffron/6362758 causes that only 1 out of the 3 modules to invoke a printf there
heroux has quit [Ping timeout: 264 seconds]
heroux has joined #ruby-core
<n0kada> not every object gets freed at exit
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-core
Domon has quit [Read error: Connection reset by peer]
Domon has joined #ruby-core
samsaffron has quit []
eLobato has joined #ruby-core
<znz_jp> biff: [ruby-changes:30636] nobu:r42715 (trunk): thread_pthread.c: dup code - http://mla.n-z.jp/?ruby-changes=30636
<znz_jp> biff: [ruby-changes:30637] nobu:r42716 (trunk): thread_pthread.c: get_stack on HP-UX - http://mla.n-z.jp/?ruby-changes=30637
judofyr has joined #ruby-core
nari has quit [Ping timeout: 245 seconds]
m4dm4n has joined #ruby-core
<m4dm4n> hello All
<m4dm4n> Excuse me, Can I find a Ruby developer here?
<judofyr> m4dm4n: hi. you mean someone working on Ruby itself?
<m4dm4n> yes
<m4dm4n> judofyr: :)
<judofyr> m4dm4n: how so? this channel is pretty quiet
<m4dm4n> Are you a developer?
<judofyr> m4dm4n: I'm not a ruby-core developer, but I do follow the mailing list
<judofyr> you can report bugs here: http://bugs.ruby-lang.org/
<m4dm4n> Are you an expert in ruby?
m4dm4n has quit [Quit: Leaving]
<_ko1> i'm ruby developer!
<judofyr> _ko1: you are *the* ruby developer ;)
<_ko1> the developer is Matz!!
<judofyr> isn't he just the boss?
<_ko1> yes
<_ko1> he is my boss
<_ko1> and competitor (mruby)
<judofyr> _ko1: how's mruby coming along? are you following the development?
<_ko1> i don't know about mruby.
<_ko1> that seems good
<judofyr> _ko1: what are you doing in Ruby now? is RGenGC merged in?
<_ko1> just now, considering about signal threads
<_ko1> but it will be rejected
<_ko1> we will close new spec for 2.1 soon
<_ko1> so i'm seeking about new features
<judofyr> yeah, I saw the email thread on signal threads
<judofyr> _ko1: concurrent GC ;)
<_ko1> concurrent GC!!
<_ko1> will be 2.2
<judofyr> concurrent marking?
nari has joined #ruby-core
<_ko1> we need typical feature to release!
<judofyr> hm
<_ko1> so I need to keep concurrent GC for 2.2!
<judofyr> good point
<_ko1> (just joking)
<judofyr> :D
<_ko1> i hope some student try such implementation
<_ko1> it will be good practice
<judofyr> also: did someone implement substring sharing?
<judofyr> I thought I saw something about that
<_ko1> for graduation thesis
<_ko1> ah
<_ko1> substring sharing.
<_ko1> not now?
<judofyr> I just thought I saw someone mention it on the mailing list, but I might be wrong
<judofyr> I'm probably just making things up :)
<_ko1> i want to introduce more agrgessive string (not substring) sharing mechanism
<judofyr> what types of sharing?
<judofyr> concat?
<judofyr> (aka. ropes)
<_ko1> enhance symbol storage
<judofyr> for performance or to reduce memory?
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-core
<judofyr> charliesome: nice!
<judofyr> charliesome: y r åwsåm
<charliesome> judofyr: _ko1 and I are going to try a pull request for code review here :)
Domon has quit [Ping timeout: 245 seconds]
<judofyr> charliesome: what's sp_ar.c?
<judofyr> or: how is it different from a hash table?
<charliesome> judofyr: funny falcon's sparse array library
<charliesome> it's a hash table designed for the case where keys are 32 bit integers
<charliesome> so basically a hash table minus the 'hash' part
<judofyr> isn't calc_pos a hash function?
<charliesome> dunno, you could probably ask funny falcon for more details
<charliesome> at least that's how i understand it
<charliesome> it's quite a bit faster than st.c when dealing with integer keys
<charliesome> eg. method tables
<judofyr> we should experiment with the algorithms in https://code.google.com/p/sparsehash/
Domon has joined #ruby-core
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-core
Domon has quit [Ping timeout: 245 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-core
judofyr has quit [Remote host closed the connection]
soba has quit [Ping timeout: 264 seconds]
judofyr has joined #ruby-core
nagachika has quit [Remote host closed the connection]
ZachBeta has joined #ruby-core
ZachBeta has quit [Client Quit]
nagachika has joined #ruby-core
ZachBeta has joined #ruby-core
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-core
eLobato has quit [Ping timeout: 256 seconds]
ZachBeta has quit [Quit: Computer has gone to sleep.]
eLobato has joined #ruby-core
anveo has joined #ruby-core
ZachBeta has joined #ruby-core
anveo has joined #ruby-core
heroux has quit [Ping timeout: 245 seconds]
nari has quit [Ping timeout: 260 seconds]
heroux has joined #ruby-core
heroux has quit [Ping timeout: 246 seconds]
kosaki8_ has quit [Ping timeout: 256 seconds]
shinnya has joined #ruby-core
tylersmith has joined #ruby-core
judofyr has quit [Remote host closed the connection]
bf4_ has joined #ruby-core
bf4_ is now known as bf4
kosaki2 has joined #ruby-core
shinnya has quit [Quit: ZNC - http://znc.in]
eLobato has quit [Quit: WeeChat 0.4.0]
kosaki2 has quit [Remote host closed the connection]
kosaki2 has joined #ruby-core
heroux has joined #ruby-core
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
heroux has quit [Ping timeout: 276 seconds]
marcandre has joined #ruby-core
heroux has joined #ruby-core
DanKnox_away is now known as DanKnox
heroux has quit [Ping timeout: 256 seconds]
tylersmi_ has joined #ruby-core
tylersmith has quit [Ping timeout: 264 seconds]
kosaki2 has quit [Remote host closed the connection]
nagachika has quit [Remote host closed the connection]
DanKnox is now known as DanKnox_away
marcandre has quit [Remote host closed the connection]
DanKnox_away is now known as DanKnox
heroux has joined #ruby-core
<znz_jp> biff: [ruby-changes:30638] tenderlove:r42717 (trunk): * ext/psych/lib/psych/scalar_scanner.rb: invalid floats should be - http://mla.n-z.jp/?ruby-changes=30638
<znz_jp> biff: [ruby-changes:30639] svn:r42718 (trunk): * 2013-08-29 - http://mla.n-z.jp/?ruby-changes=30639
tylersmi_ has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-core
heroux has quit [Ping timeout: 245 seconds]
<znz_jp> biff: [ruby-changes:30640] tenderlove:r42719 (trunk): backport Tempfile.create so psych tests will run outside ruby trunk - http://mla.n-z.jp/?ruby-changes=30640
heroux has joined #ruby-core
bf4 has quit [Ping timeout: 240 seconds]
tylersmith has quit [Ping timeout: 245 seconds]
bf4 has joined #ruby-core
heroux has quit [Ping timeout: 245 seconds]
heroux has joined #ruby-core
tylersmith has joined #ruby-core
heroux has quit [Ping timeout: 276 seconds]
heroux has joined #ruby-core
kosaki2 has joined #ruby-core
heroux has quit [Ping timeout: 246 seconds]
heroux has joined #ruby-core
tylersmith has quit [Ping timeout: 245 seconds]
tylersmith has joined #ruby-core
tylersmith has quit [Ping timeout: 260 seconds]
tylersmith has joined #ruby-core
heroux has quit [Ping timeout: 245 seconds]
heroux has joined #ruby-core
heroux has quit [Ping timeout: 256 seconds]
heroux has joined #ruby-core
tylersmi_ has joined #ruby-core
tylersmith has quit [Read error: Connection reset by peer]
tylersmi_ has quit [Ping timeout: 256 seconds]
tylersmith has joined #ruby-core
heroux has quit [Ping timeout: 268 seconds]
heroux has joined #ruby-core
DanKnox is now known as DanKnox_away
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-core
heroux has quit [Read error: Operation timed out]
heroux has joined #ruby-core
wudofyr has quit [Remote host closed the connection]
wudofyr has joined #ruby-core
tylersmi_ has joined #ruby-core
tylersmith has quit [Read error: Connection reset by peer]
wudofyr has quit [Remote host closed the connection]
wudofyr has joined #ruby-core
<znz_jp> biff: [ruby-changes:30641] drbrain:r42720 (trunk): * ext/zlib/zlib.c (zstream_run): Fix handling of deflate streams that - http://mla.n-z.jp/?ruby-changes=30641
heroux has quit [Ping timeout: 245 seconds]
wudofyr has quit [Remote host closed the connection]
tylersmith has joined #ruby-core
tylersmi_ has quit [Read error: Connection reset by peer]
DanKnox_away is now known as DanKnox
travis-ci has joined #ruby-core
travis-ci has left #ruby-core [#ruby-core]
<travis-ci> [travis-ci] The build has errored. by @drbrain: See http://travis-ci.org/ruby/ruby/builds/10728820
<drbrain> no, it was apt-get's fault
wudofyr has joined #ruby-core
ZachBeta has quit [Ping timeout: 264 seconds]
ZachBeta has joined #ruby-core
marcandre has joined #ruby-core
<drbrain> I have found a regular expression that matches 15x faster in 1.8.7 than 2.0.0
<drbrain> odd, it's particular to //i
ZachBeta has quit [Quit: Computer has gone to sleep.]
<lopex> drbrain: oniguruma unfolds first 3 or so chars in the bytecode
<lopex> so ir fails very fat in searches
<lopex> *fast
<drbrain> lopex: does that change depending upon //i ?
<lopex> the //i is what triggers it
tylersmith has quit [Ping timeout: 264 seconds]
<lopex> it's a special opt to noncase sensitive matching
<drbrain> huh
<lopex> so
<drbrain> I wonder if I should submit this bug, then
<lopex> if you do /foo/i
<lopex> the gnerated byte code will be just
<lopex> if not f then check F
<lopex> then o or O
<lopex> the unfolding is done compile time since it can be pretty slow
<lopex> namely
<lopex> unpack to pointcode
<lopex> lookup in fold tables for point code
tylersmith has joined #ruby-core
<lopex> drbrain: I can show you the bytecode if you want
<drbrain> lopex: nah
<drbrain> is a 15x slowdown expected?
<lopex> for unicode the unfoldings can be pretty big
<drbrain> BTW, the regular expression was:
<drbrain> VERSION_PATTERN = '[0-9]+(?>\.[0-9a-zA-Z]+)*(-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?'
<drbrain> ANCHORED_VERSION_PATTERN = /\A\s*(#{VERSION_PATTERN})*\s*\z/i
<lopex> drbrain: dunno that's just numbers
<drbrain> so the //i is useless
<drbrain> yeah
<drbrain> someone found a pathological non-input for the pattern which I fixed with the ?>
<drbrain> I happened to run it on 1.8 and was all "wait a minute, there's one more 0 on the left hand side here!"
<drbrain> sounds like I shouldn't bother with the bug report
<lopex> drbrain: is that for ascii or utf under 2.0 ?
<drbrain> it matches rubygems version strings which only allow ascii strings, but I suppose it could be matched against a UTF-8 string too
<drbrain> the default encoding of the file is UTF-8
<lopex> drbrain: in general since 1.9 there's lots of preprocessing to negotioate encodings
<drbrain> … no # encoding: at the top of the file
<lopex> it also means you never match the original string
<drbrain> lopex: yeah, I dealt with a ton of that in RDoc
<lopex> it will always be copied
r0bglees0n has quit [Ping timeout: 240 seconds]
<lopex> drbrain: well, then it must be a pathological case for oniguruma/onigmo
<drbrain> the regular expression is still plenty fast
<lopex> in general it should be faster than 1.8 engine modulo encoding abstraction
ZachBeta has joined #ruby-core
<lopex> it should be faster under jruby
<drbrain> median 3.0e-5s average, 3.5e-6s std dev
ZachBeta has quit [Client Quit]
<drbrain> oh, that's without //i
<drbrain> it's more 3.0e-4 average with //i
<lopex> on a big input ?
<drbrain> '2.3422222.222.222222222.22222.ads0as.dasd0.ddd2222.2.qd3e'
<lopex> hah
<drbrain> for a gem version, that's big
<drbrain> for a string it isn't
r0bglees0n has joined #ruby-core
bf4 has left #ruby-core [#ruby-core]
DanKnox is now known as DanKnox_away
nari has joined #ruby-core
DanKnox_away is now known as DanKnox
kosaki2 has quit [Ping timeout: 245 seconds]
_br_ has quit [Ping timeout: 247 seconds]
_br_ has joined #ruby-core
kosaki8 has joined #ruby-core
nari has quit [Ping timeout: 264 seconds]
sam has joined #ruby-core
sam is now known as Guest84996
<Guest84996> @n0kada ... I got rp going but am not getting much useful out of it
<Guest84996> (gdb) rp(140009950054920)
<Guest84996> T_CLASS*: (struct RClass *) 0x7f569b568a08
<Guest84996> $1 = {basic = {flags = 4130, klass = 140009950054920}, ptr = 0x7f569509f170,
<Guest84996> $2 = {super = 140009955949480, iv_tbl = 0x7f569509f0e0, const_tbl = 0x0,
<Guest84996> m_tbl = 0x7f569509f6e0, iv_index_tbl = 0x0}
<Guest84996> origin = 140009950054920, refined_class = 8, allocator = 0x0}
<Guest84996> (gdb) rp(140009955949480)
<Guest84996> T_ICLASS: (struct RClass *) 0x7f569bb07ba8
<Guest84996> $3 = {basic = {flags = 29, klass = 140009886381280}, ptr = 0x7f569bafe120,
<Guest84996> m_tbl = 0x7f56978926f0, iv_index_tbl = 0x0}
<Guest84996> $4 = {super = 140009884698400, iv_tbl = 0x7f56978926c0, const_tbl = 0x7f56978f1bf0,
<Guest84996> origin = 140009955949480, refined_class = 8, allocator = 0x0}
<Guest84996> (gdb)
Guest84996 has quit [Client Quit]
samsaffron has joined #ruby-core
<samsaffron> is there any way to yank a name out the debugger (if there is one) or a random method name from the method table?
<drbrain> samsaffron: maybe .gdbinit has something?
<samsaffron> looking
<drbrain> there's a variety of GDB macros in there
<samsaffron> there is an rb_classname but unclear on how to use it
<drbrain> try rb_classname(140009950054920)
<samsaffron> (gdb) rb_classname(140009950054920)
<samsaffron> Too few arguments in function call.
<drbrain> I don't know then
tylersmith has quit [Ping timeout: 268 seconds]
kosaki2 has joined #ruby-core