Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Q: What's the difference between a duck and an elephant? A: You can't get down off an elephant.


comp / comp.lang.tcl / Re: ANNOUNCE: cookfs 1.5.0

SubjectAuthor
* ANNOUNCE: cookfs 1.5.0Konstantin Kushnir
+* Re: ANNOUNCE: cookfs 1.5.0Harald Oehlmann
|`* Re: ANNOUNCE: cookfs 1.5.0Konstantin Kushnir
| `- Re: ANNOUNCE: cookfs 1.5.0Harald Oehlmann
`* Re: ANNOUNCE: cookfs 1.5.0Michael Niehren
 `- Re: ANNOUNCE: cookfs 1.5.0Konstantin Kushnir

1
Subject: ANNOUNCE: cookfs 1.5.0
From: Konstantin Kushnir
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Sat, 4 May 2024 21:52 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chpock@gmail.com (Konstantin Kushnir)
Newsgroups: comp.lang.tcl
Subject: ANNOUNCE: cookfs 1.5.0
Date: Sun, 5 May 2024 00:52:02 +0300
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <20240505005202.bd4e3344953a140b5b28204e@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 04 May 2024 23:52:02 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="354b2627913229106f7afbaad39de245";
logging-data="1385979"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ymxVZmpahs1VHOGLBnOJR"
Cancel-Lock: sha1:mLLWjNLiEQjWsuK+jo9qRX2RNV8=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
View all headers

Hi Everyone!

I am pleased to announce version 1.5.0 of cookfs.

This is an attempt to revive this amazing project. Its original
homepage in only available via webarchive:
http://web.archive.org/web/20150619084055/http://www.endorser.org/en/blog/tcl/cookfs
and the last public release 1.3.1 was in 2011 at
https://sourceforge.net/projects/cookit/files/cookfs/

Original description:

Cookfs is a Tcl virtual filesystem using a compressed archive format to
allow embedding multiple files in an archive that Tcl scripts can
access directly.

It is optimized for storing Tcl packages (allowing around 10%-20%
smaller sizes ratio than mk4vfs while still using zlib compression),
small, fast and integrated with Tcl.

It is designed only for use as Tcl VFS and provides multiple
optimizations especially for delivering Tcl based standalone
applications.

Supported compression methods are: none, zlib, bzip2 (not enabled by
default), lzma2(xz)

Also, there are 2 versions for almost all features: C code or Tcl code.

Major changes since the last public release 1.3.1:
* Add support for xz(lzma2) compression and use it by default
* Add a smart cache feature
* Bugfixes

Homepage and downloads are on github: https://github.com/chpock/cookfs

--
Best regards,
Konstantin Kushnir

Subject: Re: ANNOUNCE: cookfs 1.5.0
From: Harald Oehlmann
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Sun, 5 May 2024 09:22 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wortkarg3@yahoo.com (Harald Oehlmann)
Newsgroups: comp.lang.tcl
Subject: Re: ANNOUNCE: cookfs 1.5.0
Date: Sun, 5 May 2024 11:22:52 +0200
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <v17j5a$1pad9$1@dont-email.me>
References: <20240505005202.bd4e3344953a140b5b28204e@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 05 May 2024 11:22:51 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="aa16b59b56a60be2df4b21b76b5ee357";
logging-data="1878441"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Epmo4aoEi4br9FSqGBe12"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:gU7EyG4+iqEabxp+BIfm/FslmhA=
Content-Language: en-GB
In-Reply-To: <20240505005202.bd4e3344953a140b5b28204e@gmail.com>
View all headers

