Note: Lucia and The Best Boys' Wolf Cry might have one of the best choruses ever written.
Note: Lucia and The Best Boys' Wolf Cry might have one of the best choruses ever written.
A brief review. I got this because, as I’ve said before, despite my best efforts to be restrained with my spending I’m not completely immune to consumerism and the pleasures of spending a (small) bit of my wage on myself: £26 on Vinted (although £30 with shipping and buyer protection).
* - Confirmed: Easily zips up with 2x 1.7kg bags.
"An Edinburgh summer is usually a skittery, lying, drunk, untrustworthy foe - her legs are always spread - elsewhere. She is elusive and unreliable, a total fucking pisshead. The next day (for months) she pretends she's still far to poorly to make an appearance."
Ditto Aberdeen. That’ll do even though there are many more great quotes from this book.
"Every year around March, or sometimes April, there is a fear that spring may not come at all"
Ties in nicely with the next one.
"They turn toward each other and kiss for the the longest time - atoms and particles, words not better than feelings. In their kiss for just a moment there is no yesterday and no tomorrow - no fear, no pain. Cosmic rays shower secondary particles soundlessly all over the world."
Really rather beautiful.
Note: Late to the party, but git rebase --update-refs and git for-each-ref are really great when working with stacked branches.
""Is it crazy to love someone you've only spent seven days with in person?" "No, it's crazy to love someone when you've known them for years""
Can’t really comment on this without getting myself in trouble.
"Dad would like me to find a nice husband and have children. It is quaint. My aspirations are ... different. Why not become a deadly killing machine?"
"Killing is a good vocation for me. I know it's not socially acceptable, but nobody can say it won't be useful right now."
A few quotes coming up from this. This would make a great film - it would make no sense, but would be entertaining.
Some initial rough notes on building HammerDB on NetBSD. It has quite a unique build system - I don’t know if it’ll be possible to make a Pkgsrc package of this. For now I just wanted to see if I could get it to build at all.
sudo pkgin install 7-zipsudo pkgin install tcl90To build the pgtcl package need:
export PG_CONFIG=/usr/pkg/bin
I had to set this to get it to find my include files:
export C_INCLUDE_PATH=/usr/pkg/include/python3.12/:/usr/pkg/tcl/9.0/include/:/usr/include/
The last /usr/include/ isn’t actually required, but I chucked it on there for good measure
And for the pty.h requirement somewhere along the way, we actually need util.h so I had to symlink:
sudo ln -s /usr/include/util.h /usr/include/pty.h
To actually build:
cd /home/simon/Code/github/TPC-Council/HammerDB/Build/Bawt-2.1.0
./Build-Linux.sh x64 Setup/HammerDB-Linux.bawt update
For now I’m just stealing/tweaking the Linux files instead of adding BSD ones.
At some point whilst trying to get things to build I did this:
sudo ln -s /usr/pkg/bin/python3.12-config /usr/pkg/bin/python3-config
But on a recent rebuild to check through this post this step wasn’t required (I deleted the symlink before rebuilding) and I can’t recall why I did this in the first place. But leaving this as a note just in case
Basically you need to copy and extract the build somewhere:
cd ../BawtBuild/Linux/x64/Release/Distribution
cp HammerDB-5.0-Dev-Linux.tar.gz /to/somewhere/else
cd /to/somewhere/else
tar xvzf HammerDB-5.0-Dev-Linux.tar.gz
cd HammerDB-5.0-Dev-Linux
./hammerdb
I haven’t been able to get the prod one to work yet - for sure it’s got to be linked to “linking” and something has been stripped that shouldn’t have. Not too bothered about figuring this out yet because the Dev build does run!
For the cli the (default) tcl one works, but the Python one (./hammerdbcli py) doesn’t - I’ve done some initial debugging (editing and putting print statements in; another benefit of the Dev build is you can just edit the “built”scripts) and it’s something to do with not being able to find tclpys even though it is there.
Before going down the building route I did have a brief play with the pre-built binaries and NetBSD’s Linux emulation, but:
/home/simo...-ubuntu-22 $ ./hammerdbcli
./hammerdbcli: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by ./hammerdbcli)
./hammerdbcli: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./hammerdbcli)
./hammerdbcli: /lib64/libm.so.6: version `GLIBC_2.35' not found (required by ./hammerdbcli)
I.e. I didn’t have a modern enough glibc available, I only had 2.15 from the Suse Linux Compatibility package. I could, in theory, have tried tracking down a more modern one (because that’s how it works), but it felt easier to try to get the build working.
For a long time I’ve toyed with the idea of replacing Simplenote with a Fossil repo of text files, more from an “owning your own data” point of view than anything else, but more “recently” since I stopped using Vim and switched to Helix. It’s probably not happening any time soon as Simplenote is still too convienent on mobile, but I thought I’d have a little play just because Fossil’s auto-sync is really neat.
ssh to my local machine: fossil clone ssh://me@linode/Code/fossil/repos/notes.fossilThen added a little “hook” to Helix via my mksh config like so:
function hx {
/usr/pkg/bin/hx $@
if [[ $(pwd) == '/home/simon/Code/fossil/checkouts/notes' ]]
then
if [[ $(fossil extras) != "" ]]
then
fossil add $(fossil extras)
fi
fossil commit -m 'Auto-sync notes'
fi
}
The idea being that if I am editing a note and then exit and save, Fossil will then automatically sync changes, including adding it if it’s a new note. The only downside to this is that if I suspend Helix (Ctrl+z) then that also triggers this and if I resume (fg) and then quit it won’t automatically sync.
So I’ve also added a keybinding of fs to Helix to manually trigger a sync:
[keys.normal.f]
s = [":write", ':sh if [ "$(fossil extras)" != "" ]; then fossil add $(fossil extras); fi; fossil commit -m "Auto-sync notes"']
(Slightly different syntax as it’s sh as opposed to mksh)
I can’t see me fully switching from Simplenote yet as I don’t have a good mobile solution (apart from using a sftp client on Android… hmmm… maybe), but it’s interesting to play about.
Just under three months later, got my revenge after the first attempt wrecked my knee. Now I need to decide if I’m going to try even further.
Back dated this post to match the run date
These are the ten most recent posts (not counting any note drivel), for older posts see the Archive.