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.
GitLab CFO, Brian Robins, says they are “aligned with the goals of DOGE, because the company’s software tools aim to help people do more with less. What the Department of Government Efficiency is trying to do is what GitLab does.”
You either support fascism or you don’t. It’s binary. There’s no gray area or “aligning.”
Considering GitLab? Don’t.
Use @Codeberg instead.
(Hat tip @aphyr)
𝗞𝗮𝗸𝗼𝘂𝗻𝗲:
https://thewhale.cc/posts/kakoune
Kakoune is a code editor that implements Vi’s "keystrokes as a text editing language" model. As it’s also a modal editor, it is somewhat similar to the Vim editor (after which Kakoune was originally inspired).
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
𝗞𝗮𝗸𝗼𝘂𝗻𝗲:
https://thewhale.cc/posts/kakoune
Kakoune is a code editor that implements Vi’s "keystrokes as a text editing language" model. As it’s also a modal editor, it is somewhat similar to the Vim editor (after which Kakoune was originally inspired).
Hello, fellow hackers,
I am a #whistleblower and have lost access to computing resources for the time being.
I have this code repository, almost ready. It forms the basis of a True Democracy. Basically, voters get to collectively make up the government’s budget. Government departments have to work within the budgets set by the people.
Could someone please clone, tweak, and deploy it to a public website?
This is a topical solution that will fix many issues we face today.
https://gitlab.com/purrperl/peoples-collaborative-budget
Thank you so much!
#hack #hacker #HackThePlanet #government #governments #democracy
#code #software #MutualAidRequest #perl #PerlHacker
#WebDeveloper #MAGA #democrat #republican #UsPol
Vol 07 of my newsletter just dropped. Lots of cool stuff about design, code, accessibility, privacy, and antifascism.
https://markwrites.io/nano-bytes-07
If you want to know when I publish new stuff, grab the RSS feed or subscribe to the email list. Or don’t. Whatevs.
#NanoBytes #Newsletter #Writing #Design #Code #Privacy #Antifascism
@mdhughes @screwlisp @etenil
Recursive Math Slap!
This was my challenge. No LOOP. Just a recursive function.
It wasn't too hard.
Doesn't run in sbcl. Not sure why.
To run.
Download mathslap-rec.clisp
If you have clisp open a terminal in the directory containing mathslap-rec.clisp
clisp mathslap-rec.clisp
It should give text and numbers and add a number after each iteration.
Now I just need to make some time to write mathslap as a recursive function. The right way, the wrong way, and the lisp way.
@etenil @mdhughes @screwlisp @hairylarry@mastodon.social
Thanks all for your help.
To the best of my ability I have implemented Gene's code review suggestions and I have uploaded the current version to the repository.
mdh, the program is now broken on sbcl. I get an error.
Lock on package COMMON-LISP violated when globally declaring *RANDOM-STATE* SPECIAL while in package COMMON-LISP-USER.
I'm also wondering if there's a better way to do while(true) than
while(= 1 1)
part1
I wrote my first computer game, MathSlap.
Game by @Carl.
Program by @hairylarry@mastodon.social
It's in lisp and runs in a terminal.
You can play solo or multiplayer on the internet by sharing your terminal window.
It was a learning exercise for me. An easy program to get me started with lisp.
Here's the repository.
https://gitlab.com/hairylarryland/mathslap
I think most linux distros come with clisp. Also runs on windows and mac.
Let me know if you run it or if you have trouble running it.
Thanks
I am going to work on my code some more to include your suggestions and resolve all the warnings. I will also write something about how to play the game.
I will run these changes by both of you.
Then I will submit it to screwlisp's zine.
Thanks for all your help. It is, intentionally, a very simple project but I have learned so much about how to code lisp.
#jouRapNal #book19 day 84
20260708Wed(6,7,8: )
#3goodThings #etrike #recumbent #stationary #threeGoodThings
@mdhughes
@screwlisp
@dadget
@Carl
Thanks to @screwlisp for the inspiration and to @mdhughes for help with the code.
For your zine I wrote a lisp program.
;;;; MathSlap program written by Larry Heyl - Game developed by Carl Heyl
;;;; To win make an equation with the supplied numbers, in order, adding any symbols you want but one and only one equal sign.
code in part 2
helo everyone. i've jst been informed that there is a new LLAMA variant, llama 4 scout, available on cloudflare workers AI. personally, i was planning on testing this on bsid-js in replacement of the llama 3.2 11b model we are currently using. anyone played with this #llama model under #cloudflare #workers #ai and recommend it? #coding #code .
RE: https://infosec.exchange/@darkuncle/116778528340746246
“When writing is hard, it’s often not just because we are tired, underfed, or inefficient but because our mind is trying to tell us crucial things. How many draft texts to colleagues or family members have we all stared at in frustration, wondering why they don’t feel quite right—until we finally realize that they need to be rethought completely, or not sent at all? When a book I was writing became an almost hopeless grind, I tore up 90 percent of the manuscript; it became a far more honest work for having been halted at a conceptual dead end, forcing me to turn back.
AI can’t make that kind of judgment.”
Holds equally for code.
Oh, no!
How'd that get in there?!
One day after discovery, Meta pulls facial recognition code from its smart glasses
Forgejo: https://forgejo.org ...
"Forgejo is a Free Software platform for collaboration and productivity in software development. It offers a familiar environment to GitHub users, easy installation and maintenance, and a focus on security, scaling, federation and privacy."... or cgit, which is very fast and slick for the barebones portal ...
... codeberg has a nice setup (via forgejo) if you don't want to self-host.
#git #forgejo #scm #vcs #sources #source #code #vps #gitlab #github #codeberg #hosting
"Remember that there is a distinction between a programming language and a graphical user interface. Don't confuse snazzy graphics (generated using someone else's libraries and tools) with good programming."~ Bjarne Stroustrup (C++ Inventor)
@infostorm@a.gup.pe @hacking@a.gup.pe @c@a.gup.pe @programming@a.gup.pe @dev@a.gup.pe @quotes@a.gup.pe
#BjarneStroustrup #C #cplusplus #Hacking #Hackers #Programming #Programmers #Dev #Developers #Code #Coding #quotes #quotations