Publications by max humber
HSX Arbitrage
TL;DR: I wrote a web scraper to help me make fake money. I’ve been playing around with an online marketplace called the “Hollywood Stock Exchange” for a couple of months now. The website is basically “fantasy” for actors, directors and upcoming movies but it functions pretty much exactly like a stock market. In simple terms here’s how...
3477 sym R (5102 sym/10 pcs) 2 img
Goodreads API with R
It’s December 23rd and I’ve only read 49 books. Whoops. There’s still time, but it’s definitely getting dicey. I’m about halfway through three books right now so I think I’ll be able to pull it off. Fingers crossed. Of course, last year I did 52 books in 52 weeks and remember sitting pretty just before Christmas. As I’ve been loggin...
1761 sym R (1859 sym/4 pcs) 2 img
Kindle clippings.txt with R
I highlight a lot of junk on my Kindle. Well, it’s not all junk! ? There’s usually some good stuff buried deep within my clippings.txt file. But it’s hard to manually parse through the file (and the junk). In the past I’ve relied on online tools to organize my clippings. But this year, I thought I’d try and build my script to manage and...
1018 sym R (1902 sym/1 pcs)
Kindle Clippings
I highlight a lot of junk on my Kindle. Well, it’s not all junk! ? There’s usually some good stuff buried deep within my clippings.txt file. But it’s hard to manually parse through the file (and the junk). In the past I’ve relied on online tools to organize my clippings. But this year, I thought I’d try and build my script to manage and...
1019 sym R (1966 sym/1 pcs)
Goodreads API
It’s December 23rd and I’ve only read 49 books. Whoops. There’s still time, but it’s definitely getting dicey. I’m about halfway through three books right now so I think I’ll be able to pull it off. Fingers crossed. Of course, last year I did 52 books in 52 weeks and remember sitting pretty just before Christmas. As I’ve been loggin...
1765 sym R (1909 sym/4 pcs) 2 img
Fantasy Hockey with R
rvest and purrr are wonderful bedfellows. The packages share the underlying tidyverse API. And it feels simple and almost natural to combine them when scraping the web. Here is a slimmed down and worked recipe of how to leverage rvest and purrr in Fantasy Hockey. Step 0. Load packages. library(tidyverse) library(rvest) library(purrr) library(str...
2036 sym R (2146 sym/6 pcs) 2 img
Fantasy Hockey with rvest and purrr
rvest and purrr are wonderful bedfellows. The packages share the underlying tidyverse API. And it feels simple and almost natural to combine them when scraping the web. Here is a slimmed down and worked recipe of how to leverage rvest and purrr in Fantasy Hockey. Step 0. Load packages. library(tidyverse) library(rvest) library(purrr) libr...
2082 sym R (2335 sym/6 pcs) 2 img
Candlesticks repurposed
My cousin Eli is way cooler than me. Well, to be fair, I don’t exactly set a high bar! Eli is a skydiving enthusiast with over 200 jumps to his name. And I read books and write nonsense like this… Eli is meticulous about collecting metadata from each of his jumps. Just a glance at his logbook and you can tell there’s something interesting h...
2602 sym R (729 sym/1 pcs) 6 img
Repurposing the Candlestick Chart
My cousin Eli is way cooler than me. Well, to be fair, I don’t exactly set a high bar! Eli is a skydiving enthusiast with over 200 jumps to his name. And I read books and write nonsense like this… Eli is meticulous about collecting metadata from each of his jumps. Just a glance at his logbook and you can tell there’s something interesting h...
2684 sym R (737 sym/1 pcs) 6 img
Visualizing "The Best"
How do you measure “The Best”? It’s not immediately clear. Because, “The Best” is incredibly vague and subjective. My “Best” is not the same as your “Best”. And our “Best”s can converge and diverge depending on what we are measuring and how we measure it. I think “The Best” is often the wrong question. Usually when we’...
4381 sym R (4921 sym/7 pcs) 12 img