joker1007 (Tomohiro Hashidate)
- Login: joker1007
- Email: kakyoin.hierophant@gmail.com
- Registered on: 11/03/2014
- Last sign in: 06/02/2026
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 3 | 4 | 7 |
Activity
06/02/2026
-
02:59 PM Ruby Bug #22090 (Assigned): Enabling Ruby::Box breaks Marshal.load
- This is very simple.
``` ruby
class Foo
end
f = Marshal.dump(Foo.new)
Marshal.load(f)
```
# No Ruby::Box
This code returns `#<Foo:0x00007fdb9c744da0>`.
---
# Ruby::Box enabled
This code returns "undefined class/m...
01/11/2022
-
02:11 PM Ruby Bug #18472 (Closed): rb_w32_map_errno is not found on Ruby-3.1.0
- 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/...
11/05/2020
-
07:57 AM Ruby Bug #17289: Time#strftime occurs Segmentation Fault on ruby-2.7.2p137
- FYI:
I downgraded ruby to v2.7.1.
But in our environment, this error occurred with the same stacktrace.
10/27/2020
-
12:35 PM Ruby Bug #17289: Time#strftime occurs Segmentation Fault on ruby-2.7.2p137
- 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.
-
12:29 PM Ruby Bug #17289 (Feedback): Time#strftime occurs Segmentation Fault on ruby-2.7.2p137
- 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...
05/28/2019
-
05:28 AM Ruby Feature #15879: Proposal: Time#to_i accepts :unit keyword
- > 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...
05/27/2019
-
09:22 AM Ruby Feature #15879 (Open): Proposal: Time#to_i accepts :unit keyword
- 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...
11/01/2018
-
07:59 AM Ruby Feature #14836: Method to return first/last lineno/column of Proc
- Great work!!
What I want is this!
If ruby-trunk merges this patch, I will try to use.
06/08/2018
-
10:14 AM Ruby Feature #14836: Method to return first/last lineno/column of Proc
- 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...
03/15/2018
-
07:59 AM Ruby Feature #14606 (Open): Change begin-else-end without rescue from warning to syntax error
- ~~~ 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, ...