search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

P粉427877676

P粉427877676

Follow
student

Follow 0
fans 0
integral 0
Session data lost in Chrome only

I have a problem similar if not identical to the problem in this thread: Randomly Losing Session Variables Only In Google Chrome & URL Rewriting But all solutions in that thread don

2026-01-30 14:43:14Ask
PHP
What is the JavaScript version of sleep()?

Is there a better way to engineer a sleep in JavaScript than the following pausecomp function (taken from here)? function pausecomp(millis) { var date = new Date(); var curD

2026-01-07 13:23:16Ask
JavaScript
How can I force clients to refresh JavaScript files?

We are currently working in a private beta and so are still in the process of making fairly rapid changes, although obviously as usage is starting to ramp up, we will be slowing down

2025-12-27 22:42:11Ask
JavaScript
How to print the value of a Tensor object in TensorFlow?

I have been using the introductory example of matrix multiplication in TensorFlow. matrix1 = tf.constant([[3., 3.]]) matrix2 = tf.constant([[2.],[2.]]) product = tf.matmul(matrix1,

2025-11-28 17:43:38Ask
Python
My React app won't load after modifying nginx proxy_pass settings

I have ReactappNodeJS backend and nginx. I have obtained the certificate and installed it via Certbot. My application makes get and post requests, but for this I need to set the proxy_pass setting. My server block file: server{root/var/www/nikolsoborsocial/html;indexindex.htmlindex.htmindex.nginx-debian.html;server_namenikolso

2024-04-05 11:53:10Ask
React
MERN application cannot delete items from MongoDB

I have some query to delete items from mongo: deleteCustomer:build.mutation({query:(id)=>({url:`client/cutomers/${id}`,method:'DELETE',body:'id ',}),providesTags:['DeleteUser'],}),how it looks in the controller: exportconstdeleteCustomer=async(req

2024-04-01 16:25:59Ask
React
Scroll event listener added to element but only moves correctly if scrollTop is not equal to 0

So I wrote this little script where I have two lists - Completed/Active Tasks, you can switch the task list by clicking on the button, and you can read more about the task by clicking on "More Info". When more info is clicked, a new div element is created and I want to follow it's host element Y position and it works half way. This is what it looks like: Enter image description here This is a bug, I'm pretty sure this error occurs when the scrollable element scrollTop is not 0 (it is created the right way and whenever I start scrolling , it will all go up immediately

2024-04-01 11:03:26Ask
HTML
React-redux context not found error: solve the problem when using useSelector hook

I'm working on a React application using Redux to manage state. I have setup Reduxstore and Provider in my index.js file://index.jsimport{Provider}from'react-redux';importstorefrom'./store';ReactDOM.render(<Providerstore={store}>< App/></Pro

2023-09-14 00:09:19Ask
React
console.log() displays the changed value before the variable value actually changes

I understand this code. We copy A and call it C. When A changes, C remains the same varA=1;varC=A;console.log(C);//1A++;console.log(C);//1But when A is an array, the situation is different . Not only does C change, but it changes before we touch A varA=[2,1];varC=A;console.log(C);//[1,2]A.sort();console.log (C);//[1,2] Someone can

2023-08-27 22:37:24Ask
React