20 March 2024

48 links · Wednesday

Suspicious discontinuities

If you read any personal finance forums late last year, there's a decent chance you ran across a question from someone who was desperately trying to lose money before the end of the year. There are a number of ways someone could do this; one commonly suggested…

TuxTower

Welcome to TuxTower, my personal website where I share my thoughts, experiences, and adventures with you. I am a Computer Science student trying to get somewhere in life.

Moving from Homebrew to pkgsrc

This was not so straight forward also I'm new to MacOS so there are things about xcode and environment variables that I did not know until today. Asking jperkin in #smartos irc channel, he suggested two variables to add to /opt/pkg/etc/mk.conf

This is how the Swedish labour market works

A guide to the role of trade unions, collective agreements, freedom of association and who does what on the Swedish labour market.

Thoughts on WordPress FSE and Block Themes — Asko Nõmm

I've given a good look into the future of developing WordPress websites, and there's no question that the future is Block Themes with Full Site Editing given how much the WordPress team invests effort into that. That said, I have a few issues with the current …

It might not need a label

One hallmark of “programmer UI” is using labels for everything. Here I show why this is often a design mistake, with some examples. I suggest how to identify over-labelling, and how to fix it. Finally I suggest why programmers are biased towards this design mi…

The specialness of groups of 3

There is something very special about groups of three, like Harry, Ron and Hermione, or the holy trinity; threes seem to come all the time. One thing about the number three is that in a collection …

UN/LOCODE Function Codes – nghbrs

The UN/LOCODE Function Codes uses a set of function codes in order to make the function or functions of a location extremely clear. The system is somewhat counterintuitive, but this page will explain it.

Your Code May Be Elegant

OmniTI Seeds: leaf; This article expresses an opinion or just a downright rant.

Melatonin and Anxiety: Everything Explained

Key Takeaways: Melatonin plays a crucial role in promoting relaxation and helping you fall asleep Some studies suggest that it may help alleviate anxiety

Knee Deep in tree-sitter Queries

tree-sitter is a parser generator. You can use it to parse source code which is the first step of static analysis. For example, GitHub uses it to highlight code, code navigation, and also in CodeQL extractors. TL;DR: Queries are great for capturing text from c…

Open-source is a chainsaw

Open-source is popular among software engineers and has been for decades. But far from a silver bullet that automatically makes everything better, open-source is a double-edged sword. It can make wonderful, sustainable projects or break the teams behind them. …

require(esm) in Node.js

Recently I landed experimental support for require()-ing synchronous ES modules in Node.js, a feature that has been long overdue. In the pull request, I commented with my understanding about why it di

The Dashboard

Here, all of it! Click the buttons, expand the dropdowns, fill the inputs, multi-select one or two or three onto the graph, with its period in days or weeks or months (your choice), not this tab but the next, the next, or wait no the hamburger. Every insight t…

"Default forward": How I write to my clients to avoid getting stuck

As a freelancer (and previously as an employee operating with relatively high autonomy), I communicate daily with clients on various things I need for my work to progress. One of these things is the very basic approval. Here's a deliverable, please say yes or …

.NET 9 Preview — New LINQ Methods

.NET 9 is planned to be released in November 2024, but the preview version is already available. One of the new .NET 9 features is the new…

Regex character “$” doesn't mean “end-of-string”

This article is about a bit of surprising behavior I recently discovered using Python's regex module (re) while developing SBOM tooling for CPython. Folks who've worked with regular expressions be...

How to Solve 1000 Leetcode Problems in 300 Days?

Learn how I tackled 1000 LeetCode problems in just 300 days. Find out the strategies and tips that helped me boost my coding skills.

General Performance Tip: Logging

Recently, an enhanced logging method for .NET 6 was added, outperforming the existing approach. This utilizes a source generator to integrate LoggerMessageAttribute for improved logging performance…

Conventional Message Routing in Wolverine

I got a little feedback over the weekend that some folks newly encountering Wolverine for the first time think that it’s harder to use than some other tools because “it doesn’t do…

Measuring Developer Productivity via Humans

Organizations should prioritize measuring developer productivity using data from humans, rather than data from systems.