Skip to content

Commit ae34f76

Browse files
committed
feat: add notes section
1 parent c1da28c commit ae34f76

28 files changed

+363
-0
lines changed

content/notes/_index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
draft: false
3+
title: Notes
4+
---
5+
6+
# Notes

content/notes/culture/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
title: Culture, communications, and management
3+
---
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
link: https://matklad.github.io/2021/02/06/ARCHITECTURE.md.html
3+
title: ARCHITECTURE.md
4+
date: 2021-02-06
5+
tags:
6+
- documentation
7+
---
8+
9+
TL;DR:
10+
11+
- add an `ARCHITECTURE.md` document to make contributing to your codebase easier for newcomers
12+
- A high-level map of the codebase architecture helps newcomers find where to start reading
13+
- An `ARCHITECTURE.md` document should cover:
14+
- how different sections of the codebase work _together_
15+
- things that don't change often (once or twice a year at most)
16+
17+
<!-- more -->
18+
19+
> _Do_ name important files, modules, and types.
20+
> _Do not_ directly link them (links go stale).
21+
22+
I'm optimistic that CI hooks using [`lychee(1)`](https://github.com/lycheeverse/lychee) can prevent links from going stale, and I like linking directly to the code.
23+
However, it's up to a team to decide if the convenience of direct links is worth the chore of fixing them.
24+
25+
> Explicitly call-out architectural invariants.
26+
> Often, important invariants are expressed as an absence of something, and it’s pretty hard to divine that from reading the code.
27+
> [...]
28+
> Point out boundaries between layers and systems as well.
29+
30+
In other words, when you're deciding "what modules have what responsibilities", `ARCHITECTURE.md` might be a good place to document those decisions.

content/notes/culture/boring_tech.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
link: https://boringtechnology.club/
3+
title: Use Boring Technology
4+
date: 2018-01-01
5+
tags:
6+
- architecture
7+
- culture
8+
---
9+
10+
TL;DR:
11+
12+
- Use tech your team is familiar with if it gets the job done
13+
- shiny new tech has lots of unknown unknowns
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
link: https://apenwarr.ca/log/20190926
3+
title: What do executives do, anyway?
4+
date: 2019-09-26
5+
---
6+
7+
TL;DR:
8+
9+
> "to define and enforce culture and values for their whole organization, and to ratify good decisions."
10+
>
11+
> That's all.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
link: https://jvns.ca/blog/good-questions/
3+
date: 2016-12-31
4+
title: How to ask good questions
5+
tags:
6+
- culture
7+
---
8+
9+
TL;DR:
10+
11+
- do research
12+
- state what you know
13+
- ask factual questions
14+
15+
<!-- more -->
16+
17+
<!--
18+
My personal recipe for a good **debugging** question is:
19+
20+
1. what I observed that surprised me (e.g. something **specific** not working)
21+
1. state hypothesis (e.g. what I thought might be wrong)
22+
1. how I tested the hypothesis (e.g. what docs/people I consulted, what tests I ran -- and the results I got!)
23+
1. either where to look next or alternate hypotheses
24+
-->
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Is It Worth the Time?
3+
link: https://xkcd.com/1205/
4+
date: 2013-04-29
5+
---
6+
7+
TL;DR: quickly calculate how much time you'd save before automating a task.

content/notes/culture/no_hello.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
link: https://nohello.net
3+
title: No Hello
4+
date: 2020-06-16
5+
tags:
6+
- communications
7+
- humor
8+
---
9+
10+
TL;DR: Instead of texting "hi" and waiting for a response, say "hi" and ask your question in one message.

content/notes/humor/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
title: Humor
3+
---

content/notes/humor/aws_iam.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: How it feels to use AWS
3+
link: https://www.youtube.com/watch?v=xeQCRKXiRpo&t=290s
4+
---
5+
6+
TL;DW: an enormous speed boost followed immediately by crashing straight into IAM's guardrails.

0 commit comments

Comments
 (0)