Articles

Browse the archive

The full programmer.ie article history. Learning paths and AI prompts are curated separately; this archive keeps the broader research, experiments and technical writing easy to scan.

212 articles Learning paths AI prompts
AI Series

Agents From First Principles 00: What Is an Agent, Really?

What Is an Agent, Really? This is the first post in Agents From First Principles. It follows two earlier series. In PyTorch: Zero to Hero, we worked upward from tensors, autograd and neural-network building blocks until …

Agents From First Principles
Read →
AI Series

PyTorch Model Not Learning? A Systematic Debugging Guide

PyTorch: Zero to Hero — Step 08 Your model runs. The loss is finite. Nothing crashes. And it still does not learn. This is one of the most frustrating states in machine learning because there is no stack trace telling …

PyTorch: Zero to Hero
Read →
AI Series

PyTorch Zero to Hero 00: What Are We Actually Doing?

PyTorch: Zero to Hero This is Step 0 of a practical PyTorch series that starts with tensors and ends with building a small language model from scratch. The goal is not to learn a collection of PyTorch commands. The goal …

PyTorch: Zero to Hero
Read →
ZeroModel

ZeroModel: Evidence Before Ambition

ZeroModel is an attempt to compile useful parts of intelligence into identified, portable, inspectable decision artifacts — and to preserve enough evidence around those artifacts that we can reproduce, challenge and …

Read →
AI

The Singularity Is Here

For decades, the technological singularity has been presented as a future event. At some point, an artificial intelligence would become as intelligent as a human being, improve itself, become superintelligent and …

Read →
AI

What Does a Preference Know About the Future?

We Trained a Model on Editorial Choices to See Whether It Learned What Happened Next Most preference-learning systems use a choice to change the future. A model produces two responses. A human selects one. The chosen …

Read →
AI

The Moment: Intelligence beyond context

Most AI systems answer and move on. The next step is different: preserve the reasoning state, replay it, measure whether it improves, and keep only what survives verification. Summary Most AI workflows still treat …

Read →
AI

AI and the End of Easy Growth

A systems-level analysis of AI, structural economic constraint, managed continuity, and the decentralization of human capability in an era of slowing growth.

Read →
AI

AI as an Amplifier, Not a Utility

AI turns language into an interface for implementation. 1. The Builder’s World There is a version of AI people talk about. And then there is the version you discover when you actually use it consistently. They are not …

Read →
AI

The Answering Machine Effect

Why you already know what you’re about to read isn’t real and what to do about it. Imagine a small red badge on every article, every design, every conversation: AI-Generated Content. Before you read a single word, you …

Read →
AI

The Eye That Sees

Using AI to Decode Symbols Without Assuming Meaning Executive Summary: From Symbol to System We set out to understand a single image. We ended up building a system that can understand structure itself. We started with a …

Read →
AI

Canada: When Interest Meets Reliable Revenue

Executive Summary Canada’s fiscal position looks stable on paper. Headline interest costs consume only ~10.6% of federal revenue. But this ratio masks a structural reality: the engine that drove revenue growth has …

Read →
AI

Real Problems. AI Solutions.

How We Used AI to Analyze When U.S. Debt Becomes a Constraint Executive Summary We demonstrate a human + AI research process. AI was used to: refine the question identify the correct metric expose assumptions and test …

Read →
AI

Review: What We’ve Learned So Far

😶‍🌫️ Summary This post is a quick review of the journey so far. We’re one third of the way through the Self-Learning Systems (100-part) series, and this checkpoint pulls together the first 33 posts and the research …

Read →
ZeroModel

ZeroModel: Visual AI you can scrutinize

“The medium is the message.” Marshall McLuhan We took him literally. What if you could literally watch an AI think not through confusing graphs or logs, but by seeing its reasoning process, frame by frame? Right now, AI …

Read →
AI

Stephanie's Secret: The Dawn of Reflective AI

🌅 Introduction: The Dawn of Self-Reflective AI What if your AI could not only answer questions but also question itself about those answers? Not with programmed doubt, but with genuine self-awareness recognizing when …

Read →
AI

Agent Architectures: Chapter 2

This is a summary of the second chapter of a book I wrote: Agent Architectures: Advanced Strategies for Intelligent LLM Systems 🤖 Chapter 2 : How to Think With AI Agents Agents aren’t just tools they’re thinking …

Read →
AI

Agent Architectures: Chapter 1

This is a summary of the first chapter of a book I wrote: Agent Architectures: Advanced Strategies for Intelligent LLM Systems 🚀 Introduction to LLM Agents 🤖 What is an LLM Agent? An LLM agent is an intelligent software …

Read →
AI

Thoughts of Algorithms

How a self-evolving AI learns to reflect, score, and rewrite its own reasoning 🧪 Summary What if an AI could think not just solve problems, but reevaluate its beliefs in the face of new information? In this post, we …

Read →
AI

Building an AI Co-Scientist

This is the first post in a 100-part series, where we take breakthrough AI papers and turn them into working code building the next generation of AI, one idea at a time. 🧾 Summary In this post, I’ll walk through how I …

Read →

Cross-Modal Cognitive Mapping: A Technical Overview

Cross-Modal Cognitive Mapping A Technical Overview of System Design and Implementation Author: Ernan Hughes Published: April 2025 Abstract Cross-Modal Cognitive Mapping is a new framework designed to extend traditional …

Read →
AI

Optimizing Prompt Generation with MARS and DSPy

🕒 TL;DR We explore MARS, a multi-agent prompt optimizer using Socratic dialogue. We implement it using DSPy + Fin-R1 + EDGAR giving us an end-to-end financial reasoning pipeline. We deploy the whole thing to Hugging Face …

Read →
AI

Using Hugging Face Datasets

