Better HN
topnewbestaskshowjobs
Log inSign up

mceachen

3,531 karma · joined Mar 2, 2010 (16y ago) · 1,299 submissions

Founder of PhotoStructure, a new home for all your photos and videos.

https://photostructure.com/

Founded AdGrok (a YC startup), which was acquired by Twitter in 2011.

Submissions

comment 4d ago · link · parent

I hadn't used Red Hat since the aughties, but to support a PhotoStructure user, I installed Fedora on my normally-ubuntu-running laptop (an Acer Swift).

So many things that didn't work under Ubuntu worked perfectly under Fedora. Lid suspend to ram. Webcam. Microphone. WiFi.

TLDR: I'd try booting a live CD with some other distributions before deciding to make do with Ubuntu.

comment 4d ago · link · parent

> it also has no reason to exist.

I despised having to produce design documents for software projects 20 years ago (the last time I had to do it as a software engineer). I wanted to jump straight to coding. I begrudgingly found that, much like research papers, it's a forcing function in really understanding the problem space.

Over the last year, I've found that, at least for nontrivial things, if my agent makes a terse (under 300 line) technical design doc that describes their research and their tasks, it can highlight any disconnects between what I asked and the agent's interpretation. It also serves as context to ramp up cross-model reviews, and as historical reference material when I have to Chesterson's fence something later. I wrote up more about this here: https://photostructure.com/coding/claude-code-tpp/

comment 6d ago · link · parent

Howdy! I'm the author of gavel.

For background, I use a $100/mo ChatGPT Pro plan and a $200 Ultra plan for Claude. I almost never use Fable: most work is done by Opus 5.5 high (not xhigh).

I'm in a power blackout right now and only have access to my laptop, but this is what Claude could see:

<claude>

Expect gavel to add about 2–3% to an agent session’s token cost, around $0.65 per session at Opus 5.5 API prices, and to take about 15k tokens of context at its peak (median; the worst session reached 42k).

In those 39 sessions the agent ran 162 launch or review create commands, about 4 per session, which works out to roughly $0.16 per review. That per-review figure is approximate, because the count includes retried launches.

</claude>

YMMV, especially because I'm using it in conjunction with my own "second-opinion" skill that does cross-model analysis, review, and remediation before it gets to me in gavel (so that usage pattern almost certainly impacts token consumption). More about that here: https://photostructure.com/coding/claude-code-review/#when-o...

comment 1w ago · link · parent

Perhaps add some guidance to your README.md or AGENTS.md, saying that you prefer concise issue reports with simple isolated reproduction sets over PRs? And that they must be, as you said, _actual, non-hypothetical_ issues?

And be OK with closing issues that have dubious merit?

comment 1w ago · link · parent

Neat. It looks a bit more like agent swarm management from the README?

gavel is designed more for sanity checking before commits, or discussing larger technical project plans where you have multiple issues raised concurrently.

I really haven't had much luck with "do a big thing, go for it" prompts. I think it's way too easy, at least for me, for human/robot disconnect to happen, where I *think* we're on the same page, and then it builds something quite wrong.

To overcome that, I've been using "technical project plans" to drive agents -- https://photostructure.com/coding/claude-code-tpp/ -- the agent produces a doc that I can read and vet and edit, and _then_ they can go cook. I use gavel to discuss the TPP before they cook, if it's tricky.

comment 1w ago · link · parent

There will always be people that complain about anything.

Claude has a (large) set of liguistic tics that are a bit triggering to a lot of people here—it can make it easy to dismiss an article as soon as it's apparent the text was ai generated.

Was it one-shot? Is it a fabricated hallucination? I believe you that you put days into this, but it's not the reader's job to suss that out, and given how much slop is out there that waste people's time, just the whiff of slop can, rightfully or otherwise, illicit scorn.

Claude is just not a good editor out of the box. You need to write your own text from scratch, and use something else for grammar checking.

7.

Show HN: gavel: guided code review with your coding agent(photostructure.com ↗)

5 points · by mceachen · 1w ago · 3 comments

comment 2w ago · link · parent

I've found several solutions to avoid agents from building complexity -- the first is to not use Astra or Fable/Mythos unless absolutely required. The second is to use effort level "high", not "xhigh". The last idea would be to edit your AGENTS.md to be short, and start it with something like:

Contributors to this project must follow YAGNI, DRY, KISS, and principle of least astonishment, both from user-visible surfaces, and backend design.

Code is a liability. Do not build anything not expressly asked for.

comment 2w ago · link · parent

1. Minimal, sometimes only a link or a sentry ID and a skill name

2. Both. Context is kept up to date for every nontrivial task in a "technical project plan": https://photostructure.com/coding/claude-code-tpp/

