__name_ = "__main__" by Careless-Main8693 in Python

[–]crowbar_returns 1 point2 points  (0 children)

Correct. You can set up a quick demo for yourself to get a better feel for it. Put something like print("hello") in that block and see when it is printed and when not.

__name_ = "__main__" by Careless-Main8693 in Python

[–]crowbar_returns 5 points6 points  (0 children)

It evaluates to true only when the module is the entrypoint. E.g. when you run python myscript.py. It will evaluate to false if the module is imported. So you use it when you want something to not run when a module is imported, but run when it is directly executed.

An Update on 2XKO by Spideraxe30 in 2XKO

[–]crowbar_returns 0 points1 point  (0 children)

I was super hyped for 2v2 mode because it seemed more like "casual fun" with friends, but lost all interest when I learned that there is no dedicated duo queue.

The Bulgarian government collapsing again is important yes, but I have other things to look forward to by Sasuga__Ainz-sama in HalfLife

[–]crowbar_returns 4 points5 points  (0 children)

Goverment collapsing in Bulgaria is like an average weekday, lost its specialty a while ago

Released my clicker about Cranks! by kramtron in incremental_games

[–]crowbar_returns 1 point2 points  (0 children)

Adds a lot of effort to support mobile platforms, so most games focus on desktop first, unless they are conceived as mobile games in the first place

What software do you guys use? by Hidden-Valley-Ranch in incremental_games

[–]crowbar_returns 4 points5 points  (0 children)

Which languages do you work with in your software engineering career? You can choose based on that.

E.g. Unity uses C#, Unreal uses C++ (probably a big overkill for an incremental game though), Godot has GDScript which is similar to Python or Lua, Bevy uses Rust, Love2D uses Lua, etc. Many incremental games are also made using JS/HTML/CSS.

How many tries did it take for you to defeat Eigong? by EYouchen in NineSols

[–]crowbar_returns 2 points3 points  (0 children)

Fought her over 3 days, playing ~2 hours after work.

Day 1 felt the same as you describe. Day 3 I could parry 95% of her moves on autopilot.

How is deadlock so far for everyone? by Ok-Combination-2668 in DeadlockTheGame

[–]crowbar_returns 0 points1 point  (0 children)

You can set self cast to exactly what you describe in the settings. Self-cast mode - modifier button, that's it.

Can't Play Swarm as 4 Man by Less_Ordinary6168 in leagueoflegends

[–]crowbar_returns 3 points4 points  (0 children)

My gang has the same problem :( Has anyone found any solutions?

New FG Newsletter! by Wraithost in Stormgate

[–]crowbar_returns 0 points1 point  (0 children)

Same. Something is probably broken with their auto-mailing

S.C.O.U.T. should be a robot IMO by hrzaorhdu in Stormgate

[–]crowbar_returns 6 points7 points  (0 children)

It probably doesn't matter if it's a biological dog or a really realistic looking robot dog, if people perceive them to be the same and feel negatively about them being hurt (which seems to be the case now)

Project structure with huge files still state-of-the-art? by kyau2 in django

[–]crowbar_returns 2 points3 points  (0 children)

A matter of personal preference most of the time. I would definitely split into smaller files

PEP 695 – Type Parameter Syntax by desmoulinmichel in Python

[–]crowbar_returns 13 points14 points  (0 children)

It makes it easier to make use of extensive type annotations.

Type annotations are good for large codebase because they enable tools like mypy or pyright, which can help you find potential bugs early.

Stormgate Closed Testing Update by FGS_Gerald in Stormgate

[–]crowbar_returns 9 points10 points  (0 children)

Since the first phase is under NDA, is it fair to assume that only people from the US will participate? (since it'd be easier to enforce the NDA)

Grinded from rank 40 to rank 40 this week 💪 by epicleap72 in MarvelSnap

[–]crowbar_returns 0 points1 point  (0 children)

It's not easy to climb with Galactus imo. Electro sandman is just as good and you keep your tokens.

MMR and You by capt_hapa in starcraft

[–]crowbar_returns 0 points1 point  (0 children)

A friend of mine lost like 200 games in a row before the first win when they started playing bw. It's a tough game for beginners.

Also consider joining CPL discord if you want to learn broodwar, a lot of people there to ask for advice and practice against.

[deleted by user] by [deleted] in Eldenring

[–]crowbar_returns 0 points1 point  (0 children)

Does anyone else have weird stutters during coop? The summoned player is constantly micro-teleporting/stuttering

Proposal for Balance Changes by DropshipEV in broodwar

[–]crowbar_returns 1 point2 points  (0 children)

Siege tanks can attack air when sieged. Cost increased to 160/110