I got a partition problem for which I need advice. I'm given a 1D array whose length is even. I need to write a boolean method to determine whether the array ca
Source: here With the following segment of code all my Android devices record with a maximum width of 960 rather than the device width. val metrics = resour
when typing edit text yoyo animation keep run how to keep typing show animation Once ? text_send.addTextChangedListener(new TextWatcher() { @Ove
My respected java developer friends. i am trying test and cover the catch block of clone method. I have wasted one week but didn't find any solution to cover c
I have an assignment that asks me to create a Basic calculator, by taking an input from the user in one expressions as in "4 - 1" or "5 + 3", and I need to chec
Below code returned a timeout in client (Elasticsearch Client) when number of records are higher. CompletableFuture<BulkByScrollResponse> future = new Com
In a project that was passed on to me there is a MySQL database that is used to store lots of data. Each database has a table that contains lots of text snippet
We have a large Java application that looks fine with Win 10. When we test it on Win 11, about 1/2 the controls have a much smaller font than the others. This i
So, I am trying to annotation an attribute of a table as a @DynamoDBDocument to store the object in my table. I'm thinking the actual attribute datatype would b
I am using Flink v1.11.2 and Avro v1.10.1. I am trying to deserialize an Avro record as a Specific record from a Kafka topic, but for some reason keep getting t
I came across the following question in LeetCode while studying stacks and I'm able to get the brute-force solution. There's a lot of videos + solutions on the
I have a problem deploying my springboot application to Heroku. After running git push heroku master, I am encountering the error below: [INFO] ----------------
So I am trying to replace the following native SQL with JPA Criteria Api: select CAT.* from CAT join OWNER.ID = CAT.OWNER_ID where OWNER.NAME = :ownerName or s
I'm trying to create a PDF that's PAC3 compliant and I need to add images to the PDF. I was able add an image to the PDF but when I run the PDF in PAC 3. I get
Let's assume I have an existing pdf with a fixed header and footer and blank body like the below image And I have to add content to the body(
I have made a Java web application and trying to host it on Heroku with a Dockerfile, CMD as : CMD ["java", "-Dserver.port=$PORT", "-jar", "/usr/local/lib/backe
const newItem = { name, price, img, detail, email } fetch("http://localhost:5000/add", { method: "POST", header: { "content
I use intellij to create a jar package, but it does not work correctly. After it is created and all the external library jar files are created as well, when I s
I just wanted to use Auto image Slider, but after adding all the dependencies and other requirments like jitpack.io still I am unable to use sliderLayout of aut
I have a GenericRecord stream with value deserialised using Avro, schema has name and age. KafkaSource<GenericRecord> source = KafkaSource.<GenericRec