Using GenAI to Help Pick Your D & D Class / / No Comments A few weeks back I wrote up my experience with generative AI as a dungeon master. That post ended up being really popular and got me thinking about other ways I could integrate D & D, or other games, with Generative AI. With Gemini 1.5 now available via API, I thought it would be good to find an excuse to hit the API in a demo. So with that in mind, I’d like to introduce you to the Class Suggester. The Application # The app begins by simply presenting some introductory text and invites you to click a button to roll for your stats. You can hit the Roll Stats button as many times as you want. It uses the standard D & D rule of rolling a six-sided dice four times and removing the... more → Posted in: JavaScript Tagged with: class, GenAI, help, Pick, using
JavaScript Class Privates / / No Comments One of my aspects of JavaScript that drew me to it as a young developers was that its syntax was loose and I could code quickly. As you gain experience as an engineer, you start to realize that some traditional coding structure is a good thing, even if it slows you down. Using Jest or TypeScript to add typing to your JavaScript can save you from maintenance headaches and unexpected errors, for example. While those are pre-compile tools to accomplish structure, we’ve traditionally employed vanilla JavaScript patterns to mock private variables and methods in JavaScript. Did you know, however, that browsers and the JavaScript language support a specific syntax for creating private variables... more → Posted in: JavaScript Tagged with: class, JavaScript, Privates
JavaScript and SIMD: How together they could bring a new class of apps to the … – TechRepublic / / No Comments JavaScript and SIMD: How together they could bring a new class of apps to the …TechRepublicJavaScript is based on an official specification known as ECMAscript, a language ratified by Ecma International. The technical committee of Ecma International has backed a proposal to include a native SIMD API in a future version of ECMAscript … JavaScript – Google News… more → Posted in: JavaScript Tagged with: apps, bring, class, could, JavaScript, SIMD, TechRepublic, they, together