HN user

nikita2206

137 karma
Posts0
Comments92
View on HN
No posts found.

Just watching filesystem for file changes and updating the in-memory view of the file on any change? This isn’t really relevant to MCP, though one option is to provide a different tool to the AI agent for file modifications, which would make modifications through the file editor itself.

That’s not the state of LLMs today, nobody trains them for a specific use case, almost nobody fine tunes them either. You just have to give them some context and the means to gather more context (access to code in order to see the logs at source, access to logs themselves, etc.) - whatever you would have access to as a human debugging this.

deep Jiras that require a lot of domain knowledge, bespoke testing tools, but maybe just a few lines of actual code changes

How do new hires onboard? Do you spend days of your own time guiding them in person, do they just figure things out on their own after a few quarters of working on small tickets, or are things documented? Basically AI, when working on a codebase, has the same level of context that a new hire would have, so if you want them to get started faster then provide them with ample documentation.

It is all file based, so yes you can if you do what OP said: `git clone repo-one && git clone repo-two` and tell claude that repo-one directory is for example frontend, repo-two is backend (or better name the directories after what they are)

Have you thought of using generators as a closest example to compare effects to? I think they are much closer to effects than exceptions are. Great explainer anyway, it was tge first time I have read about this idea and it was immediately obvious

But there’s no natural key for a person, not even the SSN. This article also starts off by showing an example where no natural key exists (Restaurants) and acknowledges it.

People might not agree with you because they would be looking for a nested ternary and your example only has two adjacent ternaries.

I do not use docker compose because each server is in active development so I cannot compile it into an image

I’m curious to know, are you actively developing all 5+2 codebases, or could you theoretically run half of them in docker and another half (the ones you’re actively changing) on the host?

1. Why can you not push all your traffic through a single PgBouncer? 2. You can have three PgBouncers and clients can have their own balancing of available database proxies as well, the entire migration is doable with multiple PgBouncers too - it’s just a bit more code to implement the pausing and the switch over for many instances simultaneously.

Very interesting to read, especially having done similar migrations it’s nice to see that the same choice is made by bigger players too (in terms of how to carry out this migration).

I was surprised to see that they had to cancel those ~10 queries that were in flight in the moment when they needed to switch over the query traffic. When doing this with ProxySQL, there was an option to: pause all connections such that they can’t create new transactions and queries, while not cancelling running txs/queries, and then wait for all ongoing txs/queries to finish, and then do the switch and unpause.

I still never used OpenHab (at the moment running HA but not happy about it).

I’ve tried developing custom components for HA and it was so bad, there’s no docs at all and Python being untyped language doesn’t help either. Just out of curiousity I’ve googled OpenHab docs to understand if I could achieve similar there and their docs are awesome, full and well written. (and it’s Java so half of the code IntelliJ will write for you)

How can you dogfood a product if the product itself isn’t ready for production use yet but its idea changes the fundamentals of how you work and hence develop.

It would be similar to criticizing the first ever bridge builders that they don’t use their own yet under-construction bridge for constructing that bridge, and instead transport their construction materials on water.