Showing all posts tagged impromptu:

Metaphors of chess and backgammon

The game of chess is a good metaphor of an environment with openly visible rules. The game of backgammon is a good metaphor of an environment without, as the randomness of dices rolled functions as an abstraction of hidden rules.

Solving locale problem on USB armory

Should you encounter the error message need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968 for example, when running tmux, you should do following steps to solve the problem that causes it: uncomment the appropriate locale in the /etc/locale.gen fi...

Utility for removing duplicated files for Windows

If you would like to remove duplicated files working in Linux, you use fdupes utility. But what alternatives do you have, if you are working in Windows? Meet Duplicate File Finder and Remover (by Winston McMiller). It works in PowerShell, which nowaday...

Print default values of CLI arguments in Python

If you would like to print default values of command-line arguments and if you use the argparse.ArgumentParser class in your Python program, consider setting the formatter_class option to argparse.ArgumentDefaultsHelpFormatter. Example code: argparser ...

Key codes on AB Shutter 3

AB Shutter 3 is a small remote shutter. It connects to your handset as a Bluetooth keyboard. But which key codes does it send to the device? To answer this question, I simply connected the shutter to my Android device, started an editor and pressed...

Cambridge Z88 Serial Connexion

This is a beginning of a much larger project. For now, I will just concentrate on making a serial connexion to Cambridge Z88 computer. If you are impatient, just scroll to the end of the article. I must confess here that I have a certain corner of my h...