Un naufragio personal

Ángel Ortega

Historical Dictionary of Science Fiction

Welcome to the Historical Dictionary of Science Fiction. This work-in-progress is a comprehensive quotation-based dictionary of the language of science fiction.

Most terms defined here feature the first year they were used.

https://sfdictionary.com/

Debian official installer images that include non-free firmware

XTerm: It's Better Than You Thought

Some info and tweaks for xterm by Bruno Garcia. Summary:

xterm*faceName: Monospace
xterm*faceSize: 13
xterm*utf8: true
xterm.vt100.translations: #override \n\
    Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
    Ctrl Shift <Key>V: insert-selection(CLIPBOARD)
xterm*background: rgb:1a/1a/1a
xterm*foreground: rgb:d6/d6/d6

As usual, write this in ~/.Xresources and update it by running xrdb ~/.Xresources.

https://aduros.com/blog/xterm-its-better-than-you-thought/

Remotely Installing OpenBSD on a Headless Linux Server

Plaintext HTTP in a Modern World

An interesting solution by Joshua Stein that implements HTTPS redirections only for modern browsers while still serving plaintext HTTP for older ones. Here is an nginx configuration snippet:

server {
    server_name example.com;
    listen *:80;
    listen *:443 ssl http2;

    set $need_http_upgrade "$https$http_upgrade_insecure_requests";
    location / {
        if ($need_http_upgrade = "1") {
            add_header Vary Upgrade-Insecure-Requests;
            return 301 https://$host$request_uri;
        }
     }

     ...
}

The Upgrade-Insecure-Requests HTTP header (with a value of 1) is sent by modern browsers when they connect through non-encrypted connections.

https://jcs.org/2021/01/06/plaintext

State machines are wonderful tools

Chris Wellons:

I love when my current problem can be solved with a state machine. They’re fun to design and implement, and I have high confidence about correctness [...]

Inspired by a puzzle, I came up with this deterministic state machine for decoding Morse code. It accepts a dot ('.'), dash ('-'), or terminator (0) one at a time, advancing through a state machine step by step [...]

https://nullprogram.com/blog/2020/12/31/

Scroll Back: The Theory and Practice of Cameras in Side-Scrollers

The 2020 Linux Foundation annual report

The Linux Foundation 2020 Report document was written on a Mac with MacOS. Why are you a fucking lie, Linux Foundation?

https://daniel-lange.com/archives/166-No-dog-food-today-the-Linux-Foundation-annual-report.html

Firefox drawing optimization for OpenBSD and Linux

Summary:

  • Open about:config.
  • Set layers.acceleration.force-enabled to true.
  • Set gfx.xrender.enabled to true.

https://www.reddit.com/r/openbsd/comments/bzq5b9/how_i_configured_firefox_after_the_base_install/

PAM Bypass: when null(is not)ok

A catastrophic security failure due to Arch Linux sloppy maintainers and the fucking mess that is the Pluggable Authentication Module (PAM):

https://linderud.dev/blog/pam-bypass-when-nullis-notok/