33 Matching Annotations
  1. Mar 2025
    1. However, I also feel that Ruby sometimes seems too focused on being backwards compatible, to a point where it risk hurting the ecosystem. I think this thread is a good example, because it seems like such a small and benign change, yet it's taken several years and lots of back and forth, and in the end the proposed change wasn't even applied(!?).
  2. Jan 2025
  3. Jan 2023
  4. Apr 2022
  5. Mar 2022
  6. Nov 2021
  7. Aug 2021
    1. Will my code break on Ruby 2.7? A short answer is “maybe not”. The changes in Ruby 2.7 are designed as a migration path towards 3.0. While in principle, Ruby 2.7 only warns against behaviors that will change in Ruby 3, it includes some incompatible changes we consider to be minor. See the “Other minor changes” section for details. Except for the warnings and minor changes, Ruby 2.7 attempts to keep the compatibility with Ruby 2.6. So, your code will probably work on Ruby 2.7, though it may emit warnings. And by running it on Ruby 2.7, you can check if your code is ready for Ruby 3.0.
  8. Jul 2021
  9. Apr 2021
  10. Mar 2021
  11. Feb 2021
    1. I'm not very familiar with this feature. Do you know what version of Rails is required for this code to work? Is it Rails 6.0+? We run the test suite via Travis CI for many versions of Rails so I am concerned that this will cause test failures on older versions. Can we write the tests so that they gracefully exclude the CSP stuff on older versions where CSP is not supported?
    1. {a: 1, b: 2, c: 3, d: 4} => {a:, b:, **rest} # a == 1, b == 2, rest == {:c=>3, :d=>4}

      equivalent in javascript:

      {a, b, ...rest} = {a: 1, b: 2, c: 3, d: 4}
      

      Not a bad replacement for that! I still find javascript's syntax a little more easily readable and natural, but given that we can't use the same syntax (probably because it would be incompatible with existing syntax rules that we can't break for compatibility reasons, unfortunately), this is a pretty good compromise/solution that they've come up with.

  12. Oct 2020
  13. Jul 2020
  14. May 2020
  15. Apr 2020
  16. Jan 2019
    1. Coming back to the two ‘FreeSync’ settings in the monitor OSD, they differ in the variable refresh rate range that they support. ‘Standard Engine’ supports 90 – 144Hz (90 – 119Hz via HDMI) whilst ‘Ultimate Engine’ gives a broader variable refresh rate range of 70 – 144Hz (62 – 119Hz via HDMI). We didn’t notice any adverse effects when using ‘Ultimate Engine’, so we’d suggest users simply stick to that option.

      In my tests using Standard Engine, in combo with G-Sync Compatible Driver, I get more screen flickering during menus.