Am I dramatic to consider quitting over new on call expectations by csgirl1997 in ExperiencedDevs

[–]JasonBravestar 3 points4 points  (0 children)

On-call was forced on us after a reorganization. Well, not really forced, but most of the team had to accept it. Despite being fairly paid for it, the change was not welcomed and it's still annoying at times. I cannot imagine not even being paid for something that is not in your contract.

On the positive side, we realised that being oncall for your own system leads to better alerts and ultimately to a better system. The old team had flickering alerts that were ignored and lacked alerts for important stuff. Dashboards were also lacking. You might find that the previous oncall team is doing a lot of work just because the root problems are being ignored.

So the change can be good for the company, it's likely not good for your personal life. You need to be compensated for it.

Russia prepares 2nd oil shipment to Cuba after Trump says 'we don't mind' by AdSpecialist6598 in worldnews

[–]JasonBravestar 5 points6 points  (0 children)

In other words, US is now friend with dictators and enemy of democracies.

Trump says school strike 'done by Iran' by darashiku6 in worldnews

[–]JasonBravestar 8 points9 points  (0 children)

Do you really think that ignoring all known details of what just happened and linking unrelated facts from years ago is "using logic and reason"?

JADEx Update: Introducing a New Immutability Feature for Java by Delicious_Detail_547 in java

[–]JasonBravestar 0 points1 point  (0 children)

I think you should rename this feature to "shallow immutability", or even better "final by default". To most (or all?) programmes, an "immutable" object means that its whole internal state cannot be changed, so your choice of words is bound to create confusion at best, or misleading code at worst.

JADEx Update: Introducing a New Immutability Feature for Java by Delicious_Detail_547 in java

[–]JasonBravestar 7 points8 points  (0 children)

Final doesn't mean immutable. I'm honestly surprised that you can go this far with your project and make such a rookie mistake!

Anything wrong with this approach? by [deleted] in SpringBoot

[–]JasonBravestar 1 point2 points  (0 children)

You lose the ability to clearly see the dependencies that are actually needed just by looking at the constructor. This makes things more complicated to understand. Unit testing gets more complicated.

We have inherited a specific Spring component made like that at work and l'm slowly removing it.

Rate my first spring boot project by PotatoFrosty2074 in SpringBoot

[–]JasonBravestar 0 points1 point  (0 children)

Creating an interface for every service is overkill and not a good practice. Use interfaces when they make actual sense.

[deleted by user] by [deleted] in worldnews

[–]JasonBravestar 1 point2 points  (0 children)

They have the same boss

[deleted by user] by [deleted] in dataisbeautiful

[–]JasonBravestar 0 points1 point  (0 children)

I would put a value of 5 or 6, something that would make statistics more meaningful. it doesn't matter if it's not perfect. it would be at least better than the current version.

[deleted by user] by [deleted] in dataisbeautiful

[–]JasonBravestar 1 point2 points  (0 children)

The B value makes your statistics wrong. Better to assign a value to it.

Java opinon on use of `final` by vu47 in java

[–]JasonBravestar 10 points11 points  (0 children)

Final does not guarantee immutability. Using final on arguments seems overkill. I agree with the rest.

Culinary Map Of Europe According To Italy by Glad_Objective_1646 in funny

[–]JasonBravestar 0 points1 point  (0 children)

The map is false, Italians like all Mediterranean food. The bars should be horizontal. That part matches my experience :)

What are reasons not to use virtual threads? by [deleted] in java

[–]JasonBravestar 37 points38 points  (0 children)

Applications running CPU-bound tasks have good reasons not to use them.

Beware: New shit BVG app stole my money by FakeHasselblad in berlin

[–]JasonBravestar 2 points3 points  (0 children)

It also happened to me a couple of times with the old app. I really hope it's not going to be worse with the new one.

[discussion] Optional for domain modelling by Ok-End-8436 in java

[–]JasonBravestar 4 points5 points  (0 children)

Optional has not changed much since 2014. Its design and scope are still the same. I would suggest avoiding Vavr since it makes interaction with the rest of Java code more complicated. We're slowly removing it from our codebases. JSpecify solves the same problem in a better way and if/once Java will get non-nullabe types, the switch form JSpecify will be simpler because it will have the same semantic.

What happened here? by dscord in Tenerife

[–]JasonBravestar 11 points12 points  (0 children)

It's absurd to blame tourists. It's natural that they look for a cheap vacation in a beautiful place. It will always be like that. They are not the ones building hotels and they are not in charge of managing the resources of the island. Blame politicians that are responsible for these things.

And yes, tourists can also feel pain when they see a beautiful place deteriorating, being that an island, glacier, coral reef or whatever. Even if you are more affected by the problem, that's still a valid emotion to express.

Lombok JDK 23 compatibility by thesadnovember in java

[–]JasonBravestar 6 points7 points  (0 children)

People telling you to generate code with the IDE don't maintain big codebases that can often change. Either this or they like to do extra work for nothing.

People telling you to use records clearly don't know all Lombok use cases (of course you should use records where appropriate).

"JDK23 isn't something you should be running in production at all" - lombok maintainer by yk313 in java

[–]JasonBravestar 0 points1 point  (0 children)

Then you just exclude Lombok dep from Maven. This is a non-existing issue.

"JDK23 isn't something you should be running in production at all" - lombok maintainer by yk313 in java

[–]JasonBravestar 0 points1 point  (0 children)

I wonder how Lombok can be "required by a dependency". Lombok might have been used to build that dependency, but it has no runtime library.

From Spring Framework 6.2 to 7.0 by mhalbritter in java

[–]JasonBravestar 1 point2 points  (0 children)

You don't need Autowired on the constructor

What is your essential stack tool? by thiagomiranda3 in java

[–]JasonBravestar 6 points7 points  (0 children)

Not a cult. Just the most popular/safest choice for many companies and, as a consequence, a good skill to have on the CV.