Creating Human-Readable Summaries of Data with Google PaLM Generative AI / / No Comments Like a lot of folks, I’ve been spending a lot of time thinking about generative AI, and AI, in general, and oddly (well for me), trying to focus on productive uses for it when working with APIs. A few weeks ago I shared my initial impressions of Google’s PaLM 2 API, and today I came up with an interesting use case for it. I’ve seen text summarization as a fairly common use case for gen AI, and I agree, it can be incredibly helpful when working with lots of text. However, I got to thinking today, would it be possible to use this as a way to summarize numerical, or other data? So given some process that returns a set of information, can we use gen AI to summarize it? Here’s... more → Posted in: JavaScript Tagged with: creating, data, Generative, Google, HumanReadable, palm, Summaries
Creating a Blackjack Game with Alpine.js and the Deck of Cards API / / No Comments Some time ago I ran across a pretty fascinating service, the Deck of Cards API. This API handles everything imaginable related to working with decks of cards. It handles creating a shuffled set of cards (containing one or more decks), dealing out a card (or cards), and even reshuffling. Even better, it includes card images you can use if you don’t want to find your own: It’s an incredibly feature-filled an API and best of all, it’s completely free. No need for even a key. I’ve known about this API for a while and have contemplated building a card game with it, but realized that games can quickly go from simple to fairly complex. In fact, my friends strongly urged me not... more → Posted in: JavaScript Tagged with: Alpine.js, Blackjack, Cards, creating, Deck, Game
Creating Bootstrap WebC Components in Eleventy / / No Comments For some time now as I’ve explored web components, it’s occurred to me that web components could be a great way to make working with Bootstrap simpler. Not that Bootstrap is necessarily difficult, but I’ve always thought it would be cool to take something like so: <div class="card" style="width: 18rem;"> <div class="card-body"> <h5 class="card-title">Card title</h5> <h6 class="card-subtitle mb-2 text-body-secondary">Card subtitle</h6> <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p> </div></div> And... more → Posted in: JavaScript Tagged with: Bootstrap, Components, creating, Eleventy, WebC
Bangle.js – Creating a Smart Watch with JavaScript – InfoQ.com / / No Comments Bangle.js – Creating a Smart Watch with JavaScript InfoQ.com “JavaScript” – Google News… more → Posted in: JavaScript Tagged with: Bangle.js, creating, InfoQ.com, JavaScript, smart, Watch
Hiking safety app Cairn is creating a cell coverage map for the wilderness – GeekWire / / No Comments Hiking safety app Cairn is creating a cell coverage map for the wildernessGeekWireCairn, a new iOS app from Trover and Expedia veterans Ali Alami and Tove Martin, lets you easily enter the details of your hike, whether it's a three day climb up Mt. Rainier or a half-day trip up to Hurricane Ridge, and keeps your friends and family … map app – Google News… more → Posted in: Interactive Maps Tagged with: Cairn, cell, coverage, creating, GeekWire, Hiking, safety, wilderness