• 0 Posts
  • 160 Comments
Joined 2 years ago
cake
Cake day: July 17th, 2023

help-circle

  • From someone who does this for a living… vary your names and addresses. Less chance of collisions if your suite teardown fails to clean up properly. Depending on your needs, having a hard-coded unique name/address per test can be fine, or if you’re using Python, there’s a library called Faker that will generate ISO-valid test data. It’s also a bit easier to see where a teardown failed if maybe an exception got swallowed.








  • Important thing about all the martial arts stuff; TRAIN LIKE YOU’RE IN ACTUAL DANGER. Too many classes teach technique and kata and style and whatnot, and people come out thinking they can fight, but because they didn’t stress-train those techniques everything falls apart when shit hits the fan.

    You can absolutely dominate most real fights with about an orange-green belt level of karate and a similar amount of jiu-jitsu, if you train to use those techniques in realistic high-stress scenarios. The problem here is that most dojos won’t train that way because it is a big liability as injuries are quite common.

    That being said, going to work in a sales job the next day with a massive hematoma under my eye and having to explain to customers that I got in a sword fight was pretty amusing, even though I was probably a centimetre away from being blinded.












  • Probably analogous to command economy? Basically all industry is centrally planned, so it’s not company A decides it wants to make some widget and company b decides they want to use company A’s widget in their new product that they’ve independently decided to make. The government says we need <product> which needs <widget>, thus company A shall make <widget> and company B will use <widget> to make <product>.

    This is by no means an accurate representation of the whole system or an opinion on either, but just to give a simple idea of the difference.


OSZAR »