Am 04.05.2024 um 23:52 schrieb Konstantin Kushnir:
> Hi Everyone!
>
> I am pleased to announce version 1.5.0 of cookfs.
>
> This is an attempt to revive this amazing project. Its original
> homepage in only available via webarchive:
> http://web.archive.org/web/20150619084055/http://www.endorser.org/en/blog/tcl/cookfs
> and the last public release 1.3.1 was in 2011 at
> https://sourceforge.net/projects/cookit/files/cookfs/
>
> Original description:
>
> Cookfs is a Tcl virtual filesystem using a compressed archive format to
> allow embedding multiple files in an archive that Tcl scripts can
> access directly.
>
> It is optimized for storing Tcl packages (allowing around 10%-20%
> smaller sizes ratio than mk4vfs while still using zlib compression),
> small, fast and integrated with Tcl.
>
> It is designed only for use as Tcl VFS and provides multiple
> optimizations especially for delivering Tcl based standalone
> applications.
>
> Supported compression methods are: none, zlib, bzip2 (not enabled by
> default), lzma2(xz)
>
> Also, there are 2 versions for almost all features: C code or Tcl code.
>
> Major changes since the last public release 1.3.1:
> * Add support for xz(lzma2) compression and use it by default
> * Add a smart cache feature
> * Bugfixes
>
> Homepage and downloads are on github: https://github.com/chpock/cookfs
>

Great work ! Cookfs was authored by my TCL network shooting star
Wojciech Kocjan. This book is just great:
https://wiki.tcl-lang.org/page/BOOK+Tcl+8%2E5+Network+Programming

Just to double check. Are you aware that zip virtual file system is now
included in TCL 9.0?
Is there anything in cookfs, what is not included in TCL 9 core ?
Then, we may port it to TCL ...

Take care,
Harald

Subject: Re: ANNOUNCE: cookfs 1.5.0
From: Konstantin Kushnir
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Sun, 5 May 2024 18:03 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chpock@gmail.com (Konstantin Kushnir)
Newsgroups: comp.lang.tcl
Subject: Re: ANNOUNCE: cookfs 1.5.0
Date: Sun, 5 May 2024 21:03:40 +0300
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <20240505210340.d191479965c3b557fbbd069f@gmail.com>
References: <20240505005202.bd4e3344953a140b5b28204e@gmail.com>
<v17j5a$1pad9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 05 May 2024 20:03:41 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7ee919855a38bafd76c20d8c08b3fdbd";
logging-data="2098937"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+aRPzLo5u73ahYskxY4Tls"
Cancel-Lock: sha1:wVCaOMEj7GkAe2aOQG2wMgRp9Kg=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
View all headers

On Sun, 5 May 2024 11:22:52 +0200
Harald Oehlmann <wortkarg3@yahoo.com> wrote:

> Am 04.05.2024 um 23:52 schrieb Konstantin Kushnir:
> > I am pleased to announce version 1.5.0 of cookfs.
> Just to double check. Are you aware that zip virtual file system is now
> included in TCL 9.0?

Thank you for the headup! I saw this information briefly, but have
already forgotten.

Unfortunatelly, I need better compression and lzma is the best choice
in 2024. Cookfs also offers the option to further improve compression
by using the solid achive mode. And it is not just a solid mode, but
a compromise between solid archive benefits and random data access
within archive.

Another killer feature of Cookfs is the parameters (compression, page
size, etc.) for different parts of file. The ability to use your own
commands for compression/decompression also adds flexibility.

I haven't dug into asynchronous mode enough yet, where further pages
are decompressed in the background and the application doesn't have to
wait for new data to be decompressed when it needs it. It seems that
this mode is now not working as the developers had planned. It will be
a nice performance boost if it works.

Thus, zipfs in core is a nice feature for combining multiple files into
a single file with a small compression bonus. But it can't be
considered a true compressed archive when other formats like
lzma/zstd/bzip2 available, and the zip format is more about portability
but not flexibility.

> Is there anything in cookfs, what is not included in TCL 9 core ?
> Then, we may port it to TCL ...

I am not sure about this. A feature of combining multiple files into
one is not something that many scripts require. Zipfs looks like a
sufficient tool to fulfill some basic possible requests, such as
creating a data package.

