diff options
Diffstat (limited to 'users/wpcarro/website/blog')
-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! |