<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Projects on Jamy&#39;s Technical Blog</title>
        <link>https://jamyvetter.net/projects/</link>
        <description>Recent content in Projects on Jamy&#39;s Technical Blog</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en</language>
        <copyright>Jamyson Vetter</copyright>
        <lastBuildDate>Mon, 01 Jan 0001 00:00:00 +0000</lastBuildDate><atom:link href="https://jamyvetter.net/projects/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>AES Cryptosystem – Implementations in Haskell &amp; C</title>
        <link>https://jamyvetter.net/projects/aes-cryptography/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://jamyvetter.net/projects/aes-cryptography/</guid>
        <description>&lt;p&gt;A paired engineering project completed at Grenoble INP – Esisar (PX222
Maths/Info, March – June 2026) by
&lt;a class=&#34;link&#34; href=&#34;https://github.com/jamyvetter&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;Jamyson Vetter&lt;/a&gt; and
&lt;a class=&#34;link&#34; href=&#34;https://github.com/hiiiiiiiiiboux&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;Siméon Studer&lt;/a&gt;. The project designs,
validates, and profiles a complete encryption and decryption chain compliant
with NIST FIPS PUB 197 across two complementary paradigms: pure functional
algebraic modeling in Haskell and system-level performance engineering in C.&lt;/p&gt;
&lt;h2 id=&#34;architecture--highlights&#34;&gt;Architecture &amp;amp; Highlights
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Four-Layer Algebraic Modeling in Haskell&lt;/strong&gt;: Strictly hierarchical, acyclic
module architecture built via polymorphic typeclasses (&lt;code&gt;Anneau&lt;/code&gt; with explicit
algebraic subtraction &lt;code&gt;sub&lt;/code&gt;, and &lt;code&gt;Corps&lt;/code&gt; with &lt;code&gt;inv&lt;/code&gt;). Instantiates prime
fields \(\mathbb{Z}/2\mathbb{Z}\) (&lt;code&gt;Z2.hs&lt;/code&gt;) and \(\mathbb{Z}/3\mathbb{Z}\)
(&lt;code&gt;Z3.hs&lt;/code&gt;) to prove characteristic-independent genericity, generic polynomial
rings \(K[X]\) with canonical normalization and Euclidean division (&lt;code&gt;de_pol&lt;/code&gt;
in &lt;code&gt;Polynome.hs&lt;/code&gt;), the Galois field
\(\text{GF}(2^8) \simeq (\mathbb{Z}/2\mathbb{Z}) [x]/(x^8+x^4+x^3+x+1)\)
(&lt;code&gt;GF28.hs&lt;/code&gt;), and the tail-recursive Extended Euclidean algorithm with monic
Bézout normalization (&lt;code&gt;inv_p&lt;/code&gt; in &lt;code&gt;Euclide.hs&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Full NIST FIPS 197 Engine &amp;amp; Dynamic S-Box&lt;/strong&gt;: Models 32-bit state columns
inside the non-integral quotient ring \(\text{GF}(2^8) [X]/(X^4+1)\) (&lt;code&gt;GF28X&lt;/code&gt;),
allowing &lt;code&gt;mixColumns&lt;/code&gt; and &lt;code&gt;invMixColumns&lt;/code&gt; to be expressed as single modular
polynomial multiplications. Computes &lt;code&gt;subBytes&lt;/code&gt; and &lt;code&gt;invSubBytes&lt;/code&gt; dynamically
by composing \(\text{GF}(2^8)\) inversion with affine transformations modeled
as polynomial multiplications in \(\mathbb{F}_2[X]/(X^8+1)\) (alongside a
static lookup alternative in &lt;code&gt;SBox.hs&lt;/code&gt;). Supports &lt;strong&gt;AES-128&lt;/strong&gt; (10 rounds, 44
words), &lt;strong&gt;AES-192&lt;/strong&gt; (12 rounds, 52 words), and &lt;strong&gt;AES-256&lt;/strong&gt; (14 rounds, 60
words), plus automated C array code generation (&lt;code&gt;export_key&lt;/code&gt;, &lt;code&gt;export_state&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Automated GHCi Verification &amp;amp; NIST Test Vectors&lt;/strong&gt;: Five bottom-up GHCi test
suites (&lt;code&gt;tests_complets.ghci&lt;/code&gt;) verifying ring/field axioms, formal Bézout
identities over \(\mathbb{F}_2[X]\) and \(\mathbb{F}_3[X]\), round-by-round
intermediate state matrices (NIST Appendices A &amp;amp; B), and full multi-key
round-trip encryption/decryption (Appendix C).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;C Implementation, Block Modes &amp;amp; Shannon Entropy&lt;/strong&gt;: Contiguous-memory C
engine (&lt;code&gt;AES_en_c/&lt;/code&gt;) implementing both direct &lt;code&gt;InvCipher&lt;/code&gt; and &lt;code&gt;EqInvCipher&lt;/code&gt;
(&lt;em&gt;Equivalent Inverse Cipher&lt;/em&gt;, solving row/column key-schedule transposition
via &lt;code&gt;InvMixColumns_eq&lt;/code&gt;), &lt;strong&gt;ECB&lt;/strong&gt; and &lt;strong&gt;CBC&lt;/strong&gt; block cipher modes with strict
&lt;strong&gt;PKCS#7&lt;/strong&gt; padding verification, and BMP pixel encryption (&lt;code&gt;Tux.bmp&lt;/code&gt;,
~890.7 KB). First-order Shannon entropy rises from &lt;strong&gt;\(3.939\) bits/byte&lt;/strong&gt;
(raw image) to &lt;strong&gt;\(6.995\) bits/byte&lt;/strong&gt; in ECB (retaining visual silhouette)
and &lt;strong&gt;\(7.9998\) bits/byte&lt;/strong&gt; (\(7.999785\)) in CBC (complete inter-block
diffusion).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Profiling, Algorithmic Factorization &amp;amp; GCC Assembly Tuning&lt;/strong&gt;: Call-graph
profiling with &lt;strong&gt;Valgrind (&lt;code&gt;Callgrind&lt;/code&gt;)&lt;/strong&gt; and &lt;strong&gt;&lt;code&gt;KCachegrind&lt;/code&gt;&lt;/strong&gt; identified
\(&gt;213\text{M}\) redundant &lt;code&gt;xtime()&lt;/code&gt; calls inside &lt;code&gt;InvMixColumns&lt;/code&gt; and costly
per-block &lt;code&gt;KeyExpansion&lt;/code&gt; recomputation. Precomputing powers
(\(x \cdot s_i, x^2 \cdot s_i, x^3 \cdot s_i\)) reduced &lt;code&gt;InvMixColumns&lt;/code&gt; to 12
&lt;code&gt;xtime()&lt;/code&gt; calls per column (a &lt;strong&gt;6×&lt;/strong&gt; reduction to \(35.5\text{M}\) calls,
boosting decryption throughput &lt;strong&gt;3.52×&lt;/strong&gt;). Subsequent &lt;strong&gt;GCC (&lt;code&gt;-O0&lt;/code&gt; to &lt;code&gt;-O3&lt;/code&gt;)&lt;/strong&gt;
optimization analysis via &lt;code&gt;objdump -M intel -dS&lt;/code&gt; (register allocation,
function inlining, \(Nb=4\) loop unrolling, auto-vectorization) achieved
&lt;strong&gt;25.85 MB/s&lt;/strong&gt; in encryption (\(0.036\text{ s}\)) and &lt;strong&gt;23.66 MB/s&lt;/strong&gt; in
decryption (\(0.039\text{ s}\), a &lt;strong&gt;5.4×&lt;/strong&gt; speedup over &lt;code&gt;-O0&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;technologies&#34;&gt;Technologies
&lt;/h2&gt;&lt;p&gt;&lt;code&gt;Haskell&lt;/code&gt; · &lt;code&gt;C&lt;/code&gt; · &lt;code&gt;Abstract Algebra &amp;amp; GF(2⁸)&lt;/code&gt; · &lt;code&gt;AES-128/192/256 (FIPS 197)&lt;/code&gt; ·
&lt;code&gt;ECB / CBC &amp;amp; PKCS#7&lt;/code&gt; · &lt;code&gt;Shannon Entropy&lt;/code&gt; · &lt;code&gt;Valgrind / KCachegrind&lt;/code&gt; ·
&lt;code&gt;GCC &amp;amp; x86 Assembly&lt;/code&gt; · &lt;code&gt;LaTeX&lt;/code&gt;&lt;/p&gt;
&lt;h2 id=&#34;technical-report--documentation&#34;&gt;Technical Report &amp;amp; Documentation
&lt;/h2&gt;&lt;p&gt;The complete 31-page technical specification and performance report (&lt;em&gt;PX222
Maths/Info – Implémentations d’AES en Haskell et en C&lt;/em&gt;, authored in LaTeX by
Jamyson Vetter and &lt;a class=&#34;link&#34; href=&#34;https://github.com/hiiiiiiiiiboux&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;Siméon Studer&lt;/a&gt;, March –
June 2026) covers the algebraic proofs, module dependency graphs, NIST
validation benches, ECB/CBC entropy experiments, KCachegrind call graphs, and
x86 assembly benchmarks.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;📥 &lt;strong&gt;&lt;a class=&#34;link&#34; href=&#34;https://jamyvetter.net/docs/Projet_AES_Haskell_C.pdf&#34; &gt;Download Technical Report – Implémentations d’AES en Haskell et en C (PDF)&lt;/a&gt;&lt;/strong&gt;
&lt;em&gt;(PDF, 31 pages, 2.3 MB)&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;🔗 &lt;strong&gt;&lt;a class=&#34;link&#34; href=&#34;https://github.com/jamyvetter/aes-cryptography-haskell-c&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;GitHub Repository (Haskell &amp;amp; C Source Code)&lt;/a&gt;&lt;/strong&gt;
&lt;em&gt;(Full source code, GHCi test benches, and C benchmarks)&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://jamyvetter.net/projects/&#34; &gt;← Back to Projects&lt;/a&gt;&lt;/p&gt;
</description>
        </item>
        <item>
        <title>Arduino – Autonomous Greenhouse</title>
        <link>https://jamyvetter.net/projects/arduino-greenhouse/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://jamyvetter.net/projects/arduino-greenhouse/</guid>
        <description>&lt;p&gt;A paired engineering project completed at Grenoble INP – Esisar (June 2025). The
mission was to design and construct a functional, fully autonomous greenhouse
prototype.&lt;/p&gt;
&lt;h2 id=&#34;architecture--highlights&#34;&gt;Architecture &amp;amp; Highlights
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Sensor Acquisition&lt;/strong&gt;: Real-time monitoring of environmental parameters
including ambient temperature, soil humidity, and luminosity.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Automated Actuation&lt;/strong&gt;: Autonomous regulation of interior conditions via
motorized ventilation louvers and threshold-driven irrigation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Renewable Energy&lt;/strong&gt;: Powered by photovoltaic solar panels with integrated
battery regulation.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;technologies&#34;&gt;Technologies
&lt;/h2&gt;&lt;p&gt;&lt;code&gt;Arduino&lt;/code&gt; · &lt;code&gt;C/C++&lt;/code&gt; · &lt;code&gt;Sensors &amp;amp; Actuators&lt;/code&gt; · &lt;code&gt;Solar Power&lt;/code&gt;&lt;/p&gt;
&lt;h2 id=&#34;technical-report--documentation&#34;&gt;Technical Report &amp;amp; Documentation
&lt;/h2&gt;&lt;p&gt;The complete 23-page technical specification report (&lt;em&gt;PX112 Électronique:
Cahier des charges d’une serre intelligente à base de microcontrôleur Arduino®&lt;/em&gt;,
authored in LaTeX by Jamyson Vetter and Julien Falquès, June 2025) covers the
complete electronic design, sensor calibration curves, schematic diagrams, and
autonomous regulation algorithms.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;📥 &lt;strong&gt;&lt;a class=&#34;link&#34; href=&#34;https://jamyvetter.net/docs/Projet_Serre_Arduino.pdf&#34; &gt;Download Technical Report (PDF)&lt;/a&gt;&lt;/strong&gt; &lt;em&gt;(PDF, 23 pages, 1.6 MB)&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://jamyvetter.net/projects/&#34; &gt;← Back to Projects&lt;/a&gt;&lt;/p&gt;
</description>
        </item>
        <item>
        <title>Othello Tournament AI Engine in C</title>
        <link>https://jamyvetter.net/projects/othello-ai-c/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://jamyvetter.net/projects/othello-ai-c/</guid>
        <description>&lt;p&gt;A paired engineering project completed at Grenoble INP – Esisar (1er cycle / 2A,
PXSI &lt;code&gt;PX221-Info&lt;/code&gt;, &lt;code&gt;CS221&lt;/code&gt; C Systems &amp;amp; Algorithmics, December 2025 – January
2026) by &lt;a class=&#34;link&#34; href=&#34;https://github.com/jamyvetter&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;Jamyson Vetter&lt;/a&gt; and
&lt;a class=&#34;link&#34; href=&#34;https://github.com/hiiiiiiiiiboux&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;Siméon Studer&lt;/a&gt;. Developed iteratively using
an &lt;strong&gt;Agile SCRUM&lt;/strong&gt; methodology across five incremental sprints (&lt;code&gt;US1&lt;/code&gt;–&lt;code&gt;US5&lt;/code&gt;) to
compete on a real-time referee server during the Esisar AI tournament.&lt;/p&gt;
&lt;h2 id=&#34;architecture--highlights&#34;&gt;Architecture &amp;amp; Highlights
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;64-Bit Bitboard Engine&lt;/strong&gt;: Dual &lt;code&gt;uint64_t&lt;/code&gt; bitboards (&lt;code&gt;noir&lt;/code&gt;, &lt;code&gt;blanc&lt;/code&gt;)
represent the \(8 \times 8\) board directly in CPU registers. Legal move masks
(&lt;code&gt;coups_possibles&lt;/code&gt;) and directional disc captures across all 8 axes execute
without board iteration via bitwise shifts, edge-wrap masks (&lt;code&gt;NOT_A_FILE&lt;/code&gt;,
&lt;code&gt;NOT_H_FILE&lt;/code&gt;), and GCC hardware intrinsics (&lt;code&gt;__builtin_popcountll&lt;/code&gt;,
&lt;code&gt;__builtin_ctzll&lt;/code&gt;) compiled with &lt;code&gt;-O3 -march=native -flto&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Iterative Deepening Minimax &amp;amp; Alpha-Beta Pruning&lt;/strong&gt;: Time-bounded depth-first
Minimax search (&lt;code&gt;minimax_hash_temporel&lt;/code&gt;, calibrated to a strict 14.1-second
per-move server timeout budget) combining Alpha-Beta cutoffs with cached
best-move ordering to maximize search depth dynamically across game stages.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Zobrist Hashing, Transposition Table &amp;amp; Opening Book&lt;/strong&gt;: Incremental 64-bit
XOR Zobrist hashing (&lt;code&gt;ZOBRIST_TABLE[64][2]&lt;/code&gt;, &lt;code&gt;ZOBRIST_TOUR&lt;/code&gt;) indexes a
\(2^{20}\)-entry (~1M entries) transposition table (&lt;code&gt;TT_Entry&lt;/code&gt;) storing exact
evaluations, lower/upper Alpha-Beta bounds, and best moves, paired with a
Zobrist-keyed opening book (&lt;code&gt;opening_book&lt;/code&gt;) handling early-game transpositions.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Genetic Algorithm Heuristic Tuning&lt;/strong&gt;: Offline evolutionary training
framework (&lt;code&gt;algoGenetique_etu.c&lt;/code&gt;) evolving populations of 100 agents via
tournament selection, uniform crossover, elitism, and variance-adaptive
mutation to optimize phase-interpolated evaluation weights across 10 symmetric
board-region masks (&lt;code&gt;c0&lt;/code&gt;–&lt;code&gt;c9&lt;/code&gt; rewarding corners and penalizing X/C-squares),
move mobility, and disc parity.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Agile SCRUM Sprints (&lt;code&gt;US1&lt;/code&gt;–&lt;code&gt;US5&lt;/code&gt;) &amp;amp; Referee Server Integration&lt;/strong&gt;: Built
incrementally from local 2-player mechanics (&lt;code&gt;US1&lt;/code&gt;) and automated binary
state-transition replay tests (&lt;code&gt;US2&lt;/code&gt; on &lt;code&gt;savedGames_&lt;/code&gt;) to local Human-vs-AI
play (&lt;code&gt;US4&lt;/code&gt;) and networked tournament play (&lt;code&gt;US3&lt;/code&gt;/&lt;code&gt;US5&lt;/code&gt; integrating the
&lt;code&gt;userNetwork.h&lt;/code&gt; / &lt;code&gt;libothello.so&lt;/code&gt; referee API).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;technologies&#34;&gt;Technologies
&lt;/h2&gt;&lt;p&gt;&lt;code&gt;C (C99, GCC Intrinsics, LTO)&lt;/code&gt; · &lt;code&gt;64-Bit Bitboards&lt;/code&gt; ·
&lt;code&gt;Minimax &amp;amp; Alpha-Beta Pruning&lt;/code&gt; · &lt;code&gt;Zobrist Hashing &amp;amp; Transposition Tables&lt;/code&gt; ·
&lt;code&gt;Genetic Algorithms&lt;/code&gt; · &lt;code&gt;Agile SCRUM (US1–US5)&lt;/code&gt;&lt;/p&gt;
&lt;h2 id=&#34;source-code--documentation&#34;&gt;Source Code &amp;amp; Documentation
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;🔗 &lt;strong&gt;&lt;a class=&#34;link&#34; href=&#34;https://github.com/jamyvetter/othello-ai-c&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;GitHub Repository (Engine, Genetic Trainer &amp;amp; US1–US5 Suite)&lt;/a&gt;&lt;/strong&gt;
&lt;em&gt;(Full C source code, bitboard engine, evolutionary trainer, and replay
benchmarks)&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://jamyvetter.net/projects/&#34; &gt;← Back to Projects&lt;/a&gt;&lt;/p&gt;
</description>
        </item>
        <item>
        <title>PersonalClaw – Modular Personal AI Agent</title>
        <link>https://jamyvetter.net/projects/personalclaw/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://jamyvetter.net/projects/personalclaw/</guid>
        <description>&lt;p&gt;PersonalClaw is a modular, voice-enabled personal AI assistant built around
Gemini Live and local Windows automation. It combines a mobile web interface, a
Node.js voice gateway and specialized CLI tools for selected tasks and data
workflows.&lt;/p&gt;
&lt;h2 id=&#34;architecture--technical-highlights&#34;&gt;Architecture &amp;amp; Technical Highlights
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Real-Time Voice Interaction&lt;/strong&gt;: Bidirectional voice pipeline combining a
mobile PWA, AudioWorklets, and WebSockets with a Node.js gateway interfaced
with the &lt;strong&gt;Gemini Live API&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Local Tool Execution &amp;amp; &amp;ldquo;Claws&amp;rdquo;&lt;/strong&gt;: Modular automation tools (&amp;ldquo;Claws&amp;rdquo;)
implemented with Node.js, PowerShell and Playwright. Selected tools are
exposed through Gemini Live Function Calling in the voice interface and
through Antigravity Skills in desktop workflows.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Metadata Hub&lt;/strong&gt;: A local SQLite-based data management system designed for
music metadata reconciliation, cross-referencing sources, and evaluating
data reliability.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Infrastructure &amp;amp; Experiments&lt;/strong&gt;: Local gateway service with experimental
remote access through Cloudflare Tunnel.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;technologies&#34;&gt;Technologies
&lt;/h2&gt;&lt;p&gt;&lt;code&gt;Gemini Live API&lt;/code&gt; · &lt;code&gt;Node.js (Express, WebSockets)&lt;/code&gt; · &lt;code&gt;AudioWorklets&lt;/code&gt; ·
&lt;code&gt;PowerShell&lt;/code&gt; · &lt;code&gt;Playwright&lt;/code&gt; · &lt;code&gt;SQLite&lt;/code&gt; · &lt;code&gt;Antigravity Skills&lt;/code&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://jamyvetter.net/projects/&#34; &gt;← Back to Projects&lt;/a&gt;&lt;/p&gt;
</description>
        </item>
        
    </channel>
</rss>
