diff --git a/config.toml b/config.toml index 718212b..5223fa8 100644 --- a/config.toml +++ b/config.toml @@ -56,26 +56,31 @@ paginate = 40 url = "mixonomer/" [[menu.main]] - name = "Dev & Engineering" + name = "Selector" weight = 2 + url = "selector/" + +[[menu.main]] + name = "Dev & Engineering" + weight = 3 url = "dev-engineering/" [[menu.main]] name = "Music" - weight = 3 + weight = 4 url = "music/" #[[menu.main]] # name = "Art" -# weight = 4 +# weight = 5 # url = "art/" [[menu.main]] name = "Posts" - weight = 5 + weight = 6 url = "posts/" [[menu.main]] name = "About" - weight = 6 + weight = 7 url = "about/" \ No newline at end of file diff --git a/content/dev-engineering/index.md b/content/dev-engineering/index.md index 00dd239..dcab482 100644 --- a/content/dev-engineering/index.md +++ b/content/dev-engineering/index.md @@ -10,7 +10,7 @@ draft: false {{% image-box-link src="/posts/markov/StateTopology.png" href="/posts/markov" title="Hidden Markov Models" caption="MATLAB" %}} -# [Infrastructure]({{< ref "infra" >}}) +# [Infrastructure]({{< relref "infra" >}}) I manage my local and cloud infrastructure with __Terraform__ + __Ansible__ + __Docker__. I've found this stack incredibly powerful so I've written a post about my patterns and what I love about it. @@ -18,7 +18,7 @@ I manage my local and cloud infrastructure with __Terraform__ + __Ansible__ + __ Basically, Terraform creates and destroys infrastructure, Ansible manages the OS-level stuff and then the services I run use docker compose. I use a _bootstrap_ Ansible role instead of golden images. -[Read More]({{< ref "infra" >}}) +[Read More]({{< relref "infra" >}}) --- diff --git a/content/posts/draught/index.md b/content/posts/draught/index.md index 3805843..8fd3dcf 100644 --- a/content/posts/draught/index.md +++ b/content/posts/draught/index.md @@ -16,7 +16,11 @@ The project took about 3 weeks off and on. Initially, I wanted to model the game The MiniMax algorithm was also a bit of a pain. The algorithm relies on a tree structure for which I used the [IndexTree crate](https://crates.io/crates/indextree). Instead of using pointers between nodes that could rely on unsafe code, this library instead relies on a single backing array of nodes. Working out how to effectively create, populate and traverse the trees while following the borrow checker's rules was a good test. -{{< figure src="screenshot.png" caption="Javascript UI with a Rust-controlled canvas" >}} +# Try it out below... + + + +## Under the hood The performance of the game and the AI was pretty impressive. This was also without any Alpha-Beta pruning, a method to reduce the number of tree nodes that need searching. Below are the results of a basic benchmark for expanding the MiniMax tree to given depths both in development mode and release mode. @@ -40,4 +44,4 @@ Ultimately, I was pretty happy with the project and it can now be used as a test [GitHub Repo](https://github.com/sarsoo/draught) -[Try it out!](https://draught.sarsoo.xyz/) \ No newline at end of file +# [Try it out!](https://draught.sarsoo.xyz/) \ No newline at end of file diff --git a/content/posts/mixonomer/index.md b/content/posts/mixonomer/index.md index b8d4493..97c55e5 100644 --- a/content/posts/mixonomer/index.md +++ b/content/posts/mixonomer/index.md @@ -46,7 +46,7 @@ The front-end was written in __React__, which I also learnt in the process. It w The app sits in the background now, it has replaced [__Smarter Playlists__](http://playlistmachinery.com/) for my _smart playlists_ and its been a good testbed to play with more cloud services. -[Try It Out](https://mixonomer.sarsoo.xyz/) +# [Try It Out](https://mixonomer.sarsoo.xyz/) [Github](https://github.com/Sarsoo/Mixonomer)