villares, to python Portuguese
@villares@ciberlandia.pt avatar
marsbarlee, to python
@marsbarlee@www.librepunk.club avatar

Woah! I’m giving a talk at titled “Paint by Numbers: A Retrospective on the ‘NumPy Comics’ and Under-Represented Skillsets in Documentation”.

A refreshingly honest tell-all on what went right, what went wrong and what went horribly wrong. 🥲 Check it out at the Documentation Summit, Sunday, May 19!

If you’ve never heard of the NumPy comics, check them out here! https://heyzine.com/flip-book/3e66a13901.html

villares, to python
@villares@ciberlandia.pt avatar
villares, to python Portuguese
@villares@pynews.com.br avatar
villares, to python Portuguese
@villares@pynews.com.br avatar
pixeltracker, to ArtificialIntelligence
@pixeltracker@sigmoid.social avatar
kellogh, to rust
@kellogh@hachyderm.io avatar

ngl you had me at 3x-300x faster than #scipy / #numpy

vector similarity in #rust

https://github.com/ashvardanian/simsimd #python

villares, to python Portuguese
@villares@pynews.com.br avatar

Obrigado @guilhermesv! Tão no ar separadinhos os vídeos das apresentações do #ProcessingCommunityDay Brasil 2023 https://www.youtube.com/playlist?list=PLCSyFEVJoho5zQWiUd3tYRcXu6CsvcRBF #ProgramaçãoCriativa #Processing #Python #py5 #Numpy

villares, to python Portuguese
@villares@ciberlandia.pt avatar
jbzfn, to python
@jbzfn@mastodon.social avatar

🐍 NumPy 2 is coming: preventing breakage, updating your code

「 NumPy 2 is a new major release, with a release candidate coming out February 1st 2024, and a final release a month or two later. Importantly, it’s backwards incompatible; not in a major way, but enough that some work is required to upgrade. And that means you need to make sure your application doesn’t break when NumPy 2 comes out 」

https://pythonspeed.com/articles/numpy-2/

#Python #NumPY #NumPY2

publicvoit, to NixOS
@publicvoit@graz.social avatar

Yet another #NixOS fail on my ground:

Had to invest hours of debugging only to find out that in the end, my #Python interpreter can't find the installed zlib of the system. This way, #numpy could not be imported because of that. 😔

Another taske of: "Never ever use NixOS when you plan to execute Python scripts."

I'll need to summarize my issue and nag the community in order to find out the underlying reason. 😜

itamarst, to python
@itamarst@hachyderm.io avatar

NumPy 2 is coming out in couple months! And it's a little backwards incompatible, which means any applications that depend on it (directly or indirectly) might break.

I wrote an article showing how to prevent breakage in the short term, and how to automatically upgrade in the long term.

https://pythonspeed.com/articles/numpy-2/

#Python #NumPy

py5coding, to random
@py5coding@fosstodon.org avatar

#py5 lets you manipulate pixels with np_pixels[], a #numpy array with 3 dimensions, much like how you'd work with pixels using other Python tools.

size(999,999)
background('w')
load_np_pixels()
for _ in range(99):
x,y,c=random_int(900), random_int(900), random_int(1,3)
np_pixels[x:x+99,y:y+99,c]=0
update_np_pixels()

#genuary #genuary4 #processing

mstimberg, to foss
@mstimberg@neuromatch.social avatar

Hi, I am looking for reviewers for the following submission to @joss:

“Φ-ML: A Science-oriented Math and Neural Network Library for Jax, PyTorch, TensorFlow & NumPy”

Repo: https://github.com/tum-pbs/PhiML
Paper: https://github.com/openjournals/joss-papers/blob/joss.05823/joss.05823/10.21105.joss.05823.pdf
Pre-review: https://github.com/openjournals/joss-reviews/issues/5823

JOSS publishes articles about open source research software. It is a free, open-source, community driven and developer-friendly online journal. JOSS reviews involve downloading and installing the software, and inspecting the repository and submitted paper for key elements

Please reach out if you are interested in reviewing this paper or know one who could review this paper.

#review #JOSS #FOSS #NeuralNetworks #Python #Jax #PyTorch #TensorFlow #Numpy

villares, (edited ) to random Portuguese
@villares@ciberlandia.pt avatar

Today I'm goint to show some little things thar I came to learn about #numpy, it is not much, but I hope it will be fun. One of the things will be Ruído aleatório maneiro do Tom Larrow (@TomLarrow's cool random noise) #Python #CreativeCoding #Processing #py5

villares, (edited ) to random Portuguese
@villares@ciberlandia.pt avatar

Amanhã, sábado dia 2, 10h, vou fazer uma apresentação de cerca de 40m "Python científico na programação criativa: o que eu aprendi até agora de numpy para usar nos meus desenhos", que deve depois ficar gravada.

Essa apresentação é parte do Processing Community Day Brasil 2023, um evento gratuito, online apenas, organizado por pessoas voluntárias da comunidade brasileira de programação criativa, transmitido pelo canal https://www.youtube.com/@ProcessingCommunityDayBrasil
Veja a programação completa em https://pcd2023.encontrosdigitais.com.br/

