Re: [Bug-apl] An inventory of entropy

2019-06-21 Thread Kacper Gutowski
I used something similar installed as an user command, but it's a trivial one-liner and only good reason to include it in distribution would be to do it right while avoiding possible mistakes and pitfalls—which the proposed code doesn't do. (Where does 4294967294 come from? Twice the MINSTD

Re: [Bug-apl] APL REPL & pager

2019-06-21 Thread Rowan Cannaday
I think that'll work, thanks. On Fri, Jun 21, 2019 at 11:30 AM Dr. Jürgen Sauermann < mail@jürgen-sauermann.de> wrote: > Hi Rowan, > > ⎕PW ? > > Not exactly sure what you are after. > > Jürgen > > > On 6/21/19 5:27 PM, Rowan Cannaday wrote: > > Hello y'all, > > > > Is there a simple way to

Re: [Bug-apl] APL REPL & pager

2019-06-21 Thread Dr . Jürgen Sauermann
Hi Rowan, ⎕PW ? Not exactly sure what you are after. Jürgen On 6/21/19 5:27 PM, Rowan Cannaday wrote: > Hello y'all, > > Is there a simple way to either increase or eliminate the wrap width > in the REPL? > > In vim this would be :set nowrap and using a pager would be `less -S`. > > I have

[Bug-apl] APL REPL & pager

2019-06-21 Thread Rowan Cannaday
Hello y'all, Is there a simple way to either increase or eliminate the wrap width in the REPL? In vim this would be :set nowrap and using a pager would be `less -S`. I have some nested objects I inspect w/ ` 4 ⎕CR` but the wrap causes the lines to overflow and make it difficult to read. -

Re: [Bug-apl] An inventory of entropy

2019-06-21 Thread Dr . Jürgen Sauermann
Hi Bill, yes. But a better name would be good ("rl" isn;t too descriptive). If I understand it correctly then the function reads a 4-byte random number from /dev/random. On a second thought, wouldn't it be even better to make a separate

[Bug-apl] An inventory of entropy

2019-06-21 Thread Bill Daly
I read the man page on /dev/random; I wrote this package. Can this function to seed quad-rl become part of gnu-apl? I'm still struggling with how entropy, the tendency of the universe toward disorder, be inventoried? w #! /usr/local/bin/apl --script ⍝