Freesteel Blog » Julian
Monday, October 20th, 2008 at 9:58 am - Cave 2 Comments »

In her efforts to delay the democratic revolution, Becka hauled me off for a weekend of crawling through the lead mines in Nenthead with the North Wales Caving Club (someone has got to add some details to that wikipedia article) — when I had a whole lot of better things to do. “But you had all that fun messing around down in London and Cambridge this week,” she said. The revolution has to be put on hold.
We visited the upper levels of the mine on Saturday and eventually found the calcited ladderways down to the lower levels where there are several kilometres of wading neck deep water just below the dry stone arched ceiling before you come out of another entrance. We did this trip about five years ago with the Red Rose Pothole Club, but Becka had completely forgotten it. Mines are sumped. Who knew? They are not natural drainage formations, like caves are, so they trap the water and fill up when the pumps are stopped.
Friday, October 17th, 2008 at 9:10 am - Machining, Whipping 1 Comment »
It’s not working out as I had hoped.
The grand plan was to run the Windows-only software HSMWorks and the C++ development compiler from Linux through a VirtualBox session that hosted a copy of Windows. That would mean that while the whole of the “we need high performance and to play games” CADCAM world chose Windows, I wouldn’t be stuck with it in order to develop the software.
Now Windows, and especially the new Vista, acts like it is the one true operating system in the world. When you install it on your machine, it takes ownership and blocks access to all other operating systems that might be there. The software is a lazy, arrogant bully, and most people give in to bullies if they want an easy life. Therefore bullies predominate. Even when ugly.
I should have known that my grand scheme couldn’t possibly work. I would have had more success if I bought a 100% Windows machine and ran Linux in a virtual box session within Windows, because things can get along that way. Linux is an effete wimp that does its best to get along in a world with a bully. But since now only 30Gig of disk is in the Windows partition, there isn’t enough space for that.
Here’s my log of the day.
9:47 Insert HSMWorks disc
10:00 Installed.
10:06 Run HSMWorks
10:08 Download Firefox
10:09 Install Firefox
10:10 “Detected change in activated licensing components. You need to run HSMWorks as an administrator”
10:11 Firefox complete.
10:12 Control panel suggests the vista Julian account is an administrator.
10:13 Skype to Copenhagen – bug in old version. “update from web”
10:20 Download the experimental version from hsmworks.com
10:23 Copy out license codenumber into form
10:24 “Failed to update machine configuration. Please make sure that you have administrative privileges”
10:28 Although when you list the user accounts it says Julian (Administrator), the “Make changes” page has the radio button for “Standard user” set to On and “Administrator” set to Off; when you click on this the “Change Account Type” goes grey.
10:31 Becka, who has the password in her office, is not there.
10:32 Install the Chinese Government IM service
10:33 Try to download putty and save in System32 directory. It won’t let me.
10:35 Read the net for a while.
10:41 Copenhagen gets back with the idea of running a remote Netviewer session. Software was installed with HSMWorks
10:42 All sessions in use now. come back later.
10:50 I misinterpreted the administrator privileges dialog on Vista.
10:56 Run Skype and take a .reg file from Copenhagen
10:59 HSMWorks still doesn’t work (administrator error)
11:00 Get another .reg file from Copenhagen
11:01 Failed again. “Make sure you have administrator privileges”
11:13 My old computer, which I’m taking these notes, rebooted for an operating system update whether I like it or not. I’m getting screwed over by Windows in stereo. Martin tells me to stop swearing.
11:15 Still waiting for remote viewer key thing so Copenhagen can work out why my UAC (User Access Control) is blocking HSMWorks security key installation. I couldn’t save putty.exe directly to system32 directory; I had to copy it in and go through dialog boxes.
11:17 Windows comes with java installed.
11:20 Try to install python. Fail due to lack of administrator privileges. Conclude there is some irritating dialog box obstructing administrators from doing administratory things.
11:31 Check through the internet and discover the Run as… technique
11:34 Download the JDK 1.6
11:35 Download TortoiseCVS and TortoiseSVN
11:42 Voluntarily register with Sun for the JDK
11:43 Run netviewer and hand control of the computer to Copenhagen
11:46 My computer is now possessed.
11:49 Watch him do the Run as… hack
11:50 Debugging appears to be happening
11:57 Install TortoiseCVS at my own risk
12:00 Install Audacity to see if there’s a mic. Is none.
12:05 Install Open Office
12:10 Install HSMWorks 2008
12:14 Decide to install C++ while they look into it.
12:30 Run As… hack on HSMWorks works.
12:37 Now downloading 0.5Gig service packs for the C++ compiler
12:48 Go to lunch
14:00 Back from lunch. Finish installing C++ Studio updates
14:20 Down to 3Gig disk space out of a total of 30Gig in the Windows partition
14:29 Begin SVN checkout of HSMWorks codebase
14:36 Back to 4.7Gig free. Uninstall Open Office
15:10 Get the C++ environment working
15:13 Install Swig. SVN checkout HSMWorks thirdparty code
15:37 Uninstall JDK and extra Java versions
16:00 SVN checkout the vroni code
16:05 Do more recompiling because I selected the wrong solution (so many old ones floating around not cleaned out)
16:08 Struggling over getting the python24 that we use in HSMWorks compiled. Ask Copenhagen for help.
16:10 Getting itchy to log in to Ubuntu, but then I won’t get any workwork done. The point here is to build the development environment the Danes use in Solidworks, which I have got by without until now.
16:43 still struggling with getting the python in HSMWorks to function.
17:00 Shutdown, reboot to Ubuntu. Find that all the software I’d installed before sending it back to the Emporium is still there
19:06 Still fighting over getting one of virtualbox or vmware to work
19:49 Have discovered I should be loading virtualbox2.0 not virtualbox-ose. Then chown-ing all the /dev/sda disks
19:57 The virtualbox works, Ubuntu boots in it, but Vista is sick when it does so.
20:20 Serious error with apt. Try rebooting
20:23 fsck error. go into root and let it try to fix everything
Fed up, I went home without my computer.
Using a dual boot, my working habits are going to be different. I am either going to do some actual machining work in Windows and not have any room to do anything else, or reboot into Linux and do all the fun stuff with undemocracy, publicwhip, tunnelx, and other projects. I won’t be able to change jobs so easily in the middle of the day, so I will be forced to remain focused on finding the intersection between a line and a torus if that’s what I have to do. I’ll try it. Maybe it’s all for the best.
Wednesday, October 15th, 2008 at 7:31 pm - Whipping Comments Off on Even less justice for Open Source
There is a vast scheme for computerizing Her Majesty’s Courts Service (HMCS). I don’t know anything about the job specifically, but I do know about the computerization of the Acts of Parliament — the DNA of the legal system, if you will — and how ineffectively done it is.
I contend that if the powers that be weren’t so concerned about printing them on vellum for the benefit people 500 years hence who may or may not give a flying frog about it long after all the UK government buildings have sunk beneath the waters of the Thames, they might have time to get something useful done for the people to whom the law applies to today as it is drafted by people today.
One obvious feature involving the Acts of Parliament and the legal system would be a method for tagging every argument, hearing or legal decision on the public record to the Act, Section, or Regulations it specifically references.
From this, we could generate the big picture, a poster shot of how the legal code is performing, where it is defective, misapplied, buggy, and what needs to be fixed. The UK Parliament is the sovereign body with the power to patch this code, and through our electoral process we are supposed to influence how this works.
At every level of indirection there is a loss of control and influence to whom it effects.
We don’t vote for whether the coordinated action of the state can do one thing or another; instead we have judges to decide on this, and the judges interpret the written law.
We don’t vote for what that law is; instead we have political representatives who argue about it and ratify it for us.
And over the very long term, usually without considering the effects on the law, or the effects of the law, we, thrice removed from the actual application of effective coercion, we get to chose from a narrow selection of party appointed operatives those political representatives.
There is, for example, an identity card system underway which the government is going to impose upon us, and people who don’t like it are going to get busted under Section 7(5) of the Identity Cards Act by a judge. An effective and democratically enabled court filing system would note each case against that section in the Act, and these notations would connect back to the decision in Parliament where they passed this section of the Act as well as the Act as a whole, and thence back to the individual MPs who voted for these sections whom we have no alternative but to hold personally liable for committing these fellow citizens to civil proceedings and possibly to jail, as well as wasting vast quantities of our national treasure on this boondoggle. With effective accountability of this nature would come the responsibility to fix it. It is within the power of our Parliament to change any law at any time without limitation. That’s what the Home Secretary told us yesterday when she promised to have a draft Bill to extend the time period people could be arrested without telling them what for, available on stand-by to be voted on in the event of a “national emergency”. Presumably an emergency as good as that other public emergency threatening the life of the nation which they declared without anyone noticing, and which stood for three and a half years.
Of Course, none of these interesting features are present in the plans for the computerization of the courts service through the Ministery of Justice’s new multi-million pound Electronic Filing and Document Management (EFDM) contract.
Last month I blogged about the feasibility study of the scheme, and its lack of any mention of open source. This month I got some further documents through an FOI request.
Here are the vision statements.
From the Business Operating Model V1.
The EFDM vision is to provide a more cost effective, accessible and speedy service to litigants, court staff and the judiciary through a transformation of the way court services are accessed and delivered by adopting e-Enabled justice through e-transmission of documents and universal access to an e-case file.
(BTW, I met the former e-Envoy last night. This experience will be blogged later.) From the Business Prospectus 1.0:
e-Enabled justice through e-transmission of documents and universal access to an e-case file; producing a transformation of the way court services are accessed and delivered, and a more cost effective, accessible and speedy service to litigants, court staff and the judiciary.
As you can see, the system will be fundamentally limited to the task of busting people efficiently, and not anything towards helping answer questions like: What’s law doing here that’s any good? Who’s getting hit? How can we get it changed?
Because it’s not open source, there is no possible way for someone with an interest in these questions (that’s all of us, unless we have been propagandized not to give a damn until it’s too late) to retro-fit these features into it.
The EFDM contract is interesting because it’s not only out-sourced. The outsourcing itself has been outsourced to two private consulting firms who appear to have drawn up an utterly vague and vacuous set of designs and operating structures with not one use case scenario or piece of recognizable functionality anywhere. But they’ve got an “implementation approach” (p14 of Business Prospectus) seen here now:

