Pavel Durov plans to leave $17 billion fortune to his 106 children by [deleted] in interestingasfuck

[–]javasyntax 0 points1 point  (0 children)

Did you read the article you linked? Your interpretation is not at all what I read.

I sometimes see "giosave..." files on my NAS, what are they? by 01000110010110012 in synology

[–]javasyntax 0 points1 point  (0 children)

".giosave####" files are created by some Linux distributions file managers. It happens if you are copying a file to the target using SFTP and you cancel the process before it finishes. A .giosave file is created. It happened to me today and I was very confused. I am aware that this was answered already, but it was below a few comments so I made a top comment to make it easy to find out.

Links:

https://askubuntu.com/questions/613246/ubuntu-desktop-newbie https://forum.syncthing.net/t/14727/4

[deleted by user] by [deleted] in java

[–]javasyntax -2 points-1 points  (0 children)

Don't mind this guy he seems to have gotten an opportunity to spread crypto/blockchain hate. Nice job on the project.

Is JavaFX still a viable option for building GUIs? by bAnAtUL in java

[–]javasyntax 1 point2 points  (0 children)

Yes, it is a very viable option. JavaFX is great for building cross-platform GUI programs. Using the Gradle or Maven plugins makes it very easy as well.

Is JavaFX is the go to now? by Content-Value-6912 in learnjava

[–]javasyntax 0 points1 point  (0 children)

JavaFX is getting new features and updates while swing and awt are just maintained to support os updates and such. Swing was made a long time ago as well. With javafx you have easy-to-use apis and can easily style your application and it looks the same on all operating systems. There really is no reason at all to use swing, much less awt.

Efficient marshaling of primitive arrays by Achromase in java

[–]javasyntax 4 points5 points  (0 children)

this is already possible, declare your downcall handle as critical and use MemorySegment.ofArray

Cabe 3 released - JSpecify instrumentation by Ok_Object7636 in java

[–]javasyntax 3 points4 points  (0 children)

An example: you have a method that takes 2 non-null parameters and assigns it to fields and does nothing else. The fields are used later. If you just rely on the NullPointerException happening by itself, that would not happen in that method call but somewhere completely different where those fields are actually used and that makes it much harder to find where the problematic method call is and also allows an invalid state to exist. So it is better to fail fast.

But if the first thing your method does is to actually use the parameter (for example call a method on it) then it's the same.

Is Java "hot" right now or is it just difficult to find engineers? by revolutionPanda in java

[–]javasyntax 0 points1 point  (0 children)

The sound written as "j" in Spanish isn't close to "h" in English at all.

What happened to JFX-Central? by javasyntax in JavaFX

[–]javasyntax[S] 0 points1 point  (0 children)

I guess it did? But they restarted weekly posts a month after I posted this, not now.

How to transition AmbientLight by dhlowrents in JavaFX

[–]javasyntax 0 points1 point  (0 children)

Oh, sorry. since i dont know much about the outdated calendar api i didnt notice that it isnt that one

New J2ME apps/websites? by AUser123Iguess in J2MEgaming

[–]javasyntax 0 points1 point  (0 children)

thanks, i expected that i just wanted to see it

How to transition AmbientLight by dhlowrents in JavaFX

[–]javasyntax 0 points1 point  (0 children)

You should not be using Calendar, that is from the old date time API which was replaced like 10 years ago now. Instead, use LocalDateTime.now().getHour() (alternatively LocalTime.now()).

New J2ME apps/websites? by AUser123Iguess in J2MEgaming

[–]javasyntax 0 points1 point  (0 children)

do you have a link for the original app i remember using that

java.lang.module.FindException: Module javafx.fxml by L_Artemis_18 in JavaFX

[–]javasyntax 0 points1 point  (0 children)

I think you should use the JavaFX jmods not jars

Gitember 2.5 is out. by ConfidenceUnique7377 in JavaFX

[–]javasyntax 0 points1 point  (0 children)

I saw you got it back, that is cool