J
Olive CSS generates a utility-class stylesheet from a Guile program. You write the class names you already know from Tailwind, and one plain CSS file comes out. I wrote it because I was tired of installing a JavaScript toolchain to produce a file whose entire job is to contain CSS. The generator is a Guile library, so a build is a function call with the colours, breakpoints and variants you want, and everything between the palette and the stylesheet is code I can read. Tailwind’s syntax, a Lisp…
J
sift is one Guile program: a formatter, a linter and a language server for Scheme, Racket, Emacs Lisp and Common Lisp. It has 95 rules, formatting is idempotent, and it runs in your editor, your terminal, CI, a container and a browser tab. I’ve been writing Lisp for a few years, and for most of that time my tooling was a pile of workarounds. Two editors disagreed about indentation. CI formatted the code one way and my editor another. A compiler warning was prose: no stable code, no severity, no…
J
OrgWebAlchemy is a Guile library that parses Org mode with a Parsing Expression Grammar and renders it to HTML, Markdown, or SXML. I wrote an earlier article about why a PEG is the right tool for Org: the grammar describes the language, the parser builds a tree, the renderers turn that tree into output. This is the follow-up, and it turned into a harder question than I expected: how do you make a parser fast without making it wrong? I didn’t want something that’s quick on my test files and…
J
I’ve been slowly turning my Emacs config into something I actually enjoy using, not just something that works, and folding was the last place where that wasn’t true. Every mode had its own idea of what folding is: treesit-fold in Tree-sitter modes, Hideshow in the Lisp-ish ones, Outline in everything that resembles text, Org with its own invisible text that no one else’s commands can undo. So every buffer had different keys, a different look, and worst of all different performance…
J
Ports and adapters, also called hexagonal architecture, is the pattern I reach for when a system has rules worth protecting, and the pattern I refuse when it has none. This article is the map between those two cases. If you have read Hexagon of Doom, you know the other half of the argument: on a small service with a thin domain, the hexagon is pure indirection, and the indirection costs more than the boundary buys. On the tech radar, ports and adapters now sits in Adopt, with exactly that…
J
Hi everyone. In this blog post I want to take you in an adventure of parsing Org mode with Parsing Expression Grammars (PEG) in Guile Scheme (ice-9 peg) and converting to HTML (via SXML): OrgWebAlchemy. I wanted to share something with you all that I’ve been working on for a while. It all started with some naive regular expressions to parse Org mode content, but I pretty quickly realized I needed something smarter than that to get to where I want to. It’s taken a while but I am finally more…
J
lambdock: quest for the eternal dock # This is the story of lambdock: https://codeberg.org/jjba23/lambdock lambdock is a modern, hyper-hackable, Wayland-native desktop dock application (C and Guile Scheme + GTK4) w/ REPL. As a heavy computer user, spending most of my day enjoying digital life, and as an eye-candy enjoyer and workflow optimization afficionado, I have long dreamt of the ultimate desktop dock. Here’s the story behind lambdock , the Wayland-native beast with infinite hackability,…
J
When Emacs 29 made eglot the built-in, default Language Server Protocol (LSP) client, many of us rejoiced. It is lightweight, fast, adheres strictly to Emacs philosophy, and doesn’t try to reinvent the wheel. However, being minimal means that when an LSP server steps out of line or acts quirky, eglot doesn’t provide a million customizable toggles to fix it out-of-the-box. Instead, it expects you to leverage the power of Emacs Lisp. In this post, I will dissect my production-ready eglot setup…
J
The infinitely extensible command runner, control plane and project automator à la Make (Guile Scheme - Lisp) Find the project at https://codeberg.org/jjba23/maak Most build tools invent their own limited domain-specific language. Maak embraces the powerful λ Lisp. This also means your code is solid, reliable and robust for the next 50 years at least. If you like my work, please support me by buying me a cup of coffee ☕ so I can continue with a lot of motivation. Core features # Instead of…
J
By compiling GNU Emacs directly from the upstream Savannah repositories, you unlock the absolute bleeding edge of the extensible, self-documenting operating system disguised as a text editor. True autonomy over your computing environment sometimes involves building your own tools and customizing many programs. We start by cloning the live development branch straight from the GNU project’s forge. # maker sure to have Git sudo apt update sudo apt upgrade sudo apt install git cd ~/Fork # or…
J
Table of Contents Basic points of style More points of style Ordering your text Code examples Metaphors English usage Based largely on comments by Ron Hale-Evans, Robert J. Chassell, and Richard M. Stallman. This guide collects the habits that make technical writing clear and useful. It applies to manuals, tutorials, READMEs, and blog posts alike. Basic points of style # Show, don’t just tell. Use plenty of examples, but avoid being overly redundant. Move slowly. Do not impose too much of a…
J
A structured logging framework for Guile Scheme “Scriba is a structured logging library for GNU Guile that prioritizes flexibility and observability. It provides modular log routing, formatting, and filtering, allowing developers to generate human-readable console logs during development and machine-readable JSON logs for production environments. Key features include an auto-logger configured via environment variables, dynamically scoped log contexts using Scheme parameters, ahead-of-time log…
J
We are uncovering better ways of developing software by doing it and helping others do it. Find the original manifesto here. Through this work we have come to value: Individuals and interactions beat processes and tools Working software beats comprehensive documentation Customer collaboration beats contract negotiation Responding to change beats following a plan That is, while there is value in the items on the right, we value the items on the left more. Principles behind the Agile Manifesto #…
J
There is a persistent tension in software engineering between the beautiful, mathematically pure ideal of a program, and the messy, pragmatic reality of just getting things done. Over my career, I’ve explored the depths of both extremes in an attempt to find my personal sweet spot for hacking. Before you sharpen your keyboards and start a flame war over the title, let me point out that I haven’t written this post to talk bad about Haskell, or any other tool for that matter. In fact, I love…
J
Implementing the Repository Pattern with Hygienic Macros in Scheme Hi everyone! I’ve been working on a new approach for the data layer of my projects lately, and I’d love to poke your brains and get some feedback. What is the repository pattern? # Repository Pattern is an architectural software design pattern that decouples the data layer of a program with the core logic and domain. It brings separation of concerns as your business logic doesn’t know where the data lives and asks the…
J
The “Hero” Trap # Every engineering team has that one “hero.” You know the one: the 3 AM incident response god. They dive into a production dumpster fire, pull a rabbit out of a hat, and somehow bring the system back online. We love them for it. We give them the shout-outs in Slack, the fat bonuses, and the “Senior Staff” titles because they’re the “go-to” person when everything breaks. But by making them the main character, we’re lowkey ensuring our culture stays a mess. Visible Heroes vs.…
J
I have worked at several companies doing Software Engineering and I feel like I’ve seen the best and the worst. From aging systems containing millions of lines of untested code, built on frameworks past their expiry date, to repulsive code and deployment constructs that stemmed from disagreements, bad communication, and terrible processes, I’ve seen it all, ticking technical time bombs, and all, but one specific case really illustrated the cultural rot for me. I once worked at a big furniture…
J
A minimal, declarative setup for productive Rust hacking on Emacs + Guix Introduction # I noticed there was a blatant lack of resources and documentation on this particular setup. So I rolled up my sleeves and wrote this article, which hopefully you find useful. Rust is a modern systems programming language with a strong focus on safety and performance. In this article, I want to show you how to integrate it with our beloved Emacs text editor power-house, and the great GNU Guix package manager.…
J
Abstract # Introducing Scheme # Scheme is a classic programming language in the Lisp family. It emphasizes functional programming and domain-specific languages but adapts to other styles. Known for its clean and minimalist design, Scheme is one of the longest-lived and best-studied dynamic languages, and has many fast and portable implementations. In Scheme https://www.scheme.org/ This paper’s focus # This paper explores the practical application of Scheme (Guile Scheme implementation) in the…
J
Behold the holy Sexp (sqrt (+ 14 5 3 1)) I have recently reached new heights in declarative configurations of operating systems, programs and my workflow ⚙️ and development. The universe blessed me and the GNU inspired me and I am configuring most of my life and projects with several variants of Lisp and dialects. This includes things like: operating system (Guix), project management, websites, curriculum vitae, Emacs, Qutebrowser, etc. Configurability # One of the things I will achieve among…
J
In Linux, you can change the maximum amount of open files. You may modify this number by using the ulimit command. It grants you the ability to control the resources available for the shell or process started by it. Read Also: Set Linux Running Processes Limits on Per-Userl Level In this short tutorial we will show you how to check your current limit of open files and files descriptions, but to do so, you will need to have root access to your system. First, Lets see how we can find out the…
J
The FREE stack, ring by ring — what I trust, and inside each ring, the layers it lands in. Adopt Adopt Adopt Adopt Adopt Adopt Trial Trial Trial Trial Trial Trial Assess Assess Assess Assess Assess Assess ️ Deprecate ️ Deprecate ️ Deprecate ️ Deprecate ️ Deprecate ️ Deprecate Guile Scheme and Lisps in general — Adopt ring, Languages Guile Scheme and Lisps in… Emacs Lisp — Adopt ring, Languages Emacs Lisp JavaScript (vanilla) — Adopt ring, Languages JavaScript (vanilla) Rust — Adopt ring,…
J
Disclaimer: This article reflects personal experiences and gripes within specific team environments. Your mileage may vary, but the warning against premature or redundant abstraction stands. When “Clean Code” Becomes “Complicated Code” # Hexagonal Architecture, often called Ports and Adapters (P&A), is lauded for its promise of decoupling the core business logic (the “domain”) from external concerns (databases, UIs, APIs). In theory, it’s a beautiful solution for creating adaptable, testable…
J
Git Riddance - for Good Riddance! Introduction # git-riddance is an Emacs package available at ( https://codeberg.org/jjba23/git-riddance.el) that will help you completely destroy the Git history of your desired directory, and allow you to start a new one with 1 commit, effectively obliterating other history in that branch. Licensing Git Riddance is licensed under the GNU General Public License v3 or newer and is completely free software. Installing # This package is not (yet) available in…
J
My brother from another mother, Mètsàtron Sucurí Jibōia did some astral and digital readings about me (Joe) Lots of his insights deeply resonate with me. Some might be yet to be uncovered. Thanks bud! Mètsàtron’s astral analysis of Joe’s being # Your astrology is giving me goose bumps! Planet Sign Notes ☀️Sun Capricorn︎ Sacred Architect of Joy. The master builder of systems, structured visionary, disciplined. Systemic creativity, devoted builder of beauty. ☽ Moon Virgo Embodied Priest of…
J
Table of Contents Common Formatting Headers Emphasis (Bold and Italic) Lists Unordered Lists (bullet points) Ordered Lists (numbered) Links and Images Links Images Other Useful Elements Blockquotes Horizontal Rule Code Blocks On editors Markdown is a simple, lightweight markup language used for formatting plain text. It’s designed to be easy to read and write, and it can be converted into HTML, PDF, LaTEX and many other formats. It’s a very popular format for writing documentation, blog posts,…
J
I want to start by thanking the great NalaGinrut that wrote an article on this topic, which I adapted to explain my experience with Scheme and Lisps. What if I told you one of the oldest high-level programming languages is also one of the most advanced? A language so flexible and powerful, that really lets your ideas flow and super-boosts expressiveness.. In the vast universe of programming languages, most follow a familiar set of rules. There’s a clear line between the code you write and the…
J
Original article by Joe Marshall Lisp is not the most popular language. It never was. Other general purpose languages are more popular and ultimately can do everything that Lisp can (if Church and Turing are correct). They have more libraries and a larger user community than Lisp does. They are more likely to be installed on a machine than Lisp is. Yet I prefer to program in Lisp. I keep a Lisp REPL open at all times, and I write prototypes and exploratory code in Lisp. Why do I do this? Lisp…
J
Original article by Matthias Endler I have met a lot of developers in my life. Lately, I asked myself: “What does it take to be one of the best? What do they all have in common?” In the hope that this will be an inspiration to someone out there, I wrote down the traits I observed in the most exceptional people in our craft. I wish I had that list when I was starting out. Had I followed this path, it would have saved me a lot of time. Read the Reference # If there was one thing that I should…
J
After using Sway as my daily Wayland compositor for quite some time, I recently made the switch to Hyprland. The decision wasn’t made lightly, as Sway, especially with the SwayFX fork, served me well. However, Hyprland’s growing community and advanced feature set made it an attractive choice. Why Hyprland? # The main reasons for switching are: Community Size: Hyprland has a much larger and more active community. This means more contributions, faster development, and better support. Advanced…