Help Me Solve an Alpine.js Mystery / / No Comments Yesterday I wrote up my experience in building a simple CRUD interface using Alpine.js, and in doing so, ran into an interesting issue. While it would be best to read the entire previous article, let me try to break down the issue… or at least as how I saw it. My Alpine app had a variable, cats, that was an array of objects. I looped over them and displayed them in a simple table: <template x-for="cat in cats"> Notice I’m using a variable, cat, to represent each element of the array. Here’s one example of using it: <td x-text="cat.name"></td> The application also made use of a cat variable. This was intended to be used in the edit form.... more → Posted in: JavaScript Tagged with: Alpine.js, help, Mystery, Solve
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
Can GenAI help you win in Vegas? / / No Comments No. Thank you and goodbye. Ok, first off, I apologize for the click-bait style title. Every now and then when I get an idea for a demo, it doesn’t work. But sometimes, it doesn’t work out in a fun and interesting way, and I figure it’s a good idea to share it anyway. (Also, there’s always the strong chance that it didn’t work out because I did something wrong!) Today’s demo is a perfect example of that I think. Earlier this year I built a Blackjack game using Alpine.js and the quite excellent Deck of Cards API. Yesterday I was thinking about the game and I wondered – what would happen if I used generative AI to ask for help when playing it? So for example,... more → Posted in: JavaScript Tagged with: GenAI, help, Vegas
App created to help scientists map and track 17-year cicada emergence – WBIR.com / / No Comments App created to help scientists map and track 17-year cicada emergence WBIR.com “map app” – Google News… more → Posted in: Interactive Maps Tagged with: 17year, cicada, Created, emergence, help, scientists, Track, WBIR.com
New Map App Aims To Help You Navigate Wissahickon Valley Park – Roxborough, PA Patch / / No Comments New Map App Aims To Help You Navigate Wissahickon Valley Park Roxborough, PA Patch “map app” – Google News… more → Posted in: Interactive Maps Tagged with: Aims, help, navigate, Park, Patch, Roxborough, Valley, Wissahickon
RSPB calls for public to help map swift nests using new app as numbers have more than halved – Telegraph.co.uk / / No Comments RSPB calls for public to help map swift nests using new app as numbers have more than halved Telegraph.co.uk “map app” – Google News… more → Posted in: Interactive Maps Tagged with: Calls, halved, help, More, nests, numbers, public, RSPB, Swift, Telegraph.co.uk, than, using
How to set up source maps to help debug production JavaScript – JAXenter / / No Comments How to set up source maps to help debug production JavaScript JAXenter “JavaScript” – Google News… more → Posted in: JavaScript Tagged with: Debug, help, JavaScript, JAXenter, maps, production, source
Nextdoor adds Help Maps and Groups to connect neighbors during the coronavirus outbreak – TechCrunch / / No Comments Nextdoor adds Help Maps and Groups to connect neighbors during the coronavirus outbreak TechCrunch “map app” – Google News… more → Posted in: Interactive Maps Tagged with: Adds, connect, coronavirus, during, Groups, help, maps, Neighbors, Nextdoor, outbreak, TechCrunch