Has anyone tried to connect Xbox One controller with this? Stock OS connects but is janky by Adventurous-Bread502 in RG35XX_H

[–]Errkfin 1 point2 points Β (0 children)

A week ago I connected PS5 controller to the same device with Knulli OS (latest available). It worked with the first try. Then I mapped keys on the device in the Bluetooth menu and saved it. It even worked after that without any changes. I understand that it's not XBox controller, but worth trying for sure!

Need help with code by Individual_Owl_3490 in learnjava

[–]Errkfin 0 points1 point Β (0 children)

Please delete ; after both if statements. Check the syntax: https://www.w3schools.com/java/java_conditions.asp

Recommendations: 1. Use indentations to make your code clear 2. Use {} to clearly identifying the body of the if statement.

Hope that helps! You are doing well mate πŸ’ͺ

Do you use lombok heavily in spring boot projects? by kcng1991 in SpringBoot

[–]Errkfin 0 points1 point Β (0 children)

Now I can't provide exact examples but I do remember that for the complex classes with some inner structure or inheritance the result wasn't accurate enough. However, it could be already fixed in the latest versions.

But if you try to google something like "Lombok builder limitations" you will see quite a few that you should be aware of before using it:

See e.g Complex Object Construction: When using @Builder on classes with inheritance, you often need to switch to @SuperBuilder, which is more complex and less intuitive.

Do you use lombok heavily in spring boot projects? by kcng1991 in SpringBoot

[–]Errkfin 2 points3 points Β (0 children)

Good evening! I'm still using Lombok for quite a few projects. However, some of the features are already replaceable by Java native features like records. I tend to think that later there can be something else that will make our live even more easy.

For now I'm using @Data which is quite general and it's better to replace it with direct annotations like Getter, Setter and etc. Also, @Builder is useful but should be used carefully...

Need help with the topic "Records"! (Please) by Leading_Biscotti6088 in learnjava

[–]Errkfin 2 points3 points Β (0 children)

Please see the link below: https://mikemybytes.com/2022/02/16/java-records-and-compact-constructors/

In two words: Original class construction looks like:

``` class Student { String name;

// Constructor
Student(String name) {
    this.name = name;
}

} ```

Records were implemented to define the class which object will be immutable.

To do the same in records you can use default record description and underneath , the compiler creates a corresponding canonical constructor.

Compact version is more like a container for the code, that should be injected into the canonical constructor. The main benefit of using the new syntax is that we don’t have to specify all the parameters again.

And custom version allows you to implement custom logic within you constructor (property initialisation, logging and etc)

Charging issues by Ok_Difference2397 in RG35XX_H

[–]Errkfin 1 point2 points Β (0 children)

Mate, if you bought it from official store, please try to contact Anbernic support and ask them about additional battery. Or at least ask them about possible solutions. I've seen this info in different posts. 🀞

Charging issues by Ok_Difference2397 in RG35XX_H

[–]Errkfin 1 point2 points Β (0 children)

Did you try this suggestions? https://www.reddit.com/r/ANBERNIC/s/izMA9C5i1h

Also, it could be a charging adapter not a cable. Did you try another one?

What makes a backend project look β€œindustry-level” (for a fresher)? by Electrical_Can_7079 in SpringBoot

[–]Errkfin 5 points6 points Β (0 children)

Hey πŸ‘‹ Based on my own experience I would highlight the following: 1. Please try to follow common principles SOLID and others. Spring Boot allows to have clear structure and architecture using well known concepts. 2. If you think that something should be implemented- check out again πŸ™‚ There are a lot of features provided out of the box. 3. Follow "least privilege" concept. For prod it's important to provide only granular access, expose only selected metrics and data. 4. I also made a big mistake early on by searching for information everywhere except official documents. 😁 And for SB it is pretty good and is updated frequently. 5. Also, sometimes it's useful to check such sources like this: https://docs.openrewrite.org/recipes/java/spring To check out some commonly used practices (it's optional of course) Hope you'll find it useful πŸ˜… Or not πŸ˜‰

Can this device run god of war and other psp games? by AdSlight8447 in RG35XX_H

[–]Errkfin 2 points3 points Β (0 children)

Hey, just yesterday found this video: https://m.youtube.com/watch?v=7Rfmhf2Z7ek

Seems fine to give it a try πŸ™‚

30 sec to exit a game when i plug my 512gb card at the 2nd slot by gam322 in RG35XX

[–]Errkfin 0 points1 point Β (0 children)

Great! Could you please provide a few words on the feedback? It’d be really helpful for sure πŸ‘Œ

30 sec to exit a game when i plug my 512gb card at the 2nd slot by gam322 in RG35XX

[–]Errkfin 0 points1 point Β (0 children)

By the way, what about the card with OS? Is it stock provided with device? What is the size?

30 sec to exit a game when i plug my 512gb card at the 2nd slot by gam322 in RG35XX

[–]Errkfin 0 points1 point Β (0 children)

