Site search

Blogroll

Categories

Tags

February 2010
S M T W T F S
« Nov    
 123456
78910111213
14151617181920
21222324252627
28  

SourceJuicer at Beijing OpenSolaris User’s Group

While I was in China working with the desktop QA team,

SourceJuicer introduction for Beijing OpenSolaris User's group

I was invited to present SourceJuicer to the Beijing OpenSolaris Users Group/Beijing GNOME group combined meeting. (Thanks Emily and all!)

An engine crosses Malahide rail viaduct testing in progress!

I was pleasantly surprised at the quick progress in plugging the breach in the weir and repairing the broken viaduct. Today marked a milestone, it was the first time since the rail problem that I saw a rail car traverse the broken section of track!

14 November 2009, railcar goes across malahide estuary.

14 November 2009, railcar goes across malahide estuary.

O’Reilly’s Beautiful Testing book coming soon!

Emily Chen and I coauthored a chapter in an O’Reilly book entitled “Beautiful Testing” which was edited by Adam Goucher and Tim Riley.

Successful software depends as much on scrupulous testing as it does on solid architecture or elegant code. Beautiful Testing offers 23 essays from 27 leading testers and developers that illustrate the qualities and techniques that make testing an art. Through personal anecdotes, you’ll learn how each of these professionals developed ideas of beauty in testing a wide range of products — valuable knowledge that you can apply to your own projects.

The bound version should be available in bookstores in the next few days. The electronic version is already available here:

http://oreilly.com/catalog/9780596159825

Use it or lose it patent legislation proposed in Minnesota

My friend Ron at inventorsagarage.com found this proposed Minnesota legislation which would grant an employee the right to use a patent if his/her employer sits on the patent for too long:


(b) An employer who has a right to develop or utilize an invention or proposal
1.11must make a substantial investment in the invention or proposal within five years of the
1.12submission of the invention or proposal or forfeit all rights and interests in the invention
1.13or proposal to the employee.

I’d wondered about this possibility years ago when I noticed how common it was for an invention to languish in an employer’s defensive patent armory while everyone, including the inventor, is blocked from doing anything with it. There are many reasons for this, for example a company may be operating in a business where the patent might not be applicable. Do we want the idea for a 90% efficiency solar panel or a cure for cancer to sit in a warehouse because the inventor’s day job is at an investment firm or oil company which has absolutely no financial interest in developing the technology? Even when a new patent aligns with a company’s core business, developing the patent might not figure into to the company’s immediate business plan. SEC guidelines force companies to focus on near term (90 day) profits. IMHO this discouraged R&D and may have contributed to the fact that NASDAQ remains below the trend line set in the pre PC, pre-Internet vacuum tube era. The proposed ‘use it or lose it’ law might help uncork some of the innovations which, I imagine are sitting in a warehouse not unlike the one at the end of ‘Raiders of the Lost Ark.’

I agree with Ron that this law has very little chance of passing, but at least it has seen the light of day. If a similar law has passed in another state or country it would be interesting to see if it encouraged innovation. I suspect it would discourage large companies who have every reason to want to maintain their patent hoard, but it would also encourage small start-ups who would take advantage of the wasted IP. Sooner or later we will reach a critical mass of inventors whose creations are kept under wraps and there will be a level of reform somewhere. Then perhaps one day the patent system will live up to the mission of creating an environment that “encourages investment in innovation, and fosters entrepreneurial spirit.”

A carpenter’s explanation of OpenSource

Imagine that you are a shop teacher intending to teach children how to build a wooden footstool:

The shop teacher and the prefab ‘lumber’yard

You go to the lumberyard and ask for some lumber and nails. The guy at the lumber store shakes his head and says, “Sorry, we don’t got that, we only carry EasyDone or NanoHouse products. How about this beautiful prefab bathroom?” You tell him you don’t need a bathroom.

“Perhaps I can interest you in a EasyDone kitchen?” he says.
“Just wood and nails,” you say. Frustration is beginning to show in your voice.
“O.K. then you must choose between an EasyDone or NanoHouse prefab livingroom.”
“I only need wood and nails! Ten penny nails, 2X4s, plywood!”
“We don’t sell that.”
“O.K. then how much is an EasyDone bedroom, I can take it apart and use the wood and nails.”
“$40,000″
“What? That is far too expensive for my budget!”
“It’s fully integrated, painted, the carpet is in place and the bed is even included, it’s ready to go!”
“But it doesn’t do what I need. I’m only going to take it apart and we are going to use the wood in shop class.”
“Wait a minute. Did you say something about taking it apart?”
“Yes! It doesn’t do what we need so I have to take it apart so my kids can rebuild!”
“No, I can’t sell it to you for that, it’s against the law, violates the EULA. Besides, all the joints are epoxy rivet-welded together. You couldn’t possibly take it apart without turning it into sawdust.”
“But I need the raw materials for my students to build a footstools!”
“Go away. I need someone to buy my prefab bathrooms, I have some overstock.”
“Fine!” You say, “I’ll take my business elsewhere.
“There is a NanoHouse prefab garage store down the street.” he offers.
“I’m not interested! And if I ever do need a new bathroom, I’m going to build my own!”
“Oh no you don’t. NanHouse has a patent on those.”

