Live data from Hacker News

Viewing profile — alpatters

alpatters

HN member
Joined
Thu, Apr 05, 2012, 1:35 PM UTC
HN karma
61
Public activity
33 items

About alpatters

No profile information was provided.

Recent public activity

  1. comment
    Comment #15950817

    I think the comparison of bitcoin with gold is a better one than stocks. The value of gold today is not tied to the underlying precious metal any more. Gold is kept in vaults likel…

  2. comment
    Comment #15950796

    I don't think the history of gold changes the argument here. As a store of capital gold has also been stolen by corrupt governments in history.

  3. comment
    Comment #11002131

    I don't know Scanner Darkly and I don't have the app. But I have done a lot of my own images using the same algorithm as that used in the app. And, yes, it can definitely render ph…

  4. comment
    Comment #11002106

    On the waiting time point. I was putting together a similar service to yours (though you got there first). We managed to get our processing time down to under 50s for a 300x300 ima…

  5. comment
    Comment #8260192

    > "Practically, switching away from as many Google services as possible will help alleviate the most obvious issues like most of your personal data being in the hands of one compan…

  6. comment
    Comment #7910716

    I'm surprised they do not reference GraphLab from Carnegie Mellon, http://graphlab.org/projects/index.html It's built for the same purpose and has been around for a number of years…

  7. comment
    Comment #6585054

    Well, the kernel does device, process and memory management and that is a likely culprit when looking into power usage.

  8. comment
    Comment #6564421

    You could use boost::range to make it even more succinct

  9. comment
    Comment #6527204

    So in no way did they copy Google's which is implemented in C++ ? Though I agree with OP - these projects and Java are here to stay for the foreseeable future.

  10. comment
    Comment #6527195

    > Stack allocation is irrelevant for most of what the application is doing. Well I disagree with that. In C++ it is quite common for most objects to be allocated on the stack. I ha…

  11. comment
    Comment #6526752

    "None of these libraries (or many others) have competing implementations written in other languages." Except the ones they were written to copy. Each example you give is an open-so…

  12. comment
    Comment #6526735

    C++ gives you the option to just put your objects on the stack and have them clean themselves up upon destruction. Enforcing the placement of small objects on the heap, even a garb…

  13. comment
    Comment #6526708

    You're wrong. http://en.wikipedia.org/wiki/Profile-guided_optimization The method for C/C++ is just different to JIT. Compile program, collect profile information, optimize program…

  14. comment
    Comment #5305622

    You're a professional programmer, you use a keyboard all day, so you touch type right? hjkl sits right on the home row, where your fingers sit. It is just a natural place to put mo…

  15. comment
    Comment #5303485

    Well you have missed the point that they chose C over Pascal to implement Unix. I don't think that was by accident.

  16. comment
    Comment #5299013

    You could always let the compiler work it out for you. template int escape(std::complex c, int iter_max, Func& func)

  17. comment
    Comment #5293198

    > With C you can easily get better (that is, safer) than C++ native MM just building a reference counting system on top of your C "objects". Why build your own when C++ has std::sh…

  18. comment
    Comment #5292251

    Avoiding its complexity does not mean avoiding it. E.g. you could avoid template metaprogramming due to its complexity whilst keeping to simpler areas of the language. C++ is a lar…

  19. comment
    Comment #5292199

    I often convert python code to C++ and you'd be surprised how often the difference in loc is not that much. Certainly no hassle to do so. Not that I'm suggesting that one always sh…

  20. comment
    Comment #5291552

    Looking at the source, it looks like this lib uses boost:asio on non windows platforms.

  21. comment
    Comment #5291511

    I think the use of then() makes sense as this is an async call and not serial. So the function passed to then() is a completion handler, i.e. it is run when the call is complete. S…

  22. comment
    Comment #4739460

    I do wonder sometimes if google's own site would pass its site quality guidelines. Like duplicated content; the same content appearing on multiple pages, all pages should be linked…

  23. comment
    Comment #4724089

    In the spirit of the article, boost range also has a reverse filter, so the following would return a reversed range similar to python's generator expression using namespace boost::…

  24. comment
    Comment #4724058

    The extra syntax is not there for nothing. It's adding type information. Thus allowing error checking or dispatching by type or optimisations at compile time. It is a cost in terms…

  25. comment
    Comment #4723603

    you might not like the syntax of this particular boost lib, but it bears no relation to macro abuse in C. For one it is strongly typed. Of course it is unreadable if you don't know…