3. If you have separate clients, I would use a different username/login for each client so session transcripts (like in ~/.claude/... are segregated.

4. The more slack I give to agents, the more likely a session's work will have to be discarded. TPP (and looking at them before implementation starts) help avoid these very-off-course sessions from happening at least in my experience.

5. I've been iterating on coding and reviewing skills, and also just released the local reviewboard/PR tooling I've been using for the past couple of weeks. Everything is open source: fork and tweak to your content.

https://photostructure.com/coding/

comment 2w ago · link · parent

I don't buy it. You can steer them gently to at least write human-accessible project plans—and then session compaction, agent switching, and review is much more doable. I've been iterating on this for over a year: https://photostructure.com/coding/claude-code-tpp/

comment 2w ago · link · parent

I switched to the Linux desktop as soon as it was available to avoid all of the TUI rendering bugs and restore sensible copy/paste. I was using vscode's git panel to review diffs before they got committed, but had a feeling that there had to be a way to make agents pull harder so my review wasn't always the long pole in the tent.

Imagine a local GitHub PR web UI (thanks to difit), married to your agent for real time in-context discussions, and built-in skills to teach agents how to write easy to follow PR, focusing on both why's and hows.

Last night I released gavel that scratches this itch: it's open source, so fork and enjoy. https://photostructure.com/coding/gavel/

comment 2w ago · link · parent

The author briefly mentions that nits break the reader's flow state. Your comjicaito only proves the road navagable—not pleasant.

comment 2w ago · link · parent

Can't you do a .well-known or DNS handshake (like certbot) so people prove domain ownership, then hand then the report of what you found on their domain?

comment 2w ago · link · parent

*0

comment 2w ago · link · parent

Have your agents keep contexts of tasks up to date as they work on stuff.

I've been iterating on this approach for about a year—it makes switching between agents and harnesses trivial.

https://photostructure.com/coding/claude-code-tpp/

comment 2w ago · link · parent

"use subagents as applicable" (and maybe "use sonnet for simpler tasks")

comment 2w ago · link · parent

Same on the other side of the pond

comment 2w ago · link · parent

There's no X in Wayland

19.

A CVE-2026-98432 firewall rule for Ubuntu, with or without Docker(photostructure.com ↗)

2 points · by mceachen · 3w ago · discuss

comment 3w ago · link · parent

gopher goes to 11

(archie and veronica are non-denumerable)

21.

Trusted code is one bad update away from malware(photostructure.com ↗)

2 points · by mceachen · 3w ago · discuss

comment 4w ago · link · parent

An “image ladder” is the same image resampled at several widths. It’s not a standard term; MDN calls the technique “resolution switching”.

A srcset lists those versions, and the browser picks the one that fits the current viewport and screen density. https://responsiveimages.org/ has details.

For an example, view the source of https://photostructure.com/tags/. All the header art looks like this:

<picture><source type="image/webp" srcset="/img/2026/05/desk-2000w_hu_f9b8e901c6d3512c.webp 400w, /img/2026/05/desk-2000w_hu_4e2d65cccd03c969.webp 800w, /img/2026/05/desk-2000w_hu_11f3bf6c90dbf78d.webp 1200w, /img/2026/05/desk-2000w_hu_8c1a7d0a013e4ee2.webp 1600w, /img/2026/05/desk-2000w_hu_4cebe999e55b5486.webp 2000w" sizes="100vw"><source type="image/jpeg" srcset="/img/2026/05/desk-2000w_hu_cf5671a2e3bdd0cc.jpg 400w, /img/2026/05/desk-2000w_hu_2906e4ba7cda040.jpg 800w, /img/2026/05/desk-2000w_hu_f59ef0388799d4d2.jpg 1200w, /img/2026/05/desk-2000w_hu_e183d28df837e14a.jpg 1600w, /img/2026/05/desk-2000w_hu_ea9c422963c8e0e1.jpg 2000w" sizes="100vw"><img src="/img/2026/05/desk-2000w_hu_f59ef0388799d4d2.jpg" width="1200" height="600" alt="About" class="w-100 header-image" loading="eager"></picture>

That’s generated by https://gist.github.com/mceachen/d5915e46d1294489698e155eb11..., which uses Hugo’s resources.Get and .Resize.

comment 4w ago · link · parent

I use Hugo as well. If any of your pages have larger media, look into Pipes to get images ladder srcsets built for you automatically. Very fancy. https://gohugo.io/hugo-pipes/introduction/

comment 1mo ago · link · parent

Oh man that's rough.

Your experience would make for excellent feedback for me if you're willing, email hello@ my domain name if you want complementary PLUS!

comment 1mo ago · link · parent

Just to clarify, I've open sourced a ton of PhotoStructure (exiftool-vendored, batch-cluster, fs-metadata, @photostructure/sqlite, sqlite-vec, and 10 more repos), but PhotoStructure's frontend and backend integrations are not open source. If PhotoStructure, Inc. ever closes, though, I will open source the repos powering the consumer product.

I've written open source for several decades, and certainly enjoyed the spoils of open source, but I've also seen a ton of bad behavior. Keeping it closed source certainly is not a guarantee that I avoid intellectual property theft or license violations, but at least I'm not just one agent prompt away from someone rebranding and reselling what I've worked full-time on for more than a decade.

12345
44