I hereby claim:
- I am mrmekon on github.
- I am mrmekon (https://keybase.io/mrmekon) on keybase.
- I have a public key whose fingerprint is 2685 83B6 4786 F50F 8074 56DA 8CED 3A80 D41C 0DCB
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // | |
| // main.m | |
| // fp_profiler | |
| // | |
| // Compares the performance of fixed-point vs floating-point for simple | |
| // "particle engine" movement loops. | |
| // | |
| // Optimized for iPhone 5 (Apple A6 / ARMv7) | |
| // | |
| // Created by Trevor Bentley on 5/29/13. |
| #!/usr/bin/env python | |
| import string | |
| import random | |
| import sys | |
| import pickle | |
| f = open("employee_review_corpus.txt", "r") | |
| contents = f.read() | |
| f.close() |
| import sys | |
| import os | |
| import numpy | |
| import random | |
| import string | |
| import matplotlib.pyplot as plt | |
| #data = numpy.random.bytes(10000000) | |
| data = [random.choice(string.printable) for x in xrange(1000000)] | |
| #data = numpy.random.bytes(100) |
| import urllib2 | |
| from xml.etree.ElementTree import XMLParser | |
| import numpy | |
| class DepthCounter: | |
| depthdict = {} | |
| def __init__(self): | |
| self.classdepth = 0 | |
| self.depth = 0 | |
| self.depthdict = {} |
| (ns com.trevorbentley.cancelMessages | |
| (:require [http.async.client :as client] | |
| [cheshire.core :as cheshire])) | |
| (def host (if (> (count *command-line-args*) 0) | |
| (first *command-line-args*) | |
| "localhost")) | |
| (def cancelUrl (str "http://" host ":9090/cancelMessage")) | |
| (def activeUrl (str "http://" host ":9090/activeMessages")) |
| all: default run | |
| default: | |
| msp430-gcc -I/usr/local/msp430-gcc-4.4.3/msp430/include/ captouch.c -save-temps -mendup-at=main -mmcu=msp430x2111 -Os | |
| run: | |
| mspdebug rf2500 "prog a.out" | |
| dump: | |
| mspdebug rf2500 "md 0x1000 256" |
| all: default run | |
| default: | |
| msp430-gcc -I/usr/local/msp430-gcc-4.4.3//msp430/include/ ldpump_tester.c -save-temps -mendup-at=main -mmcu=msp430x2111 -Os | |
| run: | |
| mspdebug rf2500 "prog a.out" | |
| dump: | |
| mspdebug rf2500 "md 0x1000 256" |
| all: default run | |
| default: | |
| msp430-gcc -I/usr/local/msp430-gcc-4.4.3/msp430/include/ captouch.c -save-temps -mendup-at=main -mmcu=msp430x2111 -Os | |
| run: | |
| mspdebug rf2500 "prog a.out" | |
| dump: | |
| mspdebug rf2500 "md 0x1000 256" |