quarktasche
No user record in our sample, but quarktasche has activity below (stories or comments). Likely we have partial data — the full bulk-load will fill profiles in.
No user record in our sample, but quarktasche has activity below (stories or comments). Likely we have partial data — the full bulk-load will fill profiles in.
Which part? Figuring out how to efficiently calculate a moving average seems like a good question for basic maths skills to me. About complexity theory, there is already a lot of discussion about it's relevancy in the…
Wouldn't the question about the moving average be a good one though? It should be quite obvious that you can calculate a moving average without remembering more than the current average and the window size. Given that,…
I don't think the std::chrono example is fair at all. In the C++ case, you specify which clock you want. What kind of clock is DateTime.UtcNow()? Is it monotonic? What's the resolution? It's maybe in the documentation,…
mv mirrorlist mirrorlist.bak rankmirrors -n 10 mirrorlist.bak > mirrorlist
If you like this kind of thing go read this write-up of predicting hands in online poker due to bad implementations of shuffling and PRNG algorithms! Its quite a fun read.…
Wolfram Alpha does! http://www.wolframalpha.com/input/?i=energy+to+heat+1l+of+wa...
Might not work in some special cases though. Try: def foo(): a = 4 def bar(): print("a = {a}".format(**locals())) bar() foo() which will raise a KeyError, while it will work fine if you add a print(a) to the end of…