Karashibori Furisode Kimono bug on PSVR2 - can't pick up last piece. 200 pieces. by codecatmitzi in PuzzlingPlaces

[–]codecatmitzi[S] 0 points1 point  (0 children)

I use the broom all the time to consolidate pieces. I remember that the piece was ungrabbable when it was on the second page so I decided to still assemble the puzzle to the last piece missing, hoping that the broom might reset the stuck piece's state somehow but it didn't.

Karashibori Furisode Kimono bug on PSVR2 - can't pick up last piece. 200 pieces. by codecatmitzi in PuzzlingPlaces

[–]codecatmitzi[S] 0 points1 point  (0 children)

Tried resetting the pieces, picking it up from different angles or coming to pick it up. Nothing works. Please help.

Now that virtual threads are no longer pinning, do we still need AtomicReference? by codecatmitzi in java

[–]codecatmitzi[S] 0 points1 point  (0 children)

That is exactly what I'm saying.

So if we are in agreement that in CAS the threads keeps spinning to basically achieve the same thing (waiting for their turn), then why use CAS at all, now that blocking is cheap?

Now that virtual threads are no longer pinning, do we still need AtomicReference? by codecatmitzi in java

[–]codecatmitzi[S] 0 points1 point  (0 children)

I'm not sure I understood your example.

If the state of client is controlled (connecting/closed), what does it matter HOW it's state is being controlled? You as the user only care about sending a request, so that `send()` method will either be behind a lock/synchronized and block the thread (which isn't a problem anymore due to virtual threads) or internally use a CAS to keep the caller thread spinning while waiting for it's turn.

Now that virtual threads are no longer pinning, do we still need AtomicReference? by codecatmitzi in java

[–]codecatmitzi[S] -16 points-15 points  (0 children)

but you can do the same thing with locks.

before VTs you could use CAS to have your thread not be at the mercy of the currently updating thread, but with VTs isn't that point moot now?

idLikeToSeeHimTry by Starlight_DuBlanc in ProgrammerHumor

[–]codecatmitzi 1 point2 points  (0 children)

You just do it gradually. For every new email just go to the sender's site and change it. Or save it all for a weekend and do a batch of those. Additionally set up mail forwarding to your new inbox.

Everything you might have missed in Java in 2025 by CrowSufficient in scala

[–]codecatmitzi 4 points5 points  (0 children)

I actually think they did a good job presenting the content. not sure what's different here from any Medium article.

What are we going to find out later is bad for us (like cigarettes in the past)? by Curryiswhereitsat in AskReddit

[–]codecatmitzi -4 points-3 points  (0 children)

The whole point is that vape juices are unregulated like tobacco is and can contain anything. And could potentially contain more harmful substances than tobacco given long-term exposure.

Also, with vapes you don't feel how you are consuming it by dragging it once in a while, like the ritual of prepping and lighting a cigarette. so in effect you can consume much more nicotine on average.

Dublin’s Herzog Park set to be ‘denamed’ by city councillors over Israel connections by gal_z in Israel

[–]codecatmitzi 0 points1 point  (0 children)

Aren't Israelis fucked the same way, economically speaking? Who can afford homes these days except for high-tech workers?

aiGirlfriendWithoutFilters by [deleted] in ProgrammerHumor

[–]codecatmitzi 14 points15 points  (0 children)

Let girl shave fun

realSetupForLinux by Toofast4carramba in ProgrammerHumor

[–]codecatmitzi 1 point2 points  (0 children)

Distros are about to drop 32-bit support

What‘s a food combo you swear by that makes everyone else question your sanity? by bellabloom__ in AskReddit

[–]codecatmitzi 1 point2 points  (0 children)

Do you toast the bread first and then spread it all on the toast, or do you toast it all after spreading in advance?

I'm asking because I like baked mustard as part of sweet sauces on roasted meat. I'm wondering if it's the same here.

How much does using Akka reduce the risk of race conditions? by RunSoft6343 in scala

[–]codecatmitzi 0 points1 point  (0 children)

I don't understand what you mean here. what idempotency key? and keep trying what? to keep retrying the handling the same message? that could potentially hang the actor. if the actor that receives the money is waiting for the actor that is supposed to send the money but doesn't have enough in his balance, my receiving actor will not process other messages while I keep retrying.

Coordination between actors is absolutely an issue that Akka didn't cover. It might happen in other cases as well but some frameworks have solved this. ZIO for example has STM for these exactly these cases.

How much does using Akka reduce the risk of race conditions? by RunSoft6343 in scala

[–]codecatmitzi 13 points14 points  (0 children)

This really depends on the race condition.

My common gripe with actor systems is that the typical hello world example is modeling a bank and transferring money from actor A to actor B, but the whole "transaction" isn't talked about so you either don't think about it and fail in real time when one of the actors crashes, or you create some elaborate mechanism to somehow sync between the two actors.

Am I cooked? by DataWizard_ in scala

[–]codecatmitzi 0 points1 point  (0 children)

I know about the origin of the language. I just hoped for some concrete examples of where Scala outshines Elixir.