All Questions
712
questions
0
votes
0
answers
43
views
How to create another field in mongoDB document that filters the specified item from existing document array field
I am trying to filter items from a mongoDB document array field that are not equal to the provided value and create a new field with the filtered items using aggregation with $filter method but it is ...
0
votes
0
answers
49
views
How to get roblox csrf-token 2024 node.js
Does anyone know how to get your csrf-token on roblox in 2024, I use
to know back in 2022 but it doesn't seem to work.
import axios from 'axios'
const cookie = ".ROBLOSECURITY="+'_|WARNING:-...
0
votes
1
answer
80
views
Unable to decrypt JWE Token from Python jwcrypt to NodeJS jose
I am unable to decrypt a JWE Token generated by jwcrypt (Python library for JWE Encryption and Decryption) to jose (Javascript library for JWE Encryption and Decryption)
I have explicitly defined the ...
0
votes
0
answers
14
views
not able to display base64 encode video on client side
create.hbs
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, ...
0
votes
0
answers
27
views
I am getting response as jpg for other files which is correct but one more file from which i am getting mp4 output on client side i getting img symbol
create.hbs
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, ...
0
votes
1
answer
34
views
How do I output the results of a Python file that's in the same directory as my HTML, CSS and JS files
So I have a file called algo.py that takes user input, processes it through OpenAI and then outputs GPT's response back to the user. In the HTML file, I have a form that allows the user to input their ...
0
votes
0
answers
23
views
How to render table in discord using discord bot using javascript
Not able to render or work send message in tabular format in discord
I just want to render data in tabular format , Or I can render embed code in discord
Like iframe , so that I can render the iframe ...
0
votes
0
answers
32
views
USD-barcode-scanner not recognizing the number 3 or #
I have a usb scanner (huawei Model HC-P10) connected to a raspberry PI. I use it to pick up qrcode scans, all the scans work but the number 3 is not being recognized when scanned. The raw data shows ...
-1
votes
1
answer
66
views
Issues with my Javascript code to parse files
I am currently working on implementing a JavaScript code that aims to read and parse some numpy .npy files generated from Python's numpy, specified by a JSON file. These .npy files contain arrays of ...
0
votes
1
answer
86
views
python with a javascript subprocess
I am trying to start a javascript subprocess inside a python script.
I'd like to do some photo analysis, by using the Human repo, which doesn't have any Python porting (natively js), so I must execute ...
0
votes
0
answers
102
views
AES simple encryption in Node and decryption in Python and vice versa
NODE Environment
I generate secretKey in nodejs as below,
const generateAesKey = () => {
const { randomBytes } = require('node:crypto');
randomBytes(32, (err, buf) => {
if (err) ...
0
votes
1
answer
48
views
How to send data by(chunks)? Python or NodeJS
I would like to know if there is some way to send data part by part from Python or nodeJS. I mean, for example: I have a 20-second audio and I want to send 10 seconds in the first response and the ...
0
votes
0
answers
86
views
How to link OR-Tools (Python module) on a site in PHP/JavaScript
I am developing a website in PHP with JavaScript. Part of the site consists of solving a timetabling problem which is written as an integer linear optimization problem. I currently have a python ...
0
votes
1
answer
57
views
How can I run a python github project to my nodejs project?
So I want to use this python project https://github.com/m-bain/whisperX and access it in my nodejs project.
I am thinking of using https://www.npmjs.com/package/python-shell but I am not really sure ...
0
votes
0
answers
238
views
I want to install node js while python is already installed
I have already installed python in my laptop, when I tried to install node js, it installed python again so it changed my python environment variables, now I had to uninstall python and reinstall it ...