Activity
From 02/13/2017 to 02/19/2017
02/19/2017
-
11:41 PM Feature #13221: [PATCH] gems/bundled_gems: add "curses" RubyGem
- > I'm concerned about the increasing tendency to unbundle core functionality (`curses`, `tcl/tk`, ...; and possibly ...
-
11:19 PM Bug #13233 (Feedback): [DOC] Fix rdoc for Rational
- No patch?
-
07:38 PM Bug #13233 (Closed): [DOC] Fix rdoc for Rational
- ```
rational.c: fix rdoc
* rational.c: [DOC] fix wrong indentations and comment out some lines
in code example... -
08:34 PM Feature #13219: bug in Math.sqrt(n).to_i, to compute integer squareroot, new word to accurately fix it
- To clarify further the limitations of using Float here:
``` ruby
n = 10**35
Math.sqrt(n).to_i # =... -
07:30 PM Feature #13219: bug in Math.sqrt(n).to_i, to compute integer squareroot, new word to accurately fix it
- After further testing I found the same errors when using **`Math.sqrt(n).to_i`** with
large number when using `(n**(... -
01:05 AM Feature #13219: bug in Math.sqrt(n).to_i, to compute integer squareroot, new word to accurately fix it
- To be clear, I am not saying **`Math.sqrt`** has a bug in it.
As stated, it produces a floating point result, which ... -
09:42 AM Bug #13232 (Assigned): Comparing BigDecimal to float or Rational fails sometimes
- Seems correct to me.
-
03:51 AM Bug #13232 (Closed): Comparing BigDecimal to float or Rational fails sometimes
- Under very special cases trying to compare a BigDecimal to a float or Rational will give an unexpected result:
... -
01:52 AM Bug #13231 (Closed): DateTime.strftime("%Z") does not return time zone abbreviation, returns hour and minute offset from UTC with colon
- First time here; hope I capture everything.
It appears to me that either the documentation is incorrect or the exp... -
01:29 AM Misc #13230 (Rejected): Better Do ... while structure
- I just saw this, and thought I'd pass it along.
http://ncomputers.org/suggestions/do%20while.cpp
```
Do ... wh... -
01:27 AM Bug #13227 (Closed): Crash when refine subclass method and call super
- Applied in changeset r57655.
----------
vm_insnhelper.c: super to module in refinement
* vm_insnhelper.c (vm_call_z... -
01:27 AM Revision 4d47e8d9 (git): vm_insnhelper.c: super to module in refinement
- * vm_insnhelper.c (vm_call_zsuper): method defined in module in
refinement is not callable as-is. dispatch again.
... -
01:12 AM Bug #13228: s[i]=c(assigning a character) for String is slower than Array on Linux
- `perf` shows that ruby spent most of the time in `search_nonascii()`.
```
$ perf record ruby -ve 'n=100000; s = "...
02/18/2017
- 10:38 PM Revision 7e5140e2 (git): * 2017-02-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:38 PM Revision 9cbe4553 (git): COPYING: expand tabs
- * COPYING: expand tabs like as the rest lines. [Fix GH-1526]
Author: Philippe Ombredanne <[email protected]>
g... -
10:34 PM Feature #13219: bug in Math.sqrt(n).to_i, to compute integer squareroot, new word to accurately fix it
- Robert A. Heiler wrote:
> If it would be a bug, as behaviour, why should `Math.sqrt()` itself not be able
> to deal... -
05:06 PM Feature #13219: bug in Math.sqrt(n).to_i, to compute integer squareroot, new word to accurately fix it
- I can not evaluate whether the above is correct or not (not saying that it is not,
I just simply do not know), but I... -
07:05 PM Misc #13072: Current state of date standard library
- > date library will be separeted from Ruby repository (stdlib) to date.gem
I think the concept of date (without ti... -
06:40 PM Feature #13221: [PATCH] gems/bundled_gems: add "curses" RubyGem
- _PS. A quote from a recent post (not by me) in ruby-talk:_
> I do not use Ruby anymore when I develop GUI applicat... -
06:26 PM Feature #13221: [PATCH] gems/bundled_gems: add "curses" RubyGem
- I'm concerned about the increasing tendency to unbundle core functionality (`curses`, `tcl/tk`, ...; and possibly soo...
-
05:16 PM Feature #13221: [PATCH] gems/bundled_gems: add "curses" RubyGem
- Here is the link to when curses was removed:
https://bugs.ruby-lang.org/issues/8584
I guess this is where two... -
05:07 PM Bug #13229: [DOC] Add document title for extension.rdoc
- I guess there is no shortage on developers who are able to use written japanese AND written
english. :) -
03:02 PM Bug #13229: [DOC] Add document title for extension.rdoc
- The current "title" of the extensions guide is "Basic Knowledge"...
Note that a contribution from a Japanese speak... -
03:01 PM Bug #13229 (Closed): [DOC] Add document title for extension.rdoc
- ```
extension.rdoc: add document title
* doc/extension.rdoc, doc/extension.ja.rdoc: [DOC]
add title and adapt ... -
03:27 PM Bug #13220: Enhance support of Unicode strings manipulation
- I tested all cases with normalized strings and they works except this examples:
"١".to_f and other to numeric conv... -
02:59 PM Bug #13220: Enhance support of Unicode strings manipulation
- Shyouhei Urabe wrote:
> Radovan Smitala wrote:
> > It's not my blog post. But when i tried some testing cases they ... -
02:37 PM Bug #13228 (Rejected): s[i]=c(assigning a character) for String is slower than Array on Linux
- `s[i]=c`(assigning a character) for `String` is slower than for `Array` on Linux.
If I split the `String` to `Arra... -
12:29 PM Bug #13227 (Closed): Crash when refine subclass method and call super
- Test script:
test.rb
~~~ ruby
class Parent
end
class Child < Parent
end
module FooBar
refine Paren... -
12:27 PM Bug #13226 (Closed): SIDEKIQ WORKER GETS KILLED
- More likely [Bug #12292]. Please reopen if upgrading to Ruby 2.3.3 does not fix.
[Bug #12993] was an issue specifi... -
11:30 AM Bug #13226: SIDEKIQ WORKER GETS KILLED
- Maybe [Bug #12993]?
-
11:02 AM Bug #13226 (Closed): SIDEKIQ WORKER GETS KILLED
- ```
/home/deployer/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/openssl/buffering.rb:322: [BUG] Segmentation fault at 0x007... -
08:50 AM Bug #13225 (Closed): [DOC] expand docs for Date shifting
- ```
ext/date/date_core.c: [DOC] expand docs for Date shifting
* add examples for Date#>> and Date#<< that clarify... -
05:52 AM Revision fbd5cda6 (git): {lib,test}/cgi: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:23 AM Bug #13222 (Closed): Array#sum inconsistency when init value is non-numeric
- Applied in changeset r57651.
----------
array.c: check if numeric
* array.c (finish_exact_sum): add 0 and the initi... -
04:23 AM Revision 3203ae53 (git): array.c: check if numeric
- * array.c (finish_exact_sum): add 0 and the initial value to check
if the latter is numeric. [ruby-core:79572] [Bu... - 03:42 AM Revision ca820606 (git): * 2017-02-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:42 AM Revision 7dccda43 (git): array.c: finish_exact_sum
- * array.c (finish_exact_sum): extract duplicate code from
rb_ary_sum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
01:55 AM Bug #13223: `File.join` will segv if File::SEPARATOR and File::Separator are set.
- @nobu I went by what the documentation says:
~~~
/*
* call-seq:
* File.join(string, ...) -> string
*... -
01:48 AM Bug #13223: `File.join` will segv if File::SEPARATOR and File::Separator are set.
- I doubt that the tests are expected results.
And a similar pattern:
```ruby
$; = " "
$a = nil
alias $; $a
a...
02/17/2017
-
11:19 PM Feature #13224 (Closed): Add FrozenError as a subclass of RuntimeError
- Currently, attempting to modify a frozen object leads to a `RuntimeError` exception. Unfortunately, this means it is...
-
10:24 PM Feature #13219: bug in Math.sqrt(n).to_i, to compute integer squareroot, new word to accurately fix it
- A new version **`intsqrt3`** is one line shorter, and more intuitive (to me)
but there is a neglible difference in s... -
05:47 PM Feature #13219: bug in Math.sqrt(n).to_i, to compute integer squareroot, new word to accurately fix it
- This works well in my code.
Easier to code and read with accurate results.
```ruby
class Integer
def sqrt_i... -
04:01 AM Feature #13219: bug in Math.sqrt(n).to_i, to compute integer squareroot, new word to accurately fix it
- I just realized **`class Integer`** has a **`bit_length`** instance_method.
It makes the code a bit simpler, easier ... -
03:34 AM Feature #13219: bug in Math.sqrt(n).to_i, to compute integer squareroot, new word to accurately fix it
- This is the C version of the algorithm.
I put the part before the start of the **while** loop of the ruby
version ... -
12:57 AM Feature #13219: bug in Math.sqrt(n).to_i, to compute integer squareroot, new word to accurately fix it
- Since this method is designed to operate on integers it would be nice to make it
a **`class Integer`** method, then ... -
12:32 AM Feature #13219: bug in Math.sqrt(n).to_i, to compute integer squareroot, new word to accurately fix it
- On my 64-bit Linux OS laptop with an I7 cpu, I tested that **`Math.sqrt(n).to_i`** gives correct
answers from `(0..9... -
06:27 PM Bug #13223 (Closed): `File.join` will segv if File::SEPARATOR and File::Separator are set.
- The program below will crash with a segv:
~~~ruby
File.const_set :Separator, "hello"
File.const_set :SEPARATOR, ... -
03:43 PM Bug #13102: Confusing method name: Set#delete?
- I was referring to the use of bang [method names](http://ruby-doc.org/core-2.4.0/doc/syntax/methods_rdoc.html#label-M...
-
03:34 PM Bug #13102: Confusing method name: Set#delete?
- Stefan Schüßler wrote:
> Not really, `Set#delete` also modifies the receiver.
>
> The actual difference is that `... -
01:31 PM Revision 3d031cea (git): test_fileutils.rb: no broken symlinks on Cygwin
- * test/fileutils/test_fileutils.rb (no_broken_symlink): exclude
test using broken symlinks on Cygwin, which are not... -
01:31 PM Revision 1b4df625 (git): test_fileutils.rb: fix relative symlink path
- * test/fileutils/test_fileutils.rb (test_rm_symlink): fix relative
symlink path, the target should be relative to t... -
11:56 AM Feature #13172: Method that yields object to block and returns result
- .patch file
-
11:23 AM Bug #13220: Enhance support of Unicode strings manipulation
- Radovan Smitala, an example for splitting up into subsections could be seen here:
https://bugs.ruby-lang.org/iss... -
08:21 AM Bug #13220: Enhance support of Unicode strings manipulation
- Note that these results are in NFD.
It seems to result as expected by using NFC. -
07:44 AM Bug #13220: Enhance support of Unicode strings manipulation
- Radovan Smitala wrote:
> It's not my blog post. But when i tried some testing cases they were really wrong and unexp... -
06:33 AM Bug #13220: Enhance support of Unicode strings manipulation
- Yes i know its little bit large issue.
I'm not sure how to handle it and separate problematic parts into content b... -
02:31 AM Bug #13220 (Feedback): Enhance support of Unicode strings manipulation
- Can you split this request into several ones? Because what this ticket aims is a bit too large and perhaps vague. I...
-
11:00 AM Bug #11567: Segmentation fault CFUNC :gets
- I'm having the same problem. Running the code as it is, I get reproducible crashes with both Ruby 2.3.1 and 2.4.0:
... -
10:59 AM Bug #13222 (Closed): Array#sum inconsistency when init value is non-numeric
- Since Array#sum skips calling plus for `0` https://github.com/ruby/ruby/blob/c85a58d/array.c#L5831-L5832, it doesn't ...
-
10:22 AM Revision c85a58d5 (git): test_fileutils.rb: workaround for Cygwin
- * test/fileutils/test_fileutils.rb (root_in_posix): seems Cygwin
has some different conditions for privilege.
git-... -
10:22 AM Revision 1ac36ecf (git): test_fileutils.rb: cache distinct UIDs
- * test/fileutils/test_fileutils.rb: cache distinct UIDs as
constants at initialization. assume no UIDs will be
a... - 05:45 AM Revision 68319db7 (git): * 2017-02-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:45 AM Revision 6877de73 (git): DEPRECATED_INTERNAL_FEATURE
- * error.c (ruby_deprecated_internal_feature): renamed, to
explicitly represent deprecation.
* internal.h (DEPRECAT... -
12:31 AM Feature #13221 (Closed): [PATCH] gems/bundled_gems: add "curses" RubyGem
- This was part of the standard library in Ruby 2.0 and earlier;
and some users may still expect it to be in the stand...
02/16/2017
-
10:34 PM Bug #13220 (Feedback): Enhance support of Unicode strings manipulation
- Hi,
last days, Starr Horne posted very interesting testing results about manipulation unicode strings in Ruby 2.4.... -
10:19 PM Feature #13219 (Closed): bug in Math.sqrt(n).to_i, to compute integer squareroot, new word to accurately fix it
- In doing a math application using **Math.sqrt(n).to_i** to compute integer squareroots
of integers I started notici... -
06:52 PM Bug #13215: Cross compiling Ruby Gems uses Build System Linker Options
- Thanks. I created a ticket in their tracker: https://github.com/rubygems/rubygems/issues/1840
-
07:47 AM Bug #13215: Cross compiling Ruby Gems uses Build System Linker Options
- RubyGems is bundled but not a part of Ruby.
The upstream is https://github.com/rubygems/rubygems.
I have never cros... -
02:48 PM Revision 14d61a94 (git): variable.c: fatal rb_generic_ivar_table
- * variable.c (rb_generic_ivar_table): raise fatal error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57642 b2d... -
01:34 PM Bug #13218 (Feedback): testing
- Please post the whole message.
And 2.3.0p0 is outdated, try 2.3.3. -
12:51 PM Bug #13218 (Rejected): testing
- I am following the Rails Tutorial e-book (https://www.railstutorial.org/book/modeling_users). I have reached chap6, w...
-
11:54 AM Bug #13217: JSON.parse() chokes on the UTF-8 character EM SPACE (U+2003, e2 80 83)
- Martin Dürst wrote:
> RFC 7159 defines what's allowed as spaces between data. Please see the 'ws' production at http... -
11:44 AM Bug #13217 (Rejected): JSON.parse() chokes on the UTF-8 character EM SPACE (U+2003, e2 80 83)
- RFC 7159 defines what's allowed as spaces between data. Please see the 'ws' production at https://tools.ietf.org/html...
-
11:29 AM Bug #13217 (Rejected): JSON.parse() chokes on the UTF-8 character EM SPACE (U+2003, e2 80 83)
- ### Steps to reproduce
No error here:
```
require 'json'
json = %Q{
["a", "b"]
}
obj = JSON.parse(js... -
09:15 AM Revision ccc388d8 (git): use rb_iseq_check() for USE_LAZY_LOAD, too.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:42 AM Bug #13214 (Closed): FileUtils::mkdir_p creates additional (unrequested) directory on Cygwin
- Applied in changeset r57640.
----------
fileutils.rb: do not make root
* lib/fileutils.rb (FileUtils#mkdir_p): no n... -
08:42 AM Revision 3261cfd8 (git): fileutils.rb: do not make root
- * lib/fileutils.rb (FileUtils#mkdir_p): no need to make root
directory which should be exist and cannot be made wit... -
08:24 AM Revision a1738430 (git): use rb_iseq_check() for USE_LAZY_LOAD.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:03 AM Bug #13216: Possible unexpected behaviour reading string starting with a byte order mark
- Shyouhei Urabe wrote:
> > $ echo -n -e '\xEF\xBB\xBFid' | ruby -e 'puts STDIN.read.bytes.pack("U")'
> > ï
>
> Th... -
01:41 AM Bug #13216: Possible unexpected behaviour reading string starting with a byte order mark
- Hello.
Gabriel Giordano wrote:
> $ echo -n -e '\xEF\xBB\xBFid' | ruby -e 'puts STDIN.read.bytes'
> 239
> 187
>... - 02:47 AM Revision f4e0086d (git): * 2017-02-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:47 AM Revision 9019934c (git): win32.c: memcpy instead of strlcpy
- * win32/win32.c (cmdglob): memcpy the exact size instead of
strlcpy with +1.
* win32/win32.c (w32_cmdvector): ditt... -
02:33 AM Feature #7792: Make symbols and strings the same thing
- > result = some.rpc_method(foo:123, bar:"baz")
>
> I find that i like the syntax enough, that I'll put up with h... -
02:21 AM Feature #7792: Make symbols and strings the same thing
- Hi Daniel,
Daniel Ferreira wrote:
>
> > (If not for the garbage collection problem, I would have designed
> > ... -
01:22 AM Feature #7792: Make symbols and strings the same thing
- Hi Bill
> One example:
>
> Since symbols aren't garbage collected, my Ruby-based RPC system
> is designed ...
02/15/2017
-
08:58 PM Bug #13216 (Closed): Possible unexpected behaviour reading string starting with a byte order mark
- Maybe the comparison between symbols has an unexpected behaviour. Tested with ruby 2.4.0
```
$ echo -n -e '\xEF\x... -
04:41 PM Bug #13215: Cross compiling Ruby Gems uses Build System Linker Options
- If Rubygems (which I thought was part of Ruby now?) doesn't support cross-compiling Ruby gems, how do you cross-compi...
-
07:17 AM Bug #13215 (Third Party's Issue): Cross compiling Ruby Gems uses Build System Linker Options
- Does rubygems support cross-compiling?
-
01:41 PM Feature #13211: Hash#delete taking a splat
- Okay, yes, an arbitrary number of arguments. Is this something to which people would be amenable?
-
12:10 PM Feature #13211: Hash#delete taking a splat
- Whether to accept a splat (perhaps on an array) at the beginning of an argument is not something to be specified as a...
-
11:17 AM Revision 12cccce6 (git): Update gems/bundled_gems
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:51 AM Revision 22510511 (git): gmake.mk: mflags without -jN
- * defs/gmake.mk (mflags): override the definition in common.mk
without -jN option.
git-svn-id: svn+ssh://ci.ruby-l... -
08:51 AM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
- Nobuyoshi Nakada <[email protected]> wrote:
> On 2017/02/13 19:05, Nobuyoshi Nakada wrote:
> >> But in marshal.c, ... -
07:32 AM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
- On 2017/02/13 19:05, Nobuyoshi Nakada wrote:
>> But in marshal.c, I think we can use `klass==0` to hide the object
... -
08:38 AM Revision d9ae8c0b (git): marshal.c: revert r57631 partially
- * marshal.c (rb_marshal_dump_limited): do not free dump_arg, which
may be dereferenced in check_dump_arg due to con... -
05:53 AM Revision cd891481 (git): thread.c: fix for VC
- * thread.c (rb_fd_no_init): make void same as rb_fd_init_copy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@576... - 12:42 AM Revision 87577a1f (git): * 2017-02-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:42 AM Revision 9f20ee51 (git): marshal.c: use hidden objects to allow recycling
- Hidden objects (klass == 0) are not visible to Ruby code invoked
from other threads or signal handlers, so they can n...
02/14/2017
-
06:42 PM Bug #13215 (Third Party's Issue): Cross compiling Ruby Gems uses Build System Linker Options
- When cross-compiling Ruby Gems under Ruby 2.4.0, the rbconfig system uses the build system's configuration to cross-c...
-
01:49 PM Bug #12604: Win32::Resolv.get_resolv_info returns unavailable DNS servers
- r57629 is also need to be backported.
-
09:59 AM Bug #12604: Win32::Resolv.get_resolv_info returns unavailable DNS servers
- I reverted r57571 at r57626. r57571 broke RubyCI on vc12-x64.
http://13.78.52.201/vc12-x64/ruby-2.3/log/20170207T182... - 01:29 PM Revision b89623fb (git): Fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:34 PM Revision aded420d (git): resolv9x.rb: fix typo
- * ext/win32/lib/win32/resolv9x.rb (WsControl): fix missing close
parenthesis at r22724.
git-svn-id: svn+ssh://ci.r... -
12:29 PM Revision 7de42daa (git): string.c: assertion
- * string.c (str_shared_replace): use RUBY_ASSERT for
pre-condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
12:04 PM Bug #13214 (Closed): FileUtils::mkdir_p creates additional (unrequested) directory on Cygwin
- FileUtils.mkdir(SOMEPATH) on Cygwin will create a directory ./c: in addition to SOMEPATH, if the following two condit...
-
11:26 AM Feature #5481: Gemifying Ruby standard library
- @headius
Thank you for your information. I have never seen jruby patches in jruby/ruby repository.
https://gith... -
11:12 AM Feature #13213 (Closed): Gemify scanf
- Applied in changeset r57627.
----------
Added initial gemspec for Scanf module.
[Feature #13213] -
11:02 AM Feature #13213 (Closed): Gemify scanf
- This issue is tracking for gem release of Scanf module.
-
11:12 AM Revision 6c0d7c98 (git): Added initial gemspec for Scanf module.
- [Feature #13213]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:56 AM Revision 0f1e7563 (git): revert r57571. `merge revision(s) 55781,55783: [Backport #12604]`
- It breaked CI on vc12-x64
http://13.78.52.201/vc12-x64/ruby-2.3/log/20170207T182419Z.log.html.gz
git-svn-id: svn+s... -
07:52 AM Revision 957e6e4b (git): initialize variables
- * string.c (rb_str_enumerate_lines): initialize conditionally
used variable.
* thread.c (rb_fd_no_init): ditto.
g... -
06:51 AM Feature #13212 (Closed): Syntax proposal: don't require begin-end to rescue exceptions inside do-end blocks
- It's accepted by https://bugs.ruby-lang.org/issues/12906
You can use this syntax after Ruby 2.5. -
12:10 AM Misc #13209: fact.rb in ruby/sample variations
- For MRI Ruby (but not JRuby) **while** loops are consistently faster than all
the other loop constructs (times, each...
02/13/2017
-
09:02 PM Feature #13212 (Closed): Syntax proposal: don't require begin-end to rescue exceptions inside do-end blocks
- Blocks are ubiquitous in Ruby world. There's as many blocks in every Ruby code as methods - if not even more. It woul...
-
06:35 PM Feature #5481: Gemifying Ruby standard library
- Please coordinate with us on the JRuby team. The released gems will need to be loadable in JRuby, since people will s...
-
05:53 PM Misc #13209: fact.rb in ruby/sample variations
- Added another version using the **step** method, in **fact3**.
It's faster than using **downto** and neck-in-neck w... -
12:59 AM Misc #13209 (Open): fact.rb in ruby/sample variations
- I was looking at some of the Sample files that come with Ruby and
saw the example for doing factorials. It's an old ... -
04:38 PM Feature #13211 (Closed): Hash#delete taking a splat
- Hi there,
I would like to add the ability for Hash#delete to take a splat of arguments that would delete entries a... -
03:28 PM Revision c59f2b03 (git): gmake.mk: test-ruby
- * defs/gmake.mk (ORDERED_TEST_TARGETS): add test-ruby target, test
for ruby core without bundled libraries.
git-sv... - 03:19 PM Revision 69aa9bd5 (git): * 2017-02-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:19 PM Revision b1c61c6e (git): thread.c: use ASSUME only on gcc 5 or later
- * thread.c (rb_fd_no_init): on gcc 4, ASSUME macro affects
something too much.
git-svn-id: svn+ssh://ci.ruby-lang.... -
01:08 PM Revision c9929d9f (git): ruby.h: remove comment
- * include/ruby/ruby.h (RB_GC_GUARD): remove comment unsupported by
Solaris AS.
git-svn-id: svn+ssh://ci.ruby-lang.... -
12:16 PM Revision ad97d483 (git): lib/find.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:12 AM Bug #13210 (Rejected): Wrong float substraction result
- Floating point calculations have limited precision!
Please read http://docs.oracle.com/cd/E19957-01/806-3568/ncg_g... -
09:35 AM Bug #13210 (Rejected): Wrong float substraction result
- ~~~ ruby
0.1 - 0.0001 => 0.0999
0.1 - 0.001 => 0.099
0.1 - 0.01 => 0.09000000000000001
0.01 - 0.0001 => 0.00... -
10:08 AM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
- On 2017/02/13 10:04, Eric Wong wrote:
> I still support fixing `RB_GC_GUARD` to be stronger for GCC7.
I think it ... -
01:08 AM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
- Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > Prevent GC by volatile [Bug #13150]
... -
08:14 AM Revision 9eb54f7f (git): ruby.h: RB_GC_GUARD stronger than gcc7
- * include/ruby/ruby.h (RB_GC_GUARD): prevent guarded pointer from
optimization by using as an input to inline asm.
... -
06:57 AM Bug #13081: resolv.rb may be the cause of the rubygems bug on Windows
- Nobuyoshi Nakada wrote:
> Applied in changeset r57265.
>
> ----------
> win32/resolv.rb: ad hoc workaround
>
... -
06:22 AM Feature #13207: Allow keyword local variable names like `class` or `for`
- I don't have any pro or con on the proposal itself. I also have no idea if
this is a difficult change or whether mat... -
05:44 AM Revision 959aac29 (git): suppress warnings
- * string.c (rb_str_enumerate_lines): hint to suppress a
maybe-uninitialized warning by gcc.
* thread.c (rb_fd_no_i... -
05:23 AM Revision 5c0aa3ad (git): compile.c: suppress a warning
- * compile.c (iseq_build_kw): suppress an alloc-size-larger-than
warning by gcc 7.
git-svn-id: svn+ssh://ci.ruby-la... -
05:11 AM Revision 44e36c79 (git): gmake.mk: tests step
- * defs/gmake.mk (TEST_TARGETS): run tests step by step.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57616 b2dd... -
02:53 AM Feature #13173: Gemify webrick
- webrick gem is already registered.
* https://rubygems.org/gems/webrick (It's masked yet)
this gem is registere... -
02:52 AM Feature #13197: Gemify fileutils
- fileutils gem is already registered.
* https://rubygems.org/gems/fileutils (It's masked yet)
I ask about this... -
02:50 AM Feature #13201 (Open): Gemify dbm
- DBM gem is already registered. see. https://rubygems.org/gems/dbm
- 02:04 AM Revision 302ae913 (git): array.c (ary_recycle_hash): use rb_gc_force_recycle
- Hidden objects (RBASIC_CLASS(hash) == 0) can never become
visible to other threads or signal handlers via
ObjectSpace... - 01:05 AM Revision d6de5804 (git): cont.c: avoid needless branch for dmark callbacks
- gc.c (gc_mark_children, case T_DATA) does not use
the dmark function pointer if DATA_PTR is NULL
* cont.c (cont_mark...
Also available in: Atom