Dublin Library

The Publishing project

XML in the Humanities - bridging the gap

My background is in humanities and I've never stopped researching how to integrate technology into humanities research. XML has been a core technology in this space for decades. In this post, I will explore why XML remains relevant for humanities scholars, what it is, and how to use it effectively. Is XML a good tool for humanities? Yes, absolutely. XML eXtensible Markup Language is currently the undisputed "gold standard" for text-based Digital Humanities DH research and long-term digital preservation. While newer, lightweight formats like JSON JavaScript Object Notation currently dominate modern web development and API data transfer, XML remains superior...

Continue reading →

XML vs. JSON - Is XML Still Relevant??

XML eXtensible Markup Language has been a foundational technology for data representation and exchange since its inception in the late 1990s. However, with the rise of alternative data formats like JSON JavaScript Object Notation and YAML YAML Ain't Markup Language, many developers question whether XML remains relevant in today's technology landscape. This post explores the current relevance of XML, its strengths and weaknesses, the modern landscape of XML technologies, and the scenarios where it continues to be the superior choice. What is XML? XML is a markup language that defines a set of rules for encoding documents in a format...

Continue reading →

Creating An Eleventy Publishing Calendar Plugin

When working with publishing content in the future, the hardest thing is to keep track of when things are scheduled to go live. The Eleventy Publishing Calendar Plugin provides a visual calendar interface to help content creators and editors see their publishing schedule at a glance. This post provides an explainer of the Eleventy Publishing Calendar Plugin, breaking down the code into its key components and explaining the process step by step. Overview The plugin creates a graphical calendar view for Eleventy's publishing schedule. It gathers post metadata, groups posts by date, and generates an HTML grid calendar with navigation...

Continue reading →

Building an AI-Powered Digital Object Repository

Like many developers, I hoard digital content—articles, papers, code snippets, and videos. Over time, organization became a significant friction point. My solution was to build a Digital Object Repository: a centralized system to store, organize, and interact with this data. Rather than building a static archive, I leveraged the OpenAI API to enhance the repository with active features: content summarization, semantic search, and an interactive Q&A system. This post details the architectural decisions, technical constraints, and implementation strategies used to build this full-stack application. Phase 1: Project Scaffolding & Core Backend The project required a containerized, multi-service architecture to manage...

Continue reading →

AI Prompts as requirements

AI introduces a new development paradigm. While using prompts seems simple, it's a classic 'garbage in, garbage out' system. The nuance of crafting a good prompt is the single biggest factor in getting a usable result, and most of us start by getting it wrong. What is Prompt Engineering? > Prompt engineering is the art and science of designing and optimizing prompts to guide AI models, particularly LLMs, towards generating the desired responses. By carefully crafting prompts, you provide the model with context, instructions, and examples that help it understand your intent and respond in a meaningful way. Think of...

Continue reading →

Building AI Chrome Extensions

There are some use cases where building an AI application as a Chrome extension is the best way to deliver value to users. Using a Chrome extension and its associated APIs provides capabilities that a standalone web app or a native application cannot match. In this post we'll explore what types of AI applications are best suited for the extension format, why that is, and provide a complete example of a simple AI-powered Chrome extension, an "AI Right-Click Summarizer," that you can build and run yourself. Why Build AI Applications as Chrome Extensions? Building an AI application as a Chrome...

Continue reading →

Chrome Extensions Tutorial

Chrome, and all browsers, support extensions, which are small software programs that customize the browsing experience. They enable users to tailor Chrome functionality and behavior to individual needs or preferences. As I research Chrome V3 extensions to build AI tools, I thought I'd take a look at how to build a simple Chrome extension from scratch using Manifest V3. This post will guide you through creating a basic "Focus Mode" extension that toggles a sepia background on the current webpage to help reduce distractions. We will cover the essential concepts: 1. manifest.json: The core file that tells Chrome what your...

Continue reading →

Javascript Package Managers Deep Dive

Ever since Node was introduced, it has always included a package manager to handle dependencies. For many years NPM was the only game in town, but over time several alternatives have emerged, each with its own strengths and weaknesses. This analysis explores the four major players: NPM, Yarn Classic, PNPM, and Yarn2 Berry. Introduction: What is a Package Manager? In the JavaScript ecosystem, a package manager is an essential tool that automates the process of installing, updating, configuring, and removing "packages"—reusable pieces of code libraries, frameworks, tools that projects depend on. It reads a manifest file usually package.json to understand...

Continue reading →

Different AI Interaction Clients

We're all into AI these days, but the way we interact with AI models can vary widely depending on the client or interface we use. Each type of client offers different features, capabilities, and user experiences. As a developer, it's important to understand these differences so you can choose the right tools for your needs or build your own custom solutions. Different target audiences may also prefer different clients based on their technical expertise and use cases. This post provides a breakdown of the primary types of AI interaction clients, with your examples and others categorized as requested. Web-Based Chat...

Continue reading →

AI Programming Beyond Vibe Coding

It's interesting to see how AI tools have transformed programming workflows. A trend known as "vibe coding" has emerged, where developers rely heavily on AI to generate code snippets with minimal oversight. While this approach can speed up development, it can also lead to buggy or inefficient code if not carefully managed. This post will explore the concept of vibe coding, its advantages and disadvantages, and strategies for more effective AI-assisted programming. What is Vibe Coding? Vibe coding is a programming style where developers use AI tools to iteratively generate code based on prompts, often without deep understanding or thorough...

Continue reading →