Newest Questions
24,163,871 questions
0
votes
0
answers
4
views
How does Zarr structure multivariate gridded data?
Can Zarr organise different gridded variables (or sets of gridded variables) into different files in the same directory structure?
E.g., t.x.y/A and t.x.y/BC assuming my spatiotemporal variables are A,...
Best practices
0
votes
0
replies
13
views
How to read line from stdin with timeout on Windows?
I want to read a line from stdin with timeout on Windows. The following code uses WaitForSingleObject without success. Creating a blocking thread seems only transfer the problem to canceling the ...
Advice
0
votes
2
replies
18
views
Performing calculations on elements of lists within a list
I have 12 separate dataframes for 3 subjects and 4 activities for each subject. Using the following code, I have created a list of lists containing indices or "markers" from the 12 separate ...
0
votes
0
answers
15
views
How to handle negative texture coordinates in a CPU raytracer
Years ago I implemented a CPU raytracing software and things work properly. I then implemented a DirectX 12 viewer. I just found out there is some discrepancies between my 2 implementations when i t ...
Advice
0
votes
2
replies
44
views
Pearson HW Chapter 6 Functions
I need help with my homework. I'm not sure what I'm doing wrong. Here is what the homework prompt is: Write a complete C++ program that allows the user to input and sort two values of a selected data ...
0
votes
1
answer
43
views
Random dotted box appears inside div with padding
I have a grid of identical boxes, but some of them seem to appear with dotted lines, corresponding to the padding of the box. It appears to be the same boxes in the grid each time, and each box has ...
-1
votes
0
answers
23
views
Why is my app applying a BiquadFilter without being prompted?
Im using JavaScript Web audio API.
The good news is that the filter I created works as expected.
The bad news is that my app applies the filter without being prompted.
The flow is like this: user ...
0
votes
1
answer
20
views
Azure OpenAI Realtime API: Token usage from `response.done` event does not match Azure Cost Management meter data
Problem
I'm using the Azure OpenAI Realtime API (gpt-realtime-mini-2025-12-15) via the .NET OpenAI.Realtime SDK to measure token consumption. The response.done server event includes a usage object ...
-1
votes
0
answers
21
views
problem with electron app and docker container on localhost
Ok i have an ongoing problem with a project I'm working on. I made an ElectronJS app that I'm going to be installing in the users desktop. This electron app will communicate with an MCP server via ...
Best practices
0
votes
0
replies
22
views
How to prevent DuplicateKeyException when using MongoDB upsert with optimistic concurrency (versioning)?
I'm using MongoDB with the .NET driver and trying to implement an optimistic concurrency pattern with versioning using UpdateOneAsync and IsUpsert = true.
Here is my code:
public Task UpsertAsync(User ...
0
votes
1
answer
76
views
what search algorithm does fread() use
I'm looking at the built-in methods that C has, like fread(). I'm wondering what search algorithm fread() uses to return the number of bytes from a file? I looked on Google, and it says "it ...
-4
votes
0
answers
50
views
Coding a website - cant get it too run on shared hosting [closed]
https://llamacoder.together.ai/share/v2/6X7H_oBvFLd6p-GK
Using AI to help me code - I have this - cant get it to work. It runs perfectly fine n their website- but blanks on my host. Can anyone assist
0
votes
1
answer
41
views
OpenAI Moderation API returns 429 Too Many Requests even with no prior usage
I’m trying to use the OpenAI Moderation API for text moderation, but every request returns a 429 Too Many Requests error — even though I haven’t made any prior requests with this API key.
Error ...
0
votes
0
answers
26
views
Add Two Different Page Numbering Styles to Parent Page
My document is made up of several smaller "sections" compiled into one large document. Each section has its own page-number prefix and is numbered 1 through whatever. They look like MD-23 or ...
0
votes
1
answer
28
views
How Do You Retrieve a Video Output's Preferred Resolution? (BIOS Bootloader)
I am building an operating system for the x86_64 ISA. I am to the point in my development where I want to begin to display things graphically for the user, and therefore wish to retrieve the monitor/...