General

Profile

Nakilon (Victor Maslov)

  • Login: Nakilon
  • Email: nakilon@gmail.com
  • Registered on: 09/22/2010
  • Last sign in: 09/16/2020

Issues

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

Activity

03/13/2022

04:20 PM Ruby master Bug #18629 (Closed): block args array splatting assigns to higher scope _ var
``` ruby
v = 1; [[2]].each{ |(v)| }; p v
_ = 1; [[2]].each{ |(_)| }; p _
```
prints
```
1
2
```
You can see ...
Nakilon (Victor Maslov)

04/01/2021

02:21 PM Ruby master Feature #17768: Proposal: Downward assignments
Bidirectional assignments should be implemented to make swapping values:
```
var1, var2 = var2, var1
```
much...
Nakilon (Victor Maslov)

10/06/2020

11:19 AM Ruby master Misc #17174: "Error relocating, symbol not found" error when compiling a native extension on Alpine with Ruby >=2.4
Nakilon (Victor Maslov) wrote:
> docker build - -t temp-ruby2.3.8 --build-arg RUBY_VERSION=2.3.8 --build-arg ALPINE_...
Nakilon (Victor Maslov)

09/16/2020

05:29 AM Ruby master Misc #17174 (Feedback): "Error relocating, symbol not found" error when compiling a native extension on Alpine with Ruby >=2.4
My native extension gem compiles fine with all versions of Ruby on macOS but only with Ruby 2.3 on Alpine. It throws ... Nakilon (Victor Maslov)

06/04/2019

03:45 PM Ruby master Bug #13018: end of file reached (EOFError) from SMTP
Excuse me, why isn't it fixed in 2.4? Does it break something?
I've probably misconfigured ports around my docker en...
Nakilon (Victor Maslov)

05/19/2016

10:15 AM Ruby master Feature #3944: Add Fiber#root? method
> It might indeed be EM-specific.
I didn't use EM and not going to in the case I've described above.
Nakilon (Victor Maslov)

03/11/2016

06:32 PM Ruby master Feature #3944: Add Fiber#root? method
For example, the Facebook Graph API server accepts POST request to calculate smth heavy and returns id of the 'async ... Nakilon (Victor Maslov)

09/05/2015

01:25 AM Ruby master Bug #11509: Incorrect fraction_digits calculation in lib/rss/rss.rb:41 Time#w3cdtf
**Sorry for broken markdown -- here I fixed it:**
Current code is:
~~~ruby
def w3cdtf
if usec.zero?
...
Nakilon (Victor Maslov)
01:23 AM Ruby master Bug #11509 (Closed): Incorrect fraction_digits calculation in lib/rss/rss.rb:41 Time#w3cdtf
Current code is:
~~~ruby
fraction_digits = Math.log10(usec.to_s.sub(/0*$/, '').to_i).floor + 1
~~~
Th...
Nakilon (Victor Maslov)

07/16/2014

02:03 PM Ruby master Bug #7877: E::Lazy#with_index should be lazy
Is it somehow related? http://stackoverflow.com/q/24782712/322020
... .lazy ... .take_while.with_index{ ...
Argumen...
Nakilon (Victor Maslov)

Also available in: Atom