174 karma · joined September 13, 2009
In short, OCaml is a mature language that has been used for decades in commercial applications. I feel OCaml is the next progression for the people that got excited about distributed systems via the Erlang path and want more of the safety and reasoning that comes from a strongly/statically-typed language like OCaml. Rust may or may not take off, but I am confident OCaml will remain viable for the foreseeable future, and probably gain slow, but steady popularity as engineers see all the cool things you can do like MirageOS: http://openmirage.org/
This has been my experience in practice, too.
sender$ tar -c awesome.jpg | nc -l 0.0.0.0 12345
(waiting forever)
recipient$ nc 255.255.255.255 12345 | tar -x
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
A quick article that may help you out: http://intermediatesql.com/linux/scrap-the-scp-how-to-copy-d...
2. A very minor point, but you are still required to know (or at least specify) a the filename on the receiving end. My solution does not.
I've added a link for udpcast to my readme as an alternative. Thanks!
With that said, by 'quickly', I was focusing more on easiness and simplicity.
Some people voted it up, I can't control that. I really could care less about karma, in fact, the critical comments (except yours) have been very useful and worth the post.
I am just being part of a community.
I now see though that ncp (http://www.fefe.de/ncp/) would have probably sufficed, though it is a slightly different approach.
Sorry if you feel mislead.
I appreciate the criticism though, it is always good to question the investment of time. In this case, I feel comfortable with it. Can't discount the joy of programming little things either.
I should have noted somewhere, this isn't ready for production by any means, just a first iteration of an idea I had. It is currently intended to be used on a trusted network.
Thanks for pointing this out though.
Though, this still looks more robust, thanks for the link.
I actually use SimpleHTTPServer a lot for other things though, it is a great tip.