@StatelessCode
  @StatelessCode
Stateless Code | Codecast: Create a RubyGem 59: Add Ability Score Functionality to Benchmark Suite @StatelessCode | Uploaded September 2021 | Updated October 2024, 4 hours ago.
This is the 59th video in the NerdDice create a RubyGem series. In this video Mike adds the roll_ability_scores and total_ability_scores methods to the NerdDice benchmark script.

This video covers:
00:00:12 Introduction
00:00:42 Modify script to add in new scenario
00:06:10 Troubleshoot "nil can't be coerced into Float" error. Hash key needed to match x.report argument exactly
00:14:32 Think through the reasonability of the slower results. Rolling 4d6 six times vs. rolling 3d6 once.
00:17:23 Set number of iterations lower for roll_ability_scores and total_ability_scores
00:18:32 Play around with the ratios, including use of the console.
00:24:12 Iterate on the GitHub action, adjusting ratios and force-pushing as needed


This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.
Codecast: Create a RubyGem 59: Add Ability Score Functionality to Benchmark SuiteMediocre Karaoke - Spinning Wheel by Blood, Sweat & TearsCodecast: Getting Started with Rails 7 17: Refactor TestsCodecast: Getting Started with Rails 7 12: Add a Model and Route for CommentsCodecast: Create a RubyGem 85: Release Version 0.4.0!Codecast: Create a RubyGem 84: Update Docs and Extend ConvenienceMethods into NerdDice, MergeWrite System Tests for Devise Cancel My Account and Get Working With TurboStateless Code Video 204Codecast: statelesscode.com WordPress 04: Initial Push and Backlog SetupWrite Tests for User Locking and Unlocking and Finish the Devise EpicCodecast: statelesscode.com WordPress 06: Main Content Margins, YouTube Embeds, and EnlighterCodecast: statelesscode.com WordPress 08: Start on Sidebar and Footer and Use Tailwind Directives

Codecast: Create a RubyGem 59: Add Ability Score Functionality to Benchmark Suite @StatelessCode

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER