TrueNAS Scale data recovery
My TrueNAS Scale server recently started throwing the following zfs module kernel panic 1 on boot: PANIC at space_map.c:405:space_map_load_callback() What follows are the steps I took to retrieve the data from the corrupted zfs pool. Getting setup boot from a Ubuntu 22.04 Live USB disk. Ubuntu (unlike Fedora) supports zfs without needing to compile kernel modules. install the zfsutils-linux package: $ apt install zfsutils-linux import the pool as readonly (attempting to import read/write causes the kernel to panic!Australia and The Voice To Parliament
Australia is about to vote via referendum on whether we should amend the constitution to include a requirement for a body called ‘The Aboriginal and Torres Strait Islander Voice’ which would advise parliament on matters relating to those first people groups (I will refer to those people as ATSI). I will be voting ‘No’. What follows is some of the reasons I’m taking this position. The ‘No’ vote argument can be summarized by 1:VSCode Notes
Future note to self regarding VSCode/VSCodium
I use VSCode on my Windows work machine and VSCodium on my personal Linux machine.
Addons
Keybindings
keybindings.json
Decent Sampler on Linux
I recently stumbled upon the Decent Sampler Plugin and excellent free sample library available from Pianobook. Keen to try out some of the samples, I downloaded the plugin for Linux. There are 3 options for using Decent Sampler (which all come in the download package) - standalone player or VST2 and VST3 plugins. I didn’t have a DAW installed and didn’t really want to use one just to try a few samples out, but quickly discovered that the Decent Sampler standalone player is quite limited and seems to be a bit buggy too.NetworkManager and DHCPv6
tl;dr NetworkManager method=dhcp is deprecated and should not be used. I recently had an issue with a host on my network not getting a IPv6 default route when using DHCP. The host is running Fedora 36 which uses NetworkManager to manage network connections. I wanted the host to have a static IP, but configured via a DHCP static lease rather than manually. I ended up configuring the network connection with option method=dhcp after finding a post online with example config.Surface Laptop 3 and Linux
I recently acquired a Microsoft Surface Laptop 3 and installed Fedora 36 on it. Everything works by default except touchscreen. For touchscreen support you need the surface-laptop kernel. Tips Keyboard + Mouse I found that Fedora Beta was missing drivers for keyboard and touchpad on first boot so I had to use keyboard and mouse attached via USB port. After I ran an update to get latest available kernel and did a reboot, they worked fine.TrueNAS and NFS/SMB
I recently installed TrueNAS and setup an NFS share for my Linux backups and an SMB share for my wife’s Mac backups. Here are some notes that may be of use to others or my future self 😄 NFS My use case is to mount the NFS share on demand, backup my home directory, then immediately unmount. Create a TrueNAS user with the same UID as the user that will be using the NFS share Under Datasets:Split Tracks and Pulseaudio
I’m learning to play the drums. Something I’m trialling is split tracks, where the mix of the recording is separated into left and right, with left being only drums and vocals, and right being everything except drums and vocals. This is great except when played through stereo headphones, the mix sounds odd and is uncomfortable to listen to. The solution is to convert the stereo output to mono, however most home setups won’t have the kind of gear required for this.Sam Harris & Trump
NOTE: work in progress UPDATE Sept 5th 2022: Recent comments by Sam Harris on Trump would suggest that it is Sam Harris who is unhinged! “At that point Hunter Biden literally could have had the corpses of children in his basement, I would not have cared,” – Sam Harris is a brilliant thinker, and has an amazing ability to articulate his thoughts to a broad audience. I should say I’m no expert on Harris’ past work.4K Disappointment
tl;dr - before going down the 4K path, make sure your graphics hardware is capable of driving your display at full spec. My old faithful Dell U2412 monitor recently started playing up. It is my main ‘work from home’ monitor and I needed to get work done, so I rather hastily found a replacement. I thought to myself “hey, 4K has been around for ages and prices are reasonable so may aswell grab one of those”.Connecting to Internode with OpenWRT
Australian ISP Internode does not officially support OpenWRT. I recently connected HFC (hybrid fibre coaxial) with NBN & Internode. To get it working I needed to tag VLAN 2 on the WAN interface. Using the Luci web interface, navigate to Networks -> Switch and set the dropdown to Tagged next to VLAN 2 under WAN. Then setup the WAN interface like a standard PPPoE with <username>@internode.on.net for the username and my account password.The Last Kingdom, a brief review
I just finished watching episodes 1-6 of the BBC historical drama The Last Kingdom. I enjoyed the first few episodes but found myself increasingly unsettled as the eposides went by. Something is very ‘off’ about this story. The TV series is based on the books, The Saxon Stories by Bernard Cornwell, so any criticism of the story and script are going to be primarily with the author. The Good Great Britain has a fascinating history, and there was much I learnt from watching TLK.Morning Devotion
“The Lord’s portion is his people.” – Deuteronomy 32:9 How are they his? By his own sovereign choice. He chose them, and set his love upon them. This he did altogether apart from any goodness in them at the time, or any goodness which he foresaw in them. He had mercy on whom he would have mercy, and ordained a chosen company unto eternal life; thus, therefore, are they his by his unconstrained election.FFmpeg Recipies
Any technology, no matter how primitive, is magic to those who don’t understand it. - Arthur C. Clarke / Mark Stanley
Here are some magical incantations that let me do help me do cool stuff with FFmpeg.