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
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
In this episode, we discuss the hardware and software each of us use in our software development work with guest Drew Bragg: https://www.rubberduckdevshow.com/episodes/102-our-favorite-development-tools/
Hello, in the ongoing rubidity series (type-safe “blockchain” programming with solidity compatible data types & abis in ruby) i uploaded a new “zero-dependency” rubidity-typed gem. What’s news? Now you can use (user-defined typed) structs and enums and with the new Types module / namespace TypedArray now becomes Array, and TypedString becomes String and so on and thanks to unicode “magic” you can even use Mapping‹Address→UInt›.new or Array‹UInt›.new for working / valid (typed) class names. it’s still (very) early. i invite you to join the fun and let’s explore and learn together. PS: See the crowdfunder contract (ruby script) to see (Rubidity) enums, structs, and more in action.
Stripe Checkout is one of my favorite ways to handle payments in Ruby on Rails applications. Stripe Checkouts will soon have an option to embed the Checkout into your web application. In this episode, we’ll look at implementing this feature with a StimulusJS controller. https://www.driftingruby.com/episodes/embedding-stripe-checkout
sprockets_terser_with_source_maps version 1.0.0 has been released! [more inside]
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: https://radanskoric.com/articles/locating-source-of-ruby-method
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]
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 ).
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]
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!.
Ruby is a sweet language, but sometimes is too sweet… If you have some unfavorite ruby syntax, e.g.
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]
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/
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 (JRuby Desktop Development Cross-Platform Native GUI Framework) version 126.96.36.199 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]