cherrykitten.dev/public/blog/index.html

180 lines
7.7 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<title>CherryKitten</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="robots" content="noodp"/>
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
2023-04-09 22:13:12 +00:00
<link rel="stylesheet" href="https://cherrykitten.dev/color.css">
2023-04-09 22:13:12 +00:00
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/ rss.xml
">
2023-01-28 20:37:52 +00:00
</head>
<body class="">
<div class="container">
<header class="header">
<div class="header__inner">
<div class="header__logo">
2023-04-09 22:13:12 +00:00
<a href="https://cherrykitten.dev" style="text-decoration: none;">
<div class="logo">
2023-04-09 22:13:12 +00:00
CherryKitten
</div>
</a>
</div>
</div>
<nav class="menu">
<ul class="menu__inner">
<li><a href="https://cherrykitten.dev">Home</a></li>
<li><a href="https://cherrykitten.dev/about">About me</a></li>
<li class="active"><a href="https://cherrykitten.dev/blog">Blog</a></li>
<li><a href="https://cherrykitten.dev/contact">Contact</a></li>
</ul>
</nav>
</header>
<div class="content">
<div class="posts">
2023-04-09 22:13:12 +00:00
<div class="post on-list">
2023-02-23 16:33:46 +00:00
<h1 class="post-title"><a href="https://cherrykitten.dev/blog/rust-1-options-results/">Learning Rust Part 1: A kitten&#x27;s guide to Options and Results</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2023-02-25
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://cherrykitten.dev/tags/rust/">#Rust</a>&nbsp;
<a class="post-tag" href="https://cherrykitten.dev/tags/programming/">#programming</a>&nbsp;
<a class="post-tag" href="https://cherrykitten.dev/tags/code/">#code</a>&nbsp;
<a class="post-tag" href="https://cherrykitten.dev/tags/learning/">#learning</a></span>
2023-04-09 22:13:12 +00:00
2023-02-23 16:33:46 +00:00
<div class="post-content">
<h3 id="to-unwrap-or-not-to-unwrap-that-is-the-question">To unwrap() or not to unwrap(), that is the question:</h3>
<p>So I've finally given in and started to learn Rust last month. It's a really cool programming language,
with some interesting differences to what I've used before. (JavaScript and Python, mostly)</p>
<p>There are some really pawesome guides out there, <a href="https://doc.rust-lang.org/book/">&quot;The Rust programming language&quot;</a> is
definitely a <strong>must-read</strong> in my opinion, and <a href="https://github.com/rust-lang/rustlings">Rustlings</a> is nyamazing for
anyone who likes to learn by actively working through interactive problems.</p>
<p>After reading through a lot of those big thorough guides by experienced Rust developers, I've started working on
my first actual Project. I approached the development of this project by just trying to get small parts of it
working in any way I can manage, and then build upon this. In that process, I learned a lot of small subtilties that
guides like the ones named above just can't really cover. This post is for sharing those things, those cool little
tips to make your first Rust project just a little cleaner and more Rust-y. Originally I wanted to make this about a lot
of different topics, but then I've realized that my notes already contain so many things about just one part of Rust:
The Enums <code>Option</code> and <code>Result</code>. So this post will be about those, and hopefully will mark the start of a series on this blog.</p>
<p>While reading through this, you might think that the things I'm mentioning are obvious. That's okay, and that's the point.
Nothing is ever completely obvious to everyone, and this is for those like me, who often don't immediately recognize
the &quot;obvious&quot;. And, to be honest, I am writing this just as much for myself, writing all of that stuff down to aid me in my
own ongoing learning process.</p>
<p>So, let's start!</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://cherrykitten.dev/blog/rust-1-options-results/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
2023-04-09 22:13:12 +00:00
</div>
2023-02-23 16:33:46 +00:00
2023-04-09 22:13:12 +00:00
<div class="post on-list">
<h1 class="post-title"><a href="https://cherrykitten.dev/blog/fediverse-isnt-just-mastodon/">The Fediverse is more than just Mastodon</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2022-11-26
</span>
</div>
2023-01-28 20:37:52 +00:00
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://cherrykitten.dev/tags/fediverse/">#Fediverse</a>&nbsp;
<a class="post-tag" href="https://cherrykitten.dev/tags/mastodon/">#Mastodon</a>&nbsp;
<a class="post-tag" href="https://cherrykitten.dev/tags/misskey/">#Misskey</a>&nbsp;
<a class="post-tag" href="https://cherrykitten.dev/tags/calckey/">#Calckey</a>&nbsp;
<a class="post-tag" href="https://cherrykitten.dev/tags/activitypub/">#ActivityPub</a></span>
2023-04-09 22:13:12 +00:00
<div class="post-content">
<p>With Twitter in a downwards spiral thanks to some rich guy whose name escapes me breaking everything, the Fediverse has been getting the biggest influx of new users in a very long time.
People have been recommending &quot;Mastodon&quot; as a Twitter alternative for a while now, causing #Mastodon to be the top trending Hashtag on many days.</p>
<p>Browsing that hashtag one can find a lot of misconceptions about what Mastodon is, how it works, and what its limitations are. These misconceptions are not just spread by people who dislike Mastodon and try to convince others not to use it, though. They are also perpetuated by people who seem to want to increase the userbase at all cost, regardless of whom it attracts to the Fediverse.</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://cherrykitten.dev/blog/fediverse-isnt-just-mastodon/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
2023-04-09 22:13:12 +00:00
</div>
<div class="pagination">
<div class="pagination__buttons"></div>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
2023-04-09 22:13:12 +00:00
<div class="copyright copyright--user">
<a href="https://liberapay.com/CherryKitten/donate"><img
alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
 
<span>&copy;
2023
- CherryKitten</span><br>
 
<span><a href="/impressum">Impressum</a></span>
 
<span><a href="/rss.xml">RSS</a></span>
 
<span onclick="alert('Nya!')">🐱</span></div>
</div>
</footer>
</div>
</body>
</html>