Path: ...!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mild Shock Newsgroups: comp.lang.prolog Subject: ANN: Dogelog Player 1.2.2 (Block I/O) Date: Tue, 3 Sep 2024 10:39:55 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 3 Sep 2024 08:39:54 -0000 (UTC) Injection-Info: solani.org; logging-data="2209477"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.2 Cancel-Lock: sha1:GTrMINkd/RzLpsbDGB2bdcWXjbs= X-Mozilla-News-Host: news://news.solani.org:119 X-User-ID: eJwFwQkBACAIA8BKfJsSR0D7R/AOTmWvIBh4eD1dWOIpKfsWKsZFUMYtbhs5loyi+iSPBlJPi1942arhBzIrFGc= Bytes: 1999 Lines: 27 Dear All, We are happy to announce a new edition of the Dogelog player: - Novacore get_atom/[2,3]: In the previous version, get_atom/[2,3] allowed reading text files, in particular entire files or just lines could be read. After introducing type(binary) we have now also adjusted the signature of the predicate. It now accepts an options list. - library(charsio): get_atom/[2,3] is still implemented 100% Prolog, but now also allows reading binary blocks using the compress/1 and max/1 options. Accordingly, we renamed enum_lines/2 to enum_atoms/2 and introduced enum_atoms/3, the latter accepting the same options list. - library(files): So far, copy_binary/2 was implemented natively synchronously, for the platforms JavaScript, Python and Java. The disadvantage was that execution could block. The new asynchronous implementation is based on enum_atoms/3 and allows other tasks to be executed while waiting for I/O. Have Fun! Jan Burse, 03.09.2024, http://www.xlog.ch/