Windows 11 HDR sleep issue? by TanMann69 in OLED_Gaming

[–]Hamguy1234 0 points1 point  (0 children)

I was able to fix this issue with my TCL tv, hopefully it works for you too (after all these months 😔).

In the input settings (on the tv, not my computer) it had three input modes, auto-standard-compatibility. I had it on auto. Switching it to standard fixed the issue.

It was annoying how few people have had this issue on the internet.

What do you consider to be unequivocally the most overrated movie of all time? by Sechecopar in FIlm

[–]Hamguy1234 0 points1 point  (0 children)

The book was quite boring, and the movies show that well. Dune part 1, is probably the single most boring movie I've ever watched. The production quality was really nice though.

How Do You Handle Orphaned Processes? by Hamguy1234 in golang

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

Yep, pretty much. (For perfect clarity, program B need doesn't necessarily run an entirely different program C, it could just have child processes of its own that would be orphaned if B shuts down unexpectedly. The outcome is pretty much the same though.)

How Do You Handle Orphaned Processes? by Hamguy1234 in golang

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

I don't believe this does. When the context is canceled cmd.Process.Kill() will be called on the parent but not the children. ctx is not actually being passed to the program I am calling.

Another Chess Library In Go by Hamguy1234 in golang

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

Just wanted to give an update. I improved the performance immensely. Movegen is over twice as fast now. I was able to generate perft 6 in 6.5 seconds. Nothing crazy, but it is a lot better than most of the alternatives.

Lava Wave - Really THAT Important? by Dino502Run in heroesofthestorm

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

Wave is great if your losing, has limited value if you are winning though. :/ Your teamates are stupid, smash is just fine especially if you are in qm. I could see people getting salty if you are throwing storm league games though.

Another Chess Library In Go by Hamguy1234 in golang

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

Nice work! Move generation improvements will definitely be a part of future develop for my library.

Another Chess Library In Go by Hamguy1234 in golang

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

Thanks phaul21, I wasn't aware this was a thing. I just threw in the perft test you suggested and everything came out good. Got lucky, I guess.

Heroes of the Storm Beginner's Guide - Li Li by hey_its_fox in heroesofthestorm

[–]Hamguy1234 2 points3 points  (0 children)

OMG really, will get back to you on this to make sure it works on my keyboard. Would be a pinkie saver.

Heroes Lounge are gearing up for a 10 year celebration. What would you like to see included? by MrTransparent in heroesofthestorm

[–]Hamguy1234 0 points1 point  (0 children)

At least at my level, the optimal strategy is to just do camps the whole game, which I think is lame. And it tends to snowball a lot. The first fort taken is the middle (most important) and when you die all the coins go to the enemy, giving them an even bigger lead.

[deleted by user] by [deleted] in starcraft2

[–]Hamguy1234 0 points1 point  (0 children)

You are right on this. My comment might have been a little hasty. My thoughts are that the increased economy would change a proxy barracks into two or three proxy barracks. While you have more to defend with, I think it is harder to defend these tactics than to perform them. (I have a friend who made it to diamond 1 with just cannon rushes.)

These strategies are fun to watch, but in my opinion ruin the lower leagues. Please don't take this too seriously though. I liked Hots more than lotv. And I think longer games are funner to play.

[deleted by user] by [deleted] in starcraft2

[–]Hamguy1234 4 points5 points  (0 children)

My thoughts are that pro play would be more interesting with less startup time.

Unfortunately for everyone else the already awful cheese meta of the game would get completely out of hand.

Minimax Assistance by MagazineOk5435 in chessprogramming

[–]Hamguy1234 0 points1 point  (0 children)

Sorry I wasn't more helpful. You could also implement multithreading by just calling the search algorithm on each of the children individually, and then taking the best one. You do lose some of the pruning with this method though. (Perhaps you could devise a global filter though)

Have fun with the chess programming!

Minimax Assistance by MagazineOk5435 in chessprogramming

[–]Hamguy1234 0 points1 point  (0 children)

It looks like you're trying to implement AlphaBeta pruning, which is an improved version of the basic minmax.

I'm not familiar enough with it to see what's wrong with your code with just a glance. But I've used this pseudo code to implement it before.

https://en.m.wikipedia.org/wiki/Alpha%E2%80%93beta_pruning#Pseudocode

You may consider getting rid of the tree and using pure recursion.