News for hackers. Stuff that matters.
Re:Bringing Peer-to-Peer Streaming to the World. by jamii on Thursday February 27, 2014 @09:19PM (#7316869)
I had some fun implementing binmaps a while ago - http://scattered-thoughts.net/blog/2012/01/03/binmaps-compre...

I originally encountered them in http://libswift.org/ which was the predecessor to http://datatracker.ietf.org/doc/draft-ietf-ppsp-peer-protoco.... Both are very elegant simplifications of bittorrent and the IETF draft is pretty readable.

Re:Bringing Peer-to-Peer Streaming to the World. by jsonified on Friday February 28, 2014 @02:26AM (#7317581)
Jamii I've seen your ocaml implementations, your code has been very instructive - thanks!
Re:Bringing Peer-to-Peer Streaming to the World. by jamii on Friday February 28, 2014 @02:32PM (#7320921)
How do you manage in erlang without mutable arrays? It must be expensive to build it out of tuples.
Re:Bringing Peer-to-Peer Streaming to the World. by jsonified on Monday March 03, 2014 @05:34AM (#7333005)
atm I'm not doing live streaming so I can store & reload these from disk. I'm likely to end up using hipe_bifs:bitarray* or https://github.com/ferd/bitarray where those are not available, if needed. See http://erlang.org/pipermail/erlang-questions/2009-May/043485... for an example.