eval

Gert Goet

February 24
Β·
Pinned
Articles by tag

An overview of all articles sorted by tag.

Want this as well for your Polar-profile? Check out this article!

Tags: #Polar

eval

Gert Goet

February 1
Β·
Pinned
Let's write a templating library πŸ”Ž Part 1: lexing

...and learn some Clojure in the process! πŸ‘½

Tags: #Clojure

As I was recently preparing a chrome extension for release, I found that the templating library, of all code, was causing problems. Turned out that nunjucks, the templating library in question, uses eval under the hood for performance reasons (as do most other templating libraries). To limit the risk of malicious code being executed near very powerful browser API's, modern extensions can simply no longer rely on eval and eval-like constructs. Great policy...Γ‘nd cumbersome!

eval

Gert Goet

July 15
Frequent Flyers of the util-namespace

Tags: #Clojure, #macros

In my Clojure projects, the util-namespace is typically a drawer where helper-functions and macros end up that are A) very project-specific or that B) I like to think of as generically applicable.
That italicised part is important as not a lot of these helpers actually transfer to other projects.
But those that do (the "frequent flyers"), are the ones that I miss the instant I start a new project with a blank util-slate.

This article describes two such helpers that I keep copying from project to project: when-seq and whenp.
Let's dive in!

eval

Gert Goet

March 21
Named capturing groups in Clojure

Tags: #Clojure, #regex

The previous article, "A better regex experience", discussed some ways to make regular expressions more readable, namely commenting and using named capturing groups.

eval

Gert Goet

March 14
Tag your Polar articles 🏷️

I've been using Polar.sh now for over a month and I really like it so far.
As I expect to be publishing many more articles on a wide variety of topics, I'd thought it would be handy to tag them and allow readers to find articles on related topics. And so the idea of tagging articles with custom html-comments was born.
This article explains how to tag articles yourself and get a nice tag overview page like this one.

It's just 3 straightforward steps. Let's go πŸš€.

astronaut-label01.png

Tags: #Polar, #GitHub Actions, #eval/actions

eval

Gert Goet

February 26
eval

Gert Goet

February 9