Better HN
topnewbestaskshowjobs
Log inSign up

mtlynch

15,056 karma · joined Jun 16, 2017 (9y ago) · 1,838 submissions

I blog about software and entrepreneurship at https://mtlynch.io

I'm writing a book to help developers improve their writing at https://refactoringenglish.com

Submissions

comment 3d ago · link · parent

Here's my guide: https://refactoringenglish.com/excerpts/commit-messages/

comment 6d ago · link · parent

Just because AI Overview doesn't cite All About Berlin specifically, that doesn't disprove that All About Berlin contributed to the generated answer.

I don't know the details of how Google AI Overview tracks data provenance, but I don't think they have an accurate way of tracing the provenance of data in their model weights.

comment 1w ago · link · parent

A free market assumes that there is healthy competition among sellers, so they do not have incentive to collude. In a healthy market, if five sellers colluded to keep the price high, a sixth seller should pop up and undercut the colluding sellers to capture business from the overpriced colluding sellers.

comment 2w ago · link · parent

That's helpful thanks!

comment 2w ago · link · parent

Can you share more about how you use XMPP? It sounds like nobody you know uses it, but you also said it's your main messaging gateway, so I'm confused about how that works. Like you have XMPP bridges to Signal and Whatsapp? Do you have a solution for SMS?

comment 2w ago · link · parent

Thanks for sharing!

> I also try to make sure my server has useful bots, a small thing but every bit of utility and differentiation with proprietary services helps.

Can you share more about this? I hadn't thought about this, but that's an advantage over SMS, though I don't have good ideas for bots my friends/family would enjoy.

> For that reason I bridge everything and always meet people where they are and constantly show off to them that even if they sms/telegram/WhatsApp/messenger/slack/discord/signal me then I get it in one app with no tracking or ads on my physical phone that I carry in my pocket.

How do you bridge SMS/WhatsApp to Matrix? Something like Beeper?

comment 2w ago · link · parent

Thanks for creating Snikket!

I tried Snikket and ejabberd on the server and found Snikket way easier to use.

I haven't tried any Snikket clients because I'm tinkering with web apps to start and it looks like Snikket doesn't have a web client yet outside of the admin portal.

I really like that Snikket allows me to create invitations without relying on SMTP. I love having it just as a URL I can send however I want.

I wish I kept better notes on my Snikket onboarding because I did run into a few hiccups.

I find the concept of "Circles" unclear because I don't understand how it differs from regular users. Thinking about it more, I'm assuming the idea is that I might have a family group and a college friends group, but I don't want my dumb college friends messaging my mom even though they're all on the same server?

My more superficial note is that I find the admin UX a little rough. It feels a little early 2000s design where everything is a form submit when there could be more JS interactivity (and this is coming from someone who hates JS frameworks but likes minimalist JS like htmx). And there are four top-level admin actions, and one of them is "Invitations" but that seems to duplicate everything available to me under "Users."

8.

Ask HN: How did you convince family and friends to join your XMPP/Matrix server?

103 points · by mtlynch · 2w ago · 100 comments

9.

The MustCreate Pattern for Go Tests(mtlynch.io ↗)

3 points · by mtlynch · 2w ago · 1 comment

comment 2w ago · link · parent

I think what OP did is poor practice. From the maintainer side, how are they supposed to know when the PR is ready for review? Are the maintainers expected to keep checking in on the contributors' threads with themselves to make sure everything is wrapped up?

To me, there's two things you can mean with a PR:

- Open a normal PR: I personally attest to the quality of the code, and I'm ready for the maintainer to review/merge it.

- Open a draft PR: I have questions about proceeding and want to show you a work in progress to give context.

Any kind of intermediate work to prepare it for the maintainers should happen in a fork, not adding noise in the official repo. When you're done experimenting in the fork, then it can go to the main repo.

comment 2w ago · link · parent

> I'm happy to test crazy new ideas and throw out what doesn’t work well. It was able to wire & test a huge change to Mumble that added better noise cancelling; I use my beta build of it nearly every day.

