Activity
From 03/09/2016 to 03/15/2016
03/15/2016
-
11:23 PM Feature #12173: `Time#till_now`
- I think it would be best for these `from_now` and `until_now` methods to return a Time object rather than a Float.
-
08:21 AM Feature #12173: `Time#till_now`
- Tsuyoshi Sawada wrote:
> It is very frequent to have a time instance:
>
> ~~~RUBY
> t = Time.now
> ~~~
>
> a... -
04:54 AM Feature #12173: `Time#till_now`
- Tsuyoshi Sawada wrote:
> That is a homonym (as well as a homograph) of the word in question.
I also think "till" ... -
01:41 AM Feature #12173: `Time#till_now`
- 2016-03-14 21:06 GMT-04:00 <[email protected]>:
> Issue #12173 has been updated by Matthew Kerwin.
>
>
> Ts... -
01:06 AM Feature #12173: `Time#till_now`
- Tsuyoshi Sawada wrote:
> Matthew Kerwin wrote:
> > *till* means cash register, or to plough soil.
>
> That is a ... -
12:32 AM Feature #12173: `Time#till_now`
- Matthew Kerwin wrote:
> *till* means cash register, or to plough soil.
That is a homonym (as well as a homograph)... -
12:10 AM Feature #12173: `Time#till_now`
- Tsuyoshi Sawada wrote:
> Matthew Kerwin wrote:
> > Please note that "till_now" is not correct spelling; it should b... -
10:19 PM Bug #12146: Some between gem pg, postgresql and rails seems broken: active_record/connection_adapters/postgresql/database_statements.rb:155: [BUG] Segmentation fault at 0x00000000000000
- Hello Nobuyoshi Nakada. I been trying to solve this trouble, but my experience is limited. Do you know what causes th...
-
08:58 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> > The most exciting thing for me is that better hash tables can improve the performance of rea... -
08:13 PM Feature #12142: Hash tables with open addressing
- > The most exciting thing for me is that better hash tables can improve the performance of real applications.
So t... -
07:37 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> Murmur is not used for Hash, cause it is target for hashDoS - it has seed independent collisio... -
06:26 PM Feature #12142: Hash tables with open addressing
- >> I made the entries array is cyclical to exclude overhead of table
compaction or/and table size change for usage t... -
06:23 PM Feature #12142: Hash tables with open addressing
- Murmur is not used for Hash, cause it is target for hashDoS - it has seed independent collisions.
City64 also has se... -
04:34 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> Good day, everyone.
>
> I'm presenting my (pre)final version of patch.
Thanks. I'll i... -
01:30 PM Feature #12142: Hash tables with open addressing
- Good day, everyone.
I'm presenting my (pre)final version of patch.
It passes all tests and redmine works on it wi... -
08:06 PM Feature #12125: Proposal: Shorthand operator for Object#method
- -1000
Please, don't!!!
I don't wonna Ruby to become Perl!!!
No more unnecessary syntax!!!
You all are not... -
07:56 PM Feature #12125: Proposal: Shorthand operator for Object#method
- Yusuke Endoh wrote:
> Nobuyoshi Nakada wrote:
> > Yusuke Endoh wrote:
> > > +1 for this proposal. How about `recv... -
03:41 AM Feature #12125: Proposal: Shorthand operator for Object#method
- Nobuyoshi Nakada wrote:
> Yusuke Endoh wrote:
> > +1 for this proposal. How about `recv.:fname`?
>
> `dot_or_co... -
01:35 AM Feature #12125: Proposal: Shorthand operator for Object#method
- Yusuke Endoh wrote:
> +1 for this proposal. How about `recv.:fname`?
`dot_or_colon` means that `File:::basename`... -
07:11 PM Feature #12180: switch id_table.c variant
- Well, in fact '22' implementation (`simple open addressing with quadratic probing`) is even faster:
`Requests per ... -
06:51 PM Feature #12180 (Closed): switch id_table.c variant
- Currently used variant is 'binary search in small table + hash for large tables'.
But for contemporary CPU it may be... -
05:19 PM Bug #12179 (Open): Build failure due to VPATH expansion
- On my environment (GNU Make 4.1), I can reproduce in this way:
~~~sh
cd /tmp
svn co http://svn.ruby-lang.org/rep... -
04:42 PM Feature #11955: Expose Object that Receives logs in Logger
- Anything else that needs to be done for this patch?
-
04:21 PM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
- Thank you for the feedback nobu!
Attached is an updated version of the patch with the changes. -
03:46 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
- Thank you for the investigation and the patch, I've missed this.
you should:
* `free` the list in `ruby_vm_run_... -
02:47 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
- Attached is a patch that fixes this issue by replacing the troublesome usage of a VALUE to store the at_exit function...
-
12:11 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
- I'm hitting this as well, and looking over the code in question on 2.3.0, I wondering if the problem is that the at_e...
-
02:37 PM Bug #12178 (Closed): Enumerable#inject(:+) doesn't respect redefined Fixnum#+
- Fixed at r54122
-
11:58 AM Bug #12178 (Closed): Enumerable#inject(:+) doesn't respect redefined Fixnum#+
- r54120以降、Fixnum#+ を再定義している場合(する奴はいないとは思うものの)、inject(:+) の中で再定義後のメソッドが呼ばれなくなります。
```
C:\> ruby -ve "class Fixnum; ... -
11:27 AM Bug #12177 (Closed): Using `if:` as symbol in hash with new hash syntax in irb console is not working
- Try running **irb** and past this in:
~~~
# This works
class TestClass
@_alerts_config = {}
class << sel... -
08:50 AM Feature #12134: Comparison between `true` and `false`
- Martin Dürst wrote:
> Tsuyoshi Sawada wrote:
>
> > Please do not confuse this with the common proposal to map boo... -
08:14 AM Feature #12133: Ability to exclude start when defining a range
- Combination of different parens would be problematic for many reasons, e.g., editors.
Maybe, neko operator in Perl6? -
06:57 AM Feature #12133 (Feedback): Ability to exclude start when defining a range
- Do you have any practical situation where this is useful? The proposed grammar is ultra-hard to implement at sight (...
-
06:17 AM Bug #12109: Exception during class load can cause partially-loaded class
- You can write virtually anything inside a class definition. I don't think it's practically possible to revert all op...
-
06:03 AM Bug #12105 (Third Party's Issue): JSON.pretty_generate throws a TypeError when there is a BigDecimal object as a value
- It works for me. Can you narrow the condition to reproduce yours?
~~~
zsh % rbenv exec irb
irb(main):001:0> RUB... -
05:58 AM Bug #12176: method equality of aliased methods breakage on 2.3
- I think it is a bug.
-
04:57 AM Bug #12176 (Closed): method equality of aliased methods breakage on 2.3
- Is this intentional?
~~~ruby
zsh % cat tmp.rb
module Foo
def foo
return __callee__
end
end
class ... -
03:51 AM Bug #12143 (Closed): [DOC] Fix RDoc markup in doc/extension*.rdoc
- Applied in changeset r54110.
----------
* doc/extension.ja.rdoc: Fix RDoc markup in doc/extension*.rdoc.
[ci skip]... -
03:16 AM Bug #12073 (Closed): local variable interferes with keyword arguments
- Sean Linsley wrote:
> This is also an issue with array destructuring:
You are warned.
```
$ ruby -w -e 'def a... -
12:30 AM Bug #12073: local variable interferes with keyword arguments
- This is also an issue with array destructuring:
```ruby
def a(*b)
b
end
a = [1,2,3]
a a
=> [[1, 2, 3]... -
03:14 AM Bug #12170 (Closed): Malformed RDoc syntax in Kernel#catch description
- Applied at r54089
-
02:56 AM Misc #12122 (Closed): Array Documentation (set intersection, union)
- Merged at r53958
-
02:30 AM Bug #12174 (Rejected): Interpolation ignores `to_s` (and `inspect`) when `to_s` is defined to `nil`.
- Yes, to be interpolated into a string, `to_s` must return a string.
Non-string object cannot be concatenated to a st...
03/14/2016
-
11:09 PM Bug #12175 (Closed): rb_gc_mark prevents the value from being garbage collected if called outside of a GC cycle
- I had some code that called rb_gc_mark in an initializer function instead of in the corresponding mark function, and ...
-
10:52 PM Bug #12174: Interpolation ignores `to_s` (and `inspect`) when `to_s` is defined to `nil`.
- The description was too specific. Whenever `to_s` is defined to be not a string, the issue arises.
-
05:36 PM Bug #12174 (Rejected): Interpolation ignores `to_s` (and `inspect`) when `to_s` is defined to `nil`.
- When `to_s` is defined to return `nil`, interpolation prints the original inspection.
~~~RUBY
class A
def to_s... -
10:24 PM Feature #12173: `Time#till_now`
- Matthew Kerwin wrote:
> Please note that "till_now" is not correct spelling; it should be "until_now" or "til_now"
... -
08:55 PM Feature #12173: `Time#till_now`
- This is related to (but different from) #8640, #8096
-
08:41 PM Feature #12173: `Time#till_now`
- I would use both of these if they existed, and have defined my own equivalent versions in past projects.
Please no... -
07:48 PM Feature #12173: `Time#till_now`
- This can also be used to wait until a preset time:
~~~RUBY
target_time = Time.new(2017, 1, 1, 0, 0, 0)
sleep(-ta... -
04:57 PM Feature #12173 (Open): `Time#till_now`
- It is very frequent to have a time instance:
~~~RUBY
t = Time.now
~~~
and then after some operations, do:
... -
07:03 PM Feature #12026: Support warning processor
- Since this will be discussed tomorrow at the developers meeting, here's a more detailed example of how this can be us...
-
06:09 PM Feature #12092: Allow Object#clone to yield cloned object before freezing
- Since this will be discussed tomorrow at the developers meeting, here's a more detailed example of how this can be us...
-
04:46 PM Feature #12125: Proposal: Shorthand operator for Object#method
- +1 for this proposal. How about `recv.:fname`?
~~~
$ ./miniruby -e 'p Dir["*/*.c"].map(&File.:basename)'
["hypo... -
01:44 AM Feature #12125: Proposal: Shorthand operator for Object#method
- It would be nice if we could find symmetric syntax for getting an `UnboundMethod` from a module.
-
01:42 AM Feature #12125: Proposal: Shorthand operator for Object#method
- A proposal that has existed for years, if not decades, is to deprecate usage of the `::` double colon binary infix na...
-
01:30 PM Feature #12172 (Closed): Array#max and Array#min
- I propose to define `Array#max`. It is 10+ times faster than `Enumerable#max` since it skips a call to `#each`.
~... -
09:55 AM Bug #9905 (Closed): Fiber does not work on AIX
- Change status as Closed to enqueue backport.
-
01:35 AM Feature #12129: syntactic sugar for dynamic method dispatch `object_expression:method_name_expression(1, 2)`
- bug hit wrote:
> Yukihiro Matsumoto wrote:
>> Describe more concretely and preferably tell us why do you need it, p... -
01:32 AM Feature #12141: send and __send__
- Martin Dürst wrote:
> I agree with Yusuke. The name `__send__` is chosen explicitly to show that this is an 'interna... -
01:31 AM Bug #12069: [PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe
- Committed with a minor wording change as r54097
s/SSLSockets/SSLSocket objects/ for searchability -
01:20 AM Bug #12069 (Closed): [PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe
- Applied in changeset r54097.
----------
document OpenSSL::SSL::SSLContext#setup as MT-unsafe
On a cursory inspectio... -
12:41 AM Bug #12163 (Rejected): New to redmine & ruby, cannot get it to install
- This is not language issue.
You need to setup development files like headers and shared libraries.
03/13/2016
-
09:50 AM Feature #12161 (Assigned): Friendly BigDecimal#inspect
-
12:43 AM Bug #12171 (Closed): TestFile#test_file_share_delete failure
- Applied in changeset r54094.
----------
win32.h: fix O_SHARE_DELETE
* include/ruby/win32.h (O_SHARE_DELETE): change...
03/12/2016
-
11:33 AM Bug #12171 (Closed): TestFile#test_file_share_delete failure
- I got an failure in Mingw-w64 32bit.
~~~
1) Failure:
TestFile#test_file_share_delete [E:/Jenkins/jobs/RubyInstal... -
10:55 AM Feature #12165: Hash#first, Hash#last
- Yes, I would concur considering that ruby hashes are ordered these days.
It may have been different in the past wh... -
10:51 AM Bug #12163: New to redmine & ruby, cannot get it to install
- I am not sure if this is the appropriate forum Dawes? Since this is for the ruby core team to
have a look at what ai... -
08:01 AM Feature #12110: Create a method to avoid vacuous truth?
- Nobuyoshi Nakada wrote:
> Anybody proposed an optional parameter for the default value to `#all?` and `#any?` ?
... -
07:06 AM Feature #12110: Create a method to avoid vacuous truth?
- Anybody proposed an optional parameter for the default value to `#all?` and `#any?` ?
03/11/2016
-
06:32 PM Feature #3944: Add Fiber#root? method
- For example, the Facebook Graph API server accepts POST request to calculate smth heavy and returns id of the 'async ...
-
04:07 PM Bug #12170 (Closed): Malformed RDoc syntax in Kernel#catch description
- Patch attached.
-
01:05 PM Bug #12169 (Rejected): How to solve the following error - An error occurred while sending the digest (undefined method `length' for true:TrueClass)
- It's redmine or some plugin issue. Not ruby language issue.
-
12:14 PM Bug #12169 (Rejected): How to solve the following error - An error occurred while sending the digest (undefined method `length' for true:TrueClass)
- Steps to reproduce
1)Install Redmine 3
2)Install redmine_digest
3)Navigate to plugins
4)Configure redmine digest... -
12:42 AM Bug #12164: Binding UnboundMethod to BasicObject
- "Yes" was to
> Probably it is somehow related to https://bugs.ruby-lang.org/issues/11278
I guess it's a bug-fix, ... -
12:21 AM Bug #9905: Fiber does not work on AIX
- Could you back-port this to 2.1 as well? Thanks.
-
12:16 AM Bug #12168 (Closed): Backport r48224 to 2.1
- This is a ticket to back-port r48224 (and the fixes on which it depends) to 2.1. Ruby 2.1 gets stuck in test/openssl/...
03/10/2016
-
08:00 PM Bug #12167 (Closed): Backport r54025 (Avoid false positive in an IMAP test)
- This is a ticket to back-port r54025 to 2.3.
-
07:46 PM Bug #12166 (Closed): Backport r54073 (AIX does not set MSG_TRUC for recvmsg(2) with MSG_PEEK)
- This is a ticket to back-port r54073 to 2.3.
-
06:00 PM Feature #12165 (Open): Hash#first, Hash#last
- Just run into a simple problem with a colleague and was wondering why there is no Hash#last method?
~~~ruby
{a: t... -
02:04 PM Bug #12164: Binding UnboundMethod to BasicObject
- Nobuyoshi Nakada wrote:
> Yes.
Thank you! Well... a feature?
-
01:16 PM Bug #12164 (Closed): Binding UnboundMethod to BasicObject
- Yes.
-
11:22 AM Bug #12164 (Closed): Binding UnboundMethod to BasicObject
- I tried to bind method from Object to BasicObject and I suddenly succeeded.
For example:
```
$ irb
2.3.0 :001 ... -
09:41 AM Feature #12110: Create a method to avoid vacuous truth?
- Martin Dürst wrote:
> But this isn't so much because that's how natural language works.
That is how natural langu... -
09:06 AM Feature #12110: Create a method to avoid vacuous truth?
- Tsuyoshi Sawada wrote:
> In natural language, universal quantification carries a presupposition that the domain is... -
07:24 AM Feature #12110: Create a method to avoid vacuous truth?
- Thanks Martin and Tsuyoshi,
Yes, all of this makes sense when you just look at it the right way.
Otherwise this... -
06:59 AM Feature #12157: Is the option hash necessary for future Rubys?
- **Edited:**
_Tsuyoshi Sawada_: how do you feel about those edge cases dealing with the double splat? Do you know of ... -
05:58 AM Feature #12157: Is the option hash necessary for future Rubys?
- Note that optional hash is not just for arguments in method call. It is also used for arrays, for example:
["a... -
04:10 AM Feature #12160: Extract XMLRPC library to bundled gem
- As the lib/xmlrpc maintainer, I missed these issues. Sorry and thanks for handling them.
I handled issues I notice... -
12:07 AM Bug #12022: Inconsistent behavior with splatted named arguments
- _NOTE_: I did find a "cleaner" way to do the decorator mentioned in the **Further Information** section, but it uses ...
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... -
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...
-
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.
-
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...
-
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 ...
-
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 ...
-
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... -
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.
-
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.
-
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.
-
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...
-
02:01 PM Bug #11489: XMLRPC client cannot alter SSL options for _async calls
- Backported into `ruby_2_2` branch at r54069.
-
01:59 PM Bug #12011: honor Marshal.load post proc value for TYPE_LINK
- Backported into `ruby_2_2` branch at r54068.
-
01:46 PM Bug #11958: TCPSocket.getsockopt().bool raises a TypeError on windows
- Backported into `ruby_2_2` branch at r54067.
-
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...
-
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... -
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... -
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... -
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... -
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...
-
01:16 AM Bug #12156 (Assigned): TckImage.new broken after r53077 (2.3, trunk)
Also available in: Atom