Posts from October 2017
Journalling with Vim
I’ve toyed on and off with journalling for some time now. Not blogging, which is a much more public activity focused on sharing, but true journalling: the writing of thoughts for personal reasons and not for public consumption.
But it’s never really taken.
I’ve tried to be consistent about writing travel logs for major trips, as I do find that activity extremely powerful for both cementing memories at the time and allowing me to refresh my memories after the event. But beyond that, it’s not something I’ve been able to turn into a habit.
Now, my past attempts always focused on putting pen to paper, but recently I realized that, as fascinated as I am with notebooks and so forth… well, I bloody well hate physical writing! Because I’m horribly out-of-practice, it’s slow, tiring, and messy, while affording me no real benefits. It simply gets in the way, and in doing so, makes the act of journalling more unpleasant.
And, the reality is I’m a technologist. My tools are the screen and the keyboard. Why fight that?
So I decided to turn to those tools to build an alternative stack built on Vim, plus a few plugins, based on this blog post.
For basic journalling functionality, vimwiki and calendar-vim are a perfect combination:
Automatic timestamped files with basic markup and linking. Simple. Easy. Portable.
After that, it’s all about ergonomics. My preferred writing environment is spartan and attractive, with a large, easy-to-read font. That brings us to a few additions:
- Goyo
- Limelight
- Office Code Pro Font (light version)
- Customized Lucius color scheme
Finally, we have a bit of vimrc configuration that I’ve found handy:
" Automatically switch to writing mode when a wiki page is opened. au FileType vimwiki set guifont=Office_Code_Pro_Light:h14|call pencil#init({'wrap': 'soft'})|set sbr= " Turn on Limelight when Goyo is enabled autocmd! User GoyoEnter Limelight autocmd! User GoyoLeave Limelight! " Hotkey mapping to open the calendar pane map <leader>C :Calendar<cr> map <leader>G :Goyo<cr>
And voila!
Now, I’m still getting used to this setup, so I could see it requiring additional tweaks. And it is Vim, so it’s not the ideal word processing environment (though I finally figured out the right formatoption tweaks to get paragraph reflow to mostly work the way you’d expect). But it’s simple and it works!
The only remaining question is whether I’ll actually start building up the habit…
Hackintosh as NAS
So in my previous post I mentioned some challenges I encountered using macOS on my Hackintosh as a NAS, and my ultimate success in getting it working with Windows as a backup server… after moving the actual NAS’ing to a Linux VM.
What I didn’t realize then, but I know now, is that at least on my NUC, for some reason, the IntelMausiEthernet is not actually stable! I don’t know if it’s tied to high/sustained load, but for whatever reason, over time the NIC would lose connectivity with the network. Re-plugging the network cable resolved the issue, but it would quickly recur.
This rapidly became a dealbreaker, as not only did it render the machine useless for backups, it also made it useless as a Transmission server.
Now, before you ask, no, I haven’t spent any time debugging the issues and don’t plan to. So I haven’t a clue what was actually wrong.
My solution was a lot simpler: I just bought a USB Ethernet dongle and moved on with my life. That, fortunately, has worked like an absolute charm and solved all of my network stability issues!
Review: Babylon's Ashes
Review of Babylon's Ashes (The Expanse #6.0) by James S. A. Corey (9780316217637)★★★(https://b-ark.ca/k6wC_c)A revolution brewing for generations has begun in fire. It will end in blood.
The Free Navy - a violent group of Belters in black-market military ships - has crippled the Earth and begun a campaign of piracy and violence among the outer planets. The colony ships heading for the thousand new worlds on the far side of the alien ring gates are easy prey, and no single navy remains strong enough to protect them.
James Holden and his crew know the strengths and weaknesses of this new force better than anyone. Outnumbered and outgunned, the embattled remnants of the old political powers call on the Rocinante for a desperate mission to reach Medina Station at the heart of the gate network.But the new alliances are as flawed as the old, and the struggle for power has only just begun.
Babylon's Ashes is a breakneck science fiction adventure following the bestselling Nemesis Games.
Slow. Decent ending, but the journey wasn’t worth the effort.