Digiaru

When performing an HTTP request in Node.js using the built-in fetch() (Node ≥18), the promise sometimes fails with: javascript Copy code TypeError: fetch failed [cause]: ConnectTimeoutError: Connect Timeout Error code: 'UND_ERR_CONNECT_TIMEO...

Digiaru posted 3 months ago

Kar

When rendering arrays, I see this console warning: pgsql Copy code Warning: Each child in a list should have a unique "key" prop. Without keys, my items sometimes reorder or behave unpredictably, especially when the array changes. How do I resolv...

Kar posted 3 months ago

Kar

My React component sets up event listeners or timers inside useEffect, but I never remove them. Over time, performance degrades—especially if components remount frequently. How should I fix this?

Kar posted 3 months ago

Kar

I fetch data inside a useEffect, but occasionally I see: vbnet Copy code Warning: Can't perform a React state update on an unmounted component. This is a no op, but it indicates a memory leak. This happens if the component unmounts before the fet...

Kar posted 3 months ago

Digiaru

My React app uses callbacks defined inline inside components. With many items or deep trees, the app slows dramatically, especially after several renders. For example, repeated rendering of a complex DisplayedGame component eventually hangs Chrome.

Digiaru posted 3 months ago

Digiaru

While fetching data in useEffect, I sometimes get this warning: "Can't perform a React state update on an unmounted component. This is a no op, but it indicates a memory leak..." I think it's due to calling setState after the component unmounted.

Digiaru posted 3 months ago

Digiaru

In my React component, I schedule state updates asynchronously (e.g. inside setTimeout or event handlers), but the updates refer to outdated state—leading to stale values and unexpected behavior. For example: js Copy code // count is always one le...

Digiaru posted 3 months ago

Kar

I store Blob objects in IndexedDB and later retrieve them. In Chrome and Edge, this works across tabs and refreshes—even when accessed via indexes. In Safari, they sometimes fail or come back empty, especially with getAll() after reopening. What's ca...

Kar posted 3 months ago

Kar

Reading a large file in chunks via FileReader.readAsArrayBuffer() in iOS Safari works for the first ~60 seconds, then fails with: nginx Copy code WebKitBlobResource error 1 This prevents continued processing of the file. It works fine in Chrome,...

Kar posted 3 months ago

Kar

My app stores Blobs (e.g., images) in IndexedDB. After closing Safari and reopening, retrieving the same entries via objectStore.index('idx').getAll(key) returns objects—but the Blob does not work when passed to URL.createObjectURL(blob), raising:

Kar posted 3 months ago

Digiaru

After editing a JavaScript or CSS file on the server (via SFTP), refreshing the browser sometimes causes that asset to fail with net::ERR_HTTP2_PROTOCOL_ERROR, even though opening the same file directly works.

Digiaru posted 3 months ago

Digiaru

Sending an AJAX request with a large JSON payload (e.g. >100 items) from the frontend, but the browser reports net::ERR_HTTP2_PROTOCOL_ERROR. Smaller payloads work fine. What gives?

Digiaru posted 3 months ago

Digiaru

Chrome console shows net::ERR_HTTP2_PROTOCOL_ERROR for JS or CSS files, even though the files exist and return HTTP 200 OK. Why does this happen and how can I fix it?

Digiaru posted 3 months ago

Kar

My application needs to spawn multiple processes (e.g. shell commands) concurrently, but performance degrades dramatically with many processes. Why is spawn() slow under heavy usage?

Kar posted 3 months ago

Kar

Occasionally my Node.js app crashes or behaves unpredictably without clear errors, especially during fs.readFile, Promises, or async calls. How should I handle errors more robustly?

Kar posted 3 months ago

Kar

Under load, my Node.js server slows down or becomes unresponsive. CPU usage spikes, and incoming requests lag or queue up. What’s causing this slow-down?

Kar posted 3 months ago

Kar

After running for a while, my Node.js process crashes with: pgsql Copy code FATAL ERROR: Reached heap limit Allocation failed – JavaScript heap out of memory What typically causes this, and how can I prevent it?

Kar posted 3 months ago

Kar

My Node.js code has multiple layers of nested callbacks, making it hard to read and maintain. Error handling is messy and debugging feels frustrating. How do I fix this?

Kar posted 3 months ago

Digiaru

When I use asyncio.create_task() or async generators, I often get silent bugs—tasks never run, exceptions go unnoticed, or cancellations don't behave as expected. Why does asyncio misbehave this way?

Digiaru posted 3 months ago

Digiaru

I run Python scripts using subprocess.Popen repeatedly in a loop. Over time, system memory increases, even after processes complete. The Python process itself doesn’t grow—but system memory remains tied up. What’s going wrong?

Digiaru posted 3 months ago

Showing 221 to 240 of 755 results