Live data from Hacker News

Viewing profile — splinterofchaos

splinterofchaos

HN member
Joined
Wed, May 16, 2012, 9:38 PM UTC
HN karma
52
Public activity
28 items

About splinterofchaos

No profile information was provided.

Recent public activity

  1. comment
    Comment #8753322

    There exist very accurate tests for autism, but /getting/ a diagnosis can be difficult. A teacher spotted autistic symptoms in me back when I was ten and recommended I get tested. …

  2. comment
    Comment #8746213

    The classic C/C++ versions are recursive, and using the STL, c++'s quick sort looks very similar to the functional one. From cppreference.com: http://coliru.stacked-crooked.com/vie…

  3. comment
    Comment #8711379

    There do exist object-oriented functional languages (Ocaml). Functional vs OOP is a false dichotomy, though a very common one. I prefer to use functional techniques in imperative l…

  4. comment
    Comment #8710063

    > A language that is brief and concise gives you fewer opportunities to make mistakes I don't think that's necessarily true. Look at brainfuck! But in all seriousness, dynamically …

  5. comment
    Comment #8710007

    How about: def move_pos(x): if random() > 0.3: return x + 1 return x def move_cars(positions): return map(move_pos, positions) I do not believe that functional programming benefits…

  6. comment
    Comment #8585746

    I called "bar" with " " to demonstrate that you can bind an rvalue-ref to an rvalue-ref, not to suggest that's how it should be called.

  7. comment
    Comment #8585302

    At least "forwarding" specifies "for use in perfect forwarding", but it must be made clear that this term refers to the syntactic phenomena and they are not distinct from rvalue re…

  8. comment
    Comment #8585152

    I did not mean "any rvalue-reference" and bind to "any l- or rvalue", but that you can have an "int &&", "int& &&", "const int& &&", and even "int&& &&". I updated my comment to sa…

  9. comment
    Comment #8584918

    Not a bad article, but I'm so sick of the term "universal references". Perhaps useful for explaining things to the uninitiate, but a more technical understanding requires the knowl…

  10. comment
    Comment #8581713

    This was my thought as well. Sherlock's method can be seen as a special case of the scientific method that focuses on gathering all the facts before making your HYPOTHESIS. (You ca…

  11. comment
    Comment #8564915

    Nope. See the bottom item on the FAQ: https://github.com/neovim/neovim/wiki/FAQ#are-plugin-authors...

  12. comment
    Comment #8564906

    They'll work just fine, by being "transpiled".

  13. comment
    Comment #8564035

    The most popular neovim feature (based on reddit's reactions) seems to be job control, although not enough people are using it. You can start an asynchronous job via `jobstart('nam…

  14. comment
    Comment #4930529

    You want either mem_fn (C++11) or mem_fun. http://en.cppreference.com/w/cpp/utility/functional

  15. comment
    Comment #4930488

    > The sort of immutable container logic that people associate with FP is against the nature of C++... My argument is that C++, a multi-paradigm language, benefits from not being bo…

  16. comment
    Comment #4930112

    Technically, those are free functions defined on strings, not members functions of the class string. But also: std::to_string http://en.cppreference.com/w/cpp/string/basic_string/t…

  17. story
  18. comment
    Comment #4899119

    This particular feature isn't offered by anyone else, so I would not write a program with it and force anyone else who wanted to compile the code to use an unsupported, bleeding ed…

  19. comment
    Comment #4862496

    > Having said that, it sounds like if I just followed your advice above I may get the same results as I get from listening to the tracks getsomeheadspace provides. Perhaps. Some li…

  20. comment
    Comment #4861347

    They seriously want you to pay for meditation? That's absolute bull crap. The best advice I've ever gotten for meditation: Just sit. Make it at least 15 minutes. Maintain good post…

  21. story
  22. comment
    Comment #4751617

    What a wonderful piece of programming history! This deserves more up-votes. How many programmers are alive today who can speak about their experiences in computer science in the 60…

  23. comment
    Comment #4710488

    Because they don't do the same thing. The Haskell code tests if that last char was a space and returns b or toupper(b). The C code checks if the current char is an alpha, then chec…

  24. comment
    Comment #4301891

    I suspect offerings like that will be rolled out within the next year or two, if all goes well.

  25. comment
    Comment #3984753

    You're right. I had misread your post.