This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import itertools | |
import hashlib | |
from collections import Counter | |
from multiprocessing import cpu_count | |
from concurrent.futures import ProcessPoolExecutor | |
def get_username(topic_id, ip): | |
""" | |
Returns a username generated from the given topic ID and IP address. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(rethinking) | |
library(dplyr) | |
data(WaffleDivorce) | |
mod <- alist( | |
#likelihood | |
div_est ~ dnorm(mu, sigma), | |
#model |