Live data from Hacker News

Viewing profile — quarktasche

quarktasche

HN member
Joined
Wed, Apr 15, 2015, 10:05 PM UTC
HN karma
13
Public activity
7 items

About quarktasche

No profile information was provided.

Recent public activity

  1. comment
    Comment #11255930

    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 d…

  2. comment
    Comment #11248102

    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 av…

  3. comment
    Comment #11149909

    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 resolu…

  4. comment
    Comment #10480416

    mv mirrorlist mirrorlist.bak rankmirrors -n 10 mirrorlist.bak > mirrorlist

  5. comment
    Comment #10324950

    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. https://…

  6. comment
    Comment #9903100

    Wolfram Alpha does! http://www.wolframalpha.com/input/?i=energy+to+heat+1l+of+wa...

  7. comment
    Comment #9384521

    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 i…