To me, this is a negative and mostly irresponsible use of AI.

OP dumped a huge PR (edit: not actually huge) on the Mumble maintainers,[0] which didn't match project conventions. He left a bunch of unresolved conversations with Claude that are hard to follow because it looks like an insane person having a conversation with themselves.

Then, the Mumble maintainers gave him pretty polite, patient feedback, and he just ignored it. No follow up for going on three months. Granted, the maintainers left the PR in the queue for four months, so it's not like OP is the slowest link, but I definitely wouldn't point to this as a win when there's basically no traction on the PR or any indication this will be merged.

[0] https://github.com/mumble-voip/mumble/pull/7180

Edit: radlad is correct that the PR is not "huge" at ~300 LOC. I was reading on my phone and didn't check the PR size and mistakenly trusted OP's assessment of "huge."

comment 1mo ago · link · parent

I'm an Ente customer primarily because they're open-source, so I find it extremely disappointing that Ente appears to be violating FairScan's license here. It's especially disappointing because it seems like FairScan could have just used the code with attribution since FairScan uses a license that's compatible with Ente's.

13.

Did Ente Locker copy my code without attribution?(fairscan.org ↗)

4 points · by mtlynch · 1mo ago · 5 comments

comment 1mo ago · link · parent

> Ok, I respect your opinion, but remember that there are poor souls like me out there that actually love the opposite.

All things being equal, why prefer Docker Compose? From my perspective, a single binary strictly dominates any Docker Compose solution.

comment 1mo ago · link · parent

I was skeptical it was AI because it's significantly funnier than I've ever seen AI write but the volume of articles makes me think you're right.

comment 1mo ago · link · parent

> Your analogy is flawed

Can you explain why my analogy is flawed?

> my critique is at somebody with a printer annoyed they can't get it to print its own instruction manual, so they've drafted one with a pen and are passing it around for feedback.

> Why aren't you using the printer?

You've lost me. Didn't you establish that the printer can't print its own instruction manual? How would I use the printer to print the instruction manual when it can't do that? And can you spell out for me how this relates to my critique of agents?

If this is about my gripe that agents have to search online for their docs, that's my most minor grievance because they can still access their docs. I just think it's a dumb time tradeoff that they don't ship docs alongside their binaries because if the docs were locally available, the agents could search them faster and guarantee the docs matched the binary.

> Feed your blog post to pi - have it implement it - and you will realize pretty quickly that a lot of them are flawed. This would have costs you about the same time as writing this blog post.

I never made the claim that Pi could implement these features trivially. If your claim is that Pi can do this so easily, you should be the one feeding my blog to Pi and showing me the results.

I'm confident that Pi could not implement all the features I described in the time I spent on this blog post (about five hours), so I have no reason to waste five hours trying, but if you're confident I'm wrong, you're welcome to spend your own five hours disproving me.

comment 1mo ago · link · parent

Oh, maybe I should try v2.

I'm confused about opencode's v1/v2 split. The docs say v2 is here, but their Github is only v1.x.[0] And the docs don't really explain why v2 is better, but there's a long list of things I have to do to migrate,[1] so I haven't been that eager to pull the trigger, especially since I can't tell if they consider it alpha/beta/release.

[0] https://opencode.ai/v2/docs

[1] https://opencode.ai/v2/docs/migrate-v1/

comment 1mo ago · link · parent

> I think most people are criticizing your overall stance. Your whole post is "Agents can't do this" and "Agents can't do that."

My take is that agents don't do the expected thing out of the box. I acknowledge that you can extend some agents and customize them, but I'm saying that it's sort of silly that the features I think most people want don't exist as default, out of the box standards.

> If I wrote a blog post complaining that "Programming languages don't let me do memory management", would you not think it's fair to respond with "What are you talking about? Have you heard of C?"

I don't think that's a fair comparison because C does let you do memory management out of the box. I think the better comparison is like, "Go doesn't let you do pattern matching," and the response is like, "Why don't you just patch Go to let you do pattern matching and maintain your own fork of Go?"

