bradboimler

joined 1 year ago
[–] bradboimler@lemmy.world 12 points 10 hours ago (2 children)

How did I not notice that??

[–] bradboimler@lemmy.world 1 points 1 day ago* (last edited 12 hours ago) (1 children)

I moved from Debian unstable to NixOS this past Saturday. It's been...interesting. I'm fighting the urge to run screaming back to Debian.

I tried purging Git from my system last night as an experiment. Try as I might I couldn't get all references to it to disappear from the Nix store. I disabled it from configuration.nix and Home Manager. Removed all system and Home Manager generations except the current. Still there after various combinations of nix-channel --update, nixos-rebuild switch, and home-manager switch.

[–] bradboimler@lemmy.world 2 points 1 week ago

THE Brad Boimler?

Sup

[–] bradboimler@lemmy.world 2 points 1 week ago* (last edited 1 week ago) (2 children)

Reaching the top of the mountain in Celeste was pretty awesome too now that I'm thinking about it

[–] bradboimler@lemmy.world 3 points 1 week ago* (last edited 1 week ago) (3 children)

Not the greatest of all time I don't think, but the greatest in recent memory

At the end of Chapter 12 of the Entropy Centre I really felt like I was saving the world against all odds. And Chapter 13 immediately after was a trip in a good way. If you're curious, having a good setup (TV, speakers) helps a lot.

[–] bradboimler@lemmy.world 3 points 2 weeks ago

Sure, the pixelated look is "simplistic" but I don't feel it detracts from the gameplay. It's deep, your choices are interesting and significant, and it's oh so addicting. And most importantly, it's fun! I recommend it to friends and they think it's fun.

Balatro has received universal acclaim from game critics,[2][3] selling more than 5 million copies by January 2025.[4] Along with several other awards and nominations, Balatro was named Game of the Year at the 25th Game Developers Choice Awards and nominated for the top prize at The Game Awards 2024, the 28th Annual D.I.C.E. Awards, and the 21st British Academy Games Awards.

From Wikipedia

[–] bradboimler@lemmy.world 5 points 2 weeks ago (5 children)

Balatro is well done

[–] bradboimler@lemmy.world 12 points 2 weeks ago* (last edited 2 weeks ago) (4 children)

I write my code for future maintainers. I optimize for clarity, testability, and readability.

I've become a huge fan of dependency injection. That does not mean I like DI frameworks (Guice). I tend to do it manually with regular code.

When I maintain code and I sit there wondering what it actually does, I write a unit test for it right then and there

And so on

[–] bradboimler@lemmy.world 1 points 2 weeks ago

On the web client, if you go to Trending, you will see "hot" posts (I have no idea how they're ranked) by folks you're not following. The official Android client has this too. It's where I spend most of my Mastodon time.

[–] bradboimler@lemmy.world 10 points 2 weeks ago

I thought that Kim Wexler from Better Caul Saul was a complete badass

[–] bradboimler@lemmy.world 2 points 3 weeks ago

Ah, interesting. I haven't kept up with the newest Java changes, so you kind of answered that backwards for me. Being able to just use IO.println() is already pretty good and for sure what I'd prefer over having to add an import. Seems to also be a new addition in Java 25, so I guess, Hello World looks a lot different all of a sudden.

My code was merely a demonstration that just println is possible now. Like you, I'd prefer IO.println in "real" code. My bar for static imports is extremely high.

Also interesting that this kind of static import doesn't work with System.out.println, I'm guessing because out is already a field of System rather than a package or type. It can be used to write it as out.println, but yeah, not much of a point anymore when IO.println exists.

Static imports are only for static fields and methods. System.out::println is an instance method.

[–] bradboimler@lemmy.world 3 points 3 weeks ago* (last edited 2 weeks ago) (2 children)

If you import java.lang.IO.println statically, you can simply write println

import static java.lang.IO.println;

static void main() {
  println("Hello, World!");
}
view more: next ›