101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

513
active users

#numpy

0 posts0 participants0 posts today

Cobbled together an #ExoLabs cluster to fuck around with #devstral a bit, since it's kinda too big for my M3 Max daily driver. While in the process of bringing up nodes the model hit a bug in the #MLX #Python module that deals with inference model sharding related to passing around MLX vs Numpy data structures.

For shits and giggles and also not being a top-tier #Numpy data structure debugging guy I asked Devstral to look at the bug and figure out a fix. After one wrong turn it came up with a fix which I applied to the other nodes and now it's happily sharding the bigger Devstral models. Not sure about vibe coding as a social contagion but from a “How close are we to #Skynet”-perspective I think we're cooked, chat.

Anyway enjoy your Memorial Day weekend 🎉

Figure 1. A very heterogeneous Exo cluster.

Oh look, a rainbow! Exploring the Visible Spectrum with Python Part 1
In this article I write Python code to calculate the frequencies, wavelengths, energies and RGB values of light across the visible spectrum. (Next week in Part 2 I plot the data using Matplotlib.)
#python #pythonprogramming #physics #numpy #matplotlib #light #spectrum
codedrome.substack.com/p/visib

CodeDrome · Exploring the Visible Spectrum with Python Part 1By Chris Webb

I don't understand the interpolation step of #perlin #noise generation.

I have gradient vectors at the grid points. I have points inside each grid square.

If I call the gradient vectors unit vectors, then the dot product of a gradient vector with a point-position vector is already scaled by distance. It will also be scaled by distance from the other corners.

Is that not already interpolated?

II've heard of Perlin #noise before but never dug into it.

Yesterday I wanted it for a project and found some #python code for it (#numpy apparently doesn't supply Perlin natively...?)

The code works, but it isn't at all clear what the arguments mean or how I'd use it for the project I want.

So *obviously* now I am making my own that makes more sense to me. And also supports multiple octaves.

I mean...it's a day off. What else am I going to do?