4,277 karma · joined Feb 29, 2012 (14y ago) · 994 submissions
comment 6y ago · link · parent
We see cases in computational geometry all the time where people use [min_x,min_y,max_x,max_y] bounding boxes when operating on sets of points or polygons or whatever, usually either (a) as entries in some sort of a spatial index like an R-Tree, or (b) as part of some short-circuit to avoid a more expensive polygon operation (like, if the question is "is this point in this polygon?" if you have the polygon's bounding box pre-calculated, you can first cheaply check if the point is in the box before doing the expensive point-in-poly operation; likewise to see if two polygons intersect, you can see if their bounding boxes intersect first, etc.).
Turns out though, that with the usual naive bounding box math, features like the US or Russia end up with bounding boxes that wrap all the way around the world in the X direction, which makes them pretty useless for those kinds of operations. So then you inevitably think "well, okay, we can have the bounding box cross the antemeridian." But then all kinds of assumptions about bounding boxes start to break down: suddenly your "minimum" can be bigger than your "maximum," and your point_in_bbox function that wasn't AM-aware breaks, as does your bboxes_intersect function. So then you fix those, but it turns out even the process of figuring out what the optimal bounding box of a multi-part geometry that can cross the antemeridian should be is non-trivial; imagining a multi-point geometry comprised of three points spaced equally in the X direction around the world, there are three possible distinct, equally optimally sized bounding boxes one could draw, so it turns out a given set of points doesn't have a unique optimal bounding box anymore either.
Even assuming a set of points does though, you usually end up with an algorithm that looks for the biggest X-direction "gap" between components and makes that the part not in the bounding box, and the rest in. But that leads to yet more subtle weirdness: in non-wrapping geometry, for example, you can assume that if you have two sets of points, and calculate the bounding boxes for each, the bounding box of the union of the sets of points is the bounding box of the union of the bounding boxes. But in the wrapping/AM-crossing context, that's not necessarily the case anymore: your points could combine in such a way that that optimal largest "gap" is now in a different position, and you have a totally different bounding box over the combined sets of points than you would over the combined bounding boxes.
etc., etc., etc.
None of this is impossible to handle, but it's sort of akin to those "things programmers assume about dates" blog posts: most people, and especially people who live in the continental US, just don't think about any of this, and don't encounter it in US testing, and then their code totally breaks in bizarre ways once usage extends to other parts of the world because these corner cases are unaccounted for.
comment 6y ago · link · parent
comment 6y ago · link · parent
In a lot of ways, this is actually worse. Lots of software can ignore problems posed by antemeridian-crossing geometries because in practice, not that many people encounter them (not many people live there). This would move any problems to the middle of the UK, plus a good chunk of west Africa.
comment 6y ago · link · parent
comment 6y ago · link · parent
No, or at least, not exclusively. There's tons of social science research in which, for example, two identical fabricated resumes were submitted for a battery of jobs, differing only by, say, a headshot of a black vs. white person, or a stereotypically-African-American name vs. a stereotypically white (or not-obviously-race-signaling) one. In these studies there are huge differences in response rates and callbacks, even when everything else about the resumes (educational attainment, experience, etc.). is identical.
It's true that many black people suffer structural disadvantages because of systemic lack of access to resources, etc. But they also suffer disadvantages because they're black.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
It's decently likely from what I've been reading that there might end up being effective pharmaceuticals for each stage, but that they'll be totally different from one another: maybe HCQ and antivirals like remdesivir or favipiravir early, and maybe immune-modulators like tocilizumab or even corticosteroids in this second phase. But again, the devil will be in the details, as it looks like HCQ doesn't work late, and steroids or other immune modulators might be actively harmful in that first stage when the virus is still surging.
As for mechanism: nobody is really sure. HCQ does have some immune-modulating effects (that's what makes it useful for lupus), but there's also speculation that it might have some effect on the interaction between the ACE2 receptor and the coronavirus spike protein, and so somehow inhibit viral entry (see, e.g., https://www.nature.com/articles/s41421-020-0156-0).
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
Nitpick: in Bombardier's case at least, these were separate events. The acquisition wasn't to deal with bankruptcy (they got a Canadian government bailout for that), but rather to gain access to Airbus's US manufacturing facilities to avoid import tariffs on US deliveries, which became necessary following a Boeing anti-dumping complaint that would have made the C-Series prohibitively expensive to US carriers.
comment 6y ago · link · parent
comment 6y ago · link · parent
If we could make progress targeting just short hops targeted by DASH-8s or CRJs or whatever, we could still make significant progress, even if it meant leaving the longer-haul flights alone, or targeting their emissions with different technologies (synthetic fuels from carbon capture, maybe).
comment 7y ago · link · parent
Sure, I never said it was the rich people that had to do the spending, so we don't disagree there, but if "inflation" as commonly measured (CPI, say) is to occur, the prices of consumer goods have to change, and someone at some point has to buy some, whether it's the rich people or their employees, and if it's the latter it requires that the former sink their money into something that employs people. The author suggests that this happens less reliably than it used to (that they hoard cash, or I dunno, gold? whatever -- something societally unproductive)
comment 7y ago · link · parent
I don't think this is the actual claim. The key quote is this (emphasis mine):
> Doubling the amount of gold in a country will have no effect on the price of cheese if you give all the gold to rich people and they just bury it in their yards, or use it to make gold-plated submarines
It's not that they're unrelated, it's that increasing the monetary supply is a necessary but not sufficient criterion for inflation to occur. I don't think the author would likely deny that printing boatloads of money resulted in inflation in Zimbabwe or Venezuela, just that if you increase the monetary supply specifically by giving it to rich people who hoard and it never gets spent on consumer goods, it won't affect the price of consumer goods. That's not how it went down in Venezuela, but is (the author asserts) what kept QE from working.
comment 7y ago · link · parent
comment 7y ago · link · parent
Another way to think about it: uses like those you propose that can soak up excess energy in the grid are exactly why energy markets are allowed to float, and even to go negative. If there's a surplus, they want you to use it, and if it were economical to store it and sell it back to the power company later, both they and you would benefit. That this isn't common suggests that it isn't economical.
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
Universities' principal missions should be pedagogy and research. If college sports as they now exist require hampering students' ability to learn (or, I suppose, do research), having those sports teams and operating them the way they do is in conflict with what should be their mission, and they should stop having sports teams.
comment 7y ago · link · parent
Obviously? Right from the second sentence, the article says:
> Initially this project was envisioned as a separate Lite mode of V8 specifically aimed at low-memory mobile devices or embedder use-cases that care more about reduced memory usage than throughput execution speed. However, in the process of this work, we realized that many of the memory optimizations we had made for this Lite mode could be brought over to regular V8 thereby benefiting all users of V8.