I faced Fiddle::DLError such following. ``` C:/hostedtoolcache/windows/Ruby/3.1.0/x64/lib/ruby/3.1.0/fiddle/import.rb:297:in `import_function': cannot find the function: rb_w32_map_errno() (Fiddle::DLError) from C:/hostedtoolcache/...joker1007 (Tomohiro Hashidate)
Additional Information: * I used to use v2.6.2 and Segmentation fault does not occur at that time. * This stacktrace is reproducible. whenever this error occurs the stacktrace is the same. joker1007 (Tomohiro Hashidate)
Segmentation Fault occurred when I run Time#strftime via Time#iso8601 on ruby-2.7.2. It occurs repeatedly about once a day in our system. Because it was not possible to make a reproduction case in a simple environment, I share the C Le...joker1007 (Tomohiro Hashidate)
> In contrast to this, your proposal with Time#to_i seems to return rounded results even though the method name is to_i. I think this is confusing. Is this your intention? It is not important whether the result is rounded or truncated...joker1007 (Tomohiro Hashidate)
I often need Unix time as microseconds or nanoseconds to serialize for other language environments. For example, Java uses milliseconds(nanoseconds) basically. In such a situation, current Ruby code is like below. ``` ruby { e...joker1007 (Tomohiro Hashidate)
I want this feature too. I wrote a rubygem that parses proc and converts to AST::Node (of ast gem). To inspect proc source code is main purpose. https://github.com/joker1007/proc_to_ast Usage example. ~~~ ruby # this is sam...joker1007 (Tomohiro Hashidate)
~~~ ruby begin p :foo else p :bar end # => :foo # => :bar ~~~ ~~~ ruby [1,2,3].each do p :foo else p :bar end # => :foo # => :bar ~~~ begin-else-end without rescue is useless and dangerous. (especially, ...joker1007 (Tomohiro Hashidate)
Sorry in advance if other ticket exists. In a case, Reference to class variables raises unnatural NameError. A class variable is defined in a module. And include the module in "refine" block. Refined method cannot use the class ...joker1007 (Tomohiro Hashidate)