diff options
author | William Carroll <wpcarro@gmail.com> | 2022-10-04T17·55-0700 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-10-07T18·19+0000 |
commit | a572f8e23d1ef0fee861f809b402d5131b4d6da2 (patch) | |
tree | 168b6e819784805e4d4fe71a331fb6be6186f843 /users/wpcarro/website/blog/posts | |
parent | ba22b09f71b105d92149d30f2a026daaf95d3223 (diff) |
fix(wpcarro/blog): Fix markdown hyperlink syntax r/5053
i always seem to get this wrong Change-Id: Ib6f31523aba1d9f9a32d9af95b96b8d75e0ec16e Reviewed-on: https://cl.tvl.fyi/c/depot/+/6863 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
Diffstat (limited to 'users/wpcarro/website/blog/posts')
-rw-r--r-- | users/wpcarro/website/blog/posts/cell-phone-experiment.md | 6 | ||||
-rw-r--r-- | users/wpcarro/website/blog/posts/nix-shell-note.md | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/users/wpcarro/website/blog/posts/cell-phone-experiment.md b/users/wpcarro/website/blog/posts/cell-phone-experiment.md index c289954a58f1..f781a60873c7 100644 --- a/users/wpcarro/website/blog/posts/cell-phone-experiment.md +++ b/users/wpcarro/website/blog/posts/cell-phone-experiment.md @@ -5,16 +5,16 @@ on it. ### Explore/Exploit -Ever since I read Charles Duhigg's book, [The Power of Habit](poh), I try to +Ever since I read Charles Duhigg's book, [The Power of Habit][poh], I try to habituate as many aspects of my life as I can. Making my bed every morning is an example of a habit -- so too is flossing at night before bed. -The *exploit* axis of the [explore/exploit tradeoff](exp-exp) endows habits with +The *exploit* axis of the [explore/exploit tradeoff][exp-exp] endows habits with their power. Brian Christian and Tom Griffiths explain this concept more clearly than I can in Chapter 2 of their exceptional book, [Algorithms to Live -By](algos). +By][algos]. Habits are powerful, but if I overly exploit an activity, I may settle on a local optimum in lieu of settling on a global optimum; these are the opportunity diff --git a/users/wpcarro/website/blog/posts/nix-shell-note.md b/users/wpcarro/website/blog/posts/nix-shell-note.md index 6f709b4f1abe..da33c846ceaa 100644 --- a/users/wpcarro/website/blog/posts/nix-shell-note.md +++ b/users/wpcarro/website/blog/posts/nix-shell-note.md @@ -28,7 +28,7 @@ Pass the Nix expression to `nix-shell -p`: ## Explanation This works because Nix forwards the arguments passed to `-p` (i.e. `--packages`) -and interpolates them into this expression here: [source](nix-src) +and interpolates them into this expression here: [source][nix-src] ```nix { ... }@args: @@ -43,7 +43,7 @@ with import <nixpkgs> args; ``` So really you can pass-in *any* valid Nix expression that produces a derivation -and `nix-shell` will put their outputs on your `PATH`. +and `nix-shell` will put its outputs on your `PATH`. Enjoy! |