- Types of programs: Side-effect-y (mkdir, touch) vs Function-y (cat, grep, wc) -- Produce output
- Basic Unix "contract": Take in text stream and output text stream
- Somewhat janky but works fairly well
head
- show me first lines of a file
Compiling accumulators.core | |
log4j:WARN No appenders could be found for logger (accumulators.core). | |
log4j:WARN Please initialize the log4j system properly. | |
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. | |
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties | |
17/10/16 14:28:30 INFO SparkContext: Running Spark version 2.1.0 | |
17/10/16 14:28:30 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable | |
17/10/16 14:28:30 INFO SecurityManager: Changing view acls to: horace | |
17/10/16 14:28:30 INFO SecurityManager: Changing modify acls to: horace | |
17/10/16 14:28:30 INFO SecurityManager: Changing view acls groups to: |
(ns snake-quil.core | |
(:require [quil.core :as q :include-macros true] | |
[quil.middleware :as m])) | |
(enable-console-print!) | |
(defn setup [] | |
(q/frame-rate 60) | |
(q/color-mode :hsb) | |
{:color 0 |
name | address_1 | miles_from_laci | |
-----------------------------------------------------------+---------------------------------------+------------------ | |
Youth Green Community Garden | 12467 W. Osborne Street | 17.8526752533434 | |
Eagle Rockdale Community Garden and Art Park | 1003 Rockdale Avenue | 6.99298846428767 | |
Milagro Allegro Community Garden | 111 S Ave 56 | 5.28154294629922 | |
Glassell Park Community Garden | 3305 Drew Street | 5.50435772214898 | |
Elysian Valley Community Garden | 1816 W Blake Avenue | 3.93094291476127 | |
Fountain Community Gardens | 5620 Fountain Avenue | 5.73078542701499 | |
Mansfield Fountain Community Garden | 1259 N Mansfield |