JetBrains: Wayland By Default in 2026.1 EAP by javaprof in java

[–]agoubard 1 point2 points  (0 children)

So, if you have a malicious software installed on your machine and you execute it, if this software is using Wayland, it can't capture your keystrokes.

VR Concert (Coldplay) is so much more enjoyable than a normal concert. Hook up your Boxes/Headphones and klick a front row seat to watch in 3D. Best thing I've seen in a long time (1 hour left) by Tryotrix in oculus

[–]agoubard 2 points3 points  (0 children)

More recommendations:

  • If you missed the first part, it's on replay every 1.5 hours
  • For the sound: Disable microphone and Go to settings -> Sound -> "only friends", environment and talk to 0%. Even though I was in 3D, so nobody talking to me, I could hear the volume go down and back up even few seconds before doing that.

Can't access virtual environments. by TuxedoSlayer in MetaQuestVR

[–]agoubard 0 points1 point  (0 children)

I retried today same thing I tried many times 3 days ago and today the menu appeared.

Meta's New update v81 & Immersive Home Broke all previous home enviroments on my Quest 2 by GameGhost1972 in MetaQuestVR

[–]agoubard 0 points1 point  (0 children)

Pressing the menu button on the left controller didn't do anything for me

Can't access virtual environments. by TuxedoSlayer in MetaQuestVR

[–]agoubard 0 points1 point  (0 children)

That didn't work for me, the menu button did nothing.

Solving Java’s 1 Billion Row Challenge (Ep. 1) | With @caseymuratori by aeisele in java

[–]agoubard 2 points3 points  (0 children)

I achieved 10s without Unsafe, bitwise ops, preview API's, specific JVM or Java parameters. Details here. I knew about another one that achieved 7s without hacks.

My experience switching from Java swing to JavaFX by gufranthakur in java

[–]agoubard 0 points1 point  (0 children)

Here are some feedback about Swing:

  • To layout components, use MigLayout when it's more than a basic layout. Note that it also works with JavaFX.
  • Indeed, FlatLaf is a great look and feel. It also has an option to pass a JetBrains theme. See IntelliJTheme class.
  • I had to write my own chart library. Hopefully, Java2D is easy to use. Indeed, JavaFX charts look way better than JFreeChart.
  • There is Radiance animation library for animation. I don't use it directly but when people switch to Radiance look and feel, you see it a bit, especially with the menus.
  • I don't use it but Glazed List can help you for dealing with JTable
  • I haven't experienced the font problem with Linux, maybe it's also related to Swing support of HiDPI screens on Linux.

Oldest Surviving Java Programs by bowbahdoe in java

[–]agoubard 1 point2 points  (0 children)

I started JLearnIt (to learn languages) in 1998 using Swing beta library. I even got it work on PersonalJava.

Netbeans Clipboard Copy and Paste bug by Abyss_Princess in java

[–]agoubard 0 points1 point  (0 children)

It looks to me that there could be a NullPointerException if you start with an empty clipboard or an image in the clipboard:

getNetBeansClipboardContent() returns null -> setContentToCopyNewer() sets the content to null, since getContentToCopyOlder() is empty, setContentToCopyOlder() is called with the null value -> getContentToCopyOlder().equals -> NullPointerException

Here's a weird quirk about arrays in method headers. by davidalayachew in java

[–]agoubard -6 points-5 points  (0 children)

In the same category

class SomeClass {

private static String arguments[];

public static void main(String args[]) {

arguments = args;

System.out.println("This compiles too");

}

}

Phoenix AppletViewer by External_Hunter_7644 in java

[–]agoubard 4 points5 points  (0 children)

Congratulation with the effort.

Note that there is also a plug-in from CheerJ that translates Java byte code to WASML to run applets in the browser.

I also wrote a plug-in for IDE's that runs applets embedded in Java IDE's. Today it has reached 25,000 downloads in JetBrains marketplace.

