# arp242.net

Website of Martin Tournoij/arp242. I write about stuff, occasionally.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## I like using scrollbars

DevFeed: [I like using scrollbars](<https://devfeed.tech/articles/i-like-using-scrollbars-53019.md>)

Original publisher: [Read original article](<https://www.arp242.net/scrollbar.html>)

Author: Martin Tournoij

Published: 2026-07-09T23:00:00Z

Content type: opinion

Language: en

Sources: [arp242.net](<https://devfeed.tech/sources/arp242-net.md>)

Topics: [GUI](<https://devfeed.tech/topics/gui.md>), [Web app](<https://devfeed.tech/topics/webapp.md>), [Users](<https://devfeed.tech/topics/users.md>)

Tags: [gitlab](<https://devfeed.tech/tags/gitlab.md>), [mariadb](<https://devfeed.tech/tags/mariadb.md>), [precision](<https://devfeed.tech/tags/precision.md>), [redesign](<https://devfeed.tech/tags/redesign.md>), [screen](<https://devfeed.tech/tags/screen.md>), [scrollbars](<https://devfeed.tech/tags/scrollbars.md>), [spotify](<https://devfeed.tech/tags/spotify.md>), [stack-overflow](<https://devfeed.tech/tags/stack-overflow.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

An opinion article argues that placing margins around webpages, hiding scrollbars, or using low-contrast scrollbar styling makes mouse-based scrolling slower and less precise. It cites examples including FastMail, Outlook365, Stack Overflow, Spotify, GitLab, Couchsurfing, and MariaDB documentation.

### Source excerpt

I like to use scrollbars. I move my mouse cursor to the scrollbar handle and move it about - scrolling like this is so much faster than with the wheel if you want to scroll more than a few lines. I didn't notice how often I did this until sites started breaking this. It seems to be fashionable to put a margin around the entire document, resulting in the scrollbar no longer being aligned to the edge of the screen. This is an absolute bollockache because now you can no longer just move the mouse to the edge of the screen: you need to place it exactly on the scrollbar, requiring far greater precision. You can see an example at /scrollmargin.html. You need a device with a mouse cursor to see the problem of course. Some real examples, all of which started doing it in the last year or so: FastMail Outlook365 Stack Overflow "Beta Redesign", although that was aborted. Spotify (example) GitLab (example) Couchsurfing now completely hides the scrollbar (example) (aside: I am not saying that Couchsurfing has been infiltrated by AirBnB agents to run this communist woke libtard competition in to the ground, but I am saying that nothing Couchsurfing has done over the last 10 years contradicts that hypothesis.) There is of course also the perennial "inappropriate scrollbar styling" problem, and recently ultra low contrast have also gained popularity; for example: Substack (example) MariaDB documentation (example) I'm not against any scrollbar styling; in some cases it's appropriate. Some more playful websites, some very specific and rare webapp use cases, things like that. I'm not a "system behaviour in every single last scenario" purist. The MariaDB reference docs is very much not one of those cases. I like using scrollbars. I can't be the only person who does. You're frustrating users for no reason other than following some fad that makes things look ever so marginally nicer. No one pays that much attention to your design and they won't notice. In ten years time everyone will loo

## Why commit messages should explain what changed and why

DevFeed: [Why commit messages should explain what changed and why](<https://devfeed.tech/articles/chesterton-s-middle-finger-53012.md>)

Original publisher: [Read original article](<https://www.arp242.net/chestersons-finger.html>)

Author: Martin Tournoij

Published: 2026-06-21T23:00:00Z

Content type: opinion

Language: en

Sources: [arp242.net](<https://devfeed.tech/sources/arp242-net.md>)

Topics: [Git](<https://devfeed.tech/topics/git.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>), [Refactoring](<https://devfeed.tech/topics/refactoring.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [developer](<https://devfeed.tech/tags/developer.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [git](<https://devfeed.tech/tags/git.md>), [programming](<https://devfeed.tech/tags/programming.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>), [workplace](<https://devfeed.tech/tags/workplace.md>)

### AI overview

The article applies Chesterton's fence analogy to software maintenance, arguing that sparse commit messages and missing documentation make unfamiliar code difficult and risky to change. It recommends explaining what changed, why it changed, and why the chosen solution is appropriate.

### Source excerpt

The Chesterton's fence analogy says that you need to be careful to change things if you don't understand why things are the way they are, because there may be good reasons you haven't considered yet. This is broadly good advice in many different contexts, including programming where it can be easy to "fix" some weird code only to discover there was a reason for the weirdness later on when things break. This is Chesterson's middle finger: # List all commit body content (but not the subject line) % git log --no-merges --format=format:'%b' | sed '/^$/d' | wc -l 295 That's 295 lines of commit text over the last 13 years. In total. The commit subjects are usually just "fix page A" - even for huge changes - and are pointless. If I manually remove some dependabot, "revert commit", and "fix typo" commit bodies it's just 167 lines. That's about one line a month. There is no other documentation. There are barely any comments in the code. This is Chesterson's middle finger: "Yes, we did all these weird things and we're not telling anyone why. Haha fuck you." This is not the first time I've seen a less-than-useful commit log, but it is the first time I'm hired after everyone else left. There is no one to ask. In theory there was a three week handover period from the previous developer, but that was just as communicative as the commit log. Never have I sympathized more with Jack Bauer's methods to extract information and I regret not employing some of them. There are unfinished refactors. There are left-overs from removed features. There are features that were added but never linked/used but are still in the code. There are features no one seems to be using. Overall it seems to suffer quite badly from Chesterton's gap ("There isn't a fence yet? Lets build fences!" without asking if a fence is actually needed). Everything is just a big fat middle finger. Writing well is hard. Writing something vaguely passable is not. By and large there are three questions to answer: "What are yo

## Dependencies should be fetched directly from VCS

DevFeed: [Dependencies should be fetched directly from VCS](<https://devfeed.tech/articles/dependencies-should-be-fetched-directly-from-vcs-53014.md>)

Original publisher: [Read original article](<https://www.arp242.net/deps-vcs.html>)

Author: Martin Tournoij

Published: 2026-06-11T23:00:00Z

Content type: opinion

Language: en

Sources: [arp242.net](<https://devfeed.tech/sources/arp242-net.md>)

Topics: [Dependency management](<https://devfeed.tech/topics/dependency-management.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Security](<https://devfeed.tech/topics/security.md>), [Git](<https://devfeed.tech/topics/git.md>), [Ruby](<https://devfeed.tech/topics/ruby.md>), [rubygems](<https://devfeed.tech/topics/rubygems.md>), [hashing](<https://devfeed.tech/topics/hashing.md>), [proxy](<https://devfeed.tech/topics/proxy.md>)

Tags: [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dependency-management](<https://devfeed.tech/tags/dependency-management.md>), [git](<https://devfeed.tech/tags/git.md>), [go](<https://devfeed.tech/tags/go.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

The author compares dependency management in Go and Ruby, arguing that Go's direct VCS-based dependencies, exact versioning, dependency tree, hashes, and proxy improve security and make auditing easier than Ruby's published package workflow.

### Source excerpt

I've been writing Ruby at my new $dayjob in the last month. After spending most of the last decade writing Go it's been a fun change of scenery. I did Ruby before (years ago) and I can't really tell you which is "better" - Ruby is very different from Go in almost every respect and I find both quite effective in getting stuff done in their own way. One aspect where I do feel Go is clearly better is dependency management; specifically the security aspect thereof. Go is not magically immune to malicious dependencies, but it is a lot more resistant to them chiefly because there is no "publish a package" step. In Go dependencies are identified by URL, e.g. github.com/user/pkg. Go identifies which VCS is being used (git in this case) and fetches the tag or commit you specified in your go.mod file. The go.mod file serves as both a dependency specification and "lock file". It lists exact versions; there is no ~>1.1. It includes both direct and indirect dependencies and lists your full dependency tree (the go command writes to go.mod). A hash of all files is checked against known hashes on sum.golang.org to prevent tags from being replaced, and it uses a proxy to prevent repos from being left-pad'd. There are more aspects to Go Modules, including security features, but I will skip over them for the purpose of this article. The relevant bit is "dependencies are identified by URL, the code is fetched directly from the VCS, and it does this for both direct and indirect dependencies". Auditing and updating dependencies is easy: I do git log -p old..new (usually via a forge web UI), read all the commits, and update the go.mod file. I don't have many dependencies and those I do have don't change much. It's usually pretty fast. I don't need to do careful in-depth reviews here; just look for suspicious stuff. Something like exec.Command(..) or http.Post(..) in a globbing library would stand out. It's hard to really hide stuff. I've been doing this for years for every dependency. As

## Comparing compression tools

DevFeed: [Comparing compression tools](<https://devfeed.tech/articles/comparing-compression-tools-53013.md>)

Original publisher: [Read original article](<https://www.arp242.net/cmp-compress.html>)

Author: Martin Tournoij

Published: 2026-04-13T23:00:00Z

Content type: comparison

Language: en

Sources: [arp242.net](<https://devfeed.tech/sources/arp242-net.md>)

Topics: [Compression](<https://devfeed.tech/topics/compression.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [backups](<https://devfeed.tech/topics/backups.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [backups](<https://devfeed.tech/tags/backups.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [compression](<https://devfeed.tech/tags/compression.md>), [unix](<https://devfeed.tech/tags/unix.md>), [xz](<https://devfeed.tech/tags/xz.md>)

### AI overview

A practical comparison of common compression tools for archives, backups, and data files. It recommends zstd -3 for fast compression, xz -7 for the best compression ratio, and higher zstd settings for trade-offs between speed and ratio, while noting that results vary by use case.

### Source excerpt

I'd like to know what the "best" compression tool is for storing archives (backups, data files). So I wrote a tool to compare them: cmp-compress. My tl;dr take-away is: zstd -3 for fast compression (the default). xz -7 for the best ratio use; -8 or -9 sometimes compress better but often don't. You probably want to test this. zstd -12 for a good trade-off that leans towards fast. zstd -17 for a good trade-off that leans towards better ratio. Add -T0 to zstd to use all cores if nothing else is running on the system (or use the zstdmt wrapper). For other use-cases all of this may of course be different. Some tools like xz and zstd offer many differs knobs and levers; I'm sure these are useful but did not bother with them and tested only the presets. I'm not looking for an incantation to eek out the absolute best - I just want an informed practical decision on which tool to use with which flags to compress common stuff. For the same reason I'm only comparing reasonably common compression tools already in wide-spread use. There are many others that are very similar to those listed here with minor differences (e.g. zip, 7zip), not considered stable, or just not widespread for one reason or the other. If you're interested in other tools or sets of flags then you can run cmp-compress yourself. Full Results as HTML table: /compress.html. Or as JSON: /compress.json. I ran this on the following files: vim 5.5M Statically linked binary qemu-system-x86_64 29M Dynamically linked binary dockerd 87M Statically linked binary dickens 9.7M English text, no tags enwik8 95M English text, with XML and Wiki tags enwik9 950M English text, with XML and Wiki tags yt-dlp-2026.03.17.tar 12M Python code coreutils-9.10.tar 63M C code go1.26.1.src.tar 150M Go code go1.26.1.linux-amd64.tar 233M Mix of Go code and statically linked binaries The enwik files are from the Large Text Compression Benchmark; dickens is from the Silesia compression corpus; QEMU is version 10.2.0; Docker is version 29.4.0,

## Against best practices

DevFeed: [Against best practices](<https://devfeed.tech/articles/against-best-practices-53011.md>)

Original publisher: [Read original article](<https://www.arp242.net/best-practices.html>)

Author: Martin Tournoij

Published: 2024-11-16T00:00:00Z

Content type: opinion

Language: en

Sources: [arp242.net](<https://devfeed.tech/sources/arp242-net.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [protocols](<https://devfeed.tech/topics/protocols.md>)

Tags: [opinion](<https://devfeed.tech/tags/opinion.md>), [practices](<https://devfeed.tech/tags/practices.md>), [programming](<https://devfeed.tech/tags/programming.md>), [protocols](<https://devfeed.tech/tags/protocols.md>), [software](<https://devfeed.tech/tags/software.md>), [software-development](<https://devfeed.tech/tags/software-development.md>)

### AI overview

An opinionated critique of treating software engineering best practices as universal laws. The author argues that programmers should evaluate advice in context, using Postel's Law and rules about globals and GOTO as examples.

### Source excerpt

I have come to believe that by and large "best practices" are doing more harm than good. Not necessarily because they're bad advice as such, but because they're mostly pounded by either 1) various types of zealots, idiots, and assholes who abuse these kind of "best practices" as an argument from authority, or 2) inexperienced programmers who lack the ability to judge the applicability, Everyone else just says "X is better because Y". This is an actual argument that can be engaged with, and engaging with actual arguments is what discovers the best solution for the situation at hand. This is not unique to programming; even the best of ideas becomes silly once you start uncritically applying it to everything - one can find many examples in politics. There, too, it's mostly pounded by various types of zealots, idiots, and assholes. All of this doesn't mean that "best practice" are bad advice. Many are worth reading, and some should always be followed. But many are little more "this thing someone said" and/or "just someone's opinion". Take Postel's "law" - what if I break this "law"? Will the police come and arrest me? Will I get the Nobel prize in physics as I've discovered new laws of nature? It's not a "law" in any meaningful sense: it's just a thing this Postel guy said in 1980, which may or may not be applicable to whatever you're doing. Postel's quip was probably good advice in 1980 in the context of TCP. There were tons of little incompatibilities between existing implementations and Postel was working on the first effort to actually standardize it all. Back then it was typically harder to write fully correct implementations (no internet with tons of examples, little to no testing, less access to other implementations, etc.) There are other cases where it's the reasonable and practical thing to do. But as a general concept applied to all protocols or all software development I find it's mostly a bad idea. I'm hardly the first to critique it, and it's been controve

## How Invisible Unicode Characters Can Hide Malicious Go Code in Test Files

DevFeed: [How Invisible Unicode Characters Can Hide Malicious Go Code in Test Files](<https://devfeed.tech/articles/jia-tanning-go-code-53015.md>)

Original publisher: [Read original article](<https://www.arp242.net/jia-tan-go.html>)

Author: Martin Tournoij

Published: 2024-10-28T00:00:00Z

Content type: article

Language: en

Sources: [arp242.net](<https://devfeed.tech/sources/arp242-net.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [backdoor](<https://devfeed.tech/topics/backdoor.md>), [Security](<https://devfeed.tech/topics/security.md>), [passwords](<https://devfeed.tech/topics/passwords.md>)

Tags: [backdoor](<https://devfeed.tech/tags/backdoor.md>), [github](<https://devfeed.tech/tags/github.md>), [gitlab](<https://devfeed.tech/tags/gitlab.md>), [go](<https://devfeed.tech/tags/go.md>), [go-test](<https://devfeed.tech/tags/go-test.md>), [security](<https://devfeed.tech/tags/security.md>), [testing](<https://devfeed.tech/tags/testing.md>), [vscode](<https://devfeed.tech/tags/vscode.md>)

### AI overview

This article explains how invisible Unicode variation selectors, homoglyphs, and zero-width characters can make a Go filename appear to end in _test.go without actually doing so. Such a file may be compiled into regular builds, allowing seemingly harmless test-related code to weaken password security or introduce a backdoor.

### Source excerpt

The Go compiler skips files ending with _test.go during normal compilation. They are compiled with go test command (together will all other .go files), which also inserts some chutney to run the test functions. The standard way to do testing is to have a foo.go and foo_test.go file next to each other. If you have a file that appears to end with _test.go but doesn't actually end with _test.go, then it will get compiled for a regular build. For example: a_test\uFE0E.go U+FE0E is a variation selector. These are typically very invisible. Or more traditional homoglyph trickery: b_t\u0435\u0455t.go" Those Cyrillic letters appear virtually identical on my machine: b_tеѕt.go / b_test.go, or as monospace: b_tеѕt.go / b_test.go. This can also be done with zero-width space, zero-width joiner, and perhaps a few other codepoints, but variation selectors tend to be the "most invisible" of them. This is pretty sneaky, something like this: // user.go var bcryptCost = bcrypt.DefaultCost func hashPassword(pwd []byte) []byte { pwd, _ := bcrypt.GenerateFromPassword(pwd, bcryptCost) return pwd } // user_test.go func init() { // The special "init" function gets run on import. // Lower bcrypt cost in tests, because otherwise any test will take // well over a second as it's so slow. bcryptCost = bcrypt.MinCost } Is perfectly valid, but with a doctored "non-test" user_test.go it will now lower the security of all passwords, and effectively inserts a backdoor. There are many variants one can think of: code that looks innocent and would probably pass many reviews, but will backdoor the codebase by weakening the security, or adds in "test users", "test keys", "default passwords", and things like that. Who is carefully auditing tests for security in the first place? I've audited a bunch of packages over the years, but I've never paid much attention to the test files. Most tools don't display this: Vim, VSCode, macOS finder, Windows Explorer, /bin/ls, GitHub, GitLab, etc. - they all just display

## Safe terminal escape codes

DevFeed: [Safe terminal escape codes](<https://devfeed.tech/articles/safe-terminal-escape-codes-53018.md>)

Original publisher: [Read original article](<https://www.arp242.net/safeterm.html>)

Author: Martin Tournoij

Published: 2024-05-21T23:00:00Z

Content type: tutorial

Language: en

Sources: [arp242.net](<https://devfeed.tech/sources/arp242-net.md>)

Topics: [Terminal](<https://devfeed.tech/topics/terminal.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [systems](<https://devfeed.tech/topics/systems.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>)

Tags: [ansi](<https://devfeed.tech/tags/ansi.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [terminal](<https://devfeed.tech/tags/terminal.md>), [unix](<https://devfeed.tech/tags/unix.md>)

### AI overview

A practical reference for terminal escape sequences that are broadly compatible with modern terminal emulators. It explains when terminfo may still be needed and covers styling, cursor operations, input, and colors.

### Source excerpt

A long time ago when the Unix greybeards were slightly less grey beards everyone was using hardware terminals to talk to some mainframe. Those terminals had wildly different feature sets and ways to implement them, which you needed to know about if you wanted your program to run on more than one type of terminal. Hence systems like terminfo and termcap. The TeleVideo 955 used \x1b[=5l for bold text, and the IBM 3161 used \x1b4H. Both were introduced in 1985. The TeleVideo 950 from 1980 didn't support bold text at all. Today everyone is using software terminal emulators, and they all just implement ANSI escape codes for the common stuff. No one is sending \x1b[=5l or \x1b4H. Do you still need terminfo? It depends. If you just want to style some text and maybe do some basic cursor operations: probably not. If you want to use more advanced operations or read key input: probably yes. If you want maximum compatibility (there's probably someone using a hardware Wyse terminal, or SunOS 4 with CDE): absolutely. Here is a list of terminal escape sequences that should always work on any vaguely modern terminal, where "modern" means "since the mid-90s or so". This was generated by looking at every terminfo file I could find with my termfo tool (specifically, termfo find-cap) and occasionally testing some things to verify it works. I don't care what some spec says; I care about what works. The escape character is always omitted; so [0m is \x1b[0m. Graphics These can be combined in a single sequence by joining with a ;. For example \x1b[1;4m for underlined bold text. These can also be combined with colours; for example \x1b[1;38;2;0;255;0;41m to set bold, foreground colour with true colour, and background colour with 16 colour. Just using \x1b[1m\x1b[4m also works. Code Terminfo (short, long) Description [0m sgr0, exit_attribute_mode Turn off all attributes and colours. [1m bold, enter_bold_mode Enter bold mode. [2m dim, enter_dim_mode Enter half-bright mode.1 [3m sitm, enter_it

## Why zsh Handles Some Shell-Scripting Edge Cases Better Than Bash

DevFeed: [Why zsh Handles Some Shell-Scripting Edge Cases Better Than Bash](<https://devfeed.tech/articles/s-bash-zsh-g-53020.md>)

Original publisher: [Read original article](<https://www.arp242.net/why-zsh.html>)

Author: Martin Tournoij

Published: 2021-10-19T23:00:00Z

Content type: opinion

Language: en

Sources: [arp242.net](<https://devfeed.tech/sources/arp242-net.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [Script](<https://devfeed.tech/topics/script.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [scripting](<https://devfeed.tech/tags/scripting.md>), [shell](<https://devfeed.tech/tags/shell.md>), [shell-scripting](<https://devfeed.tech/tags/shell-scripting.md>), [unix](<https://devfeed.tech/tags/unix.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

The article argues that zsh handles several shell-scripting edge cases more conveniently than bash, including fractional arithmetic, NUL bytes, array assignment, binary content, and quoting. It also discusses POSIX compatibility and interactive loop syntax.

### Source excerpt

You would expect this to work, no? bash% echo $(( .1 + .2 )) bash: .1 + .2 : syntax error: operand expected (error token is ".1 + .2 ") Well, bash says no, but zsh just works: zsh% echo $(( .1 + .2 )) 0.30000000000000004 # Well, "works" insofar IEEE-754 works. There is simply no way you can do calculations with fractions in bash without relying on bc, dc, or some hacks. Compared to simply being able to use a + b it's ugly, slow, and difficult. There are other pretty frustrating omissions in bash; NUL bytes is another fun one: zsh% x=$(printf 'N\x00L'); printf $x | xxd -g1 -c3 00000000: 4e 00 4c N.L bash% x=$(printf 'N\x00L'); printf $x | xxd -g1 -c3 bash: warning: command substitution: ignored null byte in input 00000000: 4e 4c NL It looks like bash added a warning recently-ish (4.4-patch 2); this one bit me pretty hard a few years ago; back then it would just get silently discarded without warning; I guess a warning is an "improvement" of sorts (fixing it, however, would be an actual improvement1). NUL bytes aren't that uncommon, think of e.g. find -print0, xargs -0, etc. That all works grand, right up to the point you try to assign it to a variable. You can use NUL bytes for array assignments though, if you evoke the right incantation: bash% read -rad arr < <(find . -type f -print0) There are all sorts of edge-cases where you need to resort to read or readarray rather than being able to just assign in. In zsh it's: zsh% arr=(**/*(.)) zsh% IFS='\x00' arr=($(find . -type f -print0)) # If you must use find (rarely needed) zsh% arr=( "${(0)$(find . -type f -print0)}" ) That (.) is a "glob qualifier" to include only regular files - more on that later. Don't even think of doing something like: img=$(curl https://example.com/image.png) if [[ $cond ]]; then optpng <<<"$img" > out.png else cat <<<"$img" > out.png fi Of course you can refactor this to avoid the variable (and the example is a bit contrived), but it really ought to work. I once wrote a script to import emails

## Getting started with RimWorld modding on Linux

DevFeed: [Getting started with RimWorld modding on Linux](<https://devfeed.tech/articles/getting-started-with-rimworld-modding-on-linux-53016.md>)

Original publisher: [Read original article](<https://www.arp242.net/rimworld-mod-linux.html>)

Author: Martin Tournoij

Published: 2021-09-28T23:00:00Z

Content type: tutorial

Language: en

Sources: [arp242.net](<https://devfeed.tech/sources/arp242-net.md>)

Topics: [Linux](<https://devfeed.tech/topics/linux.md>), [Code](<https://devfeed.tech/topics/code.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [XML](<https://devfeed.tech/topics/xml.md>), [Unity](<https://devfeed.tech/topics/unity.md>), [Hackathon-Kit](<https://devfeed.tech/topics/hackathon-kit.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [getting-started](<https://devfeed.tech/tags/getting-started.md>), [linux](<https://devfeed.tech/tags/linux.md>), [modding](<https://devfeed.tech/tags/modding.md>), [programming](<https://devfeed.tech/tags/programming.md>), [rimworld](<https://devfeed.tech/tags/rimworld.md>)

### AI overview

A tutorial explaining how to create RimWorld mods on Linux using XML definitions and C# code with Mono. It introduces the mod structure, setup process, and creation of a custom weather type, with some steps also applicable to Windows and macOS.

### Source excerpt

This describes how to create RimWorld mods on Linux; this is an introduction to both RimWorld modding and developing C♯ with Mono; it's essentially the steps I followed to get started. This doesn't assume any knowledge of Unity, Mono, or C♯ but some familiarity with Linux and general programming is assumed; if you're completely new to programming then this probably isn't a good resource. A lot of this will work on Windows or macOS too; it's just the C♯ build steps that are really Linux-specific, as are various pathnames etc. RimWorld mods consist of two parts: A set of XML definitions ("Defs") which defines everything from items, actions you can take, research projects, weather, etc. This is the "glue" that actually makes stuff appear in the game, applies effects, etc. For (very) simple mods this may actually be enough, and no "real" coding is required. You can use XML files to both add new stuff, and RimWorld has facilities to patch existing in-game content. C♯ code which either adds entire new stuff, or monkey-patches existing code. As an example we'll make a little mod that makes it rain blood. Why? It seemed easy enough to do while also exploring some of the core concepts. Also, I was playing Slayer when I started on this. The complete example mod is on GitHub, but I encourage people to modify things manually (and maybe play around with things a bit) rather than copy/paste stuff from there; it's just a better way to learn things. Getting started Before we start with the C♯ stuff let's set up a basic mod which adds a new weather type; we just need to edit some XML for this. Mods are located in the Mods/ directory in your RimWorld installation directory; I'm using the version I bought from the RimWorld website and extracted to ~/rimworld so that's nice and simple. GOG.com games usually store the actual game data in a game/ subdirectory. I don't know where Steam stores things 🤷 This directory should already exist with a Mods/Place mods here.txt. A mod must have an

## Opinion on Richard Stallman's return to the Free Software Foundation board

DevFeed: [Opinion on Richard Stallman's return to the Free Software Foundation board](<https://devfeed.tech/articles/stallman-isn-t-great-but-not-the-devil-53017.md>)

Original publisher: [Read original article](<https://www.arp242.net/rms.html>)

Author: Martin Tournoij

Published: 2021-03-25T00:00:00Z

Content type: opinion

Language: en

Sources: [arp242.net](<https://devfeed.tech/sources/arp242-net.md>)

Topics: [Open Source](<https://devfeed.tech/topics/open-source.md>), [GNU General Public License](<https://devfeed.tech/topics/gpl.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [gnu-linux](<https://devfeed.tech/tags/gnu-linux.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [politics](<https://devfeed.tech/tags/politics.md>)

### AI overview

The article criticizes Richard Stallman's return to the Free Software Foundation board, arguing that his conduct and representation of the free and open-source software community have been harmful despite the importance of some of his ideas.

### Source excerpt

So Richard Stallman is back at the FSF, on the board of directors this time rather than as President. I'm not sure how significant this position is in the day-to-day operations, but I'm not sure if that's really important. How anyone could have thought this was a good idea is beyond me. I've long considered Stallman to be a poor representative of the community, and quite frankly it baffles me that people do. I'm not sure what the politics were that led up to this decision; I had hoped that after Stallman's departure the FSF would move forward and shed off some of the Stallmanisms. It seems this hasn't happened. To quickly recap why Stallman is a poor representative: Actively turned many people off because he's such a twat; one of the better examples I know of is from Keith Packard, explaining why X didn't use the GPL in spite of Packard already having used it for some of his projects before: Richard Stallman, the author of the GPL and quite an interesting individual lived at 5405 DEC square, he lived up on the sixth floor I think? Had an office up there; he did not have an apartment. And we knew him extremely well. He was a challenging individual to get along with. He would regularly come down to our offices and ask us, or kind of rail at us, for not using the GPL. This did not make a positive impression on me; this was my first interaction with Richard directly and I remember thinking at the time, "this guy is a little, you know, I'm not interesting in talking to him because he's so challenging to work with." And so, we should have listened to him then but we did not because, we know him too well, I guess, and met him as well. He really was right, we need to remember that! His behaviour against women in particular is creepy. This is not a crime (he has, as far as I know, never forced himself on anyone) but not a good quality in a community spokesperson, to put it mildly. His personal behaviour in general is ... odd, to put it mildly. Now, you can be as odd as you'd l