Latest Questions

JPA: Data integrity violation instead of Upsert

I have this entity with these fields and this primary key: @Getter @Setter @Entity @Builder @NoArgsConstructor @AllArgsConstructor @Table(name = "MY_TABLE", sch

image keeps going inbetween two floats, can't clear it

ive been following this guys tutorial, ive timestamped it- and he has a text block that floats to the side. image, which is a div on its own keeps going in the

cordova plugin using webrtc video element issue

i was create a webrtc app using cordova plugin for iosrtc that was works normally but the video call was converted into livebroadcast. enter image description h

porting PIL python 2.x to pillow python3.10

I am trying to port an old library from python 2.x which uses PIL to Python 3.10 with PILLOW. right now I am stuck the old library uses the fromstring command:

What's the use case of TableCell?

I can show widgets as children of TableRow. They are displayed correctly. What's the use case of TableCell in flutter? TableRow(children: [ widget1,

Why ConcurrentDictionary TryUpdate() method requires indicating oldValue?

When calling TryUpdate you should specify old value besides key, why is it required ? And additional question why TryUpdate method (and others similar) have whi

How do I specify nodeSelector while deploying an Azure ML model to an AKS Cluster?

I am currently deploying a model trained using AzureML to an AKS cluster as follows: deployment_config_aks = AksWebservice.deploy_configuration( cpu_cores =

Why write from databricks spark notebook ( hadoop fileUtils) to DBFS mount location is 13 times slower than write to DBFS Root location?

Databricks notebook is taking 2 hours to write to /dbfs/mnt (blob storage). Same job is taking 8 minutes to write to /dbfs/FileStore. I would like to understand

In Java can we create an object of a subclass in the subclass itself and outside the methods of the subclass?

I need to create an object of a subclass in the subclass itself but outside of all the methods of the subclass. In the code below, I want to create an object of

jQuery for showing different text field showing when select two different items in selectbox

How to display the text fields when choosing different option from the selectoption (if select USA option USA text field need to show)? <select name="cntry"&

wget a release file from Github from a private repo

wget --header 'Authorization: token PERSONAL_ACCESS_TOKEN_HERE' https://github.com/<USER>/<REPO>/releases/download/<TAG>/<FILENAME.zip>

C++ and Java array declaration/definition : differences

my question is really simple (which doesn't imply that the answer will be as simple.. :D ) why do arrays in C++ include the size as part of the type and Java's

Kubeflow - what is xxx_op and yyyOp?

In Kubeflow, what does op or Op indicate in xxx_op and ```yyyOp``? def add(a: float, b: float) -> float: return a + b add_op = comp.func_to_container_op

How to remove generated .css and .map files in SASS at compile time?

How to do it so that when .scss files are compiled so that the .css and .map files aren't created, it's extremely annoying in a bigger project and when there ar

Python Dictionary: How to get the longest key for the longest value?

dic = {'a':4, 'b':5, 'cd':5 } I'm trying to find: highest value (search for the highest value first => b, cd) longest key (then search for the longest key

Display all data before filtering using javascript, kendo and mysql

I have a select option that the purpose is to filter the division of the user, in my current code the data will show if the user start selecting a list of data

Error: Method 'addPostFrameCallback' cannot be called on 'SchedulerBinding?'

how can I fix this error in flutter with android studio /C:/src/flutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/get-4.6.3/lib/get_navigation/src/snackbar/

Do all modules inherit the Coin contract automatically or is there a required import?

When accepting payment for an NFT I am making, how do I ensure I can call coin.transfer and coin.details from my module?

Flutter[Android]: Not able to release App with Manage External Storage Permission

We need to allow users to store files in the external storage and for the same, we use MANAGE_EXTERNAL_STORAGE permission in our application. Ideally for the an

"Looking up a deactivated widget's ancestor is unsafe." with StatefullWidget

I can't find any answers for my problem. In the code below, everything was perfect if I use a "GestureDetector" with a "Image" instead the Dismissible with the

PowerApps Form Created By Customizing The SharePoint Online List Attachments Are not Clearing

I have created a PowerApps form by customizing a SharePoint Online List. In that list I have several fields including an attachment control. To submit the fille

cppflow model loading hangs unity

I'm trying to load a tensorflow graph model using cppflow in c++. I am able to load the model when I define the model loading globally in a standalone applicait

request.getParameter() returns null when making a PUT ajax request in a Java servlet

I just started learning JSP and Java servlets and I stumbled upon an issue. I will use a simple example to show this unexpected behavior. I have a .jsp file whi

Import python file of parameter values and options within a for loop

I have code that reads in parameter values and options from an external python file using import optionsFile as my, I then use these values in the rest of the c

Persisting Doctrine Entity with Collection results in exception

Am working on a simple setup with two tables with a one to many (and inversed) relationship. The two corresponding entities are: use Doctrine\Common\Collections

Having trouble to run a program in C#

enter image description hereenter image description here I was trying to run a program on C#. Anyone know what the reason is and what the solution is?

environment variable undefined in react js

I am trying to get the environment variable from .env file, I have followed all steps but don't know why it's showing an undefined value .env file REACT_APP_NAM

Hey guys. I am having problem on my code on python

I am having problem on how to code this one: def letter_count(word): ans = {} word = ''.join(j for j in word if j.isalpha()).lower() for j in word:

Angular elements | Create separated build for each component

I have a regular Angular project and I want to convert it in an Angular elements project. My main goal is to have separated build files for each component/eleme

mapping [x,y] coordinates on plane aruco defined plane and servo movement on mapped points

I am new to this and I am sorry to poorly ask but I don't know where else to search. I have 4 Aruco markers placed in a square position respectively by ids 0 1