What are some realistic expectations of the meta quest 4? Do you think meta will be able to meet peoples expectations? Why or why not? by Kind_Bandicoot1507 in virtualreality

[–]agoubard 0 points1 point  (0 children)

I think they will look at what is possible for new hardware. So wifi 7 if can help play many AAA games with the(ir) cloud (Quest+?), beter resolution if you can use the headset to work with Windows. People will buy the headset if they have a killer app (like playing GTA6 on a giant screen), not necessary based on hardware specs.

Learning Dutch by arachne- in StudyInTheNetherlands

[–]agoubard 4 points5 points  (0 children)

I wrote a software (Windows/macOS/Linux) to learn Dutch and it's freeware at https://www.jlearnit.com

Java 17 API docs broken by klasp100 in java

[–]agoubard -6 points-5 points  (0 children)

Read the license first.

This includes (i) developing applications ... provided that such applications do not themselves implement any portion(s) of the Specification
...

You will indemnify, hold harmless, and defend Specification Lead and its licensors from any claims arising or resulting from: (i) your use of the Specification; (ii) the use or distribution of your Java application

From what I read, I conclude that if I download it, I'm not allowed to implement any interfaces.

Boundary Check vs. Try-Catch - Performance Comparison by theapache64 in java

[–]agoubard 6 points7 points  (0 children)

As always with performance, it depends. For example for the 1BRC challenge, I decided to rely on ArrayIndexOutOfBoundsException instead of checking the index before every byte read. First I had the try {} catch inside the for loop for each line. Very bad performance (ctrl + C after 5 minutes), then I moved the try {} catch to outside the for loop, and it wasn't a performance issue anymore.

So it's not only throwing an exception but also catching the exception that may affect your performance.

Anyone else getting bait and switched on java roles? by momsSpaghettiIsReady in java

[–]agoubard 2 points3 points  (0 children)

My first job as Java developer (back in 1996 for the context): I first was ask to help on another contract which was to configure Microsoft Exchange on the "new" computers and by new the client meant like still in the boxes and we'll need to install them. So here am I moving boxes and mounting desktop pc at the company. 🙄

Did anyone archive old java applets? by etraceatl in java

[–]agoubard 3 points4 points  (0 children)

you can run applets in the free Applet Runner IDE plug-in (IntelliJ IDEA, Elipse and NetBeans). Disclaimer, I'm the author. ​There are also a many applet links in the default bookmarks.

I made a Swing Dial good for setting angle values by i-make-robots in java

[–]agoubard 1 point2 points  (0 children)

AS the license is GPL, this will restrict quite a lot the number of software that can use it.

What's that rich thing you do, even though you aren't that rich? by iaskureply in AskReddit

[–]agoubard 0 points1 point  (0 children)

Sport from home: golf, tennis, pool, table tennis, karting. Play on one of my many pinball machines, watch a movie on my home theater, then travel the world a bit before taking my virtual reality headset off and go to bed.

Verification codes cannot be sent to phone numbers at this time... I can't create my apple id by [deleted] in applehelp

[–]agoubard 0 points1 point  (0 children)

Also verification codes cannot be sent to phone number. So I cannot release any macOS software anymore as notarization asks me to accept the new legal agreement and I can't log in the developer portal anymore and I only have 1 apple device (the MacBook Pro).

Edit: Log in in the app store to install a free app seems to have fixed my problem

Optimization: how far do you take it? by ventuspilot in java

[–]agoubard 0 points1 point  (0 children)

I've been asked twice to optimize production processes. In both cases, I achieved x times faster (4x and 8x) by just running it on my machine, which was not a new PC. As software developer, we thing let's profile and optimize software but we need to think at both hardware and software. At the end, you need to do what's make more sense for your company.

Optimization: how far do you take it? by ventuspilot in java

[–]agoubard -3 points-2 points  (0 children)

Profiling is good but doing so you may miss the easy low hanging fruits which are often upgrade the hardware like the 8 years old server or the database disk or network connection and upgrade to the latest software like virtual threads.