2,532,345 questions
-2
votes
0
answers
13
views
Is there an app that warns or notifies you when Google results forum posts or articles are outdated? [closed]
So if I Google something, on the first page of results, sometimes there are links and previews of forum posts, articles, how-to guides, this site, etc.
And sometimes those first few Google results are ...
-1
votes
1
answer
24
views
Unable to fetch and Display HTML Content from Public Directory
Need help with Vite + React, where one is unable to fetch and display content from the public directory. Despite following various troubleshooting steps, the content from the projects home.html is not ...
1
vote
0
answers
11
views
How to Conditionally Render Mobile and Desktop Ads in Django to Prevent JavaScript Overlap?
I'm working on a Django project where I need to display different ads for mobile and desktop users. Currently, both mobile and desktop ad JavaScript is being loaded, which causes conflicts as the ...
0
votes
0
answers
27
views
Altering image height / text block height balance depending on screen size
I am trying to work out how to display image heights differently, depending on the screen size the website is viewed on. There are blocks of image and text that sit side by side and are set to appear ...
1
vote
1
answer
32
views
How can I automatically format dates according to the OS's locale in Angular without manually setting LOCALE_ID?
I am building an Angular application and want to format dates based on the user's operating system locale (or browser's default language) without manually setting the LOCALE_ID for each case.
While ...
0
votes
0
answers
27
views
How to handle tables with variable columns in Tiptap?
I created the following table:
<table>
<tbody>
<tr>
<th>Header</th>
<th>Header</th>
<th>Header</th>
</tr>
...
2
votes
2
answers
45
views
Waiting for all async requests to complete with concatMap
assuming that there are multiple ajax requests that need to execute one by one sequentially, the next one should be called when the previous is done. I can achieve that by using the concatMap RxJs ...
-3
votes
0
answers
17
views
can we intergrate whole apache superset system with react.js and node.js? [closed]
I am working on a project where I need to integrate Apache Superset (for data visualization) with a React.js frontend and a Node.js backend. Here’s what I’m trying to achieve:
Frontend: React.js for ...
-1
votes
0
answers
23
views
How do I get the index of a div close to a button , if the button got clicked?
let add_btn = document.querySelector('.add');
let container = document.querySelector('.container');
let createNote = document.querySelector('.create-note');
let create = document.querySelector('....
-1
votes
0
answers
21
views
Browser extension injected style conflict [duplicate]
I'm developing a browser extension using WXT and Vite. My extension's UI is injected into web pages via content script, but I'm getting style conflicts where the webpage's styles override my extension'...
-2
votes
1
answer
32
views
Can I upload to the Instagram API without app approval? [closed]
The docs say "Instagram requires successful completion of the app review process before your app can access live data." Does that mean I cant use the /userid/media endpoint to upload videos?
...
-6
votes
0
answers
46
views
the condition is not working that determines the hit of a computer in a naval battle, are there any options for fixing it? [closed]
please tell me how to make the computer able to finish off the enemy in this code, in my code it only hits once and that's it, and then it misses as programmed, and again hits but does not finish off ...
0
votes
1
answer
32
views
Error handling in NodeJS service classes and controllers
I am very new to both JavaScript and NodeJS and am struggling to grapple some of the concepts surrounding async, promises, and others, and especially how to structure the code properly. I am trying to ...
0
votes
0
answers
16
views
Is there a way to save a dash app to an offline html file, while preserving all interactions (hover, checkbox filtering etc)?
I've tried javascript code, but I'm not familiar with JS and the filtering is not working properly. fig.write_html doesn't work because the checkboxes will not show up.
For context, I have 2 main ...
0
votes
0
answers
26
views
How can I prevent my node production deployment from installed devDependencies?
I'm running into an issue with the production deployment of my Node app. When I deploy to dev it's fine. When I deploy to production, the build errors on the node-sass package. Based on this SO thread ...
0
votes
0
answers
11
views
I am facing problem while implementing remote start operation on simulator for ocpp
`remoteStartTransaction(tagId, connectorId) {
this.setLastAction("remoteStartTransaction");
this.setStatus(ocpp.CP_INTRANSACTION);
var mv = 10; // Initial meter value
var id = generateId();
...
0
votes
0
answers
16
views
How can I apply a domain filter to a JSON field?
I have a field in my Python model:
analytic_distribution = fields.Json(inverse="_inverse_analytic_distribution")
In the XML, this field utilizes a widget:
<?xml version="1.0" ...
1
vote
0
answers
25
views
Is there a way to use collations in javascript applications
Looking for a way to compare strings in a javascript browser application using collations supported by relational databases.
Lets say my javascript application talks to a SQL server that's using "...
0
votes
0
answers
15
views
Classic ASP & Google Analytic : How do I set up the tracking properties for my website
I'm maintaining a classic asp website and I'm trying to implement Google Analytic on one of the pages. And I have 2 types of javascript codes, which I used inside my classic asp.
With [Code 1], ...
-5
votes
0
answers
24
views
Why is the object in Axios POST request valid? [duplicate]
The code below contains an assignment:
const newItem = { name, quantity: Number(quantity), price: Number(price) };
My understanding from JavaScript is that an object is composed of key: value pairs. ...
-1
votes
0
answers
15
views
i get the call exception error from ethers when try to call a smart contract function
I get this error -
ethers error gotten from the console
The code
const signer = await getSigner();
const response = await axios.post(`${API}/certificate/get-metadata-url`, { certificateName, name, ...
0
votes
1
answer
42
views
How to Increase the Size of Mermaid Flowchart Nodes and Justify to reduce the number of lines in the Node
I am working with Mermaid and trying to increase the size of the nodes, particularly the first two nodes, but I'm facing an issue. When I increase the size, the text inside the node doesn't fully ...
0
votes
0
answers
11
views
Exceljs and playwright: Problems with the scope a variable into playwright
I try to read information from a excel file through 'exceljs'. I put into a variable a data from the excel file and then, I try to use this variable to fill a form of a webpage through playwright. ...
0
votes
1
answer
30
views
Custom Dropdown Remains Selected Even After Clicking Clear Button
I am building a custom dropdown menu using JavaScript and CSS, and I want the clear button to reset the selection. However, even after clicking the clear button, the dropdown remains selected, and the ...
0
votes
0
answers
7
views
openfin taskbar does not show default options in Windows 11
I am using open fin version : 34.118.78.77
When i [right click and press shift] together in the task bar, I see the option
Windows 10:
On windows 11 nothing comes up.
But if I just do right click ...
-1
votes
0
answers
37
views
Text Wrapping in Javascript, what am I missing? [closed]
I'm building a custom pdf for my organization to use on its documents. I was able to give it fields for things like name, title and date. But they would like me to field to enter a short description ...
0
votes
0
answers
11
views
node_modules/react-native/scripts/react_native_pods_utils/script_phases.sh:line 34:/opt/homebrew/Cellar/node/23.6.1/bin/node:No such file or directory
"Hello developers, I have an issue in my React Native project (version 0.77). Android is working fine, but when I try to run it on the iOS simulator in Xcode, I get an error. Here are the error ...
0
votes
0
answers
20
views
How do I get applications submitted and appointments booked from Facebook Marketing API?
Within Ads Manager I can see applications submitted and appointments booked. When I try to grab all the metrics I need from Ads Manager using Facebook API, I can get all the ones I need EXCEPT ...
-2
votes
1
answer
62
views
Is there an objective reason why NaN is a number? [duplicate]
I know this question first sounds like an opinionated question, but I'm not seeking for personal opinions, because I could give my opinion too.
It's also not a duplicate of Why does typeof NaN return &...
1
vote
0
answers
42
views
Is there a bullet proof way to determinate whether the request made from original website or not?
I have a website, quite complex webapp. There is an auth interface which is called by ajax function. The problem is that there is a phishing website, and when user enters there his credentials this ...
2
votes
1
answer
41
views
Highlight Search Words with Button dropdowns
I've been doing a lot of research on this topic and I've been playing around with different code I'm finding online, but I'm stuck on the last part of this.
I have these buttons where you can click ...
0
votes
1
answer
22
views
ERR_NETWORK_IMPORT_DISALLOWED when I run `firebase emulators:start`
I am implementing a payment gateway. I am using Firebase Cloud Functions to run these APIs. I have a functions folder that has my functions and everything is set up for them. I am emulating the ...
-3
votes
0
answers
19
views
JavaScript works on laptop, not on phone [closed]
I have some code on my website that does lookups of state information using the state name abbreviation (e.g., 'AL') as the key into a JavaScript Map. The Map is populated with the set() function, ...
-6
votes
0
answers
38
views
i am new to react and facing this problem [closed]
react-dom-client.development.js:4442 Uncaught Error: A React Element from an older version of React was rendered. This is not supported. It can happen if:
Multiple copies of the "react" ...
0
votes
0
answers
30
views
Open Android app with browser if app is installed else open playstore
I don't have much knowledge of javascript.
What I need to do is replace Firebase DeepLink
From a web page (html), open an android app if it exists, passing a parameter (This works in the app)
<a ...
0
votes
0
answers
12
views
FabricJS when adding path to Eraser, it doesnt show
In FabricJS with erase, I want to create like an interactive whiteboard thats the same between users. I do this using websockets. When I draw a line, everything goes well, but when I try to send a new ...
1
vote
2
answers
44
views
Handle disconnects in multiplayer JavaScript game
I am creating an online multiplayer game in JavaScript (JS), think Lichess or Chess.com but for another game. I now want to detect if a user disconnects but having trouble figuring out how to do this ...
0
votes
1
answer
24
views
All the services return as a undefined in Global Interceptor in NEST JS
I am trying to create a global interceptor in NestJS and call a service inside it. I have followed all the documented steps, but all the services used within the interceptor are still returning as ...
0
votes
1
answer
16
views
Bundled React application doesn't render in WebKit despite support for modern JavaScript features?
Problem
I've been developing a React application that works fine in Chrome and Firefox, but fails to render in WebKit-based browsers. The WebKit instance is running in C++ as an overlay atop a ...
0
votes
0
answers
13
views
How to Implement Text Summarization in a Chrome Extension Using OpenAI API?
I am currently working on a Chrome extension called Summarizer. The extension allows users to highlight a paragraph and summarize it. I am using the OpenAI API for summarization, but I am facing ...
0
votes
0
answers
6
views
How can I get all token information in my Solana wallet?
I tried to get all token information in my wallet using solana/web3 but I can't get it.
I need token address, token amount, token price, token name, token symbol at least.
How can I get this data?
...
-1
votes
0
answers
22
views
Using TensorFlow.js to Correct Sentences Based on Training Data
I'm working on a Node.js project that uses TensorFlow.js to correct sentences based on a training dataset. The dataset consists of example sentences, and I want the machine learning model to learn ...
0
votes
0
answers
28
views
New Lines in JavaScript Regular Expression [duplicate]
I use a regular expression defined in JavaScript to search function definitions for specific symbols:
var fieldName = 'ExportImportLicenseAuthorization';
var funcDef = 'ƒ () { return self....
0
votes
1
answer
36
views
Trying to load a module via require() but get an error
I have this 3rd party program which allows scripting via the use of js and it uses Duktape JavaScript engine. I am attempting to load a module (dll) through duktape In order to Call upon certain ...
0
votes
0
answers
18
views
Using pgBouncer on DigitalOcean with Node.js pg Pool and Kysely – Can They Coexist?
I'm running a Node.js application that connects to my PostgreSQL database using Kysely and the pg Pool. Here's the snippet of my current DB connection logic.
I have deployed my database on ...
0
votes
0
answers
31
views
D3JS: How can I allow space for dynamic width labels?
I am completely new to d3js and I have a problem with the labels, especially on the y-axis on a horizontal bar chart, but in general the labels are also a problem.
If I use longer labels, they are cut ...
-1
votes
0
answers
44
views
Can I/do I need to skip function declarations when using the JavaScript for...in loop? [closed]
I'm rewriting some standalone functions that create and adjust the properties of several objects to now be properties of those objects themselves - mostly as an experiment as it's not something I've ...
0
votes
1
answer
42
views
Trouble opening a popup with dynamic HTML [closed]
I am attempting to create a new page thru script. I made the following code to test the idea, but clicking my button does NOTHING!
<html>
<head></head>
<body>
<input ...
0
votes
1
answer
45
views
Javascript blazor not detecting delete or empty filter on filter table
I have a table in blazor.
I have a header filter like so
<input type="text" @oninput=>"filter" placeholder="filter" />
This triggers a function lets say
Public ...
0
votes
0
answers
14
views
Highcharts custom stacked column/bar chart fillcolor visualization [closed]
For a customization of a column based stacked series I have the requirement to use for the first stack a different fillcolor which should not be pure color filled more to be fluted like this sample ...