From a572f8e23d1ef0fee861f809b402d5131b4d6da2 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Tue, 4 Oct 2022 10:55:07 -0700 Subject: fix(wpcarro/blog): Fix markdown hyperlink syntax i always seem to get this wrong Change-Id: Ib6f31523aba1d9f9a32d9af95b96b8d75e0ec16e Reviewed-on: https://cl.tvl.fyi/c/depot/+/6863 Reviewed-by: wpcarro Autosubmit: wpcarro Tested-by: BuildkiteCI --- users/wpcarro/website/blog/posts/cell-phone-experiment.md | 6 +++--- users/wpcarro/website/blog/posts/nix-shell-note.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'users/wpcarro/website/blog') 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 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! -- cgit 1.4.1