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.

Admin email
social@octade.net

Search results for tag #code

[?]royal :terminal: » 🌐
@royal@fosstodon.org

The next time my code exhibits unexpected behavior, I think I will claim it is so powerful it could not be contained.

    [?]Mark Wyner Won’t Comply :vm: » 🌐
    @markwyner@mas.to

    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.”

    web.archive.org/web/2025030921

    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)

      [?]The whale » 🌐
      @thewhalecc@framapiaf.org

      𝗞𝗮𝗸𝗼𝘂𝗻𝗲:

      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).

      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).

      Alt...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).

        [?]grobi » 🌐
        @grobi@defcon.social

        Citizen Astronomy (CAst)
        by ÖgetayKayali
        github.com/OgetayKayali/citize

        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:
        defcon.social/@grobi/117234604

        Topic> Useful Code
        defcon.social/@grobi/114797042

        or expand post & scroll up ^

        Profile at GitHub of Ögetay Kayalı the developer behind Citizen Astronomy (CAst)

        Alt...Profile at GitHub of Ögetay Kayalı the developer behind Citizen Astronomy (CAst)

        Entry screen of Citizen Astronomy (CAst)
CAst is organized around dedicated modes, each built for a different kind of observing or exploration. Choose a science workflow when you want measurements and exports, or open a visualization tool when you want to understand a field, the sky, or a stack.

        Alt...Entry screen of Citizen Astronomy (CAst) CAst is organized around dedicated modes, each built for a different kind of observing or exploration. Choose a science workflow when you want measurements and exports, or open a visualization tool when you want to understand a field, the sky, or a stack.

        Differential Photometry
Example of produced light curves in Citizen Astronomy (CAst)

Open a folder of time-series images, and CAst scans your frames, identifies field stars through Gaia DR3 and VSX catalogs, performs aperture photometry with adaptive FWHM-scaled apertures, and produces differential light curves. Fit periods with Lomb-Scargle, refine comparison stars, bin for signal-to-noise, and export science-ready AAVSO reports.

        Alt...Differential Photometry Example of produced light curves in Citizen Astronomy (CAst) Open a folder of time-series images, and CAst scans your frames, identifies field stars through Gaia DR3 and VSX catalogs, performs aperture photometry with adaptive FWHM-scaled apertures, and produces differential light curves. Fit periods with Lomb-Scargle, refine comparison stars, bin for signal-to-noise, and export science-ready AAVSO reports.

        Sky Explorer

Open any plate-solved image and turn it into an annotated field census. CAst queries SIMBAD, Gaia DR3, VSX, the NASA Exoplanet Archive, and JPL Horizons for objects inside your footprint, then overlays them on the frame with a searchable results table. Switch object-type modes from Simple deep-sky classes to Scientific SIMBAD codes, compare against DSS or Hα survey cutouts with an interactive divider, mark magnitude reach with Mag Limit, add manual annotations, export stills or comparison animations, and build size-aware object collages from catalog angular sizes.

        Alt...Sky Explorer Open any plate-solved image and turn it into an annotated field census. CAst queries SIMBAD, Gaia DR3, VSX, the NASA Exoplanet Archive, and JPL Horizons for objects inside your footprint, then overlays them on the frame with a searchable results table. Switch object-type modes from Simple deep-sky classes to Scientific SIMBAD codes, compare against DSS or Hα survey cutouts with an interactive divider, mark magnitude reach with Mag Limit, add manual annotations, export stills or comparison animations, and build size-aware object collages from catalog angular sizes.

          grobi boosted

          [?]grobi » 🌐
          @grobi@defcon.social

          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.

          github.com/dalya/Sequencer

          sequencer.org/

          Shuffled image rows
The Sequencer reorders the objects in the input dataset according to a detected sequence, if such sequence exists in the dataset. A good example of a perfect one-dimensional sequence is a natural image: the rows within a natural image form a well-defined sequence. Therefore, we can shuffle the rows in a natural image, and apply the Sequencer to the shuffled dataset. The following figure shows the result of applying the Sequencer to a shuffled natural image. The left panel shows the original image. The middle panel shows the same image after we have shuffled its rows. The shuffled image serves as the input dataset to the Sequencer, where each row is considered as a separate object. The output of the Sequencer is shown in the right panel, where we reordered the rows according to the detected sequence. The Sequencer successfully identified the one-dimensional trend spanned by the different rows.

          Alt...Shuffled image rows The Sequencer reorders the objects in the input dataset according to a detected sequence, if such sequence exists in the dataset. A good example of a perfect one-dimensional sequence is a natural image: the rows within a natural image form a well-defined sequence. Therefore, we can shuffle the rows in a natural image, and apply the Sequencer to the shuffled dataset. The following figure shows the result of applying the Sequencer to a shuffled natural image. The left panel shows the original image. The middle panel shows the same image after we have shuffled its rows. The shuffled image serves as the input dataset to the Sequencer, where each row is considered as a separate object. The output of the Sequencer is shown in the right panel, where we reordered the rows according to the detected sequence. The Sequencer successfully identified the one-dimensional trend spanned by the different rows.

            [?]grobi » 🌐
            @grobi@defcon.social

            Command Line Orbit Plotting

            OK Binaries Interactive Catalog
            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.

            github.com/mb2448/ok-binaries/

            ok-binaries.streamlit.app/

            WDS 00094-2759 - BU 391AB
