mfs' nibbles


2022-06-06

Exported my 2021 Github Skyline and tweaked it in Blender. Textures from ambientCG. HDRI from Poly Haven.

mfs Github Skyline 2021

tags: blender


2022-04-26

Have started learning Go by reading and working through The Go Programming Language. Have finished chapter one. Thoughts so far based on my experience with Python and Rust:

Thinking of rewriting nibble in Go as an exercise.

tags: go


2022-04-24

I've always had terrible handwriting. Recently came across this post on penmanship. It compares traditional cursive with architectural lettering. Going to give this a try. This YouTube video goes over the correct way to draw each letter and there are practice sheets available to download as PDF files.

In addition, this site now has an Archives link to an archives page. Next up will be an RSS/Atom feed.

tags: writing


2022-04-03

I occasionally manage to lock myself out of my workstation for ten minutes due to three incorrect password attempts. This is due to pam_faillock. If I don't want to wait the ten minutes it's possible to login as root and clear the lock with:

faillock --user mfs --reset

tags: archlinux


2022-04-02

Currently working through a Blender environments course by Grant Abbitt and made a spooky corridor.

Spooky Corridor

tags: blender


2022-03-18

I wanted to start using some features from the latest xmonad which wasn't in Arch Linux's repos so have started using xmonad-git and xmonad-contrib-git from the AUR. When updating any Haskell packages these packages require rebuilding. My steps to do this using the yaah AUR helper:

$ yaah xmonad-git
$ yaah xmonad-contrib-git

$ cd xmonad-git
$ makepkg
$ sudo pacman -U xmonad-git-...

$ cd ../xmonad-contrib-git
$ makepkg
$ sudo pacman -U xmonad-contrib-git-...

$ xmonad --recompile

tags: xmonad haskell archlinux


2022-03-13

For ages I have been making daily notes at work using a simple alias to open vim with a file named after the day's date. After talking with friends and ex colleagues about what people used for this purpose I decided to switch to a single file per week named after the date on Monday. I wrote a short script to launch vim with a filename based on the date of the last Monday, or today if today is Monday. The script also allows opening a previous or future journal file using an argument. journal 1 opens next weeks file. journal -2 opens the journal file from two weeks ago.

journal

tags: vim python


2022-03-09

Someone reminded me of Vim Outliner which I used to use and stopped for some reason. Decided to install it again and was puzzled when it wouldn't work correctly. Turned out I was missing filetype plugin on in my .vimrc. A couple of settings it's nice to have on are:

syntax on
set backspace=indent,eol,start
filetype plugin indent on

tags: vim


2022-03-04

I'm running an OpenBSD box to handle DNS and a few other things on my home network. Tracking -current. To upgrade to the next snapshot:

# sysupgrade -s

-s is only needed for the first upgrade from the release branch.

# pkg_add -uiv

If OpenBSD is currently in -beta add -D snap to this command.

tags: openbsd


2022-03-02

First nibble generated by quick and dirty static site generator in Python. Removed month headings for now and still need to generate archive pages. Will add tags at some point.

tags: python


2022-03-01

Still writing nibbles in html. Have made a start on a simple static site generator written in Python using markdown2. Current build command just copies files into place for now.

Also discovered the most recent version of Python supported by Cloudflare Pages is currently 3.7.

tags: python


2022-02-27

Looked at some minimalist CSS libraries.

Having a play with water.css.

Currently configuring my Geekboards Macropad v2. Mapping the keys to F13-F20. Linux/X11 overrides some of these keys for various things. To remap these keys back to F13-F20 use the following xmodmap commands.

keycode 191 = F13 F13 F13
keycode 192 = F14 F14 F14
keycode 193 = F15 F15 F15
keycode 194 = F16 F16 F16
keycode 195 = F17 F17 F17
keycode 196 = F18 F18 F18
keycode 197 = F19 F19 F19
keycode 198 = F20 F20 F20
keycode 199 = F21 F21 F21
keycode 200 = F22 F22 F22
keycode 201 = F23 F23 F23
keycode 202 = F24 F24 F24

tags: keyboards css