• 3 Posts
  • 46 Comments
Joined 2 years ago
cake
Cake day: June 23rd, 2023

help-circle
  • Throughout my career, I have used (in no particular order)

    • Eclipse (as Android Studio)
    • IntelliJ (as Android Studio)
    • SublimeText
    • VS Code
    • IntelliJ (as IntelliJ)
    • various CLI editors when sshing into servers (vim, nano, a few others)

    Switching your muscle memory takes a long time, which is why you have things like spacemacs, or different keybind presets for almost all of these editors.

    There is more value in understanding how to extend and customize your editor than in searching for a new one. Use whatever your workplace provides the best support for, and then customize it from there.






  • You can get a full itemized bill. The only thing that isn’t fully broken out are elastic ips. We found that out because we were tagging everything for billing and those weren’t showing up correctly.

    Mind you, it’s likely a bit more itemized than you want. Like you’ll see a separate line item for each price tier you paid for something, and things like ebs disks are all split out. It can be a bit…much.







  • Ew no.

    Abusing language features like this (boolean expression short circuit) just makes it harder for other people to come and maintain your code.

    The function does have opportunity for improvement by checking one thing at a time. This flattens the ifs and changes them into proper sentry clauses. It also opens the door to encapsulating their logic and refactoring this function into a proper validator that can return all the reasons a user is invalid.

    Good code is not “elegant” code. It’s code that is simple and unsurprising and can be easily understood by a hungover fresh graduate new hire.




  • None built in from what I recall. That was from back in 2011, so it’s possible things changed since.

    Reading through, it looks like retries do exist, but remember that duplicate packets are treated as a window reset, so it’s possible that transmission succeeded but the ack was lost.

    I remember the project demos from the course though - one team implemented some form of fast retry on two laptops and had one guy walk out and away. With regular wifi he didn’t even make it to the end of the hall before the video dropped out. With their custom stack he made it out of the building before it went.

    I’ll need to dig through to find the name of what they did.