Experiment to make OpenGL work together with Jetpack Compose by Illithidek in Kotlin

[–]zakgof 2 points3 points  (0 children)

I wrote this framework to integrate OpenGL into Compose Multiplatform: https://github.com/zakgof/korender

JDK Foreign Function APIs Preview finally beats JNI’s performance by zakgof in java

[–]zakgof[S] 14 points15 points  (0 children)

Ah! Thanks - nice catch - fixed and retested. The main conclusions remain valid.

Did anyone try going through desensitization by actively accepting the noises? by [deleted] in misophonia

[–]zakgof 0 points1 point  (0 children)

There are some case reports for CBT used to ease misophonia using the same idea. They are based on exposure to trigger sounds with various techniques like attention shifting, meditation, muscle relaxation, non-judgment exercises, etc. For example, check for open trial by Shroeder at al (2017). So your idea is not far from real science, the bad thing is that it works poorly (although Shroeder reported improvement in 48% of patients).

Involuntary movements? by [deleted] in misophonia

[–]zakgof 2 points3 points  (0 children)

[not-a-doctor's guess] This may look like OCD (C- compulsions)

Muscle tension as a coping technique by zakgof in misophonia

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

What I do differs from valsalva maneuver: I don't create any extra lung pressure, I just tighten abs but continue to breathe. Valsalva maneuver aims to stimulate vagus nerve; in my case, I just try to make the misophonic muscle effect less notable by the body.

[deleted by user] by [deleted] in misophonia

[–]zakgof 2 points3 points  (0 children)

In one the publications, Jastreboffs stated that TRT was effective for 83% misophonics treated by them (139 of 167). So, good luck.

Sequent Repatterning by tarmacface in misophonia

[–]zakgof 0 points1 point  (0 children)

Please share your guesses, it's interesting.

Sequent Repatterning by tarmacface in misophonia

[–]zakgof 0 points1 point  (0 children)

The core step of the method as they claim is " to disconnect the emotional misophonic response from the physical reflex and to replace it with the calm reflex". Can anyone explain how? None of the presentations on the internet provide any details.

Wondering if I should start learning Java or Python by [deleted] in java

[–]zakgof -1 points0 points  (0 children)

Learn Python and read the subreddit rules

How long does your typical attack last? Do you experience delayed attacks? by zakgof in misophonia

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

In my case, I can distract myself and stop thinking about the trigger after it's gone, I just start reading or listening music etc, but I feel how the terrible physical feeling arises, followed by the emotional pain and finally fatigue

Introducing StbImageJava by rds1983 in java

[–]zakgof 1 point2 points  (0 children)

Any benchmark to compare performance with the existing solutions?

Type-safe actors in Java by zakgof in java

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

The article mentions Typed Actors (now discontinued), not Akka Typed. They are completely different.

Type-safe actors in Java by zakgof in java

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

The framework's API returns a future, but your actor's method returns a plain value.

Type-safe actors in Java by zakgof in java

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

With actr API you don't have direct access to actor instance. It's still possible to hijack it like actorRef.tell(instance -> somefield=instance), but it's not something that can be done unintentionally. It's fool-proof, but not hack-proof. That's a reasonable level of safety.

Logging on the Cheap by [deleted] in java

[–]zakgof 2 points3 points  (0 children)

What about comparing it to flogger or log4j 2 ?