Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • About Bonfire
Simon Tournier
@zimoun@social.sciences.re  ·  activity timestamp 4 days ago

The AI optimistic says: Oh cool, look what answers ChatGPT to the prompt « Provide the Scheme source code for the Guix recipe of the Python package tedana » 🤑

The AI pessimistic says: Oh damned, it looks as some formatted random! 🤬

The pragmatic: ’guix import pypi tedana’ period. 🤩

#Guix
1/2

  • Copy link
  • Flag this post
  • Block
Simon Tournier
@zimoun@social.sciences.re replied  ·  activity timestamp 4 days ago

ChatGPT return to the prompt « Provide the Scheme source code for the Guix recipe of the Python package tedana »

(define-module (python-tdana)
#:use-module (guix)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system python)
#:use-module (guix pypi)

;; Define the package
(define-public python-tdana
(package
(name "python-tdana")
(version "0.1.0") ; Replace with the latest version if necessary
(source
(origin
(method url-fetch)
(uri (pypi-uri "tedana" version))
(sha256
(base32
"0jjllm3lb84w6sbx23jl9fv92y3hsrx0w0rc7rf9vhfqdbd2jx")) ; Replace with the correct checksum
))
(build-system python-build-system)
(native-inputs
`(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/tedana/tedana") ;; Update with actual homepage
(synopsis "A Python library for analyzing task-based fMRI data with TED")
(description
"Tedana is a Python library designed for the analysis of task-based fMRI data using TED (Task-evoked Data Analysis).")
(license license:bsd-3)))

2/2

  • Copy link
  • Flag this comment
  • Block
Sharlatan
@sharlatan@mastodon.social replied  ·  activity timestamp 2 days ago

@zimoun played with duckduckgo gpt5-mini, the same prompt: it did provide something readable enough to ensure not to use LLM for that task:-D by the way, would you need that https://tedana.readthedocs.io/en/stable/

> Python library for denoising multi-echo functional magnetic resonance imaging (fMRI) data

It sounds very nish ;-)

  • Copy link
  • Flag this comment
  • Block
Sharlatan
@sharlatan@mastodon.social replied  ·  activity timestamp 4 days ago

@zimoun let's fix 400 broken python packages and finally migrate to pyproject ;-)

  • Copy link
  • Flag this comment
  • Block
Ludovic Courtès
@civodul@toot.aquilenet.fr replied  ·  activity timestamp 4 days ago

@zimoun Thing is the result looks plausible, and because of this some may never hear about the superior and incomparably less energy-intensive ‘guix import’ and https://guix-hpc.gitlabpages.inria.fr/guix-packager/

  • Copy link
  • Flag this comment
  • Block
Log in

A small Bonfire corner on the internet

This is a small personal instance of Bonfire in the Fediverse.

A small Bonfire corner on the internet: About · Code of conduct · Privacy ·
Bonfire social · 1.0.0-rc.3 no JS en
Automatic federation enabled
  • Explore
  • About
  • Code of Conduct
Home
Login