Activity
From 10/03/2015 to 10/09/2015
10/09/2015
-
06:10 PM Bug #11556: [PERF] app_strconcat
- benchmark results:
Execution time (sec)
name |ruby 2.3.0dev (2015-10-09 trunk 52095) [x86_64-linux]|ruby ... -
03:52 PM Feature #8976: file-scope freeze_string directive
- What about `"#{'foo'}"`?
-
06:06 AM Feature #8976: file-scope freeze_string directive
- In r52087, I've changed the behavior not to freeze dynamic string literals (e.g., "#{x}")
because dynamic string lit... -
03:35 PM Feature #11578 (Rejected): Add a method to check if a number is probably prime or composite (Patch included)
- Added a method to check if a given n is probably prime or composite using Miller- Rabin Test. This method is faster ...
-
01:40 PM Feature #11577 (Open): Add encodeURIComponent compatible API for URI
- How about adding encodeURIComponent/decodeURIComponent compatible API?
There's already have some methods:
* URI.e... -
07:12 AM Feature #11575: Blocks in ERB don't work as intended?
- I'm sorry I didn't make myself clear. Whitespace isn't the issue here - look at what's in `$results`.
With Erubis... -
02:51 AM Feature #11575 (Third Party's Issue): Blocks in ERB don't work as intended?
- ERB preserves white spaces even there is no `<%= %>` tags.
Seems an Erubis's issue. -
06:14 AM Bug #11576 (Closed): Inifnite recursion with inheritance provokes core dump
- Infinite recursion mixed with heritance (in the attached example with an inherited constructor) provokes a core dump....
10/08/2015
-
11:25 PM Bug #11060 (Open): load(fifo) blocks whole process
- [Bug #11559] の原因になっているようなので、reopenします。
-
11:24 PM Bug #11559 (Open): ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
-
09:32 PM Bug #11559 (Closed): ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
- Applied in changeset r52083.
----------
* benchmark/bm_require.rb: new benchmark for require.
* benchmark/bm_require... -
05:15 PM Bug #11559: ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
- 報告&調査ありがとうございます。
fifo を(というか長時間 block しうる fd から) load するというあまりなさそうなケースのために、顕著なパフォーマンスの悪化を伴なうのはよくないと思いますので、branch で... -
04:23 PM Bug #11559 (Assigned): ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
- エスパー能力により r50887 [Bug #11060] だと分かりました。
ためしにprintf入れてみたところ、yaml.loadの延長で結構な数の loadopen_func 処理(メッセージ末尾に貼ります)が走っており、
... -
09:57 PM Feature #11575: Blocks in ERB don't work as intended?
- Tried on 1.8.7, same results. Is there a spec for eRuby somewhere that I can refer to?
-
09:55 PM Feature #11575 (Rejected): Blocks in ERB don't work as intended?
- I'm not sure if this is a problem with ERB, but here it goes -
~~~
require 'ERB'
require 'Erubis'
$results =... -
05:44 PM Misc #10541: Remove shorthand string interpolation syntax
- This shorthand only works for variables with sigils (instance, class, global), not local variables. Was it decided th...
-
07:44 AM Bug #9679: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.2/lib/chef/util/diff.rb:129: [BUG] Segmentation fault
- is this issue been solved?
i got the same issue like this -
07:42 AM Bug #11574 (Rejected): chef-client-FATAL: Chef::Exceptions::ChildConvergeError: Chef run process terminated by signal 6 (IOT)
- Hi, I'm running chef-clien and got the following msg, please help to solve.
-------------sysinfo------------------... -
05:28 AM Feature #7846 (Closed): [ext/openssl] Disable TLS/SSL compression by default?
- Completed in r45274:
https://github.com/ruby/ruby/commit/699b209cf8cf11809620e12985ad33ae33b119ee -
05:27 AM Feature #11524 (Closed): Use TLS 1.2 to default version of OpenSSL
- Applied in changeset r52082.
----------
* ext/openssl/lib/openssl/ssl.rb: Default to TLSv1.2 and drop TLS v1
Patch... -
12:39 AM Bug #11573 (Third Party's Issue): Segmentation fault at 0x00000000000110
- It'd be a bug in the library which uses ffi.
10/07/2015
-
09:08 PM Bug #11573 (Third Party's Issue): Segmentation fault at 0x00000000000110
- This happens every time I run a Ruby bin (like RSpec or Rails console)
~~~
/Users/chris/.rbenv/versions/2.2.3/lib... -
04:51 PM Feature #11537: Introduce "Safe navigation operator"
- The `&&` and `try` are different. I am considering the `&&` version.
Since we already have:
a &&= b
whic... -
02:30 PM Feature #11537: Introduce "Safe navigation operator"
- I like the idea. My remaining concern is ".?" is too similar to "?." which is chosen by other languages.
We cannot u... -
02:47 PM Bug #11572: Urnary operator causing references to unreachable objects in 2.1.x ?
- Here's a link to the commit on GitHub: https://github.com/ruby/ruby/commit/2f3b28c682fe3010ed3b8803199616c12b52512d
-
02:45 PM Bug #11572 (Closed): Urnary operator causing references to unreachable objects in 2.1.x ?
- Perhaps this is an error on my part, but I stumbled across some weird GC behavior related to the unary & (ampersand) ...
-
01:29 PM Bug #11456: Hash リテラル中で rescue をもちいると SyntaxError になる
- Tomoyuki Chikanaga wrote:
> trunk でも `{ %q"key": value }` を復活させようということでしょうか?
どうしても復活させたいというわけでもないですが、互換性を保つべきだという... -
01:26 PM Bug #11551 (Rejected): `[BUG] cfp consistency error` for unidentified reasons
- It occurred a system stack overflow.
Ruby tries to catch it as possible, but it is very hard (or nearly impossible) ... -
11:13 AM Feature #8976: file-scope freeze_string directive
- Yusuke Endoh wrote:
> Does nobu seriously require all Rubyists to write codes like this? ;-)
>
> https://github.... -
07:46 AM Bug #11506 (Assigned): Changed behavior of URI.unescape between 2.1.5 and 2.2.3
- It is related with r46491 for [Feature #2542] (support RFC 3986)?
I think it is intended change.
naruse san, how ... -
07:33 AM Bug #11503 (Feedback): Segmentation fault at 0x00000000000094
- Hello, Nicolas.
Thank you for your report.
Please show us a self-contained script to reproduce this issue?
Reg... -
07:22 AM Bug #11501 (Assigned): About priority of a hash element when using {**hash1, **hash2} literal
- Hello, satoshi san.
Thank you for your report.
I've checked the behaviors on each versions from 2.1.0-2.1.7, 2.2.... -
06:11 AM Bug #11571 (Closed): シングルトンメソッドの中で def を使用した時の可視性が変わっている
- 以下のコードの可視性が 2.3 と 2.2 で異なっているようです
https://github.com/radar/paranoia/blob/rails4/lib/paranoia.rb#L189
ruby 2.3.0...
10/06/2015
-
09:52 PM Bug #11551: `[BUG] cfp consistency error` for unidentified reasons
- Aha, I got it. It has to do with minitest. Reproduction script: https://gist.github.com/sgrif/720b7473c5ce9a51d6e2
-
09:42 PM Bug #11551: `[BUG] cfp consistency error` for unidentified reasons
- I've tried to create an isolated script to reproduce the problem, but haven't been able to thus far. I'll keep seeing...
-
07:03 PM Bug #11456: Hash リテラル中で rescue をもちいると SyntaxError になる
- > `%w` じゃなくて `%q` や `%Q` ですよね。
おっしゃる通りです。手癖でまちがえました。
https://github.com/nobu/ruby/commit/918830f1236ffd2014261b... -
05:44 AM Bug #11456: Hash リテラル中で rescue をもちいると SyntaxError になる
- `%w` じゃなくて `%q` や `%Q` ですよね。
https://github.com/nobu/ruby/tree/feature/label-with-percent -
04:52 PM Misc #11570 (Open): Clarify autoload chaining behavior
- I've discovered a discrepancy between how MRI 2.1.7 and 2.2.3 handle autoload "chaining" (which I'll describe below) ...
-
03:08 PM Feature #8976: file-scope freeze_string directive
- Does nobu seriously require all Rubyists to write codes like this? ;-)
https://github.com/ruby/ruby/commit/36ca18... -
10:28 AM Bug #11480: killed by SIGIOT (signal 6) on fork
- Same failure.
https://travis-ci.org/ruby/ruby/jobs/83857724 -
04:41 AM Feature #11568 (Closed): Misleading warning for duplicate keys in a hash
10/05/2015
-
09:35 PM Feature #11569 (Closed): Optimize Proc#call
- Applied in changeset r52050.
----------
* proc.c: enable optimization of Proc#call.
[Feature #11569]
* NEWS: write... -
09:32 PM Feature #11569 (Closed): Optimize Proc#call
- Some years ago, I added optimized Proc#call that skips construction of a method frame for Proc#call and call block di...
-
09:27 PM Bug #11559: ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
- 一報、スレッドのほうはというと Bug #11030 だけなので、見るからに関係なさそう
-
08:41 PM Feature #11568 (Closed): Misleading warning for duplicate keys in a hash
- When a hash literal has duplicate keys as follows,
~~~ruby
{
a: "foo",
a: "bar",
}
~~~
the warning m... -
08:12 PM Bug #11515: CreateProcessW() can cause "Invalid access to memory location"
- I found an alternative code version here: http://stackoverflow.com/questions/4514027/createprocessw-acess-violation-i...
-
01:30 PM Bug #11515: CreateProcessW() can cause "Invalid access to memory location"
- Nobuyoshi Nakada wrote:
> `CreateChild` is never called with a constant `cmd`, as it is build at the runtime.
Am ... -
05:23 PM Bug #11567 (Closed): Segmentation fault CFUNC :gets
- Running the below code under 2.2.3 results in a segmentation fault. Runs without issue on 2.1.6. Output attached as a...
-
05:02 PM Bug #11456: Hash リテラル中で rescue をもちいると SyntaxError になる
- r50409, r51616, r51617 and r51624 were backported into `ruby_2_2` branch at r52046.
r50409 により { %w"key": 0 } が Sy... -
05:00 PM Bug #10653: do-end block in ternary operator is syntax error
- r50409, r51616, r51617 and r51624 were backported into `ruby_2_2` branch at r52046.
With r50409 a minor incompatibil... -
01:23 PM Feature #8976: file-scope freeze_string directive
- I see.
The error is happen without -*- frozen-string-literal: true -*-.
I understand that my emacs problem is not... -
01:14 PM Feature #8976: file-scope freeze_string directive
- That is, "(void-variable ruby-font-lock-keywords)" means ruby-mode.el doesn't support your Emacs.
It's irrelevant to... -
01:10 PM Feature #8976: file-scope freeze_string directive
- 21...
Does ruby-mode.el work? -
07:14 AM Feature #8976: file-scope freeze_string directive
- Nobuyoshi Nakada wrote:
> What line did you put?
>
> Emacs opens this file fine.
>
> ~~~ruby
> #
> # -*- fro... -
07:04 AM Feature #8976: file-scope freeze_string directive
- What line did you put?
Emacs opens this file fine.
~~~ruby
#
# -*- frozen-string-literal: true -*-
p "".froz... -
05:55 AM Feature #8976: file-scope freeze_string directive
- Sutou-san's objection apeal me.
I occur "File mode specification error: (void-variable ruby-font-lock-keywords)" w... -
06:42 AM Bug #11555 (Closed): [PATCH] Documentation for general use of Numeric class
- Applied in changeset r52037.
----------
* numeric.c: [DOC] Overview for Numeric class by Joe Corcoran
This patch w... -
06:35 AM Bug #11566 (Closed): Segfault when enumerating from a bad constructor.
- Applied in changeset r52036.
----------
proc.c: set ep properly
* proc.c (proc_new): link ep to calling block.
[r... -
04:52 AM Bug #11566: Segfault when enumerating from a bad constructor.
- I found out that this regression is caused by 51995
(https://github.com/ruby/ruby/commit/c90550c251f0c598458d52dd2cb... -
01:57 AM Bug #11566 (Closed): Segfault when enumerating from a bad constructor.
- ```ruby
Enumerator.new(&:foo).to_a
```
This should raise a `NoMethodError` as it does for older Rubies, but the ...
10/04/2015
-
06:42 PM Bug #11471: min, min_by, max, max_by with optional parameter return a wrong value
- Backported into `ruby_2_2` branch at r52032.
-
02:42 PM Bug #11471 (Closed): min, min_by, max, max_by with optional parameter return a wrong value
- Applied in changeset r52026.
----------
* enum.c (nmin_filter): Fix limit value.
patch by Helder Pereira.
[Bug #... -
05:45 PM Feature #11473: Immutable String literal in Ruby 3
- Akira Tanaka wrote:
> I think the usability can be improved.
> We don't need to choose "foo" and "foo".freeze.
> W... -
02:19 PM Bug #11565 (Closed): Error: recipe for target 'ruby-runner' failed
- Applied in changeset r52025.
----------
Makefile.in: ruby-runner with exeext
* Makefile.in (PREP): fix dependent fi... -
05:39 AM Bug #11565 (Closed): Error: recipe for target 'ruby-runner' failed
- When executing "make up; make install-nodoc" as I do almost everyday, I got the following error:
make[1]: Leaving ... -
01:06 PM Feature #11375 (Closed): Decreased Object Allocation in Pathname.rb
- Applied in changeset r52024.
----------
add ref. [Feature #11375] [ruby-core:70043] -
06:25 AM Bug #11486: euc-jpな文字列に対してgsubするとSEGVします
- r52016 で修正しました、報告ありがとうございます。
おそらくbm_search_icを使っているのは意図的なもので、その条件はマルチバイトに対応しているかではなく、
誤マッチが発生するか否かです。
EUC-JPで誤... -
06:14 AM Bug #11486 (Closed): euc-jpな文字列に対してgsubするとSEGVします
- Applied in changeset r52016.
----------
* enc/euc_jp.c (mbc_case_fold): check given string is valid or not,
and if... -
05:42 AM Feature #8976: file-scope freeze_string directive
- I agree with Yusuke Endoh and Kouhei Sutou: requiring -*- creates unnecessary variation among directives. Also, putti...
10/03/2015
-
04:12 PM Feature #8976: file-scope freeze_string directive
- Kouhei Sutou wrote:
> I object `-*- frozen_string_literal: true -*-` because it shows the following buffer on Emacs ... -
11:40 AM Feature #8976: file-scope freeze_string directive
- I object `-*- frozen_string_literal: true -*-` because it shows the following buffer on Emacs when I save or open the...
-
10:42 AM Feature #8976 (Open): file-scope freeze_string directive
- > Anyway it is orthogonal to frozen_string_literal itself.
I do NOT think so.
The current problem I concern is ... -
05:59 AM Feature #8976 (Closed): file-scope freeze_string directive
- Yusuke Endoh wrote:
> Since `encoding` magic comments do not require `-*-`, I don't expect frozen_string_literal r... -
03:11 AM Feature #8976 (Open): file-scope freeze_string directive
- Akira Matsuda wrote:
> ## the magic comment
>
> We chose this at the meeting.
>
> ~~~
> # frozen_string_liter...
Also available in: Atom