DEV Community

Sam Hartley profile picture

Sam Hartley

Developer. Building local AI setups, Telegram bots, and smartwatch apps.

Joined Joined on 
My Margin Guard Was Reading Zero. Four Separate Bugs Kept It That Way.

My Margin Guard Was Reading Zero. Four Separate Bugs Kept It That Way.

2
Comments
6 min read
A Single int() Silently Disabled My Entire Risk System

A Single int() Silently Disabled My Entire Risk System

Comments 1
4 min read
My Agent Spent $23 Overnight. Here's Why My Limits Held and My Alerts Didn't.

My Agent Spent $23 Overnight. Here's Why My Limits Held and My Alerts Didn't.

Comments 2
7 min read
My Scheduled Agent Ran 40 Times and Did Nothing — Here's the Assertion That Fixed It

My Scheduled Agent Ran 40 Times and Did Nothing — Here's the Assertion That Fixed It

3
Comments 5
6 min read
Timeout Means No — The One Rule That Makes AI Agent Approval Gates Actually Work

Timeout Means No — The One Rule That Makes AI Agent Approval Gates Actually Work

Comments 1
6 min read
My Paper Trading Bot Went Live This Week — Here's the Guardrail Stack I Built First

My Paper Trading Bot Went Live This Week — Here's the Guardrail Stack I Built First

1
Comments 1
7 min read
I Added a Circuit Breaker to My AI Agent Setup — It Caught Three Outages This Month

I Added a Circuit Breaker to My AI Agent Setup — It Caught Three Outages This Month

Comments 2
7 min read
My Cron Job Double-Fired and Placed the Same Order Twice — Here's My Postmortem

My Cron Job Double-Fired and Placed the Same Order Twice — Here's My Postmortem

2
Comments 1
5 min read
I Don't Vibe-Check New Local Models Anymore — I Run This 30-Minute Eval Instead

I Don't Vibe-Check New Local Models Anymore — I Run This 30-Minute Eval Instead

Comments 2
5 min read
How I Get Frontier-Quality Output from Local Models That Are 10x Smaller

How I Get Frontier-Quality Output from Local Models That Are 10x Smaller

2
Comments 2
8 min read
Why I Stopped Chasing the Newest LLM (And What I Run Instead)

Why I Stopped Chasing the Newest LLM (And What I Run Instead)

2
Comments 1
6 min read
I Replaced All My Cloud AI With Local Models — Here's What Actually Broke

I Replaced All My Cloud AI With Local Models — Here's What Actually Broke

Comments
6 min read
I Automated My Dev Blog With Local AI Agents. Here's the Honest Breakdown.

I Automated My Dev Blog With Local AI Agents. Here's the Honest Breakdown.

Comments
6 min read
I Automated My Dev Blog With Local AI Agents. Here's the Honest Breakdown.

I Automated My Dev Blog With Local AI Agents. Here's the Honest Breakdown.

Comments
6 min read
I Built a Personal AI That Actually Knows My Projects (RAG + Ollama, Zero Cloud)

I Built a Personal AI That Actually Knows My Projects (RAG + Ollama, Zero Cloud)

