[#65451] [ruby-trunk - Feature #10333] [PATCH 3/1] optimize: "yoda literal" == string — ko1@...
Issue #10333 has been updated by Koichi Sasada.
ko1@atdot.net wrote:
Eric Wong <normalperson@yhbt.net> wrote:
Eric Wong <normalperson@yhbt.net> wrote:
On 2014/10/09 11:04, Eric Wong wrote:
SASADA Koichi <ko1@atdot.net> wrote:
[#65453] [ruby-trunk - Feature #10328] [PATCH] make OPT_SUPPORT_JOKE a proper VM option — ko1@...
Issue #10328 has been updated by Koichi Sasada.
[#65559] is there a name for this? — Xavier Noria <fxn@...>
When describing stuff about constants (working in their guide), you often
On 2014/10/09 20:41, Xavier Noria wrote:
On Thu, Oct 9, 2014 at 1:59 PM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
[#65566] [ruby-trunk - Feature #10351] [Open] [PATCH] prevent CVE-2014-6277 — shyouhei@...
Issue #10351 has been reported by Shyouhei Urabe.
[#65741] Re: [ruby-cvs:55121] normal:r47971 (trunk): test/ruby/test_rubyoptions.rb: fix race — Nobuyoshi Nakada <nobu@...>
On 2014/10/16 10:10, normal@ruby-lang.org wrote:
Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
2014-10-16 12:48 GMT+09:00 Eric Wong <normalperson@yhbt.net>:
[#65753] [ruby-trunk - Feature #10333] [PATCH 3/1] optimize: "yoda literal" == string — ko1@...
Issue #10333 has been updated by Koichi Sasada.
[#65818] [ruby-trunk - Feature #10351] [PATCH] prevent CVE-2014-6277 — shyouhei@...
Issue #10351 has been updated by Shyouhei Urabe.
[ruby-core:65963] [ruby-trunk - Feature #10442] Helper methods to Vector class
Issue #10442 has been updated by Marc-Andre Lafortune. Thanks for the feature request(s). I think `angle_between` could be useful. The patch needs work though: * should check that given argument is a Vector * should calling `self` when not necessary * should avoid create intermediary vectors when not necessary for performance reasons * the doc should specify the return to be in [0...Math::PI] * I feel that `angle_with` would be a more appropriate name I am less confident about the `projection_to`. It's really the norm of the projection, so maybe a name like `projected_norm` would be clearer, but I'm curious if this would be used much. Are there applications that use this? If so, please open a separate feature request with details on what kind of applications would use this. I'll give you a couple of days if you'd like to fix the patch for `angle_with`, otherwise I'll fix it myself and commit it, up to you :-) Thanks ---------------------------------------- Feature #10442: Helper methods to Vector class https://bugs.ruby-lang.org/issues/10442#change-49697 * Author: Egunov Dmitriy * Status: Open * Priority: Normal * Assignee: Marc-Andre Lafortune * Category: lib * Target version: ---------------------------------------- Vector class missed some very helpful methods like angle between another vector and vector projection. Patch attached. Please advice if more unit tests are needed. ---Files-------------------------------- vector_helpers.patch (1.44 KB) -- https://bugs.ruby-lang.org/