<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Computer Science on stau.space</title><link>https://stau.space/tags/computer-science/</link><description>Recent content in Computer Science on stau.space</description><generator>Hugo</generator><language>en-US</language><managingEditor>sona@stau.space (Sona Tau Estrada Rivera)</managingEditor><webMaster>sona@stau.space (Sona Tau Estrada Rivera)</webMaster><lastBuildDate>Fri, 17 Jul 2026 20:34:54 -0400</lastBuildDate><atom:link href="https://stau.space/tags/computer-science/index.xml" rel="self" type="application/rss+xml"/><item><title>Language Semiring</title><link>https://stau.space/posts/language-semiring/</link><pubDate>Sun, 31 May 2026 20:28:46 -0400</pubDate><author>sona@stau.space (Sona Tau Estrada Rivera)</author><guid>https://stau.space/posts/language-semiring/</guid><description>&lt;p&gt;I actually wrote this blog post a couple months ago but only decided to shape it up for posting today: june 18th.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;In my computation theory class, after defining a &lt;a href="TODO"&gt;regular expression&lt;/a&gt;, we also defined operations $\cdot$ and $\cup$.
These operations would take a set of words in a &lt;a href="TODO"&gt;regular language&lt;/a&gt; and construct yet another set of words.
Interestingly, there were some special sets that make this look like a ring:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The empty set $\emptyset$ which has the following properties:
&lt;ul&gt;
&lt;li&gt;It is an identity element for the $\cup$ operation: $\emptyset \cup A = A \cup \emptyset = A$.&lt;/li&gt;
&lt;li&gt;It is an annihilator element for the $\cdot$ operation: $\emptyset \cdot A = A \cdot \emptyset = \emptyset$.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The set with one element $\{\epsilon\}$ which is a language that only identifies the empty string has the following properties:
&lt;ul&gt;
&lt;li&gt;It is an identity element for the $\cdot$ operation: $\{ \epsilon \} \cdot A = A \cdot \{ \epsilon \} = A$.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This makes it almost a ring with:&lt;/p&gt;</description></item><item><title>AOC day 1</title><link>https://stau.space/posts/aoc-2024-day1/</link><pubDate>Thu, 05 Dec 2024 13:55:24 -0400</pubDate><author>sona@stau.space (Sona Tau Estrada Rivera)</author><guid>https://stau.space/posts/aoc-2024-day1/</guid><description>&lt;span lang="tok"&gt;
 wan wan. &lt;br&gt;
 zz pana pi (toki tawa lipu) li nasin lipu tu e wan. &lt;br&gt;
 zz pana pi (toki tawa lipu) li suli. &lt;br&gt;
&lt;/span&gt;
&lt;span lang="tok"&gt;
 zz poka li sin pana ala li nanpa sewi e luka. &lt;br&gt;
 zz ale li sin pana. &lt;br&gt;
&lt;/span&gt;
&lt;pre&gt;&lt;code class="language-bqn"&gt; ⍉ pana
⟨ ⟨ 4 3 5 3 9 3 ⟩ ⟨ 3 4 2 1 3 3 ⟩ ⟩
 ∧˘⍉ pana
⟨ ⟨ 3 3 3 4 5 9 ⟩ ⟨ 1 2 3 3 3 4 ⟩ ⟩
 |-˝∧˘⍉ pana
⟨ 2 1 0 0 1 5 ⟩
 +´|-˝∧˘⍉ pana
9
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>AOC day 2</title><link>https://stau.space/posts/aoc-2024-day2/</link><pubDate>Mon, 02 Dec 2024 00:00:00 -0400</pubDate><author>sona@stau.space (Sona Tau Estrada Rivera)</author><guid>https://stau.space/posts/aoc-2024-day2/</guid><description/></item><item><title>Zig CTFP</title><link>https://stau.space/posts/zig-ctfp/</link><pubDate>Wed, 07 Aug 2024 11:38:20 -0400</pubDate><author>sona@stau.space (Sona Tau Estrada Rivera)</author><guid>https://stau.space/posts/zig-ctfp/</guid><description>&lt;p&gt;Let this blog post be living proof that Zig is in fact also a functional
programming language.&lt;/p&gt;</description></item><item><title>C++ Prelude</title><link>https://stau.space/projects/cpp-prelude/</link><pubDate>Mon, 08 Jan 2024 18:04:59 -0400</pubDate><author>sona@stau.space (Sona Tau Estrada Rivera)</author><guid>https://stau.space/projects/cpp-prelude/</guid><description>&lt;p&gt;Modern C++ makes me sad when I look at it. So this is my attempt to change
several of the defaults we use to code in C++. Additionally, several features
that are missing in the language (but enabled through obscure compiler macros
and directives) are enabled.&lt;/p&gt;</description></item></channel></rss>