Comments 2
5 min read
How I Turned My Homelab Into an AI Content Factory (And Why I'm Not Stopping)

How I Turned My Homelab Into an AI Content Factory (And Why I'm Not Stopping)

Comments
6 min read
I Wanted Real-Time Stock Charts on My Garmin Watch. Monkey C Had Other Plans.

I Wanted Real-Time Stock Charts on My Garmin Watch. Monkey C Had Other Plans.

Comments
5 min read
I Gave My AI a Memory. It Changed Everything.

I Gave My AI a Memory. It Changed Everything.

Comments
5 min read
I Built a Health Monitor for My AI Agents — Now They Tell Me When They're Dying

I Built a Health Monitor for My AI Agents — Now They Tell Me When They're Dying

Comments
6 min read
I Moved My AI Stack From NVIDIA to Apple Silicon. Then I Moved Back. Here's Why.

I Moved My AI Stack From NVIDIA to Apple Silicon. Then I Moved Back. Here's Why.

Comments
5 min read
I Stopped Asking One AI to Do Everything. Here's What Happened.

I Stopped Asking One AI to Do Everything. Here's What Happened.

Comments
5 min read
I Built a Garmin Watch Face with Live Stock Charts in Monkey C — Here’s What I Learned

I Built a Garmin Watch Face with Live Stock Charts in Monkey C — Here’s What I Learned

Comments 1
3 min read
I Built a Personal AI That Actually Knows My Projects (RAG + Ollama, Zero Cloud)

I Built a Personal AI That Actually Knows My Projects (RAG + Ollama, Zero Cloud)

Comments
5 min read
I Automated My Entire Dev Workflow with AI Agents Running 24/7 on a Mac Mini

I Automated My Entire Dev Workflow with AI Agents Running 24/7 on a Mac Mini

1
Comments 1
5 min read
I Built a Dead-Simple API Gateway for My Local LLMs in 50 Lines of Python

I Built a Dead-Simple API Gateway for My Local LLMs in 50 Lines of Python

1
Comments
4 min read
I Built a Dead-Simple API Gateway for My Local LLMs in 50 Lines of Python

I Built a Dead-Simple API Gateway for My Local LLMs in 50 Lines of Python

Comments
4 min read
I Ditched ChatGPT for Local LLMs and Saved $2,000 in a Year — The Real Numbers

I Ditched ChatGPT for Local LLMs and Saved $2,000 in a Year — The Real Numbers

1
Comments 1
4 min read
I Built a Morning Briefing Bot in 50 Lines of Python — Here's Why I Check Telegram Before Email Now

I Built a Morning Briefing Bot in 50 Lines of Python — Here's Why I Check Telegram Before Email Now

Comments 1
5 min read
I Rented Out My GPU for Passive Income — Here's What Happened After My First Week

I Rented Out My GPU for Passive Income — Here's What Happened After My First Week

Comments
4 min read
I Replaced 2.5 Hours of Daily Busywork with a $0 AI Agent Setup

I Replaced 2.5 Hours of Daily Busywork with a $0 AI Agent Setup

Comments
6 min read
I Built an AI Content Team That Posts to My Blog While I Sleep

I Built an AI Content Team That Posts to My Blog While I Sleep

1
Comments 2
5 min read
I Ditched 5 Cloud Subscriptions and Built a Self-Hosted Stack — Here's the Real Cost Breakdown

I Ditched 5 Cloud Subscriptions and Built a Self-Hosted Stack — Here's the Real Cost Breakdown

Comments
6 min read
I Gave Each of My AI Agents a Personality — Here's Why My Workflow Actually Improved

I Gave Each of My AI Agents a Personality — Here's Why My Workflow Actually Improved

1
Comments
6 min read
I Use Telegram as My DevOps Dashboard — No Web UI, No VPN, Just Works

I Use Telegram as My DevOps Dashboard — No Web UI, No VPN, Just Works

1
Comments
4 min read
I Built an AI Agent That Writes and Posts Articles For Me — Here's What Happened

I Built an AI Agent That Writes and Posts Articles For Me — Here's What Happened

1
Comments 1
3 min read
How I Built a Self-Funding AI Lab: From Hobby to Side Income in 6 Months

How I Built a Self-Funding AI Lab: From Hobby to Side Income in 6 Months

Comments
6 min read
I Built an AI Assistant That Lives in My Telegram — Here's What 6 Months Taught Me

I Built an AI Assistant That Lives in My Telegram — Here's What 6 Months Taught Me

Comments
6 min read
Run Your Own AI Server for $0/month with Ollama

Run Your Own AI Server for $0/month with Ollama

4
Comments 1
3 min read
I Replaced Every Cloud AI Tool with Local Models — 6 Months Later, Here's What Actually Broke

I Replaced Every Cloud AI Tool with Local Models — 6 Months Later, Here's What Actually Broke

Comments
5 min read
I Expanded My GPU Rental Fleet to 6 Cards — Here's What Happened to My Earnings

I Expanded My GPU Rental Fleet to 6 Cards — Here's What Happened to My Earnings

Comments 1
5 min read
My 3-Machine AI Lab: How I Divide Work Between a Mac Mini, a Windows PC, and an Ubuntu Box

My 3-Machine AI Lab: How I Divide Work Between a Mac Mini, a Windows PC, and an Ubuntu Box

Comments
7 min read
From Idea to Deployed Tool in 3 Hours — How AI Coding Agents Changed My Workflow

From Idea to Deployed Tool in 3 Hours — How AI Coding Agents Changed My Workflow

Comments
4 min read
I Built a Model Router That Picks the Right AI for Every Task — Here's Why You Should Too

I Built a Model Router That Picks the Right AI for Every Task — Here's Why You Should Too

Comments
4 min read
I Built a Model Router That Picks the Right AI for Every Task — Here's Why You Should Too

I Built a Model Router That Picks the Right AI for Every Task — Here's Why You Should Too

Comments
6 min read
My 3-Machine AI Lab: How I Divide Work Between a Mac Mini, a Windows PC, and an Ubuntu Box

My 3-Machine AI Lab: How I Divide Work Between a Mac Mini, a Windows PC, and an Ubuntu Box

Comments
7 min read
3 Months Running Everything Locally — What Broke, What Worked, What I'd Do Differently

3 Months Running Everything Locally — What Broke, What Worked, What I'd Do Differently

Comments
4 min read
I Let AI Coding Agents Build My Side Projects for a Month — Here's My Honest Take

I Let AI Coding Agents Build My Side Projects for a Month — Here's My Honest Take

Comments
5 min read
I Expanded My GPU Rental Fleet to 6 Cards — Here's What Happened to My Earnings

I Expanded My GPU Rental Fleet to 6 Cards — Here's What Happened to My Earnings

Comments
5 min read
I Use Telegram as My DevOps Dashboard — No Web UI, No VPN, Just Works

I Use Telegram as My DevOps Dashboard — No Web UI, No VPN, Just Works

Comments
4 min read
I Rented Out My GPU for Passive Income — Here’s What Happened After My First Week

I Rented Out My GPU for Passive Income — Here’s What Happened After My First Week

Comments
4 min read
Local LLMs vs Cloud APIs — A Real Cost Comparison (2026)

Local LLMs vs Cloud APIs — A Real Cost Comparison (2026)

1
Comments 1
2 min read
How I Automated My Entire Dev Workflow with AI Agents (Running 24/7 on a Mac Mini)

How I Automated My Entire Dev Workflow with AI Agents (Running 24/7 on a Mac Mini)

1
Comments
3 min read
I Built a Personal AI That Actually Knows My Projects (RAG + Ollama, Zero Cloud)

I Built a Personal AI That Actually Knows My Projects (RAG + Ollama, Zero Cloud)

1
Comments
5 min read
5 Telegram Bot Ideas That Actually Make Money (Built a Few of These Myself)

5 Telegram Bot Ideas That Actually Make Money (Built a Few of These Myself)

10
Comments
4 min read
I Built a Custom Garmin Watch Face With Live Stock Sparklines — Here's What I Learned

I Built a Custom Garmin Watch Face With Live Stock Sparklines — Here's What I Learned

Comments 1
4 min read
I Ditched OpenAI and Run AI Locally for Free — Here's How

I Ditched OpenAI and Run AI Locally for Free — Here's How

Comments 1
3 min read
loading...