Freesteel Blog » Julian
Friday, May 23rd, 2014 at 1:56 pm - Hang-glide Comments Off on Just an earth bound misfit
What a surprise. As soon as I get some hang-gliding in, I can’t care less about anything else. All those plans I of doing work and other productive things during the majority of my time I would spend not flying have gone out the window. Look, man, I have just spent three and a half hours spinning about in the air currents just getting up to the tops of the mountains at the very limit of my skill. Unless the house has burnt down and Becka has been kidnapped by pirates and held to ransom, it will be difficult to hold my attention. I am in a dream. I am also 1000 miles away and not coming back until June.

Meanwhile, there are Euro elections. I’m not sure why the green candidate in this Bad Aussee election poster decided to use his zombie impersonation poster. It’s all going to shambles. Democracy in Europe: we just don’t deserve it. At home we have the UKIP clowns, and the Conservative Party copying every crazy policy they can from the UKIP clowns in the belief that it will help them in the polls, when in fact people are not voting for the policies anyway; they are voting for the clowns, because at least clowns are honest. The mainstream politicians at the top are just in it for the ride, like I am with my flying. They don’t have any policies which they actually care about which, if delivered, would mean they would find something better to do with their lives. No one supports the Green Party to get power. Something must get done within the system or it’s all going to hell. Got any better ideas?

I had a second flight off Loser and went straight down before catching a thermal off the town that I followed right along up the valley in a sheared coil without much upwards component.

At some point I decided I was getting a little to far downwind from the landing field by the lake, and made a dash for it.
This was supposed to be a good thermalling day, but it wasn’t. I did have the fortune to reread the chapter from Burkhard Marten’s book about how to core a thermal, and realized I had completely misremembered it. I thought it said turn tight in strong lift, and turn shallow in weaker lift. In fact, it’s the other way round: as the lift decreases, you turn tighter so that you can quickly go back and re-enter the strong lift, but while you are in strong lift you delicately search for areas of even stronger lift whilst also opening out into an efficient wide turn that makes the most of the lift area.
Anyway, it’s starting to work for me. I have learnt to love circling. I used to think gliding was boring, like skiing, because all you do is go left, go right, or go straight and on and on and on. But actually, doing the circle is the pattern. It takes about 10 to 20 seconds to execute a circle, and the shape of that circle is the expressive force in terms of interacting with the invisible thermal lift zone, which is itself circular in nature.

I got rather dreamy in the air as I got into this notion. Then I saw a shadow on the ground that wasn’t mine. It was from another glider. I hadn’t been paying attention to what else was in the air for a long while. The pilot waved to me as he spiraled up past to a cloud that I couldn’t reach. Though it feels good, I am not as proficient as I should be.

Meanwhile, my co-driver, Tom, has been entertaining himself with some long cycle rides to check out the canyons. I promised we would descend a couple when I’m not out flying. Unfortunately, there’s a minor flaw in this plan: usually it’s the thunderstorms and rain that stops flying, which is also not the right time to be going into any canyons.
Tuesday, May 20th, 2014 at 6:55 pm - Hang-glide Comments Off on Snow ramp clearing
We drive all the way from England to the Loser Plateau only to find that the local Austrians had left their ramp full snow! Lucky we went up the hill early as it took me and Tom 2 hours and a borrowed snow shovel.

To be fair, it all fell in the last three days, after a winter of no snow, so it’s only come when nobody wanted it. Then the wind blew from the back until 2:30 pm, when it changed, and I took off.

Three hour flight with already very tired arms, just getting to grips with how to thermal properly. Landed on my face in the usual field behind Hilde’s. Time for bed now after one bier that the bar because Tom forgot to buy any in the supermarket on the way back.

One good thing, was my magic GPSSMS android app thing worked and successfully texted Tom with my position every 20 minutes when I was not too high. The secret function to make it work was WakeLock.
Tuesday, May 13th, 2014 at 7:54 am - Cave Comments Off on Digging and surfing
I got tricked into going on my second caving trip of the year. Some friends visiting Snowdonia requested a caving trip nearby, and then got lazy and pulled out after Becka, one of her friends from up north, and a couple of other cavers wishing to inspect some new dig sites were already up for it. These digs are beyond the dig we had dug in ODB for 3 years before it broke through last year into a previously known cave beyond a rarely dived sump.
There were two parallel new digs, both good, with drafts detected by watching the smoke from a stinky joss stick. You could hear voices ahead of you from the other one when you had crawled to the far end of each one, so they were connected, although the draft was not circular. The dig I worked at was wide, up a 30 degree slope and full of slightly damp mud and boulders.

Excavating each boulder out and rolling it down the slope was satisfying and freed up a surprising amount of space.
That was Saturday. Sunday was windy and noisy about the house. Becka went to the science museum in Manchester. I should go to Manchester more often. I delivered some election leaflets and then went to bed, feeling that I had caught a nasty cold just in time for my holidays. Turned out it was probably a lack of sleep. The four hour kite surfing lesson that suddenly popped into the schedule on Monday turned out fine.

Hey, it’s more fun than piano lessons. We should all take lessons in a variety of things that are economically useless and we’re never going to be good at.
It was light winds, which was good for the confidence, even though the instructor said it was not great for making progress. Still, it was pretty magical to be out there in shallow murky water with the Liverpool skyline on the horizon and the wind turbines not spinning. I do feel these homemade wetsuits are a bit on the chilly side. I actually hate buying gear, so we’ll make do.
Monday, May 12th, 2014 at 7:32 pm - Machining 1 Comment »
Most CADCAM systems have about half a dozen 2D polygon offsetting algorithms somewhere about inside them. None of them work very well because the trickiness of the problem is notoriously easy to underestimate. The naive method is to offset each line segment perpendicularly sideways and then insert an arc where the angle between two adjacent lines is convex, or otherwise trim them back when the angle is concave, like so:

This seems attractive because it’s going to work whenever the offset distance is very small. Once you offset further than half the minimum distance between any two vertices, then you start to get multiple self-intersections, some of which involve intersections with the inserted arcs. A little bit of thought and you’ll see that this quickly enters a quagmire and you’ll be debugging it for the next 20 years. This is not an exaggeration.
An alternative method is to use Voronoi diagrams. These are great if you want to offset the same polygon by numerous different values, for example if you are producing some offset area clearing passes. The API into such algorithms (if you’ve got one) is daunting, and it’s going to be very time-consuming to add features such as allowing offset to be on only one side.
When all else fails, there’s my machining method, where we repurpose one of the waterline machining algorithms to give the answer that we want. Here we imagine converting the contour we would like to offset into a vertical wall of rectangles, and then we run a flat-bottomed cutter against it. My weave sub-sampling waterline algorithm delivers the structure shown in cyan with a contour going all the way round it on both sides.

Now the trick is to break the contour so it gives only the right hand side (the yellow curve). We have filters for tracing out partial waterline contours based on the contact angle with the tool-tip — for example producing z-constant toolpaths only where the tool is in contact with the surface at greater than 75degrees so they only appear on the walls.
So we could fake this by tilting the vertical wall to one side so that on the upper side the tool tip makes contact with a slope at an angle of less than 75degrees, and on the undercut side the tool shaft hits the top edge giving an effective slope of 90degrees.
But this gets messy. It’s better to add in a special toolpath filtering case that simply works for this application and sets the flags to filter out the toolpath when the contact direction either on the left hand side of the contour, or in contact with one of the end-points of the contour if the contour is not closed.
The disadvantage of this method is that your offset contour is made up of hundreds of little line segments that only approximate the offset with regards to the endpoints of straight sections and linearizations of the arcs. But does this matter? Graphically it looks exactly the same. It might be good enough — especially if we don’t have to debug it for the next 20 years.
If I was starting this fresh and not trying to get it done in a day, I could encode which line segment or vertex each point of the offset shape was offset from, and then try to rejoin sequences of segments into the same line or arc where they came from the same entity. Then, after that, for segments that jump the gap between a offset point from entity A to a offset point from entity B, I’d extend the two offset passes to the true intersection between A and B. This would be robust almost all the time. And it would be fail-safe because wherever there was a problem it would fall back to the approximate offset — which is almost always going to be better than crashing or giving a properly screwed up result.
Friday, May 9th, 2014 at 8:13 am - Canyon, Hang-glide 2 Comments »
Yes, I got away on Friday to Whernside again with someone from the hack space to help carry up. And again the wind was off to the north and I was not able to go up to reach the clouds. I went down after 40 minutes, then packed, carried all the way back up the hill and flew again for 20 minutes back down to the same boggy field. This made me very cross, after all that effort on such a perfect day when other more competent pilots would have had a whale of a time. My calves in particular were killing me from plodding up the grassy face of this hill twice with the packed glider on my shoulders.


