Note: Belatedly got around to listening to Holly Humberstone's new album and To Love Somebody is one of my favourite songs of the year!
Note: Belatedly got around to listening to Holly Humberstone's new album and To Love Somebody is one of my favourite songs of the year!
Was going to edit the original post, but was easier to do a new one.
Went back to this again recently to make some better changes (did not mean to take two months… sigh) and it wouldn’t build! I’d either completely forgotten some of the steps I took last time or the build has changed a bit? Note that even though my changes are still on HammerDB 5.0 that doesn’t mean there haven’t been upstream changes - The HammerDB source code you obtain from Github is more like a “build system” as opposed to the actual source you are compiling. When you build from source you are actually running Tcl scripts that download source code from the TPC/HammerDB website and then it builds that.
Anyway, further to last time ended up doing this:
Turns out I did need to do this bit:
sudo ln -s /usr/pkg/bin/python3.12-config /usr/pkg/bin/python3-config
./Build-Linux.sh x64 Setup/HammerDB-Linux.bawt update would fail because the Makefiles wanted to use -ldl which isn’t applicable for (Net)BSD. So instead I stepped through the process manually:
./Build-Linux.sh x64 Setup/HammerDB-Linux.bawt extract../Build-Linux.sh x64 Setup/HammerDB-Linux.bawt configure../Build-Linux.sh x64 Setup/HammerDB-Linux.bawt compile.Makefile and remove the -ldl and re-run the compile and repeat this until all components had built../Build-Linux.sh x64 Setup/HammerDB-Linux.bawt distribute../Build-Linux.sh x64 Setup/HammerDB-Linux.bawt finalize. Weirdly, even though I’m sure these are the same steps update does, this didn’t copy all the required libraries into the distributions so I had one final step of:./Build-Linux.sh x64 Setup/HammerDB-Linux.bawt update.That got me working Dev builds again. I also had a play about withstrace/dtrace/ktrace on the Prod builds and figured out they were actually fine, it was just looking for the libraries in an odd place; Say I had extracted at /home/me/temp/HammerDB-5.0, well, it was looking for /home/me/temp/lib. So I just copied the lib folder from a Dev build to that location and then the Prod builds would run fine; I started with strace just for ease of use, but the version on NetBSD is old and doesn’t print full filepaths which makes it useless. ktrace and kdump are pretty easy to use as well, but only if you know what you are looking for upfront and I didn’t, whereas dtrace is more complex, but I could get it to put all filepaths for HammerDB and eyeball a non-existent one:
syscall::stat:entry, syscall::lstat:entry, syscall::access:entry
/execname == "hammerdb"/
{
self->path = copyinstr(arg0);
self->probe = probefunc;
}
syscall::stat:return, syscall::lstat:return, syscall::access:return
/execname == "hammerdb" && self->path != NULL/
{
printf("%d %s %s errno=%d\n", pid, self->probe, self->path, errno);
self->path = 0;
}
Next for me on this: Figuring out a better Makefile fix so that’s less tedious to do. And it might not be impossible to do a Pkgsrc package for this since the separate steps (extract, configure, etc) would align with Pkgsrc.
"Your eyeball is not a well defined statistical procedure"
In a past-life I ended up doing quite a bit of statistics. There is some evidence on this blog and I even linked to this website before it was the website it is now and before it was a physical book. Bought the physical book recently and have been reading (re-reading?) it due to a change of role where I’m hopeful I can make use of some statistics again (I have already managed a bit of R ♡).
There are many different blog posts and repos out there for running Claude in a container, but this was one of the first I found and I liked its simplicity (over options like this).
Made some tweaks to this so I could use it at work with our evil MITM TLS.
Seems pretty good. Limitations so far:
--no-verify (linked to above and also can’t sign my commits since I’m using 1Password for my ssh keys and it can’t trigger that from the container)But… I feel far more comfortable running it this way and I don’t have to babysit it.
A follow-up to 75+75.
I started trying to ramp things up over my base of 75 minutes of running a week at the end of 2023 - I just thought it was sad to let go all those years of work building up my distance. And on and off I’ve managed to do it. I managed nine Brimmond Hill (24km) runs last year, plus one Bennachie (21km, but totalling around 27km with the runs to and from the bus to get there). This year I’ve managed three Brimmond and Elrick (30km) runs. None of that is possible with a limit of just 75 minutes running.
I still struggle for time for running, especially now the dog is so old and can’t really be left alone for more than three hours at a time, but I do want to try to keep my distance up a bit so I’m trying a new weekly base of:
Roughly working out as:
Although I could do with squeezing in the yoga in the week so it doesn’t interfere with weekends.
If I am lucky enough to find the time to fit in a long run (two to three hours) then all the better. But if need be I can also split the 75 minutes between mornings and evenings.
This actually only works out as 3% of my time - 75+75 was 1.5% - which still feels very reasonable and non-selfish to me, but it’s not my opinion that matters. Maybe one day I can have 3% of my wage as well, but that’s staying at 1.5% for the next couple of years at least.
My dog walking has rapidly decreased due to the age of the dog. She just can’t walk very far any more :-(. Doing more walks a day, just very short.
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?"
These are the ten most recent posts (not counting any note drivel), for older posts see the Archive.