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.

Should I add typing to my Ruby project?

I’ve spent a lot of time recently investigating if I should adopt gradual typing in my Ruby projects and I’ve summarised my research in this post where I’ve picked 5 key criteria which I’ve seen mentioned most often by people that are using gradual typing successfully: Should I add typing to my Ruby project?

Detect Spam with AI

We can create a small python service that uses a Large Language Model (LLM) to detect if a message is spam or not. Using this service, we can tie it into our Rails application so that any comment created will be evaluated for being spam or not. We explore a few different routes on handling any messages flagged as spam. https://www.driftingruby.com/episodes/detect-spam-with-ai

uniswap gem v0.0.1 - core uniswap v2 (dumb) contracts for ruby (rubysol)

hello, another little update from the rubidity & rubysol universe. i started a new experiment to package up the uniswap (facetswap) contracts into a gem (and convert to “more ruby-ish” rubysol syntax for easier documentation / testing / etc.). for the auto-generated contract docu. see rubydoc.info/gems/uniswap and for a contract sample, see the (work-in-progress) UniswapV2Pair. as always questions and comments welcome. yes, you are invited to join the rubidity & rubysol coding (programming) club. let’s study and learn together how the (dex - decentralized exchange and amm - automated market making) magic works.

An experiment of fully adding both Sorbet and RBS to a side project

To test how effective they are at finding defects, I did an experiment where I added both Sorbet and RBS fully to a side project and I wrote up the results and findings in a blog post: Experiment: Fully adding Sorbet and RBS to a small project.

rubidity gem - rubidity classic / o.g. dsl builder for rubsol contracts

hello, in the ongoing rubidity & rubysol series i packaged-up and published a new gem, that is, rubidity that tries the impossible and square the circle, that is, a rubidity “classic / o.g.” dsl builder generating rubysol “more ruby-ish” contract classes. happy blockchaining with ruby / rubysol. now available in the more classic “solidity-ish” rubidity o.g. and more modern rubysol “ruby-ish” syntax styles. you decide.

Glimmer DSL for LibUI Custom Shapes

Glimmer DSL for LibUI 0.10.1 & 0.10.0 ship with support for building and scaffolding Area Canvas Graphics Custom Shapes (with optional Gemification). Custom shapes represent higher-order graphical concepts, like cube, cylinder, and uml_class, that could be formed out of more rudimentary shapes like rectangle, circle, bezier, and text, to aggregate and simplify interaction with them as coarse-grained components in a desktop application. Custom Shapes improve productivity significantly through code reuse in graphical desktop applications that rely on Area Canvas Graphics, like UML Diagramming tools, Traffic Control Signalling apps, and games…

Loading older posts