173 karma · joined Feb 18, 2024 (2y ago) · 74 submissions
comment 2w ago · link · parent
The main agent is the entry point:
"review this PR" should open a new workspace and spin up one or more agents to do whatever review workflow you like.
"Implement ticket xyz" should open a new space, read the ticket content, plan/write/test/review/create a PR without much managerial input. You'll still need to answer questions and check work between steps, but all of the busy work can be done by your agent(s) with skills. If they get it wrong, update the skill.
Same for "research this bug report/product question/error trace".
comment 2mo ago · link · parent
It's definitely becoming mainstream.
I've taken it off and on for the past 15 years, the most noticeable effect is about 5lbs of weight gain. I do think it helps gym performance and the increased water retention mames for better muscle definition.
comment 1y ago · link · parent
"Write me a server in Go" only gets you so far. What is the auth strategy, what endpoints do you need, do you need to integrate with a library or API, are there any security issues, how easy is the code to extend, how do you get it to follow existing patterns?
I find I need to think AND write more than I would if I was doing it myself because the feedback loop is longer. Like the article says, you have to review the code instead of having implicit knowledge of what was written.
That being said, it is faster for some tasks, like writing tests (if you have good examples) and doing basic scaffolding. It needs quite a bit of hand holding which is why I believe those with more experience get more value from AI code because they have a better bullshit meter.
comment 1y ago · link · parent
If anything, prompting well is akin to learning a new programming language. What words do you use to explain what you want to achieve? How do you reference files/sections so you don't waste context on meaningless things?
I've been using AI tools to code for the past year and a half (Github Copilot, Cursor, Claude Code, OpenAI APIs) and they all need slightly different things to be successful and they're all better at different things.
AI isn't a panacea, but it can be the right tool for the job.
comment 1y ago · link · parent
gen_stage is just a library. One could write it in Erlang. It's like asking why Broadway is only for Elixir and not Erlang.
It was hard to approach the Erlang docs when I started in Elixir. However, they've moved to an ex_doc format (is it ex_docs?) as a standard and it's so much easier to grok.
comment 1y ago · link · parent
Claude says you can use a CTE to select and the run your update with the locked rows, but I have only ever used transactions.
comment 1y ago · link · parent
I found an explanation on a site once but haven't found any official docs. I suppose you could reverse enegiener the SDKs.
comment 1y ago · link · parent
It seems like half of it is Sonnet output and it doesn't describe how the protocol actually works.
For all its warts, the GraphQL spec is very well written https://spec.graphql.org/October2021/