2,524,476 questions
-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 ...
-2
votes
0
answers
65
views
After logging in, the user is not updated in the UI until a reload
I have a separate backend I'm building, and I basically have the main auth endpoints. I was making a frontend for it with Next.
The thing is, there's a problem with after I login. When I login, it ...
-3
votes
0
answers
56
views
Immersive cards effect
I'm using assets from https://quaternius.itch.io/3d-card-kit-fantasy in a react project, with r3f.
Assets pack is composed of different elements, shown in the image left to right:
container (with ...
-4
votes
0
answers
28
views
Profile page not updating in real-time (sidebar name + active highlight) and avatar not showing after upload in ReclaimX [closed]
I am working on ReclaimX, a full-stack campus lost & found platform (Final Year Project).
GitHub: https://github.com/SniperRavan/RECLAIMX
Problem
On the Profile page (pages/profile.html), after ...
Advice
0
votes
1
replies
51
views
Object Look-up in JS Doesn't Work with WebGL2RenderingContext API Constants
For debug purposes in JS I decided to create a set of integer->string look-up tables which would allow me to re-interpret WebGL system constants back with their symbolic names. I used the "...
Tooling
1
vote
1
replies
92
views
Why does npm install most of the time corrupted?
When I run npm install, most of the time it is corrupted, missing dependencies, and critical files. Is there any way to bypass this and install without errors?
Best practices
1
vote
7
replies
114
views
Code Review on using two useEffects in a single component
In the following code I have a header, which is being used in a Route Layout called RootLayout.tsx which is a parent root to my whole application. First I implemented the scroll hiding mechanics, and ...
Best practices
1
vote
1
replies
27
views
EMP created in service now on ADA issue , but the main problem seeming to be the version of my angular
We are using angular version 15. As part of our internal UI modules for styling from the client side itself, according to those versions of those modules there was an ADA issue.
The ADA issue is about ...
Advice
0
votes
5
replies
69
views
Detect when list of divs "would be" overflowing
I'm trying to find out whether a horizontal line of divs exceeds the width of their container. If they do, they should be displayed as a dropdown, as they are not allowed to overflow (and the divs ...
0
votes
0
answers
46
views
Randomize Qualtrics Question Order Within Block Based on Embedded Data
I am programming a qualtrics survey. I have multiple blocks and I want to randomize the order of questions within the block once, so that the order is maintained throughout the whole survey.
The issue ...
-1
votes
1
answer
110
views
Can a function be executed within the variable scope of another function?
Is it possible in JavaScript to pass a function to a function and execute it within the variable scope of the receiving function? Something like Tool Command Language's uplevel?
In this example, can ...
Best practices
1
vote
14
replies
104
views
Is there a better way to do this clunky function (maps, arrays, sets or none of them)?
For context: I'm new to coding and still learning.
What I want:
I recently started to play around with JavaScript, and was trying to make this function as "unrepetitive" as possible. I'd ...
0
votes
0
answers
65
views
jquery datatable slow client-side searching for 10,000 rows in DataTables 1.10.15
I have web application using .net 8.0 mvc and jquery data table. ajax calling from the client side and mvc returns json data. Data display and all features(pagination,soreing, export etc.) are working ...
-7
votes
1
answer
111
views
My code keeps returning an error that says "e is undefined" whenever I run it? [closed]
I'm trying to make a graphics test using tables as individual pixels, where you can move around using WASD, with the player character being the "@" symbol.
I'm using this code:
<!DOCTYPE ...
Advice
1
vote
2
replies
65
views
Can you access a React component's children of children (nested children)?
In the react reference documentation for the Children API(#transforming-children Scroll down to "Pitfall") it says:
There is no way to get the rendered output of an inner component like &...