RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Organic Test Driven Development in one file

I wrote about how I approach Test Driven Development in a very very lightweight manner at https://fly.io/ruby-dispatch/organic-test-driven-development/ by keeping gem dependencies, source code, unit tests, and documentation in a single file. This helps me keep iterations tight and rapid early on in a project. Once I’m ready to distribute it as a gem I break it apart into the usual files you’d see in a project.

Understanding the Ruby Global VM Lock by observing it

The Global VM Lock (GVL), is an implementation detail of the Ruby VM. At a high-level, it prevents code across multiple threads from running in parallel. The GVL can have a big impact on the performance and responsiveness of any application that uses more than a single thread to do its work. I’ve recently presented on this topic at RubyKaigi 2023; live interactive examples, the video, and slides are available at https://ivoanjo.me/blog/2023/07/23/understanding-the-ruby-global-vm-lock-by-observing-it/ .

Parallel Testing in Rails 7: Benefits and Pitfalls

Explore the realm of Rails 7’s parallel testing with our in-depth look into its efficiency-boosting capabilities and the challenges that might arise. As developers, understanding the tools at our disposal is paramount. Don’t miss out on this comprehensive guide that could revolutionize your testing strategy. Dive deep into the benefits and pitfalls of this robust feature at https://psmy.medium.com/parallel-testing-in-rails-7-benefits-and-pitfalls-66d38b8cd15e.

Build Your Own Blockchain Layer 1 (L1) Ordinal Inscription Indexer

is it ordinal summer? i have started (yet) another free online booklet titled “ Programming Ordinal Generatives (Ordgen) / ORC-721 - Step-by-Step Book / Guide” and the first chapter titled Build Your Own Blockchain Layer 1 (L1) Ordinal Inscription Indexer is online using the unisat, ordinals and ordlite gems. Happy blockchain indexing and data analytics programming with ruby.

Introducing Plain: An AI Assistant Engine for Rails 🤖

I’m thrilled to introduce Plain, a Rails engine designed to supercharge your Rails development. It is a GPT Chat on your Rails app that knows the context of your code, so it can help you build new code, explain some features of your app, build specs, do refactors, etc. It also provides a documentation endpoint populated with Markdown files with front-matter support. [more inside]

New minitest-flash Gem for Your Fancy Red/Green Notifications

This just out: minitest-flash reporter – dull as ditchwater yet useful IMO. It simply calls your personal minitest-flash executable (usually a shell script) to trigger whatever fancy red/green notification you like. Safe to use on team projects as nothing happens unless the executable is present. The README showcases my setup for macOS which flashes the menu bar twice in either red or green along with an optional sound effect (mutable in case your ears have better things to do).

Every True Rubyist Builds Their Own Code Editor in Ruby!

Every self respecting Senior Software Engineer out there should build their own code editor, even if just as a toy app to later be discarded in favor of another code editor (though they might grow to prefer their own). And, if they are Rubyists, they should build their code editor in Ruby (whether using MRI Ruby, JRuby or Opal Ruby). If you think of yourself as a Ruby Senior Software Engineer, but cannot build your own code editor in Ruby, there are serious holes in your skillset!! Explore Glimmer libraries for many Ruby options to help you start the code editor building challenge and journey. [more inside]

unisat gem v0.1 - unisat.io lite helpers for full-text search in ordinal inscriptions

is it ordinal summer? i’ve bundled-up scripts in the new unisat gem that let you full-text search via unisat.io in bitcon ordinal inscriptions using an automated “puppeteered” google chrome browser and automagically save / cache the results page-by-page and handle the pagination / batch processing. happy gold mining / searching and data analytics with ruby. ps: it is still the early days (v0.1) ;-).

Loading older posts