• 3 Posts
  • 600 Comments
Joined 2 years ago
cake
Cake day: June 1st, 2023

help-circle


  • It’s mostly a skill issue for services that go down when USE-1 has issues in AWS - if you actually know your shit, then you don’t get these kinds of issues.

    Case in point: Netflix runs on AWS and experienced no issues during this thing.

    And yes, it’s scary that so many high-profile companies are this bad at the thing they spend all day doing




  • You prepare for these by doing specific exercises for them, sad as it may seem.

    Leetcoding problems? You grind them out for a month or two to prepare for doing them during interview loops.

    Mock interviews can help too, to get you better at handling the stress. You can use services/groups for these, or just go interview for random places you’re not necessarily planning to actually say yes to.



  • No need for the likely-qualifier - it definitely won’t make a difference in perceived sound quality.

    You basically need expensive gear under the right conditions and training to be able to tell. Modern audio codecs are extremely good - the main thing you will get out of lossless is more storage/data usage







  • Agreed. If your commits are reasonably structured, rebasing is far more helpful.

    Although these days I usually opt for one ball-of-mud commit while developing the code, which is always fairly trivial to rebase - only one commit, can’t have follow-up issues - and then I redo the commit structure from scratch as a part of preparing the code for the benefit of the reviewer.







  • What’s your mental model for a Git commit, and a Git branch?

    Once I properly learned those two concepts, understanding rebases became a lot easier.

    I’ll try to explain it to the best of my abilities.

    • Think of a commit being a patch - a description of how to take a particular file from one state to another
    • A branch is a list of patches to be applied in order, from the point where the branch was created until the last commit on the branch

    When you rebase a particular branch, what you’re essentially doing is taking all of the commits that are currently on your branch, checking out the other branch, and then applying each of the patches in order on that new branch.

    A rebase can be cleanly applied if the premise for each commit has not changed when applied, but if the premise has changed, you get a conflict to be resolved before being able to continue the rebase.

    I mentally model a rebase a bit as a fast version of how it would look like to build the branch I was on, but on top of the branch I’m rebasing on.