atomicules

Mostly walking the dogs

Review Of Omm Ultra 8 Backpack

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).

  • The top pocket is too small for a phone (very close to fitting my Pixel 7a), but I have got the older model which was released ten years ago so maybe there were smaller phones still knocking about then?
  • There is a key clip in the top pocket which seems a bit pointless. I tried clipping my keys to it and they just rattled around. Maybe if your bag is full that wouldn’t happen? But I’ve just gone back to what I always do which is to take one key off my keyring and just take that single key with me when running.
  • Fits one bag of Naturo 2kg dog food perfectly. Almost two, but not quite. It just (it was a squeeze, but I got it zipped up) fits 1x Harringtons 1.7kg dog food and 1x Purina Go-Cat 2kg cat food; So should fit 2x Harringtons dog food which is useful (to me).
  • With a light load it really does lock into place, is comfortable and doesn’t move at all.
  • With a heavier load (dog food) it did slide around slightly the first time I used it, but on a subsequent run I realised I could pull it tighter and lock it down (although it was then a little constrictive). Either way was better than trying to run with my none running bag though (also ten years old, but a 20L Case Logic not intended for running at all).
  • I struggle to tighten the straps equally and this means one of the ladderlock buckles did start digging into my ribs once - they could do with a bit of padding under them - although it’s also easy to loosen and re-adjust.
  • There is no way I can reach around to the side-pockets despite that being the intention - I think this is because it sits higher up on your back. I have to take it off to get to them.
  • I should have probably got the 12L one for “running to the shops” runs, but that isn’t really why I got it - I got it for taking food and snacks for longer runs where my daily little 2L Kanken Hip Pack isn’t big enough (great for my phone and couple of butteries or my jacket, but not for a water bottle).
  • I’ve used it on a 30k run for chucking my phone, jacket, water bottle and a little packed lunch in and there was plenty of room. Easily comfortable enough that you can forget you are wearing it.
  • It comes in a nice bright pink!

An Edinburgh Summer

"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."

Luckenbooth by Jenni Fagan

Ditto Aberdeen. That’ll do even though there are many more great quotes from this book.

There Is A Fear Spring May Not Come At All

"Every year around March, or sometimes April, there is a fear that spring may not come at all"

Luckenbooth by Jenni Fagan

Ties in nicely with the next one.

They Turn Toward Each Other And Kiss

"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."

Luckenbooth by Jenni Fagan

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

""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""

Luckenbooth by Jenni Fagan

Can’t really comment on this without getting myself in trouble.

Dad Would Like Me To Find A Nice Husband

"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?"

Luckenbooth by Jenni Fagan

Killing Is A Good Vocation For Me

"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."

Luckenbooth by Jenni Fagan

A few quotes coming up from this. This would make a great film - it would make no sense, but would be entertaining.

Notes On Building Hammerdb On Netbsd

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.

  1. See github changes
  2. Need to install 7-zip: sudo pkgin install 7-zip
  3. Need to install tcl 9 (just for the header file; Since HammerDB is actually building tcl this step feels superfluous, maybe the header is available locally when building and I just haven’t found it yet?): sudo pkgin install tcl90
  4. To build the pgtcl package need:

     export PG_CONFIG=/usr/pkg/bin
    
  5. 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

  6. 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
    
  7. 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


Running the builds

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!

HammerDB running on NetBSD

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.

Exploring Syncing Notes With Fossil

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.

  1. Created a repo on my (this) server, but a private one for now, not public
  2. Cloned that via ssh to my local machine: fossil clone ssh://me@linode/Code/fossil/repos/notes.fossil
  3. Then 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.

  4. 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.