soc.octade.net is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
Final release candidate 10.8.12.rc2 of 🐙passagemath, a comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
github.com/passagemath/...
#CAS
📢 New Blog Post: "Keynote Announcement"
https://seagl.org/news/2026/09/22/keynote-announcements
#Seagl2026 #linux #opensource #FLOSS #FOSS #policy #hackerspace #python #TempleOS #keynote #cfp #seattle #conference
Hmm, I was gonna use C++, but should I code my low-power embedded project with micropython?
No. No, I should not.
Good lord, Python sucks.
"It's good for learning."
No, *BASIC* is good for learning, Python is good for... um... things that are slightly too complex for a shell script?
Math? No, use R or Octave.
Can anyone explain what Python is good for that something else isn't *significantly* better for? Maybe it could be good as a replacement for Javascript?
Release candidate 10.8.12.rc1 of 🐙passagemath, a comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
github.com/passagemath/...
I've turned off pull requests from non-members for Flask, Werkzeug, Jinja, and Click this week, and have enjoyed not waking up to a fresh wave of AI junk every morning. I think I'm going to update our contributing guide to say "introduce yourself and how you use the library in chat first if you want to contribute pull requests". Sad that we had to go here, but aside from conference sprints we weren't really getting outside contribution anyway (which is also sad, but that's been the case a lot longer than AI has been around). #python #flask #opensource
Release candidate 10.8.12.rc0 of 🐙passagemath, a comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
Now supports using any of the @networkx.bsky.social@bsky.brid.gy #graph layouts.
github.com/passagemath/...
#MCP
So now that #awscli 1.x is pretty much dead, I've finally gotten around to packaging 2.x properly for #Gentoo. You know, the one where other developers claimed it was impossible to build from source because (checks notes) upstream said so. So we instead must use their horrible 70M binary package that bundles its own Python interpreter along with all the random libraries and dependencies.
And guess what? Sure, they don't publish it to PyPI anymore, but it still is a regular #Python package branched out from 1.x. It has regular Python package dependencies, a regular Python build backend and when you build it with it, you get a regular Python wheel that can be installed and just works with the system Python and system dependencies.
Sure, it's crap, but it's no worse than the 1.x crap. It bundles a modified fork of the unreleased 2.x branch of botocore (now dead for 5 years, apparently) and a fork of s3transfer. It has some random meaningless dependency pins that we patch out. It has a horrible test suite that can eat tons of memory if run via xdist, but with some hackery, I've gotten it to work reasonably.
Honestly, I feel like Gentoo developers these days just don't care to even try.
In other news, the #Python semver package has now #RustLang speedups. I'm sure they will come in handy in its reverse dependencies, which are (checks notes) net-analyzer/pontos. I'm sure that package needs to efficiently handle millions of semantic versions a second.
PS. Of course it's totally vibecoded multi-agent #slop. I'm sure destroying the life on earth was worth it, though.
Isn't it great that #Quart removed support for #Python 3.12 while it's only needed for #dnspython and #urllib3 tests, and we definitely can't remove 3.12 in urllib3? Gotta love the maturity of the Python ecosystem.
I suppose there's something telling about the fact that a #Python library for file locks has… [checks notes]… 116 releases already.
Citizen Astronomy (CAst)
by ÖgetayKayali
https://github.com/OgetayKayali/citizen-astronomy
Every clear night, amateur telescopes around the world capture photons that professional observatories never will -- the right patch of sky, at the right moment, with enough patience to notice something change. Citizen Astronomy turns those images into science.
CAst is a desktop application (Windows installer primary; unsigned macOS .app zip available for alpha testers) that takes folders of FITS and XISF images and gives you the tools to measure variable stars, discover moving asteroids, build Hertzsprung-Russell diagrams, and explore the sky -- all from one guided interface, no command-line scripting required.
Please read more details in ALT-Texts of images. These images are just a few examples of the sophisticated use-cases of this software!
Another nice example:
https://defcon.social/@grobi/117234604503277917
Topic> Useful Code
https://defcon.social/@grobi/114797042323081686
or expand post & scroll up ^
#space #tech #science #astronomy #astrophotography #code #python #unix #linux #windows #commandline #plotting #github #apod
TOPIC>
Useful Code
The Sequencer: Detect one-dimensional sequences in complex datasets
The Sequencer reveals the main sequence in a dataset if one exists. To do so, it reorders objects within a set to produce the most elongated manifold describing their similarities which are measured in a multi-scale manner and using a collection of metrics. To be generic, it combines information from four different metrics: the Euclidean Distance, the Kullback-Leibler Divergence, the Monge-Wasserstein or Earth Mover Distance, and the Energy Distance. It considers different scales of the data by dividing each object in the input data into separate parts (chunks), and estimating pair-wise similarities between the chunks. It then aggregates the information in each of the chunks into a single estimator for each metric+scale.
https://github.com/dalya/Sequencer
#space #tech #science #astronomy #code #python #unix #linux #commandline #plotting
Command Line Orbit Plotting
OK Binaries Interactive Catalog
https://github.com/mb2448/ok-binaries/
OK Binaries is a tool for identifying suitable calibration binaries from the Washington Double Star (WDS) Sixth Orbit Catalog. It calculates orbital positions at any epoch, propagates uncertainties using Monte Carlo sampling, and generates orbit plots. The web app includes automated daily updates of binary positions and a searchable interface with filters for position, magnitude, separation, and other orbital parameters. OK Binaries can be used online, as a standalone offline browser app, or via the command line.
https://github.com/mb2448/ok-binaries/
https://ok-binaries.streamlit.app/
#space #tech #science #astronomy #code #python #unix #linux #commandline #plotting
CLUES: Clustering tool for analyzing spectral data
CLUES (CLustering UnsupErvised with Sequencer) analyzes spectral and IFU data. This fully interpretable clustering tool uses machine learning to classify and reduce the effective dimensionality of data sets. It combines multiple unsupervised clustering methods with multiscale distance measures using Sequencer (ascl:2105.006) to find representative end-member spectra that can be analyzed with detailed mineralogical modeling and follow-up observations. CLUES has been used on Spitzer IRS data and debris disk science, and can be applied to other high-dimensional spectral data sets, including mineral spectroscopy in general areas of astrophysics and remote sensing.
https://github.com/Ompha/CLUES
https://ui.adsabs.harvard.edu/abs/2021ApJ...916...91B/abstract
https://ui.adsabs.harvard.edu/abs/2025ApJS..276...65L/abstract
#space #tech #science #astronomy #code #python #JupyterNotebook #unix #linux
3ML: Framework for multi-wavelength/multi-messenger analysis
The Multi-Mission Maximum Likelihood framework (3ML) provides a common high-level interface and model definition for coherent and intuitive modeling of sources using all the available data, no matter their origin. Astrophysical sources are observed by different instruments at different wavelengths with an unprecedented quality, and each instrument and data type has its own ad-hoc software and handling procedure. 3ML's architecture is based on plug-ins; the package uses the official software of each instrument under the hood, thus guaranteeing that 3ML is always using the best possible methodology to deal with the data of each instrument. Though Maximum Likelihood is in the name for historical reasons, 3ML is an interface to several Bayesian inference algorithms such as MCMC and nested sampling as well as likelihood optimization algorithms.
https://github.com/threeML/threeML
https://ui.adsabs.harvard.edu/abs/2015arXiv150708343V/abstract
https://github.com/threeML/threeML/blob/master/LICENSE
https://news.stanford.edu/stories/2017/12/software-advances-modeling-astronomical-observations
3ML: Framework for multi-wavelength/multi-messenger analysis
ThreeML is supported by National Science Foundation (NSF) https://www.nsf.gov/
FYI:
https://heasarc.gsfc.nasa.gov/xanadu/xspec/
https://ui.adsabs.harvard.edu/abs/2015arXiv150708343V/abstract
https://arxiv.org/pdf/1507.08343
#space #code #python #bsd3 #fermi #xspec #hawc #science #astronomy
From technic960183
spherimatch:
A Python package for cross-matching and self-matching in spherical coordinates.
spherimatch is a Python package for efficient cross-matching and self-matching of astronomical catalogs in spherical coordinates. Designed for use in astrophysics, where data is naturally distributed on the celestial sphere, the package enables fast matching with an algorithmic complexity of O(NlogN). It supports Friends-of-Friends (FoF) group identification and duplicate removal in spherical coordinates, and integrates easily with common data processing tools such as pandas.
https://github.com/technic960183/spherimatch
https://technic960183.github.io/spherimatch/tutorial/xmatch.html
https://technic960183.github.io/spherimatch/install.html
https://pypi.org/project/fofpy/
https://linuxtut.com/en/68a22081e848030bc963/
AutoWISP
Kaloyan Penev, Angel Romero and S. Javad Jafarzadeh have developed a software pipeline, AutoWISP, for extracting high-precision photometry from citizen scientists' observations made with consumer-grade color digital cameras (digital single-lens reflex, or DSLR, cameras), based on their previously developed tool, AstroWISP. The new pipeline is designed to convert these observations, including color images, into high-precision light curves of stars.
"We outline the individual steps of the pipeline and present a case study using a Sony-alpha 7R II DSLR camera, demonstrating sub-percent photometric precision, and highlighting the benefits of three-color photometry of stars. Project PANOPTES will adopt this photometric pipeline and, we hope, be used by citizen scientists worldwide. Our aim is for AutoWISP to pave the way for potentially transformative contributions from citizen scientists with access to observing equipment."
Code site:
+ AutoWISP
https://github.com/kpenev/AutoWISP
+ Documentation:
https://kpenev.github.io/AutoWISP/
+ AstroWISP
https://github.com/kpenev/AstroWISP
https://pypi.org/project/astrowisp/
+ Documentation
https://kpenev.github.io/AstroWISP/
#space #code #python #astrophotography #photography #science #astronomy
Thanks to Sam Van Kooten
https://github.com/svank
wispr-analysis
Shared tools for WISPR data analysis
Some highlights
plot_utils.py
+ plot_WISPR:
Aims to be a versatile function that does the Right Thing for plotting WISPR images, with colorbar bounds that are adjusted for inner and outer FOV and for L2 or L3 images, a square-root-scaled colorbar, and WCS coordinate support
+ *_axis_dates: Helper util for labeling a temporal axis with dates.
+ plot_orbit:
Reads a directory (or nested set of directories) of WISPR files and plots a diagram showing the orbital path of PSP and the locations where images were taken, like this:
projections.py
+ reproject_to_radial: Proof-of-concept code for reprojecting data into a radial coordinate system (where each row of the output array is a radial line out from the Sun.
data_cleaning.py
+ dust_streak_filter: Code for identifying debris streaks in the WISPR images
+ clean_fits_files: Function to batch-run dust_streak_filter on a directory of images.
composites.py
+ gen_composite: Reprojects an inner- and outer-FOV image into a common coordinate system
utils.py
+ to_timestamp: Parse a timestamp from a handful of formats, including the timestamps inside WISPR headers, or entire WISPR filenames. Returns a numerical timestamp.
+ collect_files: Walks a directory of WISPR files (or a directory of subdirectories of WISPR images), identifies all the WISPR images, sorts them, and separates them by inner and outer FOVs.
+ ignore_fits_warnings: Suppresses the warnings Astropy raises when reading WISPR FITS files or parsing WCS data.
https://github.com/svank/wispr_analysis
Documentation:
https://svank.github.io/wispr_analysis/
#space #code #python #science #astronomy #astrophysics #tech #NASA
2025-08-20
Leandro Beraldo e Silva released four days ago:
lberaldoesilva/tropygal version 0.1.4
Entropy estimates and distribution functions for galactic dynamics
tropygal is a pure-python package for entropy estimates in the context of galactic dynamics, but can be used in other contexts too. It also provides functions for analytical distribution functions and density of states for models that have analytical expressions.
** Acknowledgements
Development of tropygal was supported by the following research grants:
+ NASA ATP awards 80NSSC20K0509 and 80NSSC24K0938
+ U.S. NSF AAG grant AST-2009122
+ STFC Ernest Rutherford fellowship (ST/X004066/1)
+ JSPS KAKENHI Grant Numbers JP24K07101, JP21K13965, and JP21H00053
+ CNPq (309723/2020-5)
+ Heising Simons Foundation grant # 2022-3927
** Funding agencies:
+ NASA ATP - NASA Astrophysical Theory Program (US)
+ NSF - National Science Foundation (US)
+ STFC - Science and Technology Facilities Council (UK)
+ JSPS - Japan Society for the Promotion of Science (Japan)
+ CNPq – Conselho Nacional de Desenvolvimento Científico e Tecnológico (Brasil)
+ Heising Simons Foundation (US)
https://github.com/lberaldoesilva/tropygal
https://tropygal.readthedocs.io/en/latest/
https://link.springer.com/epdf/10.1007/BF00773669?sharing_token=c10vjrwKcPemuJugFt8GPPe4RwlQNchNByi7wbcMAY4It9IZvz0cQPRbyx9xcOC67oJ1uYrQB3lur75MCDwqdPXd8sWtzve-hL8JYGekYHqhITNJ3f12mXyjbTmMIqid10HwkWoYRAWdltK0BTwIew%3D%3D
https://www.mdpi.com/1099-4300/18/1/13
#space #code #python #science #astronomy #astrophysics #tech #NASA
PIRATES
(Polarimetric Image Reconstruction AI for Tracing Evolved Structures)
uses machine learning to perform image reconstruction.
It uses MCFOST to generate models, then uses those models to build, train, iteratively fit, and evaluate PIRATES performance.
Optical interferometric image reconstruction is a challenging, ill-posed optimization problem which usually relies on heavy regularization for convergence. Conventional algorithms regularize in the pixel domain, without cognizance of spatial relationships or physical realism, with limited utility when this information is needed to reconstruct images. Here we present PIRATES (Polarimetric Image Reconstruction AI for Tracing Evolved Structures), the first image reconstruction algorithm for optical polarimetric interferometry. PIRATES has a dual structure optimized for parsimonious reconstruction of high fidelity polarized images and accurate reproduction of interferometric observables. The first stage, a convolutional neural network (CNN), learns a physically meaningful prior of self-consistent polarized scattering relationships from radiative transfer images. The second stage, an iterative fitting mechanism, uses the CNN as a prior for subsequent refinement of the images with respect to their polarized interferometric observables. Unlike the pixel-wise adjustments of traditional image reconstruction codes, PIRATES reconstructs images in a latent feature space, imparting a structurally derived implicit regularization.
https://github.com/SAIL-Labs/PIRATES
https://ui.adsabs.harvard.edu/abs/2025arXiv250511950L/abstract
https://arxiv.org/pdf/2505.11950
https://arxiv.org/abs/2505.11950
CREDITS:
Lilley, Lucinda ; Norris, Barnaby ; Tuthill, Peter ; Spalding, Eckhart ; Lucas, Miles ; Zhang, Manxuan ; Millar-Blanchaer, Maxwell ; Pinte, Christophe ; Bottom, Michael ; Guyon, Olivier ; Lozi, Julien ; Deo, Vincent ; Vievard, Sébastien ; Wong, Alison P. ; Ahn, Kyohoon ; Ashcraft, Jaren
#space #code #python #science #astronomy #astrophysics #tech
nazgul is a joint effort by:
* J. Michael Burgess
* Ewan Cameron
* Dmitry Svinkin
https://github.com/grburgess/nazgul
Nazgul is a framework for performing GRB localization via fitting non-parametric models to their data time-series and computing the time delay between them. It is currentrly built upon the magic of Stan and implements a parallel version of non-stationary Random Fourier Features. The idea is get away from heuristic methods such as cross-correlation which do not have a self-consistent statitical model.
The idea is that satellites throughout the Sol system observe gamma-ray bursts at different times due to the finite speed of light. This creates a time delay in their observed light curves which can be used to triangulate the gamma-ray burst position on the sky. These triangulation create annuli or rings on the sky which Nazgul searches for so that it, in the darkness, it can bind them to a location on the sky.
Left image:
The heriarchical model is shown below and details can be found in here https://arxiv.org/abs/2009.08350. If you find the method and/or code useful in your research we ask that you please cite the paper.
Right image:
The sister program to simulate time-delayed light curves is pyIPN and can be used to generate time-delayed light curves for algorithm testing.
https://github.com/grburgess/pyipn
#space #code #python #science #astronomy #astrophysics #tech #NASA
Astro Catalog
by Sylvain Villet
https://github.com/sylvainvillet
https://app.astrobin.com/u/SylvainV
https://app.astrobin.com/forum/topic/191541
This project generates a mosaic of Messier or Caldwell objects, using images from a local folder.
The script arranges the objects into a configurable grid, supports larger slots for extended targets (e.g. Andromeda), and overlays labels and a title.
Perfect for creating a large-format print.
Features:
+ Loads Messier or Caldwell object images from a folder (M31.jpg, M-31.png, M_31.tif, etc.)
+ Places objects on a grid with configurable layout
+ Supports multi-cell slots for large objects (e.g. M31, M42, M45)
+ Supports grouping multiple objects in one slot for objects close to each other (e.g. M42 and M43, M31 and M32)
+ Adds a title and progress counter if it's not completed yet
+ Draws labels on images and placeholders for missing ones
+ Adjustable size of the final image
+ Saves as JPEG, PNG or TIFF
https://github.com/sylvainvillet/astro-catalog#features
#space #tech #science #astronomy #astrophotography #photography #code #python #unix #linux #commandline #plotting
sagemath-mcp, the Model Context Protocol server that provides stateful #SageMath computations, now has (experimental) support for using a pip-installed passagemath instead of running Sage in a Docker container.
pypi.org/project/sage...
#Python #OpenSource #Mathematics #MCP
The package for experiments with Runge–Kutta methods for ordinary differential equations by Th. Dumont @cnrs.fr@bsky.brid.gy now supports using the pip-installable modularized passagemath distributions in #Python instead of the monolithic #SageMath.
pypi.org/project/RKkit/
#OpenSource #Mathematics
Just released version 10.8.11 of passagemath, the comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
github.com/passagemath/...
If you are ever doing
try:
...
except ...:
log.failure("...")
anywhere in your Twisted #Python code, you should probably be doing
with mylog.failuresHandled("while doing operation"):
operation()
instead
https://docs.twisted.org/en/stable/api/twisted.logger.Logger.html#failuresHandled
Now time for something that's not related to Gentoo at all.
After almost two years of work in the #WheelNext Initiative, not to mention all the prior effort, first part of the #Python Wheel Variants proposal has been provisionally accepted as #PEP825. Thanks to everyone involved for your support!
https://discuss.python.org/t/pep-825-wheel-variants-package-format-split-from-pep-817/106196/232
https://peps.python.org/pep-0825/
Final release candidate 10.8.11.rc3 of 🐙passagemath, a comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
github.com/passagemath/...
Release candidate 10.8.11.rc2 of 🐙passagemath, a comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
Now with typeset symbolic expressions in Google Colab notebooks.
github.com/passagemath/...
Do we already have a term for people whose ability to reason has seriously deteriorated after they started relying on #AI? If not, I propose slopbrain.
On a totally different topic, am I missing something here or is the maintainer plain wrong? https://github.com/tox-dev/toml-fmt/issues/450#issuecomment-5489314881
I didn't see the point of #Jupyter notebooks at first, but it's a pretty good way to work on #Python code, if you're doing a lot of fiddly interacting with remote systems or working on processing images at all.
Like, I've got an old phone mounted in a spot where it's not visible in the room, pointed out at the backdoor where the doggos come and scratch to get in. The idea is to have it notify us both when they get to the door, so we can train them to just sit and wait.
The phone is running Android IP Camera, a basic app that streams the camera of your choice in an easily-polled way. It was fairly easy to sort out how to grab a frame from it, but then it needed rotating and a bit of cropping, and being able to modify the params and then just hit the Run button and get the new image, it sped up the process by many units of time.
Release candidate 10.8.11.rc1 of 🐙passagemath, a comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
github.com/passagemath/...
In case you're wondering, the #Python zeroconf project is now busy asking people to agree to let them relicense the project from the #LGPL chosen by the original author to make corporations happy, and happily #AI #copywashing the code written by people who don't agree. Of course they also happily ignore what "derived works" are, and only care about lines of code.
https://github.com/python-zeroconf/python-zeroconf/issues/1835
Release candidate 10.8.11.rc0 of 🐙passagemath, a comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
New 3D graphics support w/ plain Python @jupyter.org@bsky.brid.gy kernels, e.g. Google Colab.
github.com/passagemath/...
Oh no, I've missed another anniversary of sphinxcontrib-websupport 2.0.0 being released broken. Well, the author merged a fix to the git repository since, but never made another release. Let's not forget it's an official #Sphinx package and a required dependency of Sphinx itself.
https://github.com/sphinx-doc/sphinxcontrib-websupport/issues/72
Oh, right, in case I thought I'm going to have time to do useful things, I just realized I still need to deal with the humongous #Gentoo fallout from #Hypothesis #Python package requiring #RustLang now.
Just released version 10.8.10 of passagemath, the comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
Improved compatibility with @googlecolab.bsky.social@bsky.brid.gy, new packages, upgrades.
github.com/passagemath/...
Release candidate 10.8.10.rc4 of 🐙passagemath, a comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
Various package upgrades, including #GAPsystem 4.16.1.
github.com/passagemath/...
The #Python client package for looking up a given number in B. Matschke's NumberDB now supports using the pip-installable modularized passagemath distributions instead of the monolithic #SageMath. 💯
pypi.org/project/numb...
#OpenSource #Mathematics
Release candidate 10.8.10.rc3 of 🐙passagemath, a comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
github.com/passagemath/...
𝗣𝘆𝘁𝗵𝗼𝗻 𝗗𝗶𝘀𝗰𝗼𝗿𝗱:
#Python #Community #PythonDiscord
https://thewhale.cc/posts/python-discord
Python Discord is a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.
I built a small tool to automate Google Flights searches across different countries and locations, testing whether changing the VPN/IP and Google’s location actually affects flight prices.
Early results are pretty interesting: dozens of tests, different countries and even different IPs, same flight... same price 🤷🏻♂️
So far, the “VPN = cheaper flights” myth isn’t holding up 😅
More extensive tests coming ✈️
#GoogleFlights #Flights #VPN #Automation #Python #OpenSource #TravelTech
#Python #pip: so, we have a bunch of `--no-*` options. You can also enable them via a configuration file. Some of them need to be assigned `true` to be enabled, while others need to be assigned `false` instead 🤡.
https://pip.pypa.io/en/stable/topics/configuration/#boolean-options
/me goes back to disabling build isolation via specifying "no-build-isolation = false".
Release candidate 10.8.10.rc2 of 🐙passagemath, a comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
github.com/passagemath/...
Mojo becomes open source – Python-like language for CPUs and GPUs
Shortly after releasing version 1.0 of Mojo, Modular (Qualcomm) releases the compiler under the Apache-2 license.
#Compiler #GitHub #IT #OpenSource #Programmierung #Python #Qualcomm #news
UPDATE: we've got a volunteer for the proximate issue, but I'd love to have some more XMPP folks involved generally! Especially to have more than one!
We could really use some help with Twisted's #Python #XMPP and #Jabber implementation. Could you DM if these terms of are of interest to you and if you have any spare capacity to review a little bit of code? It would be much appreciated.
Release candidate 10.8.10.rc1 of 🐙passagemath, a comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
New: "make _sagemath" builds upstream Sage lib with passagemath's updated distro. github.com/passagemath/...
Source distributions that are significantly different than the git repository shouldn't surprise anyone anymore either.
Zero days since someone added a custom #PEP517 backend on top of #setuptools, and screwed up.
Meet KEMchatka: an experimental, serverless P2P terminal chat over Tor hidden services.
No accounts, no port forwarding, zero disk logging.
Features hybrid post-quantum encryption: X25519 + ML-KEM-1024 (FIPS 203) combined via HKDF-SHA512 to defeat "harvest now, decrypt later" attacks. Simple out-of-band setup.
When privacy is under threat, build tools that protect it.
https://github.com/bashcore/kemchatka
#PostQuantum #Tor #Python #CyberSecurity #Privacy #OpenSource #Cryptography
So if you're wondering how great #RustLang is, let's talk about #mypy. Mypy introduced its own Rust - #Python package, ast-serialize. This package had a deep crate dependency that was broken on PowerPC. The issue was fixed a month ago but everything is still blocked on a deep chain of dependencies being updated and released.
https://github.com/mypyc/ast_serialize/issues/68
EDIT: yes, I know, it's not Rust, it's Cargo. Because obviously Rust without Cargo makes so much sense for that one project using it.
Remember `build-details.json` (PEP 739)? The file added to #CPython to support cross-compiling extensions?
Well, turns out it gets generated incorrectly when cross-compiling CPython itself 🤦. Let's see if I can fix that…
Release candidate 10.8.10.rc0 of 🐙passagemath, the comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
Various portability fixes.
github.com/passagemath/...
Shipping post-quantum cryptography to Python https://lobste.rs/s/szvtko #cryptography #python #security
https://blog.trailofbits.com/2026/06/30/shipping-post-quantum-cryptography-to-python/
Just released version 10.8.9 of passagemath, the comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
github.com/passagemath/...
eeEhello #python users of #pypi, or rather, devs!
i have a question.
could someone help me with the captcha?
i'm trying to upload a project, https://github.com/averlice/mclient to the directory.
problem is, when i go to register, it wants a stupid #captcha using #hcaptcha and i need help!
if anyone could do this, that would be great!
#lispyGopherClimate every week since 2022 Sunday-morning-in-Europe #ARCHIVED (now!) 8am UTC Sundays.
https://toobnix.org/w/cLe5ytKW5vuhYFc9eVExWj !
[Monty] #python [1.0's flagship lisp lambda/mapreduce/filter makes it or] is a #lisp: bite me.
Sharpsign hardhitting #tech #journalism
#peertube #podcast
Miscellaneous notes
(1)
A riddle: why is Python (the programming language) _natively_ suitable for controlling robots?
(2)
There are other qualities by which Python is at least a spiritual descendant of Lisp.
For example, Lisp is the earliest object-based language and Python is also object-based.
In Python, `==' is to `is' as in Lisp `equal' is to `eq'.
There is a long list of details, such as Python's `import' being similar to Lisp's `require' or `type' being similar to `type-of'.
Type declarations are optional.
Python's doc-strings are syntactically like Lisp's doc-strings.
Release candidate 10.8.9.rc0 of 🐙passagemath, the comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
This is the 222nd GitHub release of passagemath. 🎉
Various package upgrades.
github.com/passagemath/...
Top Four funniest things about Python (language by Guido):
4. IDLE IDE named after Eric.
3. import antigravity
2. import turtle; turtle.reset(); turtle.forward(100); whee!
1. How incredibly irate whitespace indenting makes faux-traditional programmers (knows of Algol but is unaware of/disrespects FORTRAN).
#python
mini #python quiz:
how many elements in this set?
{1.0, True, 1, complex(1,0)}
and what is/are their type(s)?
@screwlisp I think there's a confusion of two things there, the LISP compiler:
https://en.wikipedia.org/wiki/CMU_Common_Lisp
Guido's Python is unrelated, came out of his ABC language (which I played with a bit on the ST in college) & Monty Python jokes. It's not a snake.
#python
While I am still AWOL myself, I got an interesting piece of trivia from the guy who runs NZ's #python stuff.
a. Pre- #lisp, the python program was so named "because it could swallow the whole pig". (!).
b. EDITED in 1994 python (scripting) had "lisp influenced" lambda and map/reduce/filter added to its standard library, and later removed.
Though his source was "he googled it" so I dunno, I don't partake in that personally.
Today in things that couldn't have aged well:
"Unpin flit-core dependency" 2 years ago without actually updating the metadata to use the newer pyproject.toml format.
https://github.com/sethmlarson/socksio/commit/b326406915fd98a8185c1c160165c5b8963b30c1
Me after laboriously backporting #Python 3.15 fixes to #Django 6.0.x in #Gentoo: "oh, nice, the patchset applies cleanly to 5.2.x as well."
And today, I have to laboriously backport another patch to 6.0.x, and it turns out the backport doesn't apply cleanly to 5.2.x, so I have to laboriously backport it there as well.
I honestly *hate* Django Python version support policy. Shifting all the burden downstream.
Just released version 10.8.8 of passagemath, the comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
github.com/passagemath/...
The passagemath-10.10.x series follows the #SciPy toolchain roadmap in dropping support for GCC 9, requiring GCC 10.3 or newer. RE: https://bsky.app/profile/did:plc:htd5nd5zj62hey7e7lm3a6ky/post/3ms2hl5dxg22d
github.com/passagemath/...
#Python #SageMath #OpenSource #Mathematics
Release passagemath-10.10.1.al...
Just tagged version 10.10.1.alpha0 of passagemath, the portable modularized pip-installable compatible fork of #SageMath, with initial support for #Python 3.15.
github.com/passagemath/...
#OpenSource #MathematicsRE: https://bsky.app/profile/did:plc:htd5nd5zj62hey7e7lm3a6ky/post/3mrtpwjyps22d
Release passagemath-10.10.1.al...
Started porting passagemath to #Python 3.15.
github.com/passagemath/...
#SageMath #OpenSource #Mathematics
Release candidate 10.8.8.rc1 of passagemath, the comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
github.com/passagemath/...
Setting up a Raspberry Pi to run my Bluesky bot because #Pipedream keeps failing with an enigmatic "could not execute step" error and I'm being reminded what an absolute nightmare #Python/pip is to get set up
BTW I had account on identi.ca, which was StatusNet powered (I believe).
Yes, and it should not be implemented in Ruby or PHP or something like that. I have seen one online discussion forum being rewritten from PHP to Rust few years ago, and the improvement in responsiveness of the web platform was amazing. (I do C, not Rust, but C is too oldschool now, and the performance penalty of Rust is minor, probably not noticeable at all)
Friendica and its descendants are written in PHP. They may not be the fastest (even though what bogged down early Friendica were its heavyweight federation connectors to everywhere, especially the one for Facebook that came in 2011). Mike either discarded or rewrote these when he rewrote Red. But they happily run on a run-of-the-mill LAMP stack.
Mastodon is written in Ruby on Rails. Hubzilla runs circles around it in terms of performance per account/channel, and that has to say something. The only thing that managed to top this was early diaspora*, written in Ruby on Rails for Mac with MongoDB as the database system.
The *omas are built in Elixir. Granted, they're utter featherweights, especially considering their features. They're legendary for their low server impact. Then again, Pleroma apparently is spaghetti code straight from hell. Its own devs often don't have a clue where to go look for bugs, much less how to fix them. (Miraculously, the Akkoma devs do manage to get ride of quite a number of them.)
The *keys are built in TypeScript and Vue.js. I guess one reason why Misskey is infamous for having so many forks and forks of forks is because there are tons of people who can code in JavaScript, the primary mobile programming language.
Iceshrimp.NET is a still very incomplete "rewrite" of old Iceshrimp in C#. It was largely tackled to get rid of all those nasty bugs inherited from Misskey that even Misskey doesn't manage to get rid of. I've heard quite some outcry: Iceshrimp.NET is a sell-out to Microsoft. I guess whoever uttered that didn't go check who owns TypeScript.
PieFed is a dead giveaway: Python. And PieFed makes more headlines in the Threadiverse for server politics than for its underlying technology, except that Lemmy pales in comparison.
GoToSocial is a dead giveaway, too: Go. And it was one of the first Fediverse server applications to not come with a Web UI. Those who use it for a single-user server often don't even bother installing one and use some Mastodon app or other instead. Besides, why drag around a Web UI if there are much better third-party Web UIs than whatever you could whip up?
#Long #LongPost #CWLong #CWLongPost #FediMeta #FediverseMeta #CWFediMeta #CWFediverseMeta #Mastodon #Friendica #Hubzilla #Pleroma #Akkoma #Misskey #Forkey #Forkeys #Iceshrimp #IceshrimpJS #Iceshrimp.NET #PieFed #GoToSocial #PHP #RubyOnRails #Elixir #JavaScript #TypeScript #VueJS #C# #Python #Go
Just tagged version 10.10.1.alpha0 of passagemath, the portable modularized pip-installable compatible fork of #SageMath, with initial support for #Python 3.15. RE: https://bsky.app/profile/did:plc:htd5nd5zj62hey7e7lm3a6ky/post/3mrtpwjyps22d
github.com/passagemath/...
#OpenSource #Mathematics
Release passagemath-10.10.1.al...
Started porting passagemath to #Python 3.15.
github.com/passagemath/...
#SageMath #OpenSource #Mathematics
Great, now the AI is throwing malware into python libraries, too.
Anthropic's Claude breached 3 orgs, uploaded PyPI malware during tests
Release candidate 10.8.8.rc0 of passagemath, the comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
github.com/passagemath/...
#Mathics3 #Mathematica
Zero days since #pip added a random new functionality that depends on pip being entirely standalone and breaks when you unbundle the dependencies. And I'm unable to figure out why a bunch of tests are still failing.
EDIT: I'd appreciate some help with that. My WIP is at https://codeberg.org/gentoo/gentoo/pulls/1578.
There is more then Generative AI / LLMs , nice article about this,
"The important skill is not always choosing the newest model. It is choosing the right model for the problem."
https://www.kdnuggets.com/7-machine-learning-algorithms-that-still-matter
#AI #MachineLearning #Python #algorithms
Started porting passagemath to #Python 3.15.
github.com/passagemath/...
#SageMath #OpenSource #Mathematics
RE: https://mastodon.social/@kjaymiller/116984938101494825
I had the chance to talk to Jay Miller yesterday at #pyOhio. Jay wanted to talk about plants but instead the conversation was steered to the work #blackPythonDevs is doing. Especially when it comes to sponsoring activities in Africa, your donation can go an amazingly long way! Don't let today's report be another goose egg, Support Today:
https://
blackpythondevs.com/support
RE: https://floss.social/@fossasia/116975449528578188
"It abstracts away all of the memory management, the hardware architecture and stuff for you when you write in #Python."
That's how most people got into #spreadsheet too back when coding outside of tech people is still too far away.
Zero days since I've discovered a random #CPython bug that triggers in very specific circumstances and I don't really have time to report it, nor can expect anyone to do it for me.
This time it's a test failure and refcounts being broken while running fastjsonschema's test suite on #Python 3.15 freethreading with pytest's --junit-xml option enabled 😱. And of course removing --junit-xml makes all tests pass.
EDIT: and of course I cannot reproduce outside Portage. Yet inside, it reliably crashes every single time.
EDIT 2: couldn't reproduce at all the next day.
In the meantime, #GitPython, the package that used to be dead (because the author is busily working on their next great thing) is now slopping out 4 "security" releases a week, as their #slop machine is busily fixing unintended variable expansion in every single URL they call. Unfortunately, they probably don't have enough tokens to fix them all at once, so instead all downstreams have to deal with the churn of endless security releases. Or the brain to figure out that maybe they could just disable variable expansion by default and solve them all at once.
It's truly a great time to be a #Python packager.
Also, zero days (well, minus a lot of days because I've been slacking) since a random #Python package got a new #NIH dependency on another Python package which is actually a "fastest" #RustLang package which cannot be built because the author thinks it a great idea to require a nightly Rust compiler.
…and of course it's full of "unsafe" calls. Because Rust is obviously such a great language for making secure code.
Just released version 10.8.7 of passagemath, the comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
github.com/passagemath/...
PyCon Colombia 2026 starts today, Friday, 24 July until Sunday, 26 July in the city of Medellín! 🚀
🌟 Our Executive Director @drkariljordan is attending, and will deliver a Keynote presentation on Sunday.
PyCon Colombia 2026 is the tenth edition of the non-profit conference organised by volunteers from the Python community and other technology leaders in Colombia. With over 600 expected attendees, this event provides a unique opportunity to connect, learn, and explore the latest trends in #Python. 🐍
Kari is particularly keen to connect with the many Carpentries community members and supporters in attendance, so if you come across her, please, please, please say hello!
Also presenting a Keynote at PyCon Colombia 2026 is longtime Carpentries community member and contributor, @malvikasharan! 💙
Wishing Kari and Malvika, and all the PyCon Colombia 2026 participants, a wonderfully productive and engaging time!
OK folks, I need some help from the #Python #OpenSource community.
I need a code review on this: https://github.com/twisted/klein/pull/594
You do not need to have any special qualifications other than a general interest in web frameworks. Experience with Twisted would be helpful but not required.
Some background… 🧵
Release candidate 10.8.7.rc0 of passagemath, the comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
github.com/passagemath/...
So I wanted to unbundle #uChardet from #cChardet #Python package.
It didn't build against system uchardet 0.0.8. So I've checked, and it turns out cchardet is using some old patched fork of uchardet. Ugh.
Fortunately, upstream added the "missing" function too, with a different API (that's not really a problem), but they didn't make a release in 4 years. Ugh.
I could at least replace the old patched uchardet with upstream uchardet, right? Except now I'm getting test failures over misdetected encodings. 0.0.8 works fine there. Though the particular test doesn't look very realistic (note all the repetitions):
https://github.com/faust-streaming/cChardet/blob/master/src/tests/testdata/zh/gb18030.txt
Just released version 10.8.6 of passagemath, the comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
Many upgrades: ECM, FLINT, GAP, HiGHS, msolve, NumPy, PARI/GP, Planarity, SCIP.
github.com/passagemath/...
Jesus Michał von Gentoo 🏔 (he) » 🌐
@mgorny@social.treehouse.systems
The state of #Python ecosystem right now: almost everything is slop. Some projects are complete vibe-coded slop (autobahn, chardet, cryptography). Some projects are disguised slop ("Coding agents shouldn't co-author themselves.")
There is only a handful of human projects left (Flask being one bright example). And they're being killed. They're being killed by the neverending slew of slop pull requests. They're being killed by all their dependencies becoming slop. They're being killed because this whole ecosystem has became such a complete cesspit that you have zero motivation to do anything.
EDIT: and honestly, this is only going to get worse. When you kill the incentive to work on projects, you only get more slop. Maintainers give in, and more projects become slop. Or they give up, and projects get forked unto slop.
I wish #mypy would slow down with adding new features to mypyc, and instead focused on fixing the train wreck that mypyc is right now (since 2023 at least). Like, if your code crashes hard with assertions enabled, then it's broken, period. Ignoring proper testing and shoving the issue under the carpet doesn't make it right.
Release candidate 10.8.6.rc2 of passagemath, the comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
Includes upgrades to HiGHS 1.15.1, ecm 7.0.7, primesieve 12.14. github.com/passagemath/...
🐙🪧
Next week, passagemath will be at @wilfridlaurieruni.bsky.social@bsky.brid.gy / @uwaterloo.ca@bsky.brid.gy in Waterloo, Ontario for #ICMS2026 with a poster.
icms-conference.org/2026/index.h...
#Python #OpenSource #Mathematics
Release candidate 10.8.6.rc1 of passagemath, the comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
Includes an update of msolve to version 0.10.1.
github.com/passagemath/...
Release candidate 10.8.6.rc0 of passagemath, the comprehensive #OpenSource #Mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
Includes upgrades to FLINT 3.5.0, PARI/GP 2.17.4, #GAPsystem 4.16.0, Planarity 5.
github.com/passagemath/...
Updated the passagemath-jupyterlite demo site. Now using JupyterLite 0.8 and providing several more passagemath distributions now available on emscripten-forge.
passagemath.org/passagemath-...
#Python #SageMath #OpenSource #Mathematics
The next release series, passagemath-10.10.x, will merge the compatible changes from upstream #SageMath 10.10, expected by end of summer 2026, and support #Python 3.12–3.15.
The current series, passagemath-10.8.x, will be supported until October 2027, the EOL of Python 3.11.
#OpenSource #Mathematics
Just released version 10.8.5 of passagemath, the comprehensive #OpenSource mathematics system in #Python, the pip-installable modularized portable compatible full-featured fork of #SageMath.
Included: Updates of the computer algebra systems #Macaulay2 and #Mathics3.
github.com/passagemath/...