Designing a Column-Major Matrix Class with Row-Major Multiplication Optimizations (CPU & GPU)
When I designed my C++ Matrix<T> class for Fulgurance, I deliberately chose a column-major memory layout (Fortran/Eigen style). It fits linear algebra…
🧮 Rebuilding the LU Decomposition and Benchmarking It Against My Own Determinant Algorithms
When I first started playing with determinant algorithms in C++, I wanted to really understand what happens behind Eigen’s .determinant() call. So…
Building a New Determinant Engine — An Iterative Combinatorial Approach
One morning, I decided to compute a determinant from scratch — no recursion, no Gaussian elimination, no library shortcuts. I wanted to…
Fixing bslib Tabs That Reset Inputs in Shiny
The problem: When using bslib::navset_tab(), each tab panel is dynamically created and destroyed as you switch between them. This means that any…
🧩 Understanding the Architecture of My Shiny Log Analyzer App
1. Overall Structure This app (repo) follows the classic three-file Shiny structure: Copy global.R ui.R server.R Each file plays a distinct role…
🧠 From Source to Shiny: Running Modern R on Debian with NGINX and HTTPS
1. Introduction I recently deployed an R Shiny app on my Debian server, but hit a wall early: Debian 11 ships R…
Exploring the Power of Metaprogramming in Rust
🦀 Metaprogramming in Rust: Exploring macro_rules! Power Rust offers one of the most expressive and hygienic metaprogramming systems in modern languages. Through…
📊 Building a Flexible Access Log Analyzer in R
In this tutorial, we’ll walk through the design and implementation of a small but powerful R script that analyzes web server access…
🐴 The Knight’s Tour in Haskell — From Brute Force to Warnsdorff’s Heuristic
One of the most fascinating and ancient problems in recreational mathematics is the Knight’s Tour — the challenge of moving a chess…
Checking Graph Bipartiteness in Haskell
One of the most elegant problems in graph theory is determining whether a given graph is bipartite. A bipartite graph is one…
Solving the Eight Queens Problem in Haskell
The Eight Queens Problem is one of the most famous challenges in computer science and mathematics. The goal is simple to state…
Exploring Reachability in Directed Graphs with Haskell
Exploring Reachability in Directed Graphs with Haskell Graphs are a natural way to represent systems of connections — from flight networks to…
How Do They Display Trees — Three Layout Algorithms in Haskell
When you visualize data structures in a GUI — such as decision trees, syntax trees, or even neural networks — one key…
Constructing All Spanning Trees in Haskell (Problem 83)
In graph theory, a spanning tree of a connected graph is a subgraph that includes all the nodes of the original graph,…
Graph Isomorphism in Haskell (Problem 85)
Graph isomorphism is one of the classic challenges in graph theory and computer science. It involves determining whether two graphs have the…
Introduction to Graph Theory in Haskell
Graph theory is one of the most fascinating areas of computer science and mathematics, forming the foundation for countless real-world applications: from…
Implementing Huffman Encoding in Haskell
Huffman encoding is one of the foundational algorithms in data compression — elegant, efficient, and entirely based on simple mathematical principles. It…
Building a Custom Cartesian Product Function in Haskell
In this project, I set out to build my own version of the sequence function in Haskell — a function that computes…
The Goldbach Conjecture and Its Recursive Implementation in Haskell
The Goldbach Conjecture is one of the oldest unsolved problems in mathematics. It states that every even integer greater than 2 can…
Understanding Recursion Through Combinations, Permutations, and Trees in Haskell
Recursion often feels like a mysterious concept when you first encounter it — until you realize that it’s not about doing something…
Finding the Optimal Path in Haskell: A Recursive Exploration
I will explain from my point of view the solution to the following problem https://learnyouahaskell.com/functionally-solving-problems#heathrow-to-london, we explore a recursive approach to solving…
Understanding the Haskell Type System: From Typeclasses to Data Structures
In this tutorial — inspired by my video “Structure de données et système de types en Haskell” — we dive into the…
Understanding Parenthesis Tokenization in Haskell
Context Before building a full arithmetic calculator in Haskell, there was one key challenge I needed to solve first: understanding and tokenizing…
Building a Recursive Parenthesis-Based Calculator in Haskell
Context In this project, we build a complete calculator in Haskell that can evaluate normal arithmetic expressions written in parenthesis notation (e.g.…
Building a Tiny Reverse Polish Notation (RPN) Calculator in Haskell
In this project, we’ll build a small expression evaluator using Reverse Polish Notation (RPN) — also called postfix notation. The idea is…
Learning Haskell with Weird Goals
Sometimes, the best way to learn a language is by using a simple, even slightly “weird” goal as an excuse to explore…
Brute-forcing Pythagorean Triples with Haskell List Comprehensions (up to 100)
Introduction We want all integer solutions (a,b,c) to the equation a^2 = b^2 + c^2 with 0 < a < 100. This…
A Structured, Visual Algorithm for Determinants up to 5×5
1. Introduction Determinants are fundamental objects in linear algebra, yet direct computation beyond 3×3 can be tedious. This article presents a structured,…
Turning Blog HTML into RSS, the Low-Level Way (in C++)
Turning Blog HTML into RSS, the Low-Level Way (in C++) If you publish long-form posts on the web, you’ve probably felt the…
A New Way to Explore Your System on Linux
Introduction On Linux, productivity often comes from small but powerful tools. dmenu and rofi are great examples: minimalist application launchers that make…
Automating YouTube Video Imports into My Website with One Magic Bash Line
Introduction Over the past months I’ve been downloading my own YouTube videos with yt-dlp. It’s a fantastic tool for archiving, and I’ve…
Building My Own Parser in R - A Custom Syntax Experiment
Introduction This was one of my older projects, a little bit eccentric but very educational. I wanted to see if I could…
Building InFoEnd: An End-to-End Encrypted Chatroom in Go
Introduction InFoEnd is my first experiment with building a secure chatroom application in Go. The goal: create a real-time messaging system where…
Reimplementing diff in C++: A Minimalist Approach
Why Rebuild Something That Already Exists? The diff command is one of the cornerstones of the GNU/Linux ecosystem. It’s simple in appearance,…
Automatic Documentation for Any Codebase
Introduction When working with R, I loved how Roxygen lets you generate clean documentation directly from comments in your source code. But…
Reimplementing Cross-Validation for KNN in R (from Scratch)
Introduction After reimplementing K-Nearest Neighbors (KNN) from scratch, I wanted to take things a step further: build a cross-validation system entirely in…
Reimplementing K-Nearest Neighbors (KNN) from Scratch in R
Introduction As part of my exploration of machine learning fundamentals, I decided to reimplement classic algorithms from scratch instead of relying directly…
Optimizing the Exponential Function in Cherubin
Introduction Cherubin is my C++ library for computing very large numbers represented as strings. One of the hardest functions to implement efficiently…
Reimplementing the Cauchy Distribution in Fulgurance (C++ Statistics Library)
Introduction Fulgurance is my C++ statistics library where I reimplemented several probability distributions from scratch, including the Cauchy distribution. The goal of…
Cheating a Bit: Approximating atan, arccos, and arcsin in the Cherubin Library
Introduction This project is part of my Cherubin library — a C++ library for computing very large numbers represented as strings. Because…
SoundCutr: An Early Attempt at Voice Extraction in Audio Files
Introduction Think of this article as a small time capsule of my programming journey — proof that everyone starts somewhere, and that…
Implementing DataFrames in C++: A Custom Approach for High-Performance Data Manipulation
Introduction When working with data, Python and Pandas dominate the landscape. They provide an intuitive way to load, transform, and analyze datasets.…
How Haskell (and the Functional Mindset) Rewired the Way I Think About Code
Introduction I didn’t set out to “become a functional programmer.” I stumbled into Haskell after years of imperative and OOP work, mostly…
Building an HTTP Server in Rust Without a Framework
All code excerpts below are highlights of the full implementation. See the complete source on GitHub: julienlargetpiet/HTTP_Server. Why write your own server?…
Building an Encrypted Terminal Chatroom in C — A Personal Engineering Story
Introduction I built a tiny chatroom that runs entirely in the terminal, written in C, with all messages encrypted. This article is…
Validating JSON Syntax: A Conceptual Approach
Introduction In modern systems, JSON has become the de facto standard for exchanging structured data. Its popularity comes from its simplicity and…
Emulating Binary-Level Operations and Number Representations
Introduction At the heart of every computer lies a simple truth: everything is binary. Whether you are working with integers, floating-point numbers,…
Editing My YouTube Videos the Weird Way: With Nothing but ffmpeg
Introduction Most people edit their YouTube videos with slick GUIs: Premiere, DaVinci Resolve, Final Cut Pro, even OBS + Shotcut for the…
Unsolved problem !!!
FormalismConversion (Haskell) Statement and motivation (inspired from pb.93 of 99 Problems in Haskell) This problem originates from the motivation to find all…
Custom Encoding For Integers
Introduction Ok, so i had to encode a structured data, a positive integer in this case representing the space for the server…
Authentication Without Cookies
Context Recently, i've been programming a simple cloud webserver in Go. And of course, it is unavoidable when including accounts, how to…
Simple Compression Algorithm
Ghost in the Shell, 1995 Introduction I've just finished implementing a simple text compression algorithm in C++, i will talk about its…
Implement Core Operations
Ghost in the Shell, 1995 Introduction Addition Floating exponants Exponential Logarithm Introduction I have just finished developing a library for manipulating numbers…
Symetric Encryption Protocol
Introduction How i've implemented an original symetric encryption protocol with combinatorial mathematics repo Or download on this website as zip: zip It…
A ReGex Dialect
Introduction In this article i'm gonna present you a method to implement RegEx. Link: repo Or on this website: zip Before the…
An Original Transformation Engine
Introduction In this article i will introduce you, in short, how i've implemented transformation engine XSLT like from scratch (with C++). repo…