This is explaining stuff relevant to AOC 2021 day 6
First lets do fibonacci numbers because it's smaller (2x2 matrix instead of 9x9) and it's familiar ground.
So you can implement fibs like this:
def fib(n):
| ('A', 'v') replace with <vA | |
| ('v', '<') replace with <A | |
| ('<', '<') replace with A | |
| ('<', 'A') replace with >>^A | |
| ('A', '<') replace with v<<A | |
| ('<', 'v') replace with >A | |
| ('A', '>') replace with vA | |
| ('>', '>') replace with A | |
| ('>', '^') replace with <^A | |
| ('^', 'A') replace with >A |
| #!/bin/bash | |
| gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont' |
In this article, I'd like to explain why I think The Elm Architecture is fine for small components, but quite harmful for websites based on pages.
First, let's clarify what I mean by "The Elm Architecture".
The Elm Architecture's webpage describes it pretty well.