Ruby 每周问题 657:2023 年 6 月 8 日

  • Ruby 3.2 in AWS Lambda: Ruby was early on AWS Lambda, but was neglected with Ruby 2.7 being the latest with first-class runtime support. Now Ruby 3.2 is available. Cold starts are marginally slower and 2.7 support is extended till December.
  • Ruby in Different Contexts:

    • Cookpad employed Ruby core team members but now there are staff reductions.
    • DHH talked about two-person teams and Ruby/Rails on 37signals' podcast.
    • Julia Evans often touches on Ruby related topics and shared some 'blogging myths'.
    • Drifting Ruby's David Kimura dedicated an episode to approaches to displaying error pages in Rails apps.
    • Rails recently merged a PR to update Action View to use HTML5 sanitization standards. HTML5 support is available in modern Nokogiri and the latest Loofah sanitization library.
  • Tutorials, Articles, and Videos:

    • HexDevs' "Four Strategies To Remove Dead Code from a Ruby App" on how to remove stale code.
    • Janko Marohnić's "Upgrading from Selenium to Cuprite" about performance gains and flaky test failures.
    • Andrei Kaleshka's "A ChatGPT Rails App Optimization Example" using ChatGPT to convert Ruby code to SQL.
    • Jorge Manrubia's "A Friday Email Incident at HEY" about a technical incident at 37signals.
  • Code & Tools:

    • LangChain.rb: Build LLM-Backed Ruby Apps for modern AI workflows.
    • JRuby 9.4.3.0: Ruby 3.1-compatible JVM Ruby implementation.
    • Rufus Scheduler 3.9: In-process scheduler for Ruby.
    • Excon 0.100: Fast HTTP/1.1 client.
    • RubyMine 2023.2 EAP3: With updated RBS support and 'search everywhere' functionality.
    • Async 2.6: Asynchronous I/O framework.
    • Gruff Graphs 0.21: Chart rendering library.
    • SidekiqExpiringJobs: Expiring job support for Sidekiq.
    • Pay 6.6: Payments engine for Rails.
    • IRB 1.7.0.
  • Jobs: Use Hired to find Ruby jobs. It makes job hunting easy with companies approaching with salary details upfront.
阅读 13
0 条评论