Activity
From 02/28/2016 to 03/05/2016
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.
-
10:36 PM Feature #12142: Hash tables with open addressing
- Vladimir, I'm sorry, I am too emotional.
-
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... -
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... -
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 ... -
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... -
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... -
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... -
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...
-
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...
-
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... -
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... -
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... -
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/... -
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... -
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... -
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...
-
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 ...
-
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... -
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
... -
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 ...
-
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...
-
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... -
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... - 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... - 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...
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... -
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.
>
> ~~~~
>... -
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 ... -
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... -
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 ... -
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 ... -
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 ... -
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...
-
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... -
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 ... -
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
... -
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/... -
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.
... - 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 ... - 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... - 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
- 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... -
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 (# -> -... -
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... -
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...
-
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... -
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. -
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. :)
... -
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-... -
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... -
10:56 AM Feature #12062 (Closed): supporting CIDR in ENV["no_proxy"]
-
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... -
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... -
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,... -
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... -
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... -
07:24 AM Bug #12044 (Closed): net/ftp.rb: add NullSocket#closed? to fix closing not yet opened connection
- fixed at r53810
-
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... -
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... -
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... -
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... -
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...
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.
-
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... -
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
... -
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?... -
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... -
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? -
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...
-
09:29 PM Feature #12141: send and __send__
- Sorry, hard time editing/formating my post !
:-(
But I hope you understand what I mean ! -
09:21 PM Feature #12141: send and __send__
- [deleted by author]
-
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... - 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
-
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... -
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...
-
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...
-
05:46 PM Bug #12140 (Closed): Serialization of OpenStruct objects with YAML fails
- Indeed, it's a dupe of #11884.
-
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
-
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 ...
-
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... -
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... -
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... -
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...
-
05:41 AM Bug #12100 (Closed): CSV converters fail when using single arg proc
- closing as per request
-
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...
-
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... -
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... -
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.
- 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
-
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...
03/02/2016
-
06:08 PM Feature #12138 (Feedback): Support `Kernel#load_with_env(filename, cbase: SomeMod, cref: someMod, binding: SomeMod) # => obj`
- Ruby's `require` and `load` methods currently only return `true`, which means that any code being loaded must affect ...
-
05:58 PM Bug #12137 (Closed): Ruby2.3 blk.binding crashes instead of giving "Can't create Binding from C level Proc (ArgumentError)"
- The following code raises an ArgumentError on 2.2. On 2.3, it crashes in binding.
~~~ruby
def repro(&blk)
blk.... -
03:24 PM Bug #12135 (Feedback): OptParse rejects --longopt= with a zero-length argument.
- What is "C's OptParse"?
-
10:57 AM Bug #12135 (Closed): OptParse rejects --longopt= with a zero-length argument.
- OptParse diverges from C's OptParse by rejecting a zero-length argument given to a long option.
C accepts it:
~... -
02:07 PM Bug #12127 (Third Party's Issue): LANG environment is not respected
- Yui NARUSE wrote:
> I can't reproduce it.
> Could you show `ruby/ruby -ve "p Encoding.find('locale');puts ''.encodi... -
12:53 PM Bug #12136: OpenStruct.new(format: :bar).send :format # => too few arguments
- It's this commit: https://github.com/ruby/ruby/blob/7fa21558051e5412dcb790f528e392476edd4389/lib/ostruct.rb
By def... -
11:19 AM Bug #12136 (Closed): OpenStruct.new(format: :bar).send :format # => too few arguments
- #send(:format) to an OpenStruct with a field named :format raises an ArgumentError in Ruby 2.3.0:
~~~
OpenStruct.... -
12:27 PM Feature #11527: IPAddr#mask_addr isn't a method
- There is a proposal for a fix on https://github.com/ruby/ruby/pull/1269 (see https://bugs.ruby-lang.org/issues/11210)
-
12:12 PM Feature #11210: IPAddr has no public method to get the current subnet mask
- Assigning this to the official maintainer of ipaddr.
Or should it be assigned to matz?
Could this be decided at t... -
11:16 AM Feature #12134: Comparison between `true` and `false`
- for the first case you can use #partition
```ruby
[7, 6, 5, 4, 3, 2, 1].partition{|e| Prime.prime?(e) }.flatten
... -
10:56 AM Feature #12134 (Open): Comparison between `true` and `false`
- There are some needs to sort elements depending on whether they satisfy certain condition expressed as a predicate. F...
-
07:49 AM Bug #10746 (Rejected): ruby bundles files that requires minitest/testunit (removed from library on 2.2.0)
-
07:43 AM Bug #10914 (Rejected): Always reproducible crash on FreeBSD with unicorn and 2.2.0p0 (2.1.5p273 too)
-
07:28 AM Revision 0534b970 (git): vm_eval.c: call method_missing by method entry
- * vm_eval.c (method_missing): call by found method entry and get
rid of searching the same method entry twice.
git... -
07:18 AM Revision be8005b9 (git): vm_eval.c: method_missing by method_missing
- * vm_eval.c (vm_call0_body): calling method_missing method is
method_missing().
git-svn-id: svn+ssh://ci.ruby-lang... -
07:03 AM Revision 61b9074c (git): test/unit: return the cursor
- * test/lib/test/unit.rb (update_status): keep the cursor to the
beginning of the line for each update, so that unex... -
06:19 AM Bug #9369 (Closed): Using XMLScanStreamParser in xmlrpc/parser may result in parse errors
- Applied in changeset r53981.
----------
* lib/xmlrpc.rb: Removed broken parser named XMLScanStreamParser.
It's not... -
06:19 AM Revision a2845a44 (git): * lib/xmlrpc.rb: Removed broken parser named XMLScanStreamParser.
- It's not works with current Ruby version.
[fix GH-1271][ruby-core:59588][Bug #9369]
* lib/xmlrpc/config.rb: ditto.
... -
06:12 AM Bug #9370 (Closed): Parse error when using XMLTreeParser in xmlrpc
- Applied in changeset r53980.
----------
* lib/xmlrpc.rb: Removed broken parser named XMLTreeParser.
Required gem o... -
06:12 AM Revision d8e3a924 (git): * lib/xmlrpc.rb: Removed broken parser named XMLTreeParser.
- Required gem of its parser didn't compile on newer Ruby versions.
[fix GH-1271][ruby-core:59590][Bug #9370]
* lib/x... -
03:42 AM Bug #12056: kwarg is not allowed after `return`
- cf https://docs.google.com/document/u/2/d/1rj7ODOCSfcsQeBd6-p-NiVwqxDUg05G66LwDOkKOGTw/pub
Matz is negative to this.
03/01/2016
-
08:31 PM Feature #12133 (Feedback): Ability to exclude start when defining a range
- An intuitive, approach would be to allow defining ranges like so:
~~~
[1..10]
[1..10)
(1..10]
(1..10)
~~~
... -
03:29 PM Bug #12088: Segmentation fault at 0x00000000000000 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
- 2.2.2 is outdated.
-
02:48 PM Bug #12088: Segmentation fault at 0x00000000000000 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
- Upgraded to 2.2.2
BTW. We'r using CentOS 6.6. libc2.12
Just faced with problem again:
~~~
*** glibc detected... - 03:00 PM Revision a400386d (git): * 2016-03-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:00 PM Revision 6d2c4e7b (git): Fix pull request number [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:43 PM Revision 58f7563d (git): vm_method.c: fix assertion
- * vm_method.c (prepare_callable_method_entry): assert same
condition only once for each case, not twice for module ... -
12:32 PM Bug #12132 (Closed): Crash during tests
- After updating a rails application to 2.3 I am experiencing intermittent crashes when I run `bundle exec rspec`
-
11:00 AM Feature #10617: Change multiple assignment in conditional from parse error to warning
- I find this really unintuitive and share some of 'bug hit's exasperation. It's clear that the return value, like ever...
-
10:40 AM Bug #12131 (Closed): Should defining singleton_method_added call itself?
- This seems surprising:
~~~
obj = Object.new
def obj.singleton_method_added(n)
p n
end
def obj.new_singleton... -
06:45 AM Bug #12130 (Closed): WEBrick::HTTPProxy closes connection when the socket is not writable temporally
- `WEBrick::HTTPProxy#do_CONNECT` closes connection when `Errno::EAGAIN` or `Errno::WOULDBLOCK` occurred.
These except... -
06:15 AM Feature #12115: Add Symbol#call to allow to_proc shorthand with arguments
- For a similar proposal, please cf. #10394.
-
02:41 AM Feature #12115: Add Symbol#call to allow to_proc shorthand with arguments
- Yes, `&:to_s(16)` is exactly my (rejected) proposal.
-
04:08 AM Bug #12127: LANG environment is not respected
- I can't reproduce it.
Could you show `ruby/ruby -ve "p Encoding.find('locale');puts ''.encoding"`? -
02:41 AM Bug #12127 (Feedback): LANG environment is not respected
- Can you explain what the problem is with
$ LANG=en_US.utf-8 ruby -e "puts ''.encoding"
US-ASCII
As far as I un... -
03:13 AM Feature #12129: syntactic sugar for dynamic method dispatch `object_expression:method_name_expression(1, 2)`
- Yukihiro Matsumoto wrote:
> Describe more concretely and preferably tell us why do you need it, please.
`object_e... -
03:00 AM Feature #12129: syntactic sugar for dynamic method dispatch `object_expression:method_name_expression(1, 2)`
- Describe more concretely and preferably tell us why do you need it, please.
Matz. - 02:26 AM Revision ab1a8045 (git): * 2016-03-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:26 AM Revision baa43cd0 (git): fileutils.rb: keyword arguments
- * lib/fileutils.rb: use keyword arguments instead of option
hashes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
02:23 AM Feature #12125: Proposal: Shorthand operator for Object#method
- Stefan Merettig wrote:
> * Using `.>`: `the_object.>a_method`
> * Using `<..>`: `the_object<a_method>`
These two... -
02:09 AM Bug #12128 (Rejected): Strings in `ARGV` are frozen
-
01:58 AM Feature #12113: Global method inside Delegator causes NameError
- Correction: the infinite recursion was a bug in the patch, and fixed the branch.
The trick of `Kernel` for [Bug #9... -
01:41 AM Bug #12126: [PATCH] openssl: accept moving write buffer for write_nonblock
- [email protected] wrote:
> Before this, a Rubyist would need to remember the exact object
> which failed to wr...
02/29/2016
-
11:06 PM Feature #12020: Documenting Ruby memory model
- I understand your point, I would like explore how it could be solved in MRI before relaxing the constant and method r...
-
10:03 PM Feature #12129 (Open): syntactic sugar for dynamic method dispatch `object_expression:method_name_expression(1, 2)`
-
09:34 PM Feature #12115: Add Symbol#call to allow to_proc shorthand with arguments
- Although I don't understand the Japanese, the linked issue, with a similar syntax to what Shel vacu proposed above, w...
-
08:45 PM Feature #12115: Add Symbol#call to allow to_proc shorthand with arguments
- I think there have been many other similar proposals. Nobu linked to other
discussions.
From what I have seen, I ... -
06:35 PM Feature #12115: Add Symbol#call to allow to_proc shorthand with arguments
- I agree that there should be some syntax for doing this, but I don't think this is the proper way to do it.
Person... -
08:40 PM Feature #12125: Proposal: Shorthand operator for Object#method
- I think the `&File->basename` looks confusing since we also have
`->` standalone now.
`object->method` reminds me... -
04:40 PM Feature #12125: Proposal: Shorthand operator for Object#method
- Please don't do this!!! No need to make the language more complex just to solve such small issue!!!
If you want to... -
02:29 PM Feature #12125: Proposal: Shorthand operator for Object#method
- How about this one?
~~~ruby
class UnfoundMethod
def initialize(receiver)
@receiver = receiver
end
... -
02:14 PM Feature #12125: Proposal: Shorthand operator for Object#method
- Yukihiro Matsumoto wrote:
> but I don't think `->` is a good idea.
Other options I can think of are:
* Using `... -
12:58 PM Feature #12125: Proposal: Shorthand operator for Object#method
- For this kind of "conceptual" methods I sometimes define just one-letter shortcuts in core_ext.rb, like `.map(&File.m...
-
12:37 AM Feature #12125: Proposal: Shorthand operator for Object#method
- I like the idea of short hand notation for `Object#method()`, but I don't think `->` is a good idea.
Matz. -
08:33 PM Bug #12128: Strings in `ARGV` are frozen
- I believe that this is actually how ruby may have behaved before the transition into frozen strings
already; at the ... -
07:35 PM Bug #12128: Strings in `ARGV` are frozen
- Be advised that you can say `ARGV.map!(&:+@)` if you really want to modify the elements in-place, but that's probably...
-
06:15 PM Bug #12128: Strings in `ARGV` are frozen
- Sorry, I found that it is indeed a feature that they are frozen. Please reject this.
-
06:08 PM Bug #12128 (Rejected): Strings in `ARGV` are frozen
- It is not clear how the frozen status of strings in `ARGV` are to be described, but regardless of what I try to do (i...
-
08:13 PM Bug #11962: Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
- We are trying to transition Debian unstable to ruby2.3, it would be very helpful to have this applied to the 2.3 branch.
-
07:56 PM Feature #11625 (Assigned): Unlock GVL for SHA1 calculations
- ext/digest should use OpenSSL, which has many optimizations.
But old ruby's ext/digest/sha1 was buggy.
Through r5... -
02:14 PM Bug #12127 (Third Party's Issue): LANG environment is not respected
- Ruby 2.2:
~~~
$ ruby -v
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux]
$ ruby -e "puts ''.encoding... -
01:02 PM Bug #12126 (Closed): [PATCH] openssl: accept moving write buffer for write_nonblock
- ~~~
By setting the SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag.
This flag was introduced at the same time as
SSL_MODE... -
12:35 PM Feature #12113: Global method inside Delegator causes NameError
- Benoit Daloze wrote:
> Would this patch allow to remove the special case for Kernel dispatch then? Or should it be k... -
10:17 AM Feature #12113: Global method inside Delegator causes NameError
- Nobuyoshi Nakada wrote:
> Benoit Daloze wrote:
> > Would that solve the OP example code since `some_func` is define... -
08:01 AM Feature #12113: Global method inside Delegator causes NameError
- Benoit Daloze wrote:
> Would that solve the OP example code since `some_func` is defined in `Object`, not `Kernel`?
... -
12:22 PM Revision 52bdb3ce (git): fileutils.rb: LowMethods aliases
- * lib/fileutils.rb (LowMethods): make alias methods instead of
eval for each methods.
git-svn-id: svn+ssh://ci.rub... -
08:36 AM Revision efa39c3d (git): fileutils.rb: reduce private
- * lib/fileutils.rb (Verbose, NoWrite, DryRun): make overridden
methods private by each one calls.
git-svn-id: svn+... -
08:36 AM Revision 6b3e5bb0 (git): fileutils.rb: reduce public
- * lib/fileutils.rb (Verbose, NoWrite, DryRun): make extended
methods public by each one calls.
git-svn-id: svn+ssh... -
08:36 AM Revision 13dadf3f (git): fileutils.rb: unify method definition style
- * lib/fileutils.rb: Unify to coding-style for method definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5... -
08:31 AM Misc #12124: Use Automake
- On 02/29/2016 03:17 PM, Eric Wong wrote:
> [email protected] wrote:
>> - I'm afraid automake contaminates thi... -
06:48 AM Misc #12124: Use Automake
- I generally for this, but ...
C.J. Collier wrote:
> It looks like there is a lot of duplicate code that could be ... -
06:21 AM Misc #12124: Use Automake
- [email protected] wrote:
> - I'm afraid automake contaminates this project with GPL.
Not true, automake giv... -
01:14 AM Misc #12124: Use Automake
- - I'm afraid automake contaminates this project with GPL.
- I'm afraid this world is not built on top of GNU. AFAIK... -
07:51 AM Revision c31d06ee (git): array.c: [DOC] remove trailing comma [ci skip]
- * array.c (rb_ary_push_m): [DOC] Remove trailing comma from
Array#push example, as other Array examples doesn't put... -
07:31 AM Revision 199e9106 (git): mkconfig.rb: cross_compiling option
- * common.mk, tool/mkconfig.rb: set cross_compiling option from
Makefile, but not from rbconfig.rb, which is just go... -
06:46 AM Bug #12123 (Feedback): FileUtils.ln_s create a '.symlink' file not a symbolic link on windows
- Could you show failed messages?
- 05:54 AM Revision 06efc1da (git): * 2016-02-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:54 AM Revision f7228ad8 (git): ruby-style.el: add an instruction to load
- [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:09 AM Bug #12078: Segmentation fault in did_you_mean with ruby revision 53608
- r53524 is the revision in the trunk, not 2.3.
And #11928's backport status to 2.3 is still REQUIRED. -
01:55 AM Bug #12120 (Feedback): [target/sh4] error: 'asm' operand requires impossible reload
- What constraints does `DTRACE_PROBE4` macro have?
-
01:02 AM Bug #12103: ruby process hangs while executing regular expression.
- On 02/28/2016 12:22 PM, Eric Wong wrote:
> Keep in mind the equivalent Perl terminates just fine:
Yes. But,
>...
02/28/2016
-
09:43 PM Feature #12125: Proposal: Shorthand operator for Object#method
- > The & operator lets one pass a #call-able object as block.
I meant `#to_proc`-able objects, sorry for the confus... -
09:39 PM Feature #12125 (Open): Proposal: Shorthand operator for Object#method
- Hello,
The `&` operator lets one pass a `#call`-able object as block.
Really useful feature, but at the moment,... -
02:14 PM Revision 0927f830 (git): configure.in: fold summary
- * configure.in: fold long lines in configuration summary
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53966 b2d... -
02:14 PM Revision 7b91046b (git): configure.in: summary
- * configure.in: Add summary to end of configure output.
[Fix GH-1277]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
01:54 PM Revision 1a9bc87a (git): configure.in: no leading spaces
- * configure.in (cflags, cppflags): remove unnecessary leading
spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
01:09 PM Bug #12078: Segmentation fault in did_you_mean with ruby revision 53608
- I also got a similar bug with Ruby 2.3.0p7 revision 53608. As the poster writes, this version is later than revision ...
-
11:41 AM Bug #12121: 異なる名前空間にある同名の定数により Module.constans の結果の並びが変わる
- 問題が起きたライブラリは dotenv というライブラリです。
https://github.com/bkeepers/dotenv
Module.constants の戻り値として `[Substitutions::Va... -
11:07 AM Bug #12121 (Feedback): 異なる名前空間にある同名の定数により Module.constans の結果の並びが変わる
- ちなみにどういうライブラリでどういう問題が起きたのでしょうか。
-
08:52 AM Bug #12121 (Rejected): 異なる名前空間にある同名の定数により Module.constans の結果の並びが変わる
- `Module#constants`に順序の保証はありません。
- 11:28 AM Revision 1b34bf19 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:28 AM Revision 018f0812 (git): * lib/drb/drb.rb (error_print): Add verbose failure messages and
- avoid infamous DRb::DRbConnError. [Feature #12101]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53962 b2dd03c... -
11:28 AM Feature #12101 (Closed): Add verbose failure messages and avoid infamous DRb::DRbConnError
- Applied in changeset r53962.
----------
* lib/drb/drb.rb (error_print): Add verbose failure messages and
avoid in... -
09:50 AM Feature #12113: Global method inside Delegator causes NameError
- Would that solve the OP example code since `some_func` is defined in `Object`, not `Kernel`?
Using `Kernel.method`... -
05:17 AM Feature #12113: Global method inside Delegator causes NameError
- It's the current spec that delegator cannot call private method of the target, because it was impossible to tell it w...
-
08:24 AM Misc #12124 (Closed): Use Automake
- It looks like there is a lot of duplicate code that could be removed by making use of automake.
Are there any reas... -
04:41 AM Revision 4d9f5482 (git): NoMethodError#private_call?
- * error.c (nometh_err_initialize): add private_call? parameter.
* error.c (nometh_err_private_call_p): add private_ca... -
04:40 AM Feature #12043 (Closed): Add a method to NoMethodError that tells if private methods are callable at the time of
- Applied in changeset r53961.
----------
NoMethodError#private_call?
* error.c (nometh_err_initialize): add private_... -
03:31 AM Bug #12103: ruby process hangs while executing regular expression.
- [email protected] wrote:
> Status changed from Open to Rejected
>
> I simplified this as follows:
> regex ... -
03:00 AM Bug #12123 (Closed): FileUtils.ln_s create a '.symlink' file not a symbolic link on windows
- when building ruby, 'test_cp_r_symlink' fail on make test-all
-
01:39 AM Revision 74e5e618 (git): test_exception.rb: split test_name_error_info
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:32 AM Feature #12110: Create a method to avoid vacuous truth?
- Martin Dürst wrote:
> Andrew Vit wrote:
>
> > This is still surprising to me, it looks like a contradiction:
> >... -
12:51 AM Feature #12110: Create a method to avoid vacuous truth?
- Andrew Vit wrote:
> This is still surprising to me, it looks like a contradiction:
>
> ```ruby
> [].any? #=> f... - 01:20 AM Revision 60c8bfb3 (git): * 2016-02-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:20 AM Revision 491c44e9 (git): Clarify set intersection and union documentation
- * array.c (rb_ary_and): clarify that set intersection returns the
unique elements common to both arrays.
* array.c...
Also available in: Atom