Hacker News new | ask | show | jobs
by JohnHaugeland 4123 days ago
If you want to do things in JavaScript and want to have your users avoid the version problem, the thing to do would be to provide an installer which pins versions of the various libraries (ostensibly through NPM) and/or to just distribute the package as a whole with the various libraries in place.

This can be automated. If you'd like, ping me at stonecypher at gmail dot com, and I'll share the system I use, and show you how to work with it.

Or you can just see it here: https://github.com/StoneCypher/flocks.rocks/blob/master/gulp...

1 comments

Thanks for the offer. However, I kind of don't want to do things in Javascript, as Python is a fantastic platform for numeric computation, and so staying in that ecosystem makes a lot of sense (people can take my matplotlib code and go off and do their own plots for their filters, for example).

But I'm sort of at an inflection point. Is my book about using Python to do Kalman filtering, or is it about Kalman filtering, and it happens to use Python. So far it has largely been the latter, so I could see doing a Javascript version. But I think that puts my needs over the needs of the reader, which is probably wrong.