From aartaka.me
All Lisp Indentation Schemes Are Ugly
1 1
Indentation styles are a hot topic in every language. So let's see how Lisps do indentation! Uuuuuuugh!
7h ago
From aartaka.me
0 0
C code might be ugly at times. But it can also be pretty! Here are some features and snippets with pretty C code.
on Jan 5
From aartaka.me
5 (Wrong) Regex To Parse Parentheses
0 0
Regex are powerful. To the point you may try to parse HTML or Lisp with it. A doomed enterprise, right? But it's possible, actually.
on Jan 5
From aartaka.me
0 0
ed is too simple to be customizable, right? Maybe it is not customizable, but the environment around it is!
on Dec 28
From aartaka.me
Procnames Start Lines. But Why?
0 0
Putting procedure names at column 0 is a widespread convention in C codebases. But the exact reasons are not really elaborated anywhere. We just do that. So I decided to make my own summary for why it's a thing.
on Dec 23
From aartaka.me
Write Hypertext, not Plaintext
0 0
Living a plaintext-only life is tempting. But the further one goes with plaintext, the more they re-invent Markdown or HTML. Let's just give up and live hypertext life instead.
on Dec 22
From aartaka.me
Using ed(1) as My Static Site Generator
0 0
You can tell I'm an ed fan. Not only do I use it for esoteric challenges or compiler building, it also is my new SSG (Static Site Generator.) So here's how it works:
on Dec 11
From aartaka.me
0 0
We're all suffering with attention deficit. So let's finally write like we do.
on Dec 1
From aartaka.me
Generating This Post Without LLMs
0 0
Text generation was a lot of fun before ChatGPT—it was chaotic and deranged. I written this post using the old text generation techniques. You'll like how absurd it turned out, I promise!
on Nov 27
From aartaka.me
0 0
Printf (and the derivatives every language has) are a bane that should only be tolerated when printing floats. Otherwise, I beg you, use string interpolation or structured output.
on Nov 17
From aartaka.me
0 0
ed is a stupid simple text editor. sed is a nice streaming text processing tool. Why would one even want to use ed for anything, let alone for text processing if there's sed?
on Nov 13
From aartaka.me
Making Sense of Lambda Calculus 1: Ignorant, Lazy, and Greedy Evaluation
0 0
Lambda Calculus is a strong model for computation, but computing examples in it often feels off. In this post, I'm trying to understand how Lambda Calculus evaluation/reduction actually works.
on Nov 11
From aartaka.me
Making Sense of Lambda Calculus 0: Abstration, Reduction, Substitution?
0 0
Lambda Calculus is a fascinating idea, but it's not immediately obvious. In this post, I'm trying to understand and explain the basic terms used in Lambda Calculus.
on Nov 10
From aartaka.me
5 (Wrong) Regex To Parse Parentheses
0 0
Regex are powerful. To the point you may try to parse HTML or Lisp with it. A doomed enterprise, right? But it's possible, actually.
on Nov 4
From aartaka.me
Parameterized Procedures for Testing, Mocking, Plumbing
0 0
It's often the case that a functional (Scheme?) codebase needs to plug something into the computation. Here's one way to do that with almost no syntactic overhead.
on Oct 26
From aartaka.me
0 0
Pronouns are important. They are part of one's identity, after all. But what if one also identifies as a programmer? Regexes as pronoun listing!
on Oct 3
From aartaka.me
There Is No Such Thing As The Regex
0 0
Regular expressions seem to be quite coherent, right? This scary (.*[^}(]) symbol soup that only the select few can master.Except that there are at least half a dozen (slightly incompatible) varieties of this soup.Bon Appétit!
on Sep 12
From aartaka.me
A's Commit Messages Guide: Location, Action, Rationale
0 2
Commit messages are the critical thing you stare at often enough. So better make them informational and readable.
on Sep 1
From aartaka.me
Explaining Wisp Without Parentheses
0 0
Wisp is an indentation-sensitive syntax for Scheme. Its semantics are defined in terms of nested parentheses, though. But what if it was defined in other terms?
on Aug 24
From aartaka.me
Disroot Custom Domain Email Gotcha: Do Not Change the Settings!
0 0
I'm a happy Disroot custom domain email user now! Here's a small tip that helped me set things up after linking.
on Jul 31
From aartaka.me
I Want My Scrollbar Back (A 2-Minute Read)
0 0
The modern web is empowered by dynamic content loading. The modern reading is impoverished by it.
on Jul 12
From aartaka.me
0 0
I switched to Surf because of habit switch from distracted kitchen sinks to focused app-like web browsing.
on Jun 30
From aartaka.me
Making Sense of Lambda Calculus 3: Truth or Dare With Booleans
0 0
Booleans are simple and elegant in Lambda Calculus, but they take some getting used to. This post tries to explain LC booleans to at least myself.
on Jun 24
From aartaka.me
Prose vs. Tweet: How We Tell Stories
0 0
We always told stories. We always will. Though our stories fit into 140 chars now, which is both a blessing and a curse.
on Jun 24
From aartaka.me
0 0
Gemtext is a minimalist markup/hypertext format initially from Gemini network. It's intended to be a lightweight, easy to learn, and accessible language... But at least the latter is not true with the current state of things.
on Jun 5
From aartaka.me
Common Lisp Is Not a Single Language, It Is Lots
0 1
Lisp is an ambiguous category. But Common Lisp isn't, right? It's a restricted self-sufficient language, after all.
on May 23
From aartaka.me
Making Sense of Lambda Calculus 2: Numerous Quirks of Numbers
0 0
Lambda Calculus is extremely elegant, including in how it handles numbers. But this elegance often comes at the cost of understandability. This post goes through examples of arithmetics in Lambda Calculus to understand how they work.
on May 12
From aartaka.me
Guile Optimization Gotchas: There Is No Free Beer, Only Cheap
0 0
Optimizing Guile Scheme is not always obvious. This post is a collection of takeaways from optimizing a heavily numeric piece of code.
on Apr 24
From aartaka.me
0 0
TUI is an ambiguous term, meaning either of 'terminal' or 'text' user interface. The difference is even more pronounced now, with chat interfaces and assistive tech. So let's stop calling TUIs 'text' and call them 'terminal'—by their real name. Reserving 'text' for more appropriate conversational UIs.
on Mar 3
From aartaka.me
0 0
Lisp projects might be smaller and neater that other tech. But still, there are emergent patterns in any software.So here's an arbitrary list of design patterns I found in Lisp codebases.
on Jan 26
From aartaka.me
I Generated This Post With C Preprocessor
0 0
Yes, you can use C preprocessor as a website generator.
on Dec 5, 2023
From aartaka.me
0 0
C code might be ugly at times. But it can also be pretty! Here are some features and snippets with pretty C code.
on Nov 26, 2023
From aartaka.me
0 0
C code is scary. It's often hard to read and has lots of footguns. But it can get even uglier than you imagine. Lo and behold!
on Nov 5, 2023