[tahoe-dev] Go package for Zfec

2013-11-02 Thread Simon Liu
Hi,

I've created a Go package for the zfec library and used it to port the
zfec/zunfec command line tools (as an example).

To install it run:
go get gitorious.org/zfec/go-zfec.git

To read documentation:
http://godoc.org/git.gitorious.org/zfec/go-zfec.git

The two repos are here:
https://gitorious.org/zfec

Regards,
Simon
___
tahoe-dev mailing list
tahoe-dev@tahoe-lafs.org
https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev


Re: [tahoe-dev] Go package for Zfec

2013-11-02 Thread Leif Ryge
On Fri, Nov 01, 2013 at 11:22:49PM -0700, Simon Liu wrote:
 Hi,
 
 I've created a Go package for the zfec library and used it to port the
 zfec/zunfec command line tools (as an example).
 
 To install it run:
 go get gitorious.org/zfec/go-zfec.git
 
 To read documentation:
 http://godoc.org/git.gitorious.org/zfec/go-zfec.git
 
 The two repos are here:
 https://gitorious.org/zfec
 
 Regards,
 Simon

There is also a go port (as opposed to go bindings for the C implementation)
here: https://github.com/korvus81/jfec

(I have not used it; I just discovered it the other day while looking for a
link to zfec to send to this list.)

There is also a JavaScript implementation here:
https://github.com/richardkiss/js_zfec

It would be nice if there was a single place on the web with information about
all of these, perhaps https://tahoe-lafs.org/trac/zfec ?

Right now that page has an error about trac not having the darcs plugin.

~leif


signature.asc
Description: Digital signature
___
tahoe-dev mailing list
tahoe-dev@tahoe-lafs.org
https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev


Re: [tahoe-dev] zfec 1.4.24 standalone install quickstart?

2013-11-02 Thread Leif Ryge
On Sat, Oct 26, 2013 at 03:29:05AM +, Garonda Rodian wrote:
 I'm certain I'm making beginner mistakes, but in my defense, I think I'm 
 simply trying to follow the README.rst after downloading from
 https://pypi.python.org/pypi/zfec
 
 Is there some pyutil install I'm supposed to do first?
 [...]

Yes, you need pyutil which you can find at https://pypi.python.org/pypi/pyutil
or you can have pip install it for you BUT be careful of older versions of pip
which have a bad habit of downloading code over HTTP or unverified HTTPS.

I just tested and confirmed that zfec installs correctly (and safely, relying
on HTTPS and PyPI) into a new virtualenv (root not required) using these steps:

wget 
https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
tar xf virtualenv-1.10.1.tar.gz
./virtualenv-1.10.1/virtualenv.py ./zfec_venv
source ./zfec_venv/bin/activate
pip install --no-allow-insecure zfec

happy hacking,
~leif


signature.asc
Description: Digital signature
___
tahoe-dev mailing list
tahoe-dev@tahoe-lafs.org
https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev


[tahoe-dev] How can I get the algorithm or some theory about the zfec

2013-11-02 Thread xiao_s_yuan
How can I get the algorithm or some theory about the zfec,the source code fec.c 
is so difficult that I can't unstand,so I want to get some doc about how the 
zfec work ,Can someone give me some information?___
tahoe-dev mailing list
tahoe-dev@tahoe-lafs.org
https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev


Re: [tahoe-dev] How can I get the algorithm or some theory about the zfec

2013-11-02 Thread Jason Johnson
I am working on this with my professor at school. My best advise is to dig into 
zfec and get real good at linear algebra. I am creating some infografics to 
explain this better. You are right its complicated but very cool. I will keep 
you posted if you like?
Jason Johnson 

projectseven.us 
netgreen.ustahoe loves me

On Sat, Nov 2, 2013 at 07:30, xiao_s_yuan  wrote:
How can I get the algorithm or some theory about the zfec,the source code fec.c 
is so difficult that I can't unstand,so I want to get some doc about how the 
zfec work ,Can someone give me some information?
___
tahoe-dev mailing list
tahoe-dev@tahoe-lafs.org
https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev


Re: [tahoe-dev] I want to know where the erasure-codes partment in the source codes!

2013-11-02 Thread Wim Lewis
On 10/31/13 2:17 AM, xiao_s_yuan wrote:
 oh,It means that the tahoe-LAFS uses zefc to realise erasure coding
 ,someone told me that it maybe uses RS erasure coding in it,so I want to
 read the source code about the eraseure coding  but I can't find it for
 a while,now I know,so if I want to do some research on the erasure
 coding in tahoe-LAFS,I have to study the zefc ,is it right?

I think zfec does use Reed-Solomon coding. At least, this paper[1]
implies that it does. (If I'm wrong, then hopefully Zooko will speak up.
I don't know much of the math behind RS coding.)

 [1]
https://www.usenix.org/legacy/events/fast09/tech/full_papers/plank/plank.pdf





signature.asc
Description: OpenPGP digital signature
___
tahoe-dev mailing list
tahoe-dev@tahoe-lafs.org
https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev