Update: I originally wrote ice-9, which it turns out is ambiguous. I meant the one from Cat's Cradle.
7,330 karma · joined May 12, 2008
Update: I originally wrote ice-9, which it turns out is ambiguous. I meant the one from Cat's Cradle.
https://www.stroustrup.com/quotes.html#:~:text=%22There%20ar....
In complexity theory, the size of a problem is the number of bits to represent the input, so if the input integer is i, then the size is n = log_2(i) so the algorithm is actually exponential in the number of bits it takes to represent the input.
I don't think this is true of most languages; only for Lua that I know of. And it causes problem: if you send a 64-bit ID to Lua, which represents it as a double, it will subtly change the last few bits. Then when you go to look up something with that ID, you get the wrong item.
Most languages don't have that problem.
Even today, when you ask someone "how many kids to you have," and they don't have any, they say "I don't have any," not "zero." In other words, they respond with a phrase, often one with a negation (not), instead of a number.
year-over-year CPI is backward looking: it compares one year ago to today.
Treasury yields are forward looking: If I tie up money now, how much more will I get one year from now.
Last year was pretty unusual. People expect the next year to be different.
"The World War I era and its aftermath, 1917–1920, then produced sustained inflation unmatched in the nation anytime since. Prices rose at an 18.5-percent annualized rate from December 1916 to June 1920, increasing more than 80 percent during that period."
[1] https://www.bls.gov/opub/mlr/2014/article/one-hundred-years-....
Of course, if I had a polynomial-time solver for the "cost <= X?" query, I could easily create a polynomial time solver for the cost of the shortest path, using binary search.
See Decision Problem: https://en.wikipedia.org/wiki/Decision_problem
Combining gravity, which needs great mass, with QM, which needs small space scales, is "hard" to do in a lab.
Of course, it's unintuitive and unsettling, so you could generate other theories about other dimensions if you like. But as far as predicting the results of any experiments we can do, QM is all you need.
Also, there are two very different theories of relativity, the special and the general. Special relativity is taught in 1st year undergraduate physics, you really only need high school math & physics, plus an open mind, to understand it. This has E = mc^2, twin paradox, length contraction, time dilation, speed of light as a limit. It's actually a pretty small topic, it usually doesn't have a separate course because it wouldn't fill a one semester course. QM is fully consistent with Special Relativity.
The other is general relativity, which revises gravity in light of special relativity. This is a much bigger topic and typically taught in grad school, although there are some undergrad texts now that don't require math as advanced as the grad school ones. QM and GR are incompatible, and the search for a "quantum theory of gravity" is a key plank in any "theory of everything."
Examples?
Now you just take the dot product of these new basis vectors with your target function.
For the math & physics classes, the deadlines are 3 weeks after being assigned, whereas when you take the class in person, there's a strict 1 week deadline.
Part of the advantage of taking an online class, as opposed to self study, is the motivating factor of deadlines. I have a lot of textbooks I've started reading, then said "I'll get back to this" and never have.
Another advantage of class over just textbook is discussions with classmates and TAs. Having a schedule helps with that too, since there are others working on the same material at the same time.
Another student said: "You mean, a radio?"
Engineer's performance is measured, in part, by number of kernel commits. So, the number of kernel commits is a key performance indicator for the developer.
Sounds like a lot of HN, TBH.