closer 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
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
<znz_jp> biff: [ruby-changes:42786] nobu:r54860 (trunk): ChangeLog: fix a typo [ci skip] - http://mla.n-z.jp/?ruby-changes=42786
hsbt_away is now known as hsbt
unreal has quit [Read error: Connection reset by peer]
unreal has joined #ruby-core
madgen has quit [Ping timeout: 250 seconds]
<znz_jp> biff: [ruby-changes:42787] akr:r54861 (trunk): [DOC] merge documents for {Integer, Fixnum}#succ. - http://mla.n-z.jp/?ruby-changes=42787
hsbt is now known as hsbt_away
madgen has joined #ruby-core
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
madgen has quit [Ping timeout: 252 seconds]
hsbt_away is now known as hsbt
nokada_ has quit [Quit: Leaving...]
nokada has joined #ruby-core
hsbt is now known as hsbt_away
zzak has quit [Remote host closed the connection]
zzak has joined #ruby-core
<zzak> [dea, irc.freenode.net] bazz_: https://eval.in/562952
<zzak> [gizmore, irc.freenode.net] Is 'The Last Unicorn' for girls only?!
hsbt_away is now known as hsbt
<zzak> [bazz, irc.freenode.net] is there a "scalable" way to check if a file has a trailing newline?
<zzak> [gizmore, irc.freenode.net] "\\n no
hsbt is now known as hsbt_away
<zzak> [nofxx, irc.freenode.net] bazz_, iirc you can read only a few bytes of a file, and offset this to parallelize
<zzak> [nofxx, irc.freenode.net] but... couldn;t you just delegate that issue to ag? (silver searcher)
<zzak> [bazz, irc.freenode.net] I think maybe I'm taking the issue too seriously .. i just am dealing with dictionary files in the < 10 MB range .. and it's just a personal project ..
<zzak> [bazz, irc.freenode.net] need to check if the last byte is a newline .. or must manually append it proper
<zzak> [bazz, irc.freenode.net] I'll just file File.open and IO seek -1 (will try anyways)
<zzak> [nofxx, irc.freenode.net] bazz_, yeah... you fallen into the "early optimization root of all evil stuff"
<zzak> [nofxx, irc.freenode.net] =D
<zzak> [bazz, irc.freenode.net] yeah and I'm even conscious of premature optimization!! It's hard for me :|
<zzak> [nofxx, irc.freenode.net] also, if it fits in ram it'll be fast... don't worry
<zzak> [bazz, irc.freenode.net] ok and furthermore .. is it possible to read and append to file in a single block?
<zzak> [bazz, irc.freenode.net] sorry, I can RTFM :)
<zzak> [bazz, irc.freenode.net] `a+` it is
<zzak> [nofxx, irc.freenode.net] bazz_, guess so... check the options, there's 'r', 'w'... 'r+'... file I/O is something I always need the... you beat me to it
<zzak> [nofxx, irc.freenode.net] bazz_, yeah, append! if it's always the ending it's perfect for you
<zzak> [bazz, irc.freenode.net] heh I've been appending ;) -- but if the file does not have a trailing new line, I wind up appending to the last pre-existing line
<zzak> [nofxx, irc.freenode.net] bazz_, and it doesn't need to be in the same block, if you don't use any block
<zzak> [nofxx, irc.freenode.net] file will remain open
<zzak> [nofxx, irc.freenode.net] eg f = File.open(....
<zzak> [bazz, irc.freenode.net] well a+ will give me read/write block anyways
<zzak> [nofxx, irc.freenode.net] cool
<zzak> [bazz, irc.freenode.net] nofxxxx, and finally : https://gist.github.com/bazzinotti/8814fc29e841a021a38276146fbdd9ce
<zzak> [bazz, irc.freenode.net] I"m going to bed. Thanks for your help
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
<zzak> [bazz, irc.freenode.net] if a variable is used in a class definition without `@` -- what is the difference?
<zzak> [Brandon Weaver, irc.freenode.net] method call or local variabl
<zzak> [Brandon Weaver, irc.freenode.net] e
<zzak> [Brandon Weaver, irc.freenode.net] attr_* methods make methods on the class
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
nagachika has joined #ruby-core
hsbt_away is now known as hsbt
nagachika has quit [Remote host closed the connection]
nagachika has joined #ruby-core
nagachika has quit [Ping timeout: 276 seconds]
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
<znz_jp> biff: [ruby-changes:42788] naruse:r54862 (trunk): Use WORDS_BIGENDIAN - http://mla.n-z.jp/?ruby-changes=42788
hsbt_away is now known as hsbt
nagachika has joined #ruby-core
nagachika has quit [Ping timeout: 246 seconds]
hsbt is now known as hsbt_away
<znz_jp> biff: [ruby-changes:42789] usa:r54863 (trunk): * cont.c, hash.c, random.c, win32/win32.c: cleanup some Win9x/ME/NT4 - http://mla.n-z.jp/?ruby-changes=42789
<znz_jp> biff: [ruby-changes:42790] usa:r54864 (trunk): * win32/win32.c: drop Win2K support. - http://mla.n-z.jp/?ruby-changes=42790
madgen has joined #ruby-core
<znz_jp> biff: [ruby-changes:42791] akr:r54865 (trunk): Fix a test message. - http://mla.n-z.jp/?ruby-changes=42791
<znz_jp> biff: [ruby-changes:42792] akr:r54866 (trunk): update comments. - http://mla.n-z.jp/?ruby-changes=42792
hsbt_away is now known as hsbt
ItSANgo has quit [Quit: Leaving...]
hsbt is now known as hsbt_away
<znz_jp> biff: [ruby-changes:42793] naruse:r54867 (trunk): fix for where UNALIGNED_WORD_ACCESS is not allowed - http://mla.n-z.jp/?ruby-changes=42793
<znz_jp> biff: [ruby-changes:42794] usa:r54868 (trunk): * test/lib/test/unit.rb (Options#non_options): fixed wrong regexp. - http://mla.n-z.jp/?ruby-changes=42794
<znz_jp> biff: [ruby-changes:42795] usa:r54869 (trunk): * test/logger/test_logdevice.rb (TestLogDevice#test_shifting_period_suffix): - http://mla.n-z.jp/?ruby-changes=42795
<znz_jp> biff: [ruby-changes:42796] svn:r54871 (trunk): * 2016-05-02 - http://mla.n-z.jp/?ruby-changes=42796
<znz_jp> biff: [ruby-changes:42797] mrkn:r54870 (trunk): Fix rb_ary_sum for mathn - http://mla.n-z.jp/?ruby-changes=42797
madgen has quit [Ping timeout: 246 seconds]
<znz_jp> biff: [ruby-changes:42798] akr:r54872 (trunk): envutil.rb defines Integer::{FIXNUM_MIN, FIXNUM_MAX}. - http://mla.n-z.jp/?ruby-changes=42798
<znz_jp> biff: [ruby-changes:42799] akr:r54873 (trunk): Add a cast to avoid signed integer overflow. - http://mla.n-z.jp/?ruby-changes=42799
madgen has joined #ruby-core
hsbt_away is now known as hsbt
<znz_jp> biff: [ruby-changes:42800] akr:r54874 (trunk): test/lib/test/unit/assertions.rb defines assert_fixnum and assert_bignum. - http://mla.n-z.jp/?ruby-changes=42800
<znz_jp> biff: [ruby-changes:42801] akr:r54875 (trunk): test_name use Integer instead of Fixnum. - http://mla.n-z.jp/?ruby-changes=42801
hsbt is now known as hsbt_away
nagachika has joined #ruby-core
<znz_jp> biff: [ruby-changes:42802] akr:r54876 (trunk): * test/ruby/test_numeric.rb (test_step): Use Integer::FIXNUM_MAX. - http://mla.n-z.jp/?ruby-changes=42802
madgen has quit [Ping timeout: 250 seconds]
madgen has joined #ruby-core
madgen has quit [Ping timeout: 240 seconds]
madgen has joined #ruby-core
nagachika has quit [Remote host closed the connection]
<znz_jp> biff: [ruby-changes:42803] naruse:r54877 (trunk): fix mixed declaration on non UNALIGNED_WORD_ACCESS - http://mla.n-z.jp/?ruby-changes=42803
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
rafaelfranca has quit []
madgen has quit [Ping timeout: 276 seconds]
madgen has joined #ruby-core
shinnya has quit [Ping timeout: 246 seconds]
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
<znz_jp> biff: [ruby-changes:42804] akr:r54878 (trunk): complex.c don't refer rb_cFixnum and rb_cBignum. - http://mla.n-z.jp/?ruby-changes=42804
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away