Newest Questions
24,163,874 questions
0
votes
1
answer
10
views
Google Custom Search JSON API returns 403 - project does not have access with billing enabled
I have a Google Custom Search JSON API returning 403 error despite having billing enabled.
I have tried:
Created 2 different Google Cloud projects
Enabled Custom Search JSON API in both
Activated ...
0
votes
1
answer
10
views
iOS 26 UITabBarController: make tab bar full width without showing bottomAccessory?
I’m testing on iOS 26 / Xcode 26 with UITabBarController.
I noticed this behavior:
If I set bottomAccessory, the tab bar becomes full width
If I do not set bottomAccessory, the tab bar stays floating/...
0
votes
0
answers
16
views
rocksdb crash because of file length limit [File name too long]
I submit Flink SQL jobs on native Kubernetes operator in Application Mode (Flink 2.2.0, Kubernetes operator 1.4.0)
I regularly run into these issues (Stack trace below) and I cannot figure out how to ...
-1
votes
1
answer
14
views
Print both the key and the value for a specific key-value pair
Given the below JSON
{
"k1": "v1",
"k2": "v2"
}
Print the key and value for k1.
What have I tried?
cat data.json | jq '.k1'
This produces and output that ...
0
votes
0
answers
7
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
1
replies
23
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
26
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
18
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
3
replies
56
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
50
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
28
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
22
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
22
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
3
replies
28
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
0
answers
84
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 ...