Live data from Hacker News

Viewing profile — randomguy1254

randomguy1254

HN member
Joined
Fri, Sep 02, 2016, 1:22 PM UTC
HN karma
32
Public activity
19 items

About randomguy1254

No profile information was provided.

Recent public activity

  1. comment
    Comment #15242803

    Apologies if unclear, that is what I meant be stack-based. Article implies that you cannot create a dynamically sized object on the stack.

  2. comment
    Comment #15240369

    Nice article. Minor gripe about the static vs dynamic memory section. The requirement that the data sizes be known at compile-time for static memory (with the example of an array a…

  3. comment
    Comment #14563615

    Hmm, I'm maybe missing something in this example. In the two slit experiment, a single photon can appear to go through two slits simultaneously. You appear to be suggesting that th…

  4. comment
    Comment #14555546

    I think the distinction is that observation can affect a system. In order to look at a particle, you need to bounce a photon off of it, which affects it. The particle/wave still ex…

  5. comment
    Comment #14241864

    Interesting concept. The article mentioned that other languages determine blocking automatically based on usage of the variables. So in your example, it could be determined that x …

  6. comment
    Comment #13107934

    Very interesting, good analogies and information for me to think about.

  7. comment
    Comment #13107915

    Interesting, thanks!

  8. comment
    Comment #13092801

    Thanks! That's an interesting fact about Feynman diagrams. If we had a hypothetical machine which could perform these calculations with infinite precision, would the "virtual parti…

  9. comment
    Comment #13091970

    Thanks! That's a really nice explanation. I keep forgetting that particles don't really exist so much as a wave function does in the Copenhagen interpretation, so that gives me a n…

  10. comment
    Comment #13091095

    Can you give me some hints on what virtual particles actually are if its not too complicated? I keep reading that they are not actually real particles, only useful for calculations…

  11. comment
    Comment #13090688

    That's not quite accurate. Local hidden variable theories have been proven wrong, but pilot wave theory is a nonlocal hidden variable theory. Bell himself was a proponent of pilot …

  12. comment
    Comment #12636053

    "lambdas that aren't as powerful as proper function defs" I don't really follow this. I think we should use the right tool for the job. I don't need something that is "more powerfu…

  13. comment
    Comment #12627511

    I think this is the point. You can do all these things, but they are all extra hoops you have to jump through when all you want/need is an anonymous on-the-spot closure.

  14. comment
    Comment #12614093

    Closures are functions that can capture values/references visible in the scope where the function is defined/instantiated. They are basically a short hand way of creating function …

  15. comment
    Comment #12612662

    Sorry, I edited my comment and you may have missed it. How would you emulate multi-line closures in Python? A free function which you can pass to a higher order function is not a c…

  16. comment
    Comment #12612572

    Sure, but I think that is the point. You can do that, but its not as convenient and becomes harder to read. And besides, those are free functions you speak of, not closures. To emu…

  17. comment
    Comment #12612411

    lambda bodies can only be a single expression

  18. comment
    Comment #12413202

    Good point about robustness, it makes sense in the general case, but if I have a container of integers, I think the chance that I replace int with a more expensive type while not h…

  19. comment
    Comment #12412813

    I use const auto on occasion, when the element type is inexpensive to copy. If I'm iterating over a vector if int's, why would I prefer const auto& over const auto? Assuming the co…