HIP 761 • HD 493
Orbital Elements
Period (P) 575.65y ± 247.6
Periastron (T) 2087.66 ± 104.9
Semi-major axis (a) 1.614″ ± 0.49
Eccentricity (e) 0.5022 ± 0.31
Inclination (i) 98.72° ± 3.9
Longitude of periastron (ω) 272.7° ± 42.6
Node (Ω) 76.73° ± 6.5
Additional Information

Grade: 4 (1=Definitive, 9=Indeterminate)

Equinox: —

Last observation: 2013

Reference: Izm2019
Notes

kap 1 Scl

            Alt...WDS 00094-2759 - BU 391AB HIP 761 • HD 493 Orbital Elements Period (P) 575.65y ± 247.6 Periastron (T) 2087.66 ± 104.9 Semi-major axis (a) 1.614″ ± 0.49 Eccentricity (e) 0.5022 ± 0.31 Inclination (i) 98.72° ± 3.9 Longitude of periastron (ω) 272.7° ± 42.6 Node (Ω) 76.73° ± 6.5 Additional Information Grade: 4 (1=Definitive, 9=Indeterminate) Equinox: — Last observation: 2013 Reference: Izm2019 Notes kap 1 Scl

              [?]grobi » 🌐
              @grobi@defcon.social

              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.

              github.com/Ompha/CLUES
              ui.adsabs.harvard.edu/abs/2021
              ui.adsabs.harvard.edu/abs/2025

              Welcome
Ha! You've stumbled upon this machine-learning classification tools for spectra and IFU data!

              Alt...Welcome Ha! You've stumbled upon this machine-learning classification tools for spectra and IFU data!

                [?]grobi » 🌐
                @grobi@defcon.social

                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.

                github.com/threeML/threeML
                ui.adsabs.harvard.edu/abs/2015
                github.com/threeML/threeML/blo
                news.stanford.edu/stories/2017

                Logo of 3ML
The Multi-Mission Maximum Likelihood framework (3ML)

                Alt...Logo of 3ML The Multi-Mission Maximum Likelihood framework (3ML)

                  [?]grobi » 🌐
                  @grobi@defcon.social

                  3ML: Framework for multi-wavelength/multi-messenger analysis

                  ThreeML is supported by National Science Foundation (NSF) nsf.gov/

                  FYI:
                  heasarc.gsfc.nasa.gov/xanadu/x

                  ui.adsabs.harvard.edu/abs/2015

                  arxiv.org/pdf/1507.08343

                  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.

                  Alt...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.

                    [?]grobi » 🌐
                    @grobi@defcon.social

                    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.

                    github.com/technic960183/spher

                    technic960183.github.io/spheri
                    technic960183.github.io/spheri

                    pypi.org/project/fofpy/
                    linuxtut.com/en/68a22081e84803

                      [?]grobi » 🌐
                      @grobi@defcon.social

                      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
                      github.com/kpenev/AutoWISP
                      + Documentation:
                      kpenev.github.io/AutoWISP/

                      + AstroWISP
                      github.com/kpenev/AstroWISP
                      pypi.org/project/astrowisp/
                      + Documentation
                      kpenev.github.io/AstroWISP/

                      Briefly, the image processing pipeline steps and their products are shown. The arrows indicate the products of each step and where they will be used.:

