Skip to content

Instantly share code, notes, and snippets.

View AndyMoreland's full-sized avatar

Andrew Moreland AndyMoreland

View GitHub Profile
Thread 73 (Thread 0x7ac1a62bc6c0 (LWP 1808) "telemetry-cpu15"):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ac4815f37af in ?? () from /chalk_root/.venv/lib/python3.11/site-packages/libchalk.cpython-311-x86_64-linux-gnu.so
#2 0x00007ac48164282c in ?? () from /chalk_root/.venv/lib/python3.11/site-packages/libchalk.cpython-311-x86_64-linux-gnu.so
#3 0x00007ac474294fb1 in ?? () from /chalk_root/.venv/lib/python3.11/site-packages/libchalk.cpython-311-x86_64-linux-gnu.so
#4 0x00007ac47428c401 in ?? () from /chalk_root/.venv/lib/python3.11/site-packages/libchalk.cpython-311-x86_64-linux-gnu.so
#5 0x00007ac48165deac in ?? () from /chalk_root/.venv/lib/python3.11/site-packages/libchalk.cpython-311-x86_64-linux-gnu.so
#6 0x00007ac47419b393 in ?? () from /chalk_root/.venv/lib/python3.11/site-packages/libchalk.cpython-311-x86_64-linux-gnu.so
#7 0x00007ac48163b1ff in ?? () from /chalk_root/.venv/lib/python3.11/site-packages/libchalk.cpython-311-x86_64-linux-gnu.so

Keybase proof

I hereby claim:

  • I am andymoreland on github.
  • I am andymoreland (https://keybase.io/andymoreland) on keybase.
  • I have a public key ASCa2VlKr2QStLgs-6Yv1RS2eE1HBpM0okzaqzrnSHKa2go

To claim this, I am signing this object:

@AndyMoreland
AndyMoreland / init.el
Created December 21, 2015 23:53
Typescript compiler error regexp for emacs M-x compile
(add-hook 'typescript-mode-hook
(lambda ()
(add-to-list 'compilation-error-regexp-alist
'("^\\([_.[:alnum:]-/]*.ts\\)(\\([[:digit:]]+\\),\\([[:digit:]]+\\)).*$" 1 2 3))))
<html>
<head>
<style>
#container {
overflow-y: scroll;
overflow-x: hidden;
width: 100px;
height: 100px;
}
</style>
High Level: Log structured file system with RAM pointers into the log. Can reconstruct the RAM table by reading the log.
Arguing that power consumption will increase and that flash will get cheaper faster than CPU/DRAM.
* Naively, we need 1 watt of cooling for 1 watt of computation.
* They optimize for small-object random access workloads.
** Since it's small-objects and random access disk seeks suck.
* Can't use RAM because RAM is expensive and also power hungry.
* Flash pages are much larger
-object random access workloads.
** Since it's small-objects and random access disk seeks suck.
* Can't use RAM because RAM is expensive and also power hungry.
* Flash pages are much larger
* Flash translation layer is weird
* Flash failure model is optimistic
* Logs can be pre-deleted ahead of time so that writes are faster
load ~/Downloads/q1x.dat
load ~/Downloads/q1y.dat
hold off
%scatter(q1x, q1y)
hold on
X = [ones(length(q1x), 1), q1x];
Y = q1y;
_ = require 'underscore'
Query = require '../../models/query'
# Intended to compute various properties about a report model
# This should keep view logic out of the model, hopefully.
module.exports =
class ReportPresenter extends window.Backbone.Model
@AxisProvider: null
module.exports =
class LineView extends VisualizationView
tagName: 'div'
_renderToContext: (context) =>
@_drawLines context, @reportPresenter.getLineData()
_drawLines: (context, data) ->
x = @axisProvider.getXScale(@renderBounds)
y = @axisProvider.getYScale(@renderBounds)
r *)(&eps + 2));
printf("%#4x\n", *(char *)(&eps + 3));
return foo(2)
}