Adding Programming Language Detection with Built-in Chrome AI

As I’ve been playing, and thinking, more and more about how to best add Chrome AI support to web apps, I came across an interesting use-case that I think could be helpful, and like in my previous examples, be completely ok if it didn’t actually work. When I write on the developer blog at Foxit, I make use of WordPress plugin for code samples. This editor has a place for you to both paste in your code, and select the language so the proper highlighter is used: This works well enough, but it gets a bit annoying to have to constantly keep selecting Python in the dropdown. Ideally the form would use the last language (simple enough via LocalStorage), but I was curious how well Chrome’s... more →
Posted in: JavaScript

SPOT: the Natural Language Geolocation Map

SPOT, is an AI-powered tool designed to simplify and enhance the geolocation process for journalists and the OSINT community. Searching for the locations in media content can be challenging, especially for those unfamiliar with OSINT tools for identifying locations which are unknown. SPOT is designed to bridge this gap by providing a user-friendly way to locate places in images and videos using Maps Mania… more →
Posted in: Interactive Maps

Creating a Generic Generative Template Language in Google Gemini

I’ve been a fan of ‘random text’ for some time. "Random text" is a bit vague, but to me the idea of using code to generate random stories, or even snippets, is fascinating. Back in April, I blogged about how I created short dragon-based stories. It took a generic string: A #adjective# dragon lives #place#. She #verb# her hoard, which consists of a #number# of #thing#, #number# of #thing#, and #number# of #thing#. She feels #feeling#. And created a story by replacing the pound-wrapped tokens with real words. I used a couple of different tools to build this, but the core one was a cool little Node library named random-word-slugs. It’s a powerful random word library... more →
Posted in: JavaScript
1 2 3 4