More on an anonymous struct literal syntax for Ruby

over 2 years ago - Direct link

#509 — July 9, 2020

Read on the Web

Ruby Weekly

A Fast Car Needs Good Brakes: How Heroku Added Client Rate Throttling to Their API Client Gem — When you’re interacting with remote APIs, you’ll often need to take rate limits into account. As Richard amusingly says:

“If you provide an API client that doesn’t include rate limiting, you don’t really have an API client. You’v...

Go to article →

Links in this thread

Ruby Weekly Issue 509: July 9, 2020
A Fast Car Needs Good Brakes: How Heroku Added Client Rate Throttling to Their API Client Gem — When you’re interacting with remote APIs, you’ll often need to take rate limits into account. As Richard amusingly says:

A Fast Car Needs Good Brakes: How We Added Client Rate Throttling to the Platform API Gem
When API requests are made one-after-the-other they'll quickly hit rate limits and when that happens...

Anonymous Struct Literals Might Be Coming To Ruby
What do you think of the new literal syntax Koichi Sasada and Matz have been discussing adding to Ruby?

Feature #16986: Anonymous Struct literal - Ruby master - Ruby Issue Tracking System

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.

Fine-grained concurrency for Ruby

Fine-grained concurrency for Ruby. Contribute to digital-fabric/polyphony development by creating an account on GitHub.

Create agents that monitor and act on your behalf. Your agents are standing by! - huginn/huginn

Rewrite Kernel#tap with Ruby by k0kubun · Pull Request #3281 · ruby/ruby
because Ruby is faster than C. $ benchmark-driver -v --rbenv 'before;after' benchmark/kernel_tap.yml benchmark/vm_symbol_block_pass.rb --repeat-count=4 before: ruby 2.8.0dev (2020-07-03T06:16:55Z master 01776ca) [x86_64-linux] after: ruby 2.8.0dev (2020-07-03T07:14:40Z builtin-tap be549c7) [x86_64-linux] Calculating ------------------------------------- before after kernel_tap 22.130M 29.958M i/s - 20.000M times in 0.903731s 0.667597s vm_symbol_block_pass 1.439 1.485 i/s - 1.000 times in 0.694709s 0.673524s Comparison: kernel_tap after: 29958213.1 i/s before: 22130488.0 i/s - 1.35x slower vm_symbol_block_pass after: 1.5 i/s before: 1.4 i/s - 1.03x slower

why so much js?.md
GitHub Gist: instantly share code, notes, and snippets.

Creative, craft and artisan courses and workshops
Thousands of creative workshops across the UK. Our gift vouchers make a unique and creative experience gift and are redeemable against any course. Choose from glass, textiles, blacksmithing, art, jewellery, ceramics, woodwork, stone...and many, many more! There is something for everyone!

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.

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.

Running spot instances effectively with Amazon EKS
Since we started working on HEY, one of the things that I’ve been a big proponent of was keeping as much of the app-side compute infrastructure on spot instances as possible (front-end and as…

Episode 249 - Soft Delete with Discard
Drifting Ruby Screencasts is a collection of short tutorial screencast videos and documentation for accomplishing functional concepts in web development.

🃏🗑 Soft deletes for ActiveRecord done right. Contribute to jhawthorn/discard development by creating an account on GitHub.

Build The World’s Simplest ETL (Extract, Transform, Load) Pipeline in Ruby With Kiba | by Chris I. | Jun, 2020 | Towards Data Science
You can always roll your own, but a number of packages exist to make writing ETL’s clean, modular and testable. ETL stands for “extract, transform, load”, but unless you come from a data mining…

Data processing & ETL framework for Ruby. Contribute to thbar/kiba development by creating an account on GitHub.

Ruby Weekly Issue 499: April 30, 2020
💬 Occasionally we run interviews in Ruby Weekly and we're back with another one.. with long time Rubyist and Kiba maintainer, Thibaut Barrère. Be sure to check out the bottom of this issue to read it, especially if you ever run ETL jobs with Ruby! 😄

Kodius | Prevent unplanned downtime
Don't let them kill off project, or shudder to think, talk you into migrating to Node.js or whatever. Your codebase did not rust. Your project needs some love and care.

#scan_left: A lazy, incremental alternative to Ruby’s #inject | by Parker Finch | Building Panorama Education | Jun, 2020 | Medium
tl;dr: There’s not much code and it lives (along with a summary of this post) here. Get it from rubygems with gem install scan_left! At Panorama we use an event-sourced architecture to persist…

First Class Experimentation in Ruby with Scientist | by Joe Letizia | Jun, 2020 | Building VTS
When I was in grade school, I loved science class. I was lucky to have a teacher that would literally blow things up in class. Balloons were a big hit. The chemical ones were scary sometimes… But…

Understanding and Implementing Bubble Sort in Ruby
You'll probably never need to implement bubble sort from scratch. Just call Array#sort! But sorting algorithms are a popular interview topic for a reason. They ask a bigger question: "Sure, you know what your code does, but do you know how it works? Do you understand the subtle ways that choices ...

Why validation matchers are the only Shoulda matchers I use - Code with Jason
One of the testing questions I commonly get is about Shoulda matchers. People ask if I use Shoulda matchers and if Shoulda matchers are a good idea. I’ll share my thoughts on this. First I’ll explain what Shoulda is, then I’ll explain why the only Shoulda matchers I use are validation matchers. What Shoulda is …

Simple one-liner tests for common Rails functionality - thoughtbot/shoulda-matchers

Rails application templates made even easier with Rails Bytes | Everyday Rails
Application templates aren't just for new Rails apps! Stop copy-pasting configurations and get back to productivity with modular templates from this promising new service.

Rails Bytes
Ruby on Rails templates allow you to add features to both old and new apps. Check out our repository of templates for adding everything from authentication to error monitoring to your apps.

Audio metadata reader ruby gem. Contribute to aidewoode/wahwah development by creating an account on GitHub.

Ruby Security Handbook | Sqreen
Ruby Security Best Practices for Developers. Download the free handbook and improve your Ruby security skills.

Integration of React + Webpack + Rails using rails/webpacker to build Universal (Isomorphic) Apps (aka Server Rendering) - shakacode/react_on_rails

Reactive frontend UI components for Rails in pure Ruby - unabridged/motion

A Ruby interface to the Google Pay™ for Passes API - regularlady/googlepay

Google Pay for Passes  |  Google Developers
Integrate gift cards, loyalty programs, and offers.

How to debug webpack on Rails
Understanding your Rails webpack configuration and build output can be a little confusing, especially if you're new to either Rails or webpack. This post contains a few tips for debugging your Webpacker setup, some specific to Rails Webpacker, some generally applicable to webpack.

Machine Learning with Ruby
A list of gems for Machine Learning, there is not only the Python :). Numo Numo::NArray i... Tagged with ruby, machinelearning, datascience.

Test-Driving a Decision Engine. At multiple companies, I’ve had to… | by Anuj Biyani | One Medical Technology | Medium
How to architect a decision engine to allow for easy unit testing and composition of rules.

Five common issues with services and dry-monads · Anton Davydov
In this blogpost I try to explain how to avoid common problems which I saw in different projects

Clean your Rails routes: grouping | by Mehdi Farsi | rubycademy | Medium
In Ruby on Rails, all the routes of a given application can be found within the config/routes.rb file. Few month ago, we created our my-blog application. This application provides a way to create and…