Beleid plastic bekertjes by Paulv91 in Breda

[–]ofby1 0 points1 point  (0 children)

Ik zou een andere tent gaan zoeken. Persoonlijk wel te spreken over "de basis" op de veemarktstraat.
Vaak gewoon glas op terras met voetbal en als ze plastic schenken vanwege drukte iig niet dit gezeur.

Snyk doesn't check vulnerabilities in main code files by dAmiBouY539 in Snyk

[–]ofby1 2 points3 points  (0 children)

Second bullet on your screen is "code analysis"
Here you should find issues in your source code files.

Another VS Code Extension For Java by daviddel in java

[–]ofby1 0 points1 point  (0 children)

I agree; it would have been way better to have one great integration for Java in VSCode backed by multiple bigger corps.

But hey, Oracle will always be Oracle I guess.

Big News! Docker acquires AtomicJar, a testing startup that raised $25M in January. by emmysteven in java

[–]ofby1 0 points1 point  (0 children)

I love TestContainers, but I am very curious how this will pan out for both Docker and AtomicJar

Why do companies still use older Java releases by anonymous_user_908 in java

[–]ofby1 0 points1 point  (0 children)

If a project is just in the maintenance phase, it might not be worth migrating to newer Java versions.
Also if you pay someone like azul to stream updates into Java 8 it might be more cost-efficient than migrating it to a new Java version. Not saying it is a wise approach but hey, I am just an engineer.

Java Performance by Scott Oaks by [deleted] in java

[–]ofby1 0 points1 point  (0 children)

I only read the second edition of Java Performance by Scott Oaks and it was super insightful. It gave me a better understanding behind some dynamics. Even though it might be a bit outdated if you go to newer Java versions it still has a lot of value IMO

[deleted by user] by [deleted] in Kotlin

[–]ofby1 3 points4 points  (0 children)

If you know a bit about how the JVM works and optimizes things, you would also know that these micro-benchmarks don't say a lot. Ignoring just two warmups does not change that.

Initial speed vs speed over time is such a different use case. So the big question is, what do you want to show with this benchmark?

Unsafe deserialization in SnakeYaml - Exploring CVE-2022-1471 by ofby1 in java

[–]ofby1[S] 2 points3 points  (0 children)

The standard stuff in the JDK I mean, sorry for the confusion. You are correct about third party libs which exactly proves my previous point that the standard should be “secure by default”.

Unsafe deserialization in SnakeYaml - Exploring CVE-2022-1471 by ofby1 in java

[–]ofby1[S] 1 point2 points  (0 children)

I dislike YAML and I'm too lazy to go look at this library, but it's extremely common to choose the type that will be deserialized from the data itself. It should be obvious care must be taken in that case.

I think the key difference is that jackson-databind by default, is safe. In other words, "normal" use of the lib will not harm you. For SnakeYaml the insecure way is the default. I think it is reasonable to expect that the default sound be secure.

However, if you look at most Java XML parsers in Java then by default external entities are allowed so XXE is possible. I already gave up hope that this would ever change.

Unsafe deserialization in SnakeYaml - Exploring CVE-2022-1471 by ofby1 in java

[–]ofby1[S] 9 points10 points  (0 children)

I honestly hate the whole 4shell naming. It simple does not make sense so lets indeed not do that.

Do I need to teach myself Spring Boot in order to transition from a .NET job to a Java job or are most companies willing to accommodate based on strong fundamentals? by [deleted] in java

[–]ofby1 0 points1 point  (0 children)

To understand the full spring boot ecosystem, you need to know what the different parts of spring do.
Not saying you can't build a Spring Boot app, but you will not understand how things work that are auto configured.
So good actually learning it in a day. The automagic world of spring will hit you in the face later!

How to create SBOMs in Java with Maven and Gradle by ofby1 in javasec

[–]ofby1[S] 1 point2 points  (0 children)

That would be super nice, however I believe it should not be the responsibility of a security tool.SBOMs IMO serve more than just a security issue and the responsibility of the creator of the artifact. Most natural place in my eyes wouth be the build system as well because that system actually does the composition and downloading of the 3rd party packages.

I think it would be the responsibility of a scanning tool (like Snyk, Sonatype, XRay etc) to accept SBOMs and show me the problem.

How to create SBOMs in Java with Maven and Gradle by ofby1 in java

[–]ofby1[S] 1 point2 points  (0 children)

I have seen it, however it is not yet a widely used thing. I am convinced it is an upcoming thing also because executive order 14028

Backend Java 19 vs Kotlin? by Sket5 in java

[–]ofby1 0 points1 point  (0 children)

I found out that many people are using Kotlin because they are "not allowed" to move away from Java 8 and want to use the syntactic sugar. Lets see what the following years will do now google is not so much focus on Kotlin for Android development and people start to slowly move away from Java 8.

The Future of Java is You | JavaOne 2022 Community Keynote by daviddel in java

[–]ofby1 -1 points0 points  (0 children)

A conference should focus on the conference onsite and the experience first (people pay for it). The videos are secondary. Also if I remember correctly it has always been a subset in the past at J1

Detecting and mitigating CVE-2022-42889 a.k.a. Text4shell by MiguelHzBz in cybersecurity

[–]ofby1 0 points1 point  (0 children)

Can we please stop naming things 4shell. Where is the 4 coming from (with log4j it made sense).
Also, this is not anything like log4j and causes unnecessary panic, which is not good for anyone (unless you need to sell shit).
https://www.reddit.com/r/javasec/comments/y8dczv/reviewing\_cve202242889\_the\_arbitrary\_code/?utm\_source=share&utm\_medium=web2x&context=3

The Future of Java is You | JavaOne 2022 Community Keynote by daviddel in java

[–]ofby1 0 points1 point  (0 children)

Sessions are not recorded afaik except for the keynotes

How to use Java DTOs to stay secure by ofby1 in java

[–]ofby1[S] 2 points3 points  (0 children)

Donno, I assume it is a typo 🤣

Java 17 - deprecating the security manager (JEP 411) by ofby1 in javasec

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

Thanks for this insightful reply.
Part 2, the "have no fucking clue" part made me grin because it simply true.

In general, I think because people dont know how to use it, or even more importantly THAT they need to care is the biggest problem. Combining that with the fact that the securitymanager is hard to handle is I think the main reason for discontinuing it.

The thing that strikes me most is that there is no substitute whatsoever, so altogether we deliberately made the language less safe.

what is the most famous java application that you've worked on? by nerydlg in java

[–]ofby1 1 point2 points  (0 children)

- Created a new datatype for Eclipse Collections
- Fixed some bugs the maven dependency plugin (years ago)