General

Profile

jjyr (jy j)

Issues

Activity

02/21/2018

02:55 PM Ruby trunk Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Pass a new arg to create GreenThread maybe introduce more problems.
For example:
```
g_thr = Thread.create(green...
02:41 PM Ruby trunk Feature #3187: Allow dynamic Fiber stack size
How about
``` ruby
Thread.with_configure(stack_size: 1024).new(a: 1, b: 2){}
# or
Thread::Config.new(stack_s...

02/04/2018

06:14 AM Ruby trunk Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Excited to see this awesome feature! I'm implemented fiber-auto-schedule at ruby userland([light](https://github.com/...

05/23/2014

06:17 AM Ruby trunk Feature #3944: Add Fiber#root? method
`Fiber#root` is useful.
For example, I want write a method, when under `EM::Synchrony` environment it should use `EM...

08/28/2013

05:25 PM Ruby trunk Bug #8828 (Rejected): regex matching not correct
str = " [1]: http://google.com/ "Google""
str =~ /\A\s*\[(.+)\]\:\ (\S+)\s*((?<=&quot;).+(?=&qu...

02/24/2013

10:38 PM Backport200 Backport #7942 (Closed): keyword arguments must use with paren?
def hello name: "ruby2"
puts "hello #{name}"
end
syntax error, unexpected ':', expecting ';' or '\n'
def he...

02/21/2013

11:23 PM Ruby trunk Feature #7883: Add Regex#to_proc
judofyr (Magnus Holm) wrote:
> > ~~~ruby
> > class Regexp
> > def to_proc; lambda {|s| self =~ s} end
> > end
...

02/02/2013

07:17 PM Ruby trunk Bug #7771 (Rejected): method 'gets' crashed
method 'gets' crashed when pass arguments like "ruby test.rb hello"
example
#file test.rb only one method
gets
...

Also available in: Atom