General

Profile

akr (Akira Tanaka)

  • Login: akr
  • Email: akr@fsij.org
  • Registered on: 12/11/2008
  • Last sign in: 06/11/2026

Issues

open closed Total
Assigned issues 15 232 247
Reported issues 5 104 109

Projects

Project Roles Registered on
Ruby Committer 12/11/2008

Activity

06/14/2026

03:01 AM Ruby Bug #21640: Core Pathname is missing 3 methods / is partially-defined
I think `rmtree` should be reimplemented in C using `openat`, as it is a safer approach for deleting directories recursively.
As for `find` and `mktmpdir`, duplicating code is undesirable because it increases maintenance costs. Transl...
akr (Akira Tanaka)

06/13/2026

11:57 AM Ruby Feature #13677: Add more details to error "Name or service not known (SocketError)"
I think it is better for error messages to start with a fixed string, since that makes them easier to search for mechanically.
Therefore, I do not like the current proposed patch (which inserts the hostname between reason and gai_stre...
akr (Akira Tanaka)

03/20/2026

02:03 PM Ruby Feature #21852: New improved allocator function interface
The separation of allocation and initialization is essential to marshal cyclically referenced objects.
We can use Marshal to dump and load cyclically referenced objects:
```
x = []
y = [x]
x << y
z = Marshal.load(Marshal.dump(x...
akr (Akira Tanaka)

12/12/2025

12:29 AM Ruby Feature #21766: Pathname + FileUtils making sweet music together
I feel Unix command names are too short for usual programs.
So, I'm negative.
akr (Akira Tanaka)

12/11/2025

05:47 AM Ruby Feature #21704: Expose rb_process_status_new to C extensions
rb_process_status_new is declared in the PR as follows.
```
/**
* Creates a new instance of Process::Status.
*
* @param[in] pid The process ID.
* @param[in] status The "waitpid status", as returned by waitpid(2). This is NOT ...
akr (Akira Tanaka)

09/01/2025

06:13 AM Ruby Feature #20163: Introduce #bit_count method on Integer
I prefer an exception for popcount to negative values.
I think an array of Fixnums (63 bit signed integers) can be used for mutable bit array.
(Ruby's Integer is immutable. So mutable bit array needs a mutable data structure.)
In...
akr (Akira Tanaka)

08/29/2025

12:56 AM Ruby Feature #20163: Introduce #bit_count method on Integer
What is the behavior for negative values?
The proposal describes two implenentations that returns different values.
```
p (-5).to_s(2).count("1") #=> 2
def bit_count(n)
count = 0
while n > 0
n &= n - 1 # Flip the lea...
akr (Akira Tanaka)

08/21/2025

12:58 PM Ruby Feature #21532: Define most of Pathname in Ruby code
Ok. Merge it. akr (Akira Tanaka)

06/05/2025

10:13 AM Ruby Bug #21391: Inconsistent trailing slash behavior of File.join and Pathname#join with empty strings
I don't recommend trailing slash on a pathname because it is not portable between operating systems.
The behavior of Pathname (it doesn't add a trailing slash) reflects this my opinion.
https://pubs.opengroup.org/onlinepubs/9699919...
akr (Akira Tanaka)

04/24/2025

05:06 PM Ruby Feature #20610 (Closed): Float::INFINITY as IO.select timeout argument
committed.
https://github.com/ruby/ruby/commit/698ef864a59004f468c77534d59e51e862ec2624
akr (Akira Tanaka)

Also available in: Atom