Skip to content

Instantly share code, notes, and snippets.

View mrflip's full-sized avatar

Philip (flip) Kromer mrflip

View GitHub Profile
@mrflip
mrflip / 2017 RSS Christmas Quiz.md
Last active January 6, 2018 16:31
Solutions by my brother Matt, my mom and me for the 2017 RSS Christmas quiz

RSS 2017 Christmas Quiz

1.  …GO!  [10 points]

  • All are named Aloysius
  • All are surnamed Parker
  • Lady Penelope’s FAB 1, 2, 3 in “Thunderbirds are Go!” (featuring her chauffeur Aloysius Parker)

(a) What connects the following?

  • Aloysius Snufflupagus, Big Bird’s bestie from Sesame Street — A shaggy brown creature with a tall, yellow friend
  • Chief Aloysius of the Santa Rosa PD in It’s a Mad, Mad, Mad, Mad World — Chief of the ‘SRPD’ in a comedy whose title contains a quadruple repeat
@mrflip
mrflip / Ancient Greek Geometry.md
Last active August 23, 2023 13:28
Ancient Greek Geometry walkthrough / answers / cheats
@mrflip
mrflip / README.md
Last active August 29, 2015 14:15
Single-node Hadoop cluster

In the below, we'll use the following to track the version of the image you'll use

dv=1

Launching image

docker run -it --name hadoop_local -u chimpy -w /home/chimpy -e HOME=/home/chimpy -e TERM="$TERM" "bd4c/hadoop_local:v1.$dv" /bin/bash -l
@mrflip
mrflip / .gitignore
Last active July 1, 2020 21:34
A list of words. The following are not in this list, because they are not words: TWL, TWL2014, OSPD, OSPD5, OWL3, OTCWL2014, or OTCWL. OWL is a word, and so it is in this list.
*.tsv
*.html
reqs/*.json
Gemfile.lock
@mrflip
mrflip / Gemfile
Last active August 29, 2015 14:10
Spike of a Roomie Remote API
source 'https://rubygems.org'
gem 'gorillib', "~> 0.6"
gem 'pry', "~> 0.10"
gem 'multi_json', ">= 1.1"
gem 'crack'
gem 'erubis'
@mrflip
mrflip / README.md
Last active August 29, 2015 14:10
Roomie Remote Image Remotes borken

I am trying to make a custom image remote. Roomie crashes even on a trivial modification to the DDK example.

I've tried a whole lot of things, but here I'll describe the most minimal test case I can conceive.

First, I reset my enviroment back to zero:

  • I first reset my configuration
  • Disabled Dropbox polling and Wifi sync
  • Removed ~/Dropbox/Roomie
sudo -u hdfs hadoop fs -mkdir -p \
/tmp /tmp/mapred/system \
/user/root /user/chimpy \
$HADOOP_LOG_DIR/yarn-apps \
$HADOOP_BULK_DIR/yarn-staging/history/done_intermediate \
/var/lib/hadoop-hdfs/cache/mapred/mapred/staging \
/user/hive/warehouse
sudo -u hdfs hadoop fs -chmod -R 1777 \
/tmp /tmp/mapred/system \
@mrflip
mrflip / gist:e3f3999af39bb9986475
Created November 19, 2014 12:19
smeared_lipstick.txt
14/11/19 10:08:12 INFO listeners.LipstickPPNL: --- Init TBPPNL ---
2014-11-19 10:08:12,865 [main] INFO com.netflix.lipstick.Main - build version: 0.6-SNAPSHOT, ts: 2014-11-19T09:02Z, git: 6324e130b4df844930f33cc7fb08aed94d07e76e
2014-11-19 10:08:12,865 [main] INFO com.netflix.lipstick.Main - Logging error messages to: /home/chimpy/book/code/pig_1416391692863.log
2014-11-19 10:08:13,245 [main] INFO org.apache.pig.impl.util.Utils - Default bootup file /home/chimpy/.pigbootup not found
2014-11-19 10:08:13,740 [main] INFO org.apache.hadoop.conf.Configuration.deprecation - fs.default.name is deprecated. Instead, use fs.defaultFS
2014-11-19 10:08:13,741 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: hdfs://nn:8020
2014-11-19 10:08:14,215 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to map-reduce job tracker at: jt:8021
2014-11-19 10:08:14,273 [main] INFO org.apache.hadoop.conf.Configuration.deprecati
@mrflip
mrflip / 2014 TED w Friday.md
Last active December 24, 2016 03:10
Notes from the 2014 TED conference

TED 2014 Friday

Friday mid-Morning: Onward (final session)

Andrew Solomon, author

  • Reports on experience of people in extreme circumstances
  • Avoidance and Endurance
  • Take traumas and make them part of who you'll be
  • Mother of a child due to rape: I think of him (rapist) with pity -- he has a beautiful daughter he doesn't know, and I do, and so I’m the lucky one
@mrflip
mrflip / tuning_storm_trident.asciidoc
Last active May 27, 2022 23:59
Notes on Storm+Trident tuning

Tuning Storm+Trident

Tuning a dataflow system is easy:

The First Rule of Dataflow Tuning:
* Ensure each stage is always ready to accept records, and
* Deliver each processed record promptly to its destination