Tux Machines

Programming Leftovers

Posted by Roy Schestowitz on Jun 25, 2023,

updated Jun 25, 2023

=> today's leftovers | Security Leftovers

How to generate a hex sticker with {openai} and {cropcircles}

=> ↺ How to generate a hex sticker with {openai} and {cropcircles}

Every R package needs a hex sticker. Here's how you can generate one in seconds using generative AI.

Mike Blumenkrantz: Presenting

=> ↺ Mike Blumenkrantz: Presenting

Keen-eyed readers of the blog will have noticed over the past couple weeks an obvious omission in my furious benchmark-related handwaving.
I didn’t mention glmark2.
[...]
Yes, that glmark2.
Except my results were a bit different.
The thing about glmark2 is it’s just a CPU benchmark of drivers at this point. None of the rendering is in any way intensive, GPUs have gotten far more powerful than they were at the time the thing was written, and CPUs are now pushing tens of thousands of frames per second.
Yes, tens of thousands.

SciPy Stats Pearsonr

=> ↺ SciPy Stats Pearsonr

The “scipy.stats.pearsonr()” function in Python is a powerful tool for calculating the Pearson correlation coefficient between variables.

Numpy Array Append

=> ↺ Numpy Array Append

The “numpy.append()” method and the “numpy.concatenate()” method of the “Numpy” module are used to append the NumPy array in Python.

Numpy Loadtxt

=> ↺ Numpy Loadtxt

In Python, the “numpy.loadtxt()” function of the “Numpy” module is utilized to load the data from the text file and retrieve it as “ndarray”.

The Rust Programming Language Blog: Improved API tokens for crates.io

=> ↺ The Rust Programming Language Blog: Improved API tokens for crates.io

If you recently generated a new API token on crates.io, you might have noticed our new API token creation page and some of the new features it now supports.
Previously, when clicking the "New Token" button on https://crates.io/settings/tokens, you were only provided with the option to choose a token name, without any additional choices. We knew that we wanted to offer our users more flexibility, but in the previous user interface that would have been difficult, so our first step was to build a proper "New API Token" page.

=> ↺ https://crates.io/settings/tokens

=> ↺ https://crates.io/settings/tokens

=> gemini.tuxmachines.org

Proxy Information
Original URL
gemini://gemini.tuxmachines.org/n/2023/06/25/Programming_Lefovers.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
139.488294 milliseconds
Gemini-to-HTML Time
1.18974 milliseconds

This content has been proxied by September (ba2dc).