Adding Caching to a Cloudflare Worker

Last week I blogged about my first experience building a Cloudflare Worker serverless function. In that post, I built a simple serverless function that wrapped calls to the Pirate Weather API, a free and simple-to-use API for getting weather information. For today’s post, I thought I’d show how easy it is to add a bit of caching to the worker to help improve its performance. As with my last post, I’ve also got a video walkthrough of everything you watch instead. (Or read and watch, go crazy!) The Application # In the last post, I shared the complete code of the Worker, but let me share it again: // Lafayette, LAconst LAT = 30.22;const LNG = -92.02;export default { async fetch(request,... more →
Posted in: JavaScript

The X-Files of Paranormal Activity

I can’t decide if the Anomaly Observatory is a brilliantly tongue-in-cheek parody or the work of genuine lunatics. Whatever it is – it is wonderfully weird.According to Google Bard – “Beobachtungsstelle für Anomalien (Anamoly Observatory) is a website that reports on paranormal activities. It was founded in 2008 by an anonymous team and has since collected reports of paranormal activities from Maps Mania… more →
Posted in: Interactive Maps

Learn about the Photoshop API Next Week

Next week, Tuesday August 8 at 11AM CST, I’ll be giving a free, online presentation at CFE.dev on "Automating Image Workflows with Photoshop APIs". Here’s more information from the event description: Inarguably, Photoshop dominates the professional image editing software world. But did you know that many of the capabilities of Photoshop can be added to your own applications via Adobe’s Photoshop APIs? In this session, Raymond Camden will show you how to add image automations including modifying and enhancing images with powerful filters using the Photoshop APIs. If you can’t make it, just watch the recording later, and reach out with any questions. Photo by Glenn... more →
Posted in: JavaScript

Scrolling the Appalachian Trail

The Washington Post has published an article which explores the reasons why the world famous Appalachian Trail keeps getting longer. Apparently less than half the original trail remains where it was first laid. It also now 150 miles longer than it was in 1937. You can see all the changes made to the trail over the last 86 years in Why the famed Appalachian Trail keeps getting longer — and Maps Mania… more →
Posted in: Interactive Maps

ChatGPT via WYSIWYG (Sponsored)

Artificial intelligence applications have hit like a massive wave over this past year, with ChatGPT being the most prominent. ChatGPT can take any written command and suggest content to match. What better than having the power of AI content creation than doing so within your own WYSIWYG editor! That’s what Froala can provide you — instant content creation with the power and intelligence of ChatGPT AI! Quick Hits The ChatGPT plugin can be installed in your WYSIWYG editor Type a command, highlight that text, click the ChatGPT button, and wait for the response! Help with content creation makes the written experience more enjoyable and the generated content more creative Easy to implement... more →
Posted in: JavaScript

Isochrone Maps

time2reach is an interactive map that shows you see how far you travel within a set time period using public transit. The map can currently create isochrone visualizations for 6 global cities: New York, Paris, San Francisco, Toronto, Montreal and Vancouver. If you double-click on the map in any of these six cities an isochrone visualization will show you how far you can travel from that point Maps Mania… more →
Posted in: Interactive Maps

Integrating Acrobat Services with ColdFusion

Last week I shared a look at how to integrate the Adobe Photoshop API with ColdFusion, and that got me itching to see how difficult it would be to do the same with our Acrobat Services. While ColdFusion has native PDF features built-in, I think there are aspects of the platform that may be of use to CF developers. The Acrobat Services Platform # Let’s start by briefly describing what Acrobat Services are. At a high level, they’re all about document management via APIs. Broadly the services are categorized like so: PDF Services – this is the "catch-all" bucket of services that do simple things like converting to and from PDFs, splitting, merging, and so forth. This... more →
Posted in: JavaScript

The National Stereotypes Maps – Part Two

Buzzfeed has started a new mapping trend with their AI generated images of state stereotypes. Last week Buzzfeed asked a generative AI image model to create a photograph of a person from each U.S. state, as typically perceived by a European. You can view the results in the post This is What Europeans Think of Us. I was inspired by the Buzzfeed post to create my own National Stereotypes Map. To Maps Mania… more →
Posted in: Interactive Maps
1 73 74 75 76 77 226