Extrapolating from the other runs, it should take a minimum of 13 minutes
for t =: ?~1e6


On Wed, Sep 24, 2014 at 3:56 PM, Tikkanz <[email protected]> wrote:

> I think he's saying that the command doesn't appear to complete. i.e. the
> session just sits there working and "never" finishes.
> The question is whether, if given long enough, it will complete.
>
> I can confirm that it works for me on Windows7 with t of length 1000,
> 10000, and 100000. Length 100000 takes ~75 seconds.
> For t=: 1e6 you may just have to wait a long time!!
>
> Note I haven't installed the zlib binary, so this is just using the J code
> versions.
>
> (Running on Linux with the libz.so present, takes about a second.)
>
> On Wed, Sep 24, 2014 at 3:41 PM, bill lam <[email protected]> wrote:
>
>> What is "it doesn't work" ?
>>
>> Вт, 23 сен 2014, Devon McCormick написал(а):
>> > OK - that's better than what I had.
>> >
>> > In any case, the point of this whole exercise for me was to replicate
>> John
>> > Baker's test at the start of this thread but it never finishes when I do
>> > this
>> >
>> >    t =. ?~1000000
>> >    6!:2 't -: (3!:2) zlib_uncompress zlib_compress (3!:1) t'
>> >
>> > It may be permissioning under Windows 7 or something like that, but it
>> > doesn't work for me.
>> >
>> >
>> > On Tue, Sep 23, 2014 at 11:23 PM, Tikkanz <[email protected]> wrote:
>> >
>> > > Sounds like there may be a problem with
>> > >
>> > > In the meantime jpkg was built so that commands could be strung
>> together,
>> > > So the following should work
>> > >
>> > > 'install' jpkg 'shownotinstalled' jpkg ''
>> > >
>> > > For more see the wiki page:
>> > > http://www.jsoftware.com/jwiki/JAL/Package%20Manager/jpkg
>> > >
>> > >
>> > > On Wed, Sep 24, 2014 at 2:47 PM, Devon McCormick <[email protected]>
>> > > wrote:
>> > >
>> > > > OK - thanks, Pascal.  The 8.03 was the hint I needed.
>> > > >
>> > > > Speaking of which, is there a simpler way to just install
>> everything?
>> > > This
>> > > >
>> > > > 'install' jpkg 'all'
>> > > >
>> > > > doesn't do it - it mocks me by telling me how many addons I don't
>> have
>> > > > installed but gives no clue about how I might install them.
>> > > >
>> > > > Since I know J, I deduced from the list of allowable left arguments
>> to
>> > > > "jpkg" that this
>> > > >
>> > > > (<'install') jpkg&.>0{"1 'shownotinstalled' jpkg''
>> > > >
>> > > > works but it seems far from intuitive or simple.
>> > > >
>> > > > On Tue, Sep 23, 2014 at 10:07 PM, Devon McCormick <
>> [email protected]>
>> > > > wrote:
>> > > >
>> > > > > Yes = I've used package manager to get all updates but I'm not at
>> 8.03.
>> > > > I
>> > > > > did have a custom profile but removed it.
>> > > > >
>> > > > > On Tue, Sep 23, 2014 at 2:40 PM, 'Pascal Jasmin' via Programming <
>> > > > > [email protected]> wrote:
>> > > > >
>> > > > >> the addon is available through package manager... Perhaps you
>> have a
>> > > > >> custom profile that affects load?
>> > > > >>
>> > > > >> this is a j803 feature, btw.
>> > > > >>
>> > > > >>
>> > > > >> ----- Original Message -----
>> > > > >> From: Devon McCormick <[email protected]>
>> > > > >> To: J-programming forum <[email protected]>
>> > > > >> Cc:
>> > > > >> Sent: Tuesday, September 23, 2014 2:28 PM
>> > > > >> Subject: Re: [Jprogramming] zlib addon thanks
>> > > > >>
>> > > > >> Thanks for the instructions but these fail for me in 64-bit J801
>> and
>> > > 802
>> > > > >> (and 701) with a "not found" error on
>> '~addons/arc/zlib/zlib.ijs' in
>> > > all
>> > > > >> cases.  Is there something I need to install other than making
>> sure
>> > > my J
>> > > > >> packages are up-to-date?
>> > > > >>
>> > > > >> I'm running on Windows 7 - should it be available for this OS?
>> > > > >>
>> > > > >> Thanks...
>> > > > >>
>> > > > >> On Tue, Sep 23, 2014 at 1:41 PM, 'Pascal Jasmin' via Programming
>> <
>> > > > >> [email protected]> wrote:
>> > > > >>
>> > > > >> > load 'arc/zlib'
>> > > > >> > install_zlib_ '' NB. downloads lib (just needs to be done once)
>> > > > >> > load 'arc/zlib' NB. reload after first dl.
>> > > > >> >
>> > > > >> >
>> > > > >> >
>> > > > >> >
>> > > > >> > ----- Original Message -----
>> > > > >> > From: Devon McCormick <[email protected]>
>> > > > >> > To: J-programming forum <[email protected]>
>> > > > >> > Cc:
>> > > > >> > Sent: Tuesday, September 23, 2014 1:33 PM
>> > > > >> > Subject: Re: [Jprogramming] zlib addon thanks
>> > > > >> >
>> > > > >> > How do I load this?
>> > > > >> >
>> > > > >> > On Sat, Sep 20, 2014 at 9:25 PM, bill lam <[email protected]
>> >
>> > > > wrote:
>> > > > >> >
>> > > > >> > > the windows zlib1.dll binary is actually copied from j701 gtk
>> > > binary
>> > > > >> > which
>> > > > >> > > was built by Norman Drinkwater.
>> > > > >> > >
>> > > > >> > > zlib_compress also supports an optional left argument
>> between 0
>> > > and
>> > > > >> 9. 0
>> > > > >> > is
>> > > > >> > > uncompressed, 1 is the fastest, and 9 slowest.
>> > > > >> > >
>> > > > >> > > zlib_uncompress also supports an optional left argument
>> which is
>> > > the
>> > > > >> size
>> > > > >> > > of uncompressed data.
>> > > > >> > >  On Sep 21, 2014 5:36 AM, "John Baker" <[email protected]>
>> > > wrote:
>> > > > >> > >
>> > > > >> > > > The recently released zlib addon is a big plus for j64
>> users.
>> > > > >> > > >
>> > > > >> > > > The compiled version is very effective on J text and might
>> prove
>> > > > >> useful
>> > > > >> > > for
>> > > > >> > > > binary data as well.
>> > > > >> > > >
>> > > > >> > > > The following is a worst case scenario - compressing and
>> > > > >> uncompressing
>> > > > >> > a
>> > > > >> > > > million random numbers
>> > > > >> > > >
>> > > > >> > > >    t =. 1000000?1000000
>> > > > >> > > >
>> > > > >> > > > ts' t -: (3!:2) zlib_uncompress zlib_compress (3!:1) t'
>> > > > >> > > >
>> > > > >> > > > 0.987848 3.77554e7
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > But on my 64 bit win8.1 machine it gets through the cycle
>> in
>> > > less
>> > > > >> than
>> > > > >> > a
>> > > > >> > > > second.  On more realistic data performance is much better.
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > Kudos to Bill and anyone else that worked on this addon.
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > --
>> > > > >> > > > John D. Baker
>> > > > >> > > > [email protected]
>> > > > >> > > >
>> > > > >>
>> ----------------------------------------------------------------------
>> > > > >> > > > For information about J forums see
>> > > > >> http://www.jsoftware.com/forums.htm
>> > > > >> > > >
>> > > > >> > >
>> > > >
>> ----------------------------------------------------------------------
>> > > > >> > > For information about J forums see
>> > > > >> http://www.jsoftware.com/forums.htm
>> > > > >> > >
>> > > > >> >
>> > > > >> >
>> > > > >> >
>> > > > >> > --
>> > > > >> > Devon McCormick, CFA
>> > > > >>
>> > > > >>
>> > > > >>
>> > > > >> >
>> > > > >> >
>> > > > >> >
>> > > > >> >
>> > > ----------------------------------------------------------------------
>> > > > >> > For information about J forums see
>> > > > http://www.jsoftware.com/forums.htm
>> > > > >> >
>> > > > >> >
>> > > ----------------------------------------------------------------------
>> > > > >> > For information about J forums see
>> > > > http://www.jsoftware.com/forums.htm
>> > > > >> >
>> > > > >>
>> > > > >>
>> > > > >>
>> > > > >> --
>> > > > >> Devon McCormick, CFA
>> > > > >>
>> ----------------------------------------------------------------------
>> > > > >> For information about J forums see
>> > > http://www.jsoftware.com/forums.htm
>> > > > >>
>> > > > >>
>> ----------------------------------------------------------------------
>> > > > >> For information about J forums see
>> > > http://www.jsoftware.com/forums.htm
>> > > > >>
>> > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > > Devon McCormick, CFA
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > > --
>> > > > Devon McCormick, CFA
>> > > >
>> ----------------------------------------------------------------------
>> > > > For information about J forums see
>> http://www.jsoftware.com/forums.htm
>> > > >
>> > > ----------------------------------------------------------------------
>> > > For information about J forums see
>> http://www.jsoftware.com/forums.htm
>> > >
>> >
>> >
>> >
>> > --
>> > Devon McCormick, CFA
>> > ----------------------------------------------------------------------
>> > For information about J forums see http://www.jsoftware.com/forums.htm
>>
>> --
>> regards,
>> ====================================================
>> GPG key 1024D/4434BAB3 2008-08-24
>> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to