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.
[ANN] sprockets_terser_with_source_maps 1.0.0 Released
sprockets_terser_with_source_maps version 1.0.0 has been released! Read more
PopRuby - New online store just for Rubyists
A really cool online store focused on Ruby-inspired clothing and accessories just for Ruby programmers -
How to locate the source of a Ruby method
I noticed that it’s a repeating pain to figure out how to find where a specific method on a ruby object is defined, i.e. find its source code. And it’s actually very easy once you know. So I wrote about it and covered a few trickier cases as well:
[ANN] httpx 0.24.6 released
httpx 0.24.6 has been released. Read more
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. Read more
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! Read more
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. Read more
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 - Read more
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. Read more
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:
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). Read more
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). Read more