Someone I showed these documents to said immediately: “That looks like Microsoft Sharepoint.” And it probably is, because designers always copy “neutral” specs from what they know. Limited experience is in general a mental prison.
There is some dreadful blue block-diagram flow chart that’s repeated several times in different forms throughout the documents, and it looks like nothing more than the organization chart for Amazon.com, the on-line book-seller, with its Front and Back Offices and National Bulk Centres, delivery flows, and arrows to icons showing that it can send your invoices for fines or fees by Fax or Email. By page 30 my brain had died.
From Business Prospectus – Annex A:
Critical Success Factor
- The operational time taken for HMCS court staff to complete the full
range of case related activities is reduced.Objectives
- The delivery of new and improved modern channels for ease of access to court services and appropriate case information [Internal & External Channels – Areas 1 & 2 and 3 & 7]
- To deliver efficient and effective management of case files and case records within the court services operation through the removal of paper and the provision of IT tools and revised working practices [Input & Output Management and Business Information Management – Areas 4, 5 & 6]
- To introduce standardised management of case records
from creation through to archiving [Areas 4, 5]- To free up office space by the removal of paper and the streamlining of operational procedures [Back Office capability – Area 9]
- Enhance the reputation of HMCS [All areas of BOM]
- Improved capture of management statistics, to facilitate better understanding of business operations. [Back Office – Area 9]
We Know It’s Achieved When
- The service levels for responses to a case are within the timescales set, i.e. the administrative process steps to be completed within 5 days for 94% of cases.
- BMS times for case file related processes are revised downwards
- HMCS court staff can to locate a case file in under 10 seconds and therefore able to answer a query made by the litigant or defendant – fewer case files are lost or incomplete.
- Case documents are easily stored and accessed and associated with other documents which have already been filed for that case.
- The reduction in time of the overall court processes mean that judges can increase by 5-10% the number of small claims cases processed. Similar increases in processing will also apply to fast-track and multi-track cases.
Annex B is very boring. Annex C is where you look up the definitions of Service Upgrade Projects (SUPS), Work(flow|load|force) Management, and e-bundles.
Then finally the Pre Qualification Questionaire which “has been developed to enable Logica to recommend to the MoJ an initial longlist of Bidders suitable to be invited to negotiate to meet the requirements of the EFDM Programme.”
The PQQ ensures that nothing good whatsoever can come of this project:
Please provide a copy of your senior management organisation chart.
Please describe (using diagrams where appropriate) the proposed structure of the organisation which would deliver the services envisaged for EFDM, and the reporting lines within your organisation.
Give your view of the benefits of the organisational approach you are choosing and, if relevant, the strengths that the different companies bring (where appropriate).
…
The successful supplier will be required to use a recognised Programme and Project Management methodology, consistent with or interfacing to Government standards such as Managing Successful Programmes (sic), PRINCE 2, etc.
Describe in outline your preferred methodology and management tools that you have applied to your existing Government contracts.
…
The MoJ strategic preference for the delivery of IT solutions is to “buy not build” and the re-use of existing components and services, or Commercial Off The Shelf (COTS) products, (integrated and configured as necessary to meet the business and technical requirements) is therefore the preferred approach for EFDM.Bidders should describe the components that they have used and implemented in similar systems, highlighting their use of Commercial Off The Shelf components in these solutions and identify the business and technical benefits provided by the use of each product.
Most importantly, from my point of view as a coder who understands the purpose of free software, the PQQ Annex A has in 7.1
As a general principle, IPR in software that is specially written for the project is owned by the party best placed to exploit those rights. This will usually be the Contractor.
So the general principle is to gift a monopoly on this publicly funded capital so we don’t get to use it or add features. The government looks after its own interests thus:
The Contractor the
Authority should ensure that it is given a perpetual and royalty free licence to use the specially written software providing as a minimum rights to:
- use it within the Authority’s organisation without restriction;
and
- allow other public sector users to use the services provided by the
Contractor;- transfer the benefit of the licence to other public sector bodies;
- allow other service providers to deliver inter-connecting services; and
- allow other service providers to provide the services or replacement
services upon termination of the Agreement, the triggering of step-in
rights or upon the expiry of the Agreement.
What would I have done?
Well, for 2 million quid which it cost to do the feasibility study, write no code at all, and spread any kind of knowledge anywhere, the Government and the court service could have run a series of open days on its premises to show technically minded people and companies what it does, what it needs, and hold week long workshops that heard about and took advantage of the community knowledge and experience before committing to anything tedious. Some of the people who went to these conferences might find that it’s really interesting, and so within their capabilities that they start up a business to help supply the government’s needs, and the wealth and capital spreads, and everything improves with good software and people who are interested open and care.
Anything but set up a system where the money goes to the usual suspects who have no intellectual interest in the process whatsoever, and wish that anyone out in the wider world who does have a technical interest in the problem — as distinguished from making lots of money by servicing a crappy contract — would just go jump in a lake, or get lost in some other way. We don’t need them. All they’ll do is interfere with profit making. Good bye.
Wednesday, October 8th, 2008 at 3:58 pm - Machining 14 Comments »
You don’t begin a project that will take the rest of the year and more without evading it as long as you can. Finally I’ve begun to break ground on this.
Background: Almost all industrial algorithms for generating toolpaths for 3-axis machining are based on the Drop Cutter function, where the tool is lowered along its axis towards a triangulated surface until it makes contact. I have discussed this here, where I also add my usual complaint about how almost all of published academic literature on 3-axis machining is based on the contact point offset from a point in a parametric surface, and so is of no use. The problems raised by that approach are insurmountable, and you don’t need to solve them because there is a better way.
For most CAM systems, if you speed up the Drop Cutter function (which for toroidal cutters often depends on solving the quartic equation), then everything runs faster. The other determination of performance is if the implementation of the machining strategy calls this Drop Cutter function too frequently. That’s how fundamental the function is.
The only 3-axis machining algorithm that does not depend on the Drop Cutter function is the Horizontal Projection function used in the calculation of constant Z (waterline) contours. (A visualization of a bug in it is shown here.) This Horizontal Projection function finds the points of intersection when the cutter moves in the plane perpendicular to its axis. In Machining Strategist/Depocam I never solved it for the toroidal case (because I didn’t know the answer to an order six polynomial which you get instead of the quartic), and used a neat little fudge where I could get to the same answer by measuring the contours for a ball-nosed cutter and then offsetting the contour in its plane by the radius of the circular axis of the torus. In HSM Works/Adaptive Clearing I finally worked out how to do it, which is fortunate because I’m going to need it here, and there’s no way round it.
The obvious fundamental 5-axis cutter location function is shown in the diagram above. The cutter is in an arbitrary orientation (the red dotted line is its axis) and is dropped in an arbitrary direction (the thick green vector) to find the point of contact with the triangulated surface (outlined in blue).
We can transform everything into a better position and make the green vector the vertical Z-axis. Then, if the dotted red line (axis) is in line with this green vector, we’re back to the 3-axis condition. If the dotted red line is horizontal (perpendicular to the green vector), then that’s Horizontal Projection function. Otherwise we can rotate the assembly so that the dotted red line is in the X-Z plane to observe that the only new parameter we need to include is the angle between the axis of the cutter and the direction of projection. (If the red axis line is below the horizontal I’m going to reflect about the horizontal X-Y plane.)
Makes it seem simple. The interface into the big calculation engine that solves the Horizontal Projection function merely needs to take a unit 2D vector in the X-Z plane representing the tilt from the red vector to the green vector. A value of (1,0) is the Horizontal Projection, and (0,1) is the Drop Cutter function.
At least that gives it a home and a tiny tweak to the interface for the other developers to access. But there’s going to be thousands of lines of hard code coming up real soon over the next few months.
BTW this doesn’t unify the Horizontal Projection and Drop Cutter functions, because the Drop Cutter, being as fundamental as it is, is unbelievably optimized. In its case there is a rotational symmetry about the Z-axis that can be heavily exploited. Once there is a tilt from this axis, the symmetry is broken.
And so to work.
Tuesday, October 7th, 2008 at 10:56 pm - Cave, Whipping Comments Off on Yorkshire caving failure
Last Saturday we went to the Low Carbon Communities conference in Llangollen, a charming location without any convenient public transport for arriving on the day. Several non-depressing talks were attended. But we’re doomed. And that extends from the bottom of civil society like there, to the top where even today the minister in charge of the new Department of Energy and Climate Change (DECC) is too cowardly to concede that an 80% reduction in carbon emissions is utterly inconsistent with a 50% expansion of airplane capacity at Heathrow. Even when the entire financial system has exposed itself for trading while bankrupt and the business community should be at its weakest. We have nothing to fear from them. Their threat was always that they were going to pull out of the country and ruin the economy, and they’ve achieved the latter without doing the former.
Friday, October 3rd, 2008 at 1:05 pm - Machining 3 Comments »
Here’s a computational geometric problem I found in the course of work with no obvious good algorithm to solve it.
Take this picture below. The dotted line provides orientation and shows you where the endpoints are. We’ve got red dots and blue dots, and we start with a green piece of string threaded above the red dots and below the blue dots. (We can assume it’s in order along the orientation of the dotted line.)

