The short version: The Keychron V5 mechanical keyboard is fully capable of macros, including mouse operations (e.g., right-click). This is enabled by the use of QMK and the length of macros is only limited by the available flash memory in …

Keychron V5, a reasonably priced fully macro-capable QMK-based mechanical keyboard Read more »

The Via tool does not need Google Chrome. There are standalone executables (though they do need an Internet connection to work), but this is not advertised at all at the Via web site. It appears as if the only way …

Via (a configuration tool for mechanical keyboards with QMK) works just fine ***without*** Google Chrome! Read more »

dfu-util can be used to both read off and to flash (update) firmware on embedded devices, say for the firmware on a QMK-based keyboard like the Keychron V5 (about 50 KB). But it is very poorly documented. In most cases, the …

Flash utility ‘dfu-util’ gotcha: Always use option ‘-a 0’ Read more »

The short version: Compiler errors of the type “error: stray \342” are not mysterious at all. They can easily be analysed directly, without any guesswork required whatsoever. Triplets or doublets of errors, starting with 342 (octal) or 302 (octal), are …

Unicode blues in C++ and similar languages (after copying from web pages, Skype chat, etc.)—”error: stray \342″ Read more »

The Mortensen technology popularity index (MTPI) is equating the number of times some technology is misspelt with its popularity, that is, how many are actually using the technology and misspelling it when mentioning it on the Internet is taken as …

Introducing the Mortensen technology popularity index (Edit Overflow) Read more »

The short version: Past edit summaries used on Stack Overflow can be extracted from Firefox using a simple Linux (or Windows) command line with the SQL query “SELECT fieldname, value FROM moz_formhistory”: The current directory must be where file formhistory.sqlite …

Extracting edit summaries from Firefox (e.g., for Stack Overflow) Read more »

The short version: Two external pull-up resistors of 10 kΩ on the PS/2 DATA and CLK signal lines (corresponding to USB signal lines D- and D+, respectively) are sufficient to interface to a PS/2-capable USB keyboard. Say, to get a macro …

PS/2 support on modern USB keyboards Read more »