six demon bag

Wind, fire, all that kind of thing!

2020-06-27

How SJWs affected Stack Overflow

Earlier this year user AnonyMousse did an analysis of how the answer rate on Stack Overflow developed over time. This was prompted by the exodus of many high profile users after the social justice influenced changes to their Code of Conduct in late 2019.

See more ...

Posted 13:13 [permalink]

2020-06-25

Barracuda Backup Agent for Linux Unattended Installation (Update)

This is a brief update to my previous post Barracuda Backup Agent for Linux Unattended Installation. In recent versions the name of the actual installer binary has changed to UiConsole. The problem and solution remain the same, though.

Download and unpack the archive, then run

echo '/opt/barracuda' | ./lin/$(uname -m)/UiConsole

to install the agent to a different directory. To uninstall run

echo 'u' | ./lin/$(uname -m)/UiConsole

Note that uninstallation leaves an auto-generated SSL certificate in the directory <installdir>/config, so you need to clean up manually afterwards. Also, the public download location for the agents has apparently been removed. Now you need to download the agent from the Cloud Control web UI (System → Software-Downloads).

Posted 21:32 [permalink]

2020-06-11

Installing Discourse on Devuan

Before deciding on setting up my Q&A site with Question2Answer I evaluated several programs, one of them being Discourse. And even though I ultimately decided against Discourse (because the setup was too complex and it doesn't have all the features I wanted) I don't want my experiences go to waste, so I'll publish them here.

See more ...

Posted 19:57 [permalink]

2020-06-07

Content Security Policy for Question2Answer

The trickiest part of setting up my Q&A site (running on Question2Answer) was getting the content security policy right. I started with this basic policy:

default-src 'self';
script-src 'self';
style-src 'self';
img-src *;
object-src: 'none';
form-action: 'self';
frame-ancestors: 'self';

but quickly realized that it prevented some page elements from showing.

See more ...

Posted 13:16 [permalink]

2020-06-05

My Own Q&A Site

At long last I've set up my own Q&A site. If you want to ask a scripting or system administration question, or need support for the stuff I cobbled together, feel free to ask there.

Since the available themes sort of looked like somebody threw random paintballs at them, I made my own. You can download it here if you want.

Posted 12:46 [permalink]

2020-06-03

Disable Firefox 77 Address Bar Popout

*sigh* Another day, another Firefox fuckup. One of the more annoying new "features" in recent Firefox versions is the address bar jumping at you when it gets the focus. In Firefox 75 that misbehavior could be corrected with a couple adjustments in about:config:

browser.urlbar.openViewOnFocus false
browser.urlbar.update1 false
browser.urlbar.update1.interventions false
browser.urlbar.update1.searchTips false

However, with Firefox 77 those settings don't work anymore (you can reset/delete them). Because who would ever want to disable what Mozilla developers in their infinite wisdom decided that you must like?

See more ...

Posted 12:42 [permalink]

2020-06-02

Privacy-friendly Logging With Nginx

IP addresses are considered personal information, so your web server is not supposed to log them, at least not in a way that would allow tracing the address back to a person. The usual way to comply with this requirement is to mask part of the visitor's IP address, e.g. 192.168.23.42 → 192.168.23.0 (IPv4) or fd22:e03e:f88a:ea84::42 → fd22:e03e:: (IPv6).

See more ...

Posted 15:27 [permalink]