[–] 2 points 3 weeks ago (1 child)

Stormgate was broken from the reviews I saw. It simply wasn't working well. It also didn't really add something new to the StarCraft concept. If it for example had a survival mode where you fought together with other players to kill waves of another race, or allowed mods and had some prebuilt ones like a tower defense mod, or a MOBA mod, well.... that would be interesting!

And it has to work on Linux. We're in the process of ditching Winblows. Click that damn toggle and make it work on Linux.

  • source
  • parent
  • context
  • [–] 1 point 4 weeks ago (2 children)

    Like crlf/lf. But for all formatting.

    Sure. Toooootally the same thing. Now the server will have to save a copy of your formatting preferences, checkout the project at point t-1, checkout the project at t, format it, create a diff, and present that to you. Now when you leave a comment on line x, it might be line y for another person.

    Or make it worse, someone introduces malicious code with UTF-8, or switches around parameters, or adds pragma comments that fundamentally change your code, but your formatter happily fixes that for you in the preview so you are oblivious.

    Or you're hosting this server and someone makes a change that completely reformats the entire codebase, but you see absolutely nothing of it because the preview diff only shows "relevant" changes.

    All fine by you👌

  • source
  • parent
  • context
  • [–] 2 points 4 weeks ago

    C is easy to understand and find vulns? AI is uncovering decades of vulns in C code that humans hadn't seen since the code's inception. And they aren't logic errors but memory management errors. Not a single day goes by without a CVE in a C/C++ project about memory management.

    Both languages are walking vulnerabilities.

  • source
  • parent
  • context
  • [–] 3 points 4 weeks ago (5 children)

    Use a syntax-aware editor that formats code the way you like it. Save it any goddamn way that is syntactically valid. Anyone else who opens it will see it any way the like in their own syntax-aware editor.

    So every MR restyles the code to fit your style? How are you going to review the code?

  • source
  • parent
  • context
  • [–] 8 points 4 weeks ago

    Disagree. Linters catch common logic errors, formatters remove nearly all discussions about formatting style. I remember MRs being held up for days at work because of formatting discussions, being resolved by a "style guide" that couldn't be memorised, and being followed by new discussions about formatting that held MRs.

    The that epitomises this is the nixpkgs repo. There are thousands of PRs stuck in nitpick hell because some particular reviewer wants commas here and another wants them there.

  • source
  • parent
  • context
  • view more: ‹ prev next ›