Skip to content

Instantly share code, notes, and snippets.

file = File.open('2021powerstatus.txt');nil
data = file.read;nil
data.length
data.split("\n").select{|x| x.include? "Diablo"}.count
raw_data = {"Diablo Canyon 2" => [], "Diablo Canyon 1" => []}
dc_analysis = data.split("\n").select{|x| x.include? "Diablo"};nil
dc_analysis = dc_analysis.reverse;nil

PART 1: Oil Argument Starts and Dave Makes Wildly Ridiculous Claims With No Backing

it all started with Roger sharing an article on Saudi oil production cuts and Dave said "that could hurt the economy a lot" which triggered me arguing that shale production would keep increasing as prices increased which would keep a lid on oil prices.

Dave: Shale is more expensive tho. Any less supply means higher prices"

Jason: shales price isn't above the current price so they keep producing more as prices go up they are already profitable on each barrel

[["12-Gauge Comics", 1], ["Almadraba Editorial", 1], ["Ballantine Group", 1], ["Blue Hen", 1], ["Delacorte Pubns Inc", 1], ["Delta; Oprah's Book Club edition", 1], ["Editorial Kattigara", 1], ["Educational Game Books/Anti-Aging Press, Inc.", 1], ["Entangled Teen", 1], ["Farrar, Strauss & Giroux", 1], ["HarperCollins e-books; 256 edition", 1], ["HarperCollins e-books; Ecco edition", 1], ["Kensington Publishing Corp", 1], ["Musa Publishing", 1], ["PSS Juvenile", 1], ["Random House; 1st Unabridged edition", 1], ["REprints", 1], ["Roca Juvenil", 1], ["Simon & Schuster Books for Young Readers; 1 Reprint edition", 1], ["Simon & Schuster Books For Young Readers; 1st Simon Pulse Ed edition", 1], ["Simon Pulse/Mercury Ink; 1 edition", 1], ["Vanguard Management", 1], ["Ballantine Books; 1st Ballantine Books Domestic Ed edition", 2], ["Carpe Luna, Ltd.", 2], ["Crimeline; Revised edition", 2], ["Delacorte Press; Tra edition", 2], ["Dell; Dell Mass Market ed edition", 2], ["Dutton Children's", 2], ["Editorial La Tuerca",