comment 1mo ago · link · parent

I think knowing its own capabilities is the only thing Pi does out of the box that matches my wishlist.

But I'm still kind of puzzled by this critique. Isn't it kind of like saying, "Why are you complaining about the agent? The C programming language exists, so you can use that to create any agent you want."

comment 1mo ago · link · parent

OP here.

I don't expect the model to be trained on the latest features of the harness, but I think the harness should ship with its own docs so that the model can quickly search local docs rather than search online page by page for docs that don't necessarily match the local harness.

comment 1mo ago · link · parent

OP here.

Looks like this is a layer on top of OpenCode. Seems interesting. I'll check it out. Thanks for the tip!

comment 1mo ago · link · parent

OP here.

I'm confused how you see this article as a complaint about Pi. I only mention Pi at the very end to say it's one of the agents I've tried. I checked it out, found it too barebones for me and moved on, but I understand why some people prefer it. The existence of Pi isn't a counterargument to, "Why don't agents support development workflows that should be commonplace?"

comment 1mo ago · link · parent

OP here.

I didn't want to complain about OpenCode too much because it's open-source and kind of the scrappy underdog to Claude/Codex, but I do find its multitasking support pretty limited. I have to specifically remind it to spin up subagents, and when it does, it'll do 2-3 tasks in parallel and then wait until all of them finish. It can't seem to inspect tasks in progress, and if a subagent dies or hangs, the main agent can't seem to retrieve any information from it, even though I as the human can look at the session and see what happened.

Are you doing anything special to make OpenCode multitask well?

24.

Why are coding agents so dumb?(mtlynch.io ↗)

105 points · by mtlynch · 1mo ago · 103 comments

comment 1mo ago · link · parent

I wanted to do this but I found it hard to secure it in a way that anyone can join meeting links I send but I'm the only one who can create meetings. It seems like Jitsi intentionally makes this hard so that you buy their hosted plan instead. Have you found a good solution?

comment 1mo ago · link · parent

Interesting, I appreciate the detailed response!

comment 1mo ago · link · parent

I think that's a factor as well. If the reader has a specific goal in mind, and your blog post presents itself as a way for the reader to satisfy their goal, then the reader will probably have less patience for stories.

But to take Spolsky's "Things You Should Never Do" as an example, obviously nobody's Googling, "things to never do," clicking Joel's article, and then getting annoyed at Joel for not telling them immediately. They're finding the post on HN, RSS readers, forums, etc., where they didn't have a specific goal in mind beyond learning/entertainment, so the author has more room to take their time.

comment 1mo ago · link · parent

Honest question: if you truly only write for yourself, why submit the posts to HN and prominently display social sharing shortcuts at the top of each post?

I can understand the position that you do care about other people reading your post, but you weigh your own enjoyment of your posts more heavily than anything else, but I'm skeptical of the claim that you don't care who reads your posts.

comment 1mo ago · link · parent

Thanks for reading!

> I think your anti-patterns apply very well to the stereotypical SWE or HN reader, and if that is who you are targeting, you should absolutely follow these. But the biggest anti-pattern of all is following these anti-patterns while hoping to appeal to the untypical SWE or HN reader.

Can you share more about what you have in mind?

I feel like these recommendations apply outside of software/HN. Like if I had a way to reach knitting bloggers, I'd imagine most of the concepts would be the same with different specifics.

Do you have a software blogger in mind that writes well but doesn't match what I describe in the post?

comment 1mo ago · link · parent

Yeah, I think a cool thing about blogging is that there are so many distinct tastes that there's a lot of room for different writing styles, and you can find people who like your style.

When bloggers say, "I don't want to write about topic X because person Y already wrote the definitive post about it," I say, "However good the existing article is, there will still be people that prefer yours." Even if the other person is smarter, more knowledgeable, whatever, you're going to explain it in your own way, and that's going to resonate with a distinct set of people than any other article out there.

12345
62