Adding Programming Language Detection with Built-in Chrome AI / / No Comments 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 Tagged with: Adding, Builtin, Chrome, Detection, Language, programming
Automating Object Detection with Google Gemini GenAI and Pipedream / / No Comments For my last technical post of the year (although I can’t promise I’ll stop blogging!), I wanted to share an interesting workflow I built using Google Gemini and Pipedream. The idea was somewhat simple – how difficult would it be to build a "general purpose" workflow to look for objects in images and trigger an alert if certain things were found. Here’s what I was able to build. Step One – Image Input In my mind, I imagined this workflow would be tied to some service that was either streaming in video or generating still images. You could image a security camera posting new pictures every 30 seconds or so, or some other system that takes a picture at a regular... more → Posted in: JavaScript Tagged with: Automating, Detection, Gemini, GenAI, Google, Object, Pipedream
Advanced Code Display with Code Detection API (Sponsored) / / No Comments Web apps are accepting numerous types of inputs, from basic text to code to imagery, files, and more. It’s important that we validate the contents we receive but if you do allow arbitrary text, it’s good to know what exactly has been submitted so you can present it properly. Enter the Code Detection API — an API that allows you to detect code in text! Quick Hits Detects code block inside arbitrary text input Proposes the detected language and formats input accordingly Supports dozens of programming languages Excellent documentation with numerous code examples Helps to format communications between remote employees Start for free! Brought to you by APILayer, the amazing API... more → Posted in: JavaScript Tagged with: Advanced, code, Detection, display, Sponsored
JavaScript Face Detection with face-api.js – InfoQ.com / / No Comments JavaScript Face Detection with face-api.js InfoQ.com “JavaScript” – Google News… more → Posted in: JavaScript Tagged with: Detection, Face, faceapi.js, InfoQ.com, JavaScript
Leveraging Googlebots Detection of JavaScript Redirects for Ranking – socPub / / No Comments Leveraging Googlebots Detection of JavaScript Redirects for Ranking socPub “JavaScript” – Google News… more → Posted in: JavaScript Tagged with: Detection, Googlebots, JavaScript, Leveraging, Ranking, Redirects, socPub