Model-View-Controller, or MVC, is an architectural pattern: a plan for breaking graphical user interface code into bite-sized pieces. However, what is MVC? Many people who use MVC use it in radically different ways. Depending on whom you ask, one developer's idea of MVC may be practically unrecognizable to another. This …
(continue reading)Articles
Script to Start & Stop Folding@Home when System is Idle
Problem: Folding@Home's built-in idle detection doesn't work for me. So, I wrote a script to start and stop it when X11 is idle. This doesn't work for Wayland.
First we need to replace F@H's terrible init.d script with a reasonable systemd service unit file in
(continue reading)/etc/systemd …
Port Triggering with Linux nftables
In order to improve networking on consoles, primarily the Nintendo Switch, while using an Ubuntu Linux-powered box as a home router, I came up with the following solution. It uses Linux's nftables to produce a port-triggering effect and earn's the Nintendo's top NAT score of "A" without any extra or …
(continue reading)Debugging Dovecot's Managesieve
I was trying to figure out why my sieve filters weren't being enabled from the mail client I use, KMail, which has managesieve protocol support. The Dovecot documentation has a troubleshooting section for managesieve here, but it isn't really clear. There is a small suggestion that "you can use Dovecot's …
(continue reading)Adding Standard SpamAssasin Headers with MIMEDefang
I decided to try out MIMEDefang with SpamAssasin as a Milter to detect incoming spam and reject it on my mailserver. However, I wanted to see the regular headers you get from SpamAssasin when you run it directly in my mails. The problem is, MIMEDefang doesn't let SpamAssasin modify the …
(continue reading)