I hereby claim:
- I am zeebo on github.
- I am zeebo (https://keybase.io/zeebo) on keybase.
- I have a public key ASCCU1slf2yDJwXCMKGl1LDJXdMO1PPuxFk1uFbANWcVygo
To claim this, I am signing this object:
| package monketor | |
| import ( | |
| "debug/dwarf" | |
| "debug/elf" | |
| "encoding/binary" | |
| "fmt" | |
| "os" | |
| "reflect" | |
| "sort" |
| diff --git src/strconv/atoi.go src/strconv/atoi.go | |
| index 631b487d97..916d60e60a 100644 | |
| --- src/strconv/atoi.go | |
| +++ src/strconv/atoi.go | |
| @@ -33,20 +33,22 @@ func (e *NumError) Error() string { | |
| func (e *NumError) Unwrap() error { return e.Err } | |
| +func copyString(x string) string { return string([]byte(x)) } | |
| + |
| package buffer | |
| import ( | |
| "errors" | |
| "os" | |
| "unsafe" | |
| ) | |
| const ( | |
| entrySize = 32 // or maybe 28? |
| package drpcws | |
| import ( | |
| "context" | |
| "net/http" | |
| "sync" | |
| "github.com/gobwas/ws" | |
| "github.com/gobwas/ws/wsutil" | |
| "github.com/zeebo/errs" |
| import inspect | |
| import sys | |
| import time | |
| import traceback | |
| def objects(x): | |
| return (getattr(x, n) for n in dir(x)) | |
| nothing 50: 11ns 75: 12ns 90: 13ns 99: 22ns 99.9: 169ns 99.99: 253ns 99.999: 15487ns 99.9999: 24362ns |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "html/template" | |
| "path/filepath" | |
| "sync" | |
| ) | |
| // i like this inline struct style thing. it's fun. | |
| var cachedTemplates = struct { |
| class HiddenImpl(object): | |
| def __getattribute__(self, attr): | |
| if attr == "__call__": | |
| self.ref = Welp() | |
| return self.ref | |
| return object.__getattribute__(self, attr) | |
| __getattr__ = __getattribute__ | |
| def __setattribute__(self, attr, value): | |
| if attr not in ["__getattr__", "__getattribute__", | |
| "__setattr__", "__setattribute__", |