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
kosaki2 has quit [Read error: Connection reset by peer]
kosaki2_ has joined #ruby-core
ZachBeta has joined #ruby-core
nari_ has joined #ruby-core
kosaki8 has quit [Ping timeout: 256 seconds]
ZachBeta has quit [Quit: Computer has gone to sleep.]
nari_ has quit [Ping timeout: 256 seconds]
nahiluhmot has joined #ruby-core
nokada_ has joined #ruby-core
n0kada-freenode has quit [Ping timeout: 258 seconds]
nokada has quit [Ping timeout: 264 seconds]
n0kada-freenode has joined #ruby-core
xibbar has quit [Remote host closed the connection]
nokada has joined #ruby-core
n0kada-freenode has quit [Ping timeout: 256 seconds]
nokada_ has quit [Ping timeout: 248 seconds]
nahiluhmot has quit [Remote host closed the connection]
hsbt has quit [Ping timeout: 252 seconds]
hsbt has joined #ruby-core
headius has quit [Quit: headius]
Domon has joined #ruby-core
hsbt has quit [Ping timeout: 252 seconds]
tylersmith has quit [Remote host closed the connection]
idkazuma has joined #ruby-core
hsbt has joined #ruby-core
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
nahiluhmot has joined #ruby-core
hsbt is now known as hsbt_away
nahiluhmot has quit [Remote host closed the connection]
tmahoney has quit [Remote host closed the connection]
nokada_ has joined #ruby-core
nokada has quit [Read error: Connection reset by peer]
idkazuma has quit [Remote host closed the connection]
nghialv2607 has joined #ruby-core
tylersmith has joined #ruby-core
tylersmith has quit [Ping timeout: 246 seconds]
marcandre has quit [Remote host closed the connection]
nghialv2607 has quit [Remote host closed the connection]
hsbt_away is now known as hsbt
<znz_jp> biff: [ruby-changes:28513] nobu:r40565 (trunk): win32.c: optimization - http://mla.n-z.jp/?ruby-changes=28513
<znz_jp> biff: [ruby-changes:28514] nobu:r40566 (trunk): win32.c: fix build error - http://mla.n-z.jp/?ruby-changes=28514
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
<znz_jp> biff: [ruby-changes:28515] nobu:r40567 (trunk): win32.h: INTPTR_MAX, INTPTR_MIN, UINTPTR_MAX - http://mla.n-z.jp/?ruby-changes=28515
<znz_jp> biff: [ruby-changes:28516] nobu:r40568 (trunk): {getaddrinfo,getnameinfo}.c: fix for old platforms - http://mla.n-z.jp/?ruby-changes=28516
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
adamjleonard has quit [Quit: Leaving...]
hsbt_away is now known as hsbt
adamjleonard has joined #ruby-core
<znz_jp> biff: [ruby-changes:28517] nobu:r40569 (trunk): * common.mk (yes-test-all): needs sudo-precheck for dtrace. - http://mla.n-z.jp/?ruby-changes=28517
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
<znz_jp> biff: [ruby-changes:28518] akr:r40570 (trunk): * ext/socket/extconf.rb: Make default_ipv6 true for Cygwin. - http://mla.n-z.jp/?ruby-changes=28518
kosaki2_ has quit [Remote host closed the connection]
fowl has quit [Ping timeout: 272 seconds]
kosaki8 has joined #ruby-core
fowl has joined #ruby-core
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
headius has joined #ruby-core
headius has quit [Quit: headius]
Ortuna has joined #ruby-core
fowl has quit [Read error: Connection reset by peer]
fowl has joined #ruby-core
kosaki2 has joined #ruby-core
Ortuna has quit [Quit: Textual IRC Client: www.textualapp.com]
kosaki8 has quit [Ping timeout: 245 seconds]
r0bglees0n has joined #ruby-core
znz_jp has quit [Quit: kill -QUIT $$]
znz_jp has joined #ruby-core
nokada has joined #ruby-core
nokada_ has quit [Read error: Connection reset by peer]
nokada_ has joined #ruby-core
nokada has quit [Read error: Connection reset by peer]
vondruch has joined #ruby-core
kosaki2 has quit [Remote host closed the connection]
nghialv2607 has joined #ruby-core
judofyr has joined #ruby-core
headius has joined #ruby-core
headius has quit [Quit: headius]
ex9t has joined #ruby-core
ex9t_ has quit [Ping timeout: 256 seconds]
Domon has quit [Ping timeout: 248 seconds]
Domon has joined #ruby-core
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-core
Domon has quit [*.net *.split]
eban has quit [*.net *.split]
Guest85414 has quit [*.net *.split]
eban has joined #ruby-core
Guest85414 has joined #ruby-core
Domon has joined #ruby-core
charliesome has joined #ruby-core
nokada has joined #ruby-core
nokada_ has quit [Ping timeout: 260 seconds]
xibbar has joined #ruby-core
hsbt has quit [Ping timeout: 260 seconds]
hsbt has joined #ruby-core
Domon has quit [Ping timeout: 245 seconds]
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
Domon has joined #ruby-core
hsbt has quit [Ping timeout: 264 seconds]
hsbt has joined #ruby-core
Domon has quit [Remote host closed the connection]
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
hsbt has quit [Ping timeout: 264 seconds]
hsbt has joined #ruby-core
adamjleonard has quit [Ping timeout: 252 seconds]
<znz_jp> biff: [ruby-changes:28519] xibbar:r40571 (trunk): * lib/cgi/util.rb: class methods modulize for using like a function. - http://mla.n-z.jp/?ruby-changes=28519
kosaki8 has joined #ruby-core
nokada has quit [Remote host closed the connection]
nghialv2607 has quit [Remote host closed the connection]
kosaki8 has quit [Ping timeout: 256 seconds]
nari_ has joined #ruby-core
nghialv2607 has joined #ruby-core
idkazuma has joined #ruby-core
idkazuma has quit [Remote host closed the connection]
nahiluhmot has joined #ruby-core
xibbar has quit [Remote host closed the connection]
nahiluhmot has quit [Remote host closed the connection]
nagachika has joined #ruby-core
nokada has joined #ruby-core
nari_ has quit [Ping timeout: 268 seconds]
nahiluhmot has joined #ruby-core
nahiluhmot has quit [Read error: Connection reset by peer]
nahiluhmot has joined #ruby-core
nahiluhmot has quit [Read error: Connection reset by peer]
marcandre has joined #ruby-core
ZachBeta has joined #ruby-core
nghialv2_ has joined #ruby-core
nghialv2607 has quit [Ping timeout: 245 seconds]
idkazuma has joined #ruby-core
ZachBeta has quit [Client Quit]
ZachBeta has joined #ruby-core
nahiluhmot has joined #ruby-core
nahiluhmot has quit [Read error: Connection reset by peer]
shevy has quit [Ping timeout: 248 seconds]
idkazuma has quit [Remote host closed the connection]
ZachBeta has quit [Quit: Computer has gone to sleep.]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
shevy has joined #ruby-core
adamjleonard has joined #ruby-core
kosaki2 has joined #ruby-core
adamjleonard has quit [Read error: Connection reset by peer]
adamjleonard has joined #ruby-core
nahiluhmot has joined #ruby-core
adamjleonard has quit [Read error: Connection reset by peer]
ZachBeta has joined #ruby-core
nahiluhmot has left #ruby-core ["Leaving..."]
judofyr has quit [Remote host closed the connection]
fowl has quit [Ping timeout: 245 seconds]
nagachika has quit [Remote host closed the connection]
judofyr has joined #ruby-core
kosaki2 has quit [Remote host closed the connection]
tylersmith has joined #ruby-core
tmahoney has joined #ruby-core
kosaki2 has joined #ruby-core
judofyr has quit [Remote host closed the connection]
judofyr has joined #ruby-core
vondruch has quit [Ping timeout: 256 seconds]
judofyr has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
xibbar_i_ has joined #ruby-core
xibbar_ie has quit [Read error: Connection reset by peer]
headius has joined #ruby-core
nghialv2_ has quit [Remote host closed the connection]
kosaki2 has quit [Ping timeout: 264 seconds]
tylersmith has joined #ruby-core
peta_ has joined #ruby-core
<peta_> hello everybody
<peta_> I have a question about Ruby internals: when I include a module into my current scope, then (beside others) the instance methods of this module are "imported" into my current scope. Are these imported methods copies of the original ones, or are they internally the same/identical ones?
peta_ has quit [Remote host closed the connection]
peta_ has joined #ruby-core
<peta_> When I include a module into my current scope (say inside another module or in the root namespace), the methods contained by this module will be somehow "imported" into my current scope. How exactly is this done? Are the methods copied/duplicated or does Ruby just create a local identifier that "references" the original method? (so regardless of how many times a given module is included, there will only be a single copy/instance of th
nghialv2607 has joined #ruby-core
nghialv2607 has quit [Remote host closed the connection]
<zzak> peta_: try looking for rb_module_include() and rb_mod_include()
<zzak> ie Module#include
<peta_> zzak: okay, thx for the hint
ZachBeta has quit [Quit: Computer has gone to sleep.]
<peta_> zzak: okay, I tracked down things to rb_include_class_new (https://github.com/ruby/ruby/blob/trunk/class.c#L661)
<peta_> but there I give up.
<peta_> would you mind telling me the answer to my question? :) will the methods in the included class be duplicated or just linked through kind of local identifier?
<zzak> peta_: i honestly dont know
<peta_> zzak: okay, thx anyway. but say, is this the channel for ruby interpreter developers?
<zzak> yes, but its fairly quiet usually
<tmahoney> peta_: You're right, that method is a little weird looking.
marcandre has quit [Remote host closed the connection]
<peta_> tmahoney: at least for a novice ruby end user like me that has no clue about the ruby interpreter internals
<tmahoney> peta_: It looks like the methods aren't copied, but are referenced instead.
<tmahoney> I'm not all that familiar with how things work in there, but I think so.
<tmahoney> rb_include_class_new seems to create a new class klass
<tmahoney> Then set the method table of that class to be that of the module you're including.
<tmahoney> It sets the instance variable and constant tables of the new class to that module as well.
<tmahoney> Then it sets the super class of the newly created class to the class you're including the module in.
heroux has quit [Ping timeout: 245 seconds]
<tmahoney> But, I'm not sure how that makes anything work at all haha.
<peta_> tmahoney: thanks a lot for this clarification. this already helped me a lot
<drbrain> peta_: they're the same methods
heroux has joined #ruby-core
<drbrain> peta_: there's a T_ICLASS that is created (I think it stands for "included class") and is stuck in the ancestors list
<tmahoney> Ah, included class makes sense.
<peta_> okay, so put simple, eveyrtime i include a module (and thus the methods it contains) anywhere, just links/aliases/callitwhatever are created that in the end point to the same function object
<peta_> because i had a discussion with a (more experienced end user) guy in #ruby that tried to tell me that methods are copied/duplicated each time I include the containing module anywhere
<peta_> and that sounded weird to me. so I wanted to clarify this
kosaki2 has joined #ruby-core
ZachBeta has joined #ruby-core
<drbrain> module M; def a() end end; class C; include M; end; C.instance_methods - Object.methods; module M; def b() end end; C.instance_methods - Object.methods
<drbrain> when M#b is added it appears in C, so I don't think the method table is copied
shiba has quit [Ping timeout: 256 seconds]
shiba has joined #ruby-core
marcandre has joined #ruby-core
pdswan_ has joined #ruby-core
pdswan has quit [Ping timeout: 264 seconds]
kosaki2 has quit [Remote host closed the connection]
heroux has quit [Read error: Operation timed out]
heroux has joined #ruby-core
fowl has joined #ruby-core
idkazuma has joined #ruby-core
idkazuma has quit [Remote host closed the connection]
idkazuma has joined #ruby-core
headius has quit [Quit: headius]
kosaki2 has joined #ruby-core
<znz_jp> biff: [ruby-changes:28520] kosaki:r40572 (trunk): * include/ruby/defines.h (RUBY_ATTR_ALLOC_SIZE): New for - http://mla.n-z.jp/?ruby-changes=28520
<znz_jp> biff: [ruby-changes:28521] svn:r40573 (trunk): * 2013-05-04 - http://mla.n-z.jp/?ruby-changes=28521
ZachBeta has quit [Quit: Textual IRC Client: www.textualapp.com]
tenderlove has joined #ruby-core
travis-ci has joined #ruby-core
<travis-ci> [travis-ci] The build has errored. by @svn: See http://travis-ci.org/ruby/ruby/builds/6866125
travis-ci has left #ruby-core [#ruby-core]
fowl has quit [Read error: Connection reset by peer]
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-core
fowl has joined #ruby-core
<zzak> drbrain: i wonder if anyone wants to translate the guides to ja, and if ri would be ok with that
<zzak> like doc/security.ja.rdoc would probably be ok
<drbrain> zzak: I would ask the rurema folks
<zzak> hsbt is in rurema right?
<drbrain> there's a couple people
<zzak> do you know if sho hashimoto is on twitter?
<zzak> they seem to be very active rurema contributor
<drbrain> I don't
<zzak> have sentquite a few patches for trunk too
<drbrain> zzak: I use this in vim:
<drbrain> let date = system("TZ=Japan date +'%a %b %e %T %Y'")
<drbrain> return substitute(date, "\\\n", "", "")
<drbrain> since the TZ offsets don't change on the same day, it seems to be the only safe way
<zzak> return not in function?
<drbrain> it's in a function
<drbrain> hold on...
travis-ci has joined #ruby-core
travis-ci has left #ruby-core [#ruby-core]
<travis-ci> [travis-ci] The build passed. by @zzak: See http://travis-ci.org/ruby/ruby/builds/6868203
<drbrain> I don't think I've modified changelog.vim, but I can't remember
<drbrain> the goal of ↑ is to override just the changelog_dateformat_func to do what I want for the ruby repository
<drbrain> … anything with a ruby.c and README.EXT
<zzak> hm
<zzak> my viml sucks
<zzak> i just have a function Jstdate()
<zzak> and want to simply bind it to an imap key
<zzak> imap <C-J> <C-R>:call Jstdate()<CR>
<zzak> doesnt really work
<drbrain> with changelog.vim you can be anywhere and type <leader>o to create a new ChangeLog entry
<zzak> got it!
fowl has left #ruby-core ["Leaving"]
<zzak> now i can ctrl+j in insert mode
tylersmith has quit [Remote host closed the connection]
nari_ has joined #ruby-core