All Questions
23,928,747
questions
0
votes
0
answers
3
views
Names being entered by the user during a for loop are overwriting themselves in C
I am trying to write a program in C that allows the user to enter names until they input the word "done". Then it will list out all the names they have entered. I understand I should use an ...
0
votes
0
answers
2
views
ModuleNotFoundError: No module named 'simple_history' Pythonanywhere
I have a Django app running on pythonanywhere server. I have installed the requirements.txt and everything is okay, python manage.py migrate also successfully done. now when I reload my app I get ...
0
votes
0
answers
4
views
MUI DatePicker - show Months when clicking on Month/Year popul
I am using a standard Mui DatePicker
When clicking on a Month/Year popup, I would like to see months rather than years,
Is it possible to do?
0
votes
0
answers
4
views
How to Integrate amazon connect and amazon chime
I was attempting to implement the Amazon Connect and Amazon Chime integration, but I'm having trouble following the README.md in this repository: https://github.com/aws-samples/amazon-chime-sdk-amazon-...
0
votes
0
answers
3
views
How to live debug and fix a failing playwright test that uses setup/teardown projects
My Playwright project employs a global setup and teardown via projects in playwright.config.ts
projects: [
{
name: 'global setup',
testMatch: '/global.setup.ts',
teardown: '...
0
votes
0
answers
8
views
Compare key items in a list not a dictionary that are same in order to calculate those same line items for a final result
The way this list came to life was from an excel document I created that sheet 1 has channel numbers and sheet 2 has wattage values for if channel is in between a low and highValue. In trying to keep ...
0
votes
0
answers
4
views
Docker Error build during Deployment on Railway services
please I had previously deployed my Django project on Railway which worked fine. Unfortunately, when I tried to add up SendGrid mail functionality by using django-sendgrid-v5
package to help me handle ...
0
votes
0
answers
4
views
Unable To Send Emails Via Amazon SES to Unverified Email Addresses Even After Being Move From Sandbox To Production
Even after being moved from the Sandbox environment to production, I'm still unable to send emails via Amazon SES using PhpMailer to unverified email addresses. However, I can send it to verified ...
0
votes
0
answers
3
views
Pygame/Pillow GIF-reading issue. Please help! The pillow library stops working when I change the dictionary that it reads files from
I am trying to create a program that will display 3 gifs at a time in pygame. I got everything working with 3 gifs, but when I try to switch out 1 gif with another, I get errors with the pillow ...
0
votes
0
answers
4
views
How to add Swagger to Api Gateway
I have a api gateway on springboot 3.1.4 version. And I have diferents microservices registered on it and they have its own swagger documentation. I need that when I access the api gateway I can see ...
0
votes
0
answers
3
views
Bring back old commit window in Xcode 15?
Is there a way to bring back the old modal commit window (from Xcode 14) when going to Integrate -> Commit in Xcode 15?
0
votes
0
answers
6
views
Need coding for a graph in R
I am trying to make a graph that looks like this in R:
I have the data below but I cannot figure out the code to get the graph:
I tried running a boxplot code but i dont know how to get all columns ...
0
votes
0
answers
4
views
How do I use objects to represent data from my relational database without making an excessive number of database queries?
I'm trying to design my first complex object-oriented PHP application and I'm confused about how to use objects to represent data from my database. More specifically I'm confused about how to combine ...
0
votes
0
answers
5
views
Is there a quick fix to missing helper error with jsreport handlebars nodeJS
trying to use jsreports and jscore node packages to dynamically render a pdf. I get the "Missing helper: "importStylesheet" error. Can anyone help or have seen this?
I've tried ...
0
votes
0
answers
5
views
How to add React to a new Ruby on Rails app
When I try to run this command to add react to my Ruby on Rails App: rails webpacker:install:react, the hello_react.jsx file doesn't get added automatically.
I am trying to integrate react in my ...
0
votes
0
answers
3
views
Faiss how to access data in a database, after indexing and retrieving the indexes?
Good afternoon,
I am facing a challenge related to retrieving sentences based on questions asked. To solve this problem, I chose to use the FAISS model. The process I followed involved coding the ...
0
votes
0
answers
15
views
MultiValueDictKeyError at /register
I keep getting this whenever I try to register a user on my test website using Django please can anyone help me out
MultiValueDictKeyError at /register
'email'
Request Method: POST
Request URL: ...
0
votes
0
answers
5
views
HDInsight cluster creation: <account> is not a valid ARM resource id
I am attempting to create an interactive query HDInsight cluster that will allow me to execute queries over a large set of .csv files. My issue is when I attempt to create the cluster, it says my ...
-1
votes
0
answers
10
views
copy + paste glyphs from one font to another FontForge
how do i keep the glyph size when copy/pasting one glyph from a font to another? anytime i do it the font when pasted is tiny in bounding box
enter image description here
copy + paste glyphs from one ...
0
votes
0
answers
5
views
Can't get around cloudflare using 2captha
I'm trying to bypass cloudflare using 2captha but nothing works, the site gives an ERROR_CAPTCHA_UNSOLVABLE error. I suspect the problem is with the site key, because it's the same on all cloudflare ...
-1
votes
0
answers
22
views
Python regex to match string not preceded by another string, but with other words in between
I tried the accepted answer to Regex match word not immediately preceded by another word but possibly preceded by that word before but that didn't work.
>>> re.search('(?<!nonland) onto ...
0
votes
1
answer
21
views
ReactJS: How do you reset a timer?
I am trying to make my web app display a message for a set amount of time whenever a button is pushed, and for said timer to reset whenever the button is pushed again before the time has elapsed. I ...
0
votes
1
answer
11
views
How to use Postgres 'jsonb_populate_record' to insert in a table containing an ID column of `bigint PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY` type
I can demonstrate the issue with this simple example. The actual table and json being inserted from are a lot longer.
I have the following simple table:
CREATE table contact (
id bigint PRIMARY ...
0
votes
0
answers
3
views
Testing an async celery task with pytest results in "no attribute 'delay'"
I'm implementing celery-batches to eliviate a problem with thousands of small tasks being loaded into the queue. This app will batch together these small jobs so that they can be processed more ...
0
votes
0
answers
13
views
How do i draw a semi circle/ oval whose flat side touches the bottom of the screen in compose?
The preview looks like below.. I want the width of it to be half the screen size and height to be 1/20th of the screen height.
I tried
Box(
modifier = modifier
.fillMaxHeight()
....
0
votes
0
answers
9
views
Is there a way to disable touches on a built-in Widget while still accepting touches on it's child Widget(s)?
Is there a way to disable touches on a Flutter Widget, while simultaneously allowing touches on certain children? I'm aware of the IgnorePointer and AbsorbPointer widgets, but those affect all of the ...
0
votes
0
answers
4
views
How do I terminate the user input list in powershell without terminating the entire command
I need to get out of the input array list but not end the command.
I saw someone saying to use 'exit' but when I tried using it, it does nothing and when I do Ctrl+C it terminates the command.
I only ...
0
votes
0
answers
5
views
Nothing happens when I try to use python to update excel
After updating some of the details in the StringVar and IntVar variables, I'm trying to then have those values update the cells in the excel spreadsheet at the given row/index number. When I click to ...
0
votes
0
answers
13
views
How to write to dictionary using user input and loop and parsing by space?
I am trying to create a dictionary that I can serialize into a json file. This is my first time trying this so I am very confused.
I want user input for a patient's first name, last name, age, and ...
0
votes
2
answers
18
views
Use grepl() to match two elements of a string with separators with two column values in a dataframe simultaneously
I have a dataframe as shown below and the desired output is shown below.
df <- data.frame(
col1 = c("abc_1_102", "abc_1_103", "xyz_1_104")
)
selection <- data....
0
votes
0
answers
10
views
How to make indirect assignment work without eval
If I set
command="ls -1"
I can execute the indirect command via a simple expansion
$command
However, If I set
assignment="a=1"
then
$assignment
works, but bash interprets the ...
0
votes
0
answers
11
views
How to avoid a ParamGuard not satisfied when fitting a SVM model using Rust's Linfa?
I just start testing linfa and I am getting an error that makes little sense to me at the moment.
I have my data which is a Vec<Vec<f64>>. This data has its labels, which is a Vec<bool&...
0
votes
0
answers
11
views
TypeScript and additional values for types
I started to write a checker for source text files and line in such a file is defined in TypeScript Schema. And in this text files field marked as a z.boolean coud be different then only "true&...
0
votes
0
answers
3
views
Use nlog to push logs directly to Grafana Loki Cloud
I have an old WPF app that I want to add some alerting to, so I created a free account in Grafana Cloud and I want to be able to see logs there.
The app is using nlog, so I added a sink in nlog.config ...
0
votes
0
answers
4
views
Setting cookie and redirecting in Server Action (Next.js 13.5)
I'm trying to set a cookie and redirect the user to "/" with a Server Action. Nothing new, right?
//page.js
export default function Page() {
async function checkPassword(formData) {
...
-1
votes
0
answers
19
views
how do I create a loop correctly in python
I am writing a calculation program and my code considers at the first start Nr and Nf are equal to 0 , after the first cycle they should be assigned values from these lines
for i in range (1,n):
NOr = ...
0
votes
1
answer
9
views
Making a variable globally available to all modules in next.js application
Is it possible to make a variable globally available to all modules within a next.js application so I don't have to import it wherever I need it?
This can be very useful for things such as utilities ...
0
votes
0
answers
7
views
Golang's json.Unmarshal does not explicitly set pointer value to nil if the field is not present in JSON
Consider this example:
package main
import (
"encoding/json"
"fmt"
)
type InternalStructFirst struct {
Field string `json:"field"`
}
type ExternalStruct ...
1
vote
1
answer
17
views
Is it possible to do infix function composition in python without wrapping your functions in some decorator?
Title says it all. Seen lots of answers where folks have implemented f @ g, but this requires wrapping f, g in some infix decorator or class. Is it possible to get this to work? Maybe by patching some ...
0
votes
0
answers
7
views
How to create a video player in which we can add video chapters just like Youtube does it?
OK i want to create a video player in which users can add video chapters just like YouTube player does can someone tell me how to implement that feature in my player?
i am creating it and can't figure ...
0
votes
0
answers
4
views
MacOs react-native-childprocess know the pwd
I tried running the following command on macos for react-native-macos.
But it's not working properly.
Can you give me a hand?
the first time it was worth:
console.log('o:', cmdID);
then changed it ...
0
votes
0
answers
4
views
How do I build an arm image using github docker/build-push-action
I have a github workflow that I want to use to build a multi-arch image. Currently, I have written it to create both the x86_64 and arm64 images separately using docker build-push-action and the run a ...
-1
votes
0
answers
15
views
extract value from JavaScript string [closed]
extract value from sting using rgex
I'm trying to extract the message from a variable but I can't achieve it, I wan to extract the message and the threat level and the Polarization Temperature
const ...
0
votes
0
answers
4
views
correct syntax for triggering Github workflow from another workflow
I wanted to run an action from either a pull request or completion of another workflow run. The first action is a catch all terraform FMT incase a PR is pushed and there's not proper formatting. The ...
-1
votes
0
answers
5
views
Comando while na tabuada
Comecei os estudos de Python há 2 meses. Em um dos exercícios do curso que estou fazendo, adaptei o código de uma tabuada interativa onde, depois do usuário digitar um número para a tabuada e o ...
0
votes
0
answers
8
views
how to iterate a datafrme to do "dynamic" join in pyspark
I have a dataframe contains different toxic combination of permissions, I want to iterate that so that it can find all the person who should not be having those toxic combination in the first place.
...
0
votes
0
answers
6
views
gstreamer pipeline with GigE Camera
I have an Imperx GigE Vision camera and I am trying to create a simple pipeline that listens to its UDP port and displays the video stream, but the image is not displaying correctly. I verified that ...
0
votes
0
answers
7
views
Jenkins pipeline - Only run test job once in a sequence of jobs?
We have our pipeline set up where we kick off a job every time there's a push on a branch. We have our tests separated out into its own repo. In a simple case, it'd look something like:
Repo0 Job ---&...
0
votes
0
answers
12
views
adding variables to cfviz_cluster
I have built a cluster plot with fviz_cluster. shown in attached image.
fviz_cluster(hcpc, palette = c("blue", "red", "black"),
ellipse.type = "convex&...
0
votes
0
answers
5
views
GTM tag fires multiple times after first click
On my category list page, I have created a tag that is triggered when a user clicks the "Add" button. The tag fires as expected, however, when I add a second product it fires the "...