Newest Questions
24,248,675 questions
0
votes
0
answers
3
views
Listem for Safari Hide Distracting Items
I need to be able to take action if a Safari user has used the new "Hide distracting items" feature to remove a modal that required user interaction.
In the hope that it is, at least ...
0
votes
0
answers
4
views
Next Auth - session is always null in server/client components and middleware
My primary goal is to be able to use middleware to redirect users to the login/signup pages when they are not authenticated. I originally wanted to do this without the use of next-auth because I ...
0
votes
0
answers
6
views
Why are my rds-monitor metrics not showing normally when queried on prometherus but showing on graph?
I have setup rds-monitor using cloudwatch exporter in our eks cluster. The metrics are coming at 9106 port. So I setup a service monitor for this.
The metrics are showing as follows although I ...
0
votes
0
answers
6
views
can't get middleware response headers/cookies in redirected routes page.jsx
if my session is expired, i'm trying to redirect the user to the /auth route but also send an x-session-state header/cookie so i can do stuff like show a toast or change state, etc. the problem is ...
0
votes
0
answers
6
views
Is Glide MultiTransformation perfromant?
On TV we have tons of images on the screen, and they have bunch of transforms applied to the images such as, center crop, rounded corners, outline and gradient scrim on the top.
So I could use ...
0
votes
2
answers
8
views
Is a sort passed through in a sub-select
Is the following deterministic behavior in the SQL standard?
SELECT * FROM (
SELECT * FROM myTable ORDER BY name ASC
)
Or are 'order-by's basically thrown away when within a sub-select? Of course ...
0
votes
0
answers
5
views
Api calls are disabled, skipping API call of codePush
I encountered an error while updating my app using CodePush. When calling checkForUpdate with my deploymentKey, I received the following error:
[CodePush] Api calls are disabled, skipping API call
...
0
votes
0
answers
4
views
Trying to create a BeautifulSoup content variable from multiple urls
I am trying to create a single content variable based off of five website pages. The code I'm using is
for i in range(1,6):
url_a = f'https://www.mascotdb.com/native-american-high-school?page={i}'...
0
votes
0
answers
5
views
PHP: posix_seteuid() and posix_setuid() not reflected in exec() or proc_open()?
When using exec() or proc_open() after posix_seteuid() or posix_setuid() I expected the resulting process to run as the UID I set inside the running script. This does not happen.
is this how it's ...
-1
votes
0
answers
7
views
Do I Need to Keep Training Documents in Google Document AI After Training and Deployment?
I am using Google Document AI and have trained a custom model with my own documents. Once the model is trained and deployed, do I need to keep the training documents in the training area, or can they ...
0
votes
1
answer
9
views
Is using Vue-Router necessary when building a website with multiple pages that do not share components?
I'm building a website using Vue.js, and I need to create multiple pages. Each page has distinct content and does not share any components with other pages. Given this, I'm wondering if it's necessary ...
0
votes
0
answers
7
views
Boost.ASIO: not getting multicast udp input
I am trying to receive UDP multicast messages on Linux.
With tcpdump I see packets coming in at the expected rate:
22:04:30.224631 IP <myhostname>.55292 > 239.255.0.1.sdt: UDP, length 638
...
0
votes
0
answers
9
views
Equivalent of \includeonly in JupyterBook?
I'm writing something with jupyterbooks, which uses jupyter notebooks to create a large coherent document. As I understand it uses sphinx to build the table of contents and to number sections etc. ...
0
votes
0
answers
9
views
nx build fails after installing Chakra UI on GitHub Actions but succeeds locally
I have a pretty fresh Nx/Next install with CI set up with GitHub Actions. I added a simple page to set up testing with Cypress and Jest, and the nx build succeeded as I'd suspect after pushing to ...
0
votes
0
answers
7
views
VcXsrv/XLaunch does not display correctly after fresh install, where is it getting its configuration?
I recently installed the latest version of VcXsrv and launched XLaunch. However, when running my X11 application (which runs via Wine), the window size is not as expected (showing 860x360 px instead ...
0
votes
0
answers
11
views
Nested DIV going over the border of the parent DIV
I have a DIV nested within another DIV. The parent DIV has a border. The nested DIV matches the overall size of the parent DIV.
By positioning the nested DIV absolutely, and using negative positions, ...
0
votes
0
answers
13
views
Idiomatic Way to Instantiate Pydantic Attributes with Input Fields
Question
What is the proper way to use input fields to a class instantiation as inputs for other attributes of that class?
Regular Python Class
class Example:
def __init__(self, init_input: str):
...
0
votes
0
answers
14
views
how do you use the pascal calling convention with gcc?
I need to tell gcc the calling convention is pascal so I use:
void __attribute__((pascal, regparm(0))) functionname() {}
It says:
warning: 'pascal' attribute directive ignored [-Wattributes]
So how ...
0
votes
1
answer
16
views
API Gateway doesn't return binary (image)
I got an issue where I have a requirement for a lambda to process an image and return the actual image (not the link).
I pin pointed the cause to API Gateway because if the request adds the header ...
0
votes
0
answers
11
views
vue3 watch on the form data change not working when editing the form
I am working on a vue app with pinna.
// store to retrieve the data
export const useOrganizationStore = defineStore('organization', {
state: () => ({
loading: false,
currentOrganization: ...
2
votes
4
answers
34
views
Python multiprocessing function multiple parameters
trying to run a function with 'X' cores simultaneously that has multiple parameters.
with PROCESS I cant set the number of cores, and with POOL I cant set multiple parameters for a function.
def funct(...
0
votes
0
answers
12
views
Failed to download metadata for repo 'rackslab'
Error message:
Errors during downloading metadata for repository 'rackslab':
- Status code: 404 for https://pkgs.rackslab.io/registry/rpm/el9/main/repodata/repomd.xml/ (IP: 146.59.229.169)
Error: ...
1
vote
0
answers
20
views
UseEffect not triggering a re-render even though dependency changes (firebase realtime db) [duplicate]
I am trying to fetch some values from a db and render a list of components with that data, however, they do not show up even after i have updated their values in the state . If I force a re-render ...
-1
votes
0
answers
10
views
Page is not open with a domain url set in React default page
I have a React FE app which I run using the default localhost:3000 url address.
When I change the default url to a custom domain and upload it on nginx I get into Spring authorization server only this:...
0
votes
0
answers
10
views
How to make "pairing mode" (whitelist not working) with Arduino BLE and ESP32
I am trying to make a "pairing mode" with my ESP32 BLE server, where I want the previously paired device to be able to join whenever no devices are connected, but when the user presses a ...
0
votes
1
answer
19
views
in visual studio code, is there a way to open a new terminal window programmatically?
My situation is, I would like to run two scripts simultaneously (frontend and backend) in side by side terminals, inside of Visual Studio Code.
I don't mind doing it in powershell/zsh/bash/whatever, ...
0
votes
0
answers
22
views
How to figure out the type of this OCaml function?
I try to figure out the type of the OCaml function below:
let subst = fun x -> fun y -> fun z -> x z (y z)
(* Or more concisely *)
let subst x y z = x z (y z)
Here's my derivation.
Step 1, ...
0
votes
0
answers
8
views
Vue is not picking up env variables from aws ecs task container
I have a Vue 2.6 app which is deployed in aws ecs task container 1.4 , but in the console it is not pciking up the env variables which I have set up in the aws task environment variable. For example I ...
-1
votes
0
answers
19
views
Indexes on Date column with greater than or less than operator in Query
I am using PostgreSQL.
I have one index created on the date column. I observed that this index is not used, when I use greater than or less than operator in the query.
Any changes required in the SQL ...
0
votes
1
answer
29
views
How can I tell Python that the result type of a pipeline is a certain type?
I have a pipeline class based on the reduce function. I was factoring the code today to be able to trace type information and noticed that the reduce function removes the type information so I cannot ...
0
votes
0
answers
9
views
Using Selenium via Python in JupyterLabs
Summary of what I am trying to achieve: Use the selenium package in python within a JupyterLabs (cloud) environment.
Suspected Issue: I suspect the issue/ (or complication) is resulting from the ...
0
votes
0
answers
6
views
Spring Cloud Stream Kafka: ackMode: MANUAL not working as expected — offsets are committed even without acknowledge()
I'm using the latest version of Spring Cloud Stream with the Kafka binder, and I'm testing ackMode: MANUAL for message acknowledgment. However, I’m encountering unexpected behavior: the offset is ...
0
votes
0
answers
7
views
Why aren't sub-settings recognised in VS Code?
Consider the following settings.json file.
{
"[markdown]": {
"editor": {
"tabSize": 4,
"insertSpaces": true,
&...
0
votes
0
answers
9
views
How to correctly construct an Optaplanner setup to handle an optional @PlanningVariable and a @PlanningVariable with a [0..n] multiplicity
The general constraint problem here is to schedule test events that have personnel. The personnel and the facility for scheduling the test event all have independent time availability. I have been ...
1
vote
0
answers
8
views
PDFBox 3.0.2: Can't seem to properly tag image for accessibility
I'm trying to create a PDF document with better accessibility. It doesn't need to pass any standards but I would like to add alt text to images. I'm able to properly tag text, but I can't seem to tag ...
0
votes
0
answers
11
views
org.hibernate.query.SemanticException: Missing constructor for type 'DetailsDTO'
I am trying to get data from my database (PostgreSQL) using a query request from Java spring boot :
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa....
0
votes
0
answers
6
views
I am trying to implement an logic if a pre requisite scenario fails in a feature file the remaining below scenario should be failed
I am trying to implement an logic if a pre requisite scenario fails in a feature file the remaining below scenario should be failed or skipped(if skipped means it should be shown in the report). ...
-1
votes
0
answers
13
views
AI Service for Searching in huge dataset
I have a huge dataset (for me) over 100GB of text data snippets of about 100 characters each. Currently I am using instances of Sphinxsearch (80$/month) to do so but in the AI era, I want to up my ...
0
votes
0
answers
15
views
Firebase App Hosting: configuring Cloud Run container with Cloud SQL Connection & VPC Traffic
I'm hosting my application on Firebase App Hosting, which automatically deploys a Cloud Run service on new commits to my repository. However, I'm running into an issue where I need to configure Cloud ...
0
votes
0
answers
7
views
BottomSheetModal with BottomSheetTextInput snapPoints index after keyboard is dismissed
I have a BottomSheetModal with the BottomSheetTextInput inside. When I focus on the input, the bottom sheets correctly moves up.
When I hit the returnKey on the first input, the keyboard hides. But ...
0
votes
0
answers
14
views
Deploy flutter to firebase web without using default build step in 'firebase deploy'
I am using Firebase Hosting with Flutter for web. I would like to modify the default build command that firebase deploy executes, but I can not find any documentation about how to do this. I need to ...
2
votes
0
answers
19
views
Batch make_smoothing_spline in scipy
In scipy, the function scipy.interpolate.make_interp_spline() can be batched since its x argument must be one-dimensional with shape (m,) and its y argument can have shape (m, ...).
However, the ...
0
votes
0
answers
6
views
Fetching all transactions/payments from the Adyen panel
I’ve completed the payment steps and can view the transactions on the payments page in the admin panel. However, I need to display all payments on my own website
I’ve completed the payment steps and ...
0
votes
0
answers
15
views
Regarding the guarantee of execution order when performing C++ OpenCV image reading operations within a loop inside a thread
Currently, my program uses C++ OpenCV 4.10.0 to load video files. However, if I load an image frame and immediately perform operations with other algorithms, the frame rate drops too much. As a result,...
0
votes
0
answers
5
views
Is it possible to set or bypass requests with 'tunnel to' in Fiddler, either through settings or by using FiddlerScript?
I already know that 'tunnel to' is caused by certificate permissions, but I don't need to fully resolve this issue. The trouble it causes is that requests with 'tunnel to' cannot return data properly. ...
0
votes
0
answers
13
views
How do I add a new Sitefinity settings element via web.config?
I'm trying to set up Azure Single Sign-On for my Sitefinity site. This requires changing/setting some settings, and also adding new elements. I can get it working manually, but because of the build ...
3
votes
1
answer
71
views
How do the C and C++ compilers distinguish unary operators?
If I have the minus sign next to a variable like:
int a;
int b = -a; // UNARY OPERATOR
b = - a; // UNARY OPERATOR
The minus before the 'a' is considered to be a unary operator and negative value of a ...
0
votes
0
answers
16
views
using Jquery load assets in android studio
I have been trying to use jQuery's Load in a webView through Android Studio. I have an HTML page that, when I click a button, would load the new HTML and replace the content of a DIV with the new HTML....
0
votes
0
answers
4
views
How to group alerts in Grafana using custom template?
I have a custom template to show details about each template. but a lot of fields are repeating. I want to group the alerts by labels.
Example, The current alerts are like this:
branch: A, testplan: ...
0
votes
0
answers
11
views
Inserting root id to all its children
I have a table with hierarchy v_name
**id: name: child_id**
1000 abc null
1001 bac 1000
1002 cab 1001
1003 lop 1001
1004 jui null
1005 njj 1004
Now we are ...