Newest Questions
24,159,964 questions
Best practices
0
votes
0
replies
6
views
Best way to store current date (day month and year)
I am trying to decide on the best way to store a date, particularly as I want to be able to extract the year, month or day as integer values and also easily compare it to another date.
a. Store date/...
0
votes
0
answers
8
views
How do you add GCP billing report labels onto Airflow's BatchPredictionJobHook.create_batch_prediction_job()?
According to the official Airflow documentation we can use labels arg to mark certain batch predictions which we can use in GCP Billing > Report to filter by the labels. I tried it like this
...
...
-1
votes
0
answers
12
views
Adsense Issue Site is down or unavailable [closed]
I applied 4th time my adsene is not connecting even ads.txt is authorized and adsene reject by saying website down or unavailable. Please help me to resolve the issue. website name techdudi.com
-1
votes
1
answer
22
views
Loop ends at the start of 3rd iteration
Hi whom ever is reading this, I am currently debugging my code and I am stuck on a weird bug.
I am using two main files for the project, one called logic.py and one called card.py. The entire game ...
0
votes
0
answers
20
views
python code for phyphox to simulate a fighter jet cockpit, the window opens briefly then closes
the window pops for not even half a second, doesn't really show anything, i don't get whats wrong with the code, as i mentioned before i am relatively new to coding and i want my code to show a ...
0
votes
0
answers
23
views
Terms component suggester fails to search special characters
I am implementing suggest with Terms component in Solr 9.10. I need a phrase "Romance rose" to suggest "Romance ros(accented e)"
This is what I use to analyze and search
<...
-1
votes
0
answers
20
views
How to transfer a file via command line using TeraTerm xmodemsend
My goal is to make a macro that automatically sends commands to a device over the serial console.
Right now, I’m trying to send a file automatically using this command:
xmodemsend 'C:/path/to/file/jtx'...
-1
votes
0
answers
22
views
How to detect an actual iOS in app purchase in Transaction.updates listener in StoreKit2?
I have set up a store kit 2 iOS in-app purchase system in Swift, and I have a transaction listener. The listener is supposed to listen for any updates that occur outside the app. However, I need to ...
-2
votes
0
answers
32
views
How one can learn the DEVOPS fundamentals while learning Fullstacks [closed]
I just want to know because i am willing to know about it because it is the question while can direct my future and i will know about new things and can get start from this
0
votes
0
answers
24
views
Vertex AI RAG agent returns InternalError when datastore is in US multi-region and agent runs in us-central1
I’m encountering a persistent InternalError: Meet InternalError when sending message to the agent when using a RAG agent in Vertex AI.
My setup is: Vertex AI Search datastore (corpus): US multi-region;...
0
votes
0
answers
23
views
Drop components in modelsummary
Consider the followin example:
library(glmmTMB)
library(modelsummary)
mod <- glmmTMB(
formula = mpg ~ cyl + disp + hp + (1|gear),
data = mtcars,
ziformula = ~ hp + wt
)
modelsummary(mod,
...
0
votes
0
answers
31
views
Line magic interferes with linting in VSCode
Consider the following line magic snippet in a Jupyter Notebook in VSCode, using the Microsoft Jupyter extension:
You see that my_result is reported as undefined by PyLance:
The code runs perfectly ...
0
votes
0
answers
22
views
Dropping rows based on a "trial" marker if subvectors in that trial meet conditions [duplicate]
I'm a bit lost on how to word this issue, so apologies if this is a duplicate question. I have a dataframe consisting of a combination of behavioral and EEG data form a research participant. For each ...
0
votes
2
answers
42
views
jq getpath error: Cannot index number with string "id"
What's wrong with:
jq '[paths | select(.[-1] == "id") | {"path": ., "value": getpath(.)}]' <(echo '[{ "id": 1, "child": { "id": 2 } }]')
...
0
votes
1
answer
35
views
Qt Svg element with percentage size not correct size
I have a simple SVG file that draws a polygon over a rectangle. The size of the rectangle is given as 100%. This looks good in emacs' viewer, inkscape, firefox.
<svg xmlns="http://www.w3.org/...