• 39 Posts
  • 1.26K Comments
Joined 1 year ago
cake
Cake day: September 19th, 2023

help-circle


  • I mostly just enjoy seeing the Liverpool fans having a go at Real Madrid. Having Liverpool fans/half of r/soccer discover how dirty Real Madrid’s defence is was cathartic.

    In terms of underdogs, seeing Aston Villa reach far would be fun. Based on your username, I’ll assume you’d rather have Liverpool reach far though :)
















  • If you wrote the code wrong, it’s gonna assume it’s right.

    Yeah, that might be an issue if copilot base the tests on the code. I only write tests for the core (pure) functions, so it’s fairly easy to just say what the inputs and the expected output should be and let copilot have at it. Testing stateful functions is a can of worms it’s often better to design around if your toolset supports it.

    I obviously don’t have any context for what sort of project you’re working on and I’m sure it’s very different from mine, but I’m currently working on a distributed system with Erlang/Elixir, and often all I want to check is that the happy path gives the expected output. Catching strange edge cases that happens in the shell module due to unexpected state is something I’m happy to just let fail, and have the supervisor clean up and restart to a known state. It’s quite freeing to not write defensive code.

    What sort of test cases would you want to write for querying a date? Some ISO-8601 verification?





  • Deloads as in a full week break from training generally isn’t the recommended way to deload, active deloads is the way to go. You also have to take into consideration that different groups of muscle accumulate fatigue at different rates. Your forearms and shoulders won’t need as much rest as you posterior chain, etc…

    If you go heavy on compound exercises and you aren’t a freak of nature like Eddie Hall that can progressively overloaded every week into a ~400kg DL, you’ll likely experience at some point that you (temporarily) regress in strength. That would be a clear sign that you should have deloaded already.

    Most people I see in the gym don’t push themselves anywhere near hard enough for deloads to be a necessity though. So you need to do some introspection and ask yourself if you consistently train hard enough for fatigue to truly accumulate, or if you mostly show up at the gym and just autoregulate based on your feel for the day. Neither approaches as necessarily right or wrong.