Skip to content

Instantly share code, notes, and snippets.

View wuputah's full-sized avatar
🐘

Jonathan Dance (JD) wuputah

🐘
View GitHub Profile

Hydra Performance Microbenchmark

Important: This microbenchmark is not intended to represent any real workload. Compression ratios, and therefore performance, will depend heavily on the specific workload. This is only for the purpose of illustrating a "columnar friendly" contrived workload that showcases the benefits of columnar.

Schema

# confirm you can access the internet
if [[ ! $(curl -Is http://www.google.com/ | head -n 1) =~ "200 OK" ]]; then
echo "Your Internet seems broken. Press Ctrl-C to abort or enter to continue."
read
fi
# make 2 partitions on the disk.
parted -s /dev/sda mktable msdos
parted -s /dev/sda mkpart primary 0% 100m
parted -s /dev/sda mkpart primary 100m 100%
C:\windows\system32>bcdedit
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=S:
path \bootmgr
description Windows Boot Manager
locale en-US
inherit {globalsettings}

Your Vision

What is a vision?

Your vision answers the question "What do I want?" A clear vision help you communicate why you're here and what impact you're going to have.

Your vision should be aligned with the company vision, with your manager's V2MOM, and it should be personal. It should be an honest reflection of your own vision for your own work.

If you manage a team, it should be reflective of the purpose of the team and your collective impact.

The Culture Clash, Jean Donaldson

(2005, 2nd ed.)

Jean is a pioneer in her field, and this book is her magnum opus. Truly groundbreaking work. Must read. However, the book is best read cover-to-cover and makes a poor reference, until the last chapter where Jean spells out step-by-step training guides. That said, Jean's focus is on training and less on the immediate concerns you will have when you get a puppy, and while it certainly covers socialization, housebreaking and initial concerns about your first days with your pup are not emphasized. However, some of the socialization suggestions are unrealistic for those of us who are not so extroverted.

Train Your Dog Like a Pro, Jean Donaldson

(2010)

require 'thread'
def QPromise(*args, &block)
QPromise.new(*args, &block)
end
class QPromise < BasicObject
# Allows you to change the defaults, e.g.:
# QPromise.config[:thread_limit] = 100
require 'my_bouncer'
require 'my_app'
use MyBouncer
run MyApp
MAX_CP = 750
scaling_factor = MAX_CP ** 0.995
xp = ->(level) { ((level / scaling_factor) + 0.085) * 400_000 }
for i in 10..MAX_CP
puts "#{i}: #{xp.(i).round}"
end
// ==UserScript==
// @name iRacing adblock
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Disable advertising in the background on the iRacing member site.
// @match http://members.iracing.com/membersite/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js
// @grant none
// ==/UserScript==
(function($) {
### Keybase proof
I hereby claim:
* I am wuputah on github.
* I am wuputah (https://keybase.io/wuputah) on keybase.
* I have a public key ASCcjtRJCYv4DOgWdL6vLPD79Jp2eADuT0ubzbMpPM0l9wo
To claim this, I am signing this object: