eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

216
active users

#scipy

0 posts0 participants0 posts today

RIP gpu-free-ai , which was taken down from PyPI: pypi.org/project/gpu-free-ai/

In its short life, we explored the possibilities of an all-garbage future, but the present was not ready for a package that explicitly implements the Features that "AI" implements implicitly, such as directly posting any keys in your environment directly to pastebin. Even though these Important Features were opt-in gated behind an environment variable, I suppose it is against the rules to upload Literal Malware to PyPI even if it is performance art.

The project remains at github.com/sneakers-the-rat/gp

Dear LazyWeb: is there a C/C++, #Rust or #Zig equivalent of #SciPy’s `stats` module for statistical analysis? Namely:
• a collection of common PDFs (probability density functions);
• MLE (maximum likelihood estimation) for these common distributions;
• KDE (kernel density estimation).

SciPy’s API is a pleasure to work with. Anything that comes close but usable from C/C++/Rust/Zig would make my life so much easier. Boosts appreciated for visibility.

Naive "nearest neighbor" #TravellingSalesmanProblem approximation with just #SciPy, fast but crude. Maybe tomorrow I'll try to implement something from a scientific paper on the problem, or maybe a naive genetic algorithm just for fun. Code at: github.com/villares/sketch-a-d
More sketch-a-day: abav.lugaralgum.com/sketch-a-d
If you like this, support my work: paypal.com/donate/?hosted_butt #Processing #Python #py5 #CreativeCoding

I like to do math, small prototypes and other experimenting with Python in Jupyter notebooks. NumPy, SciPy, SymPy and Matplotlib have been very handy.

But recently Python was too slow for what I was doing and I had trouble juggling Numpy arrays like I often have (it is required for speed). I know some #Rust so I decided to give #evcxr a go because it has a Jupyter kernel. And omg, I wasn't disappointed! It was mindbogglingly fast compared to what I'm used to and it also made the hard part of my code way easier to get right.

However, I only needed math functions provided by std this time. Now I'm trying to figure out if there are science Rust libs that are convenient enough to replace most Python in my notebooks. I know it's a fragmented space, but maybe one could already gather a comprehensive collection of crates manually.

Any recommendations?

CPython 3.13 will come with a free-threading variant that does not use a Global Interpreter Lock (GIL) anymore. In the long term, this should help #Python programs work more efficiently on many CPU core machines.

Several people are working to make sure that the scientific / data science Python ecosystem is upgraded to be compatible and properly tested.

You can monitor progress on this compatibility table:

py-free-threading.github.io/tr

Some #FavoriteTools

#perplexity.ai for thoughtful web queries. (Shows reasoning and references.)

#Vim for #TextEditing

#Firefox w/ #Tridactyl #uBlockOrigin

#Raindrop for #Tagging and #Bookmarking web pages

#Inoreader #RSS reader

#Pandoc for document creation/conversion

#Ubuntu #Linux (even if it's running under Windows #wsl

#Python w/ #Jupyter #Pandas #Matplotlib #numpy #scipy #plac

#TheBrain for #KnowledgeManagement (but considering moving to #Obsidian)

#MoonReader for ebooks and PDFs

#RolandFP90 and A-88 for #piano

#transcribe for working through #music #video

#Leatherman #SkeletoolCX for EDC multitool

#Benchmade #Griptilian when I need more of an actual knife

#Signal for #messaging

#mastodon for social media

#antennapod for podcasts

#streamlightwedgext for #EDC flashlight