Latest Questions

Create Gradient on Top Right of the page in Flutter

Hy everyone, I need to know, how can I create gradient on top right of the page like this picture? I tried with this code, but it's still not working for me: S

Update array object mongoDB

I have an array of objects and would like to update the count of the object where categoryId = "menu2" and subCategoryId = "1". in my mongodb i currently have t

Django: How to return an inline formset with errors

I have created a form to sign up a user by having them create a User object and a UserProfile object as follows: class UserCreationForm(UserCreationForm): c

What does the ⇒ mean in Context Free Grammar? Also, how do I derive/get the L(CFG) from a CFG?

I'm a bit confused. Does the ⇒ simply denote you going through the CFG step by step ? To use a pretty basic-ish example: sentence ⇒ subject | predicat

Visualizing dependency size via sbt assembly

I am using sbt assembly to package my project into one fat jar. I wanted to understand if I can visualize how much disk space is each dependency taking in my fa

facing problems in installing tensorflow

I am facing problem in instaling tensorflow, please help me. Here is the error that I get: ^3.1 npm ERR! code 1 npm ERR! path C:\Users\dell\node_modules\@tensor

Why one request triggered CORS policy but the other not?

I use the same request func to yield call two api on the server. Model func code: const pomdata = yield call(pullInfo1, payload) const data = yield call(pullinf

Prevent release artifacts to be overwritten when using s3 to store maven artifacts

We are using Amazon S3 to manage the maven artifacts. Currently, if we do mvn deploy , the release artifacts gets overwritten on Amazon s3. Ideally the release

Set and get Image in objectbox

I want to set and get image from local storage, but I have no idea how to do this.

ServiceNow as container based application

Can we run servicenow as a containerised application on a cluster or a VM rather than using it as SaaS or Paas?

Nginx Don't Play Audio from Link or File

Hi I'm Trying to run a simple clock, im use a clock sound that would be run every second, but it's doesn't play OS : Android (Termux) Nginx Version : 1.21.3

How to test MassTransit saga state machine with certain state?

I have state machine build with MassTransit: public class OrderStateMachine : MassTransitStateMachine<Order> { public State Completed { get; init; }

Can Unity handle perfectly multiple render of differents sizes of the same picture?

If I have two pictures slots in my game, one displayed as an icon and one displayed as the full image. Should I have two differents pictures in my Resources fol

Declarables and MultiRabbit

I'm using spring-multirabbit library : rabbitmq: host: localhost port: 5672 username: guest password: guest multirabbitmq: enabled: true

How To Chanage OpenXml Wordprocessing Text Direction?

I'm trying to open a word document and change its text direction to correct ones, here : IEnumerable<DocumentFormat.OpenXml.Wordprocessing.Text> texts = d

How do I move a dataset from Huggingface to Google Cloud?

I am trying to use huggingface multi_nli to train a text multi-classification ai in google cloud. I want to call the ai from a firebase web app eventually. But

Setup Pulsar transaction coordinator in Kubernetes setup

How to setup Apache Pulsar transaction coordinator in Kubernetes setup? I couldn't see much docs on this, though I could modify the broker.conf configmap unsure

Get scroll position with NextJS

I want to know if the user has scrolled or not to update the UI in NextJS. I have the following code, all the examples I have found have the same code: const

How to create TradingView indicators that look like this?

I've been trying to create similar indicator to this This is the reference I have the code for RSI, Stochastic RSI, MACD and 50/100/200 MA (with crosses), but I

how to sum 2 numbers in javascript before saving it in mongodb database

I'm building a web app using MERN stack. I want to sum 2 numbers then save it mongodb database. Here current num is from database and other is from input field

Data exists within database but doesnt show up on webi report

Hi I am building a v simple report as below; when I include the customer reference number and filter for another column (resolved time) being NULL then the numb

Error loading workspace IDL for Solana Anchor Testing

For some reason, my mocha test is unable to find my IDL. I am getting the error below: name@Mabels-MacBook-Pro solana-anchor-reactjs-payment % anchor test BPF S

Update array object mongoDB

I have an array of objects and would like to update the count of the object where categoryId = "menu2" and subCategoryId = "1". in my mongodb i currently have t

Unable to connect to Azure DB using JDBC with ActiveDirectoryServicePrincipal

I'm trying to connect to an Azure DB via JDBC using authentication mode ActiveDirectoryServicePrincipal. Connection string: jdbc:sqlserver://xxx.database.window

changing the display location of custom product field on a variable product page

i added a custom field to a variable product and displayed it on the front single product page with the help of an answer here https://stackoverflow.com/a/55774

How to have multiple one to one relations to a specific model

I have a scientific info model that has a one-to-one relationship to my User model. this is my model: class ScientificInfo(models.Model): id = models.AutoFi

Could not resolve all files for configuration ':app:debugRuntimeClasspath' android studio

I'm new to Android development with Java. I made an app that allows you to log in with Google and Facebook. Everything worked fine until about three days ago wh

facing problems in installing tensorflow

I am facing problem in instaling tensorflow, please help me. Here is the error that I get: ^3.1 npm ERR! code 1 npm ERR! path C:\Users\dell\node_modules\@tensor

Python Poetry and Script Entrypoints

Im trying to use Poetry and the scripts option to run a script. Like so: pyproject.toml [tool.poetry.scripts] xyz = "src.cli:main" Folder layout . ζ

Angular Routing: create different language path route to the same component form navbar component

I am using ngx-translate to translate my components. I am able to change website language if the user clicks on language link inside the same component. In an