From 943cc1c49175f348650aff918a3c084741709b23 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Sun, 19 May 2024 19:57:49 +0100 Subject: [PATCH] Add post --- .../blog/weeknotes/2024-20/benchmarking.webp | Bin 0 -> 4688 bytes content/blog/weeknotes/2024-20/index.md | 21 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 content/blog/weeknotes/2024-20/benchmarking.webp create mode 100644 content/blog/weeknotes/2024-20/index.md diff --git a/content/blog/weeknotes/2024-20/benchmarking.webp b/content/blog/weeknotes/2024-20/benchmarking.webp new file mode 100644 index 0000000000000000000000000000000000000000..1c7daee68d7f236b3a983734a14c29a7e89b8e8b GIT binary patch literal 4688 zcmV-W60hx2Nk&FU5&!^KMM6+kP&gnw5&!@YO#qz%Dgpt306uLnlt!c@A|Wc1JFtKa ziDz!zU!W)Q1qjW#-1C}ZJI{Fp-ben&+HdyX>z}fIdib&PhqYgj{|+Crct7(G-#^%T z5&T!|XWqZGe&TwQ{%^s5h=135fqqx~ll+(VKkc8cewMovG_UlYfL^Km-~8Y9-`+3p zUV`7d{$+cS^-uiQxCio&=RfE_HUGeTQ~q21zl%rMzt?*J|0VvX{}22B_wU$mrC;N} z>i>xUOZ%7YEAtQVpZ5RA|DX8<{#E@?{wMd|&mXv7{XN+KYQO)YQXPaJ{v<1gf&bNq z^j5)~0S{;W|6!GnN2W+k_3l4c@P>$R!4(u8S-h5%bel*4McgcTqa>boOv4t(XiJ6> zKl;H~5?3fm%oQWB47|1dHhtAplIZ3m`$YW1?9Nqts}gUrf99_kvs}Ud z+OwxUn#kTvVP>$-2zDg^NB>m-i#>*-ujdnOHIJ4wa322DMKL5}Q*01f{6vGi@oHuF zQe^E;1ku2LY8_(OGhnS&Yt#f3a4((l5eZdza>Nx#fYwsbp8c+H0y2vZ+*iOQt;F%$+9skn5~v z=)*C5f{<>?KLLk5gl$ML=GMuOe4@#D8nKXwFKhE-a2!mw(jBG!N^lJ*kDMM)TanFYEg>huWP9a*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$9V00F}VB$8sds^?VkyR_)in9+R;&U*9R*Bygp35}-}#Bh#u`&-k- SCvlh!fGMB=000000001)NfGz} literal 0 HcmV?d00001 diff --git a/content/blog/weeknotes/2024-20/index.md b/content/blog/weeknotes/2024-20/index.md new file mode 100644 index 0000000..932243c --- /dev/null +++ b/content/blog/weeknotes/2024-20/index.md @@ -0,0 +1,21 @@ ++++ +title = 'Weeknotes 2024: 20/52' +date = 2024-05-19T19:05:17+01:00 ++++ + +## Programming +Last week I mentioned [GPU timestamp writes](https://docs.rs/wgpu/latest/wgpu/struct.ComputePassDescriptor.html#structfield.timestamp_writes) as something to look into for getting accurate timings for benchmarks. This week I managed to get a basic usage of them implemented. Initially I tried using them from scratch myself, but after a while I came across the [wgpu-profiler crate](https://github.com/wumpf/wgpu-profiler) which made everything super simple once I got it set up. I couldn't get it to work to begin with, but then I realised that the version of the crate I was using was for a newer version of wgpu and I needed to downgrade wgpu-profiler. I'll probably upgrade my wgpu and winit next week. + +{{< figure src="benchmarking.webp#center" caption="Super simple console output of the frame timings for various render stages.">}} + +Throughout the week I've been fiddling around in [Figma](https://www.figma.com/) working on a refresh of this sites design. It's not finished, and I've not started implementing it yet, but I'm pretty happy so far. I've kept it minimal like the current design but it's still got a little bit of personality. In addition to the already existing pages I designed some pages relating to my reading. Just a simple list view with book thumbnails (sourced from StoryGraph) sorted by year and a per book page with my rating, some basic info, spoiler free thoughts like what I'm already writing in my weeknotes, and a full spoiler review. I'm not sure when the redesign will go live, probably in a month or two. + +## Reading +I finished [Ninth House by Leigh Bardugo](https://app.thestorygraph.com/books/d06e1df1-e5b5-45cc-8b2b-f28edb703508). It was okay. I was more positive on it last week, but by the end of the book it had started to fall flat. None of the characters were very well defined, and the main character isn't particularly likable, which is all fine if the resolution of the mystery is interesting. Unfortunately it's kind of not. The perpetrator of the murder is exactly who you think it is for most of the book, and their motivations are incredibly bland. You then get a random twist that attempts to connect some of the side mysteries, but does a poor job of it by using a character who is in the book twice and has absolutely zero foreshadowing. The book ends with a setup for a sequel adventure, which came out last year and is called [Hell Bent](https://app.thestorygraph.com/books/8b7683e4-ea47-4d80-864e-c4ec56e2aafc), but I'm not going to bother reading it. + +Currently I'm reading [The Spear Cuts Through Water by Simon Jimenez](https://app.thestorygraph.com/books/423e819b-8fe6-4b7c-8980-d34909a4db8a) and it's very good so far. It has a cool narrative structure, where the story is told through a character watching a stage play in a dream land. The prose is quite good, and the characters are varied. So far the stage play element feels slightly gimmicky, but I'm looking forward to seeing how the events of the past (told via the play) connect to the present. Hopefully it doesn't disappoint as much as Ninth House did. + +## Other +My cycling has been going well, and I'm looking forward to my bikepacking trip in a couple of months. I don't have a date set yet, but time off work is pretty flexible so I'm not too worried. I watched [a video from GCN](https://youtu.be/W2n0VeBnlpM) about "zone 2" training. I'd heard of it before but never looked into it. Basically you just make sure to stay below the intensity at which the level of lactic acid in your blood starts to rise rapidly. It's good for training endurance and stuff. I don't have the capability to do all the fancy tests in the video so I just did some rough estimates of what sort of heart rate I should be staying below. I've done two rides since then, staying in the 150-160 bpm range for a majority of the time and wow it feels so much better. Neither ride was super long distance, both were 25km. Next week I'm going to start doing some longer rides again and try to work up to doing 100km+ regularly. + +My dog is still taking training classes every saturday, and they've been going well. The trainer mentioned a while ago some of the other sessions they run and suggested we try out flyball. We had our first little taster session this morning and it was great fun. It's a team based sport where dogs run down some hurdles, collect a ball, and run back in a relay. The three dogs at the session were all new so we did individual runs, and Calliope is too young to be doing the jumps (though she can handle them fine I'm sure). My mum took a video of one of her runs early on, though it's terrible quality and she was way better towards the end of the session. You can [watch it here](https://youtube.com/2pMxXzpOc84). I'm hoping we can continue doing some flyball (or other sports) as Calliope seems to really enjoy it.