Now pull the green string tight through those endpoints to get a nice zig-zaggy result like so:

I need a clean algorithm that will get to this answer. For the moment I am confounded.
The actual problem relates to smoothing a 5-axis milling machine toolpath with respect to one of its rotational axes while avoiding collisions. For this, the situation is a little more complex (I don’t want to calculate the positions of the blue and red points unless I absolutely have to), but an answer to the simplified version could lead the way.
Meanwhile, out in the real computational geometry world where there are professors, you’ll discover endless amounts of study of a similar, but somewhat less interesting problem of finding the convex hull of a set of points.
To get to this uninteresting problem, simply throw away all the red points and put the starting line all on one side.

The algorithm for pulling the red dotted line tight to get to the green line over all the points is easy to see: Consider each sequence of three points in order; if the middle point is below the line joining the other two points, then delete it.
If you run this trivial algorithm twice, once for above and once for below, and you started by finding the extreme left and right end points, you get Andrew’s Monotone Chain Algorithm for the convex hull of a set of points, published in 1979.
Finding the convex hull of a set of points has occupied quite a bit of attention over the years. We start with the Graham scan of 1972, the Jarvis march gift wrapping algorithm of 1973, the Alk-Toussaint heuristics of 1978, the Kirpatrick-Seidel algorithm of 1986, and Chan’s algorithm of 1996.
Never has so much mathematical honour been accorded for so little over so many years as has been the case for the computation of convex hulls. New students come to this field and wonder what the hell the whole fuss is about, because it looks just obvious. It is obvious. All the algorithms are pretty much O(nlogn) because they apply a sort function at some point and, in my opinion, are absolutely equivalent. The later advances merely involved partitioning the points into smaller sets, finding the convex hull for each set individually, and merging the result.
As these students grow older and eventually become professors, they realize what the game is, which is to have an easy life in a comfy job doing stuff that isn’t very hard, but just looks like it is because it has lots of equations so no one is going to say it’s silly. At least not anywhere that matters. (Blogs don’t count.)
The last thing you want is for anyone to find an application in your area. You don’t want some random machine tool programmer coming along and saying: “Oh, you look like the sort of person who ought to be able to solve this computational geometric problem I have here,” because they might find you out.
I can rephrase the problem in terms of the fruitful convex hull situation:
I want to see a slick algorithm to go from this:

