Using AI in the Browser for Typo Rewriting

Last week I gave a presentation on Chrome’s new built-in AI support (I’ll link the video at the end) and it’s gotten me inspired to consider new and different ways these APIs can be used to enhance the user experience. These APIs still aren’t quite ready for production use, and it’s absolutely possible we may never see these in Safari or Firefox, but the possibility of using them to enhance an application where available is exciting. For today, I want to share an interesting use case that occurred to me a few weeks ago. One of the APIs being built is a translation API (along with a language detection) API as well. In general the idea here is to go from one language... more →
Posted in: JavaScript

The Best & Worst Countries in the World

This map reveals how people perceive each country on Earth. The snappily entitled Sentiment Different Ratio by Country visualizes global public sentiment based on comments from the popular social media platform, Reddit.According to an analysis of 444,059 Reddit comments, Laos, Iceland, and Slovenia are the most highly regarded countries in the world.On the other hand, Palestine, Israel, and Maps Mania… more →
Posted in: Interactive Maps

Using Java Libraries in BoxLang

One of the aspects that makes BoxLang compelling is that it runs on top of the Java Virtual Machine which means you get access to any Java library out there. This is something ColdFusion has as well and in the past, I’ve integrated Java libraries into my web apps to make use of open source from the Java community. Best of all, you don’t really need any Java knowledge to do this. Typically libraries will provide good docs and and examples and the mental model of translating a Java example to BoxLang’s language is fairly simple. A few days ago, I blogged an example of parallel processing in BoxLang and in one of the samples, I did a tiny bit of RSS feed processing. I mentioned... more →
Posted in: JavaScript

Using Parallel Looping in BoxLang

Last week I wrote about converting a Python file search script to BoxLang. In that post (and the original Python version) I mentioned how the utility wasn’t terribly efficient as it needed to recreate an index every time it ran. Despite this, the performance was pretty good, taking about two seconds or so to generate the file index from near seven thousand Markdown files. Right after I shared that post, Luis Majano shared an interesting performance tweak I had missed. In BoxLang (and to be fair, this is a feature both Lucee and ColdFusion have as well), when you loop over arrays, structures, and queries, you can enable parallel execution by simply adding an additional argument to the loop.... more →
Posted in: JavaScript

2024 – Another Year of Record Heat

Last year, two-thirds of the Earth’s surface experienced at least one month of record-breaking heat. The Guardian has visualized data from the Copernicus Climate Change Service to illustrate the average temperatures around the world for each month in 2024.The animated map at the top of the article comes from The Guardian’s feature,  Two-thirds of the Earth’s surface experienced record Maps Mania… more →
Posted in: Interactive Maps

Links For You (2/22/25)

Happy Link Day… oh wait, that isn’t a thing? Well, let’s pretend it is. Those of us in Louisiana are in Mardi Gras season with the holiday itself coming up on March 4th. If the weather holds out, we’ll be outside catching beads and listening to marching bands. It can be a lot of fun if it doesn’t get rained out. It’s also a great chance to eat some really bad (for you but yummy) food. I’ll share a pic or two on the next edition of this post. Ok, on with the links! Introducing AX (Agent Experience) Mathias Biilmann (CEO at Netlify, they host this blog), wrote up an introduction to the idea of AX, or "agent experience". His post describes AX as... more →
Posted in: JavaScript

How Climate Change is Destroying Crops

Carbon Brief has analyzed global media reports to identify where and how extreme weather events have destroyed crops over the past two years. In How Extreme Weather is Destroying Crops Around the World, Carbon Brief has mapped this analysis, highlighting 100 instances of crops being lost to heat, drought, floods, and other extreme weather events in 2023-24.The colors of the 100 markers on the Maps Mania… more →
Posted in: Interactive Maps

Building a File Search Script in BoxLang

My initial blog post on BoxLang used a simple script example to demonstrate how the language can be used to build shell script type utilities and it got me thinking about other ways I could use BoxLang for my own personal tools. A little over three years ago, I blogged about a Python script I built to perform searches, locally, against my blog. My blog content comes from near seven thousand Markdown files and while I’ve got a good client-side search feature, I was curious what I could from the terminal. That script did two things: Index each of the thousands of Markdown files by reading in the content and parsing the filename into a date and path value Taking search input and checking... more →
Posted in: JavaScript
1 2 3 4 5 6 202