1 Calibration
2 Source Extraction
3 Astrometry
4 Photometry
5 PSF Fitting
+ Aperture Photometry
6 PRF Fitting
7 Magnitude Fitting
8 Light Curve Generation
9 Post Processing

                      Alt...Briefly, the image processing pipeline steps and their products are shown. The arrows indicate the products of each step and where they will be used.: 1 Calibration 2 Source Extraction 3 Astrometry 4 Photometry 5 PSF Fitting + Aperture Photometry 6 PRF Fitting 7 Magnitude Fitting 8 Light Curve Generation 9 Post Processing

                      Shown is the source extraction versus catalogue projections of our astrometry step placed on top of the corresponding FITS image, where blue squares are the catalogues projected sources and red squares are the extracted sources from our astrometry

                      Alt...Shown is the source extraction versus catalogue projections of our astrometry step placed on top of the corresponding FITS image, where blue squares are the catalogues projected sources and red squares are the extracted sources from our astrometry

                      This is the resulting phase-folded lightcurve for WASP-33 b exoplanet transit, observed by Project PANOPTES (blue points and circles), TESS (red points), and theoretical light curve based on best known system parameters (green curve). The raw PANOPTES-DSLR measurements, originating from the 4 color channels of 4 cameras in Hawaii (Mauna Loa observatory) and California (Mt Wilson) are shown as blue points. The blue points are binned in time to create the blue circles and corresponding error bars. Note that the scatter in TESS points is not instrumental, but rather it is intrinsic variability in the host star, which is a member of the delta-Scuti class of variable stars.

                      Alt...This is the resulting phase-folded lightcurve for WASP-33 b exoplanet transit, observed by Project PANOPTES (blue points and circles), TESS (red points), and theoretical light curve based on best known system parameters (green curve). The raw PANOPTES-DSLR measurements, originating from the 4 color channels of 4 cameras in Hawaii (Mauna Loa observatory) and California (Mt Wilson) are shown as blue points. The blue points are binned in time to create the blue circles and corresponding error bars. Note that the scatter in TESS points is not instrumental, but rather it is intrinsic variability in the host star, which is a member of the delta-Scuti class of variable stars.

                      The scatter (median absolute deviation from the median) of the individual channel lightcurves of PANOPTES observations of a 10 × 15 degree field centered on FU Orionis, with each of their corresponding image colors (RGGB). We see that AutoWISP enables a few parts per thousand photometric precision per exposure even from images with Bayer masks, significantly outperforming prior efforts. Even individual color channels result in better than 1% photometry per 2 min exposure.

                      Alt...The scatter (median absolute deviation from the median) of the individual channel lightcurves of PANOPTES observations of a 10 × 15 degree field centered on FU Orionis, with each of their corresponding image colors (RGGB). We see that AutoWISP enables a few parts per thousand photometric precision per exposure even from images with Bayer masks, significantly outperforming prior efforts. Even individual color channels result in better than 1% photometry per 2 min exposure.

                        [?]grobi » 🌐
                        @grobi@defcon.social

                        Thanks to Sam Van Kooten
                        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.

                        github.com/svank/wispr_analysis
                        Documentation:
                        svank.github.io/wispr_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.

                        Alt...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.

                          [?]grobi » 🌐
                          @grobi@defcon.social

                          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)

                          github.com/lberaldoesilva/trop
                          tropygal.readthedocs.io/en/lat
                          link.springer.com/epdf/10.1007
                          mdpi.com/1099-4300/18/1/13

                            [?]grobi » 🌐
                            @grobi@defcon.social

                            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.

                            github.com/SAIL-Labs/PIRATES
                            ui.adsabs.harvard.edu/abs/2025
                            arxiv.org/pdf/2505.11950
                            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

                            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. We demonstrate that PIRATES can reconstruct high fidelity polarized images of a broad range of complex circumstellar environments, in a physically meaningful and internally consistent manner, and that latent space regularization can effectively [..]

                            Alt...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. We demonstrate that PIRATES can reconstruct high fidelity polarized images of a broad range of complex circumstellar environments, in a physically meaningful and internally consistent manner, and that latent space regularization can effectively [..]

                            The performance of PIRATES with signal to noise consistent with recent VAMPIRES NRM data, with no
