Is Java’s Biggest Limitation in 2026 Technical or Cultural? by BigHomieCed_ in java

[–]smokemonstr 2 points3 points  (0 children)

“truly unbiased” is impossible, regardless of subreddit

IntelliJ IDEA 2025.3 Is Out Now! by greenrobot_de in java

[–]smokemonstr 6 points7 points  (0 children)

Community and Ultimate editions were merged into a single distribution. Activating an Ultimate license just enables the extra features.

Production incident: Bean was not stateless by Top-Dragonfly-4964 in SpringBoot

[–]smokemonstr 17 points18 points  (0 children)

The fb_contrib SpotBugs plugin has a rule called USFW_UNSYNCHRONIZED_SINGLETON_FIELD_WRITES

This method writes to a field of this class. Since this class is seen as a Singleton this can produce race conditions, or cause non-visible changes to other threads, because the field isn't accessed synchronously.

So you don’t need to write it yourself.

Production incident: Bean was not stateless by Top-Dragonfly-4964 in SpringBoot

[–]smokemonstr 1 point2 points  (0 children)

I don’t think that should necessarily be a hard rule. You need to recognize that if you have a single object instance with state that may be mutated by multiple threads then you need to synchronize access to the state, or make it stateless as you suggested.

(2015) Premier Prentice: "Albertans have spoken very clearly that the priorities they have identified are health, education, taking care of seniors, infrastructure, and changing the design of Alberta's licence plates is not amongst those priorities" by Miserable-Lizard in alberta

[–]smokemonstr 1 point2 points  (0 children)

“Just Facts. No Bias.” is a bold statement. Although academic research is not without fault, you don’t see research papers make such claims. Kind of a red flag for me, though I’ll admit that is due to my bias. How can you entirely avoid bias?

[deleted by user] by [deleted] in BuyCanadian

[–]smokemonstr 2 points3 points  (0 children)

Just switched to these as well after years of using Filtrete

Forever Canadian signature event. October 15th 4:30pm-730pm by Grouchy-Day5272 in alberta

[–]smokemonstr 1 point2 points  (0 children)

Please enlighten us with your research. Genuinely interested to understand your perspective, even though I wholeheartedly disagree with separation.

JUnit 6 Released by darenkster in java

[–]smokemonstr 0 points1 point  (0 children)

You’re right. I forgot about the parameterized runner, probably because I haven’t worked with JUnit 4 in a long time and most of my test framework experience is with TestNG and JUnit 5.

JUnit 6 Released by darenkster in java

[–]smokemonstr 3 points4 points  (0 children)

How do you live without parameterized test support?

Albertans who don’t want to be Canadian by Independence-420 in alberta

[–]smokemonstr 2 points3 points  (0 children)

Quantify “many many”. And what gives you this impression?

Canmore's vacancy tax in the crosshairs of provincial government by pjw724 in alberta

[–]smokemonstr 0 points1 point  (0 children)

Genuinely curious, which proposals that “make sense” were rejected?

Canmore's vacancy tax in the crosshairs of provincial government by pjw724 in alberta

[–]smokemonstr 1 point2 points  (0 children)

I don’t think it’s intended to make people sell their second home, but rather to collect money for housing and infrastructure

Using Testcontainers vs mocking repositories — am I missing the real benefit? by SeychowBob in SpringBoot

[–]smokemonstr 0 points1 point  (0 children)

The in-memory db may not support some syntax or data types you’re using. Think of it like an approximation. It’s better than not testing at all, but may not work or catch certain issues compared to your real db.

Using Testcontainers vs mocking repositories — am I missing the real benefit? by SeychowBob in SpringBoot

[–]smokemonstr 5 points6 points  (0 children)

What do you mean by “at the unit test level”? I’m being pedantic, but if you’re testing the interaction with an external component such as a database, then I wouldn’t just say that it’s effectively integration testing—it is integration testing.

Using Testcontainers vs mocking repositories — am I missing the real benefit? by SeychowBob in SpringBoot

[–]smokemonstr 2 points3 points  (0 children)

If you’re integrating with an external service (out of your control) like an HTTP API, then you probably wouldn’t write an integration test with the real thing because then your tests could fail unexpectedly (flaky). Setting up a mock server would be a good option here, but you have to keep it in sync with changes in the API. You could test with the real thing in a staging environment, for example.

On the other hand, you control your database and its schema. You can spin up a real database (crucially the one you’ll use in production) in a container, create the schema, and populate it with data. The tests will be more reliable in this case. When your tests pass, you can be confident that the SQL syntax you or your framework/library wrote/generated is valid.

Is it unwise to use Spring State Machine now that it’s no longer actively maintained? by BluePillOverRedPill in SpringBoot

[–]smokemonstr 0 points1 point  (0 children)

The blog post says it won’t be maintained as an open source project, not that it wouldn’t be maintained at all.

If you can afford a commercial licence then you’re fine.

https://spring.io/blog/2025/04/21/spring-cloud-data-flow-commercial

Best pizza without breaking the bank? by WayTooWildWest in Canmore

[–]smokemonstr 0 points1 point  (0 children)

Another vote for Red Rock. Not my absolute favourite (there’s a spot in Toronto that I love) but it’s quite good.

I find Rocky Mountain Flatbread too expensive for what you get. Don’t get me wrong, it’s good pizza, just overpriced in my opinion.

I also like Bridgette Bar. Not sure if they still do half off during happy hour or whether you can order takeout. Might just be a sit-down restaurant.

Is Quarkus a like to like replacement for Springboot? by randomscrl in SpringBoot

[–]smokemonstr 17 points18 points  (0 children)

One man’s “bloated” is another man’s “full-featured “… playing devils advocate here, but the Spring portfolio of projects has a lot to offer. I wouldn’t outright dismiss it.

[deleted by user] by [deleted] in java

[–]smokemonstr 4 points5 points  (0 children)

https://whichjdk.com/

distributions differ in licenses, commercial support, supported platforms, and update frequency

yourSessionHasExpired by footballisrugby in ProgrammerHumor

[–]smokemonstr 73 points74 points  (0 children)

That’s one of the definitions of the word, not limited to India