211 karma · joined Jun 14, 2023 (3y ago) · 365 submissions
comment 6mo ago · link · parent
In the post the maintainer says that an older version of bun "results in the ejs lockfile being ignored".
The reason is that they never committed the necessary lockfile despite listing "support" for that bun version.
They have separate lockfiles for other package manager versions: bun.lock, deno.lock, package-lock.json, pnpm-lock.yaml.
This part of the comment is also interesting: "which is a significant security concern for users when considering all of the recent npm supply chain attacks".
If you would set up a proper build for the JS artifact instead of committing four lockfiles to your repository, users would not be as exposed to npm supply chain attacks.
comment 6mo ago · link · parent
It appears they mixed JS building into their python project, aiming to support multiple package managers which are executed from their python script.
This explains the otherwise non-sensical explanation about bun < v2 ignoring the lockfile: they use a separate lockfile for each package manager. They did not check in one for bun v1, which they claimed to support, consequently it is not using a lockfile.
That's not how JS packaging normally works. I would set up a separate folder for the JS project, and use one package manager to build the project, like anyone else does.
Publish the package to npm, or bundle the tarball with your python program.
I guess the permission model of the JS runtime could be another topic, but at least they would have their build fixed without worrying about Node dependency resolution and package managers in their Python code.
comment 6mo ago · link · parent
I never tried spec driven development for myself, but if I review other's MRs I am typically exhausted after the first 10 lines.
And there are hundreds of lines, nearly always with major inaccuracies.
For myself I always found the plan mode to work well. Once the implementation is done, the code is the source of truth. If it works, it works.
When I want to add more functionality or change it, I just tell the agent what I want changed.
I doubt walls of semi-accurate existing specs are going to be beneficial there, but maybe my work differs from yours.
comment 6mo ago · link · parent
It just seems incredibly pessimistic to me. Who wants civil unrest? The rich elite does not want this either.
We will pay people.
Capitalism is not set in stone when human labor is no longer essential for productivity and AI can handle planning that markets currently coordinate through capitalism.
comment 6mo ago · link · parent
But I don't think I'm going to email the mods and beg them to remove me from some list they added me to without notifying me.
I don’t feel like apologizing for complaining about the drivel some write because they don't like LLMs.
It was not my most substantial or productive comment, but I feel it is fair enough and did not target anyone in particular.
Contributing to HN is not worth it.
I'm spending my time, compromising my privacy, and advising potential competitors on what works best in my workflow. It's often not appreciated, so I might as well stop commenting so much.
comment 6mo ago · link · parent
People on here talk like it was some belief or suggest I am somehow profiting from "hyping" AI.
Is it so hard to believe that agentic coding now works? Engineers are taking it up left and right.
Edit with reply: I can't, because the app is still in the works. Also my HN account is again rate limited and I won't be able to post more comments.
Edit number two to the other comment:
It's not really that expensive. With Anthropic it would be $200, with Codex the $100 subscription is sufficient.
It is interesting phrasing when you say that the providers "are making me think" the use of their service would be better, rather than me reaching this conclusion myself after using their services extensively for my work.
And honestly, I think I've had it with HN. I can't even participate properly in the discussion, maybe because some moderator thought my comments and opinions unworthy again.
comment 6mo ago · link · parent
GPT 5.4 came out at the start of March, GPT 5.5 end of April.
What do you expect, that we all go to market with a Photoshop competitor within two months?
Edit: and I can't provide any more replies since once again some automatic system or a mod rate limited my account for whatever reason.
comment 6mo ago · link · parent
I instructed it to split it up anyway, yet I wonder how often the concerns around the mess are imaginative rather than practical.
comment 6mo ago · link · parent
When you work on just a new mobile app, this is where I find AI is making the biggest difference.
On mobile you don't need specs and you don't need to understand every detail of the implementation. You can QA test the app on a real device. It gives me more confidence than just having written the code myself, and it's much faster. You can implement multiple major features in a single day.
This kind of e2e testing is just not possible with backend services.
comment 6mo ago · link · parent
I'm here because I enjoy building things. And today this mostly happens with AI. I could do without the often thoughtless comments and conspiracy theories about "LLM hypers" posted by people who don't like LLMs.
comment 6mo ago · link · parent
Why even have protected branch rules when anyone with write access to an unprotected branch can poison the Action cache and compromise the CI on the next protected branch run?
In GitLab CI caches are not shared between unprotected and protected runs.
comment 6mo ago · link · parent
"it takes too much effort to get the output production ready"
turning into
"maybe long term the maintenance will be more expensive"
I give it three months until people realize that you rarely need to review every single line and fully understand the code, like so many comments are claiming.
comment 6mo ago · link · parent
If you want a vendored deps model you can look at Yarn Plug and Play which does this via .zip files.
However, I would just stick with regular pnpm and installs.
comment 6mo ago · link · parent
Your agent can write a python script to loop and simply call „claude -p“ or „codex exec“.
For simple workflows this seems good enough and can be set up in 10 minutes without third party software.
What do you think?
comment 6mo ago · link · parent
Eg. Loop in the code, process the subagents non-deterministic response for the individual task.
This takes 10 minutes to set up, you just need to run something like /skill-builder and describe the desired workflow.
I imagine many people just don’t know that it’s possible. I only discovered it a few days ago myself.
It worked on the first try.
comment 6mo ago · link · parent
As for the parent comment about not using the lockfile for the production build, that’s just incredibly incompetent.
Maybe they should hire someone who knows what they are doing. Contrary to the popular beliefs of backend engineers online, you also need some competency to do frontend properly.
In this case what’s needed is „npm ci“ instead of „npm install“ or better „pnpm install —frozen-lockfile“.
Pnpm will also do that automatically if the CI environment variable is set.