<feed xmlns="http://www.w3.org/2005/Atom" xmlns:hypergraph="https://hypergraph.network/xmlns">
	<title>Blog</title>
	<id>https://joonastuomi.fi/blog</id>
	<link rel="alternate" href="https://joonastuomi.fi/blog" type="text/html"></link>
	<link rel="self" href="https://joonastuomi.fi/blog/atom.xml" type="application/atom+xml"></link>
	<entry>
		<title>How to Securely use Biometrics</title>
		<id>https://joonastuomi.fi/blog/how-to-secure-boot/</id>
		<link rel="alternate" href="https://joonastuomi.fi/blog/how-to-secure-boot/" type="text/html"></link>
		<published>2026-08-17T17:18:40+03:00</published>
		<updated></updated>
		<author>
			<name>Joonas Tuomi</name>
			<uri>https://joonastuomi.fi/</uri>
			<hypergraph:favicon>https://joonastuomi.fi/favicon.png</hypergraph:favicon>
		</author>
		<summary type="html">&lt;p&gt;Documenting my process of setting up CachyOS for secure biometric login.&lt;/p&gt;&#xA;</summary>
		<content type="html">&lt;p&gt;Documenting my process of setting up CachyOS for secure biometric login.&lt;/p&gt;&#xA;&lt;!--more--&gt;&#xA;&lt;p&gt;For starters open &lt;a href=&#34;https://wiki.cachyos.org/configuration/secure_boot_setup/&#34;&gt;this page&lt;/a&gt; and install &lt;code&gt;sbctl&lt;/code&gt; with &lt;code&gt;Shelly&lt;/code&gt;. Then follow that guide until you&#39;ve verified everything fine in the end. For me I had to boot into UEFI few times; first to remove everything from the and then to enable secure boot.&lt;/p&gt;&#xA;&lt;p&gt;I&#39;ve created this tool, PAM module and repository &lt;a href=&#34;https://github.com/jotuel/tpm2-enroll&#34;&gt;here&lt;/a&gt; with documentation to set up &lt;code&gt;PAM&lt;/code&gt; to use &lt;code&gt;TPM2&lt;/code&gt; so that your keyring opens up even while using fingerprint login. The reason I&#39;m starting this with setting up secure boot is that by default it uses that trust to determine whether it is safe to trust your fingerprint scanner hardware.&lt;/p&gt;&#xA;&lt;p&gt;It is still a bit rough documentation wise due to me having blindspots, not wanting to make many assumption about what to support and opting to secure vs eaze of use. Also noteworthy is that I still need to set it up better for CachyOS still so that legit operating system updates would not break the trust. If you want a less secure but more robust alternative use &lt;code&gt;--skip-pcr&lt;/code&gt; option.&lt;/p&gt;&#xA;&lt;h3 id=&#34;visual-guide&#34;&gt;Visual Guide&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;img src=&#34;https://user.fm/files/v2-0c1ad5f157fa083a53eedeb0b6e4db07/shelly.png&#34; alt=&#34;Shelly window with sbctl selected&#34; /&gt;&lt;/li&gt;&#xA;&lt;li&gt;Reboot with &lt;code&gt;systemctl reboot --firmware-setup&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Enable Erase all Secure Boot Settings&#xA;&lt;img src=&#34;https://us1.discourse-cdn.com/flex001/uploads/framework3/original/2X/7/756a4c4fd77f974c77f65ecda795413d19fad195.jpeg&#34; alt=&#34;Photo of UEFI&#34; /&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sbctl&lt;/code&gt; commands and output: &lt;img src=&#34;https://user.fm/files/v2-c3ad25f72dccd3cac6add1d4aff1aecc/sbctl.png&#34; alt=&#34;sbctl key creation&#34; /&gt;&lt;/li&gt;&#xA;&lt;li&gt;Signing and verifying keys&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo sbctl verify&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;Verifying file database and EFI images in /boot...&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;✘ /boot/1c4b5246eef05ac3bc87339323cd5101/6.10.0-cn4.0.fc40.x86_64/linux is not signed&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 4&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;✘ /boot/EFI/BOOT/BOOTX64.EFI is not signed&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 5&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;✘ /boot/EFI/systemd/systemd-bootx64.efi is not signed&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 6&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;✘ /boot/1c4b5246eef05ac3bc87339323cd5101/0-rescue/linux is not signed&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 7&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;✘ /boot/1c4b5246eef05ac3bc87339323cd5101/6.10.0-cn3.0.fc40.x86_64/linux is not signed&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 8&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 9&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo sbctl-batch-sign&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;10&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;11&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo sbctl verify&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;12&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;Verifying file database and EFI images in /boot...&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;13&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;✔ /boot/1c4b5246eef05ac3bc87339323cd5101/6.10.0-cn4.0.fc40.x86_64/linux is signed&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;14&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;✔ /boot/EFI/BOOT/BOOTX64.EFI is signed&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;15&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;✔ /boot/EFI/systemd/systemd-bootx64.efi is signed&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;16&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;✔ /boot/1c4b5246eef05ac3bc87339323cd5101/0-rescue/linux is signed&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;17&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;✔ /boot/1c4b5246eef05ac3bc87339323cd5101/6.10.0-cn3.0.fc40.x86_64/linux is signed&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;ol start=&#34;6&#34;&gt;&#xA;&lt;li&gt;Sign boot manager: &lt;code&gt;sudo sbctl sign -s -o /usr/lib/systemd/boot/efi/systemd-bootx64.efi.signed /usr/lib/systemd/boot/efi/systemd-bootx64.efi&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Enable Secure Boot (see photo from 1)&lt;/li&gt;&#xA;&lt;li&gt;Verify&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo sbctl status&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;Installed:      ✓ sbctl is installed&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;Owner GUID:     a9fbbdb7-a05f-48d5-b63a-08c5df45ee70&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 4&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;Setup Mode:     ✓ Disabled&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 5&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;Secure Boot:    ✓ Enabled&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 6&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;Vendor Keys:    microsoft&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 7&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 8&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;bootctl&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 9&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;System:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;10&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;      Firmware: UEFI 2.80 &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt;INSYDE Corp. 28724.16435&lt;span class=&#34;o&#34;&gt;)&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;11&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt; Firmware Arch: x64&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;12&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;   Secure Boot: enabled &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt;user&lt;span class=&#34;o&#34;&gt;)&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;13&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;  TPM2 Support: yes&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;14&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;  Measured UKI: no&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;15&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;  Boot into FW: supported&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Photos are dated Framework, yours might look slightly different. I recommend looking at the more general information from the sources. And looking up BIOS/UEFI guide for your hardware, &lt;a href=&#34;https://community.frame.work/t/bios-guide/4178#heading--security_secure-boot&#34;&gt;here is one for Framework&lt;/a&gt;. If I clearly forgot something or you&#39;d like to suggest improvements get in contact.&lt;/p&gt;&#xA;&lt;!-- Links --&gt;&#xA;</content>
	</entry>
	<entry>
		<title>Yet use Others as well</title>
		<id>https://joonastuomi.fi/blog/yet-use-others/</id>
		<link rel="alternate" href="https://joonastuomi.fi/blog/yet-use-others/" type="text/html"></link>
		<published>2026-07-28T13:14:33+03:00</published>
		<updated></updated>
		<author>
			<name>Joonas Tuomi</name>
			<uri>https://joonastuomi.fi/</uri>
			<hypergraph:favicon>https://joonastuomi.fi/favicon.png</hypergraph:favicon>
		</author>
		<summary type="html">&lt;p&gt;I could have easily built this site using Rust. I chose HyperTemplates this time and my fallback choice will always be Elm. This seemed like the simplest choice. Browsers speak HTML, CSS and ECMAScript natively and using HTMLElement components just makes sense to me.&lt;/p&gt;&#xA;</summary>
		<content type="html">&lt;p&gt;I could have easily built this site using Rust. I chose HyperTemplates this time and my fallback choice will always be Elm. This seemed like the simplest choice. Browsers speak HTML, CSS and ECMAScript natively and using HTMLElement components just makes sense to me.&lt;/p&gt;&#xA;&lt;!--more--&gt;&#xA;&lt;p&gt;Sometimes using a DSL is more pleasurable experience. It does not even have to that greatly desingned one at that. One simply should not use a language designed for written in between script tags to write a text editor for example. No matter how much type information you bolt on top of it. The same way maybe you do not need to use the language that is great for example creating a high performance text editor to just render a site fetched every now and then.&lt;/p&gt;&#xA;&lt;p&gt;It is also mostly about the community around the tool. They have different rules and paradigms. For example C has a traditiong of obfuscating standard library function names by mostly using consonants that is then followed even outside of it. Welsh folk love it. But then in comes Gleam that says no to that kind of nonsense and demands you type out the full names. Which means someone new to the language might actually be able to read and understand your program.&lt;/p&gt;&#xA;&lt;p&gt;Also different paradigms make you solve similar problems differently. Which forces you to think about it in another way. You should not rely on intuition on how to solve a problem without having seen and compared quite a few yourself.&lt;/p&gt;&#xA;</content>
	</entry>
	<entry>
		<title>Why I prefer Rust</title>
		<id>https://joonastuomi.fi/blog/prefer-rust/</id>
		<link rel="alternate" href="https://joonastuomi.fi/blog/prefer-rust/" type="text/html"></link>
		<published>2026-05-23T15:16:00+03:00</published>
		<updated></updated>
		<author>
			<name>Joonas Tuomi</name>
			<uri>https://joonastuomi.fi/</uri>
			<hypergraph:favicon>https://joonastuomi.fi/favicon.png</hypergraph:favicon>
		</author>
		<summary type="html">&lt;p&gt;Having spent substantial time writing code in various environments, I&#39;ve used everything from systems languages like C and C++ to modern languages like Go and TypeScript. Each has its strengths, but Rust has become my language of choice. Here are the core reasons why I prefer Rust, contrasting it with my experiences in other languages.&lt;/p&gt;&#xA;</summary>
		<content type="html">&lt;p&gt;Having spent substantial time writing code in various environments, I&#39;ve used everything from systems languages like C and C++ to modern languages like Go and TypeScript. Each has its strengths, but Rust has become my language of choice. Here are the core reasons why I prefer Rust, contrasting it with my experiences in other languages.&lt;/p&gt;&#xA;&lt;!--more--&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Expression-Based Semicolons&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;In C, a semicolon simply terminates a statement. In Rust, however, the presence or absence of a semicolon has a semantic meaning. Because Rust is an expression-oriented language, blocks evaluate to their last expression. By omitting the semicolon from the final line of a block or function, it implicitly returns that value. This removes the need for typing the return keyword in almost all standard function ends, making the code cleaner and emphasizing data flow:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;fn&lt;/span&gt; &lt;span class=&#34;nf&#34;&gt;add&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;a&lt;/span&gt;: &lt;span class=&#34;kt&#34;&gt;i32&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;b&lt;/span&gt;: &lt;span class=&#34;kt&#34;&gt;i32&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;-&amp;gt; &lt;span class=&#34;kt&#34;&gt;i32&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;a&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;+&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;b&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;// No semicolon, implicit return!&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;ol start=&#34;2&#34;&gt;&#xA;&lt;li&gt;Everything is an Expression&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Go lacks a ternary operator (like a ? b : c), requiring verbose, multi-line if/else statements even for simple assignments. While some languages abuse ternaries to the point of unreadability, Rust solves this beautifully: everything is an expression. In Rust, you don&#39;t need a ternary operator because if/else blocks and match statements return values directly. This keeps syntax clean and readable without the boilerplate of pre-declaring mutable variables:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;kd&#34;&gt;let&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;status&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;if&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;authenticated&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;Welcome&amp;#34;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;else&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;Access Denied&amp;#34;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;p&#34;&gt;};&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;ol start=&#34;3&#34;&gt;&#xA;&lt;li&gt;Result Types and the ? Operator&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;C++ relies heavily on exceptions and try/catch blocks, which can make control flow hard to follow and introduce overhead. Rust takes a completely different path with its monadic Result&amp;lt;T, E&amp;gt; and Option&lt;T&gt; types. Rather than throwing exceptions, errors are just normal values returned by functions. Combining this with the ? operator allows you to bubble up errors in a single character, providing error handling that is both explicit and incredibly clean, without the cognitive load of exception tracking:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;fn&lt;/span&gt; &lt;span class=&#34;nf&#34;&gt;fetch_data&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;()&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;-&amp;gt; &lt;span class=&#34;nb&#34;&gt;Result&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;String&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Error&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;kd&#34;&gt;let&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;response&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;make_request&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;()&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;?&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;//Returns an error incase of failure&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;Ok&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;response&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;4&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;ol start=&#34;4&#34;&gt;&#xA;&lt;li&gt;Truly Statically Typed&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;TypeScript is a great developer experience, but it is ultimately a wrapper around JavaScript. Its types are erased at compile time, meaning they provide no runtime safety. Moreover, the ease of escaping to any or dealing with loose typing can lead to hidden runtime bugs. Rust is a truly statically typed language. Its types exist at compile time, are strictly enforced at runtime, and compiled directly to machine code (using monomorphization). When a compiler guarantees that a value is of a certain type, you can be 100% confident it holds true at runtime.&lt;/p&gt;&#xA;&lt;p&gt;Ultimately, &lt;a href=&#34;https://rust-lang.org&#34;&gt;Rust&lt;/a&gt; feels like a language where the designers looked at the ergonomics of high-level languages and the control of low-level systems languages, and fused them into a coherent, safe, and expressive toolset.&lt;/p&gt;&#xA;&lt;!-- Links --&gt;&#xA;</content>
	</entry>
	<entry>
		<title>Moving blog to HyperTemplate</title>
		<id>https://joonastuomi.fi/blog/first-post/</id>
		<link rel="alternate" href="https://joonastuomi.fi/blog/first-post/" type="text/html"></link>
		<published>2025-05-23T15:00:00-07:00</published>
		<updated></updated>
		<author>
			<name>Joonas Tuomi</name>
			<uri>https://joonastuomi.fi/</uri>
			<hypergraph:favicon>https://joonastuomi.fi/favicon.png</hypergraph:favicon>
		</author>
		<summary type="html">&lt;p&gt;This incarnation of my blog uses &lt;a href=&#34;https://preview.hypertemplates.net&#34;&gt;HyperTemplates&lt;/a&gt;.&lt;/p&gt;&#xA;</summary>
		<content type="html">&lt;p&gt;This incarnation of my blog uses &lt;a href=&#34;https://preview.hypertemplates.net&#34;&gt;HyperTemplates&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;!--more--&gt;&#xA;&lt;p&gt;It really seems straight enough to understand for someone like me coming from HTLM3 and a much more simplistic time in web architecture. Yet it utilizes most of the new modern things. Learning most of it realistically takes only an evening.&lt;/p&gt;&#xA;&lt;!-- Links --&gt;&#xA;</content>
	</entry>
	<updated>2026-08-17T17:18:40+03:00</updated>
</feed>