- Noumenon72You should delete the bonus content from this post too because you started with a good point that doesn't deserve to get deleted for irrelevant and confessed-intentional spam.
- So this isn't really "visualize FastAPI endpoints", it's "visualize the inheritance cascade caused by using the pydantic-resolve approach to data fetching/transformation, which involves adding post-hooks to compositions of Pydantic objects". A vanilla FastAPI user like myself is going to have trouble understanding it without realizing how tied it is to that framework.
- What are the files like router.sample_1.schema? Is that a convention you use for your Pydantic models or something generated by OpenApi?
- This is all interesting, but is there a reason trianglular and rectangular sails can't be bolt on after thoughts?
- Optimizing them for speed makes them flexible: when they're not full, you can go fast, and when they're full, they can degrade gracefully to 30-35 mph.
- > If a straight stretch of road has 4 intersections with stop lights for cross traffic, and one of those lights is green for 20 seconds for the straight road and green for 40 seconds for the cross traffic, then the end-to-end throughput of that road (ignoring turns on/off for the sake of simplicity) is 1/3 of its hourly capacity, or 600 cars per hour. Widening the road won’t fix that intersection.
I don't see how the intersection affects road-widening calculations at all. Doubling the lanes will double the throughput, to 1200 cars per hour. We weren't expecting widening the road to also eliminate red lights.
- There are lots of good experiences from ads in maps:
- I search for "restaurants" and someone is having a special
- A trampoline park opens near me, I'd like it to catch my eye
- I've been googling chocolates recently, so populate the map with chocolate shops
- Maybe I'm bored as a car passenger and watching the map screen so my attention is free anyway
- In history they didn't have video games, porn, or mass surveillance of what you and your angry friends are getting up to. I would not expect things to play out by any historical pattern.
- The centuries of ethics discussions have nothing to do with the current institutions that gatekeep science and health with worries and trivia, any more than philosophers of nature are responsible for enviromentalists not letting us build housing. I'm entirely referring to anti-growth bureaucrats. https://slatestarcodex.com/2017/08/31/highlights-from-the-co...
Ethicists seem worse for the world than actually unethical people because they bind the majority of good people from progressing, which is what gets us out ahead of our baser natures.
- Ethicists forbid studying anything interesting, leaving us to scrape up data from natural experiments like this patient having a heart attack while already hooked up to an EEG.
- I'm trying this right now and I don't get it. There's no difference between
andHatsService getWearableHats() { return db.query(Hats).toDto() } getThrowableHats() { return db.otherQuery(Hats).toDto() }# wearable.py getWearableHats() { return db.query(Hats).toDto() } # throwable.py getThrowableHats() { return db.otherQuery(Hats).toDto() } - I'm not sure I understand the different approaches being compared here. Are you opposing 1 and supporting 2?
1. HatsService with methods .get_hats(), .throw_hats() 2. wearable_hats = db.query(Hats).map(hat => WearableHatDto(hat) throwable_hats = db.query(Hats).map(hat => ThrowableHatDto(hat) - It's nice of evolution to imbue some people with these false views. I hope your kids inherit the earth so people with more realistic outlooks don't have to be born and suffer through it.
- Grant that overordering will often be the correct strategy, economically, since the marginal cost of unloading a few units is low and the damage when customers think you're poorly stocked is high. In a perfect world, they'd discount the extra food instead of throwing it out, but that devalues your stock and people start expecting that as the real price.
Enlisting social cooperation leads to an even better world: the store always have products in stock, and never wastes any, while consumers get to feel the moral satisfaction (not guilt) of cooperating to choose the food that avoids the most waste. Highminded signs about "please choose the earliest expiration date" may give less of that satisfaction than a sticker that makes you feel like you're helping the food.
- It doesn't seem that abusive. I don't comment things out thinking "this will keep robots from reading this".
- That's the comparison I was making -- just because you target people with facial recognition, doesn't mean people won't target you with facial recognition. Gangs or Abolish ICE
- That's an even 5:5 split between both meanings.
- That's about as ironic as carrying a gun while wearing a bulletproof vest. If the tech exists and works it changes both defense and offense.
- It is crazy how you can relax your face 4-5 times in a row getting less tense each time, and how well this method works to get you to sleep, especially after it has worked for a while so your body associates the relaxing with sleeping.
- Instead of declaring all bike thieves felons and imprisoning the 1% of them we manage to catch, we should spend our money on sting operations that catch the 50 or so individuals in each city that steal 80% of the bikes, and reserve the felony treatment for repeat offenders.