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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Rate Limited APIs
I’ve been working with a Rate Limited API recently where the rate is ridiculously small for the application. Being a poor dev without bacon all I can afford is the free API key…. and of course the library that I’m using to access the API has no knowledge of how to handle rate limited APIs. I came up with an idea to inject rate limitations via the configuration of the API key. It only took a minor modification to the API wrapper library to recognize that the api key could be a Proc. Pull Request to the library author; rate limiter built; all is right with the world. [more inside]
RubyConf 2023 How To Build Desktop Applications in Ruby (Accepted)
My RubyConf 2023 workshop submission titled “How To Build Desktop Applications in Ruby” has been accepted! It will take place in San Diego, California, USA on Monday, November 13, 2023 at 10am PT. Workshop seating is limited, so please RSVP for your spot over here: https://rubyconf-2023.sessionize.com/session/531448 This workshop expands on last year’s RubyConf 2022 talk “Building Native GUI Apps in Ruby” ( https://www.youtube.com/watch?v=1Bh4CnJqHyY ).
Phlex with Hanami - make your views written in Ruby. Completely.
A new HM episode! There is a famous video about the IT skill iceberg - but thankfully, there is an alternative. If you ever wondered if you can build entire websites without HTML overhead, now you can! [more inside]
rubidity-simulacrum gem v0.1 - run blockchain contracts in rubidity w/ eth simulator
Hello, yes, rubidity started as a joke (by Middlemarch a.k.a. Tom Lehman this summer). can it get any more stupid!? let’s try. some years ago i put together an ethereum simulator called universum (yes, in ruby). now that rubidity is a kind of better (or 100% solidity-compatible) version of secure ruby i put together a 2nd generation ethereum simulator (universum v2) called … drum roll, please … simulacrum. i published the first rubidity-simulacrum gem (v0.1) that lets you run (dumb) blockchain contracts in rubidity (with 100%-solidity compatible data types & abis) on an ethereum simulacrum in your own home for fun & profit (for free). happy blockchain programming with ruby & rubidity. ps: rubidity SOON! on mainnet. See Introducing DumbSwap!.
The latest issue of Rails Tricks is out.
This time I wrote about the form_with helper. [more inside]
New gem rubocop-disable_syntax - rubocop extension to forbid unfavorite ruby syntax
Ruby is a sweet language, but sometimes is too sweet… If you have some unfavorite ruby syntax, e.g. unless
, until
, safe navigation, endless methods etc, you can now easily forbid it using the new rubocop extension - https://github.com/fatkodima/rubocop-disable_syntax [more inside]
Skrift::X11 - pure Ruby TrueType rendering w/pure Ruby X11 binding
Skrift::X11 let you render text using TruetType fonts via the Skrift TrueType engine. Both are pure Ruby, and rely on the pure Ruby pure-x11 Gem to open an X11 window without Xlib. [more inside]
Software Developer Management and Remote Work | Rubber Duck Dev Show 101
In this episode, we discuss the management of software engineers and dealing with remote work: https://www.rubberduckdevshow.com/episodes/101-software-developer-management-remote-work/
rubidity-typed gem update - "zero-dependency" typed value and reference classes
Hello, for those one or two people interested in rubidity - a it’s just ruby version with 100%-compatible solidity types and abis - i updated the rubidity-typed gem that’s the foundation with with “zero-dependency” typed value and reference classes. it’s still (very) early. if anyone is interested in typed ruby (at runtime only; no static type-checker) i invite you to join the fun and let’s explore and learn together.
Glimmer DSL for SWT 4.29.0.0 Released
Glimmer DSL for SWT (JRuby Desktop Development Cross-Platform Native GUI Framework) version 4.29.0.0 has just been released! It is that quarterly release the happens when a new version of the Eclipse SWT GUI toolkit is released (SWT 4.29 was released in September of 2023). [more inside]
Metaprogramming in Ruby
https://www.shakacode.com/blog/metaprogramming-in-ruby/
rubidity language design choices - classic vs more ruby-ish - you decide
Hello, as a follow up to rubidity gem - ruby for layer (l1) contracts / protocols language machinery i have started to collect notes on the new rubidity (blockchain) contract programming language that now has two styles - the original “classic” and the more ruby-ish update (i am working on). anyways, python has vyper¹ and now ruby will SOON! have rubidity for contract programming “on-chain” or “off-chain”. It’s still (very) early. I invite you to join the fun and let’s explore and learn together building a typed programming machinery in ruby (100% compatible with solidity types & abis). [more inside]
Build a SaaS App in Rails 7 Book is Content Complete
The book “Build A SaaS App in Ruby on Rails 7” is content complete and in Beta! The book takes you from first lines of Rails to a complete SaaS application. [more inside]
Looking Back On 100 Episodes! | Rubber Duck Dev Show 100
In this episode, we look back on our most popular topics for our 100 episodes and discuss why: https://www.rubberduckdevshow.com/episodes/100-looking-back-on-100-episodes/
Building Conference Talk Content
Did you just have a conference talk proposal accepted? Congrats! Are you building a presentation to share internally with your company? Awesome! Are you wondering what you do now that you need to turn the idea into a presentation? I share my process in my latest post. https://kevinjmurphy.com/posts/building-conference-talk-content/