Skip to content

Instantly share code, notes, and snippets.

View stensonowen's full-sized avatar

Owen Stenson stensonowen

View GitHub Profile
@stensonowen
stensonowen / AudienceVsTomatoes.md
Last active March 29, 2020 04:56
The People vs Tomatoes

Audience Score vs Critic Score

Note about Rotten Tomatoes data

Rotten tomatoes doesn't publish data archives and is stingy with their api keys. The data used here is from kaggle (temporarily mirrored here). It contains some guy's output from scraping rotten tomatoes 5 months ago and has 16,637 movies.

#![allow(unused)]
#![allow(non_snake_case, non_camel_case_types)]
use std::mem::uninitialized;
use std::ops::Sub;
fn sorry<'ll, 've>(know: &'ll have, involved: &'ve ()) -> Result<Vec<()>,()> {
let (What, you, I): (_What, _You, _I) = unsafe { uninitialized() };

Keybase proof

I hereby claim:

  • I am stensonowen on github.
  • I am qjkxkcd (https://keybase.io/qjkxkcd) on keybase.
  • I have a public key ASCQyit-0RQQVQm2-Q4KGrmnj4rWVOPOFXKf3W0LDoCzrwo

To claim this, I am signing this object:

@stensonowen
stensonowen / pageranks_enwiki_feb2017_top10k.csv
Last active March 9, 2017 21:53
Page ranks of the top 10k most popular articles in the English wikipedia dump from February 2017
PAGERANK PAGE_ID ARTICLE_TITLE
0.0022718909 48361 Geographic_coordinate_system
0.0022667498 14919 International_Standard_Book_Number
0.0013034713 25175562 Virtual_International_Authority_File
0.0012681163 3434750 United_States
0.0010439279 8439 Diacritic
0.0010116643 35566739 Integrated_Authority_File
0.0009834685 422994 Digital_object_identifier
0.0008938883 1491462 Library_of_Congress_Control_Number
0.0008014477 30463 Taxonomy_(biology)
@stensonowen
stensonowen / simple_pageranks_sorted.csv
Last active January 9, 2017 03:14
Simple Wiki Page Ranks; First 10k most popular articles
Page ID Page Rank Page Title
219587 0.0054778161 United_States
61894 0.005346734 Multimedia
291 0.002839643 France
207 0.0022175854 Definition
856 0.0020676761 United_Kingdom
2843 0.002039875 English_language
92288 0.0018505127 Geographic_coordinate_system
121 0.0018338665 Country
76831 0.0018230938 International_Standard_Book_Number