Summary Machine learning operates on data. Essentially, it processes data to extract meaningful information, which can then be used to make intelligent decisions. This is the foundation of Artificial Intelligence. The …

Read →
AI

Shakespeare and the Bible: An AI Investigation

Summary Could the greatest playwright of all time have secretly shaped one of the most influential religious texts in history? Some believe William Shakespeare left his mark on the King James Bible hidden in plain sight. …

Read →
AI

K-Means Clustering

Summary Imagine you have a dataset of customer profiles. How can you group similar customers together to tailor marketing campaigns? This is where K-Means clustering comes into play. K-Means is a popular unsupervised …

Read →
Opinion

AI: The Future Interface to Technology

Summary Imagine a world where you simply think of a task, and invisible devices seamlessly execute it. In fact most of what used to be your daily tasks you won’t even think about they will be automatically …

Read →
programming

Debugging Jupyter Notebooks in VS Code

Summary Visual Studio Code is the most popular editor for development. Jupyter Notebooks is the most widely used way to share, demonstrate and develop code in modern AI development. Debugging code is not just used when …

Read →
AI

Writing Neural Networks with PyTorch

Summary This post provides a practical guide to building common neural network architectures using PyTorch. We’ll explore feedforward networks, convolutional neural networks (CNNs), recurrent neural networks …

Read →
AI

Mastering Prompt Engineering: A Practical Guide

Summary This post provides a comprehensive guide to prompt engineering, the art of crafting effective inputs for Large Language Models (LLMs). Mastering prompt engineering is crucial for maximizing the potential of LLMs …

Read →
AI

Harnessing the Power of Stable Diffusion WebUI

Summary In this blog I aim to try building using open source tools where possible. The benefits are price, control, knowledge and eventually quality. In the shorter term though the quality will trail the paid versions. …

Read →
AI

Activation Functions

Introduction Activation functions are a component of neural networks they introduce non-linearity into the model, enabling it to learn complex patterns. Without activation functions, a neural network would essentially …

Read →
AI

SVM Support Vector Machine an introduction

Summary In this post I will implement a Support Vector Machine (SVM) in python. Then describe what it does how it does it and some applications of the instrument. What Are Support Vector Machines (SVM)? Support Vector …

Read →
cellular automata

Cellular Automata: Introduction

Summary This page is the first in a series of posts about Cellular Automata. I believe that we could get the first evidence of AI through cellular automata. A recent paper Intelligence at the Edge of Chaos found that …

Read →
AI

Rag: Retrieval-Augmented Generation

Summary Retrieval-Augmented Generation (RAG) is a powerful technique that enhances large language models (LLMs) by allowing them to use external knowledge sources. An Artificial Intelligence (AI) system consists of …

Read →
AI

CAG: Cache-Augmented Generation

Summary Retrieval-Augmented Generation (RAG) has become the dominant approach for integrating external knowledge into LLMs, helping models access information beyond their training data. However, RAG comes with …

Read →
AI

Agents: A tutorial on building agents in python

LLM Agents Agents are used enhance and extend the functionality of LLM’s. In this tutorial, we’ll explore what LLM agents are, how they work, and how to implement them in Python. What Are LLM Agents? An agent is an …

Read →
AI

Courses: Free course on Agentic AI

Some FREE AI courses on Agents I recommend doing Agents were important in Machine Learning development last year. These are some courses I have done and recommend they are all free. A good reason to do courses and look …

Read →
AI

Ollama: The local LLM solution

Using Ollama Introduction Ollama is the best platform for running, managing, and interacting with Large Language Models (LLM) models locally. For Python programmers, Ollama offers seamless integration and robust features …

Read →

Hugo: A Static Site Generator

Hugo: A Static Site Generator In this post I give an introduction to what I think is the best static site generator: Hugo. What is Hugo? Hugo is an open-source static site generator written in Go. It takes structured …

Read →

Project 7: FX-Trader

A derivatives trading system. This is my attempt at building a derivatives trading system. In this first post I am going to outline the goals of the project and some of the early design decisions.

Read →
programming

Project 6: Validator

A validation tool for excel files. Sometimes you need to export data from one system for loading into another. For instance you may export a report from a derivatives trading system for information for a collateral …

Read →
programming

Project 5: Dictator

Google have just released their speech API. One really cool feature is the ability to transcribe voice in real time. Two years ago I built an app with this idea in mind. At that at the time I could no make it work. Now …

Read →

A script to generate android images

This is a script I use in my android projects to generate different sized images. You can find the script here process.vbs So I build all my images in inkscape. This is brilliant application. You can find some brilliant …

Read →

A simple android log class

This is a very simple log class I reuse in my projects It is a hybrid of Timber by Jake Wharton and the Log in Android Universal Image Loader by Sergey Tarasevich

Read →

Everything

I think that this tool is the best search tool for windows. Everything

Read →
programming

Project 2: File Explorer for android

In this project I am building a file explorer library for android. As I was working on catcher it became obvious I would need a file picker and explorer solution. So I did a bit of looking on the web. I found three …

Read →
programming

Project 1: Catcher

This is an android application to transfer files from your phone to somewhere else. I will be built as a PC solution but can be used for a server solution also.

Read →

🧠 SECTION 14: The Council of You There are moments where you don’t need data. You need to talk. To think something through. To vent. To get perspective when your own thoughts feel stuck or circular. But Parkinson’s …

Read →

AI Is the Interface: The Future of Human-Technology Interaction Technology is the bridge that transforms data into knowledge. In the coming years, artificial intelligence will evolve from being a tool that assists humans …

Read →

Table of Contents Introduction to LLM Agents Methodologies and Core Patterns Construction - Building the Agent Collaboration - Multi-Agent Systems and Interaction Introspection, Memory, and Interpretability Applications …

Read →