python

Back Open Paginator
25.08.2025 00:49
villares (@villares@ciberlandia.pt)

#Python is for artists too @ #SescAvPaulista
(Oficina do Clubinho Gráfico aos domingos)





Show Original Post


25.08.2025 00:27
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/LucindaLilley/PIRAT

ui.adsabs.harvard.edu/abs/2025
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 #tech





Show Original Post


25.08.2025 00:16
till (@till@ubuntu.social)

For the Python programmers under you who wanted to make your app print, you probably have used pyCUPS to talk with the printing system. Perhaps you have also seen that it is not well maintained, not keeping pace with new APIs. Problem was its design, being a maintenance nightmare.

But for libcups3 it gets much better, thanks to the most Pythonic GSoC contributor we ever had, and CFFI:

soumyadghosh.github.io/website

Thanks @soumyadghosh

#OpenPrinting #Python #Pythonic #CFFI #CUPS #GSoC #GSoC2025




Show Original Post


24.08.2025 22:54
transportationtalk (@transportationtalk@fosstodon.org)

What do you think of creating and maintaining a data portfolio/personal website? Was it useful in securing your first data job? Has it been rewarding in any other way in your career?

#RStats #Python #Julia




Show Original Post


24.08.2025 22:13
paoloredaelli (@paoloredaelli@mastodon.uno)

@fosserytech
#Systemd 259 requires #python >= 3.9.0…
Well, isn't it a circular dependency? 😱😜🤪😭




Show Original Post


24.08.2025 21:11
mgorny (@mgorny@pol.social)

Przygotowałem wstępnie weryfikację autentyczności plików z #PyPI dla #Gentoo.

Wiecie, ten nowy wynalazek, który chroni przed atakami podmieniającymi pliki na PyPI, i upewnia się, że macie do czynienia z oryginalnymi plikami z GitHuba. No bo, jak powszechnie wiadomo, repozytoria na GitHubie i tamtejsze systemy CD są mało prawdopodobnym celem ataków. No i absolutnie nie trzeba się martwić tym, że klucze, repozytoria i te systemy CD są w rękach Microsoftu.

github.com/gentoo/gentoo/pull/

#bezpieczeństwo #GitHub #Microsoft #Python #SigStore




Show Original Post


24.08.2025 21:08
mgorny (@mgorny@social.treehouse.systems)

I've drafted support for verification of #PyPI provenance for #Gentoo.

You know, the new fancy thing that protects against supply chain attacks on PyPI, and verifies that you're using genuine #GitHub artifacts. Because, you know, GitHub repositories and deployment pipelines are an unlikely attack vector. And you definitely don't need to worry about #Microsoft owning the keys, the repositories and the pipelines at all.

github.com/gentoo/gentoo/pull/

#security #Python




Show Original Post


24.08.2025 20:41
gnufcl (@gnufcl@fosstodon.org)

🚫 Copying your Python virtual environment folder? Think again.

Simply copying the venv folder might seem convenient—but it often leads to broken setups and hidden issues.

A new blog post explores why this method fails and how to migrate environments properly using reproducible workflows.

📖 Read more: ka2in.github.io/mydocusaurus/b

#Python #venv #DevTips #technicalwriting #Sphinx




Show Original Post


24.08.2025 20:27
vnzn (@vnzn@mas.to)

"Rust becomes Python's performance co-pilot" - By Wolf Hosbach

heise.de/en/news/Rust-becomes-

#Python #rustlang #performance #programming




Show Original Post


24.08.2025 20:24
carljbar (@carljbar@mastodon.online)

What are the best open source python librairies to implement a RAG? #python #AI #RAG




Show Original Post


24.08.2025 19:33
r (@r@fed.brid.gy)

I'm getting back into SuperCollider (and running it from Neovim!) This is taking an MP3 I glitched up in Python (as discussed here: reillyspitzfaden.com/posts/2025/0...) and looping random segments of it like a skipping CD. #SuperCollider #Neovim #Python #Glitch #SoundDesign #ElectronicMusic





Show Original Post


24.08.2025 19:32
reillypascal (@reillypascal@hachyderm.io)

I'm getting back into SuperCollider (and running it from Neovim!)

This is taking an MP3 I glitched up in Python (as discussed here: reillyspitzfaden.com/posts/202) and looping random segments of it like a skipping CD.

#SuperCollider #Neovim #Python #Glitch #NoiseMusic #ExperimentalMusic #SoundDesign #ElectronicMusic





Show Original Post


1 ...1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 ...1548
UP