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 <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
ba22b09f71
commit
a572f8e23d
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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!
|
||||
|
||||
|
|
Loading…
Reference in a new issue