Project

General

Profile

Activity

From 03/03/2016 to 03/09/2016

03/09/2016

11:56 PM Feature #12157: Is the option hash necessary for future Rubys?
# Examples
Currently Ruby has syntactic sugar to make passing a Hash as a final argument prettier. Consider the fo...
justcolin (Colin Fulton)
09:49 PM Feature #12157: Is the option hash necessary for future Rubys?
An option hash is just an optional argument with a default value of the empty hash. You can't really remove options h... jeremyevans0 (Jeremy Evans)
09:25 PM Feature #12157: Is the option hash necessary for future Rubys?
Sorry, I accidentally marked this as a bug. Moving it to features. justcolin (Colin Fulton)
10:25 PM Feature #11997: A method to read a file with interpolations
As far as implementation, `File.eval` doesn't feel right since you may want any `IO` object—or any object with `#read... justcolin (Colin Fulton)
09:49 PM Feature #11997: A method to read a file with interpolations
~~I agree that ERB is ugly for a lot of cases, but—since there is a one liner to write this in Ruby—I don't think it ... justcolin (Colin Fulton)
09:41 PM Feature #12084: `Class#instance`
This feature would solve a lot of problems I had while doing what should have been simple meta-programming (if there ... justcolin (Colin Fulton)
07:39 PM Bug #12163 (Rejected): New to redmine & ruby, cannot get it to install
Installation output for redmine 3.2.0:
[root@localhost redmine]# /usr/local/bin/bundle install --without developmen...
GREYHELM (Dawes Graybeal)
03:25 PM Bug #12054: Remove block from Logger.add as it's not needed
r53790 and r53844 were backported into `ruby_2_2` branch at r54072. nagachika (Tomoyuki Chikanaga)
03:25 PM Revision 3d3ff04b (git): merge revision(s) 53790,53844: [Backport #12054]
* lib/logger.rb: Remove block from Logger.add as it's not needed
patch provided by Daniel Lobato Garcia [fi...
nagachika (Tomoyuki Chikanaga)
03:21 PM Bug #11495: [Documentation] Please improve documentation for Regexp.new() and clarify the 3 argument call
r51006 and r53784 were backported into `ruby_2_2` branch at r54071. nagachika (Tomoyuki Chikanaga)
03:20 PM Revision 3e7a554e (git): merge revision(s) 51006,53784: [Backport #11495]
* re.c: Update documentation for Regexp class.
[fix GH-937][ci skip] Patch by @davydovanton
* re.c...
nagachika (Tomoyuki Chikanaga)
03:15 PM Bug #11877: Socket.gethostname will fail when the hostname length == RUBY_MAX_HOST_NAME_LEN
Backported into `ruby_2_2` branch at r54070. nagachika (Tomoyuki Chikanaga)
03:14 PM Revision f548ea1f (git): merge revision(s) 53677: [Backport #11877]
* ext/socket/socket.c (sock_gethostname): support unlimited size
hostname.
git-svn-id: svn+ssh://ci.ruby-...
nagachika (Tomoyuki Chikanaga)
03:05 PM Bug #12162 (Third Party's Issue): OpenSSL::PKCS7 seems to create broken objects (nested asn.1 error)
When trying to read previously created OpenSSL::PKCS7 object, it fails with 'nested asn.1 error'. Seems like object i... wesoly_opos (Jarosław Górny)
02:01 PM Bug #11489: XMLRPC client cannot alter SSL options for _async calls
Backported into `ruby_2_2` branch at r54069. nagachika (Tomoyuki Chikanaga)
02:01 PM Revision eb4ed0ec (git): merge revision(s) 53318: [Backport #11489]
* lib/xmlrpc/client.rb: Support SSL options in async methods of
XMLRPC::Client.
[Bug #11489]
...
nagachika (Tomoyuki Chikanaga)
01:59 PM Bug #12011: honor Marshal.load post proc value for TYPE_LINK
Backported into `ruby_2_2` branch at r54068. nagachika (Tomoyuki Chikanaga)
01:58 PM Revision 6aad84e0 (git): merge revision(s) 53609: [Backport #12011]
* marshal.c (r_object0): honor Marshal.load post proc
value for TYPE_LINK. by Hiroshi Nakamura <nahi@ruby-...
nagachika (Tomoyuki Chikanaga)
01:46 PM Bug #11958: TCPSocket.getsockopt().bool raises a TypeError on windows
Backported into `ruby_2_2` branch at r54067. nagachika (Tomoyuki Chikanaga)
01:45 PM Revision 7d25771f (git): merge revision(s) 53561: [Backport #11958]
* ext/socket/option.c (sockopt_bool): relax boolean size to be one
too not only sizeof(int). Winsock getso...
nagachika (Tomoyuki Chikanaga)
01:30 PM Revision 75b61aa3 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:42 PM Feature #12161 (Closed): Friendly BigDecimal#inspect
Can BigDecimal's #inspect be more human-friendly? Even just `#<BigDecimal:b7ea1130,1234.5678,8(12)>` instead of `#<Bi... printercu (Max Melentiev)
10:39 AM Revision 47c00f30 (git): common.mk: dependency of prelude.o
* common.mk (prelude.o): fix missing dependency on iseq.h, for
rb_compile_option_t.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
09:24 AM Bug #12082: Tail-calling method can't catch exception raised by tail-called method
Updating my patch, because it breaks such code:
~~~ruby
def errinfo
$!
end
RubyVM::InstructionSequence.compi...
rhenium (Kazuki Yamaguchi)
07:52 AM Revision 649736de (git): driver.rb: unused variable
* benchmark/driver.rb (BenchmarkDriver.load): remove unused
variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
07:49 AM Revision dc39baa9 (git): * benchmark/driver.rb: fix my last commit (syntax error).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:42 AM Revision a036c026 (git): * benchmark/driver.rb: fix output messages.
* benchmark/memory_wrapper.rb: use respond_to? because
member? does not work well.
git-svn-id: svn+ssh://ci.ruby-...
ko1 (Koichi Sasada)
07:22 AM Revision a5ca1179 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:22 AM Revision 61aa2685 (git): * benchmark/driver.rb: support memory usage benchmark.
use `--measure-target=[target]'.
Now, we can use the following targets:
* real (default): real time which retur...
ko1 (Koichi Sasada)
07:17 AM Revision 2d3a6ba6 (git): hash.c: COPY_DEFAULT
* hash.c (COPY_DEFAULT): new macro to copy the default value/proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
07:17 AM Revision e6840690 (git): hash.c: SET_PROC_DEFAULT
* hash.c (SET_PROC_DEFAULT): new macro to set the default proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 7522e064 (git): hash.c: SET_DEFAULT
* hash.c (SET_DEFAULT): new macro to set the default value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54057 ...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 921d6e26 (git): hash.c: hash_dup for rb_hash_to_h
* hash.c (rb_hash_to_h): share hash_dup to copy the contents and
the default value/proc only.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 865a326d (git): hash.c: make duplicated hash WB protected
* hash.c (hash_alloc_flags): allocate new hash with the flags and
the default value.
* hash.c (hash_dup): duplicat...
nobu (Nobuyoshi Nakada)
06:09 AM Feature #12160 (Closed): Extract XMLRPC library to bundled gem
XMLRPC library is no longer maintain actively.
I removed broken parsers in Mar. 2016. This issue opend at 2014.
N...
hsbt (Hiroshi SHIBATA)
06:05 AM Revision f937d32f (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:05 AM Revision 1228d134 (git): * benchmark/bm_vm3_gc_old_full.rb: add GC.start benchmark.
* benchmark/bm_vm3_gc_old_immediate.rb: ditto.
* benchmark/bm_vm3_gc_old_lazy.rb: ditto.
git-svn-id: svn+ssh://ci....
ko1 (Koichi Sasada)
06:02 AM Revision b0651410 (git): * benchmark/driver.rb: exit benchmarking if a benchmark process
receives signals.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:14 AM Revision cccfe477 (git): test_hash.rb: tests for to_h
* test/ruby/test_hash.rb: add tests for Hash#to_h, which copies
default value/proc but not instance variables.
git...
nobu (Nobuyoshi Nakada)
04:45 AM Revision d000891e (git): hash.c: tbl_update_func
* hash.c (tbl_update_func): extract function typedef from the
declaration of tbl_update.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
04:22 AM Revision e1e223a8 (git): memory_status.rb: independent of MiniTest
* test/lib/memory_status.rb: make Memory::Status independent of
MiniTest::Skip.
* test/lib/test/unit/assertions.rb ...
nobu (Nobuyoshi Nakada)
03:48 AM Revision b3f4db92 (git): memory_status.rb: remove unused values
* test/lib/memory_status.rb: remove initial status values, which
are not used.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
01:43 AM Bug #12159: Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
Usaku NAKAMURA wrote:
> I guess that it's intentional.
> `absolute_path` guarantees to contain the absolute path, b...
tagomoris (Satoshi Tagomori)
01:40 AM Bug #12159 (Assigned): Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
I guess that it's intentional.
`absolute_path` guarantees to contain the absolute path, but `path` does not guarante...
usa (Usaku NAKAMURA)
01:27 AM Bug #12159 (Closed): Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
I expected that Thread::Backtrace::Location#path always returns base filename, but returns absolute path for files lo... tagomoris (Satoshi Tagomori)
01:16 AM Bug #12156 (Assigned): TckImage.new broken after r53077 (2.3, trunk)
hsbt (Hiroshi SHIBATA)
12:28 AM Revision 8f5cbc58 (git): * test/io/wait/test_io_wait.rb (test_wait_readwrite_timeout):
select(2) in AIX returns "readable" for the write-side fd
of a pipe, so it is not possible to use a pipe to test
...
Rei Odaira

03/08/2016

11:00 PM Revision 96e0b7d4 (git): * win32/win32.c (rb_w32_write_console): remove unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:29 PM Feature #12142: Hash tables with open addressing
Vladimir Makarov wrote:
>
> What is missing in the above calculations is the probability of collisions for *the ...
vmakarov (Vladimir Makarov)
08:15 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> > I don't like lists (through pointer or indexes). This is a disperse data structure hurting l...
vmakarov (Vladimir Makarov)
05:39 PM Feature #12142: Hash tables with open addressing
> I don't like lists (through pointer or indexes). This is a disperse data structure hurting locality and performance... funny_falcon (Yura Sokolov)
04:01 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> I think, if your intention were to reduce table size when elements counts decreased, then you ...
vmakarov (Vladimir Makarov)
03:49 AM Feature #12142: Hash tables with open addressing
I think, if your intention were to reduce table size when elements counts decreased, then you have error here:
https...
funny_falcon (Yura Sokolov)
02:16 AM Feature #12142: Hash tables with open addressing
Vladimir Makarov wrote:

> *Still the community should decide about 32-bit hashes and indexes* because it is an im...
duerst (Martin Dürst)
08:28 PM Bug #11885: [PATCH] IO#readpartial rejects bad args
r51016(partially) and r53329 were backported into `ruby_2_2` branch at r54045. nagachika (Tomoyuki Chikanaga)
08:12 PM Bug #11885: [PATCH] IO#readpartial rejects bad args
rr54041 was reverted at r54044 because r54041 breaks some openssl tests. nagachika (Tomoyuki Chikanaga)
07:14 PM Bug #11885: [PATCH] IO#readpartial rejects bad args
Backported into `ruby_2_2` branch at r54041.
`ruby_2_2` branch also requires the same patch with r53932.
nagachika (Tomoyuki Chikanaga)
08:27 PM Revision 83d705f6 (git): merge revision(s) 51016,53329: [Backport #11885]
* ext/openssl/ossl_ssl.c (ossl_ssl_read_internal):
do not process kwargs in blocking mode
* test/o...
nagachika (Tomoyuki Chikanaga)
08:11 PM Revision e23a564a (git): revert r54041. it breaks openssl tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
07:46 PM Bug #11898: backport r53346-r53349
r53346, r53347, r53348, r53349, r53391 and r53928 were backported into `ruby_2_2` branch at r54043. nagachika (Tomoyuki Chikanaga)
07:45 PM Revision 055c3336 (git): merge revision(s) 53346,53347,53348,53349,53391,53928: [Backport #11898]
* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
reported by naruse via twitter.
...
nagachika (Tomoyuki Chikanaga)
07:19 PM Bug #11945: [PATCH] stringio: binmode sets encoding to ASCII-8BIT
Backported into `ruby_2_2` branch at r54042. nagachika (Tomoyuki Chikanaga)
07:19 PM Revision ebacc098 (git): merge revision(s) 53435: [Backport #11945]
* ext/stringio/stringio.c (strio_binmode): implement to set encoding
* test/stringio/test_stringio.rb (test_...
nagachika (Tomoyuki Chikanaga)
07:12 PM Revision 117fec74 (git): merge revision(s) 53329: [Backport #11885]
* io.c (io_getpartial): remove unused kwarg from template
* test/ruby/test_io.rb (test_readpartial_bad_args)...
nagachika (Tomoyuki Chikanaga)
07:03 PM Bug #11870: Eradication of typical misspellings
Backported into `ruby_2_2` branch at r54040. nagachika (Tomoyuki Chikanaga)
07:02 PM Revision 0df86c0b (git): merge revision(s) 53299: [Backport #11870]
* cont.c, doc, man: fix common misspelling.
[ruby-core:72466] [Bug #11870]
git-svn-id: svn+ssh://ci.ruby-...
nagachika (Tomoyuki Chikanaga)
06:52 PM Bug #11862: [PATCH] ext/socket/init.c (rsock_init_sock): reject reserved FDs
Backported into `ruby_2_2` branch at r54039. nagachika (Tomoyuki Chikanaga)
06:51 PM Revision cb37e401 (git): merge revision(s) 53259: [Backport #11862]
* ext/socket/init.c (rsock_init_sock): reject reserved FDs
[ruby-core:72445] [Bug #11862]
git-svn-id: svn...
nagachika (Tomoyuki Chikanaga)
06:50 PM Bug #11854: Socket.for_fd(-1) causes segmentaion fault on mingw32.
r52605, r53231 and r53244 were backported into `ruby_2_2` branch at r54038. nagachika (Tomoyuki Chikanaga)
06:49 PM Revision f429ee01 (git): merge revision(s) 52605,53231,53244: [Backport #11854]
init.c: is_socket
* ext/socket/init.c (is_socket): extract predicate to see if the
given fd is a socket.
...
nagachika (Tomoyuki Chikanaga)
06:38 PM Revision d9166317 (git): * test/ruby/test_require.rb (test_require_with_loaded_features_pop):
Only remove PATH so threads don't accidentally double-pop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54037 b...
headius (Charles Nutter)
06:35 PM Bug #11825: MatchData#names returns ASCII-8BIT
Backported into `ruby_2_2` branch at r54036. nagachika (Tomoyuki Chikanaga)
06:34 PM Revision eb712553 (git): merge revision(s) 53167: [Backport #11825]
* re.c (reg_names_iter): should consider encoding of regexp.
[ruby-core:72185] [Bug #11825]
git-svn-id: s...
nagachika (Tomoyuki Chikanaga)
03:29 PM Revision 6cde2d35 (git): vm_method.c: fix aliased original name
* vm_method.c (rb_alias): the original name should be properly
available method_added method, set the name before c...
nobu (Nobuyoshi Nakada)
03:21 PM Revision 3c4ade20 (git): ruby 2.0.0 has ended
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:21 PM Revision 7b7c7b33 (git): ruby.c: extra comma
* ruby.c (feature_option, debug_option, dump_option): remove an
extra comma from option lists.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
03:07 PM Revision 7196266b (git): * 2016-03-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:07 PM Revision a435fae7 (git): logger.rb: kwd args
* lib/logger.rb (Logger::LogDevice#initialize): define using
keyword arguments.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
02:38 PM Revision 4c0e360d (git): test/ruby/test_array.rb: split permute + stack error tests out.
* test/ruby/test_array.rb: split out the test for no stack error
on large input for test_permutation, test_repeated...
headius (Charles Nutter)
02:25 PM Feature #2567: Net::HTTP does not handle encoding correctly
Hello,
I'm gonna give my 50 cents:
~~~
class Net::HTTPResponse
def read_body(dest = nil, &block)
if @r...
fornellas (Fabio Pugliese Ornellas)
09:15 AM Revision 1b49df0b (git): * intern.h (rb_divmod): assume compilers `/` and `%` comply C99
and reduce branching. If a compiler doesn't comply, add #ifdefs.
* intern.h (rb_div): added for Ruby's behavior.
* ...
naruse (Yui NARUSE)
08:54 AM Bug #12158 (Closed): Fixnum#% doesn't show its name on ZeroDivisionError
Applied in changeset r54028.
----------
* insns.def (opt_mod): show its method name on ZeroDivisionError.
[Bug #12...
naruse (Yui NARUSE)
08:54 AM Bug #12158 (Closed): Fixnum#% doesn't show its name on ZeroDivisionError
```
% ruby -ve'p 12345 % 0'
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-freebsd10.2]
-e:1:in `<main>': divide...
naruse (Yui NARUSE)
08:54 AM Revision 87adc59b (git): * insns.def (opt_mod): show its method name on ZeroDivisionError.
[Bug #12158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:34 AM Revision b0b2df25 (git): * win32/win32.c (rb_w32_write_console): now no need to check
ERROR_CALL_NOT_IMPLEMENTED because it is for old Win9X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54027 b2d...
U.Nakamura
08:01 AM Bug #12147 (Rejected): Time::local returns incorrect ending of US DST
usa (Usaku NAKAMURA)
01:14 AM Bug #12147 (Closed): Time::local returns incorrect ending of US DST
Ryan Mitchell wrote:
> So this isn't a bug per se and I'm happy to have it closed.
duerst (Martin Dürst)
07:55 AM Revision 693b3353 (git): * win32/win32.c (rb_w32_write_console): stop the VT100 emulation if the
console supports it natively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54026 b2dd03c8-39d4-4d8f-98ff-823fe...
U.Nakamura
05:16 AM Feature #12157 (Closed): Is the option hash necessary for future Rubys?
Option hashes were great before Ruby had named arguments, but with the addition of named arguments and the double spl... justcolin (Colin Fulton)
04:59 AM Bug #10708: In a function call, double splat of an empty hash still calls the function with an argument
#12022 has some further exploration of this bug. justcolin (Colin Fulton)
04:32 AM Bug #10708: In a function call, double splat of an empty hash still calls the function with an argument
The inconsistency is even more serious. See #11860. sawa (Tsuyoshi Sawada)
02:26 AM Bug #10708: In a function call, double splat of an empty hash still calls the function with an argument
Adding to this, the current behavior results in the following inconsistent behavior: I can call an argless method usi... ozydingo (Andrew Schwartz)
04:32 AM Bug #11860: Double splat does not work on empty hash assigned via variable
This bug is related to #10708. sawa (Tsuyoshi Sawada)
02:23 AM Bug #12156 (Rejected): TckImage.new broken after r53077 (2.3, trunk)
This simple test program fails with ruby2.3, but worked in previous versions:
```
require 'tk'
require 'tkextlib...
zeha (Christian Hofstaedtler)

03/07/2016

11:22 PM Revision a5be0fb0 (git): * test/net/imap/test_imap.rb (test_idle_timeout): Because of the
timeout specified in "imap.idle(0.2)", there is no gurantee that
the server thread has done all the work before the...
Rei Odaira
09:49 PM Feature #12142: Hash tables with open addressing
Vladimir Makarov wrote:
>
> Here are the results on 4.2GHz i7-4970K for 64- and 32-bit indexes and hashes on your ...
vmakarov (Vladimir Makarov)
08:02 PM Feature #12142: Hash tables with open addressing
Koichi Sasada wrote:
> On 2016/03/07 14:17, [email protected] wrote:
> > (WIP is definitely OK with me.) Let ...
vmakarov (Vladimir Makarov)
07:52 PM Feature #12142: Hash tables with open addressing
Vladimir Makarov wrote:
>
> It is still possible to work with about 2^31 elements on 128GB machine if we create ta...
vmakarov (Vladimir Makarov)
07:44 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> Vladimir, you may borrow ideas from my patch.
Thank you, Yura. I definitely investigate th...
vmakarov (Vladimir Makarov)
07:51 AM Feature #12142: Hash tables with open addressing
On 2016/03/07 14:17, [email protected] wrote:
> (WIP is definitely OK with me.) Let me think of a more realist...
ko1 (Koichi Sasada)
06:35 AM Feature #12142: Hash tables with open addressing
Vladimir, you may borrow ideas from my patch. funny_falcon (Yura Sokolov)
06:02 AM Feature #12142: Hash tables with open addressing
On 2016/03/07 14:42, [email protected] wrote:
> `make benchmark-each ITEM=bm_hash OPTS='-r 3 -v' COMPARE_RUBY=...
ko1 (Koichi Sasada)
05:55 AM Feature #12142: Hash tables with open addressing
Benchmark certainly misses creation of many-many small hashes, where packed representation shines:
````
$ # Trunk...
funny_falcon (Yura Sokolov)
05:42 AM Feature #12142: Hash tables with open addressing
First:
`make benchmark-each ITEM=bm_hash OPTS='-r 3 -v' COMPARE_RUBY='<trunk ruby>'` is broken :-(
it shows speed...
funny_falcon (Yura Sokolov)
05:17 AM Feature #12142: Hash tables with open addressing
Vladimir Makarov wrote:
> I don't think it is a leak. What you measure is the maximal residential size. I think th...
shyouhei (Shyouhei Urabe)
02:41 AM Feature #12142: Hash tables with open addressing
Koichi Sasada wrote:
> On 2016/03/05 1:31, [email protected] wrote:
> > So the packed element approach could be ...
vmakarov (Vladimir Makarov)
02:35 AM Feature #12142: Hash tables with open addressing
Koichi Sasada wrote:
> On 2016/03/07 3:37, [email protected] wrote:
> > I don't think it is a leak. What you me...
vmakarov (Vladimir Makarov)
01:05 AM Feature #12142: Hash tables with open addressing
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/java/util/HashMap.java?av=f#406
http...
funny_falcon (Yura Sokolov)
09:06 PM Bug #12155 (Closed): Backport r47837 (AIX does not allow getsid(pid) when pid is in a different session)
This is a ticket to back-port r47837 to 2.1. ReiOdaira (Rei Odaira)
09:03 PM Bug #12147: Time::local returns incorrect ending of US DST
Right, if you need the first instance (Daylight Savings Time, not Standard Time) of 01:00 you have to do one of these... avit (Andrew Vit)
06:42 PM Bug #12147: Time::local returns incorrect ending of US DST
Edit: a coworker pointed out to me that because on Nov 6th 2016 there are actually two instances of 1:00 AM, Time::lo... rmitchell (Ryan Mitchell)
04:27 AM Bug #12147 (Rejected): Time::local returns incorrect ending of US DST
In 2016, US Daylight Saving Time ends at 2:00 AM on November 6. In the America/Los_Angeles timezone, this means going... rmitchell (Ryan Mitchell)
09:02 PM Bug #12154 (Closed): Backport r54010 (avoid a setgid test on AIX)
This is a ticket to back-port r54010 to 2.1, 2.2, and 2.3. ReiOdaira (Rei Odaira)
08:47 PM Bug #12153 (Closed): Backport r54003 (nextafter(3) on AIX is broken with +0.0 and -0.0 arguments)
This is a ticket to back-port r54003 to 2.2 and 2.3. ReiOdaira (Rei Odaira)
08:37 PM Bug #12152 (Closed): Backport r54004 (the fifth argument to getsockopt(2) is not modified correctly on return in AIX)
This is a ticket to back-port r54004 to 2.1, 2.2, and 2.3. Back-port of the change in test/socket/test_sockopt.rb not... ReiOdaira (Rei Odaira)
08:17 PM Bug #12151 (Closed): Backport r54002 (zconf.h in zlib does not recognize _LARGE_FILES in AIX)
This is a ticket to back-port r54002 to 2.1, 2.2, and 2.3. ReiOdaira (Rei Odaira)
07:59 PM Bug #12150 (Closed): Backport r54005 (ipv6_v4compat? and ipv6_v4mapped? are broken on AIX)
This is a ticket to back-port r54005 to 2.1, 2.2, and 2.3. ReiOdaira (Rei Odaira)
07:40 PM Bug #12149 (Closed): Backport r51930 (test_s_open_lock hangs on AIX)
This is a ticket to back-port r51930 to 2.1 and 2.2 (not to 2.3). ReiOdaira (Rei Odaira)
07:39 PM Revision b8f987b3 (git): test_rubyoptions.rb: fix test
* test/ruby/test_rubyoptions.rb (test_shebang): adjust only
expected stderr as a warning, assertion has meaning on ...
nobu (Nobuyoshi Nakada)
06:47 PM Bug #12148 (Closed): Backport r54000 (__pi_stacksize returned by pthread_getthrds_np() is wrong on AIX)
This is a ticket to back-port r54000 to 2.1, 2.2, and 2.3. ReiOdaira (Rei Odaira)
03:44 PM Revision e89d48a1 (git): * ruby.c (warn_cr_in_shebang): meaningless check on DOSISH platforms.
fixed a test failure introduced at r53998.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54023 b2dd03c8-39d4-4d...
U.Nakamura
03:29 PM Bug #11893 (Closed): Ruby keyword typo in Tk (require)
Applied in changeset r54022.
----------
* ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb: fix method name typo.
[rub...
nagachika (Tomoyuki Chikanaga)
03:28 PM Revision 99a35bf0 (git): * ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb: fix method name typo.
[ruby-core:72513] [Bug #11893] The patch provided by Akira Matsuda.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nagachika (Tomoyuki Chikanaga)
03:26 PM Bug #11891 (Closed): Initializer method name typo in Tk
Applied in changeset r54021.
----------
* ext/tk/lib/tkextlib/tcllib/toolbar.rb: fix method name typo.
[ruby-core:...
nagachika (Tomoyuki Chikanaga)
03:26 PM Revision 903b0ebe (git): * ext/tk/lib/tkextlib/tcllib/toolbar.rb: fix method name typo.
[ruby-core:72511] [Bug #11891] The patch provided by Akira Matsuda.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nagachika (Tomoyuki Chikanaga)
03:23 PM Bug #11890 (Closed): Initializer method name typo in Tk
Applied in changeset r54020.
----------
* ext/tk/lib/tkextlib/blt/tree.rb: fix method name typo.
[ruby-core:72510] [...
nagachika (Tomoyuki Chikanaga)
03:23 PM Revision 90dec6bc (git): * ext/tk/lib/tkextlib/blt/tree.rb: fix method name typo.
[ruby-core:72510] [Bug #11890] The patch provided by Akira Matsuda.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nagachika (Tomoyuki Chikanaga)
03:16 PM Bug #11886 (Closed): Font name typo in Tk library and samples
Applied in changeset r54018.
----------
* ext/tk/lib/tk/menubar.rb: fix a typo in font name. [ruby-core:72505]
[Bu...
nagachika (Tomoyuki Chikanaga)
03:16 PM Revision 52cf7cd0 (git): * 2016-03-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:15 PM Revision fea05956 (git): * ext/tk/lib/tk/menubar.rb: fix a typo in font name. [ruby-core:72505]
[Bug #11886] The patch provided by Akira Matsuda.
* ext/tk/sample/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nagachika (Tomoyuki Chikanaga)
08:17 AM Revision 43c3e415 (git): .travis.yml: add branches [ci skip]
* .travis.yml (branches): automatically run Travis on branches
created with `git feature` or `git bug` commands.
g...
nobu (Nobuyoshi Nakada)
06:24 AM Revision 59d92b54 (git): update-rubyspec: show latest commit
* Makefile.in, win32/Makefile.sub (update-mspec, update-rubyspec):
ensure the latest commits.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
04:53 AM Feature #12134: Comparison between `true` and `false`
Tsuyoshi Sawada wrote:
> Please do not confuse this with the common proposal to map booleans to integers, particul...
duerst (Martin Dürst)
04:33 AM Revision 9bb8f28f (git): class.c: err if superclass is 0
* class.c (rb_define_class, rb_define_class_id_under): raise
ArgumentError if super is 0, deprecated behavior which...
nobu (Nobuyoshi Nakada)
04:28 AM Revision 8e1a0856 (git): internal.h: functions for class internals
* internal.h: move function declarations for class internals from
include/ruby/intern.h.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
01:58 AM Revision 9c8d9f31 (git): win32ole_event.c: use rb_write_error_str
* ext/win32ole/win32ole_event.c (rescue_callback): use
rb_write_error_str instead of rb_write_error, to respect
t...
nobu (Nobuyoshi Nakada)
01:05 AM Revision bf5d6f07 (git): io.c: remove extra declarations
* io.c (rb_io_set_encoding): remove extra declarations,
rb_std{in,out,err} are defined in this file.
git-svn-id: s...
nobu (Nobuyoshi Nakada)

03/06/2016

07:31 PM Feature #12142: Hash tables with open addressing
On 2016/03/05 1:31, [email protected] wrote:
> So the packed element approach could be implemented too for the pr...
ko1 (Koichi Sasada)
07:01 PM Feature #12142: Hash tables with open addressing
On 2016/03/07 3:37, [email protected] wrote:
> I don't think it is a leak. What you measure is the maximal resid...
ko1 (Koichi Sasada)
06:37 PM Feature #12142: Hash tables with open addressing
Shyouhei Urabe wrote:
> Very impressive work. I'm excited to see your patch boosting ruby.
>
Thanks.
> Almo...
vmakarov (Vladimir Makarov)
03:01 PM Feature #12142: Hash tables with open addressing
Very impressive work. I'm excited to see your patch boosting ruby.
Almost everything I thought was already said b...
shyouhei (Shyouhei Urabe)
02:28 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> 7 minutes for filling 100_000_000 table (Int=>Int).
> Pretending time grows lineary, 140 minu...
vmakarov (Vladimir Makarov)
08:24 AM Feature #12142: Hash tables with open addressing
7 minutes for filling 100_000_000 table (Int=>Int).
Pretending time grows lineary, 140 minutes for filling 2_000_000...
funny_falcon (Yura Sokolov)
08:06 AM Feature #12142: Hash tables with open addressing
> Code with function (i << 2 + i + p + 1) & m is about 7% faster than one with simpler function (p + d) & h (14.5s vs... funny_falcon (Yura Sokolov)
04:26 AM Feature #12142: Hash tables with open addressing
Eric Wong wrote:
> Encouraging performance results!
>
Thanks.
> I didn't test fully, but "make test-all" g...
vmakarov (Vladimir Makarov)
03:59 AM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> Vladimir, you acts as if i said a rubbish or i'm trying to cheat you. It makes me angry.
>
...
vmakarov (Vladimir Makarov)
12:41 AM Feature #12142: Hash tables with open addressing
Encouraging performance results!

I didn't test fully, but "make test-all" gets stuck for me
test_callcc of Te...
normalperson (Eric Wong)
04:43 PM Revision ebf0005b (git): * 2016-03-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:43 PM Revision 5ce9b425 (git): * test/ruby/test_process.rb (test_execopts_gid): Skip a test
that is known to fail on AIX. AIX allows setgid to
a supplementary group, but Ruby does not allow the "-e"
option...
Rei Odaira
01:43 PM Revision 38e5dd1b (git): io.c: fix output of Array [ci skip]
* io.c (rb_obj_display): [DOC] fix output of Array, as Array#to_s
is same as Array#inspect since 1.9.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
08:34 AM Revision 8fbcc95d (git): * 2016-03-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:34 AM Revision 62f20b9d (git): eval_error.c: trivial optimization
* eval_error.c (warn_print): optimize warn_print with a string
literal, with rb_write_error2 instead of rb_write_er...
nobu (Nobuyoshi Nakada)
01:53 AM Bug #12146 (Rejected): Some between gem pg, postgresql and rails seems broken: active_record/connection_adapters/postgresql/database_statements.rb:155: [BUG] Segmentation fault at 0x00000000000000
```
/lib64/libpthread.so.0 [0x33d820f7e0]
/usr/lib64/libruby.so.1.8 [0x35bf841b0b]
/home/dominim6/.rvm/gems/ruby-2...
nobu (Nobuyoshi Nakada)
01:02 AM Feature #12077: Consolidate SSLSocket interface with TCPSocket
[email protected] wrote:
> Is there a reason why `SSLSocket#read` doesn't work the same
> as `SSLSocket#sys...
normalperson (Eric Wong)

03/05/2016

11:32 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> Vladimir, I'm sorry, I am too emotional.
That is OK.
vmakarov (Vladimir Makarov)
10:36 PM Feature #12142: Hash tables with open addressing
Vladimir, I'm sorry, I am too emotional. funny_falcon (Yura Sokolov)
10:08 PM Feature #12142: Hash tables with open addressing
Vladimir, you acts as if i said a rubbish or i'm trying to cheat you. It makes me angry.
You wrote:
> I believe y...
funny_falcon (Yura Sokolov)
06:07 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> Still, rebuilding is very time consuming process. And there are applications when Hash is used...
vmakarov (Vladimir Makarov)
06:04 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> Next note: `sizeof(struct st_table)` were 48 bytes before patch on x86_64, and after it is 88 ...
vmakarov (Vladimir Makarov)
06:01 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> I strongly believe `st_index_t` should be `uint32_t`. It will limit hash size to 2^32 elements...
vmakarov (Vladimir Makarov)
05:50 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> > Quadratic probing is most probably not faster on modern super-scalar OOO CPUs
> than the se...
vmakarov (Vladimir Makarov)
12:07 PM Feature #12142: Hash tables with open addressing
Still, rebuilding is very time consuming process. And there are applications when Hash is used as LRU cache.
Could...
funny_falcon (Yura Sokolov)
12:03 PM Feature #12142: Hash tables with open addressing
Next note: `sizeof(struct st_table)` were 48 bytes before patch on x86_64, and after it is 88 bytes (which will be ro... funny_falcon (Yura Sokolov)
10:40 AM Feature #12142: Hash tables with open addressing
I strongly believe `st_index_t` should be `uint32_t`. It will limit hash size to 2^32 elements, but even with this "s... funny_falcon (Yura Sokolov)
10:05 AM Feature #12142: Hash tables with open addressing
Vladimir Makarov wrote:
> Open addressing removes pointer making a smaller element which increases
> probability to...
funny_falcon (Yura Sokolov)
09:34 AM Feature #12142: Hash tables with open addressing
> Quadratic probing is most probably not faster on modern super-scalar OOO CPUs
than the secondary hash function I u...
funny_falcon (Yura Sokolov)
04:27 AM Feature #12142: Hash tables with open addressing
> In 3 cases out of 4, the proposed hash tables are more compact than the trunk ones.
Oops, I didn't realize. Sor...
mame (Yusuke Endoh)
03:37 AM Feature #12142: Hash tables with open addressing
Yusuke Endoh wrote:
>
> It consumes more memory not only when they are small.
>
> ~~~~
> # trunk
> $ /usr/bin/...
vmakarov (Vladimir Makarov)
01:25 AM Feature #12142: Hash tables with open addressing
Yusuke Endoh wrote:
> Vladimir Makarov wrote:
> > Thanks for the numbers. Is it a real world scenario?
>
> I ca...
vmakarov (Vladimir Makarov)
10:28 PM Bug #12146 (Rejected): Some between gem pg, postgresql and rails seems broken: active_record/connection_adapters/postgresql/database_statements.rb:155: [BUG] Segmentation fault at 0x00000000000000
Hello, I think I found a bug.
#### FRAME
*Working with ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux...
dieglock (Diego Carlock)
07:18 PM Feature #12145: Aliashood between `size` and `length` is not consistent
Similarly, `Enumerable#inject` and `Enumerable#reduce` and `Enumerable#map` and `Enumerable#collect` should be aliase... sawa (Tsuyoshi Sawada)
07:12 PM Feature #12145 (Open): Aliashood between `size` and `length` is not consistent
When `size` and `length` have the same implementation, depending on the class, they are either independently defined ... sawa (Tsuyoshi Sawada)
04:42 PM Feature #12138: Support `Kernel#load_with_env(filename, cbase: SomeMod, cref: someMod, binding: SomeMod) # => obj`
Robert A. Heiler wrote:
> +1 for the spirit of the suggestion
>
> Perhaps ruby 3.x will also feature some more ad...
josh.cheek (Josh Cheek)
10:20 AM Bug #12123: FileUtils.ln_s create a '.symlink' file not a symbolic link on windows
Nobuyoshi Nakada wrote:
> Could you show failed messages?
build using rubyinstaller with devkit=mingw64-64-4.7.2
...
personnel (Am I Who)
05:19 AM Feature #12141: send and __send__
I agree with Yusuke. The name `__send__` is chosen explicitly to show that this is an 'internal' method with special ... duerst (Martin Dürst)
04:45 AM Feature #12134: Comparison between `true` and `false`
As another example, let us consider displaying items in an issue tracker. There is an array `items` of items, each of... sawa (Tsuyoshi Sawada)
02:42 AM Feature #12134: Comparison between `true` and `false`
Just for comparison purposes, here's an example of the latter with #partition:
~~~ruby
[7, 6, 5, 4, 3, 2, 1].part...
shan (Shannon Skipper)
01:33 AM Revision 53fbaeab (git): parse.y: optimize negate_lit
* parse.y (negate_lit): optimize bignum, rational, and complex
negation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
12:54 AM Revision bf5d2c74 (git): * test/socket/test_addrinfo.rb (test_ipv6_address_predicates):
IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are broken
on AIX, so skip related tests.
git-svn-id: svn+ssh://ci.r...
Rei Odaira
12:29 AM Revision 1874524d (git): Sat Mar 5 09:17:54 2016 Rei Odaira <[email protected]>
* test/rinda/test_rinda.rb (test_make_socket_ipv4_multicast):
The fifth argument to getsockopt(2) should be modifie...
Rei Odaira

03/04/2016

11:11 PM Feature #12142: Hash tables with open addressing
Vladimir Makarov wrote:
> Thanks for the numbers. Is it a real world scenario?
I can imagine many cases: loading...
mame (Yusuke Endoh)
06:13 PM Feature #12142: Hash tables with open addressing
Yusuke Endoh wrote:
> Great, but it seems to need more work. It consumes nearly 2 times much memory.
>
> ~~~~
>...
vmakarov (Vladimir Makarov)
05:54 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> Small note: there is no need in pertrubation and 'python like' secondary hash cause ruby uses ...
vmakarov (Vladimir Makarov)
05:35 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> Great!
>
Thanks.
> Notes:
> - num_entries should remain num_entries. It is easier for...
vmakarov (Vladimir Makarov)
04:35 PM Feature #12142: Hash tables with open addressing
Nobuyoshi Nakada wrote:
> Koichi Sasada wrote:
> > * at first, you (or we) should introduce `st_num_entries()` (or ...
vmakarov (Vladimir Makarov)
04:31 PM Feature #12142: Hash tables with open addressing
Koichi Sasada wrote:
> Thank you for your great contribution.
>
Thanks you for your quick response. I am not a ...
vmakarov (Vladimir Makarov)
10:41 AM Feature #12142: Hash tables with open addressing
Great, but it seems to need more work. It consumes nearly 2 times much memory.
~~~~
# trunk
$ /usr/bin/time -f ...
mame (Yusuke Endoh)
09:00 AM Feature #12142: Hash tables with open addressing
Small note: there is no need in pertrubation and 'python like' secondary hash cause ruby uses strong hash function. B... funny_falcon (Yura Sokolov)
08:54 AM Feature #12142: Hash tables with open addressing
Great!
Notes:
- num_entries should remain num_entries. It is easier for you to change naming than fix all rubygem...
funny_falcon (Yura Sokolov)
05:50 AM Feature #12142: Hash tables with open addressing
Koichi Sasada wrote:
> * at first, you (or we) should introduce `st_num_entries()` (or something good name) to wrap ...
nobu (Nobuyoshi Nakada)
03:59 AM Feature #12142: Hash tables with open addressing
Thank you for your great contribution.
Do you compare memory usages?
There are good and bad points.
* Good
...
ko1 (Koichi Sasada)
03:09 AM Feature #12142 (Closed): Hash tables with open addressing
~~~
Hello, the following patch contains a new implementation of hash
tables (major files st.c and include/ruby/...
vmakarov (Vladimir Makarov)
10:48 PM Bug #12144 (Closed): Segfault in Ruby 2.3.0p0
Greetings,
I've recently started getting a segfault when running our integration test suite against Rails 3.1.12.
...
sandwich (Karl Sandwich)
10:43 PM Revision adde0a94 (git): * test/-ext-/float/test_nextafter.rb: In AIX,
nextafter(+0.0,-0.0)=+0.0, and nextafter(-0.0,+0.0)=-0.0,
but they should return -0.0 and +0.0, respectively. This ...
Rei Odaira
10:20 PM Revision 1ec6bb95 (git): * test/zlib/test_zlib.rb (test_adler32_combine, test_crc32_combine):
Skip two tests on AIX because zconf.h in zlib does not correctly
recognize _LARGE_FILES in AIX. The problem was alr...
Rei Odaira
06:14 PM Revision 2819add5 (git): * 2016-03-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:14 PM Revision a2594be7 (git): * thread_pthread.c (getstack): __pi_stacksize returned by
pthread_getthrds_np() is wrong on AIX. Use
__pi_stackend - __pi_stackaddr instead.
git-svn-id: svn+ssh://ci.ruby-l...
Rei Odaira
04:40 PM Bug #12143 (Closed): [DOC] Fix RDoc markup in doc/extension*.rdoc
This patch fixes broken RDoc in extension.rdoc and extension.ja.rdoc.
E.g. fixing labelled lists, comments (# -> -...
stomar (Marcus Stollsteimer)
02:44 PM Feature #12093: Eval InstructionSequence with binding
Do you mean same template with different contexts, a name is a variable one time, but a method call next time?
I dou...
nobu (Nobuyoshi Nakada)
01:42 PM Feature #12141: send and __send__
I can't understand this issue. You know there is `__send__` because `send` is often overridden. Then, why do you th... mame (Yusuke Endoh)
12:49 PM Feature #12141: send and __send__
Thanks for your feedback. :-)
I agree, it's a minor (cosmetic) issue. For example, Rails uses `__send__` only 17 t...
hermes128 (Sebastian Herm)
07:03 AM Feature #12141: send and __send__
Hmm the second send that appears in bold is a `__send__` - it seems
as if rubymine interpretes this as bold, sorry.
shevegen (Robert A. Heiler)
07:02 AM Feature #12141: send and __send__
I think this could only be done in ruby 3.x
But I believe that `.send` will remain because it is super short. :)
...
shevegen (Robert A. Heiler)
01:39 PM Revision f9fc092f (git): securerandom.rb: remove to_s call
* lib/securerandom.rb (gen_random): Array#join returns a String,
no to_s is needed.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
01:27 PM Revision 6b327e72 (git): ruby.c: warn_cr_in_shebang
* ruby.c (load_file_internal): warn if shebang line ends with a
carriage return.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
10:56 AM Feature #12062 (Closed): supporting CIDR in ENV["no_proxy"]
nobu (Nobuyoshi Nakada)
10:37 AM Revision d04ee29e (git): * gc.c: use 2 bits with unsigned int for rb_objspace::flags::mode
because it always returns 0 to 2 (non-negative value).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53997 b2dd...
ko1 (Koichi Sasada)
09:57 AM Bug #12136: OpenStruct.new(format: :bar).send :format # => too few arguments
Marc-Andre Lafortune wrote:
> Sadly, there's no way to know from `method_missing` if that method is called privately...
Eregon (Benoit Daloze)
12:45 AM Bug #12136: OpenStruct.new(format: :bar).send :format # => too few arguments
Indeed, latest optimization of `OpenStruct` now allows conflicts with Object private methods.
I didn't realize it,...
marcandre (Marc-Andre Lafortune)
09:53 AM Revision befcbc2c (git): * gc.c: rename "enum gc_stat" to "enum gc_mode"
because there is a same name (no related) function gc_stat().
Also gc_stat_* are renamed to gc_mode_*,
gc_stat_t...
ko1 (Koichi Sasada)
08:48 AM Feature #11547: remove top-level constant lookup
Scott Bronson wrote:
> Corin, I completely agree. Recently, Rails's nondeterministic autoload made it very hard for...
shugo (Shugo Maeda)
07:24 AM Bug #12044 (Closed): net/ftp.rb: add NullSocket#closed? to fix closing not yet opened connection
fixed at r53810 naruse (Yui NARUSE)
07:04 AM Feature #12138: Support `Kernel#load_with_env(filename, cbase: SomeMod, cref: someMod, binding: SomeMod) # => obj`
+1 for the spirit of the suggestion
Perhaps ruby 3.x will also feature some more advanced import-like system
fitt...
shevegen (Robert A. Heiler)
05:19 AM Revision 989a6f1c (git): ruby.c: simplify
* ruby.c (load_file_internal): simplify by local variables instead
of repeating RSTRING macros.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
04:34 AM Revision 38dd6a38 (git): test_rubyoptions.rb: encoding option
* test/ruby/test_rubyoptions.rb (test_shebang): use encoding
option to assert_in_out_err.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
03:53 AM Revision df091c5c (git): ruby.c: remove a magic number
* ruby.c (load_file_internal): remove a magic number, which means
the length of ruby_engine but the value is unknow...
nobu (Nobuyoshi Nakada)
12:29 AM Revision 5a90f9e8 (git): * lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.6.1.
Please see entries of 2.6.0 and 2.6.1 on
https://github.com/rubygems/rubygems/blob/master/History.txt
[fix GH-127...
hsbt (Hiroshi SHIBATA)

03/03/2016

11:27 PM Bug #12139: return OpenSSL::Random.random_bytes(n) call takes to long. OpenSSL:: bug on windows.
Sorry, I've forgotten to note that `Random.raw_seed` is Ruby 2.3 feature. usa (Usaku NAKAMURA)
10:42 PM Bug #12139: return OpenSSL::Random.random_bytes(n) call takes to long. OpenSSL:: bug on windows.
`Random.raw_seed` is an alternative to `OpenSSL::Random.random_seed`.
This calls `CryptGenRandom` internally.
BTW...
usa (Usaku NAKAMURA)
10:11 PM Bug #12139: return OpenSSL::Random.random_bytes(n) call takes to long. OpenSSL:: bug on windows.
Yui NARUSE wrote:
> Your issue sounds related with https://wiki.openssl.org/index.php/Random_Numbers#Windows_Issues
...
Justin (Justin Ward)
10:06 PM Bug #12139: return OpenSSL::Random.random_bytes(n) call takes to long. OpenSSL:: bug on windows.
Nobuyoshi Nakada wrote:
> Maybe the entropy pool exhausted?
> Does moving mouse or typing keyboard wake up OpenSSL?...
Justin (Justin Ward)
08:27 AM Bug #12139: return OpenSSL::Random.random_bytes(n) call takes to long. OpenSSL:: bug on windows.
Your issue sounds related with https://wiki.openssl.org/index.php/Random_Numbers#Windows_Issues
But [Bug 2100 the he...
naruse (Yui NARUSE)
08:26 AM Bug #12139 (Feedback): return OpenSSL::Random.random_bytes(n) call takes to long. OpenSSL:: bug on windows.
Maybe the entropy pool exhausted?
Does moving mouse or typing keyboard wake up OpenSSL?
nobu (Nobuyoshi Nakada)
05:45 AM Bug #12139 (Closed): return OpenSSL::Random.random_bytes(n) call takes to long. OpenSSL:: bug on windows.
I have been a windows dev for a while now. I have never solved this rails startup issue. Running one Rspec test takes... Justin (Justin Ward)
09:29 PM Feature #12141: send and __send__
Sorry, hard time editing/formating my post !
:-(
But I hope you understand what I mean !
hermes128 (Sebastian Herm)
09:21 PM Feature #12141: send and __send__
[deleted by author] hermes128 (Sebastian Herm)
09:17 PM Feature #12141 (Open): send and __send__
Hi guys !
We have this concept of sending messages to objects with `Object#send`, and that's fine, but often a chi...
hermes128 (Sebastian Herm)
09:05 PM Revision f1321bd6 (git): * 2016-03-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:05 PM Revision e5fc06cd (git): * test/ruby/test_io_m17n.rb (test_each_codepoint_need_more): Bump
timeout up to 10s for slower platforms and impls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53990 b2dd03c8-3...
headius (Charles Nutter)
08:03 PM Bug #11844: Please update unicode-licensed files (license issue)
Another thing - you're saying your copies of the files were modified. If the -data- inside them was modified, does th... zeha (Christian Hofstaedtler)
08:02 PM Bug #11844: Please update unicode-licensed files (license issue)
The non-free problem is with this line: "supplied in this file in the creation of products supporting the Unicode Sta... zeha (Christian Hofstaedtler)
05:46 PM Bug #12140 (Closed): Serialization of OpenStruct objects with YAML fails
Indeed, it's a dupe of #11884. marcandre (Marc-Andre Lafortune)
04:13 PM Bug #12140: Serialization of OpenStruct objects with YAML fails
Maybe it's a dup of https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/53366
jmanrubia (Jorge Manrubia)
04:04 PM Bug #12140 (Closed): Serialization of OpenStruct objects with YAML fails
When deserializing a serialized YAML open-struct object, it fails with an exception `NoMethodError: undefined method ... jmanrubia (Jorge Manrubia)
09:49 AM Misc #12124: Use Automake
Just I remind,
Ruby's Makefile must support nmake.
I know automake can generate Makefile which runs with bsdmake, b...
naruse (Yui NARUSE)
08:31 AM Revision e87d9a43 (git): parse.y: split nextc
* parse.y (parser_nextline, parser_cr): split less frequent paths
from parser_nextc.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
07:42 AM Revision f6347e38 (git): parse.y: cr_seen flag
* parse.y (parser_params): turn last_cr_line into cr_seen flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53...
nobu (Nobuyoshi Nakada)
06:22 AM Feature #11666: IPAddr#private?
As far as I understand RFC4193 never defines its range being "private". There also are other private-ish address ran... shyouhei (Shyouhei Urabe)
05:41 AM Bug #12100 (Closed): CSV converters fail when using single arg proc
closing as per request shyouhei (Shyouhei Urabe)
05:10 AM Feature #12093: Eval InstructionSequence with binding
"ISeq#compile's need of binding" means a template engine cannot cache compiled ISeqs for later invocation, right? I d... shyouhei (Shyouhei Urabe)
05:09 AM Bug #11587 (Closed): Make OpenStruct#new_ostruct_member and #modifiable fully private API
Applied in changeset r53987.
----------
ostruct.rb: make internal methods private
* lib/ostruct.rb (modifiable?, ne...
nobu (Nobuyoshi Nakada)
05:09 AM Revision 7c89ca54 (git): ostruct.rb: make internal methods private
* lib/ostruct.rb (modifiable?, new_ostruct_member!, table!):
rename methods for internal use with suffixes and make...
nobu (Nobuyoshi Nakada)
04:38 AM Feature #8921: Allow select, reject, etc to accept a regex
Do you still need this? We now have grep_v which resembles your reject example. shyouhei (Shyouhei Urabe)
03:08 AM Revision 09fefc2e (git): * 2016-03-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 AM Revision 80a8390c (git): test/unit: not return the cursor if verbose
* test/lib/test/unit.rb (update_status): do not return the cursor
if verbose mode, not results and times to overwri...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom