Skip to content

Instantly share code, notes, and snippets.


Philip (flip) Kromer mrflip

View GitHub Profile
mrflip / tuning_storm_trident.asciidoc
Last active Jul 25, 2021
Notes on Storm+Trident tuning
View tuning_storm_trident.asciidoc

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
mrflip /
Last active Jun 23, 2021
Elasticsearch Tuning Plan

Next Steps

  • Measure time spend on index, flush, refresh, merge, query, etc. (TD - done)
  • Take hot threads snapshots under read+write, read-only, write-only (TD - done)
  • Adjust refresh time to 10s (from 1s) and see how load changes (TD)
  • Measure time of a rolling restart doing disable_flush and disable_recovery (TD)
  • Specify routing on query -- make it choose same node for each shard each time (MD)
  • GC new generation size (TD)
  • Warmers
    • measure before/after of client query time with and without warmers (MD)
View elasticsearch.yml
# ElasticSearch config file
# There's no call to see the full current config, but
# modules dump their config variables on startup
mrflip / Ancient Greek
Last active Oct 5, 2020
Ancient Greek Geometry walkthrough / answers / cheats
View Ancient Greek
mrflip / Tao Te
Last active Sep 14, 2020
Tao Te Chimp: Repeatable Decision Principles for Startups
View Tao Te

Tao Te Chimp

Here are some repeatable catchphrases that I’ve learned help startups make decisions. I’d love your feedback on what to add to the list, or what didn’t make any sense.

I mentor in alternate Mondays on the 16th floor at Capital Factory, and I’m glad to set up alternate times if that doesn’t work. Feel free to share this list with others.

Every startup founder should read Running Lean and most of Jason Cohen's Blog. More recommended books are below.

Fundamental Law of Startups

mrflip /
Created Mar 19, 2012
maximum battery life checklist -- use before a long plane flight

Max Battery Life Checklist

Here is a checklist to follow if you want maximum battery life -- for instance if you're about to get on a long plane flight.

10 hour battery life on a non-SSD Macbook Pro 17"

Low power use checklist

With power connected:

mrflip / .gitignore
Last active Jul 1, 2020
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.
View .gitignore
View package.json
"main": "node_modules/expo/AppEntry.js",
"version": "0.0.3",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject",
"test": "jest --watchAll",
View Pokemon for Trade by

Pokes for trade from MrflipMrflip


I don’t super care about shinies, so I'd be happiest with a trade that improves my raid team while either filling a hole in your pokedex or improving your team. Please let me know what shiny/legacy/legendaries/L1’s you hoping to acquire/improve -- but I would strongly prefer not do a 40k trade (see bottom for which trades those are).

For casual players: If you don't have much in your pokedex, I would like to help improve it and do not need you to improve mine. I can offer the following:

  • L20 Dragonite, Bite Tyranitar, Machamp, Lick Gengar
  • Carnivine, Heracross, Farfetch'd, Safari/Santa Pika, Flower eevee, happiny, budew, bonsly, other hard-to-find.
mrflip / gist:766608
Created Jan 5, 2011
Elasticsearch shell config
We couldn’t find that file to show.