mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.8K
active users

#sagemath

1 post1 participant0 posts today

I saw today that my CoCalc (cocalc.com/) license was about to renew. I've been meaning to move to a more or paradigm, so this was good timing for me to cancel. I left this message when doing so:

"I want to support Sage, and I like using CoCalc, but I don't want to put money towards a service that supports Microsoft, Amazon, or OpenAI in any way. I didn't care so much about this before, and I even log in to CoCalc with a GitHub account, but I'm tired of having my work scraped for profit by people who donate to fascists who are destroying my nation. I would consider returning if all ties to these corporations were cut and cloud computing services came from responsible companies, perhaps in the EU."

I'm pretty sure I already have backups of everything I want from GitHub, so I can be done with them too. I should have quit when Microsoft first arrived. My plan is to switch to Radicle (radicle.xyz/) rather than another centralized service. I'll be sure to post about how that goes.

cocalc.comCollaborative Calculation and Data ScienceCoCalc landing pages and documentation
#Sage#math#SageMath

#sagemath #patch #diff

--- a/sage/schemes/curves/projective_curve.py
+++ b/sage/schemes/curves/projective_curve.py
@@ -885,7 +885,7 @@
 
         ::
 
-            sage: # needs sage.fings.function_field
+            sage: # needs sage.rings.function_field
             sage: P.<x,y,z> = ProjectiveSpace(CC, 2)
             sage: C = Curve([y^4 - x^3*z], P)
             sage: Q = P([0,0,1])

Случайно узнал, что проект #sagemath уже месяц как выбросил все ​:gentoo:​ из #CI

           "gentoo-python3.10",
           "gentoo-python3.11",
           "gentoo-python3.12",
а ведь всё, что нужно было сделать, это
           "gentoo-python3.11",
           "gentoo-python3.12",
           "gentoo-python3.13",
и починить шланг как я уже писал

ШТОШ
не хотите, как хотите, что же я могу поделать
GitHubDisable broken and outdated CI · sagemath/sage@f882808Main repository of SageMath. Contribute to sagemath/sage development by creating an account on GitHub.

Я не хотел получать тысячи SetuptoolsDeprecationWarning: Direct modification of value will be disallowed себе в лицо при сборке #sagemath так что я просто открыл setuptools/_static.py и отключил

#docker

Стал я тестировать последний
docker-gentoo-python3.13-maximal перед тем как делать docker push

вижу
[cffi-1.15.1] error installing, exit status 1.
а в системе у меня
dev-python/cffi-1.17.1

вот это прикол: в
#sagemath забыли cffi обновить?
Ребят, как же это вы без гравицаппы пепелац выкатываете из гаража? Это непорядок…

Совершенно случайно увидел pull/39467 в котором люди ругаются на #Gentoo в #docker
1) Говорят она старая (это неправда, я каждый месяц делаю релиз)
2) Говорят она красная (ну так вы ребята до сих пор не починили
gentoo.txt c llvm-core/clang наверно, да?)
3) Говорят она не бывает 3.13 (как это не бывает, у меня бывает, а у них не бывает). Добавьте
gentoo-python3.13: BASE_TAG=latest-py13 в tox.ini и у вас тоже будет.
4) Говорят её надо обновлять каждый день (неправда, оверлей не каждый день обновляется и ничего, образ создаётся не ради свежести самого образа, а чтобы на можно было тестировать свежую
#sagemath, а какой свежести там giac это неважно ВООБЩЕ, ведь ваши скрипты установят тот giac какой вам надо, а свежий giac из оверлея попадёт в образ в следующем же месяце)

Короче, чёрт знает что творится.

#sagemath

--- a/sage/libs/pari/convert_sage.pyx
+++ b/sage/libs/pari/convert_sage.pyx
@@ -573,17 +573,16 @@
         sage: pari_prime_range(2, 19)
         [2, 3, 5, 7, 11, 13, 17]
     """
-    cdef long p = 0
-    cdef byteptr pari_prime_ptr = diffptr
+    cdef ulong i = 1
     res = []
-    while p < c_start:
-        NEXT_PRIME_VIADIFF(p, pari_prime_ptr)
-    while p < c_stop:
+    while pari_PRIMES[i] < c_start:
+        i+=1
+    while pari_PRIMES[i] < c_stop:
         if py_ints:
-            res.append(p)
+            res.append(pari_PRIMES[i])
         else:
             z = <Integer>PY_NEW(Integer)
-            mpz_set_ui(z.value, p)
+            mpz_set_ui(z.value, pari_PRIMES[i])
             res.append(z)
-        NEXT_PRIME_VIADIFF(p, pari_prime_ptr)
+        i+=1
     return res
this patch was stolen from Void Linux to build sage from Volker Braun without unknown type name "byteptr" and @tornaria knew that would happen
inbox.vuxu.orgRe: [PR PATCH] [Updated] sagemath: update to 10.5 - tornaria