Writing about things here: https://heathhenley.dev
I don't think I've ever got bit by this but looking at it I'm not sure how
I don't think I've ever got bit by this but looking at it I'm not sure how
```
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --all
```
I just set up an alias for it trying this instead of gitk'ing all the time like a lunatic
```
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --all
```
I just set up an alias for it trying this instead of gitk'ing all the time like a lunatic
Good examples in the docs: docs.python.org/3/library/as...
Good examples in the docs: docs.python.org/3/library/as...
The reader/you begins reading a novel and it's cut off just when it starts to get good - you find the rest but it's the wrong novel...
💙📚
The reader/you begins reading a novel and it's cut off just when it starts to get good - you find the rest but it's the wrong novel...
💙📚
github.com/heathhenley/...
github.com/heathhenley/...
"... use explicit while loops when possible."
Does that mean when it's too complicated to determine if it's tail recursive, just use a while loop to be safe? Otherwise this feels like the opposite of the FP vibe
ocaml.org/docs/loops-r...
"... use explicit while loops when possible."
Does that mean when it's too complicated to determine if it's tail recursive, just use a while loop to be safe? Otherwise this feels like the opposite of the FP vibe
ocaml.org/docs/loops-r...
Full thing here: github.com/heathhenley/...
Full thing here: github.com/heathhenley/...
I'm an Ocaml and FP newb in general
It's an old advent of code problem (day 21 from 2015) - full code is here: github.com/heathhenley/...
Problem is: adventofcode.com/2015/day/21
I'm an Ocaml and FP newb in general
It's an old advent of code problem (day 21 from 2015) - full code is here: github.com/heathhenley/...
Problem is: adventofcode.com/2015/day/21