Activity
From 08/23/2013 to 08/29/2013
08/29/2013
-
08:09 PM Feature #8833 (Feedback): [PATCH] IPAddr#pred
- Add a IPAddr#pred method to return the predecessor of the ip address.
-
08:08 PM Feature #8793: Ruby 2.0 and Threads under HPUX
- On systems, I have a access to, the vps_pagesize is set to 16.
> /usr/sbin/kctune -v vps_pagesize
Tunable ... -
03:08 PM Feature #8793: Ruby 2.0 and Threads under HPUX
- Thank you.
I'm unsure about vps_pagesize and its default value, could you check it?
And, it might be better to us... -
07:07 PM Feature #8823 (Feedback): Run trap handler in an independent thread called "Signal thread"
- After discussion, I decide to reject this feature.
How about to permit Queue operation in trap handler with [ruby-... -
04:53 AM Feature #8823: Run trap handler in an independent thread called "Signal thread"
- >> If you mean, trap handler automatically disable nested trap, we
>> already do since 1.9.3.
>
> That's what ... -
03:28 AM Feature #8823: Run trap handler in an independent thread called "Signal thread"
- > Alternatively, queue trap handler execution in VM and make them
> uninterruptible (at Ruby-level) when running. T... -
06:54 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- I rewrite to use T_STRUCT instead of T_DATA (attached).
Matsushita-san:
Could you check it?
Issue:
With ext/t... -
02:43 PM Bug #8831 (Closed): test-all error: OpenSSL::SSL::SSLError: SSL_write: bad write retry
- There is a test-all error on some environments from r42695.
It seems depend on openssl's version.
http://www.ruby... -
01:06 PM Bug #8830 (Closed): Cannot Build Tk / Ruby 2.0.0 p247 on OSX (Mountain Lion)
-
09:40 AM Bug #8830 (Closed): Cannot Build Tk / Ruby 2.0.0 p247 on OSX (Mountain Lion)
- The file ext/tk/extconf.rb seems to contain a typo (misplaced parenthesis line 318; see output of 'diff -u ' below.
... -
12:52 PM Bug #8730: "rescue Exception" rescues Timeout::ExitException
- kosaki (Motohiro KOSAKI) wrote:
> > 具体的にはどのように解説されてどう利用されているんでしょうか。
>
> 残念ながら紙の書籍は手元にありませんが、
>
> 一番多いのは http:/... -
01:53 AM Bug #8730: "rescue Exception" rescues Timeout::ExitException
- > 具体的にはどのように解説されてどう利用されているんでしょうか。
残念ながら紙の書籍は手元にありませんが、
一番多いのは http://kwfsws.g.hatena.ne.jp/kiwofusi/201112... -
10:04 AM Bug #8656: Cannot Build Ruby-Tk
- backported to ruby_2_0_0 by r42370.
-
06:14 AM Feature #8811: Counterpart to `Hash#key?` for `Array`
- phluid61 (Matthew Kerwin) wrote:
> matz (Yukihiro Matsumoto) wrote:
> > Concrete use-case please? Besides that, I ... -
05:59 AM Feature #8827: A method that flips the receiver and the first argument
- I think this request is mostly a duplicate of #6721.
08/28/2013
-
09:05 PM Feature #8793: Ruby 2.0 and Threads under HPUX
- Nobu, thank you for your effort. I am going to test trunk ruby soon and I will let you know.
-
05:20 PM Feature #8793 (Closed): Ruby 2.0 and Threads under HPUX
- This issue was solved with changeset r42716.
Michal, thank you for reporting this issue.
Your contribution to Ruby is... -
08:41 PM Bug #8828 (Rejected): regex matching not correct
- Your bug.
Lookbehind matches the preceding part, which matches \s* in your regexp.
-
05:25 PM Bug #8828 (Rejected): regex matching not correct
- str = " [1]: http://google.com/ "Google""
str =~ /\A\s*\[(.+)\]\:\ (\S+)\s*((?<=").+(?=&qu... -
01:48 PM Feature #8827: A method that flips the receiver and the first argument
- charliesome, that has the same problem as nobu's. It does not return the final result. It gives back the receiver.
-
01:38 PM Feature #8827: A method that flips the receiver and the first argument
- =begin
some_chain_of_operations_that_ends_up_with_an_array.tap(&Hash.method(:[]))
=end -
01:35 PM Feature #8827: A method that flips the receiver and the first argument
- nobu, I think you mean `tap{|ary| break ...}`, etc. That does not look concise enough for me. It might look like a sm...
-
01:30 PM Feature #8827: A method that flips the receiver and the first argument
- =begin
You can write as:
some_chain_of_operations_that_ends_up_with_an_array.tap {|ary| Hash[ary]}
some_chain_of... -
01:18 PM Feature #8827 (Closed): A method that flips the receiver and the first argument
- =begin
If it often happens that we need to pass to a method an argument that is the result of a long chain of operat... -
11:25 AM Bug #8792 (Closed): HP-UX needs sys/pstat.h for missing/setproctitle.c
- This issue was solved with changeset r42713.
Michal, thank you for reporting this issue.
Your contribution to Ruby is... -
10:45 AM Feature #8825 (Feedback): Symbol Argument to any?
- =begin
Do you mean it is same as this?
foo.any? {|e| e.bar}
=end
-
02:54 AM Feature #8825 (Rejected): Symbol Argument to any?
- It would be nice if `any?` could take a symbol much like `map`. For example:
foo.any?(&:bar) -
04:53 AM Feature #8823: Run trap handler in an independent thread called "Signal thread"
- "ko1 (Koichi Sasada)" <[email protected]> wrote:
> == Disadvantage:
> * There is a small compatibility issue... -
03:43 AM Bug #8826 (Third Party's Issue): BigDecimal#div and #quo different behavior and inconsistencies
- BigDecimal's #div and #quo method behave differently despite the #div documentation says: "See BigDecimal#quo"
#di... -
03:36 AM Feature #8773: Binding#local_variables should work like #local_variable_set and #local_variable_get
- @ko1 do you have any thoughts about this?
-
01:11 AM Bug #8815: Enumerable.drop_while returns an Enumerator. Calling next twice on the Enumerator raises StopIteration even if there are still items available
- Isn't that backwards?
>> [1, 2, 3].drop_while { nil }
=> [1, 2, 3]
>> [1, 2, 3].drop_while { false }... -
12:07 AM Bug #6702: Date should be either required or not
- Just a short update from my side: Since my issue from comment #8 was mostly caused by bad .gemspec files from gems wh...
08/27/2013
-
09:23 PM Feature #8823: Run trap handler in an independent thread called "Signal thread"
- 2013/8/27 SASADA Koichi <[email protected]>:
> I think this spec reduce incompatibility problems.
> What do you t... -
08:53 PM Feature #8823: Run trap handler in an independent thread called "Signal thread"
- (2013/08/27 20:45), Tanaka Akira wrote:
> I suspect "raise RubyLex::TerminateLineInput" doesn't work as expected a... -
08:53 PM Feature #8823: Run trap handler in an independent thread called "Signal thread"
- 2013/8/27 ko1 (Koichi Sasada) <[email protected]>:
> Feature #8823: Run trap handler in an independent thread c... -
08:52 PM Feature #8823: Run trap handler in an independent thread called "Signal thread"
- I add an additonal implementation plan (called plan2) in attached PDF.
-
08:13 PM Feature #8823 (Rejected): Run trap handler in an independent thread called "Signal thread"
- = Abstract
How about to make an "Signal thread" to run trap handler?
= Problem
Now, all of thread synchroniz... -
06:11 PM Bug #8822: Incorrect encoding for ENV in Windows
- In Ruby 2.0 when assigning to ENV, seems it double encodes it.
But in Ruby 1.9 it's interesting that after assigning... -
05:57 PM Bug #8822 (Closed): Incorrect encoding for ENV in Windows
- When reading `ENV` and if it contains non-ASCII - string won't have correct encoding.
In Ruby 2.0 we can force it to... -
05:03 PM Bug #8767 (Closed): IO.copy_stream should write in binary mode.
- This issue was solved with changeset r42709.
Lin, thank you for reporting this issue.
Your contribution to Ruby is gr... -
04:46 PM Feature #8820 (Closed): Speed up Array#index
- This issue was solved with changeset r42704.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is... -
08:19 AM Feature #8820: Speed up Array#index
- Yes, sorry. I meant to use a random index with each iteration, not `i`. But per the suggestion, I think `i % 100` wou...
-
06:59 AM Feature #8820: Speed up Array#index
- Joel VanderWerf <[email protected]> wrote:
> On 08/26/2013 12:57 PM, Eric Wong wrote:
> >The performance ... -
05:23 AM Feature #8820: Speed up Array#index
- On 08/26/2013 12:57 PM, Eric Wong wrote:
> "trans (Thomas Sawyer)" <[email protected]> wrote:
>> def ma... -
04:59 AM Feature #8820: Speed up Array#index
- "trans (Thomas Sawyer)" <[email protected]> wrote:
> def main
> n = 10000000 # ten million
> ... -
02:31 AM Feature #8820 (Closed): Speed up Array#index
- I did a quick comparison:
In Ruby
def main
n = 10000000 # ten million
a = randPerm(100)
... -
04:45 PM Bug #8592: when outputing to console, it's encoding is ignored for Windows
- Raster fonts are also default for PowerShell and it does crash there too.
Is it just for my Win8 installation or e... -
04:28 PM Bug #8592: when outputing to console, it's encoding is ignored for Windows
- Is it some MinGW lib's fault for this?
It's still happening with ruby 1.9.3p448 and 2.0.0p247
seems very simila... -
11:50 AM Bug #8641 (Closed): Enumerator size argument is either mis-documented or should accept any callable
- This issue was solved with changeset r42698.
Avdi, thank you for reporting this issue.
Your contribution to Ruby is g... -
10:43 AM Bug #8730: "rescue Exception" rescues Timeout::ExitException
- 具体的にはどのように解説されてどう利用されているんでしょうか。
-
05:07 AM Bug #8730: "rescue Exception" rescues Timeout::ExitException
- ちょっと待った。
現在の挙動は様々な書籍などでも解説されており広く共有されている挙動なので
NEWSも書かずに変えてしまうのは適切じゃないように思います。
そもそもどこで議論した結果?
-
10:21 AM Feature #8437: custom operators, unicode
- boris_stitnicky (Boris Stitnicky) wrote:
> EDIT: .... Can't take my mind of this ... that unsightly dot, as in
>
... -
09:04 AM Feature #8811: Counterpart to `Hash#key?` for `Array`
- matz (Yukihiro Matsumoto) wrote:
> Concrete use-case please? Besides that, I don't think #index? is a good name for... -
07:41 AM Feature #5138 (Closed): Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- This issue was solved with changeset r42695.
Yehuda, thank you for reporting this issue.
Your contribution to Ruby is... -
06:23 AM Feature #8726: Class#source_location
- > Timeoutのバグの本質は、timeoutブロック内で rescue Exception した場合に、timeoutの実装が
> 内部的に使っている Timeout::ExitException を拾ってしまうことのようで... -
06:15 AM Bug #8821 (Closed): Add documentation for Time#w3cdtf
- These monkey-patches on Time weren't documented inside of RSS. Now they are.
-
04:04 AM Bug #8819: ChangeLog includes non us-ascii character
- I would suggest to change an encoding of Changelog to UTF-8.
Please remember why we credit contributor's name in Cha...
08/26/2013
-
05:27 PM Feature #8793: Ruby 2.0 and Threads under HPUX
- Nope, pthread_attr_init() populates default values.
-
04:53 PM Bug #8792: HP-UX needs sys/pstat.h for missing/setproctitle.c
- Hello,
it seems that I forgot to include a patch for...
I am sorry for that.
Michal -
04:25 PM Feature #8699 (Closed): Feature request: Detect line encoding problems
- This issue was solved with changeset r42691.
Matthew, thank you for reporting this issue.
Your contribution to Ruby i... -
01:27 PM Bug #8819 (Closed): ChangeLog includes non us-ascii character
- This issue was solved with changeset r42687.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby ... -
10:13 AM Bug #8819 (Closed): ChangeLog includes non us-ascii character
- ChangeLog should be us-ascii because local variables for emacs set "coding: us-ascii".
% ruby -e 'ARGF.each_line{|... -
01:23 PM Feature #8579: Frozen string syntax
- 24.08.2013 23:55 пользователь "kstephens (Kurt Stephens)" <
[email protected]> написал:
>
>
> Issue #8579 ha...
08/25/2013
-
11:24 PM Feature #8726: Class#source_location
- Timeoutのバグの本質は、timeoutブロック内で rescue Exception した場合に、timeoutの実装が
内部的に使っている Timeout::ExitExceptionの無名派生クラスを拾ってしまうことのようで... -
05:19 PM Bug #8816: Tempfile.new may return the same name for parallel calls
- Tempfile.create may help you to create unique file name, but it's your task to guarantee that it doesn't conflict.
-
04:23 AM Bug #8816: Tempfile.new may return the same name for parallel calls
- "akr (Akira Tanaka)" <[email protected]> wrote:
> http://bogomips.org/kgio.git/tree/test/test_unix_connect.rb :
>
... -
12:23 AM Bug #8816 (Third Party's Issue): Tempfile.new may return the same name for parallel calls
- Tempfile.new creates a normal file, not unix socket.
So, your report is questionable.
Note that Tempfile uses O_E... -
08:29 AM Bug #8818 (Closed): BigDecimal#power
- =begin
Optional argument `prec' to BigDecimal#power does not alter result precision:
b=BigDecimal.new("1.0344827... -
04:55 AM Feature #8579: Frozen string syntax
- How about something more generic? A prefix operator that memoizes and freezes any expression result in a thread-safe...
-
01:53 AM Bug #8817 (Closed): Method#owner on prepended classes is an instance rather than Class/Method
- rdoc indicates that Method#owner will return a class or module that defines a method. http://www.ruby-doc.org/core-2....
-
12:35 AM Feature #6216: SystemStackError backtraces should not be reduced to one line
- I'm not sure @matz/@ko1 understood what @postmodern was trying to describe.
Given an `overlfow.rb` ruby program:
...
08/24/2013
-
11:46 PM Feature #8579: Frozen string syntax
- I have found a problem with using f-suffix syntax.
What should happen in this case?
"hello "f "world"
No... -
10:23 PM Bug #8816 (Third Party's Issue): Tempfile.new may return the same name for parallel calls
- Two simultaneous call to Tempfile.new may return the same name. This may lead
to race conditions.
There some exam... -
10:41 AM Feature #8809: Process.clock_getres
- I updated the patch again.
-
09:24 AM Feature #8809: Process.clock_getres
- I updated the patch.
-
09:23 AM Feature #8809: Process.clock_getres
- david_macmahon (David MacMahon) wrote:
> I know it's not SI, but I often use ASCII "u" for Greek m ("µ"), so :mic... -
08:29 AM Bug #8810: GDBM.open内で処理がブロックしたらTimeout.timeout が効かない
- 2013/8/22 ngoto (Naohisa Goto) <[email protected]>:
>
> Issue #8810 has been reported by ngoto (Naohisa Goto...
08/23/2013
-
09:44 PM Bug #8815 (Rejected): Enumerable.drop_while returns an Enumerator. Calling next twice on the Enumerator raises StopIteration even if there are still items available
- Not a bug.
Enumerable#drop_while stops if the block returns false (or nil).
You have to feed true value to the en... -
06:08 PM Bug #8815 (Rejected): Enumerable.drop_while returns an Enumerator. Calling next twice on the Enumerator raises StopIteration even if there are still items available
- I have an enumerable (array) that contains 3 items
[1, 2, 3].
I send drop_while without a block to this array to... -
08:58 PM Bug #8758: Add initial documentation for SSLServer
- Hi Zachary,
Sorry for late reply.
I agree with your remarks. I will try to provide more detaled instruction and new... -
01:20 PM Feature #8811 (Feedback): Counterpart to `Hash#key?` for `Array`
- Concrete use-case please? Besides that, I don't think #index? is a good name for the function.
Matz.
-
04:04 AM Feature #8811 (Feedback): Counterpart to `Hash#key?` for `Array`
- =begin
`Hash` hash `key?` to tell if a key exists without checking the value. It would be convenient if there were a... -
08:23 AM Feature #8809: Process.clock_getres
- On Aug 22, 2013, at 3:37 PM, Tanaka Akira wrote:
> Process.clock_getres can return rational if it supports
> :ra... -
07:53 AM Feature #8809: Process.clock_getres
- 2013/8/23 David MacMahon <[email protected]>:
>>
>> Process.clock_getres(Process::CLOCK_MONOTONIC) #=> ... -
01:23 AM Feature #8809: Process.clock_getres
- On Aug 22, 2013, at 7:33 AM, akr (Akira Tanaka) wrote:
> I made a pacth to invoke clock_getres function.
Thank... -
05:26 AM Bug #8812 (Closed): RSS: document more constants
- As part of my continued efforts to document RSS, here is the documentation for several of the constants relating to n...
-
01:19 AM Bug #8806: SEGV in Date.rfc2822
- r42654 で ruby_2_0_0 ブランチにバックポートしました。
-
12:27 AM Bug #8810 (Closed): GDBM.open内で処理がブロックしたらTimeout.timeout が効かない
- GDBM.open内で処理がブロックした場合にTimeout.timeoutが効きません。
再現方法は、Solarisにて、以下のようにGDBMをオープンしたままにして、
$ ruby -r gdbm -e 'db = ...
Also available in: Atom