Tux Machines

Programming Leftovers

Posted by Roy Schestowitz on Jan 31, 2025

=> Windows TCO and Security Leftovers | IBM and Red Hat Leftovers

Rlang ☛ The Mathematics of Taylor Swift

=> ↺ The Mathematics of Taylor Swift

But of course there’s much more, and so let’s look at the mathematics of Taylor Swift.
Let’s start with her net worth. She is estimared to have $1.6 billion in assets. Her largest asset is her music catalog. She did not own the masters (first recording) to her older music, but she re-recorded them and owns the masters to the re-recorded versions and to her future recordings.

The New Stack ☛ 12 Critical Open Source Projects Losing Security Support in 2025

=> ↺ 12 Critical Open Source Projects Losing Security Support in 2025

The EOL event for a major version of an open source software package is more challenging than just missing out on new features that will only be incorporated into future versions. It creates security risks for applications that depend on that open source software.

Brad Frost ☛ The UX of login codes

=> ↺ The UX of login codes

The best experience is for this whole nightmare flow not to exist at all. I know I know, security blah blah blah, but zooming all the way out, this experience is rough. It’s death by 1000 paper cuts for everyone. It feels like punishment.
Other two-factor authentication methods exist, but each method introduces its own pain. Authenticator apps introduce a “YOU HAVE TO DEFUSE THIS BOMB IN 10…9…8…” level of stressful bullshit into an already-painful experience. Passkeys are relatively new and seem promising in theory. But holy shit the current UX around them is really painful. I find myself clicking random purple buttons between Chrome, 1Password, and my phone. I really don’t know what’s going on, but eventually I click enough that it lets me in? Perhaps I don’t have things set up right, but it doesn’t match the magic that’s been pitched to me.

Python

TecMint ☛ 16 Top Python Hacks for Data Scientists to Improve Productivity

=> ↺ 16 Top Python Hacks for Data Scientists to Improve Productivity

But even if you’re comfortable with the basics, there are some advanced tricks that can take your skills to the next level and help you write cleaner, faster, and more efficient code, saving you time and effort in your projects.

Python Speed ☛ The surprising way to save memory with BytesIO

=> ↺ The surprising way to save memory with BytesIO

If you need a file-like object that stores bytes in memory in Python, chances are you you’re using Pytho’s built-in io.BytesIO(). And since you’re already using an in-memory object, if your data is big enough you probably should try to save memory when reading that data back out. After all, it’s better not to have two copies of all the data in memory when only one will suffice.

Trail of Bits ☛ PyPI now supports archiving projects

=> ↺ PyPI now supports archiving projects

Project archival is a single piece in a larger supply-chain security puzzle: by exposing archival statuses, PyPI enables downstream consumers to make more informed decisions about which packages they depend on. In particular, an archived project is a clear signal that a project intends to make no future security fixes or perform ongoing maintenance.

=> gemini.tuxmachines.org

Proxy Information
Original URL
gemini://gemini.tuxmachines.org/n/2025/01/31/Programming_Leftovers.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
140.983117 milliseconds
Gemini-to-HTML Time
1.629465 milliseconds

This content has been proxied by September (3851b).