Skip to content

Instantly share code, notes, and snippets.

@marshallpierce
marshallpierce / temporenc.md
Last active February 2, 2017 01:20
Temporenc alternate encoding

Date

temporenc v1:

100YYYYY YYYYYYYM MMMDDDDD

lifthrasiir v1:

YYYYYYYY YYYYMMMM DDDDD111

@marshallpierce
marshallpierce / benchmarks.md
Last active January 13, 2017 18:41
base64 benchmarks
@marshallpierce
marshallpierce / ansible bug.md
Last active July 21, 2016 22:13
Ansible unarchive bug report
ISSUE TYPE
  • Bug Report
COMPONENT NAME

unarchive

ANSIBLE VERSION
ansible 2.1.0.0
  config file = /path/to/ansible.cfg
@marshallpierce
marshallpierce / gist:9e22df2be9c9f42ab875
Last active August 29, 2015 14:12
HdrHistogramReservoir concurrent write IndexOutOfBoundsException
Reproducible with https://bitbucket.org/marshallpierce/hdrhistogram-metrics-reservoir @ 1b9d9bc with './gradlew jmh'
# VM invoker: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/bin/java
# VM options: -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant
# Warmup: 20 iterations, 1 s each
# Measurement: 20 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 3 threads, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoirJmh.readWhileRecording

Keybase proof

I hereby claim:

  • I am marshallpierce on github.
  • I am marshallpierce (https://keybase.io/marshallpierce) on keybase.
  • I have a public key whose fingerprint is 9FBA EF9A E02A CAFE 27ED A945 D8DA AC38 DD8B 205F

To claim this, I am signing this object:

@marshallpierce
marshallpierce / gist:8908163
Last active August 29, 2015 13:56
Odd line wrapping on embedded groovy shell
Groovy Shell (2.2.1, JVM: 1.8.0)
Type 'help' or '\h' for help.
-------------------
------------------------------------------------------------
groovy:000>
groovy:0
00>