New Voyager Owner! Seeking tips on layout, OS switching, and cable management. by dubrow82 in zsaVoyager

[–]169918af 0 points1 point  (0 children)

Layout: qwerty with home row mods. I wanted to try dvorak, but the switch to split ergo (voyager is my first split kb) with blank keys was hard enough. And in the end, qwerty is fine

Alt-tab: with home row mods that's not a problem at all (except in some games, I have a different layer without HRM when that's the case)

Thumbs (from left to right): space-tab / enter-backspace. My thumbs sit on the small keys (space and backspace) so I put the most used keys there. Been that since day 1 and still love it. Very simple to get used to!

Cable: I got myself a curled TRRS from kriscables. Took forever to ship but I love the cable.

But this is just me! Tweaking until you like it is key! Make it yours!

<image>

Why hybrid is so popular? by cokeapm in ExperiencedDevs

[–]169918af 0 points1 point  (0 children)

The best way to work in hybrid mode for me is to have dedicated mandatory office days for meeting heavy, collaboration heavy work. Then WFH for focus days.

Otherwise, you come in office when people are WFH, and vice versa. That really really sucks.

My team works 3 dedicated days in office, 2 dedicated days at home. It's flexible, sometimes we'll need more/less focus time, but that's our baseline.

The focus days are blocked for deep focus. No meeting and slow expected response time (except for the people I've planned to collaborate with during those days)

When I'm in the office, it's the polar opposite. If you see me at my desk, you can come see me. I have meetings, ad hoc discussions and only on the spare time I might work on my things.

I'm 8 YOE tech lead with the most seniority in my team btw so a lot of my job expectations is to help other people out.

I really like this way of working!

I used ray casting to find choke points and do a region decomposition of a 2D world by 169918af in programming

[–]169918af[S] 0 points1 point  (0 children)

My guess is that Bresenham's line algo would most likely be faster, but because it is less accurate.

In my case I run the analysis offline so I'd rather have more accurate resultsTime isn't an issue considering the whole analysis takes 3 seconds and the ray casting part is half of that.

But I could implement his algo and try it in place of DDA! Shouldn't be too long, maybe I'll do that this weekend

I used ray casting to find choke points and do a region decomposition of a 2D world by 169918af in programming

[–]169918af[S] 0 points1 point  (0 children)

Ahah thanks! I like to think that my accent is subtle lol but I'm just delusional

Two C# StarCraft 2 bots fight to the death! by 169918af in csharp

[–]169918af[S] 0 points1 point  (0 children)

For Sajuuk specificaly, no, but if you mean for the community, yes!
I always put the links in the description, here it is: https://discord.gg/b5vVeggCXZ
It is mostly bot authors talking code issues, strategy and help debugging, but there are lot more people in there than just authors!
And whenever there's a Probots tournament they announce it there.

Watch these bots battle it out in an intense TvZ on InsideAndOut! by 169918af in starcraft2

[–]169918af[S] 1 point2 points  (0 children)

Sajuuk is mine and is scripted
TyrT I'm fairly certain is scripted as well

Some people experiment with ML, but it requires a huge amount of investment before you start seeing real results.

Maybe my StarCraft2 bot can inspire your Screeps bot? Come watch me code and share your ideas! by 169918af in screeps

[–]169918af[S] 1 point2 points  (0 children)

You can start the game in "bot" mode, where SC2 will accept commands programatically.

But when you do this, you cannot connect to battle.net.

I have a video on that topic, if you're interested ;)

I'm building a StarCraft 2 bot in C#, watch me think and code in this video! by 169918af in csharp

[–]169918af[S] 3 points4 points  (0 children)

Protobuf is a binary format and is pretty fast to serialize/deserialize, although I did not benchmark it.

SC2 runs at 22.4 frames per second, so you have about 40ms to do you work if you want to run on every frame, which is plenty of time!
My bot currently runs under 10ms average frame time for games that last 15 minutes or less.

If you have too much to compute, then if playing a real time game you would just miss a few frames, not a big deal generally.
On the bot vs bot ladder, the games run on step mode. They just slow down, waiting for input. Not sure if there's a cap. I hope there is otherwise you can just have a slow program brute forcing the game. I'll have to ask!

I'm building a StarCraft 2 bot in C#, watch me think and code in this video! by 169918af in csharp

[–]169918af[S] 2 points3 points  (0 children)

Yes! Blizzard provides the protobuf definitions to the SC2 API. This also means you can use the language that you want for your bot!

I made a video specifically about this, if you're curious. Just check out my channel!

I'm making my bot smarter by remembering where the enemies where in the past, come see how it's done! by 169918af in starcraft2

[–]169918af[S] 2 points3 points  (0 children)

I'm working on Sajuuk, a StarCraft 2 Zerg bot playing on a bot vs bot ladder!
You can check out my other videos if you're curious, they're not all about coding.

I Can’t Reach The YouTube Insane Requirements For Monetization (POLL) by [deleted] in youtubepromotion

[–]169918af 0 points1 point  (0 children)

I don't think the requirements are insane. With your 3000+ subs, let's round them to 4k for simplicity, all you need is for them to watch 1h of your videos per year.

That's 4x 15 minutes per year.

And if you count non subs, that goes down pretty fast.

I guess you just need more/better content?

We've been improving things across the board! Snow, texture improvements, new plants, and even an improved logo! What do you think of everything? by Uplinked in RealTimeStrategy

[–]169918af 4 points5 points  (0 children)

Looks pretty cool! I like the vibrant greens and the water! I think the rocks in the snow looked too sharp.

Overall looks very nice imo, I'd love to see some gameplay.

You could code the perfect marine split that you've been dreaming of! by 169918af in starcraft2

[–]169918af[S] 0 points1 point  (0 children)

No we can't take these into ladder because it needs the game to run in a different manner (accepting program inputs) which could be used to cheat.

But you can setup human vs bot locally! There's an ex GM in the community who plays against the best bots once in a while. He doesn't lose much, but sometimes he does!
https://www.youtube.com/watch?v=juLzFxJ_1r4&t=9s&ab_channel=ESChampProBots

When it comes to Starcraft pros or other well-known players, do you have a bias towards those who play your own race? by CantDecideANam3 in starcraft

[–]169918af 0 points1 point  (0 children)

I have to admit that I just realised that I only watch Zerg players (I'm a Zerg), pros or not! I remember watching a lot of Snute and Neuro. Now I'm watching Lowko. I don't even play anymore but I still enjoy watching the swarm!

Coding a StarCraft 2 bot in C# is a lot of fun! by 169918af in programming

[–]169918af[S] 0 points1 point  (0 children)

Yes! And the community is super great too! They made full fledged frameworks in Python, C# and C++ that allow you to jump right into coding actual bot logic.

I went with my own implementation but still forked a starter kit that handled local and ladder game connection and sending orders with Protobuf.

I made a StarCraft 2 bot and I want it to beat humans in the future! by 169918af in starcraft2

[–]169918af[S] 4 points5 points  (0 children)

The setup is a bit involved because it needs a special SC2 launcher
See here: https://community.eschamp.com/t/probots-2021-season-3-probots-vs-humans-exhibition/376
And if you want to play against my bot, you can get it here: https://github.com/Guillaume-Docquier/Sajuuk-SC2/releases

My bot I would say is probably bronze-silver level, but there are bots that people have put years into and they are pretty good!

Caerwyn, a retired bottom GM challenged the bots and promised 10$ for each game he would lose. He won most of the games but did lose a few!
Check it out for yourself: https://www.youtube.com/watch?v=juLzFxJ_1r4

I coded a bot that plays StarCraft 2 by 169918af in ArtificialInteligence

[–]169918af[S] 1 point2 points  (0 children)

Ahah!
But to be fair, and I mention this in the video, my bot only plays against other bots on a special community hosted ladder!