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.
Hear two rubyists discuss when to use UUIDs (and when not to): https://www.rubberduckdevshow.com/episodes/15-when-to-use-uuids/
Hello, Let’s try another round in the ruby pixel art (graphics) programming challenge: Ruby Pixel Art Programming Challenge #2 - Cryptopunk Redux - Generative Art Taking Each of the 576 Pixels [from a Punk] from the Original Series and Placing the Pixels Randomly within the Same 24x24 Pixel Grid - Yes, You Can - Let’s Do A Free (Right-Click & Save Image) Edition / Share Your Pixel Art Scripts (in Ruby) ++ Let’s get inspired by the pre-currency (spots painting “Damien Hirst-style”) Cryptopunk Redux collection. The modern art (pixel art) collection blurb reads [..] Share your generative (pixel) art script(s) in ruby (on ruby-talk) or for an alternative join us on r/CryptoPunksDev - a channel mostly about - yes, pixel art programming in ruby. Bonus - for trying circles (“spots”) instead of square pixels / rectangles :-). Cheers. Prost.
Infinite loops are great for expressing long-running concurrent operations. In this article I’ll discuss the use of infinite loops as a major construct when writing concurrent apps in Ruby using Polyphony. I’ll show how infinite loops differ from normal, finite ones; how they can be used to express long-running tasks in a concurrent environment; and how they can be stopped. Read it now!
Zeitwerk is the code autoloader and reloader that was integrated with Rails 6. Beginning in Rails 7, it will be the only codeloader option. As a result, upgrading to Zeitwerk will be an important step in getting your application ready for the next version of Rails. In this article, we’ll talk about upgrading your Rails 6 application from classic to zeitwerk mode. [more inside]
Not sure how to manage code concurrency in your rails code? We help you manage code concurrency through two easy fixes using Executors and Reloaders. https://blog.engineyard.com/code-concurrency-and-fixes?utm_source=RubyFlow&utm_id=QiWorks.in
DynamoDB is a NoSQL database offered by AWS. It can be a great way to avoid adding load to your primary database when you need tens of thousands of reads/writes per second. In this article, Julie Kent walks us through the basics of using DynamoDB with Rails. https://www.honeybadger.io/blog/aws-dynamo-db-rails/
Recently, I’ve had an unfortunate opportunity to deal with a very unexpected issue with Kafka that had quite terrible consequences. The exact origin of the issue is yet to be discovered; nevertheless, the process leading to the final solution to the problem and the fix itself were interesting enough that I decided to write a quick blog post about it as it might be potentially valuable to someone who also encounters a similar problem. [more inside]
Glimmer DSL for LibUI (Prerequisite-Free CRuby Desktop Development GUI Library) has been a passion project for the last 3 weeks that ended today with Glimmer DSL for LibUI becoming feature-complete and moving from Alpha to Beta. What is LibUI? LibUI is a thin Ruby wrapper around libui, a relatively new C GUI library that renders native controls on every platform (similar to SWT, but without the heavy weight of the Java Virtual Machine). [more inside]
Hello, I’ve put together a new pixel art how-to (step-by-step guide) titled The Making of Adam (24x24 Pixel Punk) from Scratch / Zero Using Pixel Art Designs in the ASCII Text Format. Yes, in ruby. Now create (or design) your own free Adam (or Eve) pixel punks. Yes, you can.
Ruby makes developers happy, but at times I wish it was faster. In a new article I explore a novel approach to improving the performance of Ruby apps.