Skip to content

Instantly share code, notes, and snippets.

@colinmegill
colinmegill / Top 25 Science Fiction Books.md
Created May 20, 2022 07:09 — forked from gkhays/Top 25 Science Fiction Books.md
Picks for the top 25 science fiction books

The Best 25 Science Fiction Ever Written

(Updated January 2016)

  • Dune, by Frank Herbert
  • The Book of the New Sun, by Gene Wolfe
  • The Moon is a Harsh Mistress, by Robert A. Heinlein
  • The Dispossessed, by Ursula K Le Guin
  • Hyperion, by Dan Simmons
  • Neuromancer, by William Gibson
  • The Stars My Destination, by Alfred Bester
Sex Year Age People
1 1900 0 4619544
1 2000 0 9735380
1 1900 5 4465783
1 2000 5 10552146
1 1900 10 4057669
1 2000 10 10563233
1 1900 15 3774846
1 2000 15 10237419
1 1900 20 3694038
@colinmegill
colinmegill / jan-eleven.jsx
Created January 12, 2022 06:32
UW INFO474 January 11, 2022
import { scaleLinear, scaleBand, extent, line } from "d3";
import { useState } from "react";
import logo from "./logo.svg";
function App() {
const [count, setCount] = useState(0);
const user = { name: "Colin", city: "Seattle" };
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@colinmegill
colinmegill / us-states-pop-2012-2016.csv
Last active September 27, 2020 04:30
Population US States 2012 & 2016
State 2012 2016
Alabama 4,815,960 4,863,300
Alaska 731,089 741,894
Arizona 6,549,634 6,931,071
Arkansas 2,950,685 2,988,248
California 38,011,074 39,250,017
Colorado 5,189,867 5,540,545
Connecticut 3,593,795 3,576,452
Delaware 916,993 952,065
Florida 19,344,156 20,612,439
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@colinmegill
colinmegill / gist:7714eb0962573346b210aa989e14dadf
Last active July 20, 2020 01:17
Testing GPT-3 on Bowling Green polis conversation data for topic extraction
PROMPT
"Comment: Better visibility on roads. Reflectors and better signage\nTopics: transportation, infrastructure, public safety\n\nComment: Both school districts shamefully manipulate low economic status parents to gain Title I funding. It should stop.\nTopics: education, schools, poverty\n\nComment: Solving the drug crisis should not mean people with health problems/injuries have to suffer with severe pain.\nTopics: opiods, drugs, medicine\nComment: " +
OUTPUT
-----------------
Topics: [ ' transportation', ' infrastructure\n\n' ]
Smallhouse Rd (at Campbell Ln) heading into town needs to be widened to have room for three lanes (left turn, straight, right turn).
LatD LatM LatS NS LonD LonM LonS EW City State
41 5 59 N 80 39 0 W Youngstown OH
42 52 48 N 97 23 23 W Yankton SD
46 35 59 N 120 30 36 W Yakima WA
42 16 12 N 71 48 0 W Worcester MA
43 37 48 N 89 46 11 W Wisconsin Dells WI
36 5 59 N 80 15 0 W Winston-Salem NC
49 52 48 N 97 9 0 W Winnipeg MB
39 11 23 N 78 9 36 W Winchester VA
34 14 24 N 77 55 11 W Wilmington NC
We couldn’t find that file to show.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.