Cookfs contains advanced features for creating and working with data
packages. This is more interesting for specialized applications such as
tclkit systems. Thus, it is better to be as a module, rather than
taking up space in all the built interpreters.

--
Best regards,
Konstantin Kushnir

Subject: Re: ANNOUNCE: cookfs 1.5.0
From: Harald Oehlmann
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Mon, 6 May 2024 07:00 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wortkarg3@yahoo.com (Harald Oehlmann)
Newsgroups: comp.lang.tcl
Subject: Re: ANNOUNCE: cookfs 1.5.0
Date: Mon, 6 May 2024 09:00:54 +0200
Organization: A noiseless patient Spider
Lines: 60
Message-ID: <v19v74$2e452$1@dont-email.me>
References: <20240505005202.bd4e3344953a140b5b28204e@gmail.com>
<v17j5a$1pad9$1@dont-email.me>
<20240505210340.d191479965c3b557fbbd069f@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 06 May 2024 09:00:52 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="30f7a64deef72d4542b20b0b9c985e3b";
logging-data="2560162"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19g81WsD3we+49U+MfMhSFG"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:F7L7aBYQVfk/e3Yzq6W7NKI8w6M=
Content-Language: en-GB
In-Reply-To: <20240505210340.d191479965c3b557fbbd069f@gmail.com>
View all headers

Am 05.05.2024 um 20:03 schrieb Konstantin Kushnir:
> On Sun, 5 May 2024 11:22:52 +0200
> Harald Oehlmann <wortkarg3@yahoo.com> wrote:
>
>> Am 04.05.2024 um 23:52 schrieb Konstantin Kushnir:
>>> I am pleased to announce version 1.5.0 of cookfs.
>> Just to double check. Are you aware that zip virtual file system is now
>> included in TCL 9.0?
>
> Thank you for the headup! I saw this information briefly, but have
> already forgotten.
>
> Unfortunatelly, I need better compression and lzma is the best choice
> in 2024. Cookfs also offers the option to further improve compression
> by using the solid achive mode. And it is not just a solid mode, but
> a compromise between solid archive benefits and random data access
> within archive.
>
> Another killer feature of Cookfs is the parameters (compression, page
> size, etc.) for different parts of file. The ability to use your own
> commands for compression/decompression also adds flexibility.
>
> I haven't dug into asynchronous mode enough yet, where further pages
> are decompressed in the background and the application doesn't have to
> wait for new data to be decompressed when it needs it. It seems that
> this mode is now not working as the developers had planned. It will be
> a nice performance boost if it works.
>
> Thus, zipfs in core is a nice feature for combining multiple files into
> a single file with a small compression bonus. But it can't be
> considered a true compressed archive when other formats like
> lzma/zstd/bzip2 available, and the zip format is more about portability
> but not flexibility.
>
>> Is there anything in cookfs, what is not included in TCL 9 core ?
>> Then, we may port it to TCL ...
>
> I am not sure about this. A feature of combining multiple files into
> one is not something that many scripts require. Zipfs looks like a
> sufficient tool to fulfill some basic possible requests, such as
> creating a data package.
>
> Cookfs contains advanced features for creating and working with data
> packages. This is more interesting for specialized applications such as
> tclkit systems. Thus, it is better to be as a module, rather than
> taking up space in all the built interpreters.
>

Konstantin,
don't get me wrong. cookfs is great. In my 25 years of experience with
TCL, I have seen great projects coming and going. The "going" part is
the problem.
The best way to preserve something great is to get it into the core.
There are many compromises required.
But I invite you as a wizard to look what may be moved to the core, even
if it is a small piece.
Wizards normally tend to do their thing and that is ok. But if the core
may get a small piece, welcome !
Take care,
Harald

