Skip to main content Blog Drone

books ==> Python

  1. How To Build a Social Network

    Read The Book Here

    Hi! This is a little microproject I want to do: I want to compress my years of experience building the API backend of a top-50 Steam game into a bunch of weird, rambling advice that I can deliver with all of the authority of someone who can’t differentiate success due to merit from success due to luck.


articles ==> Python

  1. Arrays With More than 18 Elements In Them are Dumb

    A decade ago, when I was working on, you know, procedural generation stuff, fresh out of University, I definitely felt like I’d need to spend some time putting together some serious tools for generating selections from a variety of probability distributions.

    At the time, I was building a “Mohammed Chang” generator - a random name generator that used census data to try to generate mathematically probable names. If I’m pulling names out of a hat, and I want to pick “Smith” more often than I pick “Schwarzchild’ - well, that’s a job for a weighted probability distribution.


notes ==> Python

  1. wormhole

    I needed to send a big file to another technically competent adult

    there are many ways to do this that I have access to, but I just tried a way I had never tried before, magic wormhole

    https://magic-wormhole.readthedocs.io/en/latest/

    It goes like this: I already have choco installed on my computer (very like brew for Mac Os)

    so I installed magic wormhole with a choco install magic-wormhole

    then, I found the file I wanted to send and set up a wormhole send file.zip

    Wormhole code is: 11-virginia-shamrock
    On the other computer, please run:
    
    wormhole receive 11-virginia-shamrock
    

    and the other computer installed wormhole, typed that in, and the file was transferred

    magic

    neat!