Buying an ortholinear keyboard

Scratch space for writing down my thoughts on ortos

February 23, 2022  | 

Locale in Linux

Making this page since I’ve set up too many computers recently and I forget quickly

January 30, 2022  |  🏷️Locale

Watch Renovation: Lanco

Some notes on a watch which I’m renovating Text on dial: Lanco - Incabloc - Swiss made Text on case back: Lanco - Waterproof - Antimagnetic - Shockprotected - Stainless steel case back Data Measurements are done by me, and might not be the official numbers. Width: 34mm Length: 42mm Height: 10.8mm Lug-to-lug: 16mm Movement: ? Case: Looks like gold plated nickle. Crystal: Acrylic Problems Mainspring is broken Troubleshooting steps Opened up and cleaned all parts. Fully wound the mainspring and let it run. Heard the mainspring break after a few hours. Media

Helm Cheatsheet

Collection of helm-stuff

Diablo II (LoD / Resurrected) Cheatsheet

A collection of things for Diablo II

January 1, 2022  |  🏷️D2 🏷️D2r 🏷️D2lod

Quotes from a therapist to George A. Sargent

Copied from a book by David Foster Wallace

December 21, 2021  |  🏷️Books

夏がぼんぼん

From Matsumoto City in Nagano Prefecture. The lyrics come from the Bon bon, the name of a traditional summer ritual for girls in this region.

November 30, 2021  | 

Thoughts on having a sorted, modifiable list in MySQL

I had a discussion with a colleague on how to persist a sorted (linked?) list in MySQL, and would like to write down my thoughts on this since this is likely a problem I will face in the future. There must be a better way of thinking about this than I’ve come up with. If you have an idea, don’t hesitate to send me an email. Problem description We have a sorted list of a generic length. It should be possible to reorder the items in a generic fashion (e.g you can drag and drop the items to change the list order from the GUI). This means supporting both swapping items and inserting items between two existing items. Then list should also gracefully handle growing and shrinking. ...

November 24, 2021  | 

Simple Docker MySQL-Server on RAM

A simple docker command to start MySQL on a tmpfs. Things to note: Mounting localtime affects MySQL server timezone You need to have a my.cnf at the given location ($HOME/docker/mysql/my.cnf) You probably need to create /var/lib/mysql before running the command Setting sql_mode="" is probably not needed for most applications. sudo docker run -d \ --name mysql7 \ -v/usr/share/zoneinfo/Europe/Stockholm:/etc/localtime:ro \ -v$HOME/docker/mysql/my.cnf:/etc/my.cnf \ -e MYSQL_ROOT_PASSWORD=root \ -e MYSQL_ROOT_HOST='%' \ -p3306:3306 \ --mount type=tmpfs,destination=/var/lib/mysql \ mysql/mysql-server:5.7 \ --sql_mode=""

Troubleshooting generic file encodings

Some notes on troubleshooting different encodings for sent/received files. Table Encoding å ä ö Å Ä Ö UTF-8 \c3\a5 \c3\a4 \c3\b6 \c3\85 \c3\84 \c3\96 latin1 \e5 \e4 \f6 \c5 \c4 \d6 CP437 \86 \84 \94 \8f \8e \99 CP850 \86 \84 \94 \8f \8e \99 Notes WINDOWS-1252 / CP-1252 is a superset of latin1 All encodings are supersets of ASCII, so \20=SPACE and \0a=NEWLINE Sometimes you will encounter the “ANSI”-encoding. That name is a lie, and means that the creator is stupid in the head. There is no way of knowing what the creator intends, so you will have to try one encoding at a time and hope for the best. Vim commands If you hover over a character and type ga, you will see the VIM interpretation of the encoding. Note that this will NOT necessarily be the FILE-encoding, but instead the VIM-encoding. ...