Opensource software is a raw material which can turned on a lathe, nailed together. It can (and must!) be replicated at any stage of customization or enhancement. Therefore, it improves as it is used. If you can’t buy exactly what you want, you can build it or put together the components and configure them to meet your needs. Free software doesn’t eliminate the need for software expertise anymore than raw lumber eliminates the need for carpenters. Free and opensource software (FOSS) is a good fit for education where thousands of schools across the country have similar, but perhaps not identical needs. Ironically, many proprietary software companies have all but abandoned the educational market because of widespread piracy of proprietary software in schools.

When schools had solid federally subsidized budgets for computers, proprietary software running on proprietary operating systems installed on proprietary fat client computers (with a shelf life of little more than one semester), may have seemed a good idea. But this was never an efficient use of funds. For some schools it was the equivalent of buying a pre-fab house for the shop class to take apart and build into footstools and candle holders. Times have changed, educational money has disappeared. Such inefficiencies are now impossible to overlook. In order to give children the best chance of a bright future where they can compete in the global economy, we need find these holes where our government is throwing tax money, and fill them as quickly as possible. It is becoming obvious that to balance their budgets, governments and educational institutions must utilize opensource software and eco-efficient, future-proof, low TCO hardware wherever possible.

ZFS in Apple’s OSX 10.6 Snow Leopard

Storagemojo’s blog has some interesting comments about Apple’s decision to leave the next generation ZFS volume-manager/filesystem out of OSX 10.6 Snow Leopard. I have no idea why they did this. Command line read-only ZFS existed in OSX 10.5 Leopard and an opensource plug-in gave it read write capability. ZFS has proven itself both in saving Apache.org time and headaches after a recent security breech. This is from Apache.org’s incident report:

aurora.apache.org runs Solaris 10, and we were able to restore the box to a known-good configuration by cloning and promoting a ZFS snapshot from a day before the CGI scripts were synced over. Doing so enabled us to bring the EU server back online, and to rapidly restore our main websites. Thereafter, we continued to analyze the cause of the breach, the method of access, and which, if any, other machines had been compromised.

What worked?
* The use of ZFS snapshots enabled us to restore the EU production web server to a known-good state.

The consensus seems to be that Sun’s CDDL license wasn’t a factor in Apple’s removing this feature. Sun’s dtrace is already in OSX under CDDL. GPL won’t help here because the OSX kernel is under a BSD license and much of the software and hardware drivers which are able to link to BSD licensed kernel would not be able to live with GPL code. I doubt it is a stability issue, as I’ve mentioned, read-only ZFS has been in OSX for quite some time and many Linux and Windows servers have gone into production based on less reliable and far less scalable filesystems.

Some have claimed that ZFS is only appropriate for large servers. Nothing could be further from the truth. I regularly use it on a tiny Solaris laptop with 2G of RAM. The snapshot, rollback and related boot environment management features are enormous timesavers. Time machine is a typically beautiful Apple GUI built on top of a slow (rsync?) kludge. Merge this GUI with ZFS, and it’s a marriage made in heaven. Snapshots take almost no time or redundant space (Copy on Write), rollbacks are nearly instantaneous. Why wouldn’t artists, writers, musicians and other creative people in Apple’s prime market want instantaneous automatic versioned snapshots of their work?

I don’t know why Apple made this decision. Maybe they want to make their money on a ZFS based storage appliance. In any case, I’m glad BSD and Solaris 10 and OpenSolaris already have ZFS. Even if my Mac or Windows desktop has to rely on archaic HFS+ or NTFS filesystems for another year or two, at least we can push storage out to a more reliable and scalable filesystem running on a modern server-class OS.

28 August Broadmeadows low evening tide

I don’t remember the broadmeadows estuary water level ever being quite so low so close to a high tide.  Notice the entire length of the pier is out of the water.  Today is partway between a spring tide and neap tide so I wouldn’t expect extremes.   The wind was strong out of the west but this is also typical.  It struck me that if the channel through the eroded section weir is considerably deeper than the others, eventually the estuary will settle to a lower level.

eventide28Aug

Malahide rail viaduct before and after photos

Here is a clearer before and after photo. Both were taken from exactly the same spot (with in a couple of feet), with exactly the same kid’s telescope/lens adapter.

Taken on 5 Oct, 2008

Taken on 5 Oct, 2008

Taken on 24 August, 2009

Taken on 24 August, 2009

Taken on 5 October 2008

Taken on 5 October 2008

Taken 24 Aug, 2009

Taken 24 Aug, 2009

Video taken 17 days before Malahide railway collapse

Here is a movie I took on 4 August, 2009 at approximately 8:30 p.m., only 17 days before the railway collapsed:

See if you can guess which support is the bad one.

Irish rail line collapses in Malahide’s broadmeadows estuary

A railway viaduct very near my home collapsed into the broadmeadows estuary. We’re very fortunate that the train which crossed only seconds before the collapse made it across safely. The underlying piers the viaduct is built upon dates back to the mid 19th century. Yesterdays tides were approximately 15 feet high, which is stronger than usual. High tide was at about 1 in the afternoon and lowest tide was shortly after the collapse. These photos show how it appeared before, in October 2008 and just after the incident on 21 August 2009. I wonder if there is a better way of monitoring the erosion under such structures. Underwater cameras? Laser interferometry?