Using the Chrome AI Summarizer (Early Look)

I’ve looked at Chrome’s on-device GenAI development a few times now, and as a feature it is moving pretty fast. In fact, that first post and my follow up both don’t work anymore due to the API changing. I’m fine with that as I knew it was a bleeding edge feature, but I just want to warn folks ahead of time that everything you see here may, no, will change, probably a lot. As before though, I’m keep getting more and more excited about the possibilities here. I’m still not certain this will see the light of day (in mainline Chrome) or expand out to other browsers, but it’s quite interesting. Most recently, Google has added three new APIs to the feature: A... more →
Posted in: JavaScript

How to Download a YouTube Video or Channel

The ability to download media on the internet almost feels like a lost art. When I was in my teens, piracy of mp3s, movies, and just about everything else via torrents and apps like Kazaa, LimeWire, Napster, etc. was in full swing. These days sites use blob URLs and other means to prevent downloads. Luckily we have tools like yt-dlp to download individual YouTube videos or entire channels of content. To download an entire channel, you can use yt-dlp: yt-dlp https://www.youtube.com/@beetlejuicearchives3490 If you’re like me and only care for the audio, you can use a few more arguments: yt-dlp -x --audio-format mp3 https://www.youtube.com/@beetlejuicearchives3490 youtube-dl used to be... more →
Posted in: JavaScript

China vs America – World Influence Map

The Global Influence Index (GII) shows the influence of the United States and China on 191 countries around the world based on 28 different economic, security, and political criteria. Using the GII’s new 3D globe you can tell at a glance where in the world either the U.S. or China has the greatest influence.Individual countries on the GII globe are colored to show whether they are aligned more Maps Mania… more →
Posted in: Interactive Maps

Let’s Map Traffic Incidents… Again

This blog has been around for a while (twenty one years currently) so it isn’t too uncommon for me to revisit old topics and demos and rebuild them. I think today’s post may be something of an outlier though. Way back in 2010, early 2010, I built a Proof of Content 911 Viewer that wrapped a local police department’s web site, lafayette911.org. Note the cute disclaimer at the bottom of the site saying you have to ask permission to link to it. Tell me you don’t know how the internet works without telling me you don’t know how it works. Anyway, back in 2010 I used Yahoo Pipes (pour one out for a cool as heck web service) to scrape the data and store it in a database.... more →
Posted in: JavaScript

The Book Banning Map of America

The American Library Association (ALA) reports that attempts to ban books “surged 65% in 2023 compared to 2022 numbers, reaching the highest level ever documented by ALA.” Nearly half of the books targeted for banning were related to issues of LGBTQ+ communities or race.Now the ALA has partnered with Little Free Library and PEN America to release an interactive map which shows Maps Mania… more →
Posted in: Interactive Maps

Using PDF Content with Google Gemini – An Update

Way back in March of this year, I took a look at using Google’s Gemini APIs to analyze PDF documents ("Using PDF Content with Google Gemini"). At the time, the Gemini API didn’t support PDF documents, so I made use of our (Adobe) PDF Extract service to get the text content out from the document. This "worked" but was possibly less than ideal as my "glom all the text together" approach didn’t really represent the PDF well. The PDF Extract API returns information about text context (like if it is a header for example), but my method ignored that. I’m happy to share that Gemini now supports PDF files natively. Let’s take a look at how this... more →
Posted in: JavaScript

Using CSV Data with Leaflet

As I continue to play with, and really freaking enjoy Leaflet, I thought it would be interesting to show a demo of using CSV data with it. This also coincides with an interesting dataset I got from the Data is Plural newsletter, a collection of datasets covering just about any topic you can imagine. A few weeks back, they shared ancient shipwrecks covering the years from 1500 BC to 1500 AD. I know, that’s a bit random, but I thought it was kinda cool. The dataset covers near two thousand unique shipwrecks and includes information, at times, about the cargo that was being carried. I thought this would be fun to map, and here’s how I did it. Working with CVS Disregarding the map, the... more →
Posted in: JavaScript

Land doesn’t vote, people do!

Engaging Data has updated its US County Electoral Map – Land Area vs Population map so that you can now zoom in and explore the election results in each state. The map allows you to see the 2020 Presidential Election election results at the county level based on land area or population size.If you select the ‘Population’ button on the map then the colored proportional circles change size to Maps Mania… more →
Posted in: Interactive Maps
1 6 7 8 9 10 190