1,216 karma · joined March 27, 2014
I think OP's arguments about FastAPI being hard to work with in a bigger codebase are exaggerated. Splitting up the routes into multiple files, each with its own route object, and then importing and building up a big hierarchy of route objects, isn't that hard, it does the job for me. Agreed that it's probably not well documented enough, how to structure a larger FastAPI codebase - but follow a mix of best practices and your personal tastes, break it up into modules, split it into specific files for constants / errors / routes / schemas / crud / etc, and you can scale up sanely.
I haven't used SQLAlchemy with FastAPI - for my day job I mainly connect to data stores for which it doesn't make sense - so maybe I'm biased, because I've avoided that pain.
Mercedes-Benz isn't the only corporation with its own /8 block - although it is the only non-US one; and it's a pretty small exclusive list, only six in total. I guess someone at Mercedes-Benz just happened to hear about this Internet thing relatively early (53.0.0.0/8 was registered Oct 1993 according to Wikipedia - the relevant European authority, RIPE NCC, was only founded in Apr 1992), and/or happened to have a buddy at IANA / RIPE NCC, and the rest is history.
And they said in the ~1960s that assembly languages are a miserable medium for programming, compared to machine languages.
(Ditto for every other language paradigm under the sun since then, particularly object-oriented languages and interpreted languages).
I agree that natural languages are a miserable medium for programming, compared to procedural / object-oriented / functional / declarative languages. But maybe I only agree because I'm a computer scientist from the ~2010s!
Probably timed to coincide with the peak of the tourist season in Peru. Dry season is May-Oct (not at all advisable to visit Machu Picchu in the wet season). Jul-Aug is summer holidays for Europeans, who are the biggest cohort of international tourists in Peru (and summer holidays for North Americans). And Peru's independence day is 28 Jul, so locals take an (often extended) long weekend, so a bit of a spike in domestic tourism coming up too.
Although I don't know if the Bondi and/or the St Ives eruvs involve their own physical wires? I thought it was deemed sufficient for the rabbis to just "declare" various sets of third-party power lines / phone lines as constituting the eruv, or am I mistaken?
The "eruv" definition was established back when the biggest conceivable area that it might cover was that of a medieval village or ghetto, of maximum several hundred (small cramped) houses, i.e. let's say about the area of Vatican City, which is 0.49km2 (0.19 sq mi). Whereas the total area of Manhattan island is 59km2 (22.7 sq mi). So, yes, in my opinion, a Talmudic judge would consider the modern-day Manhattan eruv a gross perversion of the spirit of the law, and would update the definition accordingly. But no such judge exists in this era. So, yay, let's play "how ridiculously can we apply anachronistic archaic rules to the modern world" - apparently, ultra-orthodox Jews consider it such a fun game, that they let it rule their entire life!
And surely HN is way less monetised (and therefore way more trustworthy) than virtually every other links site / every social media platform out there?
def fun(a = None):
_a = a if a is not None else []