Plurrrr

a tumblelog
Fri 08 May 2020

I admit it: I like Python's asyncio

Python's asyncio gets a fair bit of bad press. Some of it I agree with, but there is one aspect I like about it: the API needed for a lot of common tasks is actually fairly small and clear.

Source: I admit it: I like Python's asyncio, an article by Michal Charemza.

ZFS 101—Understanding ZFS storage and performance

To really understand ZFS, you need to pay real attention to its actual structure. ZFS merges the traditional volume management and filesystem layers, and it uses a copy-on-write transactional mechanism—both of these mean the system is very structurally different than conventional filesystems and RAID arrays. The first set of major building blocks to understand are zpools, vdevs, and devices.

Source: ZFS 101—Understanding ZFS storage and performance, an article by Jim Salter.

Calculating Streaks in Pandas

A streak is when several events happen in a row consecutively. In this post, we’re going to be working with NBA shot data and looking at players who made or missed a number of shots in a row. That said, streaks can take many forms. You can just as easily use this technique to detect and measure other streaks like consecutive days logging in to an app or website.

Source: Calculating Streaks in Pandas, an article by Josh Devlin.