Latest Questions

Got an error while setup Scandipwa on magento 2.3.5

while installing scandipwa i got an error after enter the command sudo php bin/magento setup:config:set --pq-host localhost The "--pq-host" option does not exi

Laravel merge image by path to Request for validation

I'm very new to Laravel. I'm trying to integrate temporary image upload to my forms. What I want to do. When the user selects a image the image gets uploaded te

Putting data into specific row order in R

I have inherited a mess of a table which looks a little like this: A1 B1 C1 V1 B1 0/1 C1 0/0 A1 1/1 V2 C1 0/1 A1 0/0 B1 0/1 V3 B1 0/0 NA A1 0/1 e

How can I map with modelmapper some conditions?

I have some Game entity that I want to map in GameDto. In Game I have another Game field basedOn. In GameDto I have basedOnName, basedOnId and basedOnCheckBox f

MongoDB "IN" filter Issue

I am trying to query mongodb collection using Aggregate and IN Filter, like this var filters = Builders<Model>.Filter.In(x => (Guid)x.Id, listOfIds);

JedisCluster configurations and how it maintains the pool of connections

I have recently started using JedisCluster for my application. There is little to no documentation and examples for the same. I tested a use case and the result

How to add custom attributes for Keycloak client (not user)?

I would like to add custom attributes to a Keycloak client, similar as we already have "Valid Redirect URIs" which we can easily configure in the Keycloak admin

is there a way to use socket.io in a local area network without connection to the internet

I built a flask chat app that uses socket.io to handle user to user communication. My problem is that the app is supposed to be working only in a LAN and when I

Inserting text from specific cells into the newName in VBA

I am trying to make a code that will save a copy of a file with a new name based on text in Cells D1 and D2 from the active sheet of a workbook. I can't seeming

Why programmers doesn't use material conditional (implication)?

Logical negation (NOT), conjunction (AND), disjunction (OR) and exclusive disjunction (XOR) are very often used in every programming language. Why isn't the mat

While Loop Not Working (Function and Time.Sleep)

My while loop prints nothing when it is running. import os import time place = 10 running = True def Write(): j = 1 for i in range(place - 1): print(

Excel asks to save even though I did just save

I've uploaded a video on Youtube showing the problem (Youtube because I can't do it on StackOverflow directly). Any idea why I have this problem? I'm using Micr

convert price to groups of price category getting (ValueError: Bin labels must be one fewer than the number of bin edges)

category= pd.cut(df.price,bins=[75000,100000,250000,500000,1000000,2000000,4000000,7700000],labels=['7','6','5','4','3','2','1','0']) df.insert(5,'price categor

how to perform cron jobs every 5 minutes inside docker

I want to perform cron jobs every minute for feeds.sh and every 5 minutes for reminder.sh inside docker container. It was able to run every minutes for feeds.sh

Android ClipboardManger work in background

Is there any way that I can run ClipboardManger in the background on Android 12 I developed a clipboard application where any text I copy it, It will save in my

Draw a line between points, ignoring missing data, with matplotlib

Numerous similar questions have been asked over the years, such as this one here, but none of the accepted answers solve my problem. The following code: x=[0, 0

How to correctly write feature driven architecture with shared features?

I am rewriting my monolithic architectural application into feature driven architecture in Vue.js. Since we are hiring more people to our organization, we need

Unity URP to WebGL is ignoring Sampler State

The Sampler State is being ignored once exported to WebGL. I have a plane that has one of its faces setup as to over extend the UV's 0-1 space, so the effect wo

ORA-12842: Cursor invalidated during parallel execution error during alter table move subpartition

Had a task to compress some large tables to reduce storage costs by using Oracle's Advanced Compression. Here is the statement : execute immediate 'ALTER TABLE

Transmitting MIDI Message from Ruby to Pure Data over OSC

I'd like to transmit a MIDI message from an USB Midi Device, where the MIDI data is captured via Ruby/libusb, to Pure Data by using OSC. The reason why I need t

How to make Cypress use test files located outside of default integration folder?

I am trying to keep my **.spec.js files for testing next to the actual files that need to be tested like such: . ├── product | ├─

Filter separate csv files in Haskell by column?

I'm learning Haskell and have been having difficulties with creating functions that parse csv files and filter them. I want to write a function(or multiple func

how to move from animation to an activity in kotlin? [closed]

In my project/test app so far I have managed to implement an animation from Lottie animations that displays without any problem. But when the

Target specific unittests and create XML results

I'm trying to work out how to build a unittest runner that allows me to run specific tests and export those results to XML (JUnit). I've found countless example

How do I correctly auto fit an excel file column with a function

I am trying to autofit my excel ws columns with the following function: def autoFit(ExcelWriter,SheetName,DF): for column in DF: print(column)

Spacy transformer misses simple dates: Am I implementing something wrong?

If I run the following: import spacy nlp = spacy.load("en_core_web_trf") string = 'POLICY DETAILS Penod of Cover Your Policy gives you 18/11/21 (Noor) 18/11/22

Consumer and context.watch in MultiProvider

I am trying Flutter for the first time, and I am a little confused by the MultiProvider class. The question is straightforward, but I didn't find an explanation

Can you pass props to a layout in sveltekit

I am working on a site with SvelteKit and I want to have a layout with a navbar for each page. The navbar has links with the active link being the page you are

Import ManyToMany field

I have a ManyToMany field in my models. I want to import data and enter into that field. My Resources.py:- class ClinicResource(resources.ModelResource): langua