HN user

dhorthy

787 karma

building @ humanlayer.com

Posts24
Comments171
View on HN
en.wikipedia.org 1mo ago

Proportional-Integral-Derivative (PID) controllers

dhorthy
125pts63
en.wikipedia.org 3mo ago

Principal Component Analysis

dhorthy
7pts0
en.wikipedia.org 3mo ago

The Kleene Star

dhorthy
2pts0
en.wikipedia.org 4mo ago

Plugtest

dhorthy
37pts10
www.humanlayer.dev 6mo ago

A Brief History of Ralph

dhorthy
73pts40
www.cl.cam.ac.uk 6mo ago

The space and motion of communicating agents (2008) [pdf]

dhorthy
49pts7
ronjeffries.com 6mo ago

Refactoring – Not on the backlog (2014)

dhorthy
44pts20
boundaryml.com 6mo ago

5 Years, 12 Pivots

dhorthy
16pts5
github.com 10mo ago

Getting AI to work in complex codebases

dhorthy
517pts418
pypi.org 11mo ago

OpenAI Harmony on PyPI – moving more clients to rust core?

dhorthy
2pts1
huggingface.co 11mo ago

Unsloth improvements to gguf tool calling for Qwen3

dhorthy
1pts0
www.youtube.com 1y ago

Spec Engineering and the New Code – Sgrove from OpenAI [video]

dhorthy
1pts1
github.com 1y ago

Claude-code proxy – integrate with any OpenAI-compatible completions provider

dhorthy
1pts0
en.wikipedia.org 1y ago

Mahalanobis Distance

dhorthy
2pts0
github.com 1y ago

Convert any OpenAPI v3 spec to an MCP server

dhorthy
2pts0
github.com 1y ago

Hundreds of MCP servers in Docker, packaged with Nix

dhorthy
1pts0
prace-ri.eu 1y ago

Topologically Aware Job Scheduling for Slurm [pdf] (2014)

dhorthy
1pts0
benn.substack.com 1y ago

Startups (Still) Aren't Businesses (Yet?)

dhorthy
1pts0
github.com 1y ago

12-factor Agents: Patterns of reliable LLM applications

dhorthy
475pts78
theouterloop.substack.com 1y ago

Towards an AI Native Auth Framework

dhorthy
6pts0
news.ycombinator.com 1y ago

Launch HN: Human Layer (YC F24) – Human-in-the-Loop API for AI Systems

dhorthy
354pts196
benn.substack.com 1y ago

Is Being Data-Driven a Fad?

dhorthy
2pts1
theouterloop.substack.com 1y ago

OpenAI's Realtime API is a step towards outer-loop Agents

dhorthy
1pts0
github.com 1y ago

Show HN: HumanLayer – Human-in-the-Loop for AI Agents

dhorthy
5pts2

functional programming taught us this decades ago. State is the root of all evil.

If the outcome of my interaction with the interface (e.g. tap a place on the screen) is a function of not just where i tap but the last 2-6 places i recently tapped (menus etc) suddenly you've added massive complexity and mental overhead.

can't wait to get back to a button that does the same thing every time every time i press it [1]

tesla screens, carplay, mercedes screens, its been getting worse for a while

1) I know in reality most are sliders or an on/off toggle but the point stands

I think one of the main examples that i saw in a swyx article a while back is that using the sort of ALL CAPS and *IMPORTANT* language that works decently with claude will actually detune the codex models and make them perform worse. I will see if I can find the post

it is very hard for me to take seriously any system that is not proven for shipping production code in complex codebases that have been around for a while.

I've been down the "don't read the code" path and I can say it leads nowhere good.

I am perhaps talking my own book here, but I'd like to see more tools that brag about "shipped N real features to production" or "solved Y problem in large-10-year-old-codebase"

I'm not saying that coding agents can't do these things and such tools don't exist, I'm just afraid that counting 100k+ LOC that the author didn't read kind of fuels the "this is all hype-slop" argument rather than helping people discover the ways that coding agents can solve real and valuable problems.

software engineering is still software engineering.

just because you don't type out the characters doesn't mean you're not designing systems and thinking critically and leveraging your experience.

also: do we think this is written by ai? do we care anymore?

there is the theoretical "how the world should be" and there is the practical "what's working today" - decry the latter and wait around for the former at your peril

