We want to add days to the current date and format it in a specific way. This was solved in Groovy 2.4.13 and the following date manipulation works fine:
today = new Date()+90;today.format('yyyy-MM-dd HH:mm:ss.S'); Result: 2019-12-02...
The introduction of virtual threads in Java 21 has created a lot of buzz around the community. While I still try to wrap my head around actual benefit I will be getting by this feature, I stumble upto three terminologies
virtual thread carrier...
Hello everyone, I need your help, I have created a JFrame in a java project to make a form, this gives some kind of error that I don't know. I guess it is because when I go to Window menu -> IDE Tools -> Palette, only...
I am new to Java and Java Swing but it is what I inherited. I am trying to figure out the best way to keep a combobox up to date with a changing list. If the user has already selected an item and that item is still in the new list I want to keep it...
It's been a surprise for me to see that handle event sources is something handcrafty...
I mean, I've been strugling for some days to try to receive ( deserialize ) an S3Put event into my handler (using spring-cloud-function-aws-adapter Consumer)....
I want to implement a RecyclerView that works similar to Instagram feeds, that contains both Image and Video Items. I have successful implemented the recyclerView to display both image and video items, but I am having issues with pausing the video...
I am trying to create a new database entry using Springboot hibernate and when I make the post request I get a 500 Internal Server Error on post man that says I have a stack over flow issue.
@Data @Entity public class AppUser { @GeneratedValue @Id...
TLDR: Why does my Spark cluster fail to complete writes to a Delta table unless my Jupyter Notebook has access to the data location, contrary to my expectation that Spark should handle writes independently of Jupyter's data access?
I am using PostgreSQL and Hibernate 6, and I have a JSONB type column - values.
The question is, how can I define an entity with generic type for this field? Also, is there any way to map the correct class during deserialization based on the...
For my app, I am trying to pull a fresh location only once to show nearby points of interest. I don't want to pull a cached location because the points of interests are displayed in order of distance from the current location, so the most current...
I'm working on a stable matching problem implementation in Java, where the input is provided via a text file. The problem involves matching a set of men to a set of women based on their preferences.
In the Java programming environment, where each data type has a predetermined size, can it be inferred that objects also possess a fixed size post-initialization?
I've consulted ChatGPT and read numerous articles on the topic, but there seems to...
I am utilizing spotbugs to help review an oracle adf application for errors and vulnerabilities prior to deployment. Two of the malicious code vulnerabilities warnings spotbugs finds are:
classname may expose internal representation by returning...
For an assignment for my class, I have to implement an app that scans QR codes using Android Studio. I would like for the user to scan the the QR code using their camera (as opposed to taking a picture of the QR code and then scanning it). I am...
I'm trying to show a notification for extracted data. For some reason the data is successfully extracted but the notification is not shown. Mind you the notification is shown when not inside the onDataChange method.
im a software engineer student and i've been trying for the past 2 hours to figure out what happened when updated my netbeans to 21 with jdk-21 (windows), it won't let me do any new projects talking about problems with my SE?. Any help would be...
I implemented a small app with Android studio. the app has access to a camera. Afterwards i trained model with a pretrained dataset(yoloV5) in google Collab. Then i changed the pytorch model to in Tensorflow lite modell.
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения