tag:www.driftingruby.com,2005:/episodes/feedDrifting Ruby Screencasts2024-03-13T07:04:47Ztag:www.driftingruby.com,2005:Episode/4512024-03-03T00:00:00Z2024-03-13T07:04:47ZStreaming LLM ResponsesIn this episode, we look at running a self hosted Large Language Model (LLM) and consuming it with a Rails application. We will use a background to make API requests to the LLM and then stream the responses in real-time to the browser.Dave Kimurasupport@driftingruby.comtag:www.driftingruby.com,2005:Episode/4472024-02-04T00:00:00Z2024-02-13T19:15:07ZCampfire PatternsIn this episode, we look at some of the design patterns that are used in Campfire and my take on why they took this approach. We'll explore some of the code organization, search functionality, and more!Dave Kimurasupport@driftingruby.comtag:www.driftingruby.com,2005:Episode/4452024-01-24T00:00:00Z2024-02-28T23:22:26ZExploring CampfireIn this episode, we explore the Campfire code from 37signals' Once product line. We'll install the product and grab the code base to get it up and running on our development environment.Dave Kimurasupport@driftingruby.comtag:www.driftingruby.com,2005:Episode/4422024-01-07T00:00:00Z2024-02-10T21:12:34ZTurbo 8With Turbo 8 comes a lot of new features and in this episode, we'll explore an upgrading a blog post with comments to add in the new functionality.Dave Kimurasupport@driftingruby.comtag:www.driftingruby.com,2005:Episode/4372023-12-03T00:00:00Z2024-01-25T04:20:21ZHotkeysKeyboard shortcuts, or Hotkeys, can provide a great experience to users of an application. In this episode, we will use a stimulus wrapper around this library to use within our Ruby on Rails application.Dave Kimurasupport@driftingruby.comtag:www.driftingruby.com,2005:Episode/4332023-11-05T00:00:00Z2024-02-16T21:21:38ZDetect Spam with AIWe 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.Dave Kimurasupport@driftingruby.comtag:www.driftingruby.com,2005:Episode/4272023-10-01T00:00:00Z2023-12-16T05:16:42ZEmbedding Stripe CheckoutStripe 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.Dave Kimurasupport@driftingruby.comtag:www.driftingruby.com,2005:Episode/4232023-09-06T00:00:00Z2024-01-25T04:20:15ZI'm a teapotA special release to celebrate 418 episodes. I talk about different HTTP response codes.Dave Kimurasupport@driftingruby.comtag:www.driftingruby.com,2005:Episode/4222023-09-03T00:00:00Z2023-12-14T10:17:10ZSystem TestsIn this episode, we look at adding system tests in our application to test our Stimulus Controllers. We'll also look at how to DRY up some of the tests and how to run them in a headless environment.Dave Kimurasupport@driftingruby.comtag:www.driftingruby.com,2005:Episode/4182023-08-06T00:00:00Z2024-01-07T09:19:21ZPDF ReaderWhen previewing PDF files that were uploaded through Active Storage, we can only get a simple image of the first page. In this episode, we'll look at taking the uploaded PDFs and interacting with them.Dave Kimurasupport@driftingruby.com