• 0 Posts
  • 72 Comments
Joined 2 years ago
cake
Cake day: August 11th, 2023

help-circle
  • During the communist regime in Romania there was a ban on abortion and the state encouraged people to have lots of kids (sound familiar?). This lead to A LOT of kids in orphanages and not enough resources to properly care for them. Conditions were atrocious, to say the least.

    But, that lead to a lot of research data by following the lives of kids who got adopted from those orphanages. It was determined that 4 month old was the cut-off point from where kids can still recover from traumatic experiences. Kids adopted younger than that did fine, but kids adopted after that age were affected for the rest of their lives. The fact that they didn’t actually remember things consciously did not matter.









  • It make sense for a wrapper layer to do this and I had to fight against APIs that didn’t. If I make a single HTTP call that wraps multiple independent API calls into one, then the overall HTTP code should reflect status of the wrapper service, and the individual responses should each have their own code as returned by the underlying services.

    For example on one app we needed to get user names by user id for a bunch of users. To optimize this, we batched calls into groups. The API would fail with an error code if one of the user ids in the batch was bad or couldn’t be found. That meant we wouldn’t be getting data for any of the users in the batch and we didn’t know which userId was bad either. Such a call should return 200 for the overall call and individual result for each id, some of which could be errors.












  • Some people grew up eating that shit and it provides them with a sense of comfort and familiarity.

    That’s exactly it. It’s confort food for a lot of Americans. I grew up in a different country, where home cooking was the norm and fast food was considered a huge waste of money. I of course tried it when I got my own money, but there was no reason for it to stick with me. So now fast food places don’t even register as an option for me if I ever find myself needing to eat from outside the house. But I’ve seen my friends in the US talk about fast food, their eyes gleaming talking about the Whatever Burger at Whatever Fast Food and the Whatever Taco at Another Fast Food and always get the Whatever Sauce at Yet Another Fast Food. The same way they talk about Twizzlers or Twinkies or other absolute junk that they would never touch if it didn’t bring them back to their childhood.