335 karma · joined July 28, 2014
https://www.investopedia.com/terms/p/present-value-annuity.a...
Back to the primary topic: cooking your own meals makes 'eating less' a matter of dialing in the portion sizes over time. I eat ~110g of pasta, or 0.8 cups of rice, or similar, and about 0.3-0.5 lb of protein, and about 1-1.5 vegetables per meal. Overall, I eat two meals like this, black coffee, a breakfast bar, and a snack, which puts me at 2000-2500 cal.
Now, on to a weird tip: meal planning! What a fun mix of intuition and ideas from operations research.
Buying puts in this fashion will generally be a remarkable, traceable event. There's a reason ransoms typically go through cryptocurrency.
Of course, maybe this is exactly what the future of transportation should look like: more localized travel on modes that can be powered by renewable sources or nuclear.
We take an ML model trained on unencrypted data, use a 'homomorphic evaluation' technique (let's just leave that as magic here) to convert the model operation-by-operation to a model that runs on encrypted data, do a little more crypto magic, and we've solved the business problem described at the beginning of the article.
(In particular, if you train a model on encrypted data you get a really bad model, right?)
I do agree with Buzzard that it's hard to be sure. I've definitely read papers where a critical argument isn't well written or what is written seems wrong. However, if there are low-level errors, I suspect that with some work things could be patched up.
The problem is that the old policy only works if the customers don't understand it, and maybe even seems generally unethical.
Seems like more of a PR stunt than anything useful, but who knows.
for product_id in unique_products:
product_items = [x for x in dataset_python if x[0]==product_id ]
This is O(unique_products * observations), and it looks like O(unique_products) = O(observations). Thus we have a quadratic scan when a linear one would suffice. You'll get the best performance using whichever solution lets you code this to linear the fastest. E.g. pure python, make a dict from product_id to observations and iterate over that, or for pandas, use groupby.I'm pretty sure the number of high-quality researchers in theoretical physics, or any major field, who are totally self-taught is really quite small. This website feels like it's in part to dissuade amateurs from sending their "awesome result" to professionals, which the author mentions in the intro.
Thus, if expected revenue from overbooking > expected payouts, overbooking is worth it.
HOWEVER, the legal compensation required scales really weirdly - $1350 maximum for anything over a two hour delay? Why would being delayed three hours be equivalent to being delayed something like 12-18 hours? I'm also not sure that maximum number has scaled with inflation.
Anyway, some airlines already do auction off this. All airlines ask for volunteers because the compensation they offer is always less than the legal requirement for involuntary bumping.
This is just a mess because United had already let the passengers on the plane, and weren't even offering that maximum, much less over it. If somebody here actually knows contract of carriage laws, does this sort of 'required compensation' thing hold after boarding happened?
>For example, in a software or tech company they would be:
> Software Engineers
> Data Scientists
> Visual Designers
> Structural & 3-D Prototype Designers
> Narrative Developers
This certainly doesn't agree with what almost anybody else uses to define high-performance employees.Third, the question they use to resolve this is from their survey:
>Are you motivated more by mastery of skill/craft, or motivated more by earning money?
> Mastery of skill or craft
> Money
> Other
I don't think we can draw any conclusion from the fact that 76% of the people who answered this public google form chose 'mastery'.Second, programmers at companies almost never work in isolation from other programmers, and in most open office environments are close enough they could touch another one from their desk. On the other hand, a startup with five to ten engineers may be hiring you as their first data scientist, and bigger companies may be putting you on an embedded team, with the nearest data scientist a hallway or floor away. And this isn't a big deal in terms of teamwork, but most data scientists don't have a PhD in mathematics, so if you find higher level mathematical ideas and notation to be the most efficient way for you to think about a problem, your colleagues may not. That's also not a math specific thing though -- an economist, statistician, mathematician, computer scientist, physicist, etc. are all going to have slightly different ways they think about things internally.
Second is, you can't just scale up salaries by the COL adjustment when the comp is this high. If you do that, you'll think the following are equally good:
- monthly income 10k, 3k on rent, 2k other expenses
- monthly income 5k, 1.5k on rent, 1k on other
Not all expenses scale linearly with COL, and in particular, one of the most important imputed expenses, savings, doesn't scale that way, unless you plan to retire with the exact same lifestyle.This isn't a flaw of philosophy. Lots of fields of human study are great. Math just has some things that make it unique. But just like defining what art is, it's hard to pin down exactly what it all is.
Of course, a one size approach won't fit everybody.
Sub-selection with a FROM clause, yeah, those definitely need names. But those don't have perfectly good names that everybody already knows, whereas tables do. If you're maintaining somebody's code and they declare
foo_bar = 10
I think it'd be pretty strange to ever consider writing fb = foo_bar
just because you find foo_bar too long to write or something. SELECT first_name AS fn
FROM staff AS s1
JOIN students AS s2
ON s2.mentor_id = s1.staff_num;
We already agreed that staff is a good name for a table, so why are we renaming it to s1? There are all sorts of subtle bugs that arise when s2.mentor_id = s1.staff_num is wrong, and the variable names provide no help here that we're doing things right.How about:
SELECT first_name
FROM staff
JOIN students
ON student.staff_id = staff.id;
If you're reading some 50+ line SQL query with a bug, things like this are easy to read and be confident in. Honestly, I think AS should basically never be used for tables.Likewise, the guide gives the example of naming join tables 'services' instead of 'car_mechanics'. But if I see a table 'car', a table 'mechanic', and a table 'car_mechanic', I instantly know how to join against this in any direction. The hard part of understanding a schema is how it fits together, not what it represents, and when you have hundreds of tables and need to remember that join table's name, it's really, really nice if it's trivial to derive.
Lastly, the guide's recommended indentation for FROM vs JOIN statements seems off to me. Consider:
FROM riders AS r
INNER JOIN bikes AS b
ON r.bike_vin_num = b.vin_num
AND b.engines > 2
Well, the thing is, the riders table and bikes table have the exact same priority in the query, but this spacing really emphasizes the riders table and it's not clear why.Anyway, the article mentions this is maybe ten to a hundred rides a day. This is either a PR thing or a prototype; time will tell.
Point one, I think: something about inequality because DSC has 190 employees. But it still takes the same order of magnitude number of people to make and sell a razor; they just don't all work at DSC. There are still employees at the Korean manufacturing center, and it's not like they would have gotten rich if they were owned by DSC. How many people were made millionaires by Gillette?
Point two: big companies should be afraid of disruption. If Gillette was really afraid of DSC, well, we know how much it costs to buy them, and Gillette was worth 57x more, 11 years ago. I think a more likely explanation is Gillette had almost a monopoly but didn't find a way to use price discrimination, and DSC picked up where they left off.