Subject: Re: ANNOUNCE: cookfs 1.5.0
From: Michael Niehren
Newsgroups: comp.lang.tcl
Organization: www.abavia.com
Date: Mon, 13 May 2024 22:20 UTC
References: 1
From: michael@niehren.de (Michael Niehren)
Subject: Re: ANNOUNCE: cookfs 1.5.0
Newsgroups: comp.lang.tcl
Reply-To: michael@niehren.de
Date: Tue, 14 May 2024 00:20:44 +0200
References: <20240505005202.bd4e3344953a140b5b28204e@gmail.com>
User-Agent: KNode/0.10.9
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
Message-ID: <nnd$0caa29f1$4d0304fc@9efef734c7aeb0e0>
Organization: www.abavia.com
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feed.abavia.com!abe004.abavia.com!abp002.abavia.com!reseller!not-for-mail
Lines: 50
Injection-Date: Tue, 14 May 2024 00:20:44 +0200
Injection-Info: reseller; mail-complaints-to="abuse@abavia.com"
View all headers

Konstantin Kushnir wrote:

> Hi Everyone!
>
> I am pleased to announce version 1.5.0 of cookfs.
>
> This is an attempt to revive this amazing project. Its original
> homepage in only available via webarchive:
>
http://web.archive.org/web/20150619084055/http://www.endorser.org/en/blog/tcl/cookfs
> and the last public release 1.3.1 was in 2011 at
> https://sourceforge.net/projects/cookit/files/cookfs/
>
> Original description:
>
> Cookfs is a Tcl virtual filesystem using a compressed archive format to
> allow embedding multiple files in an archive that Tcl scripts can
> access directly.
>
> It is optimized for storing Tcl packages (allowing around 10%-20%
> smaller sizes ratio than mk4vfs while still using zlib compression),
> small, fast and integrated with Tcl.
>
> It is designed only for use as Tcl VFS and provides multiple
> optimizations especially for delivering Tcl based standalone
> applications.
>
> Supported compression methods are: none, zlib, bzip2 (not enabled by
> default), lzma2(xz)
>
> Also, there are 2 versions for almost all features: C code or Tcl code.
>
> Major changes since the last public release 1.3.1:
> * Add support for xz(lzma2) compression and use it by default
> * Add a smart cache feature
> * Bugfixes
>
> Homepage and downloads are on github: https://github.com/chpock/cookfs
>

Hi Konstantin,

would it be possible to add password encryption to cookfs ?

in tclexecomp is currently zvfs used to have an encrypted zip-archive with
some code protection.

greetings,
Michael

Subject: Re: ANNOUNCE: cookfs 1.5.0
From: Konstantin Kushnir
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Wed, 15 May 2024 16:32 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chpock@gmail.com (Konstantin Kushnir)
Newsgroups: comp.lang.tcl
Subject: Re: ANNOUNCE: cookfs 1.5.0
Date: Wed, 15 May 2024 19:32:39 +0300
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <20240515193239.ab916a6b3720e205593e1480@gmail.com>
References: <20240505005202.bd4e3344953a140b5b28204e@gmail.com>
<nnd$0caa29f1$4d0304fc@9efef734c7aeb0e0>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 15 May 2024 18:32:40 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9b150c65b8c65551ae09fbe6d2872742";
logging-data="1034966"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yLQDNd+IJdbgvHXNLfTxj"
Cancel-Lock: sha1:snsOXNBNzvTt56YdDVomlJsXy8Y=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
View all headers

On Tue, 14 May 2024 00:20:44 +0200
Michael Niehren <michael@niehren.de> wrote:

> Konstantin Kushnir wrote:
> > I am pleased to announce version 1.5.0 of cookfs.
> would it be possible to add password encryption to cookfs ?
>
> in tclexecomp is currently zvfs used to have an encrypted zip-archive with
> some code protection.

Yes. I have plans to add support for password protected archives.

However, at the moment I am removing dependency on tclvfs and rewriting
some Tcl parts in C. This should make it easier to build and use,
significantly improving performance.

--
Best regards,
Konstantin Kushnir

1

rocksolid light 0.9.8
clearnet tor