Project

General

Profile

Activity

From 08/23/2018 to 08/29/2018

08/29/2018

11:37 PM Bug #15039: Random.urandom and SecureRandom arc4random use
naruse (Yui NARUSE) wrote:
> I agree with your fundamental concept: if there's more code, there's more bugs.
>
> I...
Freaky (Thomas Hurst)
08:42 PM Bug #15039: Random.urandom and SecureRandom arc4random use
I agree with your fundamental concept: if there's more code, there's more bugs.
I don't fully agree with "userspac...
naruse (Yui NARUSE)
04:34 PM Bug #15039: Random.urandom and SecureRandom arc4random use
shyouhei (Shyouhei Urabe) wrote:
> Freaky (Thomas Hurst) wrote:
> > The other is clarifying the intent of `Random.u...
Freaky (Thomas Hurst)
04:16 PM Bug #15039: Random.urandom and SecureRandom arc4random use
jeremyevans0 (Jeremy Evans) wrote:
> Freaky (Thomas Hurst) wrote:
> > Would rand() stop being a userspace PRNG if i...
Freaky (Thomas Hurst)
08:41 AM Bug #15039: Random.urandom and SecureRandom arc4random use
Freaky (Thomas Hurst) wrote:
> > Or is it not about the code quality in general? Maybe the problem here is that hav...
shyouhei (Shyouhei Urabe)
05:55 AM Bug #15039: Random.urandom and SecureRandom arc4random use
Freaky (Thomas Hurst) wrote:
> Would rand() stop being a userspace PRNG if it automatically called srand() every 200...
jeremyevans0 (Jeremy Evans)
04:50 AM Bug #15039: Random.urandom and SecureRandom arc4random use
shyouhei (Shyouhei Urabe) wrote:
> Frankly, I'm not sure how less trustworthy FreeBSD libc is, compared to its kerne...
Freaky (Thomas Hurst)
04:19 AM Bug #15039: Random.urandom and SecureRandom arc4random use
jeremyevans0 (Jeremy Evans) wrote:
> Freaky (Thomas Hurst) wrote:
> > jeremyevans0 (Jeremy Evans) wrote:
> >
> >...
Freaky (Thomas Hurst)
03:53 AM Bug #15039: Random.urandom and SecureRandom arc4random use
Frankly, I'm not sure how less trustworthy FreeBSD libc is, compared to its kernel. They are developed by the same p... shyouhei (Shyouhei Urabe)
02:51 AM Bug #15039: Random.urandom and SecureRandom arc4random use
Freaky (Thomas Hurst) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
>
> > On OpenBSD, arc4random is not really a us...
jeremyevans0 (Jeremy Evans)
12:31 AM Bug #15039: Random.urandom and SecureRandom arc4random use
jeremyevans0 (Jeremy Evans) wrote:
> On OpenBSD, arc4random is not really a userspace PRNG in the sense that it is...
Freaky (Thomas Hurst)
09:05 PM Bug #15043: MinGW intermittent test failure - TestIO#test_select_leak
@normalperson Eric,
Thanks for looking at it and also the patch. It passed test-all, but as mentioned, it's inter...
MSP-Greg (Greg L)
07:52 PM Bug #15043: MinGW intermittent test failure - TestIO#test_select_leak
[email protected] wrote:
> Bug #15043: MinGW intermittent test failure - TestIO#test_select_leak
> https://bugs....
normalperson (Eric Wong)
07:47 PM Bug #15043 (Closed): MinGW intermittent test failure - TestIO#test_select_leak
Applied in changeset trunk|r64590.
----------
test/ruby/test_io.rb (test_select_leak): use handle_interrupt
Interru...
normalperson (Eric Wong)
01:55 PM Bug #15043 (Closed): MinGW intermittent test failure - TestIO#test_select_leak
@normalperson Eric,
Thought I'd ping you on this, as the test is very new. The above test is not failing on Travi...
MSP-Greg (Greg L)
06:40 PM Bug #15044: ENV encoding not UTF-8 by default
If I put this into a .rb file:
puts 'secret'.encoding
ENV['PASS'] = 'secret'
puts ENV['PASS'].encodi...
shevegen (Robert A. Heiler)
02:44 PM Bug #15044 (Closed): ENV encoding not UTF-8 by default
~~~
$ irb
2.5.1 :001 > 'secret'.encoding
=> #<Encoding:UTF-8>
2.5.1 :002 > ENV['PASS'] = 'secret'; ENV['PASS'].e...
lowang (Przemyslaw Wroblewski)
04:16 PM Bug #15045 (Closed): Test suite fails/hangs with stronger cryptography enforcement
Testing in Fedora Rawhide with ```$ sudo update-crypto-policies --set NEXT``` [1] which sets a higher bar for cryptog... vo.x (Vit Ondruch)
02:12 PM Bug #15027: When Struct#each method is overriden Struct#select and Struct#to_a use wrong collections
```diff
diff --git a/struct.c b/struct.c
index 7de46980aa..e4c875b5be 100644
--- a/struct.c
+++ b/struct.c
@@ -8...
nobu (Nobuyoshi Nakada)
11:22 AM Feature #14975: String#append without changing receiver's encoding
ioquatix (Samuel Williams) wrote:
> ```ruby
> u.force_encoding('BINARY') do
> b << u
> end
> ```
>
> @duers...
duerst (Martin Dürst)
11:08 AM Feature #14975: String#append without changing receiver's encoding
```ruby
b = 'a'.force_encoding('BINARY')
u = "\u00ff".force_encoding('UTF-8') # aside: force_encoding here is a n...
ioquatix (Samuel Williams)
10:16 AM Feature #14975: String#append without changing receiver's encoding
As mentioned, the general idea of Ruby m17n is that strings that only contain ASCII bytes (8th bits are all 0) are tr... duerst (Martin Dürst)
10:20 AM Bug #13671: Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters
gotoken (Kentaro Goto) wrote:
> For example, `"ss"` and `"st"` are mapped `"ß"` (`"\u00DF"`) and `"st"` (`"\uFB06"`...
duerst (Martin Dürst)
08:12 AM Bug #595: Fiber ignores ensure clause
Eric Wong wrote:
> It will be difficult/unsafe to use auto-fiber/Thread::Coro
> [Feature #13618] without this

I...
normalperson (Eric Wong)
03:22 AM Bug #595: Fiber ignores ensure clause
Koichi Sasada wrote:
> Bug #595: Fiber ignores ensure clause
> http://redmine.ruby-lang.org/issues/595

What's t...
normalperson (Eric Wong)
08:12 AM Bug #15041: [PATCH] cont.c: set th->root_fiber to current fiber at fork
[email protected] wrote:
> (I'm not sure why fork removes other fibers, but)

fib = Fiber.new { puts " HI" }
fork ...
normalperson (Eric Wong)
08:04 AM Bug #15041 (Closed): [PATCH] cont.c: set th->root_fiber to current fiber at fork
Applied in changeset trunk|r64589.
----------
cont.c: set th->root_fiber to current fiber at fork
Otherwise, th->ro...
normalperson (Eric Wong)
07:20 AM Bug #15041: [PATCH] cont.c: set th->root_fiber to current fiber at fork
(I'm not sure why fork removes other fibers, but)
I think it is okay. let's try.
ko1 (Koichi Sasada)
06:59 AM Bug #15041 (Closed): [PATCH] cont.c: set th->root_fiber to current fiber at fork
cont.c: set th->root_fiber to current fiber at fork
Otherwise, th->root_fiber can point to an invalid Fiber,
beca...
normalperson (Eric Wong)

08/28/2018

07:46 PM Bug #15039: Random.urandom and SecureRandom arc4random use
On OpenBSD, arc4random is not really a userspace PRNG in the sense that it is reseeded on a regular basis using new e... jeremyevans0 (Jeremy Evans)
07:16 PM Bug #15039 (Closed): Random.urandom and SecureRandom arc4random use
Random.urandom defaults to arc4random() on a lot of platforms, including FreeBSD.
On all currently released versio...
Freaky (Thomas Hurst)
04:17 PM Bug #15038 (Closed): Appveyor MinGW - bundled gems missing?
I just noticed that the Appveyor MinGW build is not showing the installed bundled gems in the console output, althoug... MSP-Greg (Greg L)
08:22 AM Feature #14097: Add union and difference to Array
[@Student](https://bugs.ruby-lang.org/users/6774) as I just answered in the [PR](https://github.com/ruby/ruby/pull/17... ana06 (Ana Maria Martinez Gomez)
08:19 AM Feature #15036 (Closed): after upgrade when run apt upgrade metasploit
... bennylangston (benny langston)
07:06 AM Feature #15010 (Closed): Reduce allocation for rest parameters
Applied in changeset trunk|r64583.
----------
rest parameter optimization [Feature #15010]
* vm_args.c: rb_ary_dup(...
ko1 (Koichi Sasada)
06:53 AM Feature #15010: Reduce allocation for rest parameters
It seems fine.
I'll commit it.
ko1 (Koichi Sasada)
06:49 AM Feature #15030: Have T_INTEGER constant for checking Integer types in C API
Eregon (Benoit Daloze) wrote:
> There are certainly cases where a C extension wants to check the argument is an Inte...
ko1 (Koichi Sasada)
03:58 AM Bug #15035: Windows make install failures
@MSP-Greg
Thanks for your patches. I will merge a patch of `tool/rbinstall.rb` after confirming with my windows en...
hsbt (Hiroshi SHIBATA)
03:53 AM Bug #15035: Windows make install failures
@hsbt
Thanks for applying the patch. I should have been clearer, as the patch fixes two issues, both involving Ru...
MSP-Greg (Greg L)
02:39 AM Bug #15035 (Closed): Windows make install failures
Applied in changeset trunk|r64582.
----------
Fixed test failures in mswin environment at r64555.
[ruby-core:8869...
hsbt (Hiroshi SHIBATA)
12:41 AM Bug #15035 (Closed): Windows make install failures
@hsbt
Windows has been failing on install, seems due to a combination of RubyGems changes.
ruby-loco is passing...
MSP-Greg (Greg L)
02:04 AM Misc #15014: thread.c: use rb_hrtime_scalar for high-resolution time operations
On 2018/08/27 18:17, Eric Wong wrote:
>>> A joke; at least as far as we know it is a joke :>
>>
>> I'm not sure w...
ko1 (Koichi Sasada)
01:00 AM Feature #14844: Future of RubyVM::AST?
I hope this is relevant.
I found an interesting article here: http://www.oilshell.org/blog/2016/12/11.html
It d...
ioquatix (Samuel Williams)
12:12 AM Bug #15034 (Feedback): Crash in Opensuse Software management
Thank you for your report.
This is a issue tracker for ruby development, and I'm not at all familiar with Yast2 pa...
mame (Yusuke Endoh)

08/27/2018

09:37 PM Bug #15034 (Closed): Crash in Opensuse Software management
Hi,
the problem appears when starting the Software Management component of Open Suse's Yast2 package manager.
Th...
[email protected] (Martin Strecker)
09:19 PM Bug #15033 (Closed): Encoding fallback uses wrong character when multiple conversions are required
When converting a string from one encoding to another that involves multiple conversions, the proc passed to `encode`... stevecheckoway (Stephen Checkoway)
08:32 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
> https://bugs.ruby-lang.org/issues/13618

Btw, many of my recent changes ([Misc #15014] (rb_hrtime_t)),
and proc...
normalperson (Eric Wong)
06:34 PM Feature #14912: Introduce pattern matching syntax
"The patterns are run in sequence until the first one that matches."
This means O(n) time for matching. If we are ...
dsisnero (Dominic Sisneros)
04:07 PM Bug #14920: Backport r63857 to fix performance problem on Time class in MacOs systems
Hi @usa.
63994 alone doesn't fix the issue. I just cloned ruby_2_4 with r64560 and run the same benchmark script ...
rafaelfranca (Rafael França)
01:59 PM Bug #14920: Backport r63857 to fix performance problem on Time class in MacOs systems
ruby_2_4 r64560 merged revision(s) 63994. usa (Usaku NAKAMURA)
02:19 PM Bug #14942: Windows7でコンソールに長い文字列を出力できない
ruby_2_4 r64564 merged revision(s) 64092. usa (Usaku NAKAMURA)
02:15 PM Bug #14941: WindowsでARGVの文字列に汚染マークが付いてない
ruby_2_4 r64563 merged revision(s) 64071. usa (Usaku NAKAMURA)
02:11 PM Bug #14926: Different results between Enumerable#sum and #reduce when Float::INFINITY present
ruby_2_4 r64562 merged revision(s) 64014. usa (Usaku NAKAMURA)
02:08 PM Bug #14929: [PATCH] thread.c (do_select): fix leak on exception
ruby_2_4 r64561 merged revision(s) 64007,64019,64020. usa (Usaku NAKAMURA)
01:48 PM Bug #14853: [BACKPORT] NameError#receiver at private constant returns a hidden object
ruby_2_4 r64559 merged revision(s) 63696. usa (Usaku NAKAMURA)
01:47 PM Bug #14495: Enumerator::Lazy#uniq invalid state
ruby_2_4 r64558 merged revision(s) 62731,62735. usa (Usaku NAKAMURA)
12:03 PM Feature #15030: Have T_INTEGER constant for checking Integer types in C API
[email protected] wrote:
> There are certainly cases where a C extension wants to check the argument is an Integer,...
normalperson (Eric Wong)
10:02 AM Feature #15030: Have T_INTEGER constant for checking Integer types in C API
There are certainly cases where a C extension wants to check the argument is an `Integer`, and its range doesn't matt... Eregon (Benoit Daloze)
06:05 AM Feature #15030 (Rejected): Have T_INTEGER constant for checking Integer types in C API
+1 for Hanmac.
C extension writers should check `T_FIXNUM` or `T_BIGNUM` explicitly.
ko1 (Koichi Sasada)
05:49 AM Feature #15030: Have T_INTEGER constant for checking Integer types in C API
hm that is not that easy, while `Fixnum` and `Bignum` are deprecated on the ruby side,
on the C side they still exis...
Hanmac (Hans Mackowiak)
05:12 AM Feature #15030 (Rejected): Have T_INTEGER constant for checking Integer types in C API
After Integer unification in Ruby 2.4, I think it makes sense to introduce a T_INTEGER
type that helps in directly ...
v0dro (Sameer Deshmukh)
11:45 AM Feature #15031: T_RANGE for testing whether object is a Range
ko1 (Koichi Sasada) wrote:
> `rb_obj_is_range()` can be accepted like `rb_obj_is_proc` and so on.
> `T_xxx` shows d...
v0dro (Sameer Deshmukh)
06:06 AM Feature #15031: T_RANGE for testing whether object is a Range
`rb_obj_is_range()` can be accepted like `rb_obj_is_proc` and so on.
`T_xxx` shows data layout of `RVALUE`.
ko1 (Koichi Sasada)
05:28 AM Feature #15031 (Open): T_RANGE for testing whether object is a Range
Range is an in-built type of Ruby and it would be better for C extension
writers if there existed a constant `T_RANG...
v0dro (Sameer Deshmukh)
10:54 AM Feature #14975: String#append without changing receiver's encoding
> Is there a use-case for using this new method with non-binary strings?
Yes, predictably appending strings withou...
ioquatix (Samuel Williams)
09:46 AM Feature #14975: String#append without changing receiver's encoding
I agree the current behavior for appending with binary strings is surprising.
Especially since the result of the ope...
Eregon (Benoit Daloze)
10:08 AM Feature #15010: Reduce allocation for rest parameters
@ko1, I've added new field rest_dupped to args_info.
Updated patch https://bugs.ruby-lang.org/attachments/7344/Re...
chopraanmol1 (Anmol Chopra)
07:41 AM Feature #15010: Reduce allocation for rest parameters
ko1 (Koichi Sasada) wrote:
> # Idea (as my understanding)
>
> ~a rest parameter" is dup multiple times because of...
chopraanmol1 (Anmol Chopra)
06:33 AM Feature #15010: Reduce allocation for rest parameters
Sorry for late response.
# Idea (as my understanding)
~a rest parameter" is dup multiple times because of curre...
ko1 (Koichi Sasada)
05:26 AM Feature #15010: Reduce allocation for rest parameters
@ko1, It would be great if you could review https://bugs.ruby-lang.org/attachments/7343/Reduce-allocation-for-rest-pa... chopraanmol1 (Anmol Chopra)
09:22 AM Misc #15014: thread.c: use rb_hrtime_scalar for high-resolution time operations
Koichi Sasada <[email protected]> wrote:
> On 2018/08/27 16:16, Eric Wong wrote:
> > Yep. Maybe some small systems ca...
normalperson (Eric Wong)
07:42 AM Misc #15014: thread.c: use rb_hrtime_scalar for high-resolution time operations
On 2018/08/27 16:16, Eric Wong wrote:
> Yep. Maybe some small systems can benefit with
> usec/msec resolution and...
ko1 (Koichi Sasada)
07:22 AM Misc #15014: thread.c: use rb_hrtime_scalar for high-resolution time operations
[email protected] wrote:
> Thanks!
>
> > + * Hi-res monotonic clock. It is currently nsec resolution, which has ove...
normalperson (Eric Wong)
06:55 AM Misc #15014: thread.c: use rb_hrtime_scalar for high-resolution time operations
Thanks!
> + * Hi-res monotonic clock. It is currently nsec resolution, which has over 500 years of range (unsigne...
ko1 (Koichi Sasada)
06:31 AM Bug #13671: Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters
Thanks shyouhei for your pointing out.
I imagine another Rexexp option, say `//I`, which is almost the same as `/...
gotoken (Kentaro Goto)
06:02 AM Bug #13671: Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters
gotoken (Kentaro Goto) wrote:
> By the way, this expansion by `//i` option looks over kill for me.
> I wish case s...
shyouhei (Shyouhei Urabe)
05:44 AM Bug #13671: Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters
Thanks znz. The workaround is helpful. And I understood what was happened.
https://github.com/k-takata/Onigmo/issues...
gotoken (Kentaro Goto)
03:46 AM Bug #13671: Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters
You can use `(?:s)` instead of `s` for workaround.
```
$ ruby -ve '/(?<=ast)/iu'
ruby 2.5.1p57 (2018-03-29 revis...
znz (Kazuhiro NISHIYAMA)
02:35 AM Bug #13671: Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters
I encountered a non `ss` case. Is this a same problem?
```
% ruby -ve '"".match(/(?<=ast)/ui)'
ruby 2.6.0dev (2...
gotoken (Kentaro Goto)
04:41 AM Bug #13593: Addrinfo#== behaves oddly
ioquatix (Samuel Williams) wrote:
> Doing a binary comparison would be acceptable.
I don't think so. As Akira al...
shyouhei (Shyouhei Urabe)
04:33 AM Bug #13593: Addrinfo#== behaves oddly
Doing a binary comparison would be acceptable. ioquatix (Samuel Williams)
04:29 AM Bug #14880: Time#localtime doesn't always seem to respect TZ
@nobu Isn't changing TZ enough that `#localtime` should do something? ioquatix (Samuel Williams)
04:25 AM Feature #14888: Add trace point for eval (and related functions)
@marcandre I already added support for coverage of templates and it works pretty well. You need to be careful with te... ioquatix (Samuel Williams)
04:23 AM Feature #15022: Oneshot coverage
Did you take a look at https://github.com/ioquatix/covered - I'd be interested in your feedback. Can we discuss furth... ioquatix (Samuel Williams)
04:22 AM Feature #15022: Oneshot coverage
What about using trace points? ioquatix (Samuel Williams)
04:19 AM Misc #14981: DevelopersMeeting20180913Japan
* [Feature #14975] String#append without changing receiver's encoding (ioquatix)
* Can we review this PR? We need ...
ioquatix (Samuel Williams)

08/26/2018

11:49 PM Misc #15007: Let all Init_xxx and extension APIs frequently called from init code paths be considered cold
naruse (Yui NARUSE) wrote:
> methodmissing (Lourens Naudé) wrote:
> > ko1 (Koichi Sasada) wrote:
> > > I agree to ...
methodmissing (Lourens Naudé)
12:36 PM Bug #15027: When Struct#each method is overriden Struct#select and Struct#to_a use wrong collections
as a middle way, can't we just do the "is overwritten by user" check?
i think i have seen it on other classes like A...
Hanmac (Hans Mackowiak)
06:53 AM Bug #15027: When Struct#each method is overriden Struct#select and Struct#to_a use wrong collections
Since matz asked for feedback, just a comment - I have no particular pro or con opinion
per se, mostly because I ver...
shevegen (Robert A. Heiler)
02:46 AM Bug #15027: When Struct#each method is overriden Struct#select and Struct#to_a use wrong collections
I'm against changing the current behavior. If you can override `each`, you can override other methods. If we wanted... jeremyevans0 (Jeremy Evans)
01:56 AM Bug #15027 (Feedback): When Struct#each method is overriden Struct#select and Struct#to_a use wrong collections
The proposed behavior is more consistent but slower. I am not sure it's a good idea to hinder performance by supporti... matz (Yukihiro Matsumoto)
09:08 AM Feature #14097 (Assigned): Add union and difference to Array
Thank you for the answer. I'm assigning this ticket to matz. mame (Yusuke Endoh)
08:52 AM Feature #14097: Add union and difference to Array
@mame
> However, I'm now getting confused. I thought you agreed that Array#union should be non-destructive, but in...
ana06 (Ana Maria Martinez Gomez)
06:03 AM Bug #15019 (Assigned): Documentation for Net::HTTP claims that multipart/form-data is not supported
hsbt (Hiroshi SHIBATA)

08/25/2018

05:40 PM Misc #15007: Let all Init_xxx and extension APIs frequently called from init code paths be considered cold
methodmissing (Lourens Naudé) wrote:
> ko1 (Koichi Sasada) wrote:
> > I agree to introduce COLD attribute.
>
> I...
naruse (Yui NARUSE)
05:29 PM Bug #15027 (Rejected): When Struct#each method is overriden Struct#select and Struct#to_a use wrong collections
### Bug
Here's the code snippet that should reproduce the problem:
~~~ ruby
class Foo < Struct.new(:bar)
de...
bruno (Bruno Sutic)
03:13 PM Feature #14097: Add union and difference to Array
Ana, I watched the video of [your EuRuKo talk](https://www.youtube.com/watch?v=jUc8InwoA-E). I could understand the ... mame (Yusuke Endoh)
06:58 AM Misc #15014 (Closed): thread.c: use rb_hrtime_scalar for high-resolution time operations
Applied in changeset trunk|r64533.
----------
thread.c: use rb_hrtime_t scalar for high-resolution time operations
...
normalperson (Eric Wong)
05:05 AM Feature #15024: Support block in Array#join
I'd like somewhat to agree with the motivation. Indeed, I sometimes feel I want to insert separators between each pa... mame (Yusuke Endoh)
03:23 AM Feature #15024: Support block in Array#join
`Array#join` concatenates array elements recursively.
What do you expect as the index between different level elements?
nobu (Nobuyoshi Nakada)
01:13 AM Bug #15025 (Closed): Encountered a bug in interpreter or extension libraries
Seems an already fixed bug. nobu (Nobuyoshi Nakada)

08/24/2018

08:55 PM Feature #15024: Support block in Array#join
For `%{a b c d}.join { |_,_,i| i.to_s } == "a0b1c2d"`, you could do:
~~~ ruby
*a, l = %w{a b c d}; a.each.with_ob...
jeremyevans0 (Jeremy Evans)
07:54 PM Feature #15024: Support block in Array#join
Doesn't `#each_slice` create temporary array for each pair? Doesn't seem very efficient. But assuming that does not m... graywolf (Gray Wolf)
05:45 PM Feature #15024: Support block in Array#join
Your examples are both possible to implement using existing Array methods:
~~~ ruby
puts %w{a b c d}.each_slice(2...
jeremyevans0 (Jeremy Evans)
05:11 PM Feature #15024 (Open): Support block in Array#join
I think it could be handy to have block support in Array#join.
For example
```ruby
> puts %w{a b c d}.join { |...
graywolf (Gray Wolf)
08:03 PM Bug #15025 (Closed): Encountered a bug in interpreter or extension libraries
/Users/suyesh/.rbenv/versions/2.6.0-preview2/lib/ruby/gems/2.6.0/gems/bootsnap-1.3.1/lib/bootsnap/compile_cache/iseq.... suyesh (suyesh bhandari)
07:19 PM Misc #15011 (Closed): [PATCH] thread_pthread.c: use eventfd instead of pipe on Linux
Applied in changeset trunk|r64527.
----------
thread_pthread.c: use eventfd instead of pipe on Linux
Based on r6447...
normalperson (Eric Wong)
04:04 PM Bug #15023: Time precision (in microsecond) inaccurate after performing strftime
`Time.at` supports `Rational` numbers too.
```ruby
puts Time.at(1486525793.995r).strftime("%s.%6N") #=> 148652579...
nobu (Nobuyoshi Nakada)
03:58 PM Bug #15023 (Rejected): Time precision (in microsecond) inaccurate after performing strftime
IEEE 754 floating point numbers are inexact, and cannot represent that value exactly.
```ruby
printf("%.20f\n", 1...
nobu (Nobuyoshi Nakada)
03:41 PM Bug #15023 (Rejected): Time precision (in microsecond) inaccurate after performing strftime
Please see the example below. I think we should expect the result to be "1486525793.995". Right?
OS version: MacOS...
calvinchso (Calvin So)
02:47 PM Bug #14997: Socket connect timeout exceeds the timeout value for
If anyone is actually willing to confirm, that it is indeed an unwanted / unexpected behavior, I offer to fix it.
...
maciej.mensfeld (Maciej Mensfeld)
02:47 PM Bug #15021: Segfault when compiling certain code on Ruby 2.5.1
I think this is duplicate of https://bugs.ruby-lang.org/issues/14897 which contain the fix and the backport request t... rafaelfranca (Rafael França)
09:56 AM Bug #15021: Segfault when compiling certain code on Ruby 2.5.1
Can reproduce this on 2.5, but not on trunk. Seems 2.5 needs a backport?
Not sure which is the exact revision though.
shyouhei (Shyouhei Urabe)
09:44 AM Bug #15021: Segfault when compiling certain code on Ruby 2.5.1
Sorry there's a small typo. The command to run the script is `ruby code.rb` not `ruby foo.rb` st0012 (Stan Lo)
09:40 AM Bug #15021 (Closed): Segfault when compiling certain code on Ruby 2.5.1

## Steps to reproduce
save the following code to `code.rb`
```
code =<<CODE
if false
new(arg: $arg)
end
CO...
st0012 (Stan Lo)
01:32 PM Misc #14981: DevelopersMeeting20180913Japan
* [Feature #15022] Oneshot coverage
* I'd like to introduce a new kind of coverage to record whether each line is ...
mame (Yusuke Endoh)
01:28 PM Feature #15022 (Closed): Oneshot coverage
I'd like to introduce a new feature to the coverage library, namely, "oneshot coverage".
## Synopsis
The follow...
mame (Yusuke Endoh)
10:25 AM Bug #15020 (Closed): [PATCH] Add 'guards' for mswin, mingw, update test_readline.rb
Applied in changeset trunk|r64526.
----------
ext/readline/extconf.rb: try using more readline APIs
on MinGW.
[Bug...
k0kubun (Takashi Kokubun)
01:58 AM Bug #15020: [PATCH] Add 'guards' for mswin, mingw, update test_readline.rb
@k0kubun,
I forgot one patch that I have on `ext/readline/extconf.rb`, at [ruby-loco/patches/ext-readline-extconf....
MSP-Greg (Greg L)
08:26 AM Feature #14989: Add Hash support for transient heap
~~~
Hello, I took a look at add-hash-support-for-transient-heap.patch.
It seems lines are copy & pasted from st.c...
shyouhei (Shyouhei Urabe)
05:55 AM Feature #15009 (Assigned): Add negotiated SSL protocol and cipher to Net::HTTP debug output
znz (Kazuhiro NISHIYAMA)

08/23/2018

06:01 PM Misc #15007: Let all Init_xxx and extension APIs frequently called from init code paths be considered cold
Hanmac (Hans Mackowiak) wrote:
> what happens when i would call such cold function outside of Init_xxx ?
I consid...
methodmissing (Lourens Naudé)
05:57 PM Misc #15007: Let all Init_xxx and extension APIs frequently called from init code paths be considered cold
ko1 (Koichi Sasada) wrote:
> I agree to introduce COLD attribute.
I was wondering about Eric's suggestion about t...
methodmissing (Lourens Naudé)
02:16 PM Misc #15007: Let all Init_xxx and extension APIs frequently called from init code paths be considered cold
what happens when i would call such cold function outside of Init_xxx ?
what functions in my own binding should be...
Hanmac (Hans Mackowiak)
08:20 AM Misc #15007: Let all Init_xxx and extension APIs frequently called from init code paths be considered cold
I agree to introduce COLD attribute.
----
> TLB (translation lookaside buffer) specific
Do PHP people specif...
ko1 (Koichi Sasada)
05:28 PM Bug #15020 (Closed): [PATCH] Add 'guards' for mswin, mingw, update test_readline.rb
When the mingw build was added, test_readline.rb failed. One test fails on mingw, several tests error due to the win... MSP-Greg (Greg L)
12:40 PM Bug #15019 (Closed): Documentation for Net::HTTP claims that multipart/form-data is not supported
https://ruby-doc.org/stdlib-2.5.1/libdoc/net/http/rdoc/Net/HTTP.html claims that `At this time Net::HTTP does not sup... graywolf (Gray Wolf)
10:42 AM Misc #15014: thread.c: use rb_hrtime_scalar for high-resolution time operations
[email protected] wrote:
> Just a comment.

> API references (a list of provided functions with a comment) at the beg...
normalperson (Eric Wong)
07:16 AM Misc #15014: thread.c: use rb_hrtime_scalar for high-resolution time operations
Just a comment.
API references (a list of provided functions with a comment) at the beginning of the hrtime.h will h...
ko1 (Koichi Sasada)
07:41 AM Feature #15010: Reduce allocation for rest parameters
ko1 (Koichi Sasada) wrote:
> sorry, which patch should I review?
Reduce-allocation-for-rest-parameters-v1.patch
chopraanmol1 (Anmol Chopra)
07:22 AM Feature #15010: Reduce allocation for rest parameters
sorry, which patch should I review?
ko1 (Koichi Sasada)
07:11 AM Bug #14817 (Feedback): TracePoint#parameters for bmethod's return event should return the same value as its Method#parameters
ko1 (Koichi Sasada)
07:10 AM Bug #14817: TracePoint#parameters for bmethod's return event should return the same value as its Method#parameters
見逃してました。
これ、実装見てたら、どーしょーもない気がするんで、制限のある仕様、ってことで駄目でしょうか。駄目かなあ。実装アイディア募集。
ko1 (Koichi Sasada)
04:13 AM Bug #14702 (Closed): On Ruby 2.5.1, tracepoint isn't working on the file that is loaded by load_iseq
Applied in changeset trunk|r64514.
----------
check trace flags at loading [Bug #14702]
* iseq.c (iseq_init_trace):...
ko1 (Koichi Sasada)
 

Also available in: Atom