to this:

where the string is pulled tight, with the blue birch trees on the inside and the red maple trees on the outside of the perimeter.
Then you can get one of your colleagues to name it after you (if your name sounds cool enough), and then later, after they’ve done something with one of the numerous variations of the problem (eg higher dimensions — the string passes through a set of polygons in space — or made-up geometries), you can return the favour by naming their invention after them.
But be warned. The older professors are going to say, “No no no no no. You don’t understand. Convex hull algorithms are the foundation stone of all computational geometry for the last thirty years.” Let’s not be too hasty and get beyond into stuff involving tori, and triangulations, and hundreds of other things it would be useful for someone to look at. You wouldn’t want the subject to become too difficult and sophisticated by the time you grow up. Next you’ll be telling me I should be releasing my code under some new-fangled public license so other people can make advances on it, and that I shouldn’t be using FORTRAN, which is a perfectly good language, I’ll tell you, because it makes moderately straightforward things into a terribly complex scramble without any effort. I am not going to put up with you telling me that your sloppy Python language is so much better and that I should learn something new. You young people always think you know everything.
The point of a university academic is to produce papers. You’re not supposed to get involved with any curious applications that are someone else’s problem. Unless they pay you. And you certainly don’t want to be maintaining libraries of free software functions in use out there in the wider world, like it is some kind of public service.
* Have I mentioned how many implementations of the quartic equation I believe are out there in the industry? I keep wanting someone in a university to maintain a really good one, and part-exchange it for the copies of this routine implemented in all the different CADCAM systems in the world, and do a sort of interesting archaeological code-study on them.
The researcher wouldn’t actually need to write their own. They’d only have to pick the one which is the best. The game is that all the CADCAM companies have a version of this and many other fundamental algorithms, and nobody knows who has the best. But if ten companies all got together and put their implementations into a pot and chose the best, each one would have a 90% chance of improvement in efficiency for free in each case.
Usually, the companies who are most unwilling to consider this game — even as a thought experiment — are the ones with the worst quality software. It’s the lack of curiosity that’s the give-away. They guard their source code jealously, because “someone might learn a secret from it and gain a competitive advantage”, yet they are the last ones who would ever comb through someone else’s code if they got access to it.
As with a lot of concealed secrets in business, the real revelation is that there’s nothing there. It’s just a game of Poker. Fun, but a waste of time, ultimately. It would be nice if someone clever went round the table telling everyone what to play so we could all win big against the House. It’d be more fun for those who want to move things forwards, rather than just maximizing the money. Eh?
Thursday, October 2nd, 2008 at 6:35 pm - Cave, Kayak Dive 2 Comments »
Regular blogging has been delayed due to a lack of pictures. Becka keeps swiping the camera, downloading the files onto her computer because mine is full, and stashing everything away in her own office. But plenty has been happening.
The North Wales Caving Club scheduled a rescue practice in Parys Mountain, Anglesey for Sunday 21 September. The weather was sunny and flat calm, so we got in gear and got out there on Saturday for a paddle out of Amlwch harbour
Monday, September 15th, 2008 at 11:53 am - University, Whipping 1 Comment »
In spite of many incoming links to this blog from this trivial post, Gary (the unnamed owner of that very-new-but-already-much-more-popular-than-this blog) didn’t make it to Pycon 2008, so I went there knowing only one person.
I’d gone to Cambridge (to hack on Tunnel) using someone else’s return train ticket to London and didn’t want to get screwed by a single train ticket back to Liverpool (prices hiked by another £20 last week), so caught the bus which involved a 40 minute stay in a layby in Milton Keynes where I could see the great avenues of horse chestnut trees dying due to global warming (the mild winters not killing off the parasites). Apparently, this isn’t news, though it was news to me, and I wonder how it connects to the business of planting trees to offset a gratuitous jet-set flight across the Atlantic for a handful of hours at a conference when it’s about time someone started experimenting with telepresentations.
I checked in at Birmingham Central Backpackers and spent half an hour walking around in the rain unable to find their second bunkhouse because it was in a converted pub which still looked exactly like a pub, so I walked past it.
The talk schedule was so-so. But some of the talks turned out to be very good and important, though I couldn’t tell from the titles. The keynote speakers were Mark Shuttleworth, who seemed kind of ordinary, and Ted Leung, whom I would have recognized as being very important if he had phoned his talk in from Sun headquarters on a big screen, instead of being flown over bodily, as is the standard, unquestioned, routine practice at geek conferences that are supposedly tuned in to the future of the internet and planet. Readers of this blog will know that this is a big issue for me, and I don’t want to hear arguments about how presenting in person is better than doing it as a giant video conference, because I Have Never Yet Seen It Attempted.
I quickly wrote up and scheduled a lightning talk about the Metroscope project and cunningly inserted it into the half hour slot before Mark Shuttleworth’s speech, making sure to mention my wholly unsupported but very farsighted work on undemocracy.com, (where you can find some of the international documents establishing the Registration Convention, among other things). The video channel failed to work when I tried to display my slides from someone’s machine which had recently been installed with Ubunto, so I was lucky enough to move my slot on by ten minutes and get them to show up on a Windows machine donated by someone in the audience.
undemocracy.com still has no supporters whatsoever, but a lot of people could see the point of the Metroscope. I have developed the notion that scrapers and parsers for these tiny sources of civic data should be run using a codewiki that runs in a sandbox using pypy. I have not found such a sandbox on-line. trypython.org is not it, because it’s python running in your browser with the right plugins. Who wants to work on it? I must get a new laptop urgently as I my old one is really beginning to hamper this work.
The conference dinner which came with free wine and beer was excellent. The conference hangover the next day was not so good. I got back to the hostel at 3:30am, got up at 8am, sat on the road for 20 minutes until they opened the door and I could have breakfast of lots of tea with peanut butter and banana sandwiches. Still felt terrible. I needed to find a talk that was boring enough to fall asleep in, but failed because instead I went to one on software complexity where the speaker made us all stand up and talk in pairs to our neighbours about the problems we’ve had with software complexity.
The second keynote speech (the Leung one) was on the same theme as Mark Shuttleworth’s, though in greater detail. These two speakers saw their duty as trying to drive the direction of this herd of cats known as the python programming community. Big changes are happening in computing and the language has to get out of its box to make itself relevant so it doesn’t get eclipsed by, for example, Javascript. This is the greatest threat. Javascript captured the browser and now there are ten times more Javascript programmers as Python programmers. Javascript has also been stealing a lot of ideas from Python as well. The catastrophe will be when people start using Javascript on the server and displacing Python from there. (I lost the argument with HSMWorks that postprocessors should be in python — they chose instead to use Javascript.) The place to look is at the weaknesses of the language, and don’t accept them as part of the design.
The issues are multicore processors, performance limitations, no clear recommended web-framework, and being able to run on the browser platform — these are things that Java (do not confuse with Javascript) dominates. Regarding the web-framework, Django is seen with a lot of hope and optimism. I have to give up going to talks about pylons, as I’m just not getting it. I have resolved to try Jython, which is Python running on a Java virtual machine, once I get a new computer with some space in which to install things.
To me, the most important talk was about pro bono work converting climate science software to python from its old, incredibly impenetrable FORTRAN implementations. You could guess it would be them from reading their company’s heartful goals. Far too little pro bono programming happens outside of the field. A huge amount of volunteer work is done by programmers to improve and promote the public free open source software tools used by programmers (eg Python), but the phenomenon rarely breaks out of this arena and into dealing with civic and government software and data. I don’t know why. It’s considerably easier as the quality can be so ultra-bad outside the open source communities, especially when it relates to billion dollar government contracts. But, on the other hand, nobody out there seems to give a damn about software quality, so you for sure won’t get any thanks. It’s like writing poetry in a language nobody understands. The belief that good quality software is a gift that keeps on giving is nowhere around. Consequently, there’s a disincentive to produce it in the professional world.
Next year there is no UK Pycon. Instead they are holding EuroPython. This is a very good thing and everybody should go.
Wednesday, September 3rd, 2008 at 3:31 pm - Whipping 6 Comments »
In the current issue of Private Eye No. 1217 (not available on-line to take advantage of time limitations for libel proceedings when information is printed on impermanent paper which isn’t vellum) says:
Another multi-million pound government IT cock-up is quietly playing itself out — this time in the courts service.
Back in April, the lord chief justice, Lord Phillips, released his first review of how the courts are run. Buried inside was a criticism of HM Courts Service (HMCS) and its inability to provide an electronic document-submission system for the new Commercial Court by 2010, when it becomes the Business Court.
(The current Lord Chief Justice, Lord Phillips, is not to be confused with the former Lord Chief Justice, Lord Woolf, who moved on to more challenging appointments such as whitewashing our greatest weapons company by uttering the words “BAE Systems” and “ethics” in the same sentence.)
Now, it could be seen as a disappointment if your new fancy shmancy hi-tech modern world-class Business Court had to invent and run an entire paper shuffling system for the first two years of its life as it passes rulings on the finer aspects of software patents, but that’s what’s going to happen. Anyway, why would the very businesses who make so much money out of the government want an effective court system which could be used against them, eh?
Given my knowledge of the FOI archive, I wondered how hard and expensive could it be to build a document management system? What’s it going to look like when it is eventually rolled out (following the transfer of so much public money to the usual corporations)? Will it contain any great software modules that can be reused by the FOI archive? Are there going to be a compatible open standards with which we will be able to hook in with our outside interfaces?
I located this article in the Law Gazette which gives details of an FOI request about the Commercial Court (CCIT) project and the Electronic Filing and Document Management (EFDM) project.
CCIT has costed £1.47million, with nothing to show for it. The EFDM, however provides the following breakdown:
| from | to | for | consultants | internal |
|---|---|---|---|---|
| 2005-08 | 2005-12 | Feasibility Study | £136,300 | £52,308 |
| 2006-01 | 2006-06 | Programme Initiation | £470,948 | £73,601 |
| 2006-07 | 2007-06 | Programme Definition | £860,453 | £377,483 |
| 2007-07 | 2008-03 | EFDM | £815,813 | £454,022 |
The feasability study, commissioned in April 2005 and finished in December 2005, was produced by PA Consultants who “draw on the knowledge and experience of 3,000 people, whose skills extend from the initial generation of ideas, insights, solutions and new technology, all the way through to detailed implementation.”
Unfortunately, they didn’t draw on the knowledge of their consultants Nuala Moran [update: who is an FT reporter, not a PA consultant] or Peter Houppermans [update: see his comments below] and his Open Source knowledge group, because you will find not the slightest consideration of Free Open Source Software for the job. This is the UK Government, after all. You don’t even need to rule it out.
The feasibility study is worth combing over in detail because lays out the full horror of their plans within the DISC framework on page 25, which includes a full year of programme initiation, definition and full business case wherein the DISC supplier is put in place before talks begin, and loads of money gets made without any risk of a job getting done — which is always the best tactic for a contractors looking for long-term employment.
Now, you can see the point of treading carefully in the cases that you don’t want to add just another computer system into the mass of computer systems already in place, but this feasibility “study” doesn’t actually propose any ideas. All it says is it’s feasible to take more than a year to come up with some ideas.
From page 22:
* There is a commercial market and the commercial approach would fit with HMCS (HM Court Service) procurement rules
* Viable commercial models exist and have been shown to be robust and workable.
…but there are issues to address going forward:
* No particular procurement route is recommended at this stage, although the study had not seen a successful multiple vendor approach
* The emerging delivery options would need to be tested on the market before making a final decision
* The actions HMCS would need to consider the likely impact of its requirements upon commercial viability
* necessary to mitigate the risk of a monopoly supplier.
So, anyway, for this brilliant piece of work (Expert development of the EFDM business case), PA Consultants received £373,700 according to a Parliamentary Written Answer.
To clarify where we are at, the consultants have been paid over £2million for two years of seemingly unproductive work. According to the Law Gazette FOI,
Logica have just issued a prospectus and pre qualification questionnaire (enclosed) to the market which sets out our current assumptions. These assumptions include a high level timetable showing the implementation approach as well as the procurement timetable.
Since the Law Gazette chose not to use the FOI document management system of WhatDoTheyKnow.com, we’re going to have to ask for them again. However,
Documentation over and above the EFDM Business Prospectus and Pre Qualification Questionnaire that refers to potential further work within the CCIT project and the wider EFDM programme contains commercially sensitive information regarding business partners and sub contractors.
Disclosure of the information in a manner which fails to protect the interests and relationships arising in a commercial context could have the effect of discouraging the companies from dealing with the Department because of fears that disclosure of the information could damage them commercially particularly as the tendering process is still ongoing.
This could in turn deter companies from supplying commercially sensitive information, and ultimately undermine the ability of the Department to carry out a successful procurement exercise, adversely affecting the IT projects and any future projects. Whilst the tender exercise is still being carried out, the public interest is best satisfied by maintaining confidentiality in order to ensure the integrity of the process. The information is therefore exempt under Section 43 of the Act.
Oh, yeah, another important thing from that feasibility study:
The large legal firms interviewed would have no difficulty linking into or using EFDM.
Presumably because they’ll all be buying into the same closed software, and will happily be able to bill their clients for the full inflated costs whilst at the same time not providing them or the public with free open access to the official documentation, thus maintaining complete control for the guild.
So that’s where it’s at. An FOI request has been made, including a request for:
Any reports, documents or explanations of what was received from consultants and contractors who billed up to £2,147,214 between the publication of the January 2006 Feasibility Study and the initiation of this new tendering process. This would include any samples of partly complete ‘programme definitions’ that future contractors could use for technical referral.
The wording of my request is crucial, because if they’re going to cite commercial confidentiality, it’ll have to be within the bounds of the law. Public embarrassment resulting from releasing the answer and therefore detering such well-qualified consultants from applying for yet more work is not grounds for an exemption.
Commercially sensitive means there has to be commercial damage from commercial competitors obtaining this commercial information. Clearly, if one batch of consultants gets sacked and a different outfit of consultants are called in to pick up the pieces, they are in no position to argue that it’s commercially sensitive information which they have a right to withhold.
For now, the first step is to force these consultants who have been hired into the hollow shell that is our government policymaking framework to answer the case for open source development, rather than simply getting away with pretending that it does not even exist.
It’s easy. They have to start with this handy catalogue of open source CMSs and explain why none of them could be made good enough by the sinking of £2million into it.
After all if Stephen Fry can celebrate the 25th birthday of GNU, then there is hope that this country might eventually get it.
Monday, September 1st, 2008 at 4:54 pm - Weekends Comments Off on Back from expo photos
The following were intended to be included in last months blog post, but we had a bad version of wordpress installed that couldn’t upload photos.
I put two lights under the suspended floor of ice at the bottom of Tunnockschaft and used a 4 second exposure.






