dataewan's comments

dataewan | 8 years ago | on: Syberia – Make R a production-ready language for deployable machine learning

We've tried using docker to put R applications into production. I'm no docker expert, and I found it pretty easy to do.

A couple of pointers: - If you have a dependency on a library like blast that takes a long time to compile, you can make a base docker image that already has that library installed. That makes iteration quicker, as you'll only need to build that base image once.

- If you put a web interface on the image using shiny, then it is straightforward to deploy it for your users to interact with.

dataewan | 11 years ago | on: Maps that illustrate the global economy

That is exactly the method they use. Calculate the centre of economic gravity, then project it onto the closest point on the surface of the globe.

Here is a nice analysis that does the same process in a more intuitive way. It calculates the centre of economic gravity in 2D map coordinates. This gives results that are easier to understand, because everyone's used to looking at 2D maps.

http://nbviewer.ipython.org/github/djv/world_economic_center...

Previous discussion:

https://news.ycombinator.com/item?id=8034394

page 1