dammIT

A rantbox

#dev Articles


GitHub Spam is out of control

Dan Janes writes: Spam is nothing new, spam on GitHub is also not particularly new. Any site that accepts user-generated content will need to figure out how to prevent people from submitting spam, whether that is for scams, malicious software, or X-rated material. I have been getting tagged in Crypto …
article header image

Twenty years of blogging

Twenty years ago - not long after the turn of the century - I was tinkering with some PHP code to replace a static HTML page I had been experimenting with. It was becoming my private website, in the classic sense of the word: where I put stuff I am interested in …
article header image

NerdFonts on ChromeOS

I get way too much 'kick' out of a good font, and the Nerd Fonts project has been doing an awesome job at combining about every monospace font with glyphs/icons from FontAwesome, Devicons etc, for use in vim, terminal prompts and more. Of course I combine my frequent use …
article header image

nginx atom feed configuration

Today I got an email from the Google Search Console about a page, or pages on dammIT that are "Duplicate without user-selected canonical". That generally means that a website has two (very) similar pages that contain the same content, without having a element in the duplicating pages …
article header image

Monaspaced

As some of you might know, GitHub with their GitHubNext team recently released their own monospace font, Monaspace in five variants. I was intrigued, because they actually made for an interesting take on the concept, and it was not just one font, but a whole family with each their own …
article header image

Get Hooked

Are you tired of doing everything by hand, having to remote into a build server to switch to that certain user account, then type in a bunch of commands, looking them up in your shell's history? Or has your CI failed you again? Is the company behind it forcing some …
article header image


Admonitions, or how to box heads-ups

As of about 15 minutes ago, I finally have styled admonitions here at dammIT HQ. If you are unsure about what those are, you might have seen them in the wild but just didn't know their name. Behold: Warning Note that this code is 100% organically grown at home and …

There is no “software supply chain”

Good piece on how a (hardware) supply chain is something completely different from the software stack what we tend to call a 'software supply chain', but which really is not. The problem is mostly that the providers of the moving parts that people (read: companies) are so dependent on and …

Infrastructure automation: hype

This weekend we did a big migration of our stack at work to a new data centre and I am stoked about how our applications and their virtual machines are set up now. Quite a bunch is already automated and having a decent base image is such a nice thing …

Do it, do it now

I stumbled upon this post by Vermyndax earlier today and felt the urge to type. His problem is one that I'm familiar with; I don't pretend to have a magic answer, but I learned some tricks to get myself started. First of all: I don't think it's weird to want …
article header image

RQ Python queuing system

You might be acquainted with the Celery Distributed Task Queue, which is a proven way to process vast amounts of messages. Messages containing tasks for your software stack to eventually finish doing, for example. However, Celery is slightly cumbersome to set up (no rocket surgery, but the RabbitMQ message broker …

The ineffectiveness of lonely icons

If your target audience is a general population, you should not be using icons alone to convey anything meaningful. By doing so, you have made assumptions that are unlikely to be appropriate to a general audience. You should not assume icons or UI elements are known to your users, as …

architecture.md

If you maintain an open-source project in the range of 10k-200k lines of code, I strongly encourage you to add an ARCHITECTURE document next to README and CONTRIBUTING. Before going into the details of why and how, I want to emphasize that this is not another “docs are good, write …


A question about statically generated websites

When I made a remark that my commenting system is working again, a reader asked a simple enough question: how does one build a site like this? I realised there is no simple answer to this. Well, there is, but it takes a bunch of knowledge (and skills) one has …

isso comments are up again

Commenting had been broken since the 19th of December because of the host having upgraded to Python 3.9 and isso breaking. I tried installing it anew from pip, but there is still a really old version on there; installing it as egg directly from its Git repository1 kind …

YouCompleteMe requiring a rather new vim

If you are even remotely using the same workflows as me, you will be using vim quite a bunch, and not limited to one machine with a given operating system. You might also have taken a liking to YouCompleteMe to serve as the code/word completion solution of choice. The …


COVID-19: day 3 of working from home

We live in interesting times. Countries are in a situation they have not been for multiple decades, if at all. Lots of people will not even remember the last time a situation like this happened. Our prime minister had a historic speech on television (a good one, in my opinion …