Skip to content

Instantly share code, notes, and snippets.

View sduckett's full-sized avatar
📡

sduckett

📡
  • 19:21 (UTC -06:00)
View GitHub Profile
@sduckett
sduckett / locations.org
Last active August 29, 2015 14:11
interesting places

Interesting Points

Vance’s Cabin

  • UTM: 13S388056E4360100N
  • Decimal Degrees: 39.383129N, -106.299797W
  • Degrees, Minutes, Seconds: 39°22′59.265″N, -106°17′59.265″W

Guanella Pass

  • UTM: 13S438942.4E4383049.3N
  • Decimal Degrees: 39.595E, -105.711112W
  • Degrees Minutes Seconds: 39°35′42″N 105°42′40″W

Second Creek TH

We couldn’t find that file to show.
@sduckett
sduckett / banner-kata.org
Last active August 29, 2015 14:24
Kata: Make your own banner!

Make Your Own Banner

The Problem

A friend is having a baby shower, and you’re helping with organizing the event. You’d like to make a banner, but nothing says it quite right, but you find a Make Your Own Banner kit at the store! This kit contains the alphabet, with each letter occuring n-times, based on the frequency of that letter in English text. Will this kit, what phrases can you create? Will it work for the party?

Data

@sduckett
sduckett / data-scientists.org
Created July 13, 2015 18:32
Notes from coursera videos

What Do Data Scientists Do?

  • Define the question
  • Define the ideal data set
  • What data can you access?
  • Obtain the data
  • Clean the data
  • Exploratory data analysis
  • Statistical Prediction / modeling
  • Interpret results
@sduckett
sduckett / thinking-in-processes.org
Last active August 29, 2015 14:24
Reading: Clojure Applied

This might have come from Clojure Applied

Thinking in Processes

The use of threads, data parallelism with reducers, and task parallelism is for parallelism (of a few tasks), not concurrent threads of execution.

Channels

  • like queues
@sduckett
sduckett / repl-workflow-notes.org
Last active October 14, 2015 16:27
Clojure REPL-Workflow Notes

REPL Workflow notes

Pimp My REPL

Ian Truslove told me about a blog post, Pimp My REPL, and it offers a good starting point. Since it’s a little over a year old, we should check and see if the advice is still accurate, or if some of the tools have changed.

@sduckett
sduckett / async-http.org
Last active August 29, 2015 14:25
Blocking requests vs asynchronous requests: what's the difference?

Asynchronous HTTP with core.async

What happens if we have a function like http/get in a go-block?

(defn fetch-target []
  (let [url (server-url :target)]
    (:body (http/get url))))
@sduckett
sduckett / as-we-may-think.org
Created July 28, 2015 18:00
Interesting parts of "As We May Think"

As We May Think

An essay by Vannevar Bush, from the July 1945 issue of The Atlantic

On automating an established idea

“The repetitive processes of thought are not confined however, to matters of arithmetic and statistics. In fact, every time one combines and records facts in accordance with established logical process, the creative aspect of thinking is concerned only with the selection of the data and the process to be employed and

@sduckett
sduckett / code-reading.org
Created July 28, 2015 18:16
Thoughts on Code Reading

Thoughts on Code Reading

Goals

The goals of reading code, especially in a small library, include:

  • figuring out what the library does,
  • observing the structure of the library,

A Collection of Small Libraries

@sduckett
sduckett / gist:327cd9894894cce5c10c
Created July 30, 2015 18:53
Markdown is not much of a CLI tool
┌[smd@amdi] [/dev/pts/2] [gh-pages ⚡]
└[~/clojurebridge/curriculum/outline]> markdown --help
Can't open --help: No such file or directory at /usr/bin/markdown line 218.
Use of uninitialized value $text in substitution (s///) at /usr/bin/markdown line 245.
Use of uninitialized value $text in substitution (s///) at /usr/bin/markdown line 246.