STFU it's TGV Tuesday
(via)
(via)
Classic Web – Screenshots of classic websites and blogs from Dot-Com, Web 2.0 and the 2010s.
Classic Web is a fun account to follow on Mastodon. Curator Richard MacManus posts half a dozen or so screenshots per day of, well, classic websites from the late 1990s and 2000s. Makes me feel old and young at the same time.
(via)
My feeds have the
Access-Control-Allow-Origin: *
header, do yours? 🫵ðŸ˜
I answered the above shoutout from David Bushell by adding the following statement to my nginx config:
if ( $uri ~* ^/rss\.xml$ ) { more_set_headers "Access-Control-Allow-Origin: *"; }
The slides from the Agentic Coding presentation inspired my inner frontend developer and I created a new style for the blog. ✨
Things are still a bit rough, not everything is fitting nicely yet.
General functionality should work, but please let me know if you encounter something that is broken.
I researched various CSS tricks to achieve the design change without changing any HTML.
After recreating the PDF style in CSS, I double-checked the origin of the presentation layout.
And turns out that it is based on the unnamed community theme created by Elio Struyf for Slidev. 😃
In spirit of the More Purple Links, Please article, I've added some purple color to the visited link style on the blog.
To blend in with the existing text color, I've used the color-mix() CSS function:
:root { --body-text-color: #454545; --body-visited-link-color: color-mix(in srgb, var(--body-text-color), #518 75%); } a:visited { color: var(--body-visited-link-color); text-decoration-color: var(--body-visited-link-color); }
Inspired by the post from David Bushell, I spent some time to add syntax highlighting to the blog.
It has been an item on my todolist for a long time.
I've always hesitated as I wanted to avoid having server-side rendering that generates a big amount of HTML tags just to add some color.
But now with the approach of using the new CSS Custom Highlight API, this is no longer an issue, as no additional HTML tags are injected.
To make things easy I built my solution on top of the custom <syntax-highlight>
element.
This makes it very smooth to add syntax highlighting in a post.
For example the following is the source code for the helloworld.c post:
<pre><syntax-highlight language="c">void main(){puts("Hello World.\n");}</syntax-highlight></pre>
The custom element uses Prism to tokenize the text, which brings support for over 250 different languagues.
This is great, as I've accumulated quite a collection of different code snippets over the years.
There is some
Terraform,
Python,
Perl,
PHP,
Bash,
CSS,
Javascript,
HTML,
Nginx
and plenty of others 😎
Inspired by the Add Your Email Address to Your RSS Feed article, I added the email element to the Atom feed of the blog (the RSS feed already had the email address). Enjoy 🎉
(via)
In the Agentic Coding article, Simon Willson talks about the Agentic Coding: The Future of Software Development with Agents YouTube talk from Armin Ronacher.
I picked up a bunch of useful tips from this video:
- Armin runs Claude Code with the
--dangerously-skip-permissions
option, and says this unlocks a huge amount of productivity. I haven't been brave enough to do this yet but I'm going to start using that option while running in a Docker container to ensure nothing too bad can happen.- When your agentic coding tool can run commands in a terminal you can mostly avoid MCP - instead of adding a new MCP tool, write a script or add a Makefile command and tell the agent to use that instead. The only MCP Armin uses is the Playwright one.
- Combined logs are a really good idea: have everything log to the same place and give the agent an easy tool to read the most recent N log lines.
- While running Claude Code, use Gemini CLI to run sub-agents, to perform additional tasks without using up Claude Code's own context
- Designing additional tools that provide very clear errors, so the agents can recover when something goes wrong.
- Thanks to Playwright, Armin has Claude Code perform all sorts of automated operations via a signed in browser instance as well. "Claude can debug your CI... it can sign into a browser, click around, debug..." - he also has it use the
gh
GitHub CLI tool to interact with things like GitHub Actions workflows.
I would add to this list a link to the Agentic Coding Recommendations blog post of Armin.
Local copy of the slides.
It supports both single variables and more complex expressions. Here’s a few examples:
>>> x = 42 >>> f"{x=}" 'x=42' >>> f"{1+2=}" '1+2=3' >>> f"{(1+2)*3=}" '(1+2)*3=9'This is described in What’s New In Python 3.8;
(via)
Started the festival season at ZOA City with yet again a concert of Lost Frequencies. 🥳