Deutsch English Français Italiano |
<vb6i3b$23dm5$2@solani.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mild Shock <janburse@fastmail.fm> Newsgroups: comp.lang.python Subject: ANN: Dogelog Player 1.2.2 (Block I/O) Date: Tue, 3 Sep 2024 10:41:16 +0200 Message-ID: <vb6i3b$23dm5$2@solani.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 3 Sep 2024 08:41:15 -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:PJm9zSTsncZLbL8MDThnCHys7iA= X-User-ID: eJwFwYEBwDAEBMCVeDwdJ0H2H6F3YVR2OoMeLx5ObpFdYTunoMnMJWuM8kk4dPRG2X1Y9rgBchWpDRnUDzAmFD4= X-Mozilla-News-Host: news://news.solani.org:119 Bytes: 1941 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/