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 likely never to be looked at or touched. It…
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.
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 photos is anime or cartoon like styles.
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 image. How do you cope with such long…
> "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 company and the related issue of ads…
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. The core is in C++ with python…
Well, the kernel does device, process and memory management and that is a likely culprit when looking into power usage.
You could use boost::range to make it even more succinct
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.
> 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 have never heard stack allocation being…
"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-sourced clone of an pre-existing version…
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 garbage collected heap, seems such a waste…
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 guided by profile information.
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 movement keys. Nothing to do with the…
Well you have missed the point that they chose C over Pascal to implement Unix. I don't think that was by accident.
You could always let the compiler work it out for you. template< typename Func > int escape(std::complex<double> c, int iter_max, Func& func)
> 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::shared_ptr.
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 large, multi-paradigm language. It gives…
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 should. Several boost libraries are…
Looking at the source, it looks like this lib uses boost:asio on non windows platforms.
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. So do this call, and then when its…
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 from somewhere on the site or a site…
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::adaptors; s | reversed or reverse(s)
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 of syntax and readability but it's not…
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 C++ or boost range. But it is not more…
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 likely never to be looked at or touched. It…
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.
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 photos is anime or cartoon like styles.
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 image. How do you cope with such long…
> "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 company and the related issue of ads…
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. The core is in C++ with python…
Well, the kernel does device, process and memory management and that is a likely culprit when looking into power usage.
You could use boost::range to make it even more succinct
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.
> 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 have never heard stack allocation being…
"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-sourced clone of an pre-existing version…
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 garbage collected heap, seems such a waste…
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 guided by profile information.
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 movement keys. Nothing to do with the…
Well you have missed the point that they chose C over Pascal to implement Unix. I don't think that was by accident.
You could always let the compiler work it out for you. template< typename Func > int escape(std::complex<double> c, int iter_max, Func& func)
> 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::shared_ptr.
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 large, multi-paradigm language. It gives…
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 should. Several boost libraries are…
Looking at the source, it looks like this lib uses boost:asio on non windows platforms.
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. So do this call, and then when its…
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 from somewhere on the site or a site…
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::adaptors; s | reversed or reverse(s)
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 of syntax and readability but it's not…
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 C++ or boost range. But it is not more…