Great liter. reviews
http://web.iitd.ac.in/~rrkalaga/pubs/JPT-2015-Prakhar-Rao-Arrival-Prediction-Model.pdf
http://www.sciencedirect.com.ezproxy.macewan.ca/science/article/pii/S0968090X11000155
::::Effective Features http://dl.acm.org.ezproxy.macewan.ca/citation.cfm?id=971432&CFID=896742868&CFTOKEN=48424619
Making vis for schedulers http://dl.acm.org.ezproxy.macewan.ca/citation.cfm?id=1409746&CFID=896742868&CFTOKEN=48424619
Vis for job scheduling, but less pretty http://dl.acm.org.ezproxy.macewan.ca/citation.cfm?id=1808220&CFID=896742868&CFTOKEN=48424619
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* index.js | |
* July 20th 2017 | |
*/ | |
"use strict"; | |
function DataViewObject() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if ! [[ $1 ]]; then | |
exit 1 | |
fi | |
echo "target,factorization,num_factors" | |
for t in `seq 2 $1`; do | |
facts=$(./primes <<< "$t") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Always returns undefined function and does nothing) | |
a=Function.prototype | |
a("hello world") | |
(edited) | |
(Identity function, returns the first argument you give it) | |
a=Function.prototype.call.bind([][Symbol.iterator]().__proto__.__proto__[Symbol.iterator]) | |
a("hello world") === "hello world" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ProxyPromise extends Promise { | |
constructor(...args) { | |
super(...args); | |
return new Proxy(this, { | |
get(target, property, receiver) { | |
if (property in target) { | |
const prop = Reflect.get(target, property, receiver); | |
if (typeof prop === "function") { | |
return prop.bind(target); | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
from sys import argv | |
with open(argv[1]) as f: | |
print(f.read(), end="") | |
try: | |
while True: | |
print(input(), end="") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface EventRegister<T> { | |
event: keyof T, | |
// any used here because ts is picky, doesn't make a difference | |
// may be able to replace with T[keyof T] in future versions | |
callback: {(data: any): void}, | |
once: boolean | |
} | |
/** | |
* Basic callback based publish / subscribe baseclass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Spencer Killen | |
* CMPT 360 | |
* Assignment 3 | |
* Dec 5th 2016 | |
* Library used for applying a file lock after a condition is met | |
*/ | |
#include <sys/inotify.h> | |
#include <aio.h> |