After this I decided:
“That’s it. I really am driving to Austria to do this properly. And I don’t care if don’t have any friends and have to go on my own.”
Sunday, April 27th, 2014 at 3:09 pm - Kayak Dive 1 Comment »
We went to Scotland over Easter with the Liverpool Canoe Club who rented the whole of the Blackwater Hostel. This meant folks didn’t have to be strict about washing up the pots and pans within seconds of using them for fear of pissing off the other guests.

By arriving early (having kipped in the woods near Lockerbie), there was time to walk up the the reservoir without a map (a map would have told us that it was too far to go). It took five hours in my normal shoes and I was cross and knackered by the end of it.
Saturday, April 26th, 2014 at 7:50 am - Machining 2 Comments »
A mere 9 years after we first tried to use our own mini-machine tool — which Martin wants to make sure everyone understands he did get working (shortly before it broke) — it’s been brought out of the cupboard and fitted with some proper electronics in the form of an Arduino controller by the DoESLiverpool Italian intern, and is showing signs of life.

The part of this kit that gave me the most surprise was the GRBL G-code parser code that ran on the Arduino. Look at the amount of software crammed onto that thing! Watch out Hurco and Heidenhain, your days are numbered. Soon all your industrial equipment will be deader than a Vax VMS.
My favourite function in the GRBL code is report_realtime_status() which prints a line of the form
<idle WPos:10.999,-0.5,9.1>
Yes, it’s the current position of the tool while it is running.
I immediately wrote a threading Python program to drip tool motions into the Arduino interspersed with the “?” command to invoke this realtime status to find out where the position currently had got to. Eventually this could become the principle behind a combined probing, cutting and dynamically feed-backing CAM system — something that cannot be implemented on industrial machines today due to their batch-work nature and one-way post-processing valve filter. For more, see earlier post on the feedback in the cnc drive configuration.
While writing an internal rant about why it’s okay to machine triangles, when some CAM systems claim to be “more accurate” because they locate their cutter positions against the analytic geometric surfaces themselves, I came to an important observation: the point nodes of the toolpath as defined in the G-code file are of no significance to the total cutting process, which continues along the straight lines between the nodes. All these cutting positions on the lines between are never on the accurate surface, so getting the zero dimensional finite set of node positions exactly right doesn’t make a difference.
Saturday, April 12th, 2014 at 9:43 pm - Hang-glide Comments Off on Wind, wet and machining
What’s a blog post if it makes any sense the next year? It usually doesn’t when I go back over them to look up an important piece of information, like the date when something happened. I do have a separate logbook for the flying and things like that. Blogs don’t seem to work. Too whimsical and public and I tend to leave out names.
On Wednesday I took the DoESLiverpool intern down to Mach2014 as he is a mechanical engineering student when he’s home in Italy.
|
|
Lots of whizzy cutting machines and mechanical gadgets, mixed in with generally unfriendly software companies who deserve to be left for dust when the far more efficient open source methodology finally moves into this sector and the programmers can talk to one other freely and discover how to get things done. The best ideas can never all be inside one company. (You can forget about ideas that are the combinations of many other ideas). It’s just a question of persuading the market to raise X dollars for the programmers to do the work, rather than handing over 100 times X dollars to companies who own the dead capital and mismanage the software development process with their layers of management and high level strategy thinkers who have grown too lazy to do any programming themselves, yet still believe they have something to contribute.
You know the saying: “All politics is local”? Well, I’m beginning to believe that All programming is low-level. You either understand the software, or you don’t. There is no high level structure that you can be involved in without knowing about the code. Take, for example, another branch of engineering. It’s self-evidently ridiculous that you could have anything to say about the shape of the skyline of a petrochemical refinery if you have no idea about what the chemicals are doing, and what needs to be mixed with what. Is it unique to software that people who don’t program want to be in charge of the design? The one thing we do need from managers are specific performance targets to keep us from making excuses. Something like: “If I’ve got a 32 core machine, I want it to run 32 times faster on this example. Is there a theoretical reason why I can’t have that?”
Anyway, the picture on the left is a set of printed titanium parts for a bicycle frame that no one dared ride. The one on the right is of a mini-machine tool with a huge toolchanger system. There are no plans for a toolchanger on our triangular machine. I wonder if we’ll discover that this is a problem.

