Better HN
topnewbestaskshowjobs
Log inSign up

oxidant

173 karma · joined Feb 18, 2024 (2y ago) · 74 submissions

Submissions

comment 2w ago · link · parent

I've found an agent to manage agents, plus aggressively creating skills/workflows helps.

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

What would you call insulin?

comment 2mo ago · link · parent

I saw someone handing out samples of creatine at Costco the other day, spouting all sorts of stuff like it's a wonder drug.

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 2mo ago · link · parent

Ask for output to the user in "simple technical English", let it think how it wants. It is hard to believe all the flowery prose is actually helpful to the model.

comment 2mo ago · link · parent

Experienced this using the API. Got told it's a "wontfix"

comment 2mo ago · link · parent

I like capslock bound to esc.

comment 3mo ago · link · parent

Stopped after

> Headline. The crash is real and reproducible.

comment 3mo ago · link · parent

Old reddit still works, images and videos are usually forced to go to new reddit. You can sometimes get around it by clicking on the comments link.

I started getting a blocking overlay telling me to download the app on new reddit and I just leave.

comment 3mo ago · link · parent

10DLC in North America

comment 4mo ago · link · parent

Interesting question. From the Wikipedia article,

> ISO 8601 allows Gregorian dates from the introduction of the calendar on 15 October 1582.

https://en.wikipedia.org/wiki/ISO_8601#Dates

comment 7mo ago · link · parent

This works well for jobs that are long-ish. You need another process to sweep for orphaned jobs and requeue or fail them. Add a timestamp of when it got picked up to keep track

comment 10mo ago · link · parent

Exactly the point I was going to make. Shipping something requires knowing how to ship it, monitor it, and fix it.

Writing code is the "easy" part and kind of always has been. No one triggers incidents from a PR that's been in review for too long.

comment 10mo ago · link · parent

Electron ships a version of Chrome. Other frameworks like Tauri use the device's webview.

comment 1y ago · link · parent

receive takes a timeout. A would crash/hit the timeout and deal with the problem.

comment 1y ago · link · parent

What do you mean, "creates a Conn variable out of whole cloth"?

Conn is just a pipeline of functions, the initial Conn struct is created at request time and passed through to each function in the pipeline.

comment 1y ago · link · parent

I've never seen it write a file in plan mode either.

comment 1y ago · link · parent

The behavior is configurable and the default is unbound.

https://www.erlang.org/doc/apps/erts/erl_cmd.html#%2Bsbt

comment 1y ago · link · parent

Not if the items change relative position over time.

comment 1y ago · link · parent

Schroedingers branching

comment 1y ago · link · parent

Counterpoint: Why should my println debugging get committed? They're not "important" for the final product but important for development.

comment 1y ago · link · parent

Agreed, but people sell "vibe coding" without acknowledging you need more than vibes.

LLMs can help answer the questions. However, they're not going to necessarily make the correct choices or implementation without significant input from the user.

comment 1y ago · link · parent

Of course that's what the industry is selling because they want to make money. Yes, it's easy to create a proof of concept but once you get out of greenfield into 50-100k tokens needed in the context (reading multiple 500 line files, thinking, etc) the quality drops and you need to know how to focus the models to maintain the quality.

"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

I do not agree it is something you can pick up in an hour. You have to learn what AI is good at, how different models code, how to prompt to get the results you want.

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

Not OP but probably just cost.

comment 1y ago · link · parent

Elixir has a better developer experience, or at least it's more approachable. Better code splitting with modules, easier to use variables (no var, var1, var2), loops that look like loops but easy enough to fall back to recursion, and an easier to read syntax.

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

FOR UPDATE SKIP LOCKED is great, but it needs to be in a transaction. In the example code it won't "do" anything because it selects for update then immediately loses the lock.

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

Better to use something like OpenApi and generate your zod schema using it.

comment 1y ago · link · parent

It's JSON-RCP 2 with a specific life cycle and events. https://www.jsonrpc.org/specification

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

I wish there was a clear spec on the site but there isn't https://modelcontextprotocol.io/specification/2025-03-26

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/

comment 1y ago · link · parent

I think Bill Nye has something similar, too.
123