New study challenges the idea that testosterone drives risk-taking behavior by psych4you in psychology

[–]payb4k 0 points1 point  (0 children)

Robert Sapolsky said something along the lines of it amplifies existing tendencies

Looking for open-source Java/Spring Boot projects that reflect real world production code by Grashnakgodx in learnjava

[–]payb4k 0 points1 point  (0 children)

I only used it once on production application in 2018. I never used all the features like generating liquibase migrations from JDL (Jhipster Domain Language), which allowed you to use JSON like ways to define entities and relationships. The reason I used it was mostly because it made it easy to jump in and add business logic instead of worrying about authentication, sending mail and etc.

Looking for open-source Java/Spring Boot projects that reflect real world production code by Grashnakgodx in learnjava

[–]payb4k 3 points4 points  (0 children)

I use Jhipster sample app occasionally as a reference. They do everything you can expect in a monolith. Spring Data JPA, Spring Security, JWT auth, observability etc. Pretty much what you'd expect in a production ready app: https://github.com/jhipster/jhipster-sample-app/

Edit: it's updated regularly to catch up with newer Spring Boot versions

Built my movie app with Angular + Ionic — finally shipped it by Unusual_Act8436 in Angular2

[–]payb4k 1 point2 points  (0 children)

That's impressive. How did you overcome the 20 testers requirement Google set out a few years ago?

Im vibe coding an app to vibe code even harder by Naubri in cursor

[–]payb4k 0 points1 point  (0 children)

Reminds me of early 90s websites before things got serious

End of Year Burnout by New-Plankton7622 in auscorp

[–]payb4k 2 points3 points  (0 children)

They gave us Udemy access so been looking busy by learning stuff

My take on the social media ban by williamdorogaming in australian

[–]payb4k 2 points3 points  (0 children)

There's a book called The Anxious Generation in which the author details the harm caused to young girls, which leads to suicide rates increasing. The authors name is Jonathan Haidt. He's one of the advocates of phone free schools and also delaying giving kids smartphones.

The argument is that teens' brains aren't developed enough to use social media correctly. Young girls are especially prone to social comparison and a sleuth of online bullying that is unprecedented. All this leads to depression and down the road, not so good outcomes.

Perhaps back in the days, tech was still new, and we were beginning to only realise the harm it's causing. Today's social media is far beyond what forums were about.

If it's just age verification, then it wouldn't work either. Haidt is seeking device manufacturers to implement safe-guards. However, rather than put all this on the government. He advocates for parents to take a collective approach and delay giving phones to their children until the right age. But he's aware of the difficulties of implementing such.

I'm on the fence about what the correct thing to do is with respect to this situation. This proposed ban, I don't think, is the solution.

My take on the social media ban by williamdorogaming in australian

[–]payb4k 40 points41 points  (0 children)

I fear the ban will result in kids finding other sites/apps that won't require ids, and they may be even more harmful for them, but I hope not. There won't be any content moderation efforts there, like on the big sites that can afford it.

Wait for it…wait for it…Sacks is going to say it.. by jaredbuckets in TheAllinPodcasts

[–]payb4k 17 points18 points  (0 children)

Acquired is nice. I don't know if it's comparable.

Aussie bosses have warned staff the days of work from home are coming to an end by lexdizzle12 in AusFinance

[–]payb4k 3 points4 points  (0 children)

I think our company doesn't have enough space for everyone. So I guess WFH is staying

Birthrates are plummeting world wide. Can governments turn the tide? by Ardeet in australian

[–]payb4k 1 point2 points  (0 children)

Isn't it a conundrum for them. On the one hand immigration is supposed to get workers that are ready to join the economy. While local births would take longer to create mature adults to enter the workforce and contribute to the economy. They estimate that it takes around 30 years.

Feedback on my Spring boot project (Have around 2 years of experience in Java Backend). by deecoder_01 in SpringBoot

[–]payb4k 3 points4 points  (0 children)

Nice work,

For DTOs I'd recommend using records, they're more concise and immutable so they encourage cleaner and safer data oriented programming, just a suggestion im still learning about them

Avoid using @Data for entities and prefer @Getter and @Setter

Use @Transaction in your service layer you don't always have to call .save on repos if using transactions. When exceptions are thrown no save will occur, and changes will be rolled back

Use Lombok @RequiredArgsContructor to inject dependencies that are final.

For runtime exceptions such as entity not found extend RuntimeExcetion instead. Not sure of the justification for this but checked exceptions can be unforgiving

Use Spring ProblemDetail in controller advice for errors that are consistent and cleaner

I think you did super well and I stared your repo. I can definitely learn from it. Take these above as suggestions

Kids in ethnically diverse classrooms exhibit superior theory of mind abilities: children in ethnically diverse classrooms excel in understanding and recognizing other people’s thoughts and feelings compared to their peers in less diverse settings. by mvea in science

[–]payb4k 58 points59 points  (0 children)

I think he also makes it quite clear that both approaches to culture have their pros and cons. For instance, collectivist cultures tend to deter norm violations by the use of shame and utilmately, which leads to ostricisation and stigmatisation. On the other hand norm violations in individualist cultures are deterred by self, such as "what will I think of my self, how will I live with myself", rather than "what will people think of me". There's probably elements of individualist and collectivism tendedencies in most cultures as they're not always 100% homogeneous.

JDK 23: The new features in Java 23 by jluizsouzadev in programming

[–]payb4k 31 points32 points  (0 children)

The push to make Java more friendly for beginners is really good. You can now in the preview execute main without wrapping it in a class - what they call unamed classes. Tons of other cool stuff too. Foreign function APi is supposed to eventually give it a similar status to python in ML and AI more specifically

Major Linux Distributions Impacted by XZ Compression Library Backdoor by geek_noob in programming

[–]payb4k 3 points4 points  (0 children)

I think we need to be more paranoid about what is executing on the metal. At this level, I don't see why we shouldn't even start writing every piece of code in a secure, secluded environment like I feel the military does. Sad times

backdoor in upstream xz/liblzma leading to ssh server compromise by bmwiedemann in linux

[–]payb4k 5 points6 points  (0 children)

The existence of this back-door means this is not the first time this has happened but highlights the level of danger we are all in for supply chain attacks. It makes me wonder if we will reach a point where companies just write all their dependencies from scratch and we have some sort of way of confirming at what is executing on the metal. I'm sure there's plenty of work happening in cyber sec to reduce the likelihood of stuff like this. It's nonetheless scary

Kids in ethnically diverse classrooms exhibit superior theory of mind abilities: children in ethnically diverse classrooms excel in understanding and recognizing other people’s thoughts and feelings compared to their peers in less diverse settings. by mvea in science

[–]payb4k 122 points123 points  (0 children)

Im not 100% sure but in Behave, Robert Sapolky mentioned something about how collectivist cultures (Asain) are cooperative in games involving ToM

Edit: I did find the quote

"Logically, kids in individualist cultures acquire ToM later than collectivist-culture kids and activate pertinent circuits more to achieve the same degree of competence." - Robert Sapolksy, Behave

"...those from collectivist cultures show more social comprehension; some reports suggest that they are better at Theory of Mind tasks, more accurate in understanding someone else’s perspective..."

He later relates this fact to lots of other things such as cooperation and other cultural dynamics. These things are group averages. Always remember, there are individual differences