General

Profile

rogerdpack (Roger Pack)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 128 129

Activity

03/25/2020

04:58 AM Ruby Feature #1089: Stable sorting for sort and sort_by
"sad"
It's just surprising that "depending on OS" sometimes sort is always stable. Then occasionally isn't. Without it nested `sort_by`'s don't work as you'd expect (secondary, tertiary sort), without high performance hit of the #wi...
rogerdpack (Roger Pack)

11/07/2019

03:58 AM Ruby Feature #1089: Stable sorting for sort and sort_by
It's sad that #sort on linux is "mostly stable" but on OS X is unstable [1]. It's confusing, unfortunately.
Since almost always when I do a "sort_by(&:x).sort_by(&:y)" I am looking for a stable sort. And that's exactly the reason that...
rogerdpack (Roger Pack)

06/11/2014

05:11 AM Ruby Bug #9930 (Closed): unicode filenames somehow don't work
Something seems amiss here--I can't seem to pass in a unicode filename and have it used for reading/opening a file:
~~~
C:\>type read.rb
p ARGV
p Dir['*']
p File.binread(ARGV[0]).size
c:\>ruby read.rb "( ͡° ͜ʖ ͡°).mp4"
["( ?\x...
rogerdpack (Roger Pack)

01/27/2014

10:35 PM Ruby Feature #3333: mkmf (have|find)_cxx_header
could I request an update on this please? rogerdpack (Roger Pack)

05/02/2013

10:50 PM Ruby Feature #7701: Non-optional (required) keyword args
(Same question as Charles) this will be included with 2.1 (I didn't see it in this list, but assume it will anyway? https://bugs.ruby-lang.org/projects/ruby-trunk/roadmap#Ruby-210 ).
Thank you.
rogerdpack (Roger Pack)

04/05/2013

01:51 AM Ruby Feature #7292: Enumerable#to_h
+1 from me. Sometimes after converting from an array to a hash I want to "convert back" to a hash and inevitably I reach for "to_h" just to discover it's not there. rogerdpack (Roger Pack)

02/01/2013

02:31 AM Ruby Feature #7763 (Closed): add Win32::Registry#values
hello.
In today's Win32::Registry objects, we have
#num_keys, #keys, #num_values
(and no #values method, but there is an #each_value method and #each_key method).
So this is a feature request for it to be added. I suppose it ...
rogerdpack (Roger Pack)

10/27/2012

06:35 AM Ruby Bug #7070 (Third Party's Issue): sometimes backticks can fail to return data
I'm going to guess for now that this is a windows bug (or cmd.exe bug)--when you run cmd.exe and it also includes redirection, sometimes it returns nothing (even with python). Weird. Work around might be to use ffi or Process.spawn inst... rogerdpack (Roger Pack)

09/28/2012

05:45 PM Ruby Bug #7070: sometimes backticks can fail to return data
yes in the few limited tests I've tried (I still need to try a c-based popen that also spawn a new cmd shell IIRC) I am not able to get it to fail if I just capture "ffmpeg.exe 2>&1", only with that exact command line does it fail. Inte... rogerdpack (Roger Pack)
04:43 PM Ruby Feature #7082: Process.kill 0 in windows can return spurious success
I see that the current way in windows somewhat mimic's how it operates in Unix (process is a zombie, so still responds to signals). If so, perhaps it would be nice to create a new method
Process.alive?(pid)
that would be useful i...
rogerdpack (Roger Pack)

Also available in: Atom