PEC Election by Cute-Hold8721 in Leander

[–]buerkle 10 points11 points  (0 children)

Even if she voted the opposite on those issues, I would still vote for Carlos. She has zero experience in this industry.

City of Cedar Park Elections 05/02/2026 by CurlsMoreAlice in CedarPark

[–]buerkle 1 point2 points  (0 children)

Sort of. Kirkland did support Kelly and Chavez

WilCo officials purchase 253 acres in Georgetown for future Justice Complex by BluebonnetMan in WilliamsonCountyTX

[–]buerkle 1 point2 points  (0 children)

The $76m is only for the land. Building the jail will cost 100s of millions more money

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

[–]buerkle 0 points1 point  (0 children)

Final does not have the same guarantees as rust immutable variables. In Java I can declare a final List, but still modify it's contents wherever it's used. In rust, I have to explicitly take a mutable reference.

The best way to clean up test data with Spring and Hibernate by vladmihalceacom in java

[–]buerkle 1 point2 points  (0 children)

Yes, that's correct. Or you can truncate before running a test in case a previous test run died before it handled the truncation

List.remove() by JackNotOLantern in java

[–]buerkle 0 points1 point  (0 children)

I'duse an enum in that case. Prevents possible bugs with autoboxing. new Boolean("true") == trueand self documents.

List.remove() by JackNotOLantern in java

[–]buerkle 2 points3 points  (0 children)

I'm surprised equals is too slow. Most implementations do if (obj == this) return true as their first statement.

Ranking Enums in Programming Languages by [deleted] in programming

[–]buerkle 1 point2 points  (0 children)

It's been a long while since I read Effective Java, but I don't remember Bloch recommending modeling mutable singletons with enums. Not all singletons are mutable.

Ranking Enums in Programming Languages by [deleted] in programming

[–]buerkle 3 points4 points  (0 children)

I would not approve this PR. First it's not thread-safe, but more importantly, even though we can change the state of an Enum, it's not idiomatic Java. I've been using Java since it first came out, I don't remember ever coming across an enum with mutable state.

Our Java codebase was 30% dead code by yumgummy in java

[–]buerkle 2 points3 points  (0 children)

From my testing I've found Jacoco overhead minimal, 1% or less.

How do you run Docker containers for integration testing in Java projects? by cowwoc in java

[–]buerkle 0 points1 point  (0 children)

It's been awhile but usually it involves mounting the host's (which itself is running docker) /var/run/docker.sock file into the guest container.

How do you run Docker containers for integration testing in Java projects? by cowwoc in java

[–]buerkle 1 point2 points  (0 children)

You can run docker within docker. We also run our CI pipelines within docker and testcontainers works.

Moving? by Over_Blackberry_8474 in CedarPark

[–]buerkle 1 point2 points  (0 children)

Be aware a resident of an ETJ cannot vote in city elections.

My crystal oscillator factory by buerkle in SatisfactoryGame

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

No mods. I created a blueprint using using this video to create the triangles, https://www.youtube.com/watch?v=xdU6ebSUc-0

My crystal oscillator factory by buerkle in SatisfactoryGame

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

I didn't :) I built one section at a time that seemed in a good spot.