Connecting Cloudflare Workers with Service Bindings / / No Comments I’ll warn you ahead of time and say this post isn’t too much more than what you can find in the documentation, but I wanted to see it work for myself so I had to setup a test locally. Cloudflare Service bindings are a way for one Worker to connect to another. That seems simple enough, but while it defines a "connection", that connection is completely internal to the Cloudflare environment. I.e., incredibly fast with much lower latency. Let’s consider a simple example. The Receiver # I began by creating a worker, named backworker, with just a simple message: export default { async fetch(request, env, ctx) { return new Response('Hello from Backworker'); },}; The Front... more → Posted in: JavaScript Tagged with: Bindings, Cloudflare, Connecting, service, workers
Mapping 3D Game Worlds / / No Comments noclip is an amazing website which lets you move around and explore some of your favorite computer games in glorious 3D. The term ‘noclip’ is a common command used to debug computer games. It refers to the process of turning off collision detection in a game world so that the player may pass through solid objects in the rendered environment. This is exactly what the noclip website allows you to Maps Mania… more → Posted in: Interactive Maps Tagged with: Game, Mapping, world's
Adding Caching to a Cloudflare Worker / / No Comments 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 Tagged with: Adding, Caching, Cloudflare, Worker
The X-Files of Paranormal Activity / / No Comments 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 Tagged with: Activity, Paranormal, XFiles
Learn about the Photoshop API Next Week / / No Comments 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 Tagged with: about, Learn, Next, Photoshop, Week
Scrolling the Appalachian Trail / / No Comments 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 Tagged with: Appalachian, Scrolling, trail
ChatGPT via WYSIWYG (Sponsored) / / No Comments 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 Tagged with: ChatGPT, Sponsored, WYSIWYG
Isochrone Maps / / No Comments 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 Tagged with: Isochrone, maps