MagicShel

joined 2 years ago
[–] MagicShel@programming.dev 5 points 10 months ago (2 children)

I understand how you got there, but it sounds like a tough hoe to plow.

[–] MagicShel@programming.dev 3 points 10 months ago

I would only note that for the vast majority of my experience these streams can only return up to a single match. Determinism isn't really preserved by findFirst, either, unless the sort order is set up that way.

Finding the first Jim Jones in a table is no more reliable that finding any Jim Jones. But finding PersonId 13579 is deterministic whether you findFirst or findAny.

Perhaps you work in a different domain where your experience is different.

[–] MagicShel@programming.dev 10 points 10 months ago* (last edited 10 months ago) (2 children)

I try to prefer .findAny() over .findFirst() because it will perform better in some cases (it will have to resolve whether there are other matches and which one is actually first before it can terminate - more relevant for parallel streams I think. findAny short circuits that) but otherwise I like the first. I'd probably go with some sort of composed predicate for the second, to be able to easily add new criteria. But I could be over engineering.

I mostly just posted because I think not enough people are aware of the reasons to use findAny as a default unless findFirst is needed.

[–] MagicShel@programming.dev 12 points 10 months ago (1 children)

Let's just say if 2 orgasms per week lowers your risk of prostate cancer, I'm pretty sure my prostate will last until the heat death of the universe.

But this isn't even close. I'd choose laughter every time.

[–] MagicShel@programming.dev 1 points 10 months ago

I have a separate modem from my WiFi, but I'd sell you mine that's a couple of years old for $50 because I just upgraded to fiber a few months ago and it's just sitting in my network corner. But if you want one with integrated WiFi, this isn't.

[–] MagicShel@programming.dev 4 points 10 months ago

I sent a few bucks. Never been to Nebraska, but good luck.

[–] MagicShel@programming.dev 15 points 10 months ago* (last edited 10 months ago)

Where the fuck does he think the women under fifty fucking came from?

We've got 4 daughters. You'd better fucking believe their human rights are important to us. Do they think agency and autonomy are fucking academic issues to women?

[–] MagicShel@programming.dev 2 points 10 months ago* (last edited 10 months ago)

I asked ChatGPT for a tldr because same. The result reads like ad copy. Idk, man.


The memory packaging market is evolving with advancements like flip-chip, wire-bond, and through-silicon via (TSV) technologies. These innovations enable smaller, more powerful, and faster devices, particularly in smartphones, where efficient space use is crucial for sleek designs. DRAM, while still used in PCs, faces declining adoption due to its complexity and the rise of alternatives like 3D TSV, which offer better functionality. The APAC region, especially China, is leading the growth in memory packaging, driven by investments in assembly infrastructure and rising demand for mobile applications using system-in-package (SiP) technologies.

[–] MagicShel@programming.dev 4 points 10 months ago (1 children)

Kids are great. I mean they'll break you for sure, but in good ways. Challenge you. You've got probably 8-10 years where they adore you no matter who you are. Then a few years where they barely tolerate you no matter who you are. And then you get to find out whether you did good or fucked everything all up.

Forget raising them. They observe and mostly raise themselves other than sometimes needing some help or advice that they may or may not ask for or accept. They'll be bits of you peppered in with bits of your wife and a bit of someone you don't even recognize.

And none of them are evil, though when you're ripping up carpet because your daughter wanted to know how many gallons of water the towels in her closet could hold, or repainting because your toddler is Pablo Poopcasso, you might think so.

But there are special moments you couldn't have with anyone else in this planet. And I'm not saying they make everything else worth it — no they just give you enough sustenance to try to hold onto your sanity a bit longer. But the experience is unique and worthwhile.

Sorry, I'm not trying to talk you into kids, just got me vibing thinking about mine. I have five. Three are out of the house. And raising them has been a wonderful and humbling experience. But I don't have room left to fawn over anyone else.

[–] MagicShel@programming.dev 3 points 10 months ago (3 children)

Yeah. I'm married with adult kids. All of that is work enough. I don't have enough energy left to crush on anyone. Not even like a platonic bro-crush or whatever.

[–] MagicShel@programming.dev 5 points 10 months ago

51 here. I haven't picked out a grave site, so I don't have any idea where I'll be when I can't work any more.

J/k. Compost me or something. Don't waste any acreage remembering me. Point being I guess I'll retire when no one will pay me for anything, and I hope I'm still around for a bit after that but I doubt it.

[–] MagicShel@programming.dev 6 points 10 months ago

I'm going to wear a hurricane pin on my lapel.

view more: ‹ prev next ›