Skip to content

Instantly share code, notes, and snippets.

View eraserhd's full-sized avatar

Jason Felice eraserhd

View GitHub Profile

I really like and support this ADR, and want this to work. The SSM Parameter Store seems like a solid solution that integrates well with our tech stack.

On a procedural note, I'm worried that we are making these decisions without considering the migration cost. In the software indstry, I've very frequently experienced this pattern:

Time index Organizational mood
1 B is better and easier to maintain than A, so we will move to B
2-50 Implement B
51-60 Migrate a few easy systems, as a test bed
Time index Organizational gestalt
1 B is better and easier to maintain than A, so we will move to B
2-99 Implement B
100 (Pareto's) 80% of systems migrated to use B. The easiest systems are chosen first, as test bed, and the most often used systems are chosen next.
101 Organizational analysis of remaining systems indicates it isn't worth migrating - some of the systems are "going away", and any way Product is putting pressure on us to deliver customer-facing value and it is very hard to explain the value of what is affectionately known as "the second 80% of the project"
101+ Organization maintains A and B indefinitely, increasing costs, the fragility of the system, and defeating the original purpose of the project.
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x)))
(2 1)
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x)))
*** ERROR IN #<procedure #6> -- amb: [amb-completion] amb exhausted
1> ,t
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x)))
(1 2)
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x)))
(1 2)
> (begin-amb (let (x (amb 0 1 2)) (required (not (= 0 x))) (amb-collect x)))
define-command enable-search-highlight %{ try %{ add-highlighter global/search-highlight dynregex '%reg{/}' 0:default,red } }
define-command disable-search-highlight %{ try %{ remove-highlighter global/search-highlight } }
map global normal / ': enable-search-highlight<ret>/'
map global normal ? ': enable-search-highlight<ret>?'
map global normal <a-/> ': enable-search-highlight<ret><a-/>'
map global normal <a-?> ': enable-search-highlight<ret><a-?>'
map global normal n ': enable-search-highlight<ret>n'
map global normal N ': enable-search-highlight<ret>N'
== TODO Fix cask
- [ ] bin/create_site_lists.py
== TODO Fix bodega
- [ ] bin/create_site_lists.py
== TODO Fix cp-segment-keys
these derivations will be built:
/nix/store/g4l0jwv2a9jypinpw3d72amsws1n0zcq-git-host-tools-0.1.0.drv
building '/nix/store/g4l0jwv2a9jypinpw3d72amsws1n0zcq-git-host-tools-0.1.0.drv'...
unpacking sources
unpacking source archive /nix/store/vinddjlh0qfbhxw82gigf5rb0ybi1jxy-git-host-tools
source root is git-host-tools
patching sources
configuring
no configure script, doing nothing
building
Received SIGSEGV, exiting.
Pid: 4338
Callstack:
/nix/store/39yy54ny4m1fx99g1gf81s7s045zagfy-kakoune-unwrapped-2020.01.16/bin/kak(_ZN7Kakoune9BacktraceC1Ev+0x18) [0x49f098]
/nix/store/39yy54ny4m1fx99g1gf81s7s045zagfy-kakoune-unwrapped-2020.01.16/bin/kak(_ZN7Kakoune14signal_handlerEi+0x64) [0x585bc4]
/nix/store/9rabxvqbv0vgjmydiv59wkz768b5fmbc-glibc-2.30/lib/libc.so.6(+0x381c0) [0x7f1dd2f8c1c0]
/nix/store/39yy54ny4m1fx99g1gf81s7s045zagfy-kakoune-unwrapped-2020.01.16/bin/kak(_ZN7Kakoune10TerminalUI6Window4blitERS1_+0x362) [0x64bca2]
/nix/store/39yy54ny4m1fx99g1gf81s7s045zagfy-kakoune-unwrapped-2020.01.16/bin/kak(_ZN7Kakoune10TerminalUI6redrawEb+0x40) [0x64cfa0]
/nix/store/39yy54ny4m1fx99g1gf81s7s045zagfy-kakoune-unwrapped-2020.01.16/bin/kak(_ZN7Kakoune10TerminalUI7refreshEb+0x2c) [0x64d07c]
(0x902a80,0xddf800)
goroutine 1 [running]:
github.com/elves/elvish/pkg/sys.DumpStack(0x902a80, 0xddf800)
/build/go/src/github.com/elves/elvish/pkg/sys/dumpstack.go:10 +0x9d
github.com/elves/elvish/pkg/program/shell.rescue()
/build/go/src/github.com/elves/elvish/pkg/program/shell/shell.go:66 +0xa4
panic(0x902a80, 0xddf800)
/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.14/share/go/src/runtime/panic.go:967 +0x15d
github.com/elves/elvish/pkg/eval.catch(0xc0001876b0, 0xc0003a1aa0)
/build/go/src/github.com/elves/elvish/pkg/eval/frame.go:216 +0x295
... compile gxprof
... compile exe gxprof -> gxprof
Undefined symbols for architecture x86_64:
"_DH_set0_pqg", referenced from:
____os_make_tls_context in libgambit.a(os_io.o)
"_OPENSSL_init_ssl", referenced from:
____os_make_tls_context in libgambit.a(os_io.o)
"_OpenSSL_version_num", referenced from:
____os_make_tls_context in libgambit.a(os_io.o)
"_SSL_CTX_set_options", referenced from:
@eraserhd
eraserhd / nix-darwin-catalina.adoc
Created February 5, 2020 16:46
Upgrading to Catalina

Upgrading to Catalina

After an upgrade, many things will be broken. Here’s how to fix:

The Nix Store

Use sudo to create /etc/synthetic.conf and add the following two entries: