General

Profile

printercu (Max Melentiev)

Issues

Activity

12/03/2018

09:42 AM Ruby trunk Bug #15367: IO.select is not resumed when io-object gets closed
I'm using `IO.select` with ssl socket as it's suggested in docs https://ruby-doc.org/core-2.5.3/IO.html#method-c-sele... printercu (Max Melentiev)

12/02/2018

04:48 PM Ruby trunk Bug #15367 (Open): IO.select is not resumed when io-object gets closed
Here is sample code:
~~~ ruby
rp, wp = IO.pipe
t2 = Thread.new { IO.select([rp]) }
# This also does not work:
...
printercu (Max Melentiev)

10/19/2018

06:58 AM Ruby trunk Bug #14127: (CSV) generating UTF-16LE encoded file without BOM
It has different behaviour. In my example file is empty if `csv.<<` is never called, in suggested example it contains... printercu (Max Melentiev)

10/18/2018

03:11 PM Ruby trunk Bug #14127: (CSV) generating UTF-16LE encoded file without BOM
WDYT about adding `file_header` option or something like this?
It's quite tricky to add this in streaming mode:
...
printercu (Max Melentiev)

09/14/2018

05:30 PM Ruby trunk Feature #15123 (Open): Enumerable#compact proposal
Hi!
While Enumerable does not provide `#compact` method, it requires changing code in some cases to substitute arr...
printercu (Max Melentiev)

07/30/2018

08:13 AM Ruby trunk Feature #6284: Add composition for procs
matz (Yukihiro Matsumoto) wrote:
> Considering the combination of OOP and FP, it seems a good idea to adding both fo...
printercu (Max Melentiev)

03/21/2018

06:43 AM Ruby trunk Bug #14621: Extra whitespace in squiggly heredoc with escaped newline
Tested in ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux] - same result. printercu (Max Melentiev)
06:38 AM Ruby trunk Bug #14621 (Closed): Extra whitespace in squiggly heredoc with escaped newline
~~~ruby
puts <<~TXT.inspect
1 \
2
TXT
~~~
Expected:
~~~
"1 2\n"
~~~
Got:
~~~
"1 2\n"
~~~
printercu (Max Melentiev)

07/12/2017

01:38 PM Ruby trunk Bug #13727: Not able to set program_name for new Syslog::Logger
Thank you!
Sorry, I haven't noticed this documentation.
printercu (Max Melentiev)

07/07/2017

07:20 AM Ruby trunk Bug #13727 (Open): Not able to set program_name for new Syslog::Logger
Hi!
Every instance of syslog logger uses same program_name as first initialized one, because they all share single...
printercu (Max Melentiev)

Also available in: Atom