General

Profile

dolzenko (Evgeniy Dolzhenko)

  • Login: dolzenko
  • Email: dolzenko@gmail.com
  • Registered on: 05/18/2009
  • Last sign in: 01/15/2016

Issues

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

Activity

01/15/2016

03:19 PM Ruby Bug #11995 (Rejected): BigDecimal#power fails for some values
$ irb -rbigdecimal
> BigDecimal('-0.5').power(BigDecimal('0.2'))
Math::DomainError: Zero or negative argument for log
but
> ...
=> -0.8705505632961241
The same is true for a few other exponent version I have tested. Is that fe...
dolzenko (Evgeniy Dolzhenko)

10/28/2010

04:40 PM Ruby Feature #2190: FileUtils::chmod - allow symbolic mode
=begin
+1 Would like to see this it's way to the core, except that `current_file_mode` function doesn't seem to be really used anyway and can be removed:

+ def symbolic_modes_to_i(modes, path)
+ current_mode = current_file_mo...
dolzenko (Evgeniy Dolzhenko)

04/29/2010

04:47 PM Ruby Bug #3033: backtrace of SystemStackError disappeared
=begin
I think that returning String instead of an Array as Exception#backtrace
here http://github.com/shyouhei/ruby/blob/trunk/eval.c#L382
is breaking other code expectation about backtrace being enumerable.

The real life exam...
dolzenko (Evgeniy Dolzhenko)

04/28/2010

08:40 PM Ruby Bug #3214 (Closed): Missing function name in "Wrong number of arguments" exception backtrace
=begin
As illustrated below 1.8 reported the name of function called with wrong number of arguments, while 1.9 doesn't

> ruby -v -e 'def f(a) end; f'
ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-linux]
-e:1:in `f': wrong number...
dolzenko (Evgeniy Dolzhenko)
07:50 PM Ruby Feature #3010: slow require gems in ruby 1.9.1
=begin
I'm getting huge performance hit trying to load whole Facets library:

> cat 1.rb
gem 'facets', '2.8.4'
require 'facets'

> /usr/bin/time -p ruby -v 1.rb
ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-linux]
...
dolzenko (Evgeniy Dolzhenko)

04/14/2010

12:28 AM Ruby Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
Documentation for exec method says:
* The standard shell means always `"/bin/sh"` on Unix-like systems,
* `ENV["RUBYSHELL"]` or `ENV["COMSPEC"]` on Windows NT series, and
* similar.
but I still can't get it to run my custom...
dolzenko (Evgeniy Dolzhenko)

04/02/2010

08:15 PM Ruby Bug #3080 (Closed): class_variable_set issue with duped Module
=begin
Below is the test case which is failing for me on ruby 1.9.2dev (2010-04-02 trunk 27162) [i686-linux] but works on ruby 1.8.7 (2009-12-24 patchlevel 248) [i686-linux]:

---
module Original
@@cvar = nil

def self....
dolzenko (Evgeniy Dolzhenko)

03/23/2010

11:57 PM Ruby Feature #2710: Kernel#load loads a relative path
=begin
The same question here using ruby 1.9.2dev (2010-03-09 trunk 26858) [i686-linux], any update?
=end
dolzenko (Evgeniy Dolzhenko)

05/18/2009

04:45 PM Ruby Feature #1482 (Rejected): Kernel.exec doesn't respect COMSPEC environment variable on Windows
Here is pretty convoluted test case:
```ruby
puts ENV["COMSPEC"] # => "C:\WINDOWS\system32\mycmd.exe"
File.open("1.bat", "w") { |f| f.write("time") } # create test batch file with command which waits for user input

Kernel.exec...
dolzenko (Evgeniy Dolzhenko)

Also available in: Atom