All Posts!

105 articles on development, spatial computing and productivity.

Shows the text, "AI Agent Rules: AGENT.md"

Solly's Agent Rules

My global instructions for AI coding agents: communicate clearly, fix root causes, verify the result and respect operational boundaries.

Clean and modern blog page interface displaying a main blog post in the center with a large title, image, and a snippet of content. On the right side, there is a sidebar listing related posts with smaller images, titles, and brief descriptions. The design is minimalistic with a white background, black text, and accent colors like blue and green for highlights, making it visually appealing and easy to navigate.

Why Cosine Similarity Beats Tags for Blog Organization

Organizing blog posts efficiently is crucial for enhancing user experience and ensuring readers can easily find related content. Traditionally, this has been achieved through tagging systems. In this post, I explore an alternative approach that leverages large language models and similarity scores to automate finding and displaying related posts, eliminating the need for traditional tagging.

Django logo with an arrow pointing to the Astro.js logo

Django to Astro: Migrating a Django Portfolio to Astro.js

Migrating from Django to Astro.js, I simplified my web development workflow by adopting Astro's efficient, JSX-like templating for my portfolio. This transition not only streamlined the development process but also led to substantial savings on hosting costs, demonstrating Astro.js's value as a modern web development framework.

Tailwind Logo

I Use TailwindCSS Except in These Three Scenarios

TailwindCSS is an excellent tool for streamlined styles and layouts in your web application. While it fits many use cases, I propose three scenarios that do not fit well: Pseudo-elements, focus/hover states, and transitions/animations. See how my hybrid approach, which leverages Tailwind classes + component-level scoped CSS, leads to better code readability and maintainability.

Astro Logo

How to debug an Astro Application in vscode (Video)

This video is a straightforward tutorial on debugging Astro applications, covering both client-side and server-side JavaScript. Learn how to add and hit breakpoints in VSCode, enabling you to troubleshoot and improve your Astro projects efficiently. Whether you're addressing issues in the browser or on the server, we've got you covered. Hit breakpoints in Astro like a pro!

NDVI plot of Rome, Italy

Calculating NDVI with IPFS for Geospatial Analysis

Learn how to use the Interplanetary File System for geospatial analysis! In this in-depth blog post, we'll calculate NDVI for the seven wonders of the world using this decentralized storage system.

John Solly Headshot

(Video) Effortless Real-Time Comments in Django Using HTMX

Learn how to add real-time comments to your Django app using HTMX. This step-by-step tutorial covers setting up HTMX, creating an endpoint for comments, and implementing seamless comment addition. Perfect for beginners and experienced developers alike. 

John Solly Headshot

Web3 Notes: A Personal Reference

Keep track of important web3 topics with these personal notes. Use them as a reference and stay informed about the latest developments in the world of web3.

John Solly Headshot

Mastering GPT: A Guide to Directives and Parameters

Learn about the different directives and parameters used to customize GPT for your specific needs. This blog post will explain how to use directives such as analyze, cross-reference, write, and disable and parameters like Context and Pretext. Improve your GPT skills and get the most out of this powerful tool.

The text 'upgrade' with lots of arrows pointing upward

Upgrading to the Latest Django 3.x

As a prerequisite to an upgrade to Django 4.0, I walk you through my upgrade process to the latest 3.x version