Home / 2017 / November (Page 4)

Guides and tests

Well, made a dog’s breakfast of the bandsaw boxes I was playing at. Couldn’t make the turn needed and the blade came out the side of the blank. Oh well. Now I have two paperweights (and one successful box, out of four blanks). I’ve ordered a one-eighth inch blade off Tuffsaws, that should get here next week and I can try again. I’ll prep new blanks tomorrow for that.

Bit of a waste, those 🙁

Meanwhile the older replacement y-lever for the #5½ arrived and I replaced the existing y-lever with it and it’s been a lot nicer to work with since. And no surprise. This is what the more modern y-lever looks like, two pressed steel parts riveted together:

Unfortunately, the rivet on mine isn’t as tight as it should be and even glue didn’t stop the inevitable end result (and if you’re thinking this would interfere with setting the plane you’d be right):

Meanwhile, back on the main project…

The bridle joints involved are a bit of an oddity; nobody really cuts them often enough to get good at them, at least not off the saw, so these are Richard McGuire’s basic jigs for helping to cut them (and the test sticks in the backgrounds, just a spare bit of poplar that I’m using up).… Read the rest

Read More

Flattening and boxes

So, started off flattening the apron. This went pretty well after I switched over to the #5 and sharpened it up a bit. The narrower blade means less pushing effort and that seemed to help a lot. And then it was time to thickness down from an inch to 3/4 of an inch.

This is not my favourite activity. And honestly, if they made an induction motor benchtop thicknesser I’d have bought one already, but unfortunately they’re all universal motor things — and lunchbox thicknessers, even if you fit them with helical blades and all the fancy doo-dads, are just too damn noisy to run in a housing estate. You’ll wind up triggering a torch-and-pitchfork party of your very own if you do that round here once too often.… Read the rest

Read More

fork()ing and fstat()ing in JRuby using FFI on linux

Sometimes, $DAYJOB can get kindof technical. For reasons I won’t go into here because NDA, the following axioms are true for this puzzle:

  • we have to work in JRuby
  • we are in a plugin within a larger framework providing a service
  • we have to restart the entire service
  • we don’t have a programmatic way to do so
  • we don’t want to rely on external artifacts and cron

Now, this isn’t the initial framing set of axioms you understand; this is what we’re facing into after a few weeks of trying everything else first.

So; obvious solution, system('/etc/init.d/ourService restart').
Except that JRuby doesn’t do system(). Or fork(), exec(), daemon(), or indeed any kind of process duplication I could find. Oh-kay, so we can write to a file, have a cronjob watch for the file and restart the service and delete the file if it finds it.… Read the rest

Read More