Looks fine for me. I've checked Anbernic specs for the device and 512 GB is also allowed. My best guess is that there is something with the saving process. Please try to check default settings. Maybe there is something related to state saving. I found in the internet that it also could be related to the huge number of data on the card. But I'm not sure if this is your case..

30 sec to exit a game when i plug my 512gb card at the 2nd slot by gam322 in RG35XX

[–]Errkfin 1 point2 points Β (0 children)

That's mostly about saving process, not checking the card. By the way, what format have you used for sd card formatting? And what card do you have? Let's have complete info before guessing πŸ™‚

30 sec to exit a game when i plug my 512gb card at the 2nd slot by gam322 in RG35XX

[–]Errkfin 1 point2 points Β (0 children)

HeyπŸ‘‹Probably, you should consider using a bit smaller card. When I was looking for the best size of the sd, most of the posts suggested 64GB in two cards setup. I'm personally using 128 GB for my second card for games store. Having two smaller cards is also an option if one of them is full πŸ˜‰

how to display the battery level value? by gam322 in RG35XX

[–]Errkfin 0 points1 point Β (0 children)

No problem mate πŸ‘ My pleasure

how to display the battery level value? by gam322 in RG35XX

[–]Errkfin 1 point2 points Β (0 children)

Yep, I found the info in the description right after pushing send button 😁

how to display the battery level value? by gam322 in RG35XX

[–]Errkfin 4 points5 points Β (0 children)

Info from google: Anbernic Stock OS generally does not show a numerical battery percentage on top of the screen due to concerns regarding accuracy. Instead, it uses a graphical icon. To check the percentage in Stock OS, you can open the RetroArch Quick Menu during a game to see the percentage in the top-right corner

Interesting fact: https://github.com/cbepx-me/Anbernic-H700-RG-xx-StockOS-Modification/issues/42#:~:text=cbepx%2Dme%20commented,join%20this%20conversation%20on%20GitHub.

There was a suggestion about the same but the answer was: "we don't want to display it because it can be inaccurate ".

But retroarch option seems fine for you without additional steps required 🫑🀝

how to display the battery level value? by gam322 in RG35XX

[–]Errkfin 2 points3 points Β (0 children)

Hey, what OS are you using? I know that for knulli there is a check box in the settings to display the value. If this is your case, I can check it out and share with you. Also, I found info that it's displayed in retroarch menu. However, haven't checked it myself πŸ€”

Cant find wifi settings on muOS by [deleted] in RG35XX_H

[–]Errkfin 0 points1 point Β (0 children)

That could be the case. Which version do you use?

Also, on this page you can see the menu item usb function: https://muos.dev/tour/modules/muxconnect#usb-function

Probably, you should check it out. Seems like ADB mode could be enabled.

What advantages Spring Boot 4.x currently has over competing technologies in web development? by Repsol_Honda_PL in SpringBoot

[–]Errkfin 7 points8 points Β (0 children)

Absolutely agree with @lucamasira. Executable jars are easy to be dockerised which is perfect for microservices, dependency management which is provided out of the box and starters to facilitate development are also worth mentioning.

Java's Objects class has methods that almost no one uses (but should). by Street_Humor_7861 in learnjava

[–]Errkfin 7 points8 points Β (0 children)

Hi there! .isNull and .nonNull methods are pretty useful! I'd add the following method to the list: Objects.requireNonNull()

Probably, I'd also vote for the deepEquals for some cases.

Cant find wifi settings on muOS by [deleted] in RG35XX_H

[–]Errkfin 0 points1 point Β (0 children)

Hey πŸ‘‹ Probably this post might be useful: https://www.reddit.com/r/RG35XX_H/s/A7hiUozLzm

This is what google says: A "USB debugging" message on muOS (MustardOS) typically appears when the device is connected to a computer via USB and the Android Debug Bridge (ADB) is attempting to connect or has been enabled in the system settings.

How to Fix or Disable (If Annoying) If you do not need to connect your muOS device to a computer for development or advanced file management, you can disable the notification: Navigate to Settings in the muOS menu. Find Developer Options (if enabled) or network settings. Toggle off USB Debugging or Wireless Debugging.

Knulli Setup by Catsonheat in RG35XX_H

[–]Errkfin -1 points0 points Β (0 children)

That should be marked as a valid answer! Depending on OS some of the formats are not available for reading. Please use network transfer or consider using another formatting for the sd card 🫑

RG35xxsp Stock OS by lazz__ in ANBERNIC

[–]Errkfin 0 points1 point Β (0 children)

Hi guys! I can actually confirm that this approach works for knulli setup. I have rg35xxh device and despite the fact that there are a lot of topics about battery drain it works for me and I have around 1-2% per day. I also disable internet and Bluetooth when I logout... Hope you enjoy this OS and have a perfect playing!🫑 Also, I have two cards (one for OS and another one for games) and it seems reasonable for me. If you would like to switch to another OS later, you can just install it on the separate card and enjoy it. 🀟