MagicShel

joined 1 year ago
[–] MagicShel@programming.dev 17 points 4 days ago

Who would do such a thing??

[–] MagicShel@programming.dev 1 points 4 days ago

I haven't visited in a while, but it's a great community.

[–] MagicShel@programming.dev 2 points 5 days ago

That's a good boy!

[–] MagicShel@programming.dev 46 points 5 days ago (7 children)

You think he could finish a couch? I think it would eventually fake it, tell him what a good boy he was, and then roll over and let him sleep in the wet spot.

[–] MagicShel@programming.dev 2 points 5 days ago

Yeah fuck all that. They can keep their discount.

[–] MagicShel@programming.dev 1 points 5 days ago

I love in a suburb of a Midwestern state capital.

Here are my walking distances: (I'll do my best to convert distances)

  • To the nearest convenience store: 3.2km
  • To the nearest chain supermarket: 4km
  • To the bus stop: 2.75km
  • To the nearest park: 1.5km (it's a pretty decent park with a swimming/fishing pond)
  • To the nearest big supermarket: 12km
  • To the nearest library: 2.4km
  • To the nearest train station: 10km (this isn't a commuter line, but a long distance city to city line). This is also where intracity buses are boarded.
  • To State Capitol: 13 km

Of all of these, only the walk to the Capitol is shorter than the drive (by about 1.5km) due to walking paths. I've never walked it all in one go, but I have walked both halves of the trail.

[–] MagicShel@programming.dev 9 points 5 days ago* (last edited 5 days ago) (1 children)

I don't think I would agree that just because something is public that it's a public forum. I feel like the public has to own it as well. I looked it up and maybe it's because I predate social media by rather a lot, but I think of it in the classical sense:

Public forums are typically categorized into three types:

  1. Traditional Public Forums: Long-established spaces like parks or sidewalks, where people have historically exercised their rights to free speech and assembly.
  2. Designated Public Forums: Areas that the government intentionally opens up for public expression, such as town halls or school meeting rooms.
  3. Limited Public Forums: Spaces opened for specific types of discussions or activities but with certain restrictions on the subject matter or participants.

The important factor being public ownership of the forum. I will concede that it has colloquially come to include public social media, but I think it's important to distinguish that it's not really the same thing at all as has been discussed through most of our history.

Food for thought. I just think calling them public forums attaches too much importance to a profit seeking endeavor.

[–] MagicShel@programming.dev 4 points 5 days ago

He always struck me as a guy who is who he is. He would fail any ideology test because he goes by his gut rather than any ideological compass. I think he felt his supporters were being a bit mercurial for opposing him so vehemently on Israel. Not really an excuse, but I think he just lost his shit and lost his way. So probably a decent guy but he has to do a lot of work to repair that bridge and I have no idea if he's up to it.

But I could be wrong.

[–] MagicShel@programming.dev 5 points 5 days ago (2 children)

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

[–] MagicShel@programming.dev 3 points 5 days 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 6 days ago* (last edited 5 days 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 11 points 6 days 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.

view more: ‹ prev next ›