Bill Allombert on Wed, 24 Jan 2024 12:35:30 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: interest for PARI/GP Jupyter notebook ?
|
- To: pari-dev@pari.math.u-bordeaux.fr
- Subject: Re: interest for PARI/GP Jupyter notebook ?
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Wed, 24 Jan 2024 12:35:06 +0100
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1706096111; c=relaxed/relaxed; bh=WHQLmqNaP3bWrzz9c/YQTlypDXZNy0tQX4Vy/1hhomw=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=zQyk0iSPqJ06btjdwSsPWUIIHHf4bPyRB0FgG7LhXNMhEMTl8QNsnLmo3eAxHPKjz+mfqLjjYG/+gQIOPIEw/JFp8hyeb6niGQV9zZVjGXO25yvkPvvymzLjCSCQMzoKTdrJPyAWzYAMCQJkvomUosdgG7M1BCuZIpgVoarz7t1YrIiMBbTokDVq4jgCkaBqzlFTv9CfDV0AaMoYqmI0RhCpaedMk4RwEFtNcSzb8ncujzN69GY2T+FPLE9gpIXIlQMUBTd5DhEpjeYOSDphG+TWx47xC3PaQQ9IXTmjve5aLzWKCweKm+0MskDh8MsBQi5ZNpWmxsaoP0h6t4UZ4Cn49nCLmZ7b/wStPrlWGL4Rn0o513I/qwgvKPhj+4QLg/uue23a4PtVhG/hwDAYQ1UTavFFDO40mSIZ4NDYQh7RmQaRag1r+DN/XqUZRM+8o7/UTfvBQ8dRRK6bwjx3U/WmA1esK+irTc4d503wtndN0L/wJr+0+gvJkoJvo7c02Ic7gvhsHe6dSdWSWPC2987ncD0YwhstXWrs+CO/xvUfRK6HW3tZEqe1owlvGLaqHKghOPBDXXaqjuUw/4BKTvt98EwnD3m9e5KCK3dIn63gLV2JmgCQiG4YoWxr3lfOS4oUB+5o/VpCRh8y5Ox2W74gbEjk9AflyaCMbyWRJIM=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1706096111; cv=none; b=cdyq1PCVIWiouwSG0irx+7gpm2EFI6BQSJsD1I4AkvDT1vhHoqwjQ1TyWFhZFnZG4AGNQmzupheUczRTjKTWoq9DJyIDqnZ4ASbg27ga6cgFEGgzKRMhMUstygCza9O8wwqGPBlcHtZCvjH/4kgRefvKG2Eqj0eP6aquiVQI45IqmxPm6r9TK43PUkLCaB7r+Opsx0JHQf9mLTMIdnHxf2Cv4Hhtga5AAZXfscaqpOTd0BlcUHOewt35eGY+8fI0tBaIdZmu4oHwnDJRQdQ1RMxzmGgdQnHQuVtl2uMhd6cBAsjAjZPahu3A6eQcXQrUieLqHfffM7a3B1nh7V29PDPWsIa8D3Lu3aCMZgkYpBEIp/JeIdTQxupvLIyKFek4aeN3up1OLqKx4COaqRvGwqsluxxzgVt73qGiTJ79AiQ3GOCZln5PcsDF2bH0qeOHv+PNgoJpu8joHEKgwxeVZgmskSst0TkTV439Y1PfoCyK2nz7SY1faR/Qk/nF5CPsQhnahfV0Arvps11Yo7iy7PsV1KW8YdMiexPuaPfdlq3KhfICGq9JtW9oSKno+dD8eMCH5SmQ4j1w9NSQOArhw9wEL3ibVe+XHtV4c+jKZlcI5Apb7iD1eEgKAKitDA0KZAtGDpTdFWhmKJyo9DvySJf3vOOph5EhRmS3r2y8GpE=
- Authentication-results: smail; arc=none
- Delivery-date: Wed, 24 Jan 2024 12:35:31 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1706096111; bh=WHQLmqNaP3bWrzz9c/YQTlypDXZNy0tQX4Vy/1hhomw=; h=Date:From:To:Subject:References:In-Reply-To:From; b=jOSLb6HeGcEDy7PsKDIAaEG1WnTqEANcKLmNanNsmboD+S2pJFOBmyGgO3HGbTjsH WIF/BwoK32jS5LGiM4YcjpqBOhC3J6GIUPXFTU/4JnPIaG7Bweipa/ISuMLzVO0HBl 363QQCRayFUjOrX5QXVwKLynNOFeFd2qsEA4XlS1Cb5F4x185cNnHi9yc9X3uv2dod tEgscj+pQT1UhgmSVtjhOuKh6QMAvpbqMaAGzIL1/au1FvXBvqTnbtxPhl0FEZD5U9 uVK50mokBDdkdq3aaaJxBlLBD6NzVh1E11GpeuZPTQmluzJdE4aj3KQINPr/5caJwm Hj/+i2Hyx8PfTc9p4ybUZj3e1ZIAdA0KBPBQ9COvNQfrGlKFbLXu87K9hnpwjDi5Mn 7nUmmeGwpooPc9FREx16kRWWY+jwpk/MEcPNq/jIQE3LGAQ95XKY2KdijIuIKGBi4b BcVRE7i+XBUYH47qc8nycNgHHmLvDkK7wS6F4H+QUza/vpMTPxKdcYqY1oNarE5pCv Pym7RkguLlC3geern7tyVcoVhX3mT/R/1cEG1mtDY4tSdi+1GEGkUEWg25kK37Cn1S nmTOAZWVkpf8Il6/xoXKhFULYeYDBQwgqneShKqESG/kN0odvxQ6WGOFn1zzawH7Yl OelVm1VUfQOc0pGJTz7vPlrU=
- In-reply-to: <ZaGzu7mpIZegcNxi@seventeen>
- Mail-followup-to: pari-dev@pari.math.u-bordeaux.fr
- References: <ZF4z9+du+hrNeiyG@seventeen> <CA+iQ7x4QKy3YhRkjt8+wQ6EQwcqg7YE1BaUi_+aoOeEfqiaRDQ@mail.gmail.com> <CAAuMLAmhQ5OFTw18wmwxfRoJ-5nsfSh6KLQ6ompXaOC8Snx_zw@mail.gmail.com> <ZSfACHRd4Hsr3jui@seventeen> <ZaGzu7mpIZegcNxi@seventeen>
On Fri, Jan 12, 2024 at 10:52:26PM +0100, Bill Allombert wrote:
> On Thu, Oct 12, 2023 at 11:44:40AM +0200, Bill Allombert wrote:
> > On Fri, May 12, 2023 at 04:33:42PM +0200, Pascal Molin wrote:
> > > I started using pari-jupyter two months ago, and immediately switched to
> > > Edgar's version because I had problems with the main pari-jupyter
> > > (I do not remember precisely the issues, maybe it was slow or did not
> > > support threads). I also think a xeus version would be nice.
> > > Anyway I think I will use it on a regular basis now and could provide
> > > feedback from myself and from students, and a bit of testing.
> >
> > So I have made available of first draft of a XEUS-based GP kernel.
> > You can clone it as
> > git clone https://pari.math.u-bordeaux.fr/git/xeus-gp.git
> > Please do not ask me advices on how to compile it!
> >
> > "??" does not work because there is no C interface to it yet.
> > If you find other things that could work but does not, please tell me,
>
> I think the behaviour of ## inside gp_read_str_multiline does not seem
> what we would like it to be:
>
> ? install(gp_read_str_multiline,sf)
> ? gp_read_str_multiline("factor(2^256+1)\n##")
> *** last result computed in 0 ms.
> ? ##
> *** last result computed in 803 ms.
This is problematic.
## return the time of the last history entry.
So barring a redefinition of when history entries are created, this is
difficult to fix.
For example if cells contain
Cell 1
----
a = factor(2^128+1)
##
b = factor(2^256+1)
##
----
Cell 2
----
a = factor(2^128+1)
b = factor(2^256+1)
##
----
Cell 3
----
##
a = factor(2^128+1)
b = factor(2^256+1)
----
Cell 4
-----
##
-----
What should we output ?
Cheers,
Bill.