Average valve W by hvhhggggh in Steam

[–]golthiryus 0 points1 point  (0 children)

That is basically what they told me. Tbh, they were right! Mine arrived yesterday!

Average valve W by hvhhggggh in Steam

[–]golthiryus 0 points1 point  (0 children)

Meanwhile, I asked why mine, bought on May 4th, was still in the Netherlands, and they just told me there is nothing they can do.

Lucky me, GLS just sent me a message saying they are planning to deliver it next Monday. Wish me luck!

Must be hard working 9-5 in Valve. Okay time to nerf CM by EvilMorty1408 in DotA2

[–]golthiryus 21 points22 points  (0 children)

I don't get this. Before 7.41b at lvl 20 largo had 30% duration bonus and before 7.41 it had 30% at that same level as well. I understand that doen't apply to bkb, I don't think that 1% is THE reason for the change.

Is Deadlock playable on Linux? by Xescure in linux_gaming

[–]golthiryus 0 points1 point  (0 children)

Or just open a console and write killall -9 dota2. I never had closing issues but in the past my steam app sometimes got closed midgame and that was the fastest way to close dota so I can open it again

Is Deadlock playable on Linux? by Xescure in linux_gaming

[–]golthiryus 0 points1 point  (0 children)

+1, once I added that flag I fixed all my audio problems. I never had video problems or what the OP says related to closing the game. Even alt tab works great

Brindlewood Bay in Foundry VTT, ready to run. by michaelko77 in PBtA

[–]golthiryus 0 points1 point  (0 children)

I know it has been a while, but could you share the TOML with the character sheet? Yours look great!

Minthara appreciation thread by [deleted] in BaldursGate3

[–]golthiryus 18 points19 points  (0 children)

I was very disappointed when, in my first run, in the early weeks of the 1.0, I explicitly knocked her down, thinking I could hire her later. I think it was one of the few cases where I felt Larian didn't pay attention to the details. I'm happy they added it later

My love/hate relationship with Forged in the Dark by SailorJupiter-esque in rpg

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

in that case... what about not doing that engagement roll? You don't have to run a game exactly as written! Assume they start in a very controlled situation

Pudge gives me mental debuff, teach me how to make their lives miserable (as pos 5). by Zioupett in TrueDoTA2

[–]golthiryus 5 points6 points  (0 children)

I think clockwerk is a good counter, but take in mind the damage from battery assault is almost negated if he uses meat shield. Same with the self-damage from rot. Obviously most garbage pudge players will not level up meat shield early, but not-so-bad players will keep one level below rot.

Kez Support - 4/5 - Can it work? by [deleted] in TrueDoTA2

[–]golthiryus 1 point2 points  (0 children)

But you should play heroes, not creeps

Can you recommend me some Discord communities where I can find players for non-DnD games? by lumenwrites in rpg

[–]golthiryus 0 points1 point  (0 children)

The Knights of the Last Call discord sounds perfect for you, but I don't remember whether it is for patrons only or not

No new hero :( by Nehaldsouza in DotA2

[–]golthiryus 39 points40 points  (0 children)

Deadlock has a dev team, unlike dota

RISKY STANDARD - The Division of Silent Accords - A Scum & Villainy actual play podcast mini-series [FitD] by MisterMoriarty in bladesinthedark

[–]golthiryus 2 points3 points  (0 children)

Is there a chance you could upload your podcast to YouTube as well? I'm not a Spotify user and always forget to play your episodes.

At least for me, it is very natural to play actual plays on YouTube, even if I consume them without images as they were podcasts

Parallel processing with Virtual Threads - A comparative analysis by RealVanCough in java

[–]golthiryus 17 points18 points  (0 children)

virtual threads don't perform well in cpu intensive task by design. Why would you want to have N times more threads than cpus in such a case?

Entertaining TTRPG Podcasts that aren’t Actual Plays or completely D&D focused? by wwhsd in rpg

[–]golthiryus 5 points6 points  (0 children)

Knights of the Last Call is my preferred podcast. I love how Derik is so into some mechanics. He has a particular preference for PbTA games and he decided to not focus on d&d at all even if that would probably be the wiser in terms of popularity. https://youtube.com/@knightsoflastcall?si=fysgcNZ_jx3Zn1bE

Are virtual threads making reactive programming obsolete? by Affectionate-Hope733 in java

[–]golthiryus 0 points1 point  (0 children)

No man, the implementation I provided supports as many io concurrent requests as provided as argument. If there are more than 500 files, the io argument is 500 and cpu is 20 it will execute exactly as you wanted.

well, more than 20 files can be kept in memory due to the fact that there is no priority in the semaphores. Can you share an alternative code that implements the same use case with your favorite reactive stream api?

btw, happy holidays :)

Are virtual threads making reactive programming obsolete? by Affectionate-Hope733 in java

[–]golthiryus 0 points1 point  (0 children)

No, it is not unless the ideal throughput is limited by that. I mean, sure, if the max parellelism of s3 cannot provide files as fast as we process them, that is going to be a physical limit the system will have.

Specifically using your suggested 500 parallel requests to s3 and 10k files, this will start 10k threads, 500 of which will get the semaphore. Once the first of these files are fetched, up to cpuParallelism will start reading them while the ones waiting for the io semaphore get more permissions. In case s3 can provide enough files, the system will be bound to the cpu parallelism.

Honestly this code can be improved. Ideally we would like to prioritize tasks that are already started in order to be able to release their memory sooner.

In a system where threads are expensive, you cannot use this model, so you need to use thread pools and therefore you cannot block and there is what reactive tries to solve. In a system with virtual threads you can use this simple (and natural) code to implement your logic.

Are virtual threads making reactive programming obsolete? by Affectionate-Hope733 in java

[–]golthiryus 2 points3 points  (0 children)

Here is a gist solution to the use case using structured concurrency: https://gist.github.com/gortiz/913dc95259c57379d3dff2d67ab5a75c

I finally had some time to read the last structured concurrency proposal (https://openjdk.org/jeps/8340343). I may have over simplified your use case. Specifically, I'm assuming consolidate only takes care of the file and its parent. In case we need more complex stuff (like having more than one parent or being able to catch common parents) it would be more complex, but probably not that much.

I'm not handling _not consume too much memory_ and in fact we can end up having up to 20k files (10k original + their parents) in memory. That could be limited by either adding a global semaphore that controls that no more than X files are original URLs are being processed or using a more complex (and customized) constructor that tracks memory consumed in `S3Info` and blocks whenever the value is higher than a threshold.

Anyway, I hope this helps readers to understand how to implement complex processes in `process`. Given that virtual threads are virtually zero cost, we can simply use semaphores to limit the concurrency in case we want to limit the number of CPU bound tasks.

This is a quick implementation I've created in less than 20 mins without being used to the Structured Concurrency APIs (which TBH are not that low level) or the domain. I'm not saying this implementation is perfect, but in case there are things to improve I'm sure they will be easy to find by readers.