I spent all Friday at Llangollen for a 12 minute flight down the hill where I only barely cleared the fence into the landing field having taken an extra turn to bleed off height when I was stupid enough to think that I was going to overshoot. Something wrong with my judgement here. The guy I drove down with reckons the half-life for hang-gliding skills must be 6 months. Got a lift back to the top, set up again, then the wind changed, and we watched three paragliders soaring up to the clouds while we were grounded in a light, cold easterly cross-wind. Humph.
Time for something new. A month after seeing kitesurfing on the Wirral on a bike-ride with Francis, Becka and I were having a 4 hour lesson with a surfer dude in the same place near New Brighton.

This would have been last week, but after we’d got up at 6:30am, caught the train to Birkenhead where it broke down, and then cycled at a mad rush to the north coast through the morning rain, we met the man in the van who said there was not enough wind. He gave us a lift back over the water, and got the message that we were keen.
Still, compared to anything else I’ve tried to do, this is very close to instant gratification. We were kite body-dragging through the waves by the end of the fifth hour of the lesson. What a long day.
Tuesday, April 8th, 2014 at 9:56 am - Cave Comments Off on Brief underground respite
Weather was nasty over the weekend, I’m losing the plot when it comes to programming, and I enjoyed the physical activity I did last weekend, even though the flying was not successful.
I joined Becka and others on a “promising” dig in Gaping Gill beyond Hensler’s endless flat out crawls, and through the “blowhole”.
![]() |
![]() |
The dig was a tight wet inlet with pooling water, mud, and not enough room to turn over onto your back from your front. Clearly this had been subject to terminal worm-holing. There were a lot of digging tools to use with which I tried to widen the passage vertically at the front — though I didn’t pass much spoil back into the digging trays during the process. Tom took over after 90 minutes of me hogging the dig until he got too cold due to not wearing enough neoprene. We retreated and warmed ourselves up by chucking a heavy rock back and forth between us until our lower backs hurt. The remaining diggers complained that we’d used up all the air, so they couldn’t do any more. Never a good sign that a dig is heading towards big passages.
I got back-of-the-knees wetsuit rash walking up to the entrance, and we nearly got lost in the fog on the walk down. It was great. After a quiet night at Bull Pot Farm (all members were at the dinner/AGM), I got dumped at Clive’s house for a few hours while Becka went caving. This lead me wasting time on a couple of FOI requests to [1], [2], and flicking through the ACCU magazine to find an article about the First International Conference on Software Archaeology.
About time people started talking about software archaeology. It’s evidence of the dereliction of responsibility that the executives running our large moneyed software companies whose wealth depends on the functioning of decades old piles of buried and very crappy code are not properly funding this field of study, and leaving it up to a small number of visionary amateurs to do what little they can, while the executives cash out their share-options for yachts and corporate take-overs. I see no process within the corporate power structures that would result in those who control the money becoming aware of where the actual needs for investment lie. If it was seen that corporations devolved certain budgets to be disbursed by internal committees staffed by people who understood the challenges and were in a position that they did not need to get things signed off by senior officers who didn’t understand the challenges, maybe something positive would come out of it. After all, the public sphere exists as a system of quasi-autonomous organizations with their own budgets to get on with matters that central government are not always politically happy with, but which need to get done, so why is it not a viable option to consider such formal systems of operation within corporations?
Tuesday, April 1st, 2014 at 8:26 pm - Hang-glide Comments Off on Flight down to upside-down on Whernside


