Instantly share code, notes, and snippets.

View SketchSystems.spec
Propane
Idle*
configure -> Configuring
help -> Help
error -> Logging Error
Configuring
Updating Packages
finished -> Configuring Certificates
failed -> Logging Error
Configuring Certificates
View SketchSystems.spec
SK Action
Listening*
receive message -> Handling Message
Handling Message
Contractify*
passed contract -> Processing
failed contract -> Queue Error
Processing
finished -> Emitting Response
Queue Error
View SketchSystems.spec
Skyline Action
Listening
receive message -> Processing
Processing
finished processing -> Emitting
Emitting
finished emitting -> Tracing
Tracing
finished tracing -> Listening
View hello_world.mzn
int: nt = 10;
var 1..nt: solution;
constraint solution < nt;
solve satisfy;
output ["solution = ", show(solution)];
View mix.exs
defmodule Ot.Mixfile do
use Mix.Project
def project do
[app: :ot,
version: "0.1.0",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps()]
View keybase.md

Keybase proof

I hereby claim:

  • I am yonkeltron on github.
  • I am yonkeltron (https://keybase.io/yonkeltron) on keybase.
  • I have a public key whose fingerprint is E4A0 88EA 4F96 67B4 BA02 E188 3B52 3876 5C66 9F7B

To claim this, I am signing this object:

View 01.configure
checking build system type... x86_64-apple-darwin13.1.0
checking host system type... x86_64-apple-darwin13.1.0
loading site script './config.site'
loading build-specific script './config.site'
checking for pwd... /bin/pwd
checking whether builddir is srcdir... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
View Benchmark Results
n = 50000
Rehearsal ----------------------------------------------
vanilla 2.980000 0.940000 3.920000 ( 4.703619)
pipelined 0.820000 0.160000 0.980000 ( 0.976310)
hmapped 0.160000 0.000000 0.160000 ( 0.228029)
------------------------------------- total: 5.060000sec
user system total real
vanilla 3.000000 0.940000 3.940000 ( 4.718813)
pipelined 0.800000 0.140000 0.940000 ( 0.945136)
View README.md

Backstory

While tailing the logs for a Rails app running on Heroku, I noticed some funky entries which showed up. While these frightened me at first, some fine Herokoid data engineers assured me that my PostgreSQL database hadn't suffered trauma but was showing off the Heroku Postgres metrics logs feature.

To aid in the digestion of this neato data, I've taken the liberty of

View actor.js
var _ = require('underscore')._,
events = require('events');
var Actor = function Actor(object) {
var postman = new events.EventEmitter(),
mailbox = [],
that = this,
monitor = function monitor() {
var data = mailbox.shift();
if (data) {