scientific-python / blog.scientific-python.org

Community blog posts on scientific-python.org
https://blog.scientific-python.org
Other
22 stars 33 forks source link

Update numpy RNG post #179

Closed albertcthomas closed 6 months ago

albertcthomas commented 6 months ago

Fixes #176 . See also https://github.com/scientific-python/blog.scientific-python.org/pull/135/files#r1470002426

This updates the way to spawn from the RNG using numpy 1.25.

I also added some information on seeding.

I have a weird formatting fix from prettier for the footnotes. I'll check the rendering.

albertcthomas commented 6 months ago

Hm not sure why pre-commit complains about an unrelated file.

stefanv commented 6 months ago

pre-commit.ci run

stefanv commented 6 months ago

pre-commit.ci autofix

albertcthomas commented 6 months ago

Thanks for the pre-commit fix. I also checked the rendering which looks good even though the footnotes in the raw file looks strange so we're good.

albertcthomas commented 6 months ago

Thanks again for the reviews :)

stefanv commented 6 months ago

Thanks, Albert! You may have seen that we've enabled comments on the blog. It's a bit late for yours, since comments came in via issues, but should elicit some discussion on future posts.

albertcthomas commented 6 months ago

Ah this is great. If I may (only a suggestion), it would be nice for the authors to be able to add a link to their names at the top of the posts redirecting to the url of their choice (personal page, twitter/X account, GitHub profile, …).

stefanv commented 6 months ago

See https://github.com/scientific-python/scientific-python-hugo-theme/pull/503