Re: [9fans] linux / p9p abomination

2017-03-01 Thread dexen deVries
rc is a thing of beauty. apologies for HTML in the previous message. On Wed, Mar 1, 2017 at 1:10 PM, erik quanstrom wrote: >> while (true) >> if ($watch) >> while (!$cmd) >> $watch || true > > rc allows empty conditionals, which are true. > > -

Re: [9fans] SHA-1 collision and venti

2017-03-01 Thread David du Colombier
> i believe that rsc worked this out in some work he did based on venti. > sadly i don't remember the name of the project. I believe you're referring to Foundation. https://swtch.com/~rsc/papers/fndn-usenix2008.pdf -- David du Colombier

Re: [9fans] SHA-1 collision and venti

2017-03-01 Thread erik quanstrom
On Mon Feb 27 14:17:49 PST 2017, charles.fors...@gmail.com wrote: > I think venti could deal with it: Rwrite returns a score, Tread provides a > score, and the caller typically uses it as an opaque value. If not, whether > a different sha1 is returned or a new algorithm is used, the caller could

Re: [9fans] linux / p9p abomination

2017-03-01 Thread erik quanstrom
> while (true) > if ($watch) > while (!$cmd) > $watch || true rc allows empty conditionals, which are true. - erik

[9fans] linux / p9p abomination

2017-03-01 Thread dexen deVries
runs build upon file change, repeats on failure #!/usr/bin/env rc flag e + cmd = ( $* ) watch = ( inotifywait -q --recursive -e modify -e moved_to -e create -t 3 . ) while (true) if ($watch) while (!$cmd) $watch || true