The first preview release of Ruby 3.0 is here

21 days ago - Direct link



#521 — October 1, 2020


Read on the Web


Ruby Weekly


Ruby 3.0.0 Preview 1 Released — Fingers crossed for a final Ruby 3.0 release this Christmas, but in the meantime we have t...


Go to article →

Links in this thread

Ruby Weekly Issue 521: October 1, 2020
Ruby 3.0.0 Preview 1 Released — Fingers crossed for a final Ruby 3.0 release this Christmas, but in the meantime we have the first preview release to play with! So if you’ve wanted to get playing with Ractor, the RBS type profiling approach, or even cute syntactical features like rightward assignments, now is a great to try it out as tools like RVM and rbenv make it really easy to get going.


Ruby 3.0.0 Preview 1 Released
RBS is a language to describe the types of Ruby programs. Type checkers including type-profiler and other tools supporting RBS will understand Ruby programs much better with RBS definitions.


Ractor: a proposal for new concurrent abstraction without thread-safety issues by ko1 · Pull Request #3365 · ruby/ruby
Quoted from https://bugs.ruby-lang.org/issues/17100 This ticket proposes a new concurrent abstraction named "Ractor", Ruby's Actor-like feature (not an exact Actor-model). Ractor achieves the following goals: Parallel execution in a Ruby interpreter process Avoid thread-safety issues (especially race issues) by limiting the object sharing Communication via copying and moving I'm working on this proposal in a few years, and the project name was "Guild". I renamed it from Guild to Ractor because of Matz's preference. Resources: Proposed specification: https://github.com/ko1/ruby/blob/ractor_parallel/doc/ractor.md my talk (latest, but written in Japanese) http://atdot.net/~ko1/activities/2020_ruby3summit.pdf (old, API was changed) http://atdot.net/~ko1/activities/2018_rubykaigi2018.pdf (old, API was changed) http://atdot.net/~ko1/activities/2018_rubyconf2018.pdf Current implementation is not complete (many bugs are remaining) but it passes current CI. I propose to merge it soon and try the APIs, continue to develop the implementation on a master branch.


RVM: Ruby Version Manager - RVM Ruby Version Manager - Documentation
RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.


rbenv/rbenv
Groom your app’s Ruby environment. Contribute to rbenv/rbenv development by creating an account on GitHub.


One-liner introduction - Ruby one-liners cookbook
Example based guide for text processing with ruby from the command line


Ruby Weekly Issue 389: March 8, 2018


learnbyexample/Command-line-text-processing
:zap: From finding text to search and replace, from sorting to beautifying text and more :art: - learnbyexample/Command-line-text-processing


Hosted CI/CD for teams that don't like bottlenecks - Semaphore
Semaphore is the fastest hosted CI/CD service available. Deliver your projects light years ahead, with auto-scaling pipelines that any developer can use.


Currency Calculations in Ruby
You're doing some currency calculations in your app. It seems to be working well. But after a while, strange discrepancies emerge. The books stop balancing. People get mad. All because the code treated currency like any other number. In this article, Julio Sampaio shows us which of Ruby's number ...


Money by RubyMoney
Currencies are consistently represented as instances of Money::Currency. The most part of Money APIs allows you to supply either a String or a Money::Currency.


haml/haml
HTML Abstraction Markup Language - A Markup Haiku. Contribute to haml/haml development by creating an account on GitHub.


Release The Long Goodbye · haml/haml
HTML Abstraction Markup Language - A Markup Haiku. Contribute to haml/haml development by creating an account on GitHub.


Bug #15712: DateTime#=== should be defined and compare date and time instead of just the date - Ruby master - Ruby Issue Tracking System
Redmine


CVE-2020-25613: Potential HTTP Request Smuggling Vulnerability in WEBrick
A potential HTTP request smuggling vulnerability in WEBrick was reported. This vulnerability has been assigned the CVE idenfitifer CVE-2020-25613. We strongly recommend upgrading the webrick gem.


Ruby 3.0 Freezes Range Objects | Ruby on Rails, ReactJS Development Company | scriptday
Ruby 3.0 Freezes Range Objects


Announcing HashiCorp’s Homebrew Tap
Get Terraform, Packer, Vault, Consul, and Nomad up and running even faster on macOS with our new official Homebrew Tap.


Jobs - Senior Ruby Developer - Afrikrea
We're Afrikrea, an African fashion, and craft marketplace. We help thousand fashion designers grow their sales through our platform. Our sellers earned more than 7 000 0000 € from customers in +100 countries to this day with our platform.


Navis: Senior Software Engineer (Full Stack - Ruby on Rails)
Position Summary We are looking for a full-stack developer with experience working on a production Ruby on Rails application to help us build and improve our Octopi Terminal Operating System (TOS), used by cargo ports to manage their operations. The ideal person for this position should be intel...


Grow your tech career
Thousands of startups and companies use Vettery to grow their tech and product teams. Sign up today and let your next role find you.


Adscheduler
Get your job listings in front of over 400,000 software developers via our JavaScript, Web operations, front-end development, Ruby, Node.js, and other e-mail newsletters.


The Complexity of Active Record Transactions
I’ve recently picked up the sequel-activerecord_connection gem again to make some reliability improvements around database transactions. For context, this gem extends Sequel with the ability to reuse Active Record’s database connection, which should lower the barrier for trying out Sequel in apps that use Active Record.


janko/sequel-activerecord_connection
Allows Sequel to reuse an ActiveRecord connection. Contribute to janko/sequel-activerecord_connection development by creating an account on GitHub.


Solve race condition using database trigger function
Model validation works well... until you have multiple users creating multiple model objects at almost the same time.


Building a Ractor based logger that will work with non-Ractor compatible code - Running with Ruby
Recently Mike Perham shared a tweet with this comment and a code sample on the Ruby 3.0 Ractors. If this code doesn’t work, how could Rails ever work? Ractor seems fundamentally incompatible with many heavily-used Rails APIs. During the weekend I’ve added support of Ractors in the Diffend.io, a free platform for an OSS supply […]


https://rubyweekly.com/link/96055/rss


Best Practices for Optimizing Postgres Query Performance
DBAs and developers use pganalyze to identify the root cause of performance issues, optimize queries and to get alerts about critical issues. Sign up for free!


How to Fix PostgreSQL Performance Issues with PG Extras
PostgreSQL database queries are a common performance bottleneck for web apps. Before you resort to more complex optimization techniques like caching or read replicas, you should double-check if your database engine is correctly tuned and queries are not underperforming. In this blog post, I present a step by step guide on using PG Extras library to spot and resolve common PostgreSQL database performance issues.


5by5 | Ruby on Rails Podcast #337: Chipping Away at a Monolith with Tori Huang
Tori Huang, software engineer at Gusto, and her team recently embarked on a journey toward unbundling part of Gusto’s monolithic Ruby on Rails app. She and Brittany discuss knowing when to uncouple a service and how to identify orphan code.


jolmg/parsby
Parser combinator library for Ruby inspired by Haskell's Parsec - jolmg/parsby


parslet - About
Parslet takes the long way around to make your job easier. It allows for incremental language construction. Often, you start out small, implementing the atoms of your language first; parslet takes pride in making this possible.


makandra/query_diet
A Rails database query counter that stays out of your way - makandra/query_diet


fnando/sinatra-subdomain
Separate routes for subdomains on Sinatra. Contribute to fnando/sinatra-subdomain development by creating an account on GitHub.


Application Monitoring for Ruby, Elixir, and Python ~ Scout
Rails Monitoring, Django Monitoring, Elixir Phoenix Monitoring, PHP Laravel Monitoring, and more that identifies slow database queries, memory leaks, and slow custom code.


rpush/rpush
The push notification service for Ruby. Contribute to rpush/rpush development by creating an account on GitHub.


ruby/ostruct
OpenStruct implementation. Contribute to ruby/ostruct development by creating an account on GitHub.


Feature #5481: Gemifying Ruby standard library - Ruby master - Ruby Issue Tracking System
Redmine


ruby/ostruct
OpenStruct implementation. Contribute to ruby/ostruct development by creating an account on GitHub.