I don’t think anyone serious would recommend it for serious production systems. I respect the Ralph technique as a fascinating learning exercise in understanding llm context windows and how to squeeze more performance (read: quality) from today’s models

Even if in the absolute the ceiling remains low, it’s interesting the degree to which good context engineering raises it

I read it. i agree this is out of touch. Not because the things its saying are wrong, but because the things its saying have been true for almost a year now. They are not "getting worse" they "have been bad". I am staggered to find this article qualifies as "news".

If you're going to write about something that's been true and discussed widely online for a year+, at least have the awareness/integrity to not brand it as "this new thing is happening".

engineers always want to re write from scratch and it never works.

a tale as old as time - my second job out of college back in like 2016, I landed at the tail end of a 3-month feature-freeze refactor project. was pitched to the CEO as 1-month, sprawled out to 3 months, still wasn't finished. Non-technical teams were pissed, technical teams were exhausted, all hope was lost. Ended up cutting a bunch of scope and slopping out a bunch of bugs anyway.

i had the privilege of working w/ some incredible eng leaders at my previous gig - they were very good at working both upwards and downwards to execute against the "50/50" rule - half of any given sprint's work is focused on new features, and half is focused on bug fixes, chores, things that improve team velocity.

I think the key here is “if X then Y syntax” - this seems to be quite effective at piercing through the “probably ignore this” system message by highlighting WHEN a given instruction is “highly relevant”

agree - i've had claude one-shot this for me at least 10 times at this point cause i'm too lazy to lug whatever code around. literally made a new one this morning

For the record I do think the AI community tries to unnecessarily reinvent the wheel on crap all the time.

sure, readme.md is a great place to put content. But there's things I'd put in a readme that I'd never put in a claude.md if we want to squeeze the most out of these models.

Further, claude/agents.md have special quality-of-life mechanics with the coding agent harnesses like e.g. `injecting this file into the context window whenever an agent touches this directory, no matter whether the model wants to read it or not`

What people often forget about LLMs is that they are largely trained on public information which means that nothing new needs to be invented.

I don't think this is relevant at all - when you're working with coding agents, the more you can finesse and manage every token that goes into your model and how its presented, the better results you can get. And the public data that goes into the models is near useless if you're working in a complex codebase, compared to the results you can get if you invest time into how context is collected and presented to your agent.

If I tell them exactly how to build something the work needed to review the resulting changes is a whole lot less taxing.

Totally matches my experience- the act of planning the work, defining what you want and what you don’t, ordering the steps and declaring the verification workflows—-whether I write it or another engineer writes it, it makes the review step so much easier from a cognitive load perspective.

I have had a user story and a research plan and only realized deep in the implementation that a fundamental detail about how the code works was missing (specifically, that types and sdks are generated from OpenAPI spec) - this missing meant the plan was wrong (didn’t read carefully enough) and the implementation was a mess

My advice - never use compact, always stash your context to Md or a wordy git commit message and then clear context

You want control over and visibility into what’s being compacted, and /compact doesn’t do great on either

yeah flat, simple code is good to start, but I find I'm still developing instincts around right balance between "when to let duplicate code sprawl" vs. "when to be the DRY police".

i 100% agree - the folks who are best at ai-first engineering, they spend 3 days designing the test harness and then kick off an agent unsupervised for 2+ days and come back to working software.

not exactly valuable as guidance since programming languages are very easy to verify, but the https://ghuntley.com/ralph post is an example of whats possible on the very extreme end of the spectrum

yeah its kinda funny how some bigger more sophisticated eng orgs that would be called "slow and ineffective" by smaller teams are actually pretty dang well set-up to leverage AI.

All because they have been forced to master technical communication at scale.

but the reason I wrote this (and maybe a side effect of the SF bubble) is MOST of the people I have talked to, from 3-person startups to 1000+ employee public companies, are in a state where this feels novel and valuable, not a foregone conclusion or something happening automatically

Claude code is Claude code, whether you use in cursor or not

Codex and Claude code are neck and neck, but we made the decision to go all in on opus 4, as there are compounding returns in optimizing prompts and building intuition for a specific model

That said I have tested these prompts on codex, amp, opencode, even grok 4 fast via codebuff, and they still work decently well

But they are heavily optimized from our work with opus in particular