Nos sábados 9 e 16 de dezembro, 10h vou fazer 2 encontros de 2h, via Google Meet: "Python para quem curte Processing"
Para participar dos encontros peço uma contribuição de R$100 por encontro, ou o quanto você conseguir contribuir, via pix (46c37783-5edb-4f1c-b3a8-1309db11488c) ou PayPal.

https://form.jotform.com/233352075438658

Qualquer dúvida, me escreva!
#Processing #Python #numpy #py5 #programaçãoCriativa

villares, to python Portuguese
@villares@pynews.com.br avatar

#numpy ordering glyphs by black pixel count! #Processing #Python #py5

villares, to python Portuguese
@villares@ciberlandia.pt avatar
narkode, to python German
@narkode@nerdculture.de avatar

I have a #python problem. A list of lists like [[1,2,3], [4,5,6], [7,8,9]] should be turned into a flat list. And every last value (position -1) of a list should be summed with the first value of the next list (position 0). The result of the example would be [1,2,7,5,13,8,9]. Any suggestions how to solve this in an elegant and pythonic way? Solutions using #pandas or #numpy are welcome, too!

villares, to python Portuguese
@villares@ciberlandia.pt avatar

Hey #Python #numpy friends, which is better/faster? Are they the same?

triangles_conc = np.concatenate((a, b, c), axis=1).reshape(-1, 2)<br></br><br></br>triangles_stack = np.hstack((a, b, c)).reshape(-1, 2)<br></br>

Context: Drawing "boids" as triangles.

triangles = np.hstack(<br></br>        (left_points, right_points, head_points)).reshape(-1, 2)<br></br>with py5.begin_shape(py5.TRIANGLES):<br></br>    py5.vertices(triangles)<br></br>

#py5 #boids

villares, to python Portuguese
@villares@ciberlandia.pt avatar

So nice to see how @rougier used Shiffman's Flocking example as inspiration for the spatial vectorization techniques on https://www.labri.fr/perso/nrougier/from-python-to-numpy/#spatial-vectorization

Such a pity that the Processing Foundation has in all these years abandoned Python... but... now we have and + + has a future!

I'll see if I can remove the matplotlib dependecy and use py5 for boids in the next weeks. I have both a bio-simulation educational demo and a "hey, I'm learning numpy in the context of creative coding" presentation in the coming weeks.

villares,
@villares@ciberlandia.pt avatar

Rougier's book could almost be called "How to Apply to The Nature of Code" 😂​

Just kidding, but it start s with random walkers, and tackles cellular automata, fractals, and agents (flocking boids), all themes found in Shiffman's book!

villares, (edited ) to python Portuguese
@villares@ciberlandia.pt avatar

Proposta de palestra que mandei hoje: #Python científico na #ProgramaçãoCriativa: o que eu aprendi até agora de #numpy para usar nos meus desenhos

Uso Python para fazer os meus desenhos, uma linguagem interpretada que tem a fama de ser lenta. No ecossistema do Python, a biblioteca numpy se destaca como pilar da computação científica, fazendo operações com matrizes de maneira muito eficiente. Para usar numpy nos meus sketches, estou aos poucos aprendendo a pensar de maneira "vetorizada" evitando os lentos laços de repetição do arroz com feijão no Python, e gostaria de compartilhar um pouco do que estou aprendendo.

itnewsbot, to random
@itnewsbot@schleuss.online avatar

D-POINT: A Digital Pen with Optical-Inertial Tracking - [Jcparkyn] clearly had an interesting topic for their thesis project, and was cons... - https://hackaday.com/2023/11/14/d-point-a-digital-pen-with-optical-inertial-tracking/ #visualposeestimation #peripheralshacks #inertialtracking #numbajitcompiler #kalmanfiltering #pressuresensor #sensorfusion #webcam #6-dof #aruco #numpy

rye, to python
@rye@ioc.exchange avatar

Hi #python community I hve some very specific questions to ask about python but I don’t know how to ask them.

Is there anyone in this space who can donate an hour of mentoring time?

Thank you.

cazabon,

@rye Unfortunately, you've hit my exact areas of anti-#expertise. I've never used #Jupyter. So my suggestions are probably wrong or things you've already tried.

How are you storing the data? As plain Python objects, #numpy arrays, #Pandas #dataframes? If using native Python datatypes, it will use a ton more memory.

Have you looked at packages on PyPI? There are a bunch of hits for "sankey" - some of them use d3.js, but others don't, and might work better.

1/x

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • mdbf
  • Youngstown
  • InstantRegret
  • ethstaker
  • slotface
  • PowerRangers
  • Durango
  • vwfavf
  • kavyap
  • tsrsr
  • ngwrru68w68
  • DreamBathrooms
  • everett
  • Leos
  • magazineikmin
  • rosin
  • tacticalgear
  • thenastyranch
  • osvaldo12
  • GTA5RPClips
  • khanakhh
  • cisconetworking
  • modclub
  • cubers
  • tester
  • normalnudes
  • provamag3
  • All magazines