General

Profile

midnight (Sarun R)

  • Login: midnight
  • Registered on: 05/15/2020
  • Last connection: 07/15/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 0 0

Activity

10/11/2020

01:18 PM Ruby master Bug #17257: Integer#pow(0, 1) returns 1, which is incorrect
The point of undefinition is:
There is nothing definitely right or wrong.
Neither 0 nor 1 is wrong; it is just a di...
midnight (Sarun R)
03:41 AM Ruby master Bug #17257: Integer#pow(0, 1) returns 1, which is incorrect
Wait a minute, I just changed my mind.
Actually since `0.pow(0)` is mathematically undefined.
See WolframAlpha fo...
midnight (Sarun R)
03:32 AM Ruby master Bug #17257: Integer#pow(0, 1) returns 1, which is incorrect
So the proposal is to change the document from
"Returns (modular) exponentiation"
to
"multiplying x % m to 1 y tim...
midnight (Sarun R)

10/10/2020

06:12 PM Ruby master Bug #17257: Integer#pow(0, 1) returns 1, which is incorrect
This is undefined
`0.pow(0, 1)`
https://www.wolframalpha.com/input/?i=0%5E0
This is clearly out of the space (th...
midnight (Sarun R)

07/15/2020

04:56 PM Ruby master Feature #16987: Enumerator::Lazy vs Array methods
I used Lazy all the time. There is nothing to be done here about its popularity.
FWIW, People knew about it, but cho...
midnight (Sarun R)

05/15/2020

03:06 PM Ruby master Feature #16786: Light-weight scheduler for improved concurrency.
Hi, I am a Ruby user that would probably vote for
``` ruby
Fiber do
end
```
only if I see the poll back then.
...
midnight (Sarun R)

Also available in: Atom