algorithmic treatment to constrain the influence of noise. Visibilities and closure phases with injected noise and corre-
sponding error bars are plotted in columns 1 and 2. Stage 1 (CNN) does a good job of a moderate resolution and low
noise reconstruction of the ground truth (top row, columns 3-5), however, significant amounts of noise are introduced
into the images during the iterative fitting (middle row, columns 3-5). The ground truth images are displayed in the
bottom row, columns 3-5.

                            Alt...The performance of PIRATES with signal to noise consistent with recent VAMPIRES NRM data, with no algorithmic treatment to constrain the influence of noise. Visibilities and closure phases with injected noise and corre- sponding error bars are plotted in columns 1 and 2. Stage 1 (CNN) does a good job of a moderate resolution and low noise reconstruction of the ground truth (top row, columns 3-5), however, significant amounts of noise are introduced into the images during the iterative fitting (middle row, columns 3-5). The ground truth images are displayed in the bottom row, columns 3-5.

                              [?]grobi » 🌐
                              @grobi@defcon.social

                              nazgul is a joint effort by:

                              * J. Michael Burgess
                              * Ewan Cameron
                              * Dmitry Svinkin

                              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 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.
                              github.com/grburgess/pyipn

                              The heriarchical model is shown below and details can be found in here. If you find the method and/or code useful in your research we ask that you please cite the paper.

                              Alt...The heriarchical model is shown below and details can be found in here. If you find the method and/or code useful in your research we ask that you please cite the paper.

                              The sister program to simulate time-delayed light curves is pyIPN and can be used to generate time-delayed light curves for algorithm testing.

                              Alt...The sister program to simulate time-delayed light curves is pyIPN and can be used to generate time-delayed light curves for algorithm testing.

                                [?]grobi » 🌐
                                @grobi@defcon.social

                                Astro Catalog
                                by Sylvain Villet
                                github.com/sylvainvillet
                                app.astrobin.com/u/SylvainV
                                app.astrobin.com/forum/topic/1

                                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

                                github.com/sylvainvillet/astro

                                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

                                Alt...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

                                  [?]The whale » 🌐
                                  @thewhalecc@framapiaf.org

                                  𝗞𝗮𝗸𝗼𝘂𝗻𝗲:

                                  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).

                                  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).

                                  Alt...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).

                                    [?]Ashwin Dixit » 🌐
                                    @ashwin@defcon.social

                                    Hello, fellow hackers,

                                    I am a 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.

                                    gitlab.com/purrperl/peoples-co

                                    Thank you so much!



                                      [?]Mark Wyner Won’t Comply :vm: » 🌐
                                      @markwyner@mas.to

                                      Vol 07 of my newsletter just dropped. Lots of cool stuff about design, code, accessibility, privacy, and antifascism.

                                      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.

                                        Dustrial boosted

                                        [?]Dustrial » 🌐
                                        @dustrial.net@bsky.brid.gy

                                        Morning rituals.

                                          Dustrial boosted

                                          [?]Dustrial » 🌐
                                          @dustrial.net@bsky.brid.gy

                                          electromagnetic spectrum shift

                                            Dustrial boosted

                                            [?]Dustrial » 🌐
                                            @dustrial.net@bsky.brid.gy

                                            pixelcrushed

                                              [?]hairylarry » 🌐
                                              @hairylarry@gamerplus.org

                                              @mdhughes @screwlisp @etenil

                                              Recursive Math Slap!

                                              This was my challenge. No LOOP. Just a recursive function.

                                              It wasn't too hard.

                                              gitlab.com/hairylarryland/math

                                              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.

                                                [?]hairylarry » 🌐
                                                @hairylarry@gamerplus.org

                                                @screwlisp @lkn @aral

                                                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.

                                                  Dustrial boosted

                                                  [?]Dustrial » 🌐
                                                  @dustrial.net@bsky.brid.gy

                                                  pattern that give you no place to stand.

                                                    [?]hairylarry » 🌐
                                                    @hairylarry@gamerplus.org

                                                    @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

                                                      [?]hairylarry » 🌐
                                                      @hairylarry@gamerplus.org

                                                      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.

                                                      gitlab.com/hairylarryland/math

                                                      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

                                                        [?]hairylarry » 🌐
                                                        @hairylarry@gamerplus.org

                                                        @screwlisp @mdhughes

                                                        The new version.

                                                        Without warnings?

                                                        Also with a q to quit.

                                                        Code in reply.

                                                          [?]hairylarry » 🌐
                                                          @hairylarry@gamerplus.org

                                                          @mdhughes @screwlisp

                                                          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.

                                                            [?]✨ollOGies🎆 » 🌐
                                                            @philsawa@ioc.exchange

                                                            day 84

                                                            20260708Wed(6,7,8: )

                                                            (tiny bike seat sketch)

did 1h on 3 dif stationary bikes (20min ea)

small seat hurt

medium seat felt funny

&recumbent felt best

might have to trade the gas guzzler in for an etrike someday

doing an fcc rdb question set

                                                            Alt...(tiny bike seat sketch) did 1h on 3 dif stationary bikes (20min ea) small seat hurt medium seat felt funny &recumbent felt best might have to trade the gas guzzler in for an etrike someday doing an fcc rdb question set

                                                              [?]hairylarry » 🌐
                                                              @hairylarry@gamerplus.org

                                                              @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

                                                                [?]adison verlice » 🌐
                                                                @adisonverlice@tweesecake.social

                                                                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 model under and recommend it? .

                                                                  [?]Aral Balkan » 🌐
                                                                  @aral@mastodon.ar.al

                                                                  RE: infosec.exchange/@darkuncle/11

                                                                  “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.

                                                                    [?]Marcus "MajorLinux" Summers » 🌐
                                                                    @majorlinux@toot.majorshouse.com

                                                                    Oh, no!

                                                                    How'd that get in there?!

                                                                    One day after discovery, Meta pulls facial recognition code from its smart glasses

                                                                    arstechnica.com/tech-policy/20

                                                                      1 ★ 0 ↺

                                                                      [?]OCTADE » 🌐
                                                                      @octade@soc.octade.net

                                                                      You could do the weblord thing and get a $20/yr cheap VPS then try:

                                                                      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.


                                                                        0 ★ 7 ↺

                                                                        [?]OCTADE » 🌐
                                                                        @octade@soc.octade.net

                                                                        "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