#NumPy

dr 🛠️🛰️📡🎧:blobfoxcomputer:davidr@hachyderm.io
2025-05-02

I've been working on a #space #visualization tool for our operators. It basically needs to always know, and be ready to plot, where every single one of 60k+ objects is down to millidegree/meter/second resolution just in case the sensor suddenly slews there

My own constraint is that it has to be 1) a single 2) #python executable because otherwise I'm not interested

Earlier this year, I found a great 30x faster technique for determining which #satellites are above the horizon. (In fact, it's far more general than that, but that's all the help it gives me to this problem.)

I also realized I could spawn a #multiprocessing child to do lookahead on data and then pass a huge #numpy array to my graphing process. (Investigated ~9 different ways, chose the best)

But there I was stuck.

At any given moment, there are ~4500 space objects above the horizon (at our latitude). Putting 4500 points with little persistence trails and labels and then updating all that at 1Hz let alone the 10Hz I'd like was taking too long, even using the amazing #pyqtgraph

So there I was stuck. Until this week.

2025-04-28

I upgraded archeryutils to use #numpy #typing more 'properly'.
I found the docs and other sources challenging when it came to implementation and examples, so here are my observations and an #ELI5 summary of the bits I felt were missing in the hope it might help others: jackatkinson.net/post/numpy_ty

Comments welcome.
#Python #SoftwareEngineering

Sharlatansharlatan
2025-04-25

For Python pro, how to package any projects depending on Numpy properly when 1 and 2 versions are not compatible. I tried NixOS way or Gentoo way but didn't get it.

danzindanzin
2025-04-22

Do you maintain or contribute to a package that includes a C extension? Would you like to run a fuzzer against it?

If so, let me know and I will run it, or help you to get it running.

The fuzzer is , which generates random code calling into your functions and methods. It's useful to check for crashes on invalid inputs or unexpected call patterns.

It has found about 50 crashes in , 20 in , 6 in etc.


See here:
github.com/devdanzin/fusil/iss

Sharlatansharlatan
2025-04-19

Me, trying to refresh to 7.0+ in which needs 3.11 and 2.0+

2025-04-19

PostgreSQL Shared Libraries: Solving Python Extension Library Path Issues
Smoothly integrate Python extensions with PostgreSQL Shared Libraries, especially when using NumPy. Properly configuring the `shared_libraries` parameter prevents runtime errors by ensuring your database server can locate necessary libraries. Learn how to manage PostgreSQL Shared Libraries for robust Python extensions!
tech-champion.com/databas...

InterData VNinterdatavn
2025-04-17

NumPy là gì? A-Z về thư viện NumPy trong hệ sinh thái Python

NumPy là một thư viện cực kỳ mạnh mẽ trong Python, nổi bật với khả năng xử lý mảng dữ liệu đa chiều một cách nhanh chóng và hiệu quả. Đây là công cụ không thể thiếu trong khoa học dữ liệu, lập trình và học máy. Bài viết này sẽ giới thiệu về các tính năng nổi bật của NumPy, các hàm phổ biến và những ứng dụng thực tế của thư viện này.

Xem ngay: interdata.vn/blog/numpy-la-gi/

2025-04-09

@aethrvmn

I'm not really saying they do. I was more making fun of myself there.

As a kid I did #assembly - first without an assembler using paper and debug (enter 0000 for all jumps until you know their addresses, write down in notebook, go back and adjust.. save to .com)

Then C.

Swore anything higher level was lazy and wrong.

Then basically learned #Python in my 30's - it felt wrong, but #numpy, #theano, so..

Now #Rust - makes me nostalgic for old stubborn ways. And for C.

#rustlang

2025-04-08

Hydra-jupyter package updated 💅🏻 github.com/lauraporta/hydra-ju
The readme should be sufficient for now to get started.

There is an HydraSession class now that handles well two and three dimensional numpy arrays!

Also I added an iPython magic function with which I can write directly hydra code!

Now I have to think which #numpy arrays will be cool to send.

2025-04-05

Знакомимся с SciPy

Научные и технические вычисления — неотъемлемая часть работы инженеров, аналитиков и специалистов по машинному обучению. В этой статье мы разберём, чем полезна библиотека SciPy, какие задачи она помогает решать и как дополняет возможности NumPy. Покажем на примерах, как работать с константами, кластеризацией и преобразованием сигналов.

habr.com/ru/companies/otus/art

#scipy #python #ml #машинное_обучение #numpy

Julio Alberto Lascanodrcalambre
2025-04-04

🖼️✨ **Watermark v1.2.0** 🎯🎨

¡Trabajando en nuevas mejoras!

Muy pronto...⌛

🔜 🤖 :calculator:

🖼️✨ **Watermark v1.2.0** 🎯🎨  

¡Trabajando en nuevas mejoras! 

Muy pronto...⌛  

🔜 #ComingSoon #Watermark #Yad #antiX #Linux #OpenSource #python #bash  #OpenCV 🤖  #NumPy :calculator:
scrap//code :corteximplant:scrapcode@corteximplant.com
2025-04-02

Played around a little bit with #numpy and #matplotlib in #python to create a #cyberpunk #voxelart avatar featuring a #c64 #geos disk icon. #procrastination

Voxel art geos disk icon
2025-03-29

PostgreSQL Shared Libraries: Solving Python Extension Library Path Issues
Smoothly integrate Python extensions with PostgreSQL Shared Libraries, especially when using NumPy. Properly configuring the `shared_libraries` parameter prevents runtime errors by ensuring your database server can locate necessary libraries. Learn how to manage PostgreSQL Shared Libraries for robust Python extensions!
tech-champion.com/databas...

2025-03-28

Connaissez-vous l'histoire du mec qui ne sait pas programmer mais qui décide dans un moment de passion qu'il va implémenter un truc avec des vraies mathématiques (genre il y a des divisions et tout) en #python ?
Le même gars qui après une demi journée de rage et larmes pose une question tellement spécifique au moteur de recherche qu'il tombe sur l'implémentation déjà existante fournie par #numpy.

C'est à emporter, c'est pour un ami, moi je suis végétarien.

Julio Alberto Lascanodrcalambre
2025-03-27

🖼️✨ **Watermark v1.2.0** 🎯🎨

¡Trabajando en nuevas mejoras!

Muy pronto...⌛

🔜 🤖 :calculator:

🖼️✨ **Watermark v1.2.0** 🎯🎨  

¡Trabajando en nuevas mejoras! 

Muy pronto...⌛  

🔜 #ComingSoon #Watermark #Yad #antiX #Linux #OpenSource #python #bash
Blosc Development TeamBlosc2@fosstodon.org
2025-03-26

🚀 Exciting Python-Blosc2 Update!
In 3.2.1 release, we've implemented the __array_interface__ protocol for our array containers, dramatically expanding interoperability with NumPy, CuPy and other array libraries.

This means our blosc2.jit decorator now works with virtually all NumPy functions! Compute with the full power of NumPy with either decompressed data... or compressed data without decompressing first.

Check out examples: github.com/Blosc/python-blosc2

#DataScience #Python #Compression #NumPy

The plot shows the performance of the new Blosc2 compute capabilities.  It can be more than 10x faster than NumPy.
2025-03-26

Инструменты Python для анализа данных на примере данных стриминг-сервиса

В данной статье рассмотрены некоторые методы и инструменты библиотек python для анализа данных. Используем три самые популярные библиотеки: Pandas, Numpy, Seaborn

habr.com/ru/articles/894530/

#pand #numpy #seaborn #python3 #analytics #jupyter_notebook

Augustine Correaindcoder@fosstodon.org
2025-03-25

@shanselman 4/ @gvanrossum revealing that he was pleasantly surprised with the popularity of #Python 🐍in #AI and suggests that #numpy/#NumericPython opened the floogdates. #gaib25mum

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst