459 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
93
views
How do I remove the intercept from a type 3 Anova without adding a degree of freedom to a variable?
I am trying to run a type 3 Anova without an intercept. lme4 automatically adds an intercept when I run a linear model. I have tried running the model and specifying removal of the intercept, but this ...
0
votes
1
answer
64
views
How to force 0 intercept in linear regression analysis in xmgrace?
I have a data set (x and y) and want to determine the slope of the line with a high R-squared value. To find the equation of the line, I performed a linear regression analysis in xmgrace, which ...
1
vote
1
answer
103
views
Intercept api request with angular
I need to intercept some API requests in my Angular 18 project.
After some research, I found two potential solutions:
Use fetch and AbortController (this solution works, but I need to use HttpClient, ...
0
votes
0
answers
104
views
How to intercept Opengl API calls with LD_PRELOAD?
I would like to hook shaders coming from OpenGL API with LD_PRELOAD method on Android 14.
I built a shader library with NDK and copied it to my phone and also set the LD_PRELOAD environment variable ...
1
vote
2
answers
1k
views
How to write SvelteKit middleware or interceptor for fetch both on server and client?
As title says, how to you write middleware in SvelteKit? I know to do it in hooks.server.ts.
I succeed to intercept server requests, but it would be ideal to make interceptor or middleware for both ...
0
votes
0
answers
98
views
Native JavaScript: Intercept and modify all link opening events
Problem Description
There is a time-consuming async function f that takes a URL string and returns the modified one. For example:
async function f(url) { // A dummy time-consuming function
return ...
2
votes
1
answer
4k
views
Playwright doesn't seem to be fullfilling route in trace viewer
I am trying to set up some playwright tests such that some basic auth and user routes are intercepted and spoofed. The test looks something like this:
test('Mocks the user and session calls', async ({...
0
votes
1
answer
120
views
Key code results inconsistent when typing on the numpad
I decided to make a primitive program to intercept hotkeys and output them to the screen to create tutorial videos. Currently, everything works as I wanted, except for Numpad numbers and Numpad math ...
0
votes
0
answers
2k
views
HTTP Toolkit interception with Android emulator interfering: app not working when enabled
This issue is like this one from more than one year ago.
I am intercepting HTTP traffic from an Android app using HTTP Toolkit via the Android Emulator. Everything was working a few weeks ago, but now,...
1
vote
0
answers
234
views
Intercept all TRPC request
I'm using TRPC for a project:
https://trpc.io/docs/v9/vanilla
I'm looking to intercept all request to either run some analytics or do some adhoc pre request management.
Has anyone managed to do ...
0
votes
1
answer
52
views
Finding the corresponding X-axis value from graph
Please check my code from the internet. I am trying to find the X-axis values at 10, 50 and 90 Y-axis values from the chart. But np.intercep() is not working.
I have tried the Y-Intercept and other ...
1
vote
1
answer
636
views
cy.intercept() in a loop till response of API call has expected value
I'm trying to intercept API call which is autorefreshed each 10s by using cy.intercept() in a loop. The loop should break when the status is set to "completed". Unfortunately cy.intercept() ...
0
votes
1
answer
176
views
Generating a dynamic proxy that intercepts all methods of an object in Scala using macros
I have several objects with different methods (without any traits/interfaces) and I'd like to intercept those methods in order to add them some kind of a debug feature. I think I can achieve that with ...
0
votes
1
answer
272
views
Cy.intercept() is only called the first time in the loop
Basic logic: there is a dropdown with 5 region's options. On each iteration cy clicks an option and should waiting for data on the page will be updated with new data from response (SPA react ...
0
votes
1
answer
1k
views
Cypress intercept file download (corrupted zip)
Cypress: Intercepting a binary file download call -> corruped Zip
Hello there. I want to intercept a binary file download api call using cypress. I want to mock it with a local file. It is a zip ...