ossl_sslctx_mark uses rb_gc_mark_movable, so the SSLContext relocates. Its VALUE is stored in four places: the SSL_CTX's ex_data, and the callback argument of the NPN advertise, NPN select and ALPN select callbacks. ossl_sslctx_compact u...bitsweat (Jeremy Daer)
If we treated the first argument to `#sum` as the additive identity instead of "initial element," then it'd be very clear what to expect: When there are no elements in the Enumerable, return the identity. That works nicely for summ...bitsweat (Jeremy Daer)
Note you can use `Open3.capture3` to safely read stdout and stderr without doing `popen3` + `IO.select` yourself. Internally, this uses separate threads to read stderr & stdout and to wait for the child process to finish: https://gith...bitsweat (Jeremy Daer)
I'm running Ruby 2.1.2 with `GC_HEAP_OLDOBJECT_LIMIT_FACTOR = 1.3` with good results, but I didn't do a thorough survey of behavior. Does @ko1 suggestion (https://bugs.ruby-lang.org/issues/9607#note-11) change the situation, and tunin...bitsweat (Jeremy Daer)
In RFC 3986, square brackets are no longer allowed in the query part. Source of the unescaped brackets, in this case: https://github.com/brynary/rack-test/blob/master/lib/rack/test/utils.rb This may become a common issue since plen...bitsweat (Jeremy Daer)