Project

General

Profile

Activity

From 02/05/2016 to 02/11/2016

02/11/2016

03:58 PM Feature #12062: supporting CIDR in ENV["no_proxy"]
Nobuyoshi Nakada wrote:
> https://github.com/ruby/ruby/compare/trunk...nobu:feature/12062-no_proxy-CIDR
:+1:
tha...
kumagi (宏樹 熊崎)
12:25 PM Feature #12062: supporting CIDR in ENV["no_proxy"]
https://github.com/ruby/ruby/compare/trunk...nobu:feature/12062-no_proxy-CIDR nobu (Nobuyoshi Nakada)
08:15 AM Feature #12062 (Closed): supporting CIDR in ENV["no_proxy"]
Ruby supports `ENV["no_proxy"]` in `lib/uri/generic.rb`
Current implementation expects comma separated hostname suff...
kumagi (宏樹 熊崎)
01:41 PM Feature #12063 (Closed): KeyError#receiver and KeyError#name
I propose **KeyError#receiver** and **KeyError#name** (or KeyError#key) like NameError.
I think these method help ...
ksss (Yuki Kurihara)
10:24 AM Misc #12004: Code of Conduct
Tomek Mańko wrote:
>
> This is not a rational discussion most of the time, but a lukewarm war of sorts.
And tha...
einhverfr (Chris Travers)
09:51 AM Feature #10793: Infrastructure/Release-Management: Sign releases
Yui NARUSE wrote:
> As far as I remember we discussed this topic before (but I can't find the ticket/mail).
>
> A...
aef (Alexander E. Fischer)
06:18 AM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
2.3.1 is the next patch level release.
nobu (Nobuyoshi Nakada)
03:54 AM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
Will this be released in a patch level release? Or do we have to wait till 2.3.1? fredngo (Fred Ngo)
03:33 AM Feature #11547: remove top-level constant lookup
Corin, I completely agree. Recently, Rails's nondeterministic autoload made it very hard for me to discover this pro... bronson (Scott Bronson)
03:24 AM Bug #12061 (Closed): DNS resolv error RuntimeError: can't modify frozen String when using IPv6 Addresses
usa (Usaku NAKAMURA)

02/10/2016

09:53 PM Bug #12061 (Closed): DNS resolv error RuntimeError: can't modify frozen String when using IPv6 Addresses
Just upgraded from Ruby 1.9.3-p194 to Ruby 2.3.0
eventmachine (1.0.9.1)
eventmachine_httpserver (0.2.1)
irb
2...
steve.misky (Stephen Misk)
01:57 PM Bug #12060 (Feedback): 2016_02_10 Downloaded Ruby 2.3.0 Fails to Build
Could you show ext/date/mkmf.log file? nobu (Nobuyoshi Nakada)
01:03 PM Bug #12060: 2016_02_10 Downloaded Ruby 2.3.0 Fails to Build
The sha256 of the downloaded
https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.gz
is exactly as advertis...
martin_vahi (Martin Vahi)
12:57 PM Bug #12060 (Closed): 2016_02_10 Downloaded Ruby 2.3.0 Fails to Build

The key phrase after executing make is:
~~~
make[1]: Leaving directory '/opt/mmmv/ruby/src/tmp/ruby-2.3.0'
Gen...
martin_vahi (Martin Vahi)
01:36 PM Bug #11988: YAML.dump doesn't quote string starting with 0 which will be recognized as float in YAML 1.2
I addressed this issue to upstream. ref https://github.com/tenderlove/psych/pull/270 hsbt (Hiroshi SHIBATA)
12:05 PM Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
FYI, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69291 was REOPENED,
because the "Issue still happens on i586 and f...
t-nissie (Takeshi Nishimatsu)
04:02 AM Feature #12059: `Array#single?`, `Hash#single?`
Right. Given the original examples by the OP `Enumerable#one?` works.
~~~ruby
a = ["object1", "object2"]
"There...
danielpclark (Daniel P. Clark)
02:11 AM Feature #12059: `Array#single?`, `Hash#single?`
`[1, false, nil].one?` also returns `true`.
From `ri Enumerable#one?`:
----------------------------------------...
nobu (Nobuyoshi Nakada)

02/09/2016

09:51 PM Feature #12059: `Array#single?`, `Hash#single?`
Ruby currently supports the `one?` method on both Hash and Array.
~~~ruby
[1].one?
# => true
{a: 1}.one?
# =>...
danielpclark (Daniel P. Clark)
04:31 PM Feature #12059: `Array#single?`, `Hash#single?`
I'm neutral for the proposal itself. If it is accepted, I think "singleton?" is the best name.
> In mathematics, ...
mame (Yusuke Endoh)
03:41 PM Feature #12059: `Array#single?`, `Hash#single?`
I feel like the usage of this method wouldn't be generic enough, and could be accomplished easily by `.size.one?` sikachu (Prem Sichanugrist)
03:37 PM Feature #12059 (Open): `Array#single?`, `Hash#single?`
There are some use cases when one wants to check if an array or a hash has exactly one element. I propose `Array#sing... sawa (Tsuyoshi Sawada)
05:52 PM Bug #11736: Float(arg) not consistent with documentation
I have prepared a patch for this. Let me know what you think. dpulliam (Dylan Pulliam)
05:30 PM Bug #9810: Numeric#step behavior with mixed Float, String arguments inconsistent with documentation
i finally got around to writing the patch : ) pretty basic but let me know what you think! dpulliam (Dylan Pulliam)
08:41 AM Feature #12034: RegExp does not respect file encoding directive
[email protected] wrote:
> File 0001-string.c-rb_external_str_with_enc-fall-back-to-ASCII.patch added
> File 0002...
normalperson (Eric Wong)
04:31 AM Feature #12034: RegExp does not respect file encoding directive
It failed on OS X.
nobu (Nobuyoshi Nakada)
07:41 AM Bug #12054 (Closed): Remove block from Logger.add as it's not needed
Applied in changeset r53790.
----------
* lib/logger.rb: Remove block from Logger.add as it's not needed
patch pro...
sonots (Naotoshi Seo)
04:54 AM Bug #11495 (Closed): [Documentation] Please improve documentation for Regexp.new() and clarify the 3 argument call
Applied in changeset r53784.
----------
* re.c: Remove deprecated kcode argument from Regexp.new and compile
patch...
zzak (zzak _)
03:43 AM Bug #11877 (Closed): Socket.gethostname will fail when the hostname length == RUBY_MAX_HOST_NAME_LEN
fixed in trunk at r53677. nagachika (Tomoyuki Chikanaga)
12:12 AM Bug #12058 (Closed): Unexpected value of __callee__ when including a module
I noticed a surprising behavior when invoking `__callee__` in an aliased method.
When invoked via a method created...
jessesielaff (Jesse Sielaff)

02/08/2016

01:20 PM Misc #12004: Code of Conduct
(deleted by hsbt)
RudolphHess (Rudolph Hess)
03:21 AM Bug #5720: Exceptions can be caused via eval that evade exception handling
It occurs when pushing arguments onto the VM stack, *before* the arity check.
The check cannot be before it since th...
nobu (Nobuyoshi Nakada)
01:30 AM Bug #12050 (Closed): Should feature processing really accept any substring of the feature name?
Applied in changeset r53772.
----------
ruby.c: err ambiguous feature name [ci skip]
* ruby.c (feature_option): ra...
nobu (Nobuyoshi Nakada)

02/07/2016

11:31 PM Feature #12034: RegExp does not respect file encoding directive
Eric Wong <[email protected]> wrote:
> Returning invalid strings is the main problem, I think;
> and we should ...
normalperson (Eric Wong)
10:41 PM Feature #12034: RegExp does not respect file encoding directive
[email protected] wrote:
> Eric Wong wrote:
> > How about fall back to ASCII-8BIT if we detect broken code range?...
normalperson (Eric Wong)
09:51 AM Feature #12034: RegExp does not respect file encoding directive
Eric Wong wrote:
> How about fall back to ASCII-8BIT if we detect broken code range?
It may be desirable or undes...
nobu (Nobuyoshi Nakada)
06:41 AM Feature #12034: RegExp does not respect file encoding directive
Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > That encoding has never changed since 1.9....
normalperson (Eric Wong)
10:39 PM Misc #12004: Code of Conduct
I'm taking a moment to appreciate programmers trying to fix an error by adding comments. jakedaywilliams (Jake Day Williams)
08:53 PM Feature #12057: Allow methods with `yield` to be called without a block
Or maybe not an iterator but a delimited continuation?
Probably the following behavior is more natural:
~~~ruby...
alexeymuranov (Alexey Muranov)
08:23 PM Feature #12057 (Open): Allow methods with `yield` to be called without a block
Trying to figure out how `yield` works in Python, i had the following idea.
Allow a method with `yield` to be call...
alexeymuranov (Alexey Muranov)
08:17 PM Bug #12050: Should feature processing really accept any substring of the feature name?
Usaku NAKAMURA wrote:
> Nobuyoshi Nakada wrote:
> > Eliminating all ambiguities is not always convenient, I think.
...
enebo (Thomas Enebo)
09:44 AM Bug #12050: Should feature processing really accept any substring of the feature name?
Nobuyoshi Nakada wrote:
> Eliminating all ambiguities is not always convenient, I think.
The convenience is deriv...
usa (Usaku NAKAMURA)
09:28 AM Bug #12050: Should feature processing really accept any substring of the feature name?
There is no ambiguous features now.
And, as for similar option, `--dump` which has `parsetree` and `parsetree_with_c...
nobu (Nobuyoshi Nakada)
04:45 AM Bug #12050: Should feature processing really accept any substring of the feature name?
I hope that it should be an `invalid option` error if it is ambiguous.
And, when such case, showing the list of cand...
usa (Usaku NAKAMURA)
02:26 AM Bug #12050: Should feature processing really accept any substring of the feature name?
`ruby --help` shows:
```
Features:
gems rubygems (default: enabled)
did_you_mean did_you_mean...
nobu (Nobuyoshi Nakada)
02:00 PM Feature #12046: Allow attr_reader :foo? to define instance method foo? for accessing @foo
Yay! Sometimes things just take a while. :) shevegen (Robert A. Heiler)
12:47 PM Feature #12043: Add a method to NoMethodError that tells if private methods are callable at the time of
Good suggestion IMHO, +1
The did_you_mean gem is great. If distinguishing between "()" and no "" will
make things...
shevegen (Robert A. Heiler)
11:10 AM Bug #5720: Exceptions can be caused via eval that evade exception handling
A question about the test you added, nobu:
```
def test_too_many_args_in_eval
bug5720 = '[ruby-core:41520]...
headius (Charles Nutter)

02/06/2016

05:28 PM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
Can someone clarify, what state is this feature in? Do we still need to get Matz's approval of String API change, or ... aledovsky (Aleksandrs Ļedovskis)
01:06 PM Bug #12056 (Rejected): kwarg is not allowed after `return`
Cited from http://aylog.tumblr.com/post/138772421042/return
```
$ ruby -e 'return foo: :bar'
-e:1: syntax error,...
nobu (Nobuyoshi Nakada)
09:54 AM Misc #12004: Code of Conduct
Motohiro KOSAKI wrote:
> ph ph wrote:
> > Vjatseslav Gedrovits wrote:
> > > OK, let's step back and see the bigger...
ph (ph ph)

02/05/2016

11:37 PM Misc #12004: Code of Conduct
In the interest of fairness I feel compelled to point out that the awesome-django ticket - while not fake - is quite ... jaen (Tomek Mańko)
04:12 PM Misc #12004: Code of Conduct
Coraline Ada Ehmke wrote:
> FYI I just got doxed for my role in proposing a code of conduct for the Ruby community. ...
reddiamond (Red Herring)
04:02 PM Misc #12004: Code of Conduct
So I would like to begin this by stating that I am actually afraid that I will loose my job and reputation by respond... reddiamond (Red Herring)
01:17 PM Misc #12004: Code of Conduct
Disclaimer: Yes, this is a new account, but I am not new in the Ruby community, and I am not hiding my identity.
I...
yuricson (Yuri Leikind)
06:34 AM Misc #12004: Code of Conduct
Question: if i get called a **"irrational, knee-jerk"** (that does ~~harass~~ hurt my feelings) does that violate the... Hanmac (Hans Mackowiak)
09:51 PM Feature #12020: Documenting Ruby memory model
[email protected] wrote:
> Thank you, for taking time to read it and for your input. I apologise
> for delayed answer,...
normalperson (Eric Wong)
02:56 PM Bug #12050: Should feature processing really accept any substring of the feature name?
Thomas Enebo wrote:
> Nobuyoshi Nakada wrote:
> > Intentional, and resolved in the defined order when it is ambiguo...
enebo (Thomas Enebo)
02:52 PM Bug #12050: Should feature processing really accept any substring of the feature name?
Nobuyoshi Nakada wrote:
> Intentional, and resolved in the defined order when it is ambiguous.
> I don't want to wr...
enebo (Thomas Enebo)
03:22 AM Bug #12050: Should feature processing really accept any substring of the feature name?
Intentional, and resolved in the defined order when it is ambiguous.
I don't want to write `--enable=frozen-string-l...
nobu (Nobuyoshi Nakada)
01:05 PM Bug #12055 (Closed): `NET::HTTPResponse` is not deflating responses with custom `Content-Range` header
The RFC 7233, section 4.2 describes the the possibility of using a custom `Content-Range` header and not only for byt... ggcampinho (Glauber Campinho)
12:17 PM Bug #12054 (Closed): Remove block from Logger.add as it's not needed
Logger add (lib/logger.rb) takes as arguments severity, message, progname and &block
The method runs the block thr...
eLobato (Daniel Lobato Garcia)
05:57 AM Bug #12053: Issue with installing pubnub gem on Arduino Yun
I would love to, but I'm sort of at the mercy of individuals who build the ruby packages for the Arduino. I did try t... maranhao (Bruno Maranhao)
05:11 AM Bug #12053 (Feedback): Issue with installing pubnub gem on Arduino Yun
I think we've fixed a similar bug.
Could you try 2.2.4?
nobu (Nobuyoshi Nakada)
03:57 AM Bug #12053 (Closed): Issue with installing pubnub gem on Arduino Yun
Hi, I've installed all of the Ruby packages available here (http://download.rsdev.16mb.com/OpenWrt/ChaosCalmer_15.05/... maranhao (Bruno Maranhao)
02:50 AM Bug #12052 (Closed): String#encode with xml option returns wrong result for totally non-ASCII-compatible encodings
`String#encode`をASCII非互換エンコーディングから同じエンコーディングへ、`xml:`オプション付きで呼ぶとおかしな結果を返します。
バイナリとして変換してしまっているようです。
```ruby
p "<\...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom