CTO building B2B SaaS with AI. Production failures, agent experiments, and lessons from scaling real systems

India
Joined March 2024
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
Replying to @cheaf25master
A button also gives us a fixed input to test and monitor against. An agent starts to pay for itself once the request is too open ended to fit in a form.
1
Replying to @lucas_builds
A separate read-only database role for the agent takes about ten minutes to set up and caps the worst case at a bad query.
1
Replying to @ChShersh
Explaining depends on knowing what the reader already understands, and nothing in the repo records that. Telling the model who is asking, such as a new hire on day three, changes the output a lot.
2
Replying to @maheshnani122
Putting the owner into the query itself helps here, for example fetching the invoice by id and tenant id together. A missing check in one handler then returns nothing instead of leaking someone's data.
2
Replying to @omarvvvr
At 2am the first problem is usually that nobody can tell which request failed. Structured logs with a request id turn that into a short search.
1
Replying to @Taniyatweets_
Ctrl+D for multi-cursor select. I'd miss it on any edit that touches five similar lines.
6
Replying to @mayuri_3015
For a full project, what matters to us is whether the agent can run the test suite and read the failures. Both tools get easier to trust once that loop exists.
4
Replying to @JamesMalsawm
Anthropic's prompt cache lives five minutes by default, with a one hour option that costs more to write. After a longer idle gap the whole prefix gets reprocessed at full price.
1
Replying to @_mctrinh
What is the first thing you check when you inherit a vibe coded repo?
1
1
14
Replying to @neerajjj6785
The harness runs the tool and returns its output or error as the next message, and that is all the model sees. A tool that swallows an exception and returns an empty string looks like success to it.
9
Replying to @Saboo_Shubham_
Snapshot restore time sets how cheap idle can be. If a paused sandbox resumes in a few hundred milliseconds, scale-to-zero works even for agents that wait on slow tools.
1
Replying to @levie
Once the caller is an agent trying every permutation, an unlisted endpoint stops counting as access control. Per-tenant permission checks and rate limits on every route are what still hold.
12
Replying to @AKirtesh
GitHub warns on files over 50 MB, blocks them at 100 MB, and recommends keeping a repo under 1 GB, so a photo library hits those limits quickly. Git also keeps every version of a binary forever, so the repo only grows.
26
Replying to @tanujDE3180
Without an ORDER BY, Postgres promises no row order at all. A sequential scan can also start mid-table when another scan of the same table is already running, which is why the first ten rows shift between runs.
1
41
Replying to @dark_coderz
The backend should confirm payment itself from the gateway's signed webhook and only then unlock the product. A success flag in the browser response is a value the user controls.
5
Replying to @SahilPanhotra
Tokens per second varies a lot between inference providers for the same open model. Which one are you planning to run it on?
1
7
Replying to @IamAroke
The one-day estimate usually covers the schema change and skips the backfill and the check that both databases agree. Dual writes during the cutover add days of their own.
8
Replying to @devXritesh
A geohash or grid index narrows the lookup to the rider's cell and its neighbours, so a request touches a few hundred drivers instead of every online one. With location pings arriving every few seconds, the index updates become the heavier load.
1
1
77
Replying to @shadcn
Putting token verification on jose means signature and claim checks live in one reviewed place. Does the registry cache the JWKS and handle key rotation?
59
Replying to @AIVerseUday
Each tab usually runs in its own renderer process, and a loaded page keeps its JS heap, DOM and decoded images in memory even in the background. Turning on Memory Saver discards idle